X-Loader has been replaced by the u-boot SPL...
After building mainline u-boot v2012.07 and use the MLO and u-boot.img
files that were built...
You will have to replace the old X-loader/u-boot in nand, as they will
get in the way..
Follow, the re-flashing directions shown here:
http://www.angstrom-distribution.org/demo/beagleboard/
Depending what you actually have in nand, you may have to also do
"nand erase 260000 20000"...
Regards,
valdez
August 19, 2012, 11:01am
2
Having MLO and u-boot.img on card I followed this procedure:
mmc rescan 0
fatload mmc 0 82000000 MLO
nandecc hw
nand erase 0 80000
nand write 82000000 0 20000
nand write 82000000 20000 20000
nand write 82000000 40000 20000
nand write 82000000 60000 20000
fatload mmc 0 0x80200000 u-boot.img
nandecc sw
nand erase 80000 170000
nand write 0x80200000 80000 170000
nand erase 260000 20000
But the result is:
U-Boot SPL 2012.07 (Aug 19 2012 - 12:06:59)
Texas Instruments Revision detection unimplemented
Error: Bad compare! failed
.
.
.
(this error is repeated many times)
What to do with this?
Could you provide me also some links where is described why I have to use escpecially these NAND addresses? That I could understand it, not only copy and past.
W dniu niedziela, 19 sierpnia 2012 04:26:32 UTC+2 użytkownik RobertCNelson napisał:
Hi,
as I said before, you need to use hardware ecc for both, see bellow.
Having MLO and u-boot.img on card I followed this procedure:
mmc rescan 0
fatload mmc 0 82000000 MLO
nandecc hw
nand erase 0 80000
nand write 82000000 0 20000
nand write 82000000 20000 20000
nand write 82000000 40000 20000
nand write 82000000 60000 20000
fatload mmc 0 0x80200000 u-boot.img
------> nandecc sw
Change this to
nandecc hw
nand erase 80000 170000
nand write 0x80200000 80000 170000
nand erase 260000 20000
And here is the very good description:
http://elinux.org/BeagleBoardNAND
Actually, this is first link in google when you search nand and
beagleboard, you could do it yourself definitely.
Cheers,
Maksym.