diff --git a/patch/u-boot/u-boot-genio/0001-GENIO-board-Fix-ramdisk-image-overlapping.patch b/patch/u-boot/u-boot-genio/0001-GENIO-board-Fix-ramdisk-image-overlapping.patch index 62371b6dd6..21f36556ad 100644 --- a/patch/u-boot/u-boot-genio/0001-GENIO-board-Fix-ramdisk-image-overlapping.patch +++ b/patch/u-boot/u-boot-genio/0001-GENIO-board-Fix-ramdisk-image-overlapping.patch @@ -1,7 +1,7 @@ -From 2bdac810346ea08f57e30e4c870cb41df4dfc00b Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Thu, 17 Apr 2025 16:10:53 +0200 -Subject: [PATCH] GENIO: board: Fix ramdisk image overlapping +Subject: GENIO: board: Fix ramdisk image overlapping Current upstream kernel size is too big, resulting in overlapping areas: @@ -20,7 +20,7 @@ Signed-off-by: Louis-Alexis Eyraud 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/configs/mt8188.h b/include/configs/mt8188.h -index 128d02a90d..8b041bc9a9 100644 +index 111111111111..222222222222 100644 --- a/include/configs/mt8188.h +++ b/include/configs/mt8188.h @@ -94,7 +94,7 @@ @@ -42,7 +42,7 @@ index 128d02a90d..8b041bc9a9 100644 "splashimage=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \ "splashsource=sf\0" \ diff --git a/include/configs/mt8195.h b/include/configs/mt8195.h -index 8db3996a0e..6dc96b0ae9 100644 +index 111111111111..222222222222 100644 --- a/include/configs/mt8195.h +++ b/include/configs/mt8195.h @@ -133,7 +133,7 @@ @@ -64,7 +64,7 @@ index 8db3996a0e..6dc96b0ae9 100644 "splashimage=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \ "splashsource=sf\0" \ diff --git a/include/configs/mt8365.h b/include/configs/mt8365.h -index c8f6af15b9..f6e016f810 100644 +index 111111111111..222222222222 100644 --- a/include/configs/mt8365.h +++ b/include/configs/mt8365.h @@ -63,7 +63,7 @@ @@ -77,7 +77,7 @@ index c8f6af15b9..f6e016f810 100644 BOOTENV diff --git a/include/configs/mt8370.h b/include/configs/mt8370.h -index 4668dea30b..06ccd71bb6 100644 +index 111111111111..222222222222 100644 --- a/include/configs/mt8370.h +++ b/include/configs/mt8370.h @@ -85,7 +85,7 @@ @@ -99,7 +99,7 @@ index 4668dea30b..06ccd71bb6 100644 "splashimage=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \ "splashsource=sf\0" \ diff --git a/include/configs/mt8391.h b/include/configs/mt8391.h -index ceb59b951a..a43c81cbf8 100644 +index 111111111111..222222222222 100644 --- a/include/configs/mt8391.h +++ b/include/configs/mt8391.h @@ -100,7 +100,7 @@ @@ -111,3 +111,6 @@ index ceb59b951a..a43c81cbf8 100644 "fdtfile=" CONFIG_DEFAULT_FDT_FILE ".dtb\0" \ "splashimage=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \ "splashsource=mmc_fs\0" \ +-- +Armbian + diff --git a/patch/u-boot/u-boot-genio/0002-GENIO-board-Match-upstream-kernel-device-tree-blob-n.patch b/patch/u-boot/u-boot-genio/0002-GENIO-board-Match-upstream-kernel-device-tree-blob-n.patch index be96a2143b..d1539f511e 100644 --- a/patch/u-boot/u-boot-genio/0002-GENIO-board-Match-upstream-kernel-device-tree-blob-n.patch +++ b/patch/u-boot/u-boot-genio/0002-GENIO-board-Match-upstream-kernel-device-tree-blob-n.patch @@ -1,7 +1,7 @@ -From d9bfca577cb4c88d5ff5716c0dcffa1972629601 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Fri, 4 Apr 2025 09:51:41 +0200 -Subject: [PATCH] GENIO: board: Match upstream kernel device tree blob names +Subject: GENIO: board: Match upstream kernel device tree blob names In order to boot upstream kernel, set the proper default dtb file paths. @@ -26,7 +26,7 @@ Signed-off-by: Louis-Alexis Eyraud 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/configs/genio_1200_evk_defconfig b/configs/genio_1200_evk_defconfig -index 61f2667827..0f3975604d 100644 +index 111111111111..222222222222 100644 --- a/configs/genio_1200_evk_defconfig +++ b/configs/genio_1200_evk_defconfig @@ -22,7 +22,7 @@ CONFIG_FIT=y @@ -39,7 +39,7 @@ index 61f2667827..0f3975604d 100644 # CONFIG_CMD_CONSOLE is not set # CONFIG_CMD_BOOTD is not set diff --git a/configs/genio_1200_evk_ufs_defconfig b/configs/genio_1200_evk_ufs_defconfig -index ff786a4018..5300c4fc95 100644 +index 111111111111..222222222222 100644 --- a/configs/genio_1200_evk_ufs_defconfig +++ b/configs/genio_1200_evk_ufs_defconfig @@ -22,7 +22,7 @@ CONFIG_FIT=y @@ -52,7 +52,7 @@ index ff786a4018..5300c4fc95 100644 # CONFIG_CMD_CONSOLE is not set # CONFIG_CMD_BOOTD is not set diff --git a/configs/genio_1200_evk_ufs_qspi_defconfig b/configs/genio_1200_evk_ufs_qspi_defconfig -index 5d5cf82c85..8750ab6bf6 100644 +index 111111111111..222222222222 100644 --- a/configs/genio_1200_evk_ufs_qspi_defconfig +++ b/configs/genio_1200_evk_ufs_qspi_defconfig @@ -23,7 +23,7 @@ CONFIG_FIT=y @@ -65,7 +65,7 @@ index 5d5cf82c85..8750ab6bf6 100644 # CONFIG_CMD_CONSOLE is not set # CONFIG_CMD_BOOTD is not set diff --git a/configs/genio_350_evk_defconfig b/configs/genio_350_evk_defconfig -index e8822ed11a..6ceef8e7f0 100644 +index 111111111111..222222222222 100644 --- a/configs/genio_350_evk_defconfig +++ b/configs/genio_350_evk_defconfig @@ -21,7 +21,7 @@ CONFIG_DISTRO_DEFAULTS=y @@ -78,7 +78,7 @@ index e8822ed11a..6ceef8e7f0 100644 # CONFIG_CMD_CONSOLE is not set # CONFIG_CMD_BOOTD is not set diff --git a/configs/genio_510_evk_defconfig b/configs/genio_510_evk_defconfig -index c618a6872c..dc26a3fd6d 100644 +index 111111111111..222222222222 100644 --- a/configs/genio_510_evk_defconfig +++ b/configs/genio_510_evk_defconfig @@ -22,7 +22,7 @@ CONFIG_FIT=y @@ -91,7 +91,7 @@ index c618a6872c..dc26a3fd6d 100644 # CONFIG_CMD_CONSOLE is not set # CONFIG_CMD_BOOTD is not set diff --git a/configs/genio_510_evk_qspi_defconfig b/configs/genio_510_evk_qspi_defconfig -index 613bde4244..c6674a431a 100644 +index 111111111111..222222222222 100644 --- a/configs/genio_510_evk_qspi_defconfig +++ b/configs/genio_510_evk_qspi_defconfig @@ -23,7 +23,7 @@ CONFIG_FIT=y @@ -104,7 +104,7 @@ index 613bde4244..c6674a431a 100644 # CONFIG_CMD_CONSOLE is not set # CONFIG_CMD_BOOTD is not set diff --git a/configs/genio_700_evk_defconfig b/configs/genio_700_evk_defconfig -index 076b802d76..43d7144406 100644 +index 111111111111..222222222222 100644 --- a/configs/genio_700_evk_defconfig +++ b/configs/genio_700_evk_defconfig @@ -22,7 +22,7 @@ CONFIG_FIT=y @@ -117,7 +117,7 @@ index 076b802d76..43d7144406 100644 CONFIG_BOARD_LATE_INIT=y # CONFIG_CMD_CONSOLE is not set diff --git a/configs/genio_700_evk_qspi_defconfig b/configs/genio_700_evk_qspi_defconfig -index a611cbfe5d..f9290b6957 100644 +index 111111111111..222222222222 100644 --- a/configs/genio_700_evk_qspi_defconfig +++ b/configs/genio_700_evk_qspi_defconfig @@ -23,7 +23,7 @@ CONFIG_FIT=y @@ -130,7 +130,7 @@ index a611cbfe5d..f9290b6957 100644 CONFIG_BOARD_LATE_INIT=y # CONFIG_CMD_CONSOLE is not set diff --git a/configs/genio_720_evk_defconfig b/configs/genio_720_evk_defconfig -index 0d850ecc54..b53b6f27b8 100644 +index 111111111111..222222222222 100644 --- a/configs/genio_720_evk_defconfig +++ b/configs/genio_720_evk_defconfig @@ -21,7 +21,7 @@ CONFIG_DISTRO_DEFAULTS=y @@ -143,7 +143,7 @@ index 0d850ecc54..b53b6f27b8 100644 CONFIG_BOARD_LATE_INIT=y # CONFIG_CMD_CONSOLE is not set diff --git a/configs/genio_720_evk_ufs_defconfig b/configs/genio_720_evk_ufs_defconfig -index dd9d993bfa..186992e501 100644 +index 111111111111..222222222222 100644 --- a/configs/genio_720_evk_ufs_defconfig +++ b/configs/genio_720_evk_ufs_defconfig @@ -21,7 +21,7 @@ CONFIG_DISTRO_DEFAULTS=y @@ -156,7 +156,7 @@ index dd9d993bfa..186992e501 100644 CONFIG_BOARD_LATE_INIT=y # CONFIG_CMD_CONSOLE is not set diff --git a/configs/genio_720_evk_ufs_qspi_defconfig b/configs/genio_720_evk_ufs_qspi_defconfig -index 5516603d9f..9c17e150b3 100644 +index 111111111111..222222222222 100644 --- a/configs/genio_720_evk_ufs_qspi_defconfig +++ b/configs/genio_720_evk_ufs_qspi_defconfig @@ -22,7 +22,7 @@ CONFIG_DISTRO_DEFAULTS=y @@ -168,3 +168,6 @@ index 5516603d9f..9c17e150b3 100644 # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_BOARD_LATE_INIT=y # CONFIG_CMD_CONSOLE is not set +-- +Armbian + diff --git a/patch/u-boot/u-boot-genio/0003-GENIO-configs-genio-350-720-evk-Enable-LEGACY_IMAGE_.patch b/patch/u-boot/u-boot-genio/0003-GENIO-configs-genio-350-720-evk-Enable-LEGACY_IMAGE_.patch index 26ccee431b..260c9e8878 100644 --- a/patch/u-boot/u-boot-genio/0003-GENIO-configs-genio-350-720-evk-Enable-LEGACY_IMAGE_.patch +++ b/patch/u-boot/u-boot-genio/0003-GENIO-configs-genio-350-720-evk-Enable-LEGACY_IMAGE_.patch @@ -1,7 +1,7 @@ -From 6956aeac2f8e49681815504b54578838d71fd314 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Mon, 13 Jan 2025 13:12:02 -0300 -Subject: [PATCH] GENIO: configs: genio 350/720 evk: Enable LEGACY_IMAGE_FORMAT +Subject: GENIO: configs: genio 350/720 evk: Enable LEGACY_IMAGE_FORMAT Enable CONFIG_LEGACY_IMAGE_FORMAT for RAMDISK support. @@ -14,7 +14,7 @@ Signed-off-by: Ariel D'Alessandro 4 files changed, 4 insertions(+) diff --git a/configs/genio_350_evk_defconfig b/configs/genio_350_evk_defconfig -index 6ceef8e7f0..7a7a446307 100644 +index 111111111111..222222222222 100644 --- a/configs/genio_350_evk_defconfig +++ b/configs/genio_350_evk_defconfig @@ -20,6 +20,7 @@ CONFIG_DISTRO_DEFAULTS=y @@ -26,7 +26,7 @@ index 6ceef8e7f0..7a7a446307 100644 CONFIG_DEFAULT_FDT_FILE="mediatek/mt8365-evk" # CONFIG_DISPLAY_BOARDINFO is not set diff --git a/configs/genio_720_evk_defconfig b/configs/genio_720_evk_defconfig -index b53b6f27b8..3d072ae8b0 100644 +index 111111111111..222222222222 100644 --- a/configs/genio_720_evk_defconfig +++ b/configs/genio_720_evk_defconfig @@ -20,6 +20,7 @@ CONFIG_DEBUG_UART=y @@ -38,7 +38,7 @@ index b53b6f27b8..3d072ae8b0 100644 CONFIG_DEFAULT_FDT_FILE="mediatek/mt8391-genio-720-evk" # CONFIG_DISPLAY_BOARDINFO is not set diff --git a/configs/genio_720_evk_ufs_defconfig b/configs/genio_720_evk_ufs_defconfig -index 186992e501..f00babe60e 100644 +index 111111111111..222222222222 100644 --- a/configs/genio_720_evk_ufs_defconfig +++ b/configs/genio_720_evk_ufs_defconfig @@ -20,6 +20,7 @@ CONFIG_DEBUG_UART=y @@ -50,7 +50,7 @@ index 186992e501..f00babe60e 100644 CONFIG_DEFAULT_FDT_FILE="mediatek/mt8391-genio-720-evk-ufs" # CONFIG_DISPLAY_BOARDINFO is not set diff --git a/configs/genio_720_evk_ufs_qspi_defconfig b/configs/genio_720_evk_ufs_qspi_defconfig -index 9c17e150b3..a818c72c53 100644 +index 111111111111..222222222222 100644 --- a/configs/genio_720_evk_ufs_qspi_defconfig +++ b/configs/genio_720_evk_ufs_qspi_defconfig @@ -21,6 +21,7 @@ CONFIG_DEBUG_UART=y @@ -61,3 +61,6 @@ index 9c17e150b3..a818c72c53 100644 CONFIG_OF_BOARD_SETUP=y CONFIG_DEFAULT_FDT_FILE="mediatek/mt8391-genio-720-evk-ufs" # CONFIG_DISPLAY_BOARDINFO is not set +-- +Armbian + diff --git a/patch/u-boot/u-boot-genio/0004-Fix-typo-in-CONFIG_USBNET_DEVADDR.patch b/patch/u-boot/u-boot-genio/0004-Fix-typo-in-CONFIG_USBNET_DEVADDR.patch index 5dd81774d0..84750e49b0 100644 --- a/patch/u-boot/u-boot-genio/0004-Fix-typo-in-CONFIG_USBNET_DEVADDR.patch +++ b/patch/u-boot/u-boot-genio/0004-Fix-typo-in-CONFIG_USBNET_DEVADDR.patch @@ -1,7 +1,7 @@ -From 89f0ccb32ceaffa61f1cd67967734958e64320c6 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Ignacio Zamora Date: Sat, 8 Oct 2022 09:50:56 -0500 -Subject: [PATCH] Fix typo in CONFIG_USBNET_DEVADDR +Subject: Fix typo in CONFIG_USBNET_DEVADDR Fix typo that was caused by the same feature being split in to 2 different configuration options. Replace CONFIG_USBNET_DEVADDR with @@ -15,7 +15,7 @@ Signed-off-by: Ignacio Zamora 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig -index da9c9e3f10..e8da73c788 100644 +index 111111111111..222222222222 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -241,7 +241,7 @@ config USB_ETH_RNDIS @@ -28,7 +28,7 @@ index da9c9e3f10..e8da73c788 100644 default "de:ad:be:ef:00:01" help diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c -index abb5332f13..6ce389de9f 100644 +index 111111111111..222222222222 100644 --- a/drivers/usb/gadget/ether.c +++ b/drivers/usb/gadget/ether.c @@ -2620,7 +2620,7 @@ static int usb_eth_probe(struct udevice *dev) @@ -41,7 +41,7 @@ index abb5332f13..6ce389de9f 100644 return 0; diff --git a/include/configs/warp7.h b/include/configs/warp7.h -index 7e9b25b07b..a9cc859535 100644 +index 111111111111..222222222222 100644 --- a/include/configs/warp7.h +++ b/include/configs/warp7.h @@ -100,8 +100,6 @@ @@ -53,3 +53,6 @@ index 7e9b25b07b..a9cc859535 100644 /* Environment variable name to represent HAB enable state */ #define HAB_ENABLED_ENVNAME "hab_enabled" +-- +Armbian + diff --git a/patch/u-boot/u-boot-genio/0005-usb-ether-Fix-error-handling-in-usb_ether_init.patch b/patch/u-boot/u-boot-genio/0005-usb-ether-Fix-error-handling-in-usb_ether_init.patch index 575498eb76..1fb7f7bbd8 100644 --- a/patch/u-boot/u-boot-genio/0005-usb-ether-Fix-error-handling-in-usb_ether_init.patch +++ b/patch/u-boot/u-boot-genio/0005-usb-ether-Fix-error-handling-in-usb_ether_init.patch @@ -1,7 +1,7 @@ -From c8dc80b9cd529d878f5833bffb76ffe71a0b6c87 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Michal Suchanek Date: Wed, 12 Oct 2022 21:57:54 +0200 -Subject: [PATCH] usb: ether: Fix error handling in usb_ether_init +Subject: usb: ether: Fix error handling in usb_ether_init The code checks the return value from uclass_first_device as well as that the device exists but it passes on the return value which may be @@ -13,11 +13,11 @@ Also remove the dev variable which is not really used for anything. Signed-off-by: Michal Suchanek Reviewed-by: Simon Glass --- - drivers/usb/gadget/ether.c | 11 +++++------ + drivers/usb/gadget/ether.c | 11 +++++----- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c -index 6ce389de9f..43aec7ffa7 100644 +index 111111111111..222222222222 100644 --- a/drivers/usb/gadget/ether.c +++ b/drivers/usb/gadget/ether.c @@ -2636,18 +2636,17 @@ static const struct eth_ops usb_eth_ops = { @@ -44,3 +44,6 @@ index 6ce389de9f..43aec7ffa7 100644 pr_err("usb - not able to bind usb_ether device\n"); return ret; } +-- +Armbian + diff --git a/patch/u-boot/u-boot-genio/0006-usb-gadget-Remove-non-DM_ETH-code.patch b/patch/u-boot/u-boot-genio/0006-usb-gadget-Remove-non-DM_ETH-code.patch index d18bdab4ed..218ed67d3c 100644 --- a/patch/u-boot/u-boot-genio/0006-usb-gadget-Remove-non-DM_ETH-code.patch +++ b/patch/u-boot/u-boot-genio/0006-usb-gadget-Remove-non-DM_ETH-code.patch @@ -1,20 +1,20 @@ -From 51e2e038189ab907b59b4ea1e5317e7ad95a786a Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Sun, 27 Nov 2022 10:25:34 -0500 -Subject: [PATCH] usb: gadget: Remove non-DM_ETH code +Subject: usb: gadget: Remove non-DM_ETH code As DM_ETH is required for all network drivers, it's now safe to remove the non-DM_ETH support code. Signed-off-by: Tom Rini --- - drivers/usb/gadget/ether.c | 97 -------------------------------------- - drivers/usb/gadget/rndis.c | 9 ---- - drivers/usb/gadget/rndis.h | 11 ----- + drivers/usb/gadget/ether.c | 97 ---------- + drivers/usb/gadget/rndis.c | 9 - + drivers/usb/gadget/rndis.h | 11 -- 3 files changed, 117 deletions(-) diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c -index 43aec7ffa7..85c971e4c4 100644 +index 111111111111..222222222222 100644 --- a/drivers/usb/gadget/ether.c +++ b/drivers/usb/gadget/ether.c @@ -109,11 +109,7 @@ struct eth_dev { @@ -190,7 +190,7 @@ index 43aec7ffa7..85c971e4c4 100644 }; -#endif /* CONFIG_DM_ETH */ diff --git a/drivers/usb/gadget/rndis.c b/drivers/usb/gadget/rndis.c -index 13c327ea38..d2a51829f9 100644 +index 111111111111..222222222222 100644 --- a/drivers/usb/gadget/rndis.c +++ b/drivers/usb/gadget/rndis.c @@ -1115,11 +1115,7 @@ int rndis_msg_parser(u8 configNr, u8 *buf) @@ -220,7 +220,7 @@ index 13c327ea38..d2a51829f9 100644 debug("%s: configNr = %d\n", __func__, configNr); if (!dev || !stats) diff --git a/drivers/usb/gadget/rndis.h b/drivers/usb/gadget/rndis.h -index e827af0be4..77db55a563 100644 +index 111111111111..222222222222 100644 --- a/drivers/usb/gadget/rndis.h +++ b/drivers/usb/gadget/rndis.h @@ -226,13 +226,8 @@ typedef struct rndis_params { @@ -253,3 +253,6 @@ index e827af0be4..77db55a563 100644 int rndis_set_param_vendor(u8 configNr, u32 vendorID, const char *vendorDescr); int rndis_set_param_medium(u8 configNr, u32 medium, u32 speed); +-- +Armbian + diff --git a/patch/u-boot/u-boot-genio/0007-usb-gadget-ether-Inline-functions-used-once.patch b/patch/u-boot/u-boot-genio/0007-usb-gadget-ether-Inline-functions-used-once.patch index 5166a87484..6b22f356b4 100644 --- a/patch/u-boot/u-boot-genio/0007-usb-gadget-ether-Inline-functions-used-once.patch +++ b/patch/u-boot/u-boot-genio/0007-usb-gadget-ether-Inline-functions-used-once.patch @@ -1,7 +1,7 @@ -From 6c55e6a3c599f47e04b29b154fd33494851de55f Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Fri, 4 Aug 2023 17:41:09 +0200 -Subject: [PATCH] usb: gadget: ether: Inline functions used once +Subject: usb: gadget: ether: Inline functions used once These functions here are only ever called once since drop of non-DM networking code. Inline them. No functional change. @@ -11,11 +11,11 @@ Tested-by: Tom Rini Tested-by: Miquel Raynal Reviewed-by: Tom Rini --- - drivers/usb/gadget/ether.c | 48 +++++++------------------------------- + drivers/usb/gadget/ether.c | 48 ++-------- 1 file changed, 9 insertions(+), 39 deletions(-) diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c -index 85c971e4c4..88c656c4dc 100644 +index 111111111111..222222222222 100644 --- a/drivers/usb/gadget/ether.c +++ b/drivers/usb/gadget/ether.c @@ -2273,10 +2273,11 @@ fail: @@ -113,3 +113,6 @@ index 85c971e4c4..88c656c4dc 100644 static int usb_eth_probe(struct udevice *dev) { struct ether_priv *priv = dev_get_priv(dev); +-- +Armbian + diff --git a/patch/u-boot/u-boot-genio/0008-usb-gadget-ether-Move-probe-function-above-driver-st.patch b/patch/u-boot/u-boot-genio/0008-usb-gadget-ether-Move-probe-function-above-driver-st.patch index b1c719793a..2517bd1a3f 100644 --- a/patch/u-boot/u-boot-genio/0008-usb-gadget-ether-Move-probe-function-above-driver-st.patch +++ b/patch/u-boot/u-boot-genio/0008-usb-gadget-ether-Move-probe-function-above-driver-st.patch @@ -1,8 +1,7 @@ -From f2449abc2c57c4e80d10021ab1910f1fd6199e27 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Fri, 4 Aug 2023 17:41:10 +0200 -Subject: [PATCH] usb: gadget: ether: Move probe function above driver - structure +Subject: usb: gadget: ether: Move probe function above driver structure Move the driver probe function above the driver structure, so it can be placed alongside other related functions, like upcoming @@ -14,11 +13,11 @@ Tested-by: Miquel Raynal Tested-by: Miquel Raynal Reviewed-by: Tom Rini --- - drivers/usb/gadget/ether.c | 28 ++++++++++++++-------------- + drivers/usb/gadget/ether.c | 28 +++++----- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c -index 88c656c4dc..2040b5b508 100644 +index 111111111111..222222222222 100644 --- a/drivers/usb/gadget/ether.c +++ b/drivers/usb/gadget/ether.c @@ -2486,20 +2486,6 @@ static int usb_eth_free_pkt(struct udevice *dev, uchar *packet, @@ -63,3 +62,6 @@ index 88c656c4dc..2040b5b508 100644 U_BOOT_DRIVER(eth_usb) = { .name = "usb_ether", .id = UCLASS_ETH, +-- +Armbian + diff --git a/patch/u-boot/u-boot-genio/0009-usb-gadget-ether-Handle-gadget-driver-registration-i.patch b/patch/u-boot/u-boot-genio/0009-usb-gadget-ether-Handle-gadget-driver-registration-i.patch index 8faea0e2a3..2b65940236 100644 --- a/patch/u-boot/u-boot-genio/0009-usb-gadget-ether-Handle-gadget-driver-registration-i.patch +++ b/patch/u-boot/u-boot-genio/0009-usb-gadget-ether-Handle-gadget-driver-registration-i.patch @@ -1,8 +1,8 @@ -From 71b3a5aa44c8ffa3922bbd57a2844778c3297f35 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Fri, 4 Aug 2023 17:41:11 +0200 -Subject: [PATCH] usb: gadget: ether: Handle gadget driver registration in - probe and remove +Subject: usb: gadget: ether: Handle gadget driver registration in probe and + remove Move the ethernet gadget driver registration and removal from ethernet bind and unbind callbacks into driver DM probe and remove callbacks. @@ -24,11 +24,11 @@ Signed-off-by: Marek Vasut Tested-by: Tom Rini Reviewed-by: Tom Rini --- - drivers/usb/gadget/ether.c | 97 ++++++++++++++++++++------------------ + drivers/usb/gadget/ether.c | 97 +++++----- 1 file changed, 52 insertions(+), 45 deletions(-) diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c -index 2040b5b508..5ff06d3814 100644 +index 111111111111..222222222222 100644 --- a/drivers/usb/gadget/ether.c +++ b/drivers/usb/gadget/ether.c @@ -2281,49 +2281,8 @@ static int usb_eth_start(struct udevice *udev) @@ -165,3 +165,6 @@ index 2040b5b508..5ff06d3814 100644 .ops = &usb_eth_ops, .priv_auto = sizeof(struct ether_priv), .plat_auto = sizeof(struct eth_pdata), +-- +Armbian + diff --git a/patch/u-boot/u-boot-genio/0010-dm-usb-udc-Factor-out-plain-udevice-handler-function.patch b/patch/u-boot/u-boot-genio/0010-dm-usb-udc-Factor-out-plain-udevice-handler-function.patch index c276f65741..d8a839c6f5 100644 --- a/patch/u-boot/u-boot-genio/0010-dm-usb-udc-Factor-out-plain-udevice-handler-function.patch +++ b/patch/u-boot/u-boot-genio/0010-dm-usb-udc-Factor-out-plain-udevice-handler-function.patch @@ -1,7 +1,7 @@ -From a98f2584ae9a2075388b8156b4937d4f38e5a064 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Fri, 1 Sep 2023 11:49:47 +0200 -Subject: [PATCH] dm: usb: udc: Factor out plain udevice handler functions +Subject: dm: usb: udc: Factor out plain udevice handler functions Pull the functionality of UDC uclass that operates on plain udevice and does not use this dev_array array into separate functions and @@ -14,12 +14,12 @@ Signed-off-by: Marek Vasut Signed-off-by: Ariel D'Alessandro --- drivers/usb/gadget/udc/Makefile | 2 +- - drivers/usb/gadget/udc/udc-uclass.c | 55 +++++++++++++++++++++++++---- - include/linux/usb/gadget.h | 17 +++++++++ + drivers/usb/gadget/udc/udc-uclass.c | 55 +++++++++- + include/linux/usb/gadget.h | 17 +++ 3 files changed, 67 insertions(+), 7 deletions(-) diff --git a/drivers/usb/gadget/udc/Makefile b/drivers/usb/gadget/udc/Makefile -index 95dbf0c82e..467c566f6d 100644 +index 111111111111..222222222222 100644 --- a/drivers/usb/gadget/udc/Makefile +++ b/drivers/usb/gadget/udc/Makefile @@ -7,4 +7,4 @@ obj-$(CONFIG_USB_DWC3_GADGET) += udc-core.o @@ -29,7 +29,7 @@ index 95dbf0c82e..467c566f6d 100644 -obj-$(CONFIG_$(SPL_)DM) += udc-uclass.o +obj-y += udc-uclass.o diff --git a/drivers/usb/gadget/udc/udc-uclass.c b/drivers/usb/gadget/udc/udc-uclass.c -index de8861829c..6c67720269 100644 +index 111111111111..222222222222 100644 --- a/drivers/usb/gadget/udc/udc-uclass.c +++ b/drivers/usb/gadget/udc/udc-uclass.c @@ -14,6 +14,37 @@ @@ -114,7 +114,7 @@ index de8861829c..6c67720269 100644 }; +#endif diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h -index b3f4b8d134..3ef41e89fe 100644 +index 111111111111..222222222222 100644 --- a/include/linux/usb/gadget.h +++ b/include/linux/usb/gadget.h @@ -970,6 +970,23 @@ extern void usb_ep_autoconfig_reset(struct usb_gadget *); @@ -141,3 +141,6 @@ index b3f4b8d134..3ef41e89fe 100644 #if CONFIG_IS_ENABLED(DM_USB_GADGET) int usb_gadget_initialize(int index); int usb_gadget_release(int index); +-- +Armbian + diff --git a/patch/u-boot/u-boot-genio/0011-usb-gadget-ether-Use-plain-udevice-for-UDC-controlle.patch b/patch/u-boot/u-boot-genio/0011-usb-gadget-ether-Use-plain-udevice-for-UDC-controlle.patch index 72a54a6b36..f79bfe00f4 100644 --- a/patch/u-boot/u-boot-genio/0011-usb-gadget-ether-Use-plain-udevice-for-UDC-controlle.patch +++ b/patch/u-boot/u-boot-genio/0011-usb-gadget-ether-Use-plain-udevice-for-UDC-controlle.patch @@ -1,8 +1,7 @@ -From af5e98068fc88c8e03f4b3a1ce5aeb5d334c4fdf Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Fri, 1 Sep 2023 11:50:01 +0200 -Subject: [PATCH] usb: gadget: ether: Use plain udevice for UDC controller - interaction +Subject: usb: gadget: ether: Use plain udevice for UDC controller interaction Convert to plain udevice interaction with UDC controller device, avoid the use of UDC uclass dev_array . @@ -10,11 +9,11 @@ device, avoid the use of UDC uclass dev_array . Signed-off-by: Marek Vasut Reviewed-by: Mattijs Korpershoek --- - drivers/usb/gadget/ether.c | 20 +++++++++++--------- + drivers/usb/gadget/ether.c | 20 +++++----- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c -index 5ff06d3814..11b1a6221b 100644 +index 111111111111..222222222222 100644 --- a/drivers/usb/gadget/ether.c +++ b/drivers/usb/gadget/ether.c @@ -1880,8 +1880,10 @@ static void eth_start(struct eth_dev *dev, gfp_t gfp_flags) @@ -99,3 +98,6 @@ index 5ff06d3814..11b1a6221b 100644 return 0; } +-- +Armbian + diff --git a/patch/u-boot/u-boot-genio/0012-GENIO-configs-genio-350-evk-Enable-CONFIG_WDT_MTK.patch b/patch/u-boot/u-boot-genio/0012-GENIO-configs-genio-350-evk-Enable-CONFIG_WDT_MTK.patch index 8023a34eca..7dbec645f2 100644 --- a/patch/u-boot/u-boot-genio/0012-GENIO-configs-genio-350-evk-Enable-CONFIG_WDT_MTK.patch +++ b/patch/u-boot/u-boot-genio/0012-GENIO-configs-genio-350-evk-Enable-CONFIG_WDT_MTK.patch @@ -1,7 +1,7 @@ -From 6ece9db698d946c4889c29d74770c10fc7a939f3 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Tue, 17 Dec 2024 15:55:14 -0300 -Subject: [PATCH] GENIO: configs: genio-350-evk: Enable CONFIG_WDT_MTK +Subject: GENIO: configs: genio-350-evk: Enable CONFIG_WDT_MTK Enable MediaTek watchdog timer as it comes enabled from BL2 TFA. Otherwise, this causes a reset after a certain amount of time. @@ -12,7 +12,7 @@ Signed-off-by: Ariel D'Alessandro 1 file changed, 1 insertion(+) diff --git a/configs/genio_350_evk_defconfig b/configs/genio_350_evk_defconfig -index 7a7a446307..da0aeff91f 100644 +index 111111111111..222222222222 100644 --- a/configs/genio_350_evk_defconfig +++ b/configs/genio_350_evk_defconfig @@ -110,6 +110,7 @@ CONFIG_USB_GADGET_VENDOR_NUM=0x0e8d @@ -23,3 +23,6 @@ index 7a7a446307..da0aeff91f 100644 CONFIG_OF_LIBFDT_OVERLAY=y CONFIG_EFI_SET_TIME=y CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y +-- +Armbian + diff --git a/patch/u-boot/u-boot-genio/0013-GENIO-board-350-510-700-1200-EVK-Drop-deprecated-usb.patch b/patch/u-boot/u-boot-genio/0013-GENIO-board-350-510-700-1200-EVK-Drop-deprecated-usb.patch index 5e36c225f7..c0fad9ae26 100644 --- a/patch/u-boot/u-boot-genio/0013-GENIO-board-350-510-700-1200-EVK-Drop-deprecated-usb.patch +++ b/patch/u-boot/u-boot-genio/0013-GENIO-board-350-510-700-1200-EVK-Drop-deprecated-usb.patch @@ -1,8 +1,7 @@ -From b3952dadb0bb4d2a09dc069edaec2dcc7d52a5ff Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Fri, 10 Jan 2025 12:02:14 -0300 -Subject: [PATCH] GENIO: board: 350/510/700/1200 EVK: Drop deprecated - usb_ether_init() +Subject: GENIO: board: 350/510/700/1200 EVK: Drop deprecated usb_ether_init() Remove USB Ethernet Gadget initialization on GENIO 350/510/700/1200 EVK board files, as this is messing up the USB host side. Instead of calling @@ -48,7 +47,7 @@ Signed-off-by: Ariel D'Alessandro 4 files changed, 12 deletions(-) diff --git a/board/mediatek/genio-1200-evk/mt8195_evk.c b/board/mediatek/genio-1200-evk/mt8195_evk.c -index 8eb9597452..bc848ad304 100644 +index 111111111111..222222222222 100644 --- a/board/mediatek/genio-1200-evk/mt8195_evk.c +++ b/board/mediatek/genio-1200-evk/mt8195_evk.c @@ -217,9 +217,6 @@ int board_init(void) @@ -62,7 +61,7 @@ index 8eb9597452..bc848ad304 100644 for (unsigned int val = 0xFFFFFFFF; val != 0U;) { val = val >> 1; diff --git a/board/mediatek/genio-350-evk/mt8365_evk.c b/board/mediatek/genio-350-evk/mt8365_evk.c -index 907e109fb5..8c87d9ad48 100644 +index 111111111111..222222222222 100644 --- a/board/mediatek/genio-350-evk/mt8365_evk.c +++ b/board/mediatek/genio-350-evk/mt8365_evk.c @@ -111,9 +111,6 @@ int board_init(void) @@ -76,7 +75,7 @@ index 907e109fb5..8c87d9ad48 100644 IS_ENABLED(CONFIG_EFI_PARTITION)) mediatek_capsule_update_board_setup(); diff --git a/board/mediatek/genio-510-evk/mt8370_evk.c b/board/mediatek/genio-510-evk/mt8370_evk.c -index c671794dee..23b38389e7 100644 +index 111111111111..222222222222 100644 --- a/board/mediatek/genio-510-evk/mt8370_evk.c +++ b/board/mediatek/genio-510-evk/mt8370_evk.c @@ -163,9 +163,6 @@ int board_init(void) @@ -90,7 +89,7 @@ index c671794dee..23b38389e7 100644 for (unsigned int val = 0xFFFFFFFF; val != 0U;) { val = val >> 1; diff --git a/board/mediatek/genio-700-evk/mt8390_evk.c b/board/mediatek/genio-700-evk/mt8390_evk.c -index 88778f29ad..aca8ba92ca 100644 +index 111111111111..222222222222 100644 --- a/board/mediatek/genio-700-evk/mt8390_evk.c +++ b/board/mediatek/genio-700-evk/mt8390_evk.c @@ -167,9 +167,6 @@ int board_init(void) @@ -103,3 +102,6 @@ index 88778f29ad..aca8ba92ca 100644 printf("Enabling SCP SRAM\n"); for (unsigned int val = 0xFFFFFFFF; val != 0U;) { val = val >> 1; +-- +Armbian + diff --git a/patch/u-boot/u-boot-genio/0014-GENIO-configs-350-510-700-1200-EVK-Enable-bind-comma.patch b/patch/u-boot/u-boot-genio/0014-GENIO-configs-350-510-700-1200-EVK-Enable-bind-comma.patch index 7c6e46027c..8f22fb80a1 100644 --- a/patch/u-boot/u-boot-genio/0014-GENIO-configs-350-510-700-1200-EVK-Enable-bind-comma.patch +++ b/patch/u-boot/u-boot-genio/0014-GENIO-configs-350-510-700-1200-EVK-Enable-bind-comma.patch @@ -1,7 +1,7 @@ -From c90d01b4d3c3bb2f5f3f4ce901bbf5ad6816c2c7 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Fri, 10 Jan 2025 13:15:40 -0300 -Subject: [PATCH] GENIO: configs: 350/510/700/1200 EVK: Enable bind command +Subject: GENIO: configs: 350/510/700/1200 EVK: Enable bind command After commit 9bc199d7ea5 ("GENIO: board: 350/510/700/1200 EVK: Drop deprecated usb_ether_init()") USB Ethernet Gadget needs to be manually @@ -17,7 +17,7 @@ Signed-off-by: Ariel D'Alessandro 4 files changed, 4 insertions(+) diff --git a/configs/genio_1200_evk_defconfig b/configs/genio_1200_evk_defconfig -index 0f3975604d..b167f321aa 100644 +index 111111111111..222222222222 100644 --- a/configs/genio_1200_evk_defconfig +++ b/configs/genio_1200_evk_defconfig @@ -36,6 +36,7 @@ CONFIG_CMD_NVEDIT_EFI=y @@ -29,7 +29,7 @@ index 0f3975604d..b167f321aa 100644 CONFIG_CMD_DFU=y CONFIG_CMD_DM=y diff --git a/configs/genio_350_evk_defconfig b/configs/genio_350_evk_defconfig -index da0aeff91f..76466f7e9b 100644 +index 111111111111..222222222222 100644 --- a/configs/genio_350_evk_defconfig +++ b/configs/genio_350_evk_defconfig @@ -35,6 +35,7 @@ CONFIG_CMD_BOOTEFI_SELFTEST=y @@ -41,7 +41,7 @@ index da0aeff91f..76466f7e9b 100644 CONFIG_CMD_DFU=y CONFIG_CMD_DM=y diff --git a/configs/genio_510_evk_defconfig b/configs/genio_510_evk_defconfig -index dc26a3fd6d..c76db6e684 100644 +index 111111111111..222222222222 100644 --- a/configs/genio_510_evk_defconfig +++ b/configs/genio_510_evk_defconfig @@ -35,6 +35,7 @@ CONFIG_CMD_BOOTEFI_SELFTEST=y @@ -53,7 +53,7 @@ index dc26a3fd6d..c76db6e684 100644 CONFIG_CMD_DFU=y CONFIG_CMD_DM=y diff --git a/configs/genio_700_evk_defconfig b/configs/genio_700_evk_defconfig -index 43d7144406..239261c79d 100644 +index 111111111111..222222222222 100644 --- a/configs/genio_700_evk_defconfig +++ b/configs/genio_700_evk_defconfig @@ -37,6 +37,7 @@ CONFIG_CMD_NVEDIT_EFI=y @@ -64,3 +64,6 @@ index 43d7144406..239261c79d 100644 CONFIG_CMD_CLK=y CONFIG_CMD_DFU=y CONFIG_CMD_DM=y +-- +Armbian + diff --git a/patch/u-boot/u-boot-genio/0015-usb-gadget-ether-Set-USB-connect-timeout-to-20s.patch b/patch/u-boot/u-boot-genio/0015-usb-gadget-ether-Set-USB-connect-timeout-to-20s.patch index 1c1a06c1df..ad08b6049a 100644 --- a/patch/u-boot/u-boot-genio/0015-usb-gadget-ether-Set-USB-connect-timeout-to-20s.patch +++ b/patch/u-boot/u-boot-genio/0015-usb-gadget-ether-Set-USB-connect-timeout-to-20s.patch @@ -1,7 +1,7 @@ -From ba5fde54099bcc2dab67c82ecae8a4d4d03e557b Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Fri, 10 Jan 2025 14:57:41 -0300 -Subject: [PATCH] usb: gadget: ether: Set USB connect timeout to 20s +Subject: usb: gadget: ether: Set USB connect timeout to 20s Genio 350 EVK board often timeouts on a tftp boot sequence reporting: @@ -17,7 +17,7 @@ Signed-off-by: Ariel D'Alessandro 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c -index 11b1a6221b..3e40d66467 100644 +index 111111111111..222222222222 100644 --- a/drivers/usb/gadget/ether.c +++ b/drivers/usb/gadget/ether.c @@ -93,7 +93,7 @@ static const char driver_desc[] = DRIVER_DESC; @@ -29,3 +29,6 @@ index 11b1a6221b..3e40d66467 100644 /*-------------------------------------------------------------------------*/ +-- +Armbian + diff --git a/patch/u-boot/u-boot-genio/0016-arm-dts-add-radxa-nio-12l.patch b/patch/u-boot/u-boot-genio/0016-arm-dts-add-radxa-nio-12l.patch index f3c0c447a9..92389622c5 100644 --- a/patch/u-boot/u-boot-genio/0016-arm-dts-add-radxa-nio-12l.patch +++ b/patch/u-boot/u-boot-genio/0016-arm-dts-add-radxa-nio-12l.patch @@ -1,24 +1,20 @@ -From 86aa8227e031463995086071a9e504bf85b075b8 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Julien Massot Date: Mon, 3 Feb 2025 14:33:01 +0100 -Subject: [PATCH] arm: dts: add radxa nio 12l +Subject: arm: dts: add radxa nio 12l Signed-off-by: Stephen Chen (cherry picked from commit 537815754b4f715c240fff9c6a59836b1ffe7b4a) --- arch/arm/dts/Makefile | 5 +- - arch/arm/dts/genio-1200-radxa-nio-12l-d16.dts | 18 ++ - arch/arm/dts/genio-1200-radxa-nio-12l-d4.dts | 18 ++ - arch/arm/dts/genio-1200-radxa-nio-12l-d8.dts | 18 ++ - arch/arm/dts/genio-1200-radxa-nio-12l.dtsi | 265 ++++++++++++++++++ + arch/arm/dts/genio-1200-radxa-nio-12l-d16.dts | 18 + + arch/arm/dts/genio-1200-radxa-nio-12l-d4.dts | 18 + + arch/arm/dts/genio-1200-radxa-nio-12l-d8.dts | 18 + + arch/arm/dts/genio-1200-radxa-nio-12l.dtsi | 265 ++++++++++ 5 files changed, 323 insertions(+), 1 deletion(-) - create mode 100644 arch/arm/dts/genio-1200-radxa-nio-12l-d16.dts - create mode 100644 arch/arm/dts/genio-1200-radxa-nio-12l-d4.dts - create mode 100644 arch/arm/dts/genio-1200-radxa-nio-12l-d8.dts - create mode 100644 arch/arm/dts/genio-1200-radxa-nio-12l.dtsi diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile -index 850dd9197b..8b3e3f6a12 100644 +index 111111111111..222222222222 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -1248,7 +1248,10 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \ @@ -35,7 +31,7 @@ index 850dd9197b..8b3e3f6a12 100644 dtb-$(CONFIG_XEN) += xenguest-arm64.dtb diff --git a/arch/arm/dts/genio-1200-radxa-nio-12l-d16.dts b/arch/arm/dts/genio-1200-radxa-nio-12l-d16.dts new file mode 100644 -index 0000000000..13b29c5cbf +index 000000000000..111111111111 --- /dev/null +++ b/arch/arm/dts/genio-1200-radxa-nio-12l-d16.dts @@ -0,0 +1,18 @@ @@ -59,7 +55,7 @@ index 0000000000..13b29c5cbf +}; diff --git a/arch/arm/dts/genio-1200-radxa-nio-12l-d4.dts b/arch/arm/dts/genio-1200-radxa-nio-12l-d4.dts new file mode 100644 -index 0000000000..0f6eef2ec2 +index 000000000000..111111111111 --- /dev/null +++ b/arch/arm/dts/genio-1200-radxa-nio-12l-d4.dts @@ -0,0 +1,18 @@ @@ -83,7 +79,7 @@ index 0000000000..0f6eef2ec2 +}; diff --git a/arch/arm/dts/genio-1200-radxa-nio-12l-d8.dts b/arch/arm/dts/genio-1200-radxa-nio-12l-d8.dts new file mode 100644 -index 0000000000..6858d16972 +index 000000000000..111111111111 --- /dev/null +++ b/arch/arm/dts/genio-1200-radxa-nio-12l-d8.dts @@ -0,0 +1,18 @@ @@ -107,7 +103,7 @@ index 0000000000..6858d16972 +}; diff --git a/arch/arm/dts/genio-1200-radxa-nio-12l.dtsi b/arch/arm/dts/genio-1200-radxa-nio-12l.dtsi new file mode 100644 -index 0000000000..d60566c0c3 +index 000000000000..111111111111 --- /dev/null +++ b/arch/arm/dts/genio-1200-radxa-nio-12l.dtsi @@ -0,0 +1,265 @@ @@ -376,3 +372,6 @@ index 0000000000..d60566c0c3 + }; + }; +}; +-- +Armbian + diff --git a/patch/u-boot/u-boot-genio/0017-arm-dts-radxa-nio-12l-add-usb.patch b/patch/u-boot/u-boot-genio/0017-arm-dts-radxa-nio-12l-add-usb.patch index 2bb1c6be60..efd3e34afc 100644 --- a/patch/u-boot/u-boot-genio/0017-arm-dts-radxa-nio-12l-add-usb.patch +++ b/patch/u-boot/u-boot-genio/0017-arm-dts-radxa-nio-12l-add-usb.patch @@ -1,16 +1,16 @@ -From d4e31702a74afc16510cde80c77921345519e736 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Stephen Chen Date: Wed, 7 Aug 2024 11:43:43 +0800 -Subject: [PATCH] arm: dts: radxa-nio-12l: add usb +Subject: arm: dts: radxa-nio-12l: add usb Signed-off-by: Stephen Chen (cherry picked from commit 573661076e285e1c1a68d2114a9e3250f938e38a) --- - arch/arm/dts/genio-1200-radxa-nio-12l.dtsi | 19 +++++++++++++++++++ + arch/arm/dts/genio-1200-radxa-nio-12l.dtsi | 19 ++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/dts/genio-1200-radxa-nio-12l.dtsi b/arch/arm/dts/genio-1200-radxa-nio-12l.dtsi -index d60566c0c3..89cd6da83e 100644 +index 111111111111..222222222222 100644 --- a/arch/arm/dts/genio-1200-radxa-nio-12l.dtsi +++ b/arch/arm/dts/genio-1200-radxa-nio-12l.dtsi @@ -209,6 +209,25 @@ @@ -39,3 +39,6 @@ index d60566c0c3..89cd6da83e 100644 &i2c0 { clock-frequency = <100000>; pinctrl-0 = <&i2c0_pins>; +-- +Armbian + diff --git a/patch/u-boot/u-boot-genio/0018-configs-add-radxa-nio-12l-defconfig.patch b/patch/u-boot/u-boot-genio/0018-configs-add-radxa-nio-12l-defconfig.patch index 788d5a90d4..7d6c2b7aea 100644 --- a/patch/u-boot/u-boot-genio/0018-configs-add-radxa-nio-12l-defconfig.patch +++ b/patch/u-boot/u-boot-genio/0018-configs-add-radxa-nio-12l-defconfig.patch @@ -1,22 +1,19 @@ -From 50ec55eaf40b6e7acb10cf453e2ffb71f2e4f005 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Stephen Chen Date: Sun, 4 Aug 2024 18:06:33 +0800 -Subject: [PATCH] configs: add radxa-nio-12l defconfig +Subject: configs: add radxa-nio-12l defconfig Signed-off-by: Stephen Chen (cherry picked from commit 9669f974b4b433604cf8fea8a9b63438be6e949d) --- - .../genio_1200_radxa_nio_12l_d16_defconfig | 119 ++++++++++++++++++ - configs/genio_1200_radxa_nio_12l_d4_defconfig | 119 ++++++++++++++++++ - configs/genio_1200_radxa_nio_12l_d8_defconfig | 119 ++++++++++++++++++ + configs/genio_1200_radxa_nio_12l_d16_defconfig | 119 ++++++++++ + configs/genio_1200_radxa_nio_12l_d4_defconfig | 119 ++++++++++ + configs/genio_1200_radxa_nio_12l_d8_defconfig | 119 ++++++++++ 3 files changed, 357 insertions(+) - create mode 100644 configs/genio_1200_radxa_nio_12l_d16_defconfig - create mode 100644 configs/genio_1200_radxa_nio_12l_d4_defconfig - create mode 100644 configs/genio_1200_radxa_nio_12l_d8_defconfig diff --git a/configs/genio_1200_radxa_nio_12l_d16_defconfig b/configs/genio_1200_radxa_nio_12l_d16_defconfig new file mode 100644 -index 0000000000..a97bc2ba8f +index 000000000000..111111111111 --- /dev/null +++ b/configs/genio_1200_radxa_nio_12l_d16_defconfig @@ -0,0 +1,119 @@ @@ -141,7 +138,7 @@ index 0000000000..a97bc2ba8f +CONFIG_LMB_MAX_REGIONS=16 diff --git a/configs/genio_1200_radxa_nio_12l_d4_defconfig b/configs/genio_1200_radxa_nio_12l_d4_defconfig new file mode 100644 -index 0000000000..80991dec54 +index 000000000000..111111111111 --- /dev/null +++ b/configs/genio_1200_radxa_nio_12l_d4_defconfig @@ -0,0 +1,119 @@ @@ -266,7 +263,7 @@ index 0000000000..80991dec54 +CONFIG_LMB_MAX_REGIONS=16 diff --git a/configs/genio_1200_radxa_nio_12l_d8_defconfig b/configs/genio_1200_radxa_nio_12l_d8_defconfig new file mode 100644 -index 0000000000..3971065f4e +index 000000000000..111111111111 --- /dev/null +++ b/configs/genio_1200_radxa_nio_12l_d8_defconfig @@ -0,0 +1,119 @@ @@ -389,3 +386,6 @@ index 0000000000..3971065f4e +CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y +CONFIG_EFI_CAPSULE_AUTHENTICATE=y +CONFIG_LMB_MAX_REGIONS=16 +-- +Armbian + diff --git a/patch/u-boot/u-boot-genio/0019-radxa-nio-12l-use-upstream-dts.patch b/patch/u-boot/u-boot-genio/0019-radxa-nio-12l-use-upstream-dts.patch index b8625d6115..e6546508a5 100644 --- a/patch/u-boot/u-boot-genio/0019-radxa-nio-12l-use-upstream-dts.patch +++ b/patch/u-boot/u-boot-genio/0019-radxa-nio-12l-use-upstream-dts.patch @@ -1,7 +1,7 @@ -From 9cc8ed305cef03eca37d724245cc8acc7193503b Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Julien Massot Date: Tue, 4 Feb 2025 15:36:19 +0100 -Subject: [PATCH] radxa-nio-12l: use upstream dts +Subject: radxa-nio-12l: use upstream dts --- configs/genio_1200_radxa_nio_12l_d16_defconfig | 2 +- @@ -10,7 +10,7 @@ Subject: [PATCH] radxa-nio-12l: use upstream dts 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/genio_1200_radxa_nio_12l_d16_defconfig b/configs/genio_1200_radxa_nio_12l_d16_defconfig -index a97bc2ba8f..108209f4d8 100644 +index 111111111111..222222222222 100644 --- a/configs/genio_1200_radxa_nio_12l_d16_defconfig +++ b/configs/genio_1200_radxa_nio_12l_d16_defconfig @@ -21,7 +21,7 @@ CONFIG_DISTRO_DEFAULTS=y @@ -23,7 +23,7 @@ index a97bc2ba8f..108209f4d8 100644 # CONFIG_CMD_CONSOLE is not set # CONFIG_CMD_BOOTD is not set diff --git a/configs/genio_1200_radxa_nio_12l_d4_defconfig b/configs/genio_1200_radxa_nio_12l_d4_defconfig -index 80991dec54..0b6366af79 100644 +index 111111111111..222222222222 100644 --- a/configs/genio_1200_radxa_nio_12l_d4_defconfig +++ b/configs/genio_1200_radxa_nio_12l_d4_defconfig @@ -21,7 +21,7 @@ CONFIG_DISTRO_DEFAULTS=y @@ -36,7 +36,7 @@ index 80991dec54..0b6366af79 100644 # CONFIG_CMD_CONSOLE is not set # CONFIG_CMD_BOOTD is not set diff --git a/configs/genio_1200_radxa_nio_12l_d8_defconfig b/configs/genio_1200_radxa_nio_12l_d8_defconfig -index 3971065f4e..6fe8e78cc4 100644 +index 111111111111..222222222222 100644 --- a/configs/genio_1200_radxa_nio_12l_d8_defconfig +++ b/configs/genio_1200_radxa_nio_12l_d8_defconfig @@ -21,7 +21,7 @@ CONFIG_DISTRO_DEFAULTS=y @@ -48,3 +48,6 @@ index 3971065f4e..6fe8e78cc4 100644 # CONFIG_DISPLAY_BOARDINFO is not set # CONFIG_CMD_CONSOLE is not set # CONFIG_CMD_BOOTD is not set +-- +Armbian + diff --git a/patch/u-boot/u-boot-genio/0020-configs-fix-radxa-nio-12l-defconfig.patch b/patch/u-boot/u-boot-genio/0020-configs-fix-radxa-nio-12l-defconfig.patch index 3db7d7d8ba..e2da5019c0 100644 --- a/patch/u-boot/u-boot-genio/0020-configs-fix-radxa-nio-12l-defconfig.patch +++ b/patch/u-boot/u-boot-genio/0020-configs-fix-radxa-nio-12l-defconfig.patch @@ -1,7 +1,7 @@ -From 72cd165c1226d1afd8a4a0b13661282d1606bbcc Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Julien Massot Date: Fri, 14 Feb 2025 10:05:24 +0100 -Subject: [PATCH] configs: fix radxa-nio-12l defconfig +Subject: configs: fix radxa-nio-12l defconfig Fix ethernet phy_startup failed by reusing the configuration from the genio_1200_evk_ufs_defconfig. @@ -11,13 +11,13 @@ devicetree. Signed-off-by: Julien Massot --- - configs/genio_1200_radxa_nio_12l_d16_defconfig | 13 ++++++++++++- - configs/genio_1200_radxa_nio_12l_d4_defconfig | 13 ++++++++++++- - configs/genio_1200_radxa_nio_12l_d8_defconfig | 13 ++++++++++++- + configs/genio_1200_radxa_nio_12l_d16_defconfig | 13 +++++++++- + configs/genio_1200_radxa_nio_12l_d4_defconfig | 13 +++++++++- + configs/genio_1200_radxa_nio_12l_d8_defconfig | 13 +++++++++- 3 files changed, 36 insertions(+), 3 deletions(-) diff --git a/configs/genio_1200_radxa_nio_12l_d16_defconfig b/configs/genio_1200_radxa_nio_12l_d16_defconfig -index 108209f4d8..9a38f9eed9 100644 +index 111111111111..222222222222 100644 --- a/configs/genio_1200_radxa_nio_12l_d16_defconfig +++ b/configs/genio_1200_radxa_nio_12l_d16_defconfig @@ -7,7 +7,7 @@ CONFIG_SYS_TEXT_BASE=0x4c000000 @@ -83,7 +83,7 @@ index 108209f4d8..9a38f9eed9 100644 CONFIG_RTC_EMULATION=y CONFIG_SCSI=y diff --git a/configs/genio_1200_radxa_nio_12l_d4_defconfig b/configs/genio_1200_radxa_nio_12l_d4_defconfig -index 0b6366af79..d91a5b6de9 100644 +index 111111111111..222222222222 100644 --- a/configs/genio_1200_radxa_nio_12l_d4_defconfig +++ b/configs/genio_1200_radxa_nio_12l_d4_defconfig @@ -7,7 +7,7 @@ CONFIG_SYS_TEXT_BASE=0x4c000000 @@ -149,7 +149,7 @@ index 0b6366af79..d91a5b6de9 100644 CONFIG_RTC_EMULATION=y CONFIG_SCSI=y diff --git a/configs/genio_1200_radxa_nio_12l_d8_defconfig b/configs/genio_1200_radxa_nio_12l_d8_defconfig -index 6fe8e78cc4..bc6537c208 100644 +index 111111111111..222222222222 100644 --- a/configs/genio_1200_radxa_nio_12l_d8_defconfig +++ b/configs/genio_1200_radxa_nio_12l_d8_defconfig @@ -7,7 +7,7 @@ CONFIG_SYS_TEXT_BASE=0x4c000000 @@ -214,3 +214,6 @@ index 6fe8e78cc4..bc6537c208 100644 CONFIG_DM_RTC=y CONFIG_RTC_EMULATION=y CONFIG_SCSI=y +-- +Armbian + diff --git a/patch/u-boot/u-boot-genio/0021-include-configs-mt8195-set-scsi-as-first-boot-target.patch b/patch/u-boot/u-boot-genio/0021-include-configs-mt8195-set-scsi-as-first-boot-target.patch index 2e4853463a..41ba9ee1cd 100644 --- a/patch/u-boot/u-boot-genio/0021-include-configs-mt8195-set-scsi-as-first-boot-target.patch +++ b/patch/u-boot/u-boot-genio/0021-include-configs-mt8195-set-scsi-as-first-boot-target.patch @@ -1,7 +1,7 @@ -From fa12e3d3cea143f9112ac0d667b2dbf6e6d1b6e2 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Julien Massot Date: Thu, 6 Mar 2025 08:10:24 +0100 -Subject: [PATCH] include: configs: mt8195: set scsi as first boot target +Subject: include: configs: mt8195: set scsi as first boot target If scsi is enabled then it's most likely our first boot target to check. @@ -20,7 +20,7 @@ Signed-off-by: Julien Massot 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/configs/mt8195.h b/include/configs/mt8195.h -index 6dc96b0ae9..de2277a818 100644 +index 111111111111..222222222222 100644 --- a/include/configs/mt8195.h +++ b/include/configs/mt8195.h @@ -121,9 +121,10 @@ @@ -37,3 +37,6 @@ index 6dc96b0ae9..de2277a818 100644 #if !defined(CONFIG_EXTRA_ENV_SETTINGS) #if !IS_ENABLED(CONFIG_SPI_FLASH) +-- +Armbian + diff --git a/patch/u-boot/u-boot-genio/0022-dts-radxa-nio-12l-enable-mmc1.patch b/patch/u-boot/u-boot-genio/0022-dts-radxa-nio-12l-enable-mmc1.patch index fdec44a512..8189445683 100644 --- a/patch/u-boot/u-boot-genio/0022-dts-radxa-nio-12l-enable-mmc1.patch +++ b/patch/u-boot/u-boot-genio/0022-dts-radxa-nio-12l-enable-mmc1.patch @@ -1,15 +1,15 @@ -From 10e9e7f7a744e97af7a2484318126ac271188cc6 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Julien Massot Date: Fri, 7 Mar 2025 10:05:08 +0100 -Subject: [PATCH] dts: radxa-nio-12l: enable mmc1 +Subject: dts: radxa-nio-12l: enable mmc1 Enable mmc1 so we have sdcard enabled in u-boot --- - arch/arm/dts/genio-1200-radxa-nio-12l.dtsi | 43 ++++++++++++++++++++++ + arch/arm/dts/genio-1200-radxa-nio-12l.dtsi | 43 ++++++++++ 1 file changed, 43 insertions(+) diff --git a/arch/arm/dts/genio-1200-radxa-nio-12l.dtsi b/arch/arm/dts/genio-1200-radxa-nio-12l.dtsi -index 89cd6da83e..c8e8b2d568 100644 +index 111111111111..222222222222 100644 --- a/arch/arm/dts/genio-1200-radxa-nio-12l.dtsi +++ b/arch/arm/dts/genio-1200-radxa-nio-12l.dtsi @@ -195,6 +195,32 @@ @@ -66,3 +66,6 @@ index 89cd6da83e..c8e8b2d568 100644 + vqmmc-supply = <®_3p3v>; + status = "okay"; +}; +-- +Armbian + diff --git a/patch/u-boot/u-boot-genio/0023-watchdog-mtk_wdt-Correct-maximum-timeout-from-15-to-.patch b/patch/u-boot/u-boot-genio/0023-watchdog-mtk_wdt-Correct-maximum-timeout-from-15-to-.patch index 47da8af557..38bb3e2964 100644 --- a/patch/u-boot/u-boot-genio/0023-watchdog-mtk_wdt-Correct-maximum-timeout-from-15-to-.patch +++ b/patch/u-boot/u-boot-genio/0023-watchdog-mtk_wdt-Correct-maximum-timeout-from-15-to-.patch @@ -1,11 +1,7 @@ -From 47097ec068da24bca699faa7e196df63dabe1f8b Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: "Nicolas F. R. A. Prado" Date: Wed, 14 May 2025 17:48:48 -0400 -Subject: [PATCH] watchdog: mtk_wdt: Correct maximum timeout from 15 to 31 - seconds -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit +Subject: watchdog: mtk_wdt: Correct maximum timeout from 15 to 31 seconds According to the MT8365 datasheet, the WDT_LENGTH field contains 11, not 10, bits and therefore the maximum count is 2047 which translates to @@ -15,13 +11,13 @@ accordingly to allow double of the current watchdog timeout range. The new maximum watchdog timeout has been test on the Genio 350 EVK board. -Signed-off-by: Nícolas F. R. A. Prado +Signed-off-by: Nicolas F. R. A. Prado --- drivers/watchdog/mtk_wdt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/watchdog/mtk_wdt.c b/drivers/watchdog/mtk_wdt.c -index b098b2e3cf..1f217f4c19 100644 +index 111111111111..222222222222 100644 --- a/drivers/watchdog/mtk_wdt.c +++ b/drivers/watchdog/mtk_wdt.c @@ -86,15 +86,15 @@ static void mtk_wdt_set_timeout(struct udevice *dev, u64 timeout_ms) @@ -43,3 +39,6 @@ index b098b2e3cf..1f217f4c19 100644 timeout_us = timeout_ms * 1000; timeout_cc = (15624 + timeout_us) / 15625; +-- +Armbian + diff --git a/patch/u-boot/u-boot-genio/0024-Add-support-for-Grinn-GenioSBC-700.patch b/patch/u-boot/u-boot-genio/0024-Add-support-for-Grinn-GenioSBC-700.patch index 3420f0993c..13005d429c 100644 --- a/patch/u-boot/u-boot-genio/0024-Add-support-for-Grinn-GenioSBC-700.patch +++ b/patch/u-boot/u-boot-genio/0024-Add-support-for-Grinn-GenioSBC-700.patch @@ -1,32 +1,25 @@ -From 1d85aced0a14e7781d1e0bffb3cdf5b674f6f484 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Mateusz Koza Date: Fri, 18 Jul 2025 14:49:59 +0200 -Subject: [PATCH] Add support for Grinn GenioSBC-700 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit +Subject: Add support for Grinn GenioSBC-700 Add device tree support for the Grinn GenioSBC-700 single-board computer. This SBC is based on the Grinn GenioSOM-700 module, which -integrates MediaTek’s Genio 700 SoC. +integrates MediaTek's Genio 700 SoC. Hardware specifications and documentation can be found at: - https://grinn-global.com/products/grinn-geniosom-700 - https://grinn-global.com/products/grinn-genioboard-edge-ai-sbc --- arch/arm/dts/Makefile | 3 +- - arch/arm/dts/grinn-genio-700-sbc.dts | 24 +++ - arch/arm/dts/grinn-genio-sbc.dtsi | 258 ++++++++++++++++++++++++++ - arch/arm/dts/grinn-genio-som.dtsi | 98 ++++++++++ - configs/grinn_genio_700_sbc_defconfig | 140 ++++++++++++++ + arch/arm/dts/grinn-genio-700-sbc.dts | 24 + + arch/arm/dts/grinn-genio-sbc.dtsi | 258 ++++++++++ + arch/arm/dts/grinn-genio-som.dtsi | 98 ++++ + configs/grinn_genio_700_sbc_defconfig | 140 +++++ 5 files changed, 522 insertions(+), 1 deletion(-) - create mode 100644 arch/arm/dts/grinn-genio-700-sbc.dts - create mode 100644 arch/arm/dts/grinn-genio-sbc.dtsi - create mode 100644 arch/arm/dts/grinn-genio-som.dtsi - create mode 100644 configs/grinn_genio_700_sbc_defconfig diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile -index 8b3e3f6a12..6971320635 100644 +index 111111111111..222222222222 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -1251,7 +1251,8 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \ @@ -41,7 +34,7 @@ index 8b3e3f6a12..6971320635 100644 dtb-$(CONFIG_XEN) += xenguest-arm64.dtb diff --git a/arch/arm/dts/grinn-genio-700-sbc.dts b/arch/arm/dts/grinn-genio-700-sbc.dts new file mode 100644 -index 0000000000..171b3435d9 +index 000000000000..111111111111 --- /dev/null +++ b/arch/arm/dts/grinn-genio-700-sbc.dts @@ -0,0 +1,24 @@ @@ -71,7 +64,7 @@ index 0000000000..171b3435d9 +}; diff --git a/arch/arm/dts/grinn-genio-sbc.dtsi b/arch/arm/dts/grinn-genio-sbc.dtsi new file mode 100644 -index 0000000000..e9fcf723ff +index 000000000000..111111111111 --- /dev/null +++ b/arch/arm/dts/grinn-genio-sbc.dtsi @@ -0,0 +1,258 @@ @@ -335,7 +328,7 @@ index 0000000000..e9fcf723ff +}; diff --git a/arch/arm/dts/grinn-genio-som.dtsi b/arch/arm/dts/grinn-genio-som.dtsi new file mode 100644 -index 0000000000..0030af894d +index 000000000000..111111111111 --- /dev/null +++ b/arch/arm/dts/grinn-genio-som.dtsi @@ -0,0 +1,98 @@ @@ -439,7 +432,7 @@ index 0000000000..0030af894d +}; diff --git a/configs/grinn_genio_700_sbc_defconfig b/configs/grinn_genio_700_sbc_defconfig new file mode 100644 -index 0000000000..5768897bfe +index 000000000000..111111111111 --- /dev/null +++ b/configs/grinn_genio_700_sbc_defconfig @@ -0,0 +1,140 @@ @@ -584,5 +577,5 @@ index 0000000000..5768897bfe +CONFIG_SYSINFO_SMBIOS=y +# CONFIG_SYSINFO_GPIO is not set -- -2.51.0 +Armbian diff --git a/patch/u-boot/u-boot-genio/0025-arm-dts-grinn-move-auxadc-node-into-board-device-tre.patch b/patch/u-boot/u-boot-genio/0025-arm-dts-grinn-move-auxadc-node-into-board-device-tre.patch index 6ea9448c7a..24150a1bf7 100644 --- a/patch/u-boot/u-boot-genio/0025-arm-dts-grinn-move-auxadc-node-into-board-device-tre.patch +++ b/patch/u-boot/u-boot-genio/0025-arm-dts-grinn-move-auxadc-node-into-board-device-tre.patch @@ -1,7 +1,7 @@ -From bdadc3a4c449ed50ba1e828b3f3947c05a9c5c6d Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Bartosz Bilas Date: Mon, 4 Aug 2025 15:50:50 +0200 -Subject: [PATCH] arm: dts: grinn: move auxadc node into board device tree +Subject: arm: dts: grinn: move auxadc node into board device tree For the upcoming support of boards based on the Genio 510, move the auxadc node out of the generic grinn-genio-sbc.dtsi file, @@ -12,7 +12,7 @@ as this peripheral is not available on Genio 510. 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/grinn-genio-700-sbc.dts b/arch/arm/dts/grinn-genio-700-sbc.dts -index 171b3435d9..879f18f553 100644 +index 111111111111..222222222222 100644 --- a/arch/arm/dts/grinn-genio-700-sbc.dts +++ b/arch/arm/dts/grinn-genio-700-sbc.dts @@ -22,3 +22,7 @@ @@ -24,7 +24,7 @@ index 171b3435d9..879f18f553 100644 + status = "okay"; +}; diff --git a/arch/arm/dts/grinn-genio-sbc.dtsi b/arch/arm/dts/grinn-genio-sbc.dtsi -index e9fcf723ff..ab3aeafef9 100644 +index 111111111111..222222222222 100644 --- a/arch/arm/dts/grinn-genio-sbc.dtsi +++ b/arch/arm/dts/grinn-genio-sbc.dtsi @@ -203,10 +203,6 @@ @@ -39,5 +39,5 @@ index e9fcf723ff..ab3aeafef9 100644 status = "okay"; }; -- -2.51.0 +Armbian diff --git a/patch/u-boot/u-boot-genio/0026-dts-configs-add-Grinn-GenioSBC-510.patch b/patch/u-boot/u-boot-genio/0026-dts-configs-add-Grinn-GenioSBC-510.patch index 73f5d7a40d..46545eaab4 100644 --- a/patch/u-boot/u-boot-genio/0026-dts-configs-add-Grinn-GenioSBC-510.patch +++ b/patch/u-boot/u-boot-genio/0026-dts-configs-add-Grinn-GenioSBC-510.patch @@ -1,14 +1,11 @@ -From 1edf550b6e89fa79cc627b05df197dfc2c4bf25c Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Bartosz Bilas Date: Mon, 4 Aug 2025 14:36:06 +0200 -Subject: [PATCH] dts: configs: add Grinn GenioSBC-510 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit +Subject: dts: configs: add Grinn GenioSBC-510 Introduce initial device tree support for the Grinn GenioSBC-510, a single-board computer based on the GenioSOM-510 module featuring -MediaTek’s Genio 510 SoC. +MediaTek's Genio 510 SoC. This patch complements the existing support for the GenioSBC-700, extending the Grinn board family with a variant built around the @@ -19,14 +16,12 @@ Hardware specifications and documentation are available at: - https://grinn-global.com/products/grinn-genioboard-edge-ai-sbc --- arch/arm/dts/Makefile | 3 +- - arch/arm/dts/grinn-genio-510-sbc.dts | 24 +++++ - configs/grinn_genio_510_sbc_defconfig | 137 ++++++++++++++++++++++++++ + arch/arm/dts/grinn-genio-510-sbc.dts | 24 ++ + configs/grinn_genio_510_sbc_defconfig | 137 ++++++++++ 3 files changed, 163 insertions(+), 1 deletion(-) - create mode 100644 arch/arm/dts/grinn-genio-510-sbc.dts - create mode 100644 configs/grinn_genio_510_sbc_defconfig diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile -index 6971320635..939d0d5e6f 100644 +index 111111111111..222222222222 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -1252,7 +1252,8 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \ @@ -41,7 +36,7 @@ index 6971320635..939d0d5e6f 100644 dtb-$(CONFIG_XEN) += xenguest-arm64.dtb diff --git a/arch/arm/dts/grinn-genio-510-sbc.dts b/arch/arm/dts/grinn-genio-510-sbc.dts new file mode 100644 -index 0000000000..e916692816 +index 000000000000..111111111111 --- /dev/null +++ b/arch/arm/dts/grinn-genio-510-sbc.dts @@ -0,0 +1,24 @@ @@ -71,7 +66,7 @@ index 0000000000..e916692816 +}; diff --git a/configs/grinn_genio_510_sbc_defconfig b/configs/grinn_genio_510_sbc_defconfig new file mode 100644 -index 0000000000..b75837aa70 +index 000000000000..111111111111 --- /dev/null +++ b/configs/grinn_genio_510_sbc_defconfig @@ -0,0 +1,137 @@ @@ -213,5 +208,5 @@ index 0000000000..b75837aa70 +CONFIG_SYSINFO_SMBIOS=y +# CONFIG_SYSINFO_GPIO is not set -- -2.51.0 +Armbian diff --git a/patch/u-boot/u-boot-genio/0027-arch-mediatek-adjust-memory-size-at-runtime.patch b/patch/u-boot/u-boot-genio/0027-arch-mediatek-adjust-memory-size-at-runtime.patch index f4be40dfb5..afb49f86cd 100644 --- a/patch/u-boot/u-boot-genio/0027-arch-mediatek-adjust-memory-size-at-runtime.patch +++ b/patch/u-boot/u-boot-genio/0027-arch-mediatek-adjust-memory-size-at-runtime.patch @@ -1,18 +1,18 @@ -From 089973f48851ba6a36cbb2a31a6ba5e0262a967a Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Bartosz Bilas Date: Thu, 2 Oct 2025 12:29:34 +0200 -Subject: [PATCH] arch: mediatek: adjust memory size at runtime +Subject: arch: mediatek: adjust memory size at runtime Use TFA + libdram to obtain and set the actual memory size. --- - arch/arm/mach-mediatek/mt8188/init.c | 19 ++++++++++++------- - arch/arm/mach-mediatek/mt8370/init.c | 19 ++++++++++++------- - include/configs/mt8188.h | 3 +++ - include/configs/mt8370.h | 3 +++ + arch/arm/mach-mediatek/mt8188/init.c | 19 ++++++---- + arch/arm/mach-mediatek/mt8370/init.c | 19 ++++++---- + include/configs/mt8188.h | 3 ++ + include/configs/mt8370.h | 3 ++ 4 files changed, 30 insertions(+), 14 deletions(-) diff --git a/arch/arm/mach-mediatek/mt8188/init.c b/arch/arm/mach-mediatek/mt8188/init.c -index 7d357f100a..c544f05b20 100644 +index 111111111111..222222222222 100644 --- a/arch/arm/mach-mediatek/mt8188/init.c +++ b/arch/arm/mach-mediatek/mt8188/init.c @@ -21,11 +21,19 @@ int dram_init(void) @@ -50,7 +50,7 @@ index 7d357f100a..c544f05b20 100644 }, { .virt = 0x00000000UL, diff --git a/arch/arm/mach-mediatek/mt8370/init.c b/arch/arm/mach-mediatek/mt8370/init.c -index 8f720c25ce..b12201b54a 100644 +index 111111111111..222222222222 100644 --- a/arch/arm/mach-mediatek/mt8370/init.c +++ b/arch/arm/mach-mediatek/mt8370/init.c @@ -21,11 +21,19 @@ int dram_init(void) @@ -88,7 +88,7 @@ index 8f720c25ce..b12201b54a 100644 }, { .virt = 0x00000000UL, diff --git a/include/configs/mt8188.h b/include/configs/mt8188.h -index 8b041bc9a9..3eae2ca1b6 100644 +index 111111111111..222222222222 100644 --- a/include/configs/mt8188.h +++ b/include/configs/mt8188.h @@ -122,4 +122,7 @@ @@ -100,7 +100,7 @@ index 8b041bc9a9..3eae2ca1b6 100644 + #endif diff --git a/include/configs/mt8370.h b/include/configs/mt8370.h -index 06ccd71bb6..ea146286ec 100644 +index 111111111111..222222222222 100644 --- a/include/configs/mt8370.h +++ b/include/configs/mt8370.h @@ -113,4 +113,7 @@ @@ -111,3 +111,6 @@ index 06ccd71bb6..ea146286ec 100644 +#define CONFIG_SYS_SDRAM_BASE 0x40000000 + #endif +-- +Armbian + diff --git a/patch/u-boot/u-boot-genio/0028-board-configs-enable-fixup-fdt-memory-at-runtime-for.patch b/patch/u-boot/u-boot-genio/0028-board-configs-enable-fixup-fdt-memory-at-runtime-for.patch index 7fa5345e8c..d5701dbd90 100644 --- a/patch/u-boot/u-boot-genio/0028-board-configs-enable-fixup-fdt-memory-at-runtime-for.patch +++ b/patch/u-boot/u-boot-genio/0028-board-configs-enable-fixup-fdt-memory-at-runtime-for.patch @@ -1,8 +1,7 @@ -From b78098e402e4fbadf79c7b3c92bec29bad35e580 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Bartosz Bilas Date: Thu, 2 Oct 2025 12:55:07 +0200 -Subject: [PATCH] board: configs: enable fixup fdt memory at runtime for GRINN - boards +Subject: board: configs: enable fixup fdt memory at runtime for GRINN boards Overwrite the memory size in the devicetree that is passed to the kernel with the actual size detected. @@ -14,7 +13,7 @@ passed to the kernel with the actual size detected. 4 files changed, 22 insertions(+), 2 deletions(-) diff --git a/board/mediatek/genio-510-evk/mt8370_evk.c b/board/mediatek/genio-510-evk/mt8370_evk.c -index 23b38389e7..b8520718b9 100644 +index 111111111111..222222222222 100644 --- a/board/mediatek/genio-510-evk/mt8370_evk.c +++ b/board/mediatek/genio-510-evk/mt8370_evk.c @@ -64,6 +64,15 @@ static bool board_is_genio_510_evk_qspi(void) @@ -34,7 +33,7 @@ index 23b38389e7..b8520718b9 100644 { fw_images[0].image_index = MT8370_FIT_IMAGE; diff --git a/board/mediatek/genio-700-evk/mt8390_evk.c b/board/mediatek/genio-700-evk/mt8390_evk.c -index aca8ba92ca..cbffedfc3f 100644 +index 111111111111..222222222222 100644 --- a/board/mediatek/genio-700-evk/mt8390_evk.c +++ b/board/mediatek/genio-700-evk/mt8390_evk.c @@ -62,6 +62,15 @@ static bool board_is_genio_700_evk(void) @@ -54,7 +53,7 @@ index aca8ba92ca..cbffedfc3f 100644 { return CONFIG_IS_ENABLED(TARGET_MT8188) && diff --git a/configs/grinn_genio_510_sbc_defconfig b/configs/grinn_genio_510_sbc_defconfig -index b75837aa70..9878c6529f 100644 +index 111111111111..222222222222 100644 --- a/configs/grinn_genio_510_sbc_defconfig +++ b/configs/grinn_genio_510_sbc_defconfig @@ -21,7 +21,8 @@ CONFIG_DISTRO_DEFAULTS=y @@ -68,7 +67,7 @@ index b75837aa70..9878c6529f 100644 # CONFIG_DISPLAY_BOARDINFO is not set # CONFIG_CMD_CONSOLE is not set diff --git a/configs/grinn_genio_700_sbc_defconfig b/configs/grinn_genio_700_sbc_defconfig -index 5768897bfe..fcbd4c5da0 100644 +index 111111111111..222222222222 100644 --- a/configs/grinn_genio_700_sbc_defconfig +++ b/configs/grinn_genio_700_sbc_defconfig @@ -21,7 +21,8 @@ CONFIG_DISTRO_DEFAULTS=y @@ -82,5 +81,5 @@ index 5768897bfe..fcbd4c5da0 100644 # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_BOARD_LATE_INIT=y -- -2.51.0 +Armbian