Browse Source

VRBRAIN: added automatic update of bootloader from SD at startup

mission-4.1.18
LukeMike 11 years ago committed by Emile Castelnuovo
parent
commit
3adb04dd71
  1. 7
      mk/VRBRAIN/ROMFS_VRBRAIN45_APM/init.d/rcS
  2. 7
      mk/VRBRAIN/ROMFS_VRBRAIN51_APM/init.d/rcS
  3. 7
      mk/VRBRAIN/ROMFS_VRUBRAIN51_APM/init.d/rcS

7
mk/VRBRAIN/ROMFS_VRBRAIN45_APM/init.d/rcS

@ -68,6 +68,13 @@ fi
if [ $HAVE_MICROSD == 1 ] if [ $HAVE_MICROSD == 1 ]
then then
if [ -f /fs/microsd/bootloader.bin ]
then
bl_update /fs/microsd/bootloader.bin
rm /fs/microsd/bootloader.bin
else
fi
if [ ! -f /fs/microsd/APM/nostart ] if [ ! -f /fs/microsd/APM/nostart ]
then then
if [ -f /etc/init.d/rc.APM ] if [ -f /etc/init.d/rc.APM ]

7
mk/VRBRAIN/ROMFS_VRBRAIN51_APM/init.d/rcS

@ -68,6 +68,13 @@ fi
if [ $HAVE_MICROSD == 1 ] if [ $HAVE_MICROSD == 1 ]
then then
if [ -f /fs/microsd/bootloader.bin ]
then
bl_update /fs/microsd/bootloader.bin
rm /fs/microsd/bootloader.bin
else
fi
if [ ! -f /fs/microsd/APM/nostart ] if [ ! -f /fs/microsd/APM/nostart ]
then then
if [ -f /etc/init.d/rc.APM ] if [ -f /etc/init.d/rc.APM ]

7
mk/VRBRAIN/ROMFS_VRUBRAIN51_APM/init.d/rcS

@ -68,6 +68,13 @@ fi
if [ $HAVE_MICROSD == 1 ] if [ $HAVE_MICROSD == 1 ]
then then
if [ -f /fs/microsd/bootloader.bin ]
then
bl_update /fs/microsd/bootloader.bin
rm /fs/microsd/bootloader.bin
else
fi
if [ ! -f /fs/microsd/APM/nostart ] if [ ! -f /fs/microsd/APM/nostart ]
then then
if [ -f /etc/init.d/rc.APM ] if [ -f /etc/init.d/rc.APM ]

Loading…
Cancel
Save