1d4b694574c5acbc5bcac39cf3f2094026058ac5
1 platform_check_image
() {
2 # i know no way to verify the image
6 platform_do_upgrade
() {
8 get_image
"$1" |
dd of
=/dev
/mmcblk0 bs
=2M conv
=fsync
12 platform_copy_config
() {
14 [ -f /boot
/kernel.img
] || mount
-t vfat
-o rw
,noatime
/dev
/mmcblk0p1
/boot
15 cp -af "$CONF_TAR" /boot
/