rockbox/tools/agptek_rocker/hiby_player.sh
Marcin Bukat 09fde79ec8 Agptek Rocker: Add tools to work with OF update images
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
2018-06-12 10:31:14 +02:00

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