Skip to content

Commit e9e142d

Browse files
committed
update to u-boot 2023.10
Signed-off-by: John Clark <[email protected]>
1 parent 2f4fa2c commit e9e142d

10 files changed

+50
-927
lines changed

uboot/make_uboot.sh

+31-123
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set -e
77
# 6: invalid config
88

99
main() {
10-
local utag='v2023.07.02'
10+
local utag='v2023.10'
1111
local atf_file='../rkbin/rk3568_bl31_v1.28.elf'
1212
local tpl_file='../rkbin/rk3568_ddr_1560MHz_v1.15.bin'
1313

@@ -87,137 +87,45 @@ main() {
8787
}
8888

8989
cherry_pick() {
90-
# regulator: implement basic reference counter
91-
# https://github.com/u-boot/u-boot/commit/4fcba5d556b4224ad65a249801e4c9594d1054e8
92-
git -C u-boot cherry-pick 4fcba5d556b4224ad65a249801e4c9594d1054e8
90+
# pci: pcie_dw_rockchip: Configure number of lanes and link width speed
91+
# https://github.com/u-boot/u-boot/commit/9af0c7732bf1df29138bb63712dc3fcbc6d821af
92+
git -C u-boot cherry-pick 9af0c7732bf1df29138bb63712dc3fcbc6d821af
9393

94-
# regulator: rename dev_pdata to plat
95-
# https://github.com/u-boot/u-boot/commit/29fca9f23a3b730cbf91c18617e25d9d8e3a26b7
96-
git -C u-boot cherry-pick 29fca9f23a3b730cbf91c18617e25d9d8e3a26b7
94+
# phy: rockchip: snps-pcie3: Refactor to use clk_bulk API
95+
# https://github.com/u-boot/u-boot/commit/3b39592e8e245fc5c7b0a003ac65672ce9cfaf0f
96+
git -C u-boot cherry-pick 3b39592e8e245fc5c7b0a003ac65672ce9cfaf0f
9797

98-
# dm: core: of_access: fix return value in of_property_match_string
99-
# https://github.com/u-boot/u-boot/commit/15a2865515fdd77d1edbc10e275b7b5a4914aa79
100-
git -C u-boot cherry-pick 15a2865515fdd77d1edbc10e275b7b5a4914aa79
98+
# phy: rockchip: snps-pcie3: Refactor to use a phy_init ops
99+
# https://github.com/u-boot/u-boot/commit/6cacdf842db5e62e9c26d015eddadd2f2410a6de
100+
git -C u-boot cherry-pick 6cacdf842db5e62e9c26d015eddadd2f2410a6de
101101

102-
# rockchip: rk3568: Add support for FriendlyARM NanoPi R5S
103-
# https://github.com/u-boot/u-boot/commit/0ef326b5e92ee7c0f3cd27385510eb5c211b10fb
104-
git -C u-boot cherry-pick 0ef326b5e92ee7c0f3cd27385510eb5c211b10fb
102+
# phy: rockchip: snps-pcie3: Add bifurcation support for RK3568
103+
# https://github.com/u-boot/u-boot/commit/1ebebfcc25bc8963cbdc6e35504160e5b745cabd
104+
git -C u-boot cherry-pick 1ebebfcc25bc8963cbdc6e35504160e5b745cabd
105105

106-
# rockchip: rk3568: Add support for FriendlyARM NanoPi R5C
107-
# https://github.com/u-boot/u-boot/commit/6a73211d4bb12d62ce82b33cee7d75d215a3d452
108-
git -C u-boot cherry-pick 6a73211d4bb12d62ce82b33cee7d75d215a3d452
106+
# phy: rockchip: naneng-combphy: Use signal from comb PHY on RK3588
107+
# https://github.com/u-boot/u-boot/commit/b37260bca1aa562c6c99527d997c768a12da017b
108+
git -C u-boot cherry-pick b37260bca1aa562c6c99527d997c768a12da017b
109109

110-
# rockchip: rk3568: Fix alloc space exhausted in SPL
111-
# https://github.com/u-boot/u-boot/commit/52472504e9c48cc1b34e0942c0075cd111ea85f0
112-
git -C u-boot cherry-pick 52472504e9c48cc1b34e0942c0075cd111ea85f0
110+
# rockchip: rk3568-nanopi-r5: Update defconfig for NanoPi R5C and R5S
111+
# https://github.com/u-boot/u-boot/commit/5b155997d445f770e9a2c0d4a20e4eb13eedfede
112+
git -C u-boot cherry-pick 5b155997d445f770e9a2c0d4a20e4eb13eedfede
113113

114-
# core: read: add dev_read_addr_size_index_ptr function
115-
# https://github.com/u-boot/u-boot/commit/5e030632d49367944879e17a6d73828be22edd55
116-
git -C u-boot cherry-pick 5e030632d49367944879e17a6d73828be22edd55
114+
# rockchip: rk3568-nanopi-r5: Enable PCIe on NanoPi R5C and R5S
115+
# https://github.com/u-boot/u-boot/commit/a9e9445ea2bb010444621e563a79bc33fe064f9c
116+
git -C u-boot cherry-pick a9e9445ea2bb010444621e563a79bc33fe064f9c
117117

118-
# pci: pcie_dw_rockchip: Get config region from reg prop
119-
# https://github.com/u-boot/u-boot/commit/bed7b2f00b1346f712f849d53c72fa8642601115
120-
git -C u-boot cherry-pick bed7b2f00b1346f712f849d53c72fa8642601115
118+
# power: regulator: Only run autoset once for each regulator
119+
# https://github.com/u-boot/u-boot/commit/d99fb64a98af3bebf6b0c134291c4fb89e177aa2
120+
git -C u-boot cherry-pick d99fb64a98af3bebf6b0c134291c4fb89e177aa2
121121

122-
# pci: pcie_dw_rockchip: Use regulator_set_enable_if_allowed
123-
# https://github.com/u-boot/u-boot/commit/8b001ee59a9d4a6246098c8bc5bb894a752e7c0b
124-
git -C u-boot cherry-pick 8b001ee59a9d4a6246098c8bc5bb894a752e7c0b
122+
# regulator: rk8xx: Return correct voltage for buck converters
123+
# https://github.com/u-boot/u-boot/commit/04c38c6c4936f353de36be60655f402922292a37
124+
git -C u-boot cherry-pick 04c38c6c4936f353de36be60655f402922292a37
125125

126-
# pci: pcie_dw_rockchip: Speed up link probe
127-
# https://github.com/u-boot/u-boot/commit/7ce186ada2ce1ece344dacc20244fb91866e435b
128-
git -C u-boot cherry-pick 7ce186ada2ce1ece344dacc20244fb91866e435b
129-
130-
# pci: pcie_dw_rockchip: Disable unused BARs of the root complex
131-
# https://github.com/u-boot/u-boot/commit/bc6b94b5788677c3633e0331203578ffa706ff4b
132-
git -C u-boot cherry-pick bc6b94b5788677c3633e0331203578ffa706ff4b
133-
134-
# regulator: fixed: Add support for gpios prop
135-
# https://github.com/u-boot/u-boot/commit/f7b8a84a29833b6e6ddac67920d688330b299fa8
136-
git -C u-boot cherry-pick f7b8a84a29833b6e6ddac67920d688330b299fa8
137-
138-
# rockchip: clk: clk_rk3568: Add CLK_PCIEPHY2_REF support
139-
# https://github.com/u-boot/u-boot/commit/583a82d5e2702f2c8aadcd75d416d6e45dd5188a
140-
git -C u-boot cherry-pick 583a82d5e2702f2c8aadcd75d416d6e45dd5188a
141-
142-
# rockchip: rk3568-rock-3a: Enable PCIe and NVMe support
143-
# https://github.com/u-boot/u-boot/commit/a76aa6ffa6cd25eed282147f6e31b9c09272f930
144-
git -C u-boot cherry-pick a76aa6ffa6cd25eed282147f6e31b9c09272f930
145-
146-
# rockchip: rk356x: Update PCIe config, IO and memory regions
147-
# https://github.com/u-boot/u-boot/commit/062b712999869bdd7d6283ab8eed50e5999ac88a
148-
git -C u-boot cherry-pick 062b712999869bdd7d6283ab8eed50e5999ac88a
149-
150-
# ata: dwc_ahci: Fix support for other platforms
151-
# https://github.com/u-boot/u-boot/commit/7af6616c961d213b4bf2cc88003cbd868ea11ffa
152-
git -C u-boot cherry-pick 7af6616c961d213b4bf2cc88003cbd868ea11ffa
153-
154-
# cmd: ini: Fix build warning
155-
# https://github.com/u-boot/u-boot/commit/8c1bb04b5699ce74ad727d4513e1a40a58c9c628
156-
git -C u-boot cherry-pick 8c1bb04b5699ce74ad727d4513e1a40a58c9c628
157-
158-
# board: rockchip: Add Hardkernel ODROID-M1
159-
# https://github.com/u-boot/u-boot/commit/94da929b933668c4b9ece7d56a2a2bb5543198c9
160-
git -C u-boot cherry-pick 94da929b933668c4b9ece7d56a2a2bb5543198c9
161-
162-
# Revert "arm: dts: rockchip: radxa-cm3-io, rock-3a: enable regulators for usb"
163-
# https://github.com/u-boot/u-boot/commit/bec51f3fb316b5a5ccedd7deb2e58ae6d7443cfa
164-
git -C u-boot cherry-pick bec51f3fb316b5a5ccedd7deb2e58ae6d7443cfa
165-
166-
# usb: dwc3-generic: Return early when there is no child node
167-
# https://github.com/u-boot/u-boot/commit/4412a2bf0b674d7438821531a0a19bbcd4b80eda
168-
git -C u-boot cherry-pick 4412a2bf0b674d7438821531a0a19bbcd4b80eda
169-
170-
# usb: dwc3-generic: Relax unsupported dr_mode check
171-
# https://github.com/u-boot/u-boot/commit/6913c30516022f86104c9fbe315499e43eee4ed6
172-
git -C u-boot cherry-pick 6913c30516022f86104c9fbe315499e43eee4ed6
173-
174-
# usb: dwc3-generic: Add rk3568 support
175-
# https://github.com/u-boot/u-boot/commit/caaeac88466f4152bd126e2342765a4b740955ae
176-
git -C u-boot cherry-pick caaeac88466f4152bd126e2342765a4b740955ae
177-
178-
# rockchip: rk3568: Use dwc3-generic driver
179-
# https://github.com/u-boot/u-boot/commit/f8a2d1c108da37fd5202d717c3e428e3dfc12f01
180-
git -C u-boot cherry-pick f8a2d1c108da37fd5202d717c3e428e3dfc12f01
181-
182-
# rockchip: rk356x: Sync dtsi from linux v6.4
183-
# https://github.com/u-boot/u-boot/commit/0e3480c1f72f18f80690f8012404eacb67a61151
184-
git -C u-boot cherry-pick 0e3480c1f72f18f80690f8012404eacb67a61151
185-
186-
# rockchip: rk356x-u-boot: Add bootph-all to common pinctrl nodes
187-
# https://github.com/u-boot/u-boot/commit/a3ef37a08df3c6aa463ad794e1f788d8a24b129c
188-
git -C u-boot cherry-pick a3ef37a08df3c6aa463ad794e1f788d8a24b129c
189-
190-
# rockchip: rk356x-u-boot: Use relaxed u-boot,spl-boot-order
191-
# https://github.com/u-boot/u-boot/commit/f40dcc7d1e74ff5aa5f709918e26cb31277dcea0
192-
git -C u-boot cherry-pick f40dcc7d1e74ff5aa5f709918e26cb31277dcea0
193-
194-
# rockchip: rk3568-rock-3a: Fix SPI Flash alias
195-
# https://github.com/u-boot/u-boot/commit/52f6b96d27c8aabca697ac395e86a3481f1c53b7
196-
git -C u-boot cherry-pick 52f6b96d27c8aabca697ac395e86a3481f1c53b7
197-
198-
# power: regulator: rk8xx: Add 500us delay after LDO regulator is enabled
199-
# https://github.com/u-boot/u-boot/commit/fea7a29cc8d86a0bbcb4bcf740d47924839b1f81
200-
git -C u-boot cherry-pick fea7a29cc8d86a0bbcb4bcf740d47924839b1f81
201-
202-
# bootflow: Export setup_fs()
203-
# https://github.com/u-boot/u-boot/commit/0c0c82b5177e9afb3a248da4d004f3dc48975c91
204-
git -C u-boot cherry-pick 0c0c82b5177e9afb3a248da4d004f3dc48975c91
205-
206-
# bootstd: Use a function to detect network in EFI bootmeth
207-
# https://github.com/u-boot/u-boot/commit/146242cc998ed6e002831d4ff409189353e1960a
208-
git -C u-boot cherry-pick 146242cc998ed6e002831d4ff409189353e1960a
209-
210-
# bootstd: Avoid allocating memory for the EFI file
211-
# https://github.com/u-boot/u-boot/commit/6a8c2f9781cede2a7cb2b95ee6310cd53b1c20e2
212-
git -C u-boot cherry-pick 6a8c2f9781cede2a7cb2b95ee6310cd53b1c20e2
213-
214-
# bootstd: Init the size before reading the devicetree
215-
# https://github.com/u-boot/u-boot/commit/2984d21a28f812c9c1fd2243cc72796f69a61585
216-
git -C u-boot cherry-pick 2984d21a28f812c9c1fd2243cc72796f69a61585
217-
218-
# bootstd: Init the size before reading extlinux file
219-
# https://github.com/u-boot/u-boot/commit/11158aef8939bb6e54361e4dae3809a9cbe78cff
220-
git -C u-boot cherry-pick 11158aef8939bb6e54361e4dae3809a9cbe78cff
126+
# regulator: rk8xx: Return correct voltage for switchout converters
127+
# https://github.com/u-boot/u-boot/commit/bb657ffdd688dc08073734a402914ec0a8492d53
128+
git -C u-boot cherry-pick bb657ffdd688dc08073734a402914ec0a8492d53
221129
}
222130

223131
cp_to_debian() {
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
From c79b03d7448b370fe2eb6a9c5fb67bc9505de728 Mon Sep 17 00:00:00 2001
1+
From 1ab1a698b18bb0da8ba71612db6497f418a55ce1 Mon Sep 17 00:00:00 2001
22
From: John Clark <[email protected]>
33
Date: Tue, 7 Mar 2023 01:47:26 +0000
4-
Subject: [PATCH 1/9] ignore build artifacts
4+
Subject: [PATCH] ignore build artifacts
55

66
Signed-off-by: John Clark <[email protected]>
77
---
8-
.gitignore | 3 ++-
9-
1 file changed, 2 insertions(+), 1 deletion(-)
8+
.gitignore | 8 ++++++--
9+
1 file changed, 6 insertions(+), 2 deletions(-)
1010

1111
diff --git a/.gitignore b/.gitignore
12-
index 3a4d056edf..27b515736b 100644
12+
index 002f95de4f..47f06f14c7 100644
1313
--- a/.gitignore
1414
+++ b/.gitignore
1515
@@ -35,7 +35,7 @@
@@ -21,14 +21,26 @@ index 3a4d056edf..27b515736b 100644
2121

2222
#
2323
# Top-level generic files
24-
@@ -44,6 +44,7 @@ fit-dtb.blob*
24+
@@ -44,6 +44,9 @@ fit-dtb.blob*
2525
/MLO*
2626
/SPL*
2727
/System.map
28+
+/mkimage-in-simple-bin*
2829
+/simple-bin*
30+
+/tools/generated
2931
/u-boot*
3032
/boards.cfg
3133
/*.log
34+
@@ -65,7 +68,8 @@ fit-dtb.blob*
35+
#
36+
# Generated include files
37+
#
38+
-/include/config/
39+
+include/autoconf.mk*
40+
+/include/config*
41+
/include/generated/
42+
43+
# stgit generated dirs
3244
--
33-
2.40.1
45+
2.42.0
3446

uboot/patches/0002-fixup-rockchip-rk3568-Add-support-for-FriendlyARM-Na.patch

-103
This file was deleted.

0 commit comments

Comments
 (0)