[U-Boot] Getting started with uboot

Wolfgang Denk wd at denx.de
Wed Aug 4 22:43:20 CEST 2010


Dear Thomas Heller,

In message <i3chbe$ta2$1 at dough.gmane.org> you wrote:
>
> And actually this is the problem: I put uboot into the RedBoot flash
> partition, which is only 0x40000 in size (256 kB), but uboot apparently
> needs much more.

Right - it needs two more flash blocks.

> Which raises the question: why is the environment so large?  Wouldn't a
> few kB be enough (4kB, 16kB for example)?

NAND flash cannot be erased in arbitray sizes, but only in blocks; on
the TX25 the erase block size is 128 kB. So with redundant environment
we need two block for the U-Boot code, and two more for the 2 copies
of the environment = a total of 512 KiB.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The Buddha, the Godhead, resides quite as comfortably in the circuits
of a digital computer or the gears of a cycle transmission as he does
at the top of a mountain or in the petals of a flower.
            - R.  Pirsig, "Zen and the Art of Motorcycle Maintenance"


More information about the U-Boot mailing list