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.
cross compiling Uboot
-
- Posts: 4
- Joined: Mon Feb 02, 2009 6:43 am
Re: cross compiling Uboot
Thanks alot for the uboot code.
-
- Posts: 14
- Joined: Mon Feb 02, 2009 10:55 am
Re: cross compiling Uboot
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?
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?
Who is online
Users browsing this forum: No registered users and 1 guest