On Thursday 12 December 2013, Henrik Nordström wrote:
tor 2013-12-12 klockan 19:40 +0100 skrev Marco Martin:
I see that if I replace the two binary libraries with the ones built from nand-lib from the latest revision it works fine.
Good. So then it's something wrong in the build infrastructure? Because from what I remember there was not code changes, only GPL headers and replace blobs by source.
Please try to find what differs between the two outside GPL headers and source for the blobs..
There is also some difference in the code besides gpl headers added.. when i build the last revision i get collect2: error: ld terminated with signal 11 [Segmentation fault] /opt/gcc-linaro-arm-linux-gnueabi-2012.04-20120426_linux/bin/../lib/gcc/arm- linux-gnueabi/4.7.1/../../../../arm-linux-gnueabi/bin/ld: section .rel.dyn loaded at [424541e4,424541eb] overlaps section .boot_standby_text loaded at [424541e4,4245aea3] standby/dram_standby.o: In function `dram_power_up_process': /home/diau/git/allwinner-boot/boot1/core/standby/dram_standby.c:586: undefined reference to `init_DRAM'
(and in fact a definition of an init_DRAM() function isn't anywhere)
If i comment that just to see if it will build everything, it then generates the files but then seems that boot0 is not able to load boot1 or something like that (complains about boot.axf: wrong elf magic)
Tomorrow i'll check out the exect message it gives
Cheers, Marco Martin