Tuesday 3 June 2014

Load things at boot time

So one of the useful things you will likely want to be able to do is enable certain hardware configurations at boot.

Well for starters you can mess with the uEnv.txt file similar to this:


##To disable HDMI/eMMC...
optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN capemgr.enable_partno=BB-UART1

You may also wish to run some scripts at boot.
add any scripts to rc.local.

sudo nano /etc/rc.local
 
you will need to make the scripts executable of course.
 
 
 

No comments:

Post a Comment