On Fri, Feb 3, 2017 at 1:47 PM, Todd Peterson <[email protected]> wrote:
> We have a board based upon the Beagleboard xM rev. C. We have been running
> QNX on it. We are trying to experiment with RT Linux by following the
> instructions at https://eewiki.net/display/linuxonarm/BeagleBoard and the
> kernel builds fine. We have a problem with the gpios that identify the board
> revision, since we do not have these gpios wired. I modified
> u-boot/board/ti/beagle/beagle.c to return revision=2 in get_board_revision.
> But when I compile u-boot, I get an error of
>
> /home/users/staff/tpeterson/work/epic2-rt-linux/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-ld.bfd:
> u-boot-spl section `.rodata' will not fit in region `.sram'
> /home/users/staff/tpeterson/work/epic2-rt-linux/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-ld.bfd:
> region `.sram' overflowed by 2848 bytes
> scripts/Makefile.spl:290: recipe for target 'spl/u-boot-spl' failed

As long as you are using "just the xM" (not the older boards)..
re-add this line i removed:

#define CONFIG_SYS_THUMB_BUILD

https://github.com/RobertCNelson/Bootloader-Builder/blob/master/patches/v2017.01/0001-omap3_beagle-uEnv.txt-bootz-n-fixes.patch#L475

It'll get you a smaller build..

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYgJVbuR%3DoLJJkf-UYUdH_rCiUk5rvoNoMqSKsQJ%3D-0j7g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to