AM335x Porting Questions

Jonathan Stackhouse jon at beiwy.com
Wed Dec 7 15:01:14 PST 2016


Hello Barebox Community!

I'm attempting to port the Beaglebone board files
(arch/arm/boards/beaglebone) to another similar board, but am having a bit
of a hard time understanding what all I need to do.

Is there a specific procedure that I should follow when porting barebox or
is it merely making changes/additions to the files in
arch/{ARCH}/boards/some-similar-board? I've read though the README in the
barebox root directory as well as several of the docs in the Documentation
folder and the online user manual but have not found the information I am
looking for.

Do the SPL/MLO and barebox.bin write any data to log files for debugging
purposes? If so, how do I configure the builds for these logs and how do I
access them? I'm asking because I noticed under Debugging in menuconfig that
I can set the "default loglevel" but I don't know where the log gets stored,
and I wanted to view it to see whether my MLO is working or not.

Additionally, I've attempted to get the MLO to initialize UART0 and UART2
for debugging purposes, but can't seem to get the "MLO>" prompt to appear in
PuTTY (settings are 115200, 8N1, no flow control). I have console support
set to "full", Console activation strategy set to "activate first console on
startup", low level debug messages enabled, and the OMAP Debug UART Port
Selection set to 2. I also used the same UART initialization code that is in
the beaglebone lowlevel.c file, with the exception that I set it up for
UART2 instead of UART0. What else I need to do?

I apologize for this rather broad and long email, but I've been battling
this for quite some time and have finally decided to reach out for help.

Thank you,
Jon S.




More information about the barebox mailing list