Here are some of the issues of moving the Serial port to AUART
- During boot the RX AUART needs to be tied to VCC to prevent it from floating and having junk appear and cause u-boot to suspend booting.
- The debug UART does output a message if the SDCARD is not valid.
Added a couple of boot scripts to control the LED on the Micro. The idea is to let the user know the status of the boot process.
- solid green: u-boot is running.
- slow blink rate: Linux kernel us running
- flash blink rate: Wifi is connected to AP
During the Linux boot process /etc/init.d boot scripts are executed. The lower the number the file will be started before others:
S10Led:
cd /sys/class/leds/green
cat trigger
echo none > trigger
cat trigger
echo 1 > brightness
echo 0 > brightness
echo timer > trigger
echo 500 > delay_on
echo 500 > delay_off
Sets up the LED to blink at 500ms off and 500ms on.
No comments:
Post a Comment