How to Update the Baudrate Settings on your M2S-SOM |
|
Changing the Default Console Baudrate on M2S-SOM-1A Running U-Boot Release 1.9.0
To change the default console baudrate from 57600 to 115200, reinstall U-Boot using the provided .stp file (m2s-som-1a.stp) and the Microsemi FlashPro tool:
- Start FlashPro on a Windows host.
- From the FlashPro IDE, create a new project with an arbitrary name.
- From the main FlashPro window, push Configure Device.
- Push Browse next to load existing programming file. Browse to the Linux SmartFusion2 project file m2s-som-1a.stp and choose it.
- Push Program at the top of the main window to program the project onto the SmartFusion2 device and wait for the programming procedure to complete. If the programming completes successfully, a next reset should bring the U-Boot start-up messages and the command line interface onto the serial console interface.
- To change the baudrate settings in U-Boot:
- Connect to the U-Boot console using 115200,8N1 terminal settings. - Reset the board and hit any key to stop at the U-Boot prompt. - Set the new console baudrate (115200):
M2S-SOM> setenv baudrate 115200 ## Switch baudrate to 115200 bps and press ENTER ... M2S-SOM> setenv bootargs m2s_platform=m2s-som console=ttyS0,115200 panic=10 M2S-SOM> saveenv Saving Environment to SPI Flash... Erasing SPI flash... Writing to SPI flash... done M2S-SOM>
- Reset M2S-SOM.
|