[U-Boot] [RFC]: always relocate u-boot before the framebuffer

Wolfgang Denk wd at denx.de
Sat Jan 5 20:18:13 CET 2013


Dear Jeroen,

In message <50E7FB65.9000709 at myspectrum.nl> you wrote:
> 
> > Hm... I'm not sure if this is the right approach, then.  If mainline
> > Linux insists on such a 2 MB alignment, we shoud  rather teach
> > lcd_setmem() to follow tha rule, too.  That should solve the problem
> > as well (and probably more efficiently, especially if other features
> > like pRAM or shared log buffer reserve high memory as well).
> >
> I just noticed this is already possible since the recently introduced
> dcache for lcd.c also adds a CONFIG_LCD_ALIGNMENT. Since I am at
> rc2 I had not seen it yet.

Ah, so we have a working solution already in place?  Excellent.

Do you think you have a chance to test if this works for you, too?

Thanks in advance.

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
Carelessly planned projects take three times longer to complete  than
expected.  Carefully  planned  projects  take  four  times  longer to
complete than expected, mostly  because  the  planners  expect  their
planning to reduce the time it takes.


More information about the U-Boot mailing list