Re: [U-Boot] add nand spl boot for qi_lb60 board

2012-01-10 Thread Xiangfu Liu
On 01/07/2012 03:05 AM, Scott Wood wrote: > forget add CONFIG_SYS_NAND_4BIT_HW_ECC_OOBFIRST to board configure head > file. That still doesn't explain how a few duplicate externs changed the resulting binary... yes. strange. have no idea about this. when I have time I will compare the binar

Re: [U-Boot] add nand spl boot for qi_lb60 board

2012-01-06 Thread Scott Wood
On 01/06/2012 04:18 AM, Xiangfu Liu wrote: > On 01/06/2012 02:44 AM, Scott Wood wrote: >> Use "mips-whatever-objdump -dlrsh" on the good and bad u-boot binaries >> (or on any .o files you suspect may be relevant), to see more >> specifically what's different. >> >> You may also want to try compilin

Re: [U-Boot] add nand spl boot for qi_lb60 board

2012-01-06 Thread Xiangfu Liu
On 01/06/2012 02:44 AM, Scott Wood wrote: Use "mips-whatever-objdump -dlrsh" on the good and bad u-boot binaries (or on any .o files you suspect may be relevant), to see more specifically what's different. You may also want to try compiling suspect files to assembly and comparing the differences

Re: [U-Boot] add nand spl boot for qi_lb60 board

2012-01-05 Thread Scott Wood
On 01/04/2012 06:24 PM, Xiangfu Liu wrote: > Hi > > yes. I have cpmpared this. but I can't find where is the problem. > attachment is the u-boot.map diff. > > after remove those 'extern' the u-boot-nand-spl is exact same. binary > file. map file both same. > but the u-boot.bin/map changed. > > P

Re: [U-Boot] add nand spl boot for qi_lb60 board

2012-01-04 Thread Xiangfu Liu
Hi yes. I have cpmpared this. but I can't find where is the problem. attachment is the u-boot.map diff. after remove those 'extern' the u-boot-nand-spl is exact same. binary file. map file both same. but the u-boot.bin/map changed. Please help me take a look. thanks Scott. xiangfu On 01/05/2

Re: [U-Boot] add nand spl boot for qi_lb60 board

2012-01-04 Thread Scott Wood
On 01/04/2012 04:01 PM, Scott Wood wrote: > On 01/01/2012 05:31 AM, Xiangfu Liu wrote: >> Hi Scott Wood >> >> this is the patch I try to add nand spl boot for qi_lb60 board >> >> this patch works fine under qi_lb60(ben nanonote) but there are three >> 'extern' lines under: nand_spl/board/qi/qi_lb60

Re: [U-Boot] add nand spl boot for qi_lb60 board

2012-01-04 Thread Scott Wood
On 01/01/2012 05:31 AM, Xiangfu Liu wrote: > Hi Scott Wood > > this is the patch I try to add nand spl boot for qi_lb60 board > > this patch works fine under qi_lb60(ben nanonote) but there are three > 'extern' lines under: nand_spl/board/qi/qi_lb60/nand_spl.c > > those 'extern' lines already in

[U-Boot] add nand spl boot for qi_lb60 board

2012-01-01 Thread Xiangfu Liu
Hi Scott Wood this is the patch I try to add nand spl boot for qi_lb60 board this patch works fine under qi_lb60(ben nanonote) but there are three 'extern' lines under: nand_spl/board/qi/qi_lb60/nand_spl.c those 'extern' lines already in jz4740.h, my question is when I remove those three lines u