cross compiling Uboot

buserror
Posts: 92
Joined: Thu Jan 22, 2009 12:28 am

Re: cross compiling Uboot

Post by buserror » Fri Feb 13, 2009 10:04 am

And here's the source for my u-boot. I finaly settled on the openmoko version that has quite a few extra features compared to the generic u-boot.

http://repo.or.cz/w/u-boot-openmoko/mini2440.git

make mini2440_config
make CROSS_COMPILE=arm-linux-

The generated u-boot will work from SDRAM if loaded at 0x33f80000 (using JTAG or vivi) -- it also runs straight out of NAND.
To install it on NAND from vivi:
+ Press "Q" to go to the prompt
+ "load flash 0 <u-boot.bin file size> u"
+ Use the usb uploader to send the u-boot.bin file.

abubarislam
Posts: 4
Joined: Mon Feb 02, 2009 6:43 am

Re: cross compiling Uboot

Post by abubarislam » Mon Feb 16, 2009 2:13 pm

Thanks alot for the uboot code.

alvishidla
Posts: 14
Joined: Mon Feb 02, 2009 10:55 am

Re: cross compiling Uboot

Post by alvishidla » Sat Feb 28, 2009 9:26 am

I found another problem in u-boot.
U-boot do not ignore nand bad sectors.
If i write rootfs into nand and in address range is bad block
then u-boot stops writing and gives write error.
I tryed 'nand scrub' 'nand createbbt' nothing helps.
I look in sources and found bbt code commented.
I tryed uncomment but this not help
Any ideas?

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests