Skip to content

Commit 4436cec

Browse files
Merge branch 'openwrt:main' into wax206
2 parents 5e940de + 7f5c7b8 commit 4436cec

128 files changed

Lines changed: 2780 additions & 1295 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 23 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,39 @@
1+
unset FAILSAFE
12
[ -e /tmp/.failsafe ] && export FAILSAFE=1
23

34
[ -f /etc/banner ] && cat /etc/banner
4-
[ -n "$FAILSAFE" ] && cat /etc/banner.failsafe
5+
[ -n "$FAILSAFE" ] && [ -f /etc/banner.failsafe ] && cat /etc/banner.failsafe
56

6-
grep -Fsq '/ overlay ro,' /proc/mounts && {
7-
echo 'Your JFFS2-partition seems full and overlayfs is mounted read-only.'
8-
echo 'Please try to remove files from /overlay/upper/... and reboot!'
9-
}
7+
if grep -Fsq '/ overlay ro,' /proc/mounts ; then
8+
cat << EOF
9+
10+
=== WARNING! ======================================
11+
Your JFFS2-partition seems full and overlayfs is
12+
mounted as READ-ONLY!
13+
Please try to remove files from /overlay/upper/...
14+
and reboot!
15+
---------------------------------------------------
16+
17+
EOF
18+
fi
1019

1120
export PATH="%PATH%"
12-
export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6)
13-
export HOME=${HOME:-/root}
21+
HOME=$(grep -E "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6)
22+
HOME=${HOME:-/root}
23+
export HOME
1424
export PS1='\u@\h:\w\$ '
1525
export ENV=/etc/shinit
1626

1727
case "$TERM" in
1828
xterm*|rxvt*)
19-
export PS1='\[\e]0;\u@\h: \w\a\]'$PS1
20-
;;
29+
export PS1='\[\e]0;\u@\h: \w\a\]'"$PS1"
30+
;;
2131
esac
2232

