09fde79ec8
Original firmware update is provided as .upt file. This file is actually ISO9660 image containing uBoot, kernel image and UBIFS rootfs and additional control files. Installing bootloader means patching UBIFS rootfs image. Change-Id: Ica86d1189dc1d5f3131d2035d8b87c8d08ec36b5
10 lines
204 B
Bash
10 lines
204 B
Bash
#!/bin/sh
|
|
|
|
mount /dev/mmcblk0 /mnt/sd_0 &>/dev/null || \
|
|
mount /dev/mmcblk0p1 /mnt/sd_0 &>/dev/null
|
|
|
|
killall rb_bootloader &>/dev/null
|
|
killall -9 rb_bootloader &>/dev/null
|
|
|
|
/usr/bin/rb_bootloader
|
|
sleep 1
|