mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
ramips: xiaomi cr6606: increase firmware partition size (#6915)
This commit is contained in:
parent
07ad9ff555
commit
213f55ba58
@ -46,20 +46,18 @@
|
||||
};
|
||||
};
|
||||
|
||||
keys: keys {
|
||||
keys {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
|
||||
debounce-interval = <60>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
|
||||
debounce-interval = <60>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
};
|
||||
@ -110,25 +108,13 @@
|
||||
};
|
||||
|
||||
partition@200000 {
|
||||
label = "firmware";
|
||||
compatible = "denx,uimage";
|
||||
reg = <0x200000 0x1e00000>;
|
||||
label = "kernel";
|
||||
reg = <0x200000 0x400000>;
|
||||
};
|
||||
|
||||
partition@2000000 {
|
||||
label = "firmware1";
|
||||
reg = <0x2000000 0x1e00000>;
|
||||
};
|
||||
|
||||
partition@3e00000 {
|
||||
partition@600000 {
|
||||
label = "ubi";
|
||||
reg = <0x3e00000 0x3200000>;
|
||||
};
|
||||
|
||||
partition@7000000 {
|
||||
label = "obr";
|
||||
reg = <0x7000000 0x1000000>;
|
||||
read-only;
|
||||
reg = <0x600000 0x7980000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
@ -140,17 +126,11 @@
|
||||
&pcie1 {
|
||||
wifi@0,0 {
|
||||
compatible = "mediatek,mt76";
|
||||
reg = <0x0 0 0 0 0>;
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
mediatek,mtd-eeprom = <&factory 0x0>;
|
||||
};
|
||||
};
|
||||
|
||||
&pcie2 {
|
||||
wifi@0,0 {
|
||||
reg = <0x0 0 0 0 0>;
|
||||
};
|
||||
};
|
||||
|
||||
&gmac0 {
|
||||
mtd-mac-address = <&factory 0x3fff4>;
|
||||
};
|
||||
|
@ -1112,14 +1112,14 @@ define Device/xiaomi_mi-router-cr6606
|
||||
BLOCKSIZE := 128k
|
||||
PAGESIZE := 2048
|
||||
UBINIZE_OPTS := -E 5
|
||||
IMAGE_SIZE := 51200k
|
||||
IMAGES += firmware.bin overlay.bin
|
||||
IMAGE/firmware.bin := append-kernel | pad-to 128k | append-rootfs | pad-rootfs
|
||||
IMAGE/overlay.bin := append-ubi | check-size
|
||||
KERNEL_SIZE := 4096k
|
||||
IMAGE_SIZE := 128512k
|
||||
IMAGES += factory.bin
|
||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
||||
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | check-size
|
||||
DEVICE_VENDOR := Xiaomi
|
||||
DEVICE_MODEL := Mi Router CR6606
|
||||
DEVICE_PACKAGES += uboot-envtools kmod-mt7915e wpad-openssl
|
||||
DEVICE_PACKAGES += kmod-mt7915e wpad-openssl uboot-envtools
|
||||
endef
|
||||
TARGET_DEVICES += xiaomi_mi-router-cr6606
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user