2 REQUIRE_IMAGE_METADATA
=1
4 RAMFS_COPY_BIN
='fw_printenv fw_setenv'
5 RAMFS_COPY_DATA
='/etc/fw_env.config /var/lock/fw_printenv.lock'
7 platform_check_image
() {
8 case "$(board_name)" in
11 local ubidev
=$
(nand_find_ubi
$CI_UBIPART)
12 local asus_root
=$
(nand_find_volume
$ubidev jffs2
)
14 [ -n "$asus_root" ] ||
return 0
17 jffs2 partition is still present.
18 There's probably no space left
19 to install the filesystem.
21 You need to delete the jffs2 partition first:
22 # ubirmvol /dev/ubi0 --name=jffs2
24 Once this is done. Retry.
32 platform_do_upgrade
() {
33 case "$(board_name)" in
41 platform_do_upgrade_openmesh
"$ARGV"
44 CI_KERNPART
="part.safe"
48 default_do_upgrade
"$ARGV"
53 platform_nand_pre_upgrade
() {
54 case "$(board_name)" in
60 CI_KERNPART
="part.safe"
66 .
/etc
/diag.sh
; set_state upgrade
69 append sysupgrade_pre_upgrade blink_led