<naobsd>
hmm, probably spl for fel is not ready yet in this u-boot...
<naobsd>
ssvb: all 7zip benchmarks are less than 500mA, very interesting :) no peripherals except uSD card, right?
<naobsd>
all *.bin in sunxi-tools/bin/ are less than 8K
<naobsd>
"make cubieboard_fel_config" (for A10 board) also makes 11KB spl.bin
<naobsd>
hno: but spl/u-boot-spl.bin is still 11KB
<naobsd>
hno: I modified Cubieboard2_FEL line which has only "sun7i:CUBIEBOARD2,SPL_FEL" in boards.cfg, and add some undefs in include/configs/sunxi-common.h
2013-06-22
<hno>
naobsd, see boards.cfg
<hramrach_>
naobsd: thanks. will try the script.bin hack
<naobsd>
for fel
<naobsd>
hno: how to make u-boot-spl.bin smaller than 8k?
<naobsd>
if my understanding is correct, it must be smaller than 8K for fel write 0x2000 u-boot-spl.bin
<naobsd>
mmm, make cubieboard_fel_config and make cubieboard2_fel_config generate 10K+ bytes of u-boot-spl.bin :(
<naobsd>
for now I added link to Hans de Goede's repo on my site, but probably it's not good place ;)
<naobsd>
such as hno's u-boot
<naobsd>
for pointing sources for A20 boards
<naobsd>
which wiki page is good for A20 sources
2013-06-21
<naobsd>
I was toooo careless, I never save any information about factory image!
<naobsd>
bootloaders in factory image may do or do not something...
<naobsd>
I wonder why factory image booted
<naobsd>
I replaced whole [usbc0] section in cubieboard2.fex by [usbc0] in mine, it booted
<naobsd>
confirmed. [usbc0] is wrong
<naobsd>
I wonder why I can't change fb size by screen0_output_mode on android image :(
<naobsd>
now I'm watching diff...
<naobsd>
hmm... [usbc0]?
<naobsd>
my script.bin is taken from android image
<naobsd>
ssvb: do you have factory image in nand? I lost it because I flashed android image
<ssvb>
the script.bin from naobsd is different, and it works
<ssvb>
oliv3r, naobsd: it is interesting that the script.bin generated from fex has md5 e2e5446fdd070ff16e1a62e512f81e47
<ssvb>
naobsd: thanks a lot, using your script.bin fixed the problem
<leowt>
naobsd: yeah, true.
<naobsd>
sorry, rk thing is little off-topic here
<leowt>
naobsd: all i have from rk is a 8168, so im glad to help. I am stuck in the kernel compile, the soc is new, supposedly the sources for rk8188 are the same for this one
<naobsd>
leowt: making community for rk sounds good. long time I could find very few people who can play with source
<leowt>
naobsd: i have a rk8168 'crap' tablet, im cool to help share some info
<naobsd>
leowt: yes
<leowt>
naobsd: are you the maintainer of androtab?
<ssvb>
naobsd: thanks, the binaries for test would be appreciated
<ssvb>
naobsd: but I'll try to test some other PSU first
<ssvb>
naobsd: what kind of fex file did you use? could you please add some detailed instructions to the wiki (with all the repositories, commmit id's, etc.)?
<naobsd>
I'm using PC's USB port, probably it's 500mA... it can boot if nothing is connected to USB/SATA on cb2
<naobsd>
hno: for now I only tested led on/off and mmcinfo ;)
<hno>
naobsd, looks fine. Merged.
<naobsd>
anyway, thank you Turl
<naobsd>
DRAMC_init() should be dramc_init()... sunxi-tools/script_uboot.c should be updated
<naobsd>
I see :)
<Turl>
naobsd: that's why usually new boards consist on adding fex on sunxi-boards, then fixing up dram_para with aid of a10-meminfo, then disabling unused stuff in the fex depending on the device, then adding support to uboot :)
<naobsd>
Turl: thanks. it worked, but some values in script.bin/fex are -1, so output is not correct :(
<Turl>
naobsd: btw, I found out you can autogen the dram stuff this way
<naobsd>
Turl: thanks. this cb2 should be only for dev, so it may not have MAC address... I'll ask hipboi(or on #cubieboard)
<Turl>
naobsd: the original one wasn't, I think they generate one from SID when flashing images now though
<naobsd>
it may be too late ;)
<naobsd>
hmmmmmmm... is cubieboard shipped with unieque MAC address? should I check it before flashing image?