public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] ARM: omap3_logic: Enable SPL booting device tree
Date: Sat, 16 Feb 2019 16:34:02 -0500	[thread overview]
Message-ID: <20190216213402.GS21737@bill-the-cat> (raw)
In-Reply-To: <CAHCN7xLXYuPEMhRwQ-WL7FfXA3m7Ev10sarMGg2DVcTOj-X4NQ@mail.gmail.com>

On Sat, Feb 16, 2019 at 03:30:08PM -0600, Adam Ford wrote:
> On Sat, Feb 16, 2019 at 3:22 PM Tom Rini <trini@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@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

It's 0x400, which is the default.  It may need to grow again as we set
it to 0x1000 but only on AM33XX.  Maybe that's just a bit large, would
have to check.

> > 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.

I might be able to reduce the amount of removed parts on Beagle, but we
don't have Falcon mode in use widely there I think.  And I need more
space as I'm tempted to see if I can finally do things like support NAND
env on Beagleboard and FAT env for xM and so forth.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190216/c61364aa/attachment.sig>

  reply	other threads:[~2019-02-16 21:34 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-16 19:31 [U-Boot] [PATCH 1/2] ARM: DTS: omap3-u-boot.dtsi Adam Ford
2019-02-16 19:31 ` [U-Boot] [PATCH 2/2] ARM: omap3_logic: Enable SPL booting device tree Adam Ford
2019-02-16 20:49   ` Tom Rini
2019-02-16 21:08     ` Derald D. Woods
2019-02-16 21:22       ` Tom Rini
2019-02-16 21:30         ` Adam Ford
2019-02-16 21:34           ` Tom Rini [this message]
2019-02-16 21:49             ` Simon Goldschmidt
2019-02-16 22:27         ` Derald D. Woods
2019-02-16 21:23       ` Adam Ford
2019-02-20  1:59   ` [U-Boot] [U-Boot, " Tom Rini
2019-02-16 20:49 ` [U-Boot] [PATCH 1/2] ARM: DTS: omap3-u-boot.dtsi Tom Rini
2019-02-16 20:53   ` Adam Ford
2019-02-16 22:31 ` Derald D. Woods
2019-02-20  1:59 ` [U-Boot] [U-Boot,1/2] " Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190216213402.GS21737@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox