[U-Boot] [PATCH 2/2] ARM: omap3_logic: Enable SPL booting device tree

Adam Ford aford173 at gmail.com
Sat Feb 16 21:30:08 UTC 2019


On Sat, Feb 16, 2019 at 3:22 PM Tom Rini <trini at konsulko.com> wrote:
>
> On Sat, Feb 16, 2019 at 03:08:02PM -0600, Derald D. Woods wrote:
> > On Sat, Feb 16, 2019 at 03:49:01PM -0500, Tom Rini wrote:
> > > On Sat, Feb 16, 2019 at 01:31:24PM -0600, Adam Ford wrote:
> > >
> > > > With the generic omap3-u-boot.dtsi file available, this patch
> > > > increased the memory of the various incarnations of the omap3_logic
> > > > board, and points their respective u-boot.dtsi files to the newly
> > > > created generic one, and removes the PLATDATA from the board file.
> > > >
> > > > These are all done at once because the're all utilizing the same
> > > > omap3logic.c board file.
> > > >
> > > > Signed-off-by: Adam Ford <aford173 at gmail.com>
> > >
> > > Ah-haha!  Thank you!  I also needed to delete the platform data and then
> > > beagleboard is also booting.
> > >
> >
> > Can we get a quick summary of the conversion steps? My omap3-evm did not
> > get a serial console when applying patch[1] and using example
> > modifications from patch[2].
>
> I'm cleaning up Beagle now but:
> - Switch to using the new omap3-u-boot.dtsi
> - Remove all platdata from the board files
> - These are a must:
> CONFIG_SYS_MALLOC_F_LEN=0x4000
> CONFIG_SPL_SYS_MALLOC_F_LEN=0x400

0x400 or 0x4000?  I think mine is 0x4000

> CONFIG_SPL_SYS_MALLOC_SIMPLE=y
> CONFIG_SPL_SEPARATE_BSS=y
> CONFIG_SPL_OF_CONTROL=y
> CONFIG_SPL_DM_SEQ_ALIAS=y
> CONFIG_SPL_OF_TRANSLATE=y
>
> And we tend to drop falcon mode due to size, but could find other things
> instead.

I was able to drop EXT support in SPL.  At least the Logic PD
documentation states formatting the SD cards as FAT, so the stuff we
publish doesn't need EXT in SPL.  Falcon Mode was important for us to
keep, but I noticed it takes more space.
Luckily, I was able to retain it.

adam
>
> --
> Tom


More information about the U-Boot mailing list