mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-17 14:21:12 +01:00
uboot-sunxi: bump to 2025.10
Compile-tested: all targets Runtime-tested: - Linksprite pcDuino v2 (A10) - Banana Pro (A20) - Banana Pi M2 Berry (V40) - Banana Pi P2 Zero (H2+) - Pine64+ (A64) Patches refreshed as required. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
This commit is contained in:
parent
9f5558fa71
commit
e40d416c54
6 changed files with 6 additions and 126 deletions
|
|
@ -9,8 +9,8 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
include $(INCLUDE_DIR)/kernel.mk
|
||||
|
||||
PKG_VERSION:=2025.01
|
||||
PKG_HASH:=cdef7d507c93f1bbd9f015ea9bc21fa074268481405501945abc6f854d5b686f
|
||||
PKG_VERSION:=2025.10
|
||||
PKG_HASH:=b4f032848e56cc8f213ad59f9132c084dbbb632bc29176d024e58220e0efdf4a
|
||||
|
||||
PKG_MAINTAINER:=Zoltan HERPAI <wigyori@uid0.hu>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
+++ b/configs/OLIMEX_A13_SOM_defconfig
|
||||
@@ -0,0 +1,17 @@
|
||||
+CONFIG_SPL=y
|
||||
+CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-olinuxino"
|
||||
+CONFIG_DEFAULT_DEVICE_TREE="allwinner/sun5i-a13-olinuxino"
|
||||
+CONFIG_ARM=y
|
||||
+CONFIG_ARCH_SUNXI=y
|
||||
+CONFIG_MACH_SUN5I=y
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
--- a/configs/A20-OLinuXino-Lime2_defconfig
|
||||
+++ b/configs/A20-OLinuXino-Lime2_defconfig
|
||||
@@ -25,6 +25,7 @@ CONFIG_ETH_DESIGNWARE=y
|
||||
@@ -24,6 +24,7 @@ CONFIG_ETH_DESIGNWARE=y
|
||||
CONFIG_RGMII=y
|
||||
CONFIG_MII=y
|
||||
CONFIG_SUN7I_GMAC=y
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ Cc: Simon Glass <sjg@chromium.org>
|
|||
|
||||
--- a/tools/fit_image.c
|
||||
+++ b/tools/fit_image.c
|
||||
@@ -774,9 +774,14 @@ static int fit_handle_file(struct image_
|
||||
@@ -881,9 +881,14 @@ static int fit_handle_file(struct image_
|
||||
}
|
||||
*cmd = '\0';
|
||||
} else if (params->datafile) {
|
||||
|
|
|
|||
|
|
@ -1,120 +0,0 @@
|
|||
From 08d194d881e10e09cba7551da8079734d89ed16d Mon Sep 17 00:00:00 2001
|
||||
From: Icenowy Zheng <uwu@icenowy.me>
|
||||
Date: Thu, 16 Jun 2022 00:28:41 +0800
|
||||
Subject: [PATCH 1/2] add USB support and PopStick support
|
||||
|
||||
Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
|
||||
---
|
||||
arch/arm/dts/Makefile | 3 +-
|
||||
arch/arm/dts/suniv-f1c100s-licheepi-nano.dts | 16 ++++
|
||||
arch/arm/dts/suniv-f1c100s.dtsi | 26 ++++++
|
||||
arch/arm/dts/suniv-f1c200s-popstick.dts | 89 ++++++++++++++++++++
|
||||
drivers/phy/allwinner/phy-sun4i-usb.c | 14 +++
|
||||
drivers/usb/musb-new/sunxi.c | 6 ++
|
||||
6 files changed, 153 insertions(+), 1 deletion(-)
|
||||
create mode 100644 arch/arm/dts/suniv-f1c200s-popstick.dts
|
||||
|
||||
--- a/arch/arm/dts/Makefile
|
||||
+++ b/arch/arm/dts/Makefile
|
||||
@@ -647,7 +647,8 @@ dtb-$(CONFIG_STM32H7) += stm32h743i-disc
|
||||
stm32h750i-art-pi.dtb
|
||||
|
||||
dtb-$(CONFIG_MACH_SUNIV) += \
|
||||
- suniv-f1c100s-licheepi-nano.dtb
|
||||
+ suniv-f1c100s-licheepi-nano.dtb \
|
||||
+ suniv-f1c200s-popstick.dtb
|
||||
dtb-$(CONFIG_MACH_SUN4I) += \
|
||||
sun4i-a10-a1000.dtb \
|
||||
sun4i-a10-ba10-tvbox.dtb \
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/dts/suniv-f1c200s-popstick.dts
|
||||
@@ -0,0 +1,89 @@
|
||||
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
+/*
|
||||
+ * Copyright 2022 Icenowy Zheng <uwu@icenowy.me>
|
||||
+ */
|
||||
+
|
||||
+/dts-v1/;
|
||||
+#include "suniv-f1c100s.dtsi"
|
||||
+
|
||||
+#include <dt-bindings/gpio/gpio.h>
|
||||
+
|
||||
+/ {
|
||||
+ model = "Popcorn Computer PopStick";
|
||||
+ compatible = "sourceparts,popstick", "allwinner,suniv-f1c200s",
|
||||
+ "allwinner,suniv-f1c100s";
|
||||
+
|
||||
+ aliases {
|
||||
+ mmc0 = &mmc0;
|
||||
+ serial0 = &uart0;
|
||||
+ spi0 = &spi0;
|
||||
+ };
|
||||
+
|
||||
+ chosen {
|
||||
+ stdout-path = "serial0:115200n8";
|
||||
+ };
|
||||
+
|
||||
+ reg_vcc3v3: vcc3v3 {
|
||||
+ compatible = "regulator-fixed";
|
||||
+ regulator-name = "vcc3v3";
|
||||
+ regulator-min-microvolt = <3300000>;
|
||||
+ regulator-max-microvolt = <3300000>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&mmc0 {
|
||||
+ broken-cd;
|
||||
+ bus-width = <4>;
|
||||
+ disable-wp;
|
||||
+ status = "okay";
|
||||
+ vmmc-supply = <®_vcc3v3>;
|
||||
+};
|
||||
+
|
||||
+&spi0 {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&spi0_pc_pins>;
|
||||
+ status = "okay";
|
||||
+
|
||||
+ flash@0 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ compatible = "spi-nand";
|
||||
+ reg = <0>;
|
||||
+ spi-max-frequency = <1000000>;
|
||||
+
|
||||
+ partitions {
|
||||
+ compatible = "fixed-partitions";
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+
|
||||
+ partition@0 {
|
||||
+ label = "u-boot-with-spl";
|
||||
+ reg = <0x0 0x100000>;
|
||||
+ };
|
||||
+
|
||||
+ ubi@100000 {
|
||||
+ label = "ubi";
|
||||
+ reg = <0x100000 0x7f00000>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&otg_sram {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&uart0 {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&uart0_pe_pins>;
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&usb_otg {
|
||||
+ dr_mode = "peripheral";
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&usbphy {
|
||||
+ status = "okay";
|
||||
+};
|
||||
|
|
@ -17,7 +17,7 @@ Subject: [PATCH 2/2] HACK for UBI env and add defconfig
|
|||
+CONFIG_SPL_SKIP_LOWLEVEL_INIT_ONLY=y
|
||||
+CONFIG_ARCH_SUNXI=y
|
||||
+CONFIG_ENV_SIZE=0x1f000
|
||||
+CONFIG_DEFAULT_DEVICE_TREE="suniv-f1c200s-popstick"
|
||||
+CONFIG_DEFAULT_DEVICE_TREE="allwinner/suniv-f1c200s-popstick-v1.1"
|
||||
+CONFIG_SPL=y
|
||||
+CONFIG_MACH_SUNIV=y
|
||||
+CONFIG_DRAM_CLK=156
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue