OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | PART_NAME=firmware |
2 | REQUIRE_IMAGE_METADATA=1 |
||
3 | |||
4 | RAMFS_COPY_BIN='fw_printenv fw_setenv' |
||
5 | RAMFS_COPY_DATA='/etc/fw_env.config /var/lock/fw_printenv.lock' |
||
6 | |||
7 | platform_check_image() { |
||
8 | return 0; |
||
9 | } |
||
10 | |||
11 | platform_do_upgrade() { |
||
12 | case "$(board_name)" in |
||
13 | buffalo,wxr-2533dhp) |
||
14 | buffalo_upgrade_prepare_ubi |
||
15 | CI_ROOTPART="ubi_rootfs" |
||
16 | nand_do_upgrade "$ARGV" |
||
17 | ;; |
||
18 | compex,wpq864|\ |
||
19 | netgear,d7800 |\ |
||
20 | netgear,r7500 |\ |
||
21 | netgear,r7500v2 |\ |
||
22 | netgear,r7800 |\ |
||
23 | qcom,ipq8064-ap148 |\ |
||
24 | qcom,ipq8064-ap161 |\ |
||
25 | zyxel,nbg6817) |
||
26 | nand_do_upgrade "$ARGV" |
||
27 | ;; |
||
28 | linksys,ea8500) |
||
29 | platform_do_upgrade_linksys "$ARGV" |
||
30 | ;; |
||
31 | tplink,c2600) |
||
32 | PART_NAME="os-image:rootfs" |
||
33 | MTD_CONFIG_ARGS="-s 0x200000" |
||
34 | default_do_upgrade "$ARGV" |
||
35 | ;; |
||
36 | tplink,vr2600v) |
||
37 | PART_NAME="kernel:rootfs" |
||
38 | MTD_CONFIG_ARGS="-s 0x200000" |
||
39 | default_do_upgrade "$ARGV" |
||
40 | ;; |
||
41 | nec,wg2600hp |\ |
||
42 | *) |
||
43 | default_do_upgrade "$ARGV" |
||
44 | ;; |
||
45 | esac |
||
46 | } |
||
47 | |||
48 | platform_nand_pre_upgrade() { |
||
49 | case "$(board_name)" in |
||
50 | zyxel,nbg6817) |
||
51 | zyxel_do_upgrade "$1" |
||
52 | ;; |
||
53 | esac |
||
54 | } |