[U-Boot] (imp) uboot image size

Wolfgang Denk wd at denx.de
Wed Jul 14 22:53:40 CEST 2010


Dear Albert ARIBAUD,

In message <4C3E135B.7040403 at free.fr> you wrote:
>
> Even if your "golden", uboot1 and uboot2 bootloaders are all full-blown
> u-boots, you still don't need to change their TEXT_BASE: just make sur
> uboot{1,2} have CONFIG_SKIP_LOWLEVEL_INIT defined, and that "golden"

Be careful.

CONFIG_SKIP_LOWLEVEL_INIT is an ARM specific thing, and I am almost
sure that Sagar is on a PowerPC systems.

> either go'es to their Flash entry point or copies them from Flash to
> somewhere free in RAM then go'es there: in any case, they will relocate
> themselves over "golden" -- this overloading works, I use it routinely
> on my ED Mini V2.

Be careful again. Do you really mean "relocate" here? And
"overloading" a running image is definitely NOT a safe operation.

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
Ein weiser Herrscher kann in einem großen Land  mehr  Gutes  bewirken
als  in  einem kleinen - ein dummer Herrscher aber auch viel mehr Un-
fug. Da weise Herrscher seltener sind als dumme, war ich schon  immer
gegen große Reiche skeptisch.                   - Herbert Rosendorfer


More information about the U-Boot mailing list