chrisjs wrote:
I tried bootargs , but it causes a change only after U -boot initialization.More over that i need it to be hard coded to USART2 so that user dont need to enter the bootargs every time.
bootargs is actually used for the kernel command line, so its contents only take effect after the kernel has started. Any changes to
bootargs (or any other U-Boot environment variables) can be saved with the
Code:
saveenv
command.
Use of the debug port begins in ROMboot, and then in AT91Bootstrap, and then in U-Boot. Good luck trying to change the code in ROMboot. IOW you might be able to redirect the console I/O in a modified AT91Bootstrap and U-Boot, but re-purposing PB14 & PB15 is questionable.
Regards