UBOOT compile error for JZ4750 device

K2C)김상무 sangmu at k2ci.com
Wed Oct 28 04:59:26 EDT 2009


As your advice, I got the openwrt-xburst toolchain.
But I couldn't see any option for JZ4750.


----- Original Message ----- 
From: "Xiangfu Liu" <xiangfu at qi-hardware.com>
To: "Hard- and Software Development, Kernel, Distribution,Roadmap" 
<developer at lists.qi-hardware.com>
Sent: Wednesday, October 28, 2009 1:25 PM
Subject: Re: UBOOT compile error for JZ4750 device


> Hi
>
> I advice you use openwrt-xburst toolchain not the ingenic, since there is
> a lot of people in OpenWrt work in the toolchain :-)
> here is step how to build openwrt-xburst toolchain:
> http://wiki.qi-hardware.com/wiki/Ben_source_code#Toolchain_.28OpenWRT.29
>
>
> K2C)김상무 wrote:
>> make sure the NAND BLOCK SIZE is correct? <----
>>
>> where can I write nand block size???
>
> I do some search
> B53 WIFI use a sumsung K9HCG08U1M nand chip.
> you need search this chip datasheet. then you can get the correct
> nand block size.
>
>>
>> I checked my configure file (like: "include/configs/apus.h")
>> and it has some line like:
>>> #define CFG_ENV_SIZE         CFG_NAND_BLOCK_SIZE
>>
>>
>> Here are answers for your question.
>> I got the toolchain form below address
>> ftp://ftp.ingenic.cn/3sw/01linux/00toolchain/
>>
>> U-boot
>> ftp://ftp.ingenic.cn/3sw/01linux/01loader/u-boot/u-boot-1.1.6.tar.bz2
>> U-boot patch
>> ftp://ftp.ingenic.cn/3sw/01linux/01loader/u-boot/u-boot-1.1.6-jz-20090903.patch.gz
>>
>> I think that I have patched it successfully.
>>
>> And I tested toolchain too.
>> I make a test file " helloworld.c"
>> #include <stdio.h>
>> int main(void)
>> {
>> printf("llo world");
>> return 0;
>> }
>>
>> And I compiled it successfully with this command.
>> mipsel-linux-gcc -O2 -o hellloworld hellloworld.c
>
> _______________________________________________
> Qi Developer Mailing List
> Mail to list (members only): developer at lists.qi-hardware.com
> Subscribe or Unsubscribe: 
> http://lists.qi-hardware.com/cgi-bin/mailman/listinfo/developer 





More information about the discussion mailing list


interactive