
5 Mar
2017
5 Mar
'17
3:27 p.m.
On Sun, Mar 05, 2017 at 02:51:54PM +0200, Siarhei Siamashka wrote:
Hello All,
I have just unexpectedly found an old Beagleboard B7 in my closet and tried to compile the current U-Boot master branch for it. Appears that it is broken since almost 2 years ago:
https://lists.denx.de/pipermail/u-boot/2015-July/220332.html https://lists.denx.de/pipermail/u-boot/2016-May/253777.html
And after trying to narrow it down, looks like the failure happens in the prcm_init() function from 'arch/arm/mach-omap2/omap3/clock.c' when it is compiled as Thumb2. At least the SPL can successfully boot after the following change (GCC6 is needed for this pragma):
Good job sorting this out. I think it might be best to just disable Thumb on beagleboard.
--
Tom