Skip to content

Commit

Permalink
Disable uBoot wait for key on boot
Browse files Browse the repository at this point in the history
  • Loading branch information
ArduPilotCompanion committed Mar 12, 2020
1 parent 90609ed commit 0fea704
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion RPI2/Ubuntu/disable_console.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ echo "Disabling Serial Console to ttyS0"
tput sgr0

systemctl mask [email protected]
perl -pi -e 's/bootdelay=1/bootdelay=-2/g' /boot/firmware/uboot.env

#copy uboot.env configuration to disable uboot wait for key
cp uboot.env /boot/firmware

perl -pe 's/console=ttyAMA0,115200//' -i /boot/config-5.3.0-1017-raspi2
perl -pe 's/console=ttyAMA0,115200//' -i /boot/config-5.3.0-1018-raspi2
Binary file added RPI2/Ubuntu/uboot.env
Binary file not shown.

0 comments on commit 0fea704

Please sign in to comment.