Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
commit
829ab5e8b1
@ -16,15 +16,22 @@ emmc_upgrade_tar() {
|
||||
tar tf "$tar_file" ${board_dir}/kernel 1>/dev/null 2>/dev/null && has_kernel=1
|
||||
tar tf "$tar_file" ${board_dir}/root 1>/dev/null 2>/dev/null && has_rootfs=1
|
||||
|
||||
[ "$has_kernel" = 1 -a "$EMMC_KERN_DEV" ] &&
|
||||
export EMMC_KERNEL_BLOCKS=$(($(tar xf "$tar_file" ${board_dir}/kernel -O | dd of="$EMMC_KERN_DEV" bs=512 2>&1 | grep "records out" | cut -d' ' -f1)))
|
||||
|
||||
[ "$has_rootfs" = 1 -a "$EMMC_ROOT_DEV" ] && {
|
||||
# Invalidate kernel image while rootfs is being written
|
||||
[ "$has_kernel" = 1 -a "$EMMC_KERN_DEV" ] && {
|
||||
dd if=/dev/zero of="$EMMC_KERN_DEV" bs=512 count=8
|
||||
sync
|
||||
}
|
||||
|
||||
export EMMC_ROOTFS_BLOCKS=$(($(tar xf "$tar_file" ${board_dir}/root -O | dd of="$EMMC_ROOT_DEV" bs=512 2>&1 | grep "records out" | cut -d' ' -f1)))
|
||||
# Account for 64KiB ROOTDEV_OVERLAY_ALIGN in libfstools
|
||||
EMMC_ROOTFS_BLOCKS=$(((EMMC_ROOTFS_BLOCKS + 127) & ~127))
|
||||
sync
|
||||
}
|
||||
|
||||
[ "$has_kernel" = 1 -a "$EMMC_KERN_DEV" ] &&
|
||||
export EMMC_KERNEL_BLOCKS=$(($(tar xf "$tar_file" ${board_dir}/kernel -O | dd of="$EMMC_KERN_DEV" bs=512 2>&1 | grep "records out" | cut -d' ' -f1)))
|
||||
|
||||
if [ -z "$UPGRADE_BACKUP" ]; then
|
||||
if [ "$EMMC_DATA_DEV" ]; then
|
||||
dd if=/dev/zero of="$EMMC_DATA_DEV" bs=512 count=8
|
||||
|
1295
scripts/config.guess
vendored
1295
scripts/config.guess
vendored
File diff suppressed because it is too large
Load Diff
998
scripts/config.sub
vendored
998
scripts/config.sub
vendored
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,33 @@
|
||||
From e20cd62b1f1708a4dec7ff4beb9e748a0bdb5716 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Stein <alexander.stein@ew.tq-group.com>
|
||||
Date: Wed, 17 Jan 2024 09:32:06 +0100
|
||||
Subject: [PATCH] of: property: Make 'no port node found' output a debug
|
||||
message
|
||||
|
||||
There are cases where an unavailable port is not an error, making this
|
||||
error message a false-positive. Since commit d56de8c9a17d8 ("usb: typec:
|
||||
tcpm: try to get role switch from tcpc fwnode") the role switch is tried
|
||||
on the port dev first and tcpc fwnode afterwards. If using the latter
|
||||
bindings getting from port dev fails every time. The kernel log is flooded
|
||||
with the messages like:
|
||||
OF: graph: no port node found in /soc@0/bus@42000000/i2c@42530000/usb-typec@50
|
||||
Silence this message by making it a debug message.
|
||||
|
||||
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
|
||||
Link: https://lore.kernel.org/r/20240117083206.2901534-1-alexander.stein@ew.tq-group.com
|
||||
Signed-off-by: Rob Herring <robh@kernel.org>
|
||||
---
|
||||
drivers/of/property.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/drivers/of/property.c
|
||||
+++ b/drivers/of/property.c
|
||||
@@ -664,7 +664,7 @@ struct device_node *of_graph_get_next_en
|
||||
of_node_put(node);
|
||||
|
||||
if (!port) {
|
||||
- pr_err("graph: no port node found in %pOF\n", parent);
|
||||
+ pr_debug("graph: no port node found in %pOF\n", parent);
|
||||
return NULL;
|
||||
}
|
||||
} else {
|
@ -1545,7 +1545,7 @@ static int fe_probe(struct platform_device *pdev)
|
||||
if (IS_ERR(fe_base))
|
||||
return PTR_ERR(fe_base);
|
||||
|
||||
netdev = devm_alloc_etherdev_mqs(&pdev->dev, sizeof(*priv), 4, 4);
|
||||
netdev = devm_alloc_etherdev(&pdev->dev, sizeof(*priv));
|
||||
if (!netdev) {
|
||||
dev_err(&pdev->dev, "alloc_etherdev failed\n");
|
||||
return -ENOMEM;
|
||||
|
@ -5,12 +5,12 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=fakeroot
|
||||
PKG_VERSION:=1.33
|
||||
PKG_VERSION:=1.36
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
|
||||
PKG_SOURCE_URL:=@DEBIAN/pool/main/f/fakeroot
|
||||
PKG_HASH:=e157d8e5c64d3a755707791e9be93296c6d249d5c4478bf941b675d49c47757d
|
||||
PKG_HASH:=7fe3cf3daf95ee93b47e568e85f4d341a1f9ae91766b4f9a9cdc29737dea4988
|
||||
PKG_LICENSE:=GPL-3.0-or-later
|
||||
PKG_LICENSE_FILES:=COPYING
|
||||
PKG_FIXUP:=autoreconf
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -386,7 +386,7 @@ dnl Digital Unix: stat
|
||||
@@ -390,7 +390,7 @@ dnl Digital Unix: stat
|
||||
time64_hack=no
|
||||
AH_TEMPLATE([TIME64_HACK], [time64 shuffle])
|
||||
AC_MSG_CHECKING([if we need to cope with time64])
|
||||
|
@ -21,14 +21,3 @@ Error relocating openwrt/staging_dir/host/lib/libfakeroot.so: SEND_GET_XATTR: sy
|
||||
#define SEND_GET_XATTR64(a,b,c) send_get_xattr64(a,b)
|
||||
#endif
|
||||
|
||||
@@ -142,8 +144,9 @@
|
||||
|
||||
/* 10.10 uses id_t in getpriority/setpriority calls, so pretend
|
||||
id_t is used everywhere, just happens to be int on some OSes */
|
||||
-#ifndef _ID_T
|
||||
+#if !defined(_ID_T) && !defined(__DEFINED_id_t)
|
||||
#define _ID_T
|
||||
+#define __DEFINED_id_t
|
||||
typedef int id_t;
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user