I'm working on setting up the pinmux on a BeagleBone so that I can access multiple UARTS. The OS is Angstrom Linux (the demo image, if that helps). I have a shell script:
#!/bin/sh echo "Configuring Pinmux" echo 0 > /sys/kernel/debug/omap_mux/uart1_txd echo 20> /sys/kernel/debug/omap_mux/uart1_rxd echo "UART 1 (TX):" cat /sys/kernel/debug/omap_mux/uart1_txd echo echo "UART 1 (RX):" cat /sys/kernel/debug/omap_mux/uart1_rxd echo echo 1 > /sys/kernel/debug/omap_mux/spi0_d0 echo 21> /sys/kernel/debug/omap_mux/spi0_sclk echo "UART 2 (TX):" cat /sys/kernel/debug/omap_mux/spi0_d0 echo echo "UART 2 (RX):" cat /sys/kernel/debug/omap_mux/spi0_sclk echo
Which sets up the UARTS for use. Now, I want this script to run on boot, so that I don't have to mess with it every time. Where should I put this/ make a link in order to do that?