diff options
author | Daniel Golle <daniel@makrotopia.org> | 2021-08-20 21:11:32 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2022-01-23 20:20:37 +0000 |
commit | 1ee75dd2906e15f874220151cdd4802d50e4a082 (patch) | |
tree | 9c9fb99a31fe6efd9d2a79fd10d34a14c186fa1f /target/linux/mediatek/dts | |
parent | 213b406ae3364913ef73ea027a38605107fcf78d (diff) | |
download | upstream-1ee75dd2906e15f874220151cdd4802d50e4a082.tar.gz upstream-1ee75dd2906e15f874220151cdd4802d50e4a082.tar.bz2 upstream-1ee75dd2906e15f874220151cdd4802d50e4a082.zip |
mediatek: mt7623: rework images for U7623-02 board
Users of older OpenWrt versions need sysupgrade using the *emmc.img.gz
file once which will upgrade U-Boot and switch to the new image layout.
Users of the vendor firmware need to first flash the legacy image to
then sunsequently carry out a full-flash upgrade.
Alternatively the board can also be flashed using MediaTek's
proprietary SP Flash Tool.
Configuration as well as persistent MAC address will be lost once at
this point and you will have to redo (or restore) all configuration
manually. To restore the previous persistent MAC address users may set
it manually using
fw_setenv ethaddr 00:11:22:33:44:55
For future upgrades once running OpenWrt past this commit, the usual
*sysupgrade.itb file can be used.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/mediatek/dts')
-rw-r--r-- | target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc-512m.dts | 10 | ||||
-rw-r--r-- | target/linux/mediatek/dts/mt7623a-unielec-u7623-02.dts | 12 | ||||
-rw-r--r-- | target/linux/mediatek/dts/mt7623a-unielec-u7623-02.dtsi (renamed from target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc.dtsi) | 5 |
3 files changed, 21 insertions, 6 deletions
diff --git a/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc-512m.dts b/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc-512m.dts index 822ca3fd49..609bb8f109 100644 --- a/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc-512m.dts +++ b/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc-512m.dts @@ -4,11 +4,15 @@ */ /dts-v1/; -#include "mt7623a-unielec-u7623-02-emmc.dtsi" +#include "mt7623a-unielec-u7623-02.dtsi" / { - model = "UniElec U7623-02 eMMC (512M RAM)"; - compatible = "unielec,u7623-02-emmc-512m", "unielec,u7623-02-emmc", "mediatek,mt7623"; + model = "UniElec U7623-02 eMMC (legacy loader, 512M RAM)"; + compatible = "unielec,u7623-02-emmc-512m", "unielec,u7623-02", "mediatek,mt7623"; + + chosen { + bootargs = "root=/dev/mmcblk0p2 rootfstype=squashfs,f2fs console=ttyS0,115200 blkdevparts=mmcblk0:3M@6M(recovery),256M@9M(root)"; + }; memory@80000000 { device_type = "memory"; diff --git a/target/linux/mediatek/dts/mt7623a-unielec-u7623-02.dts b/target/linux/mediatek/dts/mt7623a-unielec-u7623-02.dts new file mode 100644 index 0000000000..bcd81ba6da --- /dev/null +++ b/target/linux/mediatek/dts/mt7623a-unielec-u7623-02.dts @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) +/* + * Copyright 2018 Kristian Evensen <kristian.evensen@gmail.com> + */ + +/dts-v1/; +#include "mt7623a-unielec-u7623-02.dtsi" + +/ { + model = "UniElec U7623-02 eMMC"; + compatible = "unielec,u7623-02", "mediatek,mt7623"; +}; diff --git a/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc.dtsi b/target/linux/mediatek/dts/mt7623a-unielec-u7623-02.dtsi index 46db0985d6..50c7f3e88e 100644 --- a/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc.dtsi +++ b/target/linux/mediatek/dts/mt7623a-unielec-u7623-02.dtsi @@ -8,7 +8,7 @@ #include "mt6323.dtsi" / { - compatible = "unielec,u7623-02-emmc", "mediatek,mt7623"; + compatible = "unielec,u7623-02", "mediatek,mt7623"; aliases { serial0 = &uart2; @@ -21,8 +21,7 @@ }; chosen { - bootargs = "root=/dev/mmcblk0p2 rootfstype=squashfs,f2fs console=ttyS0,115200 blkdevparts=mmcblk0:3M@6M(recovery),256M@9M(root)"; - stdout-path = "serial2:115200n8"; + stdout-path = "serial0:115200n8"; }; cpus { |