ramips: increase HiWiFi HC5962 kernel partition to 4M

Increase kernel partition because 2M is insufficient for 4.19
Because the partition changes, previous version of OpenWrt cannot upgrade to this version

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
This commit is contained in:
DENG Qingfang 2020-02-12 20:54:27 +08:00 committed by AmadeusGhost
parent 7b64d22268
commit f7df44cdea
2 changed files with 4 additions and 7 deletions

View File

@ -74,12 +74,12 @@
partition@140000 {
label = "kernel";
reg = <0x140000 0x200000>;
reg = <0x140000 0x400000>;
};
partition@340000 {
partition@540000 {
label = "ubi";
reg = <0x340000 0x1E00000>;
reg = <0x540000 0x1c00000>;
};
partition@2140000 {

View File

@ -353,7 +353,7 @@ TARGET_DEVICES += gnubee_gb-pc2
define Device/hiwifi_hc5962
BLOCKSIZE := 128k
PAGESIZE := 2048
KERNEL_SIZE := 2097152
KERNEL_SIZE := 4096k
UBINIZE_OPTS := -E 5
IMAGE_SIZE := 32768k
IMAGES += factory.bin
@ -363,9 +363,6 @@ define Device/hiwifi_hc5962
DEVICE_VENDOR := HiWiFi
DEVICE_MODEL := HC5962
DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb3 wpad-openssl
SUPPORTED_DEVICES += hc5962
# Kernel partition too small
DEFAULT := n
endef
TARGET_DEVICES += hiwifi_hc5962