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
() {
11 platform_do_upgrade
() {
12 case "$(board_name)" in
14 buffalo_upgrade_prepare_ubi
15 CI_ROOTPART
="ubi_rootfs"
29 platform_do_upgrade_linksys
"$1"
32 PART_NAME
="os-image:rootfs"
33 MTD_CONFIG_ARGS
="-s 0x200000"
34 default_do_upgrade
"$1"
37 PART_NAME
="kernel:rootfs"
38 MTD_CONFIG_ARGS
="-s 0x200000"
39 default_do_upgrade
"$1"
43 default_do_upgrade
"$1"
48 platform_nand_pre_upgrade
() {
49 case "$(board_name)" in