UBOOT compile error for JZ4750 device
Xiangfu Liu
xiangfu at qi-hardware.com
Wed Oct 28 00:25:18 EDT 2009
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
More information about the discussion
mailing list