Compare commits

...

4 Commits

Author SHA1 Message Date
kos 2faf7ea5cf Merge branch 'main' of https://github.com/openwrt/openwrt 2024-02-29 02:17:01 +00:00
Felix Fietkau c6319de48b mediatek: re-enable mt7622-rfb1-ubi with changed partition layout
The boot loader does not have a fixed size limit for the kernel,
so we're free to change the layout. This may break sysupgrade, but a fresh
flash from initramfs works.

Fixes: 6e2962d4c5 ("mediatek: mt7622: skip build for MT7622 rfb1 (UBI)")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2024-02-28 09:59:43 +01:00
Tianling Shen d6e008ace9 uboot-mediatek: correct board name for BananaPi BPi-R3 Mini
It should be "BananaPi BPi-R3 Mini" instead of just "BananaPi BPi-R3".

Fixes: bc25519f98 ("uboot-mediatek: add builds for BananaPi BPi-R3 mini")
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-02-28 12:48:43 +08:00
Michael Seibt 404c76f78a build: fix shebang line
Remove space between sharp-exclamation and interpreter.

Signed-off-by: Michael Seibt <github@roboschmie.de>
2024-02-28 12:31:33 +08:00
4 changed files with 7 additions and 7 deletions

View File

@ -417,7 +417,7 @@ define U-Boot/mt7986_bananapi_bpi-r3-nor
endef
define U-Boot/mt7986_bananapi_bpi-r3-mini-emmc
NAME:=BananaPi BPi-R3
NAME:=BananaPi BPi-R3 Mini
BUILD_SUBTARGET:=filogic
BUILD_DEVICES:=bananapi_bpi-r3-mini
UBOOT_CONFIG:=mt7986a_bpi-r3-mini-emmc
@ -429,7 +429,7 @@ define U-Boot/mt7986_bananapi_bpi-r3-mini-emmc
endef
define U-Boot/mt7986_bananapi_bpi-r3-mini-snand
NAME:=BananaPi BPi-R3
NAME:=BananaPi BPi-R3 Mini
BUILD_SUBTARGET:=filogic
BUILD_DEVICES:=bananapi_bpi-r3-mini
UBOOT_CONFIG:=mt7986a_bpi-r3-mini-snand

View File

@ -1,4 +1,4 @@
#! /bin/sh
#!/bin/sh
# A little script I whipped up to make it easy to
# patch source trees and have sane error handling
# -Erik

View File

@ -44,12 +44,12 @@
partition@200000 {
label = "kernel";
reg = <0x2c0000 0x400000>;
reg = <0x2c0000 0x600000>;
};
partition@6c0000 {
label = "ubi";
reg = <0x6c0000 0x6f00000>;
reg = <0x8c0000 0x6f00000>;
};
/delete-node/ partition@2200000;

View File

@ -295,14 +295,14 @@ define Device/mediatek_mt7622-rfb1-ubi
UBINIZE_OPTS := -E 5
BLOCKSIZE := 128k
PAGESIZE := 2048
KERNEL_SIZE := 4194304
KERNEL_SIZE := 6291456
IMAGE_SIZE := 32768k
IMAGES += factory.bin
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
check-size $$$$(IMAGE_SIZE)
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
endef
# TARGET_DEVICES += mediatek_mt7622-rfb1-ubi
TARGET_DEVICES += mediatek_mt7622-rfb1-ubi
define Device/netgear_wax206
$(Device/dsa-migration)