OMAP 3530 - BeagleBoard Rev. C4
Hi Tom,
Is anyone still attempting to boot the OMAP 3530 BeagleBoard with U-Boot master?
In order to boot my BeagleBoard Rev. C4, I need to basically undefine CONFIG_SPL_EXT_SUPPORT and CONFIG_SYS_THUMB_BUILD.
There is some background in this old thread from last year:
- http://lists.denx.de/pipermail/u-boot/2015-July/220332.html
The thread ended without an apparent solution.
What does work is this patch from EEWiki:
-
https://github.com/eewiki/u-boot-patches/blob/master/v2016.03/0001-omap3_beagle-uEnv.txt-bootz-n-fixes.patch
If there is some additional useful information, I would be happy to take a look.
I use the board for testing generic code intended for other OMAP3 systems.
Derald
Quoted 4 lines · Derald D. Woods
Hi Tom,
Is anyone still attempting to boot the OMAP 3530 BeagleBoard with U-Boot master?
Yes, but...
Quoted 8 lines
In order to boot my BeagleBoard Rev. C4, I need to basically undefine
CONFIG_SPL_EXT_SUPPORTandCONFIG_SYS_THUMB_BUILD.There is some background in this old thread from last year:
- http://lists.denx.de/pipermail/u-boot/2015-July/220332.htmlThe thread ended without an apparent solution.
Quoted 7 lines
What does work is this patch from EEWiki:
- https://github.com/eewiki/u-boot-patches/blob/master/v2016.03/0001-omap3_beagle-uEnv.txt-bootz-n-fixes.patchIf there is some additional useful information, I would be happy to take a look.
I use the board for testing generic code intended for other OMAP3 systems.
So, here's where things are hard, and well, arg. I really don't want to throw out SPL_EXT support from beagleboard as that's one of the generic distro features which is used by distros.
So here's what I've come up with. For older (pre gcc-6.x) toolchains, with the patch that I will do for the next release to allow maximizing the download space, shuffling some of board/ti/beagle/beagle.c around to hide some functions (and _strings_ most importantly) that we don't need in SPL to shove under !CONFIG_SPL_BUILD, disabling falcon mode and SPL I2C (we initialize but don't appear to use in this case) and dropping ISO partition support (strings and we don't need in this case), I can get omap3_beagle back into size constraints with thumb build disabled. We appear to have all of the required errata enabled but it's also a known nest of problems to get the right ones on (or disabled) depending on exact CPU revision.
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160505/78008c52/attachment.sig>
Quoted 24 lines · Tom Rini
Quoted 4 lines · Derald D. Woods
Hi Tom,
Is anyone still attempting to boot the OMAP 3530 BeagleBoard with U-Boot master?
Yes, but...
Quoted 10 lines
In order to boot my BeagleBoard Rev. C4, I need to basically undefine
CONFIG_SPL_EXT_SUPPORTandCONFIG_SYS_THUMB_BUILD.There is some background in this old thread from last year:
- http://lists.denx.de/pipermail/u-boot/2015-July/220332.htmlThe thread ended without an apparent solution.
What does work is this patch from EEWiki:
-Quoted 4 lines
If there is some additional useful information, I would be happy to take a look.
Quoted 8 lines
Quoted 1 line
I use the board for testing generic code intended for other OMAP3
systems.
So, here's where things are hard, and well, arg. I really don't want to throw out
SPL_EXTsupport from beagleboard as that's one of the generic distro features which is used by distros.
OK.
Quoted 9 lines
So here's what I've come up with. For older (pre gcc-6.x) toolchains, with the patch that I will do for the next release to allow maximizing the download space, shuffling some of
board/ti/beagle/beagle.caround to hide some functions (and _strings_ most importantly) that we don't need in SPL to shove under !CONFIG_SPL_BUILD, disabling falcon mode and SPL I2C (we initialize but don't appear to use in this case) and dropping ISO partition support (strings and we don't need in this case), I can getomap3_beagleback into size constraints with thumb build disabled.
That sounds reasonable. I can now see why migrating older OMAP3 boards to 'Kconfig', with bootable defaults, is really important. For now, I can continue tracking master with a side patch. I will take a look at the default configuration after the release.
Thanks for the detailed response. It is appreciated.
Derald
Quoted 7 lines
We appear to have all of the required errata enabled but it's also a known nest of problems to get the right ones on (or disabled) depending on exact CPU revision.
--
Tom