Hi all,
I am building a custom board based on Yocto Dizzy. I have modified the meta files adding my own layer and machine. That all works great. I then wanted to change to using UART2, so I modified boards.cfg and added:
finese arm armv7 am335x ti am33xx am335x_evm:SERIAL3,CONS_INDEX=3
Now the SPL data aborts at:
void NS16550_init(NS16550_t com_port, int baud_divisor)
called from eserial3_init()
called from preloader_console_init()
called from s_init();
the assembly language is:
LDRB R3,[R0,#20]
R0 is pointing to Uart2 at 0x4802_4000, So adding 20 to that and storing in R3 should be valid and not cause any data aborts. The registers are valid from 0x4802_4000 to 0x4802_5000.
Let me know if you need more information.
for a screen shot of the debugger at the offending assembly language line see: "www.dropbox.com/.../Screenshot%20from%202015-03-19%2013%3A49%3A01.jpg"
