Re: [linux-sunxi] Re: A20 boot0/boot1 info

2014-07-23 Thread Dmitriy B.
2014-07-23 19:46 GMT+04:00 Ivan Kozic : > > Still I'd be quite interested in trying out this WiP NAND uboot - do you > know from which repo can I fetch the source/binaries? Maybe it's time that > I get familiar with uboot... > Here are latest versions from Yuq. Boris Brezillon also tried to do th

Re: [linux-sunxi] Re: A20 boot0/boot1 info

2014-07-23 Thread Ivan Kozic
Hi Henrik, Thanks for replying - I have made an error (too much programming I guess), it's a bit different actually - the start address for script is BOOT1_BASE+BOOT1_HEAD_LENGTH - this is then memcpy-ed to SCRIPT_BASE. Either way, it's using the script embedded in its header, as you've said. H

Re: [linux-sunxi] Re: A20 boot0/boot1 info

2014-07-22 Thread Henrik Nordström
mån 2014-07-21 klockan 09:08 -0700 skrev Ivan Kozic: > Ok, I have some updates - it seems that my Boot1 was compiled with > SCRIPT_INSTALL_EARLY, so it doesn't fetch script.bin, but instead > looks at SCRIPT_BASE. Not really sure what's happening there, but I > recompiled drv_de.drv and using some

[linux-sunxi] Re: A20 boot0/boot1 info

2014-07-21 Thread Ivan Kozic
Ok, I have some updates - it seems that my Boot1 was compiled with SCRIPT_INSTALL_EARLY, so it doesn't fetch script.bin, but instead looks at SCRIPT_BASE. Not really sure what's happening there, but I recompiled drv_de.drv and using some printfs (__inf), I can verify that Boot1 gets the old PH0