23-
[ -n "$FAILSAFE" ] || {
24-
for FILE in /etc/profile.d/*.sh; do
25-
[ -e "$FILE" ] && . "$FILE"
33+
if [ -z "$FAILSAFE" ] ; then
34+
for FILE in /etc/profile.d/*.sh ; do
35+
[ -f "${FILE%.sh}.hush" ] && continue
36+
[ -f "$FILE" ] && . "$FILE"
2637
done
2738
unset FILE
28-
}
29-
30-
if ( grep -qs '^root::' /etc/shadow && \
31-
[ -z "$FAILSAFE" ] )
32-
then
33-
cat << EOF
34-
=== WARNING! =====================================
35-
There is no root password defined on this device!
36-
Use the "passwd" command to set up a new password
37-
in order to prevent unauthorized SSH logins.
38-
--------------------------------------------------
39-
EOF
40-
fi
41-
42-
if [ -x /usr/bin/apk ]; then
43-
cat << EOF
44-
45-
OpenWrt recently switched to the "apk" package manager!
46-
47-
OPKG Command APK Equivalent Description
48-
------------------------------------------------------------------
49-
opkg install <pkg> apk add <pkg> Install a package
50-
opkg remove <pkg> apk del <pkg> Remove a package
51-
opkg upgrade apk upgrade Upgrade all packages
52-
opkg files <pkg> apk info -L <pkg> List package contents
53-
opkg list-installed apk info List installed packages
54-
opkg update apk update Update package lists
55-
opkg search <pkg> apk search <pkg> Search for packages
56-
------------------------------------------------------------------
57-
58-
For more https://openwrt.org/docs/guide-user/additional-software/opkg-to-apk-cheatsheet
59-
60-
EOF
6139
fi
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
if grep -Esq '^root::' /etc/shadow ; then
2+
cat << EOF
3+
4+
=== WARNING! =====================================
5+
There is no root password defined on this device!
6+
Use the "passwd" command to set up a new password
7+
in order to prevent unauthorized SSH logins.
8+
--------------------------------------------------
9+
10+
EOF
11+
fi
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
if [ -x /usr/bin/apk ] ; then
2+
cat << EOF
3+
4+
OpenWrt recently switched to the "apk" package manager!
5+
6+
OPKG Command APK Equivalent Description
7+
------------------------------------------------------------------
8+
opkg install <pkg> apk add <pkg> Install a package
9+
opkg remove <pkg> apk del <pkg> Remove a package
10+
opkg upgrade apk upgrade Upgrade all packages
11+
opkg files <pkg> apk info -L <pkg> List package contents
12+
opkg list-installed apk info List installed packages
13+
opkg update apk update Update package lists
14+
opkg search <pkg> apk search <pkg> Search for packages
15+
------------------------------------------------------------------
16+
17+
For more information visit:
18+
https://openwrt.org/docs/guide-user/additional-software/opkg-to-apk-cheatsheet
19+
20+
EOF
21+
fi

package/boot/uboot-airoha/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
include $(TOPDIR)/rules.mk
22
include $(INCLUDE_DIR)/kernel.mk
33

4-
PKG_VERSION:=2025.07
5-
PKG_HASH:=0f933f6c5a426895bf306e93e6ac53c60870e4b54cda56d95211bec99e63bec7
4+
PKG_VERSION:=2025.10
5+
PKG_HASH:=b4f032848e56cc8f213ad59f9132c084dbbb632bc29176d024e58220e0efdf4a
66
PKG_BUILD_DEPENDS:=arm-trusted-firmware-tools/host
77

88
UBOOT_USE_INTREE_DTC:=1

package/boot/uboot-airoha/patches/200-linux-bitfield.h-import-FIELD_PREP_CONST-macro-from-.patch

Lines changed: 0 additions & 55 deletions
This file was deleted.

package/boot/uboot-airoha/patches/201-mtd-spinand-winbond-add-Winbond-W25N04KV-flash-suppo.patch

Lines changed: 0 additions & 56 deletions
This file was deleted.

package/boot/uboot-airoha/patches/202-mtd-spinand-Use-the-spi-mem-dirmap-API.patch

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
1717
include/linux/mtd/spinand.h | 7 ++
1818
2 files changed, 95 insertions(+), 97 deletions(-)
1919

20-
diff --git a/drivers/mtd/nand/spi/core.c b/drivers/mtd/nand/spi/core.c
21-
index f5ddfbf4b83..ea00cd7dcf0 100644
2220
--- a/drivers/mtd/nand/spi/core.c
2321
+++ b/drivers/mtd/nand/spi/core.c
2422
@@ -41,21 +41,6 @@ struct spinand_plat {
@@ -275,7 +273,7 @@ index f5ddfbf4b83..ea00cd7dcf0 100644
275273
static const struct nand_ops spinand_ops = {
276274
.erase = spinand_erase,
277275
.markbad = spinand_markbad,
278-
@@ -1116,6 +1099,14 @@ static int spinand_init(struct spinand_device *spinand)
276+
@@ -1134,6 +1117,14 @@ static int spinand_init(struct spinand_device *spinand)
279277
goto err_free_bufs;
280278
}
281279

@@ -315,6 +313,3 @@ index 6fe6fd520a4..163269313f6 100644
315313
int (*select_target)(struct spinand_device *spinand,
316314
unsigned int target);
317315
unsigned int cur_target;
318-
--
319-
2.51.0
320-

package/boot/uboot-airoha/patches/203-spi-airoha-remove-unnecessary-operation-adjust_op_si.patch

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
1212
drivers/spi/airoha_snfi_spi.c | 16 ----------------
1313
1 file changed, 16 deletions(-)
1414

15-
diff --git a/drivers/spi/airoha_snfi_spi.c b/drivers/spi/airoha_snfi_spi.c
16-
index 3ea25b293d1..4eb01038404 100644
1715
--- a/drivers/spi/airoha_snfi_spi.c
1816
+++ b/drivers/spi/airoha_snfi_spi.c
1917
@@ -525,21 +525,6 @@ static int airoha_snand_nfi_config(struct airoha_snand_priv *priv)
@@ -46,6 +44,3 @@ index 3ea25b293d1..4eb01038404 100644
4644
.supports_op = airoha_snand_supports_op,
4745
.exec_op = airoha_snand_exec_op,
4846
};
49-
--
50-
2.51.0
51-

package/boot/uboot-airoha/patches/204-spi-airoha-add-support-of-dual-quad-wires-spi-modes-.patch

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
3232
drivers/spi/airoha_snfi_spi.c | 143 +++++++++++++++++++++++++++-------
3333
1 file changed, 117 insertions(+), 26 deletions(-)
3434

35-
diff --git a/drivers/spi/airoha_snfi_spi.c b/drivers/spi/airoha_snfi_spi.c
36-
index 4eb01038404..7cd409ba44a 100644
3735
--- a/drivers/spi/airoha_snfi_spi.c
3836
+++ b/drivers/spi/airoha_snfi_spi.c
3937
@@ -186,6 +186,14 @@
@@ -257,6 +255,3 @@ index 4eb01038404..7cd409ba44a 100644
257255
if (err)
258256
return err;
259257
}
260-
--
261-
2.51.0
262-

package/boot/uboot-airoha/patches/205-spi-airoha-add-dma-support.patch

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
1919
drivers/spi/airoha_snfi_spi.c | 309 ++++++++++++++++++++++++++++++++++
2020
1 file changed, 309 insertions(+)
2121

22-
diff --git a/drivers/spi/airoha_snfi_spi.c b/drivers/spi/airoha_snfi_spi.c
23-
index 7cd409ba44a..f72d11f5b19 100644
2422
--- a/drivers/spi/airoha_snfi_spi.c
2523
+++ b/drivers/spi/airoha_snfi_spi.c
2624
@@ -141,12 +141,14 @@
@@ -373,6 +371,3 @@ index 7cd409ba44a..f72d11f5b19 100644
373371
};
374372

375373
static const struct dm_spi_ops airoha_snfi_spi_ops = {
376-
--
377-
2.51.0
378-

0 commit comments

Comments
 (0)