Skip to content

Commit 2c463fa

Browse files
committed
uboot-rockchip: update to version 2024.10
Fixes: #12572
1 parent d1ef46c commit 2c463fa

32 files changed

Lines changed: 808 additions & 2042 deletions

File tree

package/boot/uboot-rockchip/Makefile

Lines changed: 85 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
include $(TOPDIR)/rules.mk
66
include $(INCLUDE_DIR)/kernel.mk
77

8-
PKG_VERSION:=2023.07
9-
PKG_RELEASE:=$(AUTORELEASE)
8+
PKG_VERSION:=2024.10
9+
PKG_RELEASE:=1
1010

11-
PKG_HASH:=12e921b466ae731cdbc355e6832b7f22bc90b01aeceef9886f98aaba7b394300
11+
PKG_HASH:=b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0
1212

1313
PKG_MAINTAINER:=Tobias Maedel <openwrt@tbspace.de>
1414

@@ -201,50 +201,61 @@ define U-Boot/rk3568/Default
201201
TPL:=rk3568_ddr_1560MHz_v1.21.bin
202202
endef
203203

204-
define U-Boot/lyt-t68m-rk3568
204+
define U-Boot/bpi-r2-pro-rk3568
205205
$(U-Boot/rk3568/Default)
206-
NAME:=LYT T68M
207-
BUILD_DEVICES:= lyt_t68m
206+
NAME:=Bananapi-R2 Pro
207+
BUILD_DEVICES:= \
208+
sinovoip_bpi-r2-pro
208209
endef
209210

210-
define U-Boot/mrkaio-m68s-rk3568
211+
define U-Boot/fastrhino-r66s-rk3568
211212
$(U-Boot/rk3568/Default)
212-
NAME:=Mrkaio M68S
213+
NAME:=FastRhino R66S
213214
BUILD_DEVICES:= \
214-
ezpro_mrkaio-m68s \
215-
ezpro_mrkaio-m68s-plus
215+
fastrhino_r66s
216216
endef
217217

218-
define U-Boot/nanopi-r5s-rk3568
218+
define U-Boot/fastrhino-r68s-rk3568
219219
$(U-Boot/rk3568/Default)
220-
NAME:=NanoPi R5S
220+
NAME:=FastRhino R68S
221221
BUILD_DEVICES:= \
222-
friendlyarm_nanopi-r5c \
223-
friendlyarm_nanopi-r5s
222+
fastrhino_r68s
224223
endef
225224

226-
define U-Boot/opc-h68k-rk3568
225+
define U-Boot/generic-rk3568
227226
$(U-Boot/rk3568/Default)
228-
NAME:=OPC-H68K Board
227+
NAME:=GENERIC RK3568
229228
BUILD_DEVICES:= \
229+
advantech_rsb4810 \
230+
armsom_sige3 \
231+
ezpro_mrkaio-m68s \
232+
ezpro_mrkaio-m68s-plus \
230233
hinlink_opc-h66k \
231234
hinlink_opc-h68k \
232-
hinlink_opc-h69k
235+
hinlink_opc-h69k \
236+
lyt_t68m \
237+
seewo_sv21
233238
endef
234239

235-
define U-Boot/photonicat-rk3568
240+
define U-Boot/nanopi-r5c-rk3568
236241
$(U-Boot/rk3568/Default)
237-
NAME:=Ariaboard Photonicat
242+
NAME:=NanoPi R5C
238243
BUILD_DEVICES:= \
239-
ariaboard_photonicat
244+
friendlyarm_nanopi-r5c
245+
endef
246+
247+
define U-Boot/nanopi-r5s-rk3568
248+
$(U-Boot/rk3568/Default)
249+
NAME:=NanoPi R5S
250+
BUILD_DEVICES:= \
251+
friendlyarm_nanopi-r5s
240252
endef
241253

242-
define U-Boot/r66s-rk3568
254+
define U-Boot/photonicat-rk3568
243255
$(U-Boot/rk3568/Default)
244-
NAME:=R66S/R68S
256+
NAME:=Ariaboard Photonicat
245257
BUILD_DEVICES:= \
246-
fastrhino_r66s \
247-
fastrhino_r68s
258+
ariaboard_photonicat
248259
endef
249260

250261
define U-Boot/radxa-e25-rk3568
@@ -261,68 +272,88 @@ define U-Boot/rock-3a-rk3568
261272
radxa_rock-3a
262273
endef
263274

264-
define U-Boot/rsb4810-rk3568
265-
$(U-Boot/rk3568/Default)
266-
NAME:=Advantech RSB4810
267-
BUILD_DEVICES:= \
268-
advantech_rsb4810
269-
endef
270-
271-
define U-Boot/seewo-sv21-rk3568
275+
define U-Boot/rock-3b-rk3568
272276
$(U-Boot/rk3568/Default)
273-
NAME:=seewo SV21
277+
NAME:=ROCK 3B
274278
BUILD_DEVICES:= \
275-
seewo_sv21
276-
endef
277-
278-
define U-Boot/sige3-rk3568
279-
$(U-Boot/rk3568/Default)
280-
NAME:=Sige3
281-
BUILD_DEVICES:= \
282-
armsom_sige3
279+
radxa_rock-3b
283280
endef
284281

285282
define U-Boot/station-p2-rk3568
286283
$(U-Boot/rk3568/Default)
287-
NAME:=StationP2
284+
NAME:=Station P2
288285
BUILD_DEVICES:= \
289286
firefly_station-p2
290287
endef
291288

292289
# RK3588 boards
293290

294-
define U-Boot/Default/rk3588
291+
define U-Boot/rk3588/Default
295292
BUILD_SUBTARGET:=armv8
296293
DEPENDS:=+PACKAGE_u-boot-$(1):rkbin-rk3588
297294
ATF:=rk3588_bl31_v1.45.elf
298295
TPL:=rk3588_ddr_lp4_2112MHz_lp5_2400MHz_v1.16.bin
299296
endef
300297

298+
define U-Boot/generic-rk3588
299+
$(U-Boot/rk3588/Default)
300+
NAME:=Generic RK3588
301+
BUILD_DEVICES:= \
302+
hinlink_owl-h88k
303+
endef
304+
305+
define U-Boot/nanopc-t6-rk3588
306+
$(U-Boot/rk3588/Default)
307+
NAME:=NanoPC T6
308+
BUILD_DEVICES:= \
309+
friendlyarm_nanopc-t6
310+
endef
311+
301312
define U-Boot/sige7-rk3588
302-
$(U-Boot/Default/rk3588)
313+
$(U-Boot/rk3588/Default)
303314
NAME:=Sige7
304315
BUILD_DEVICES:= \
305316
armsom_sige7
306317
endef
307318

319+
# RK3588S boards
320+
321+
define U-Boot/nanopi-r6c-rk3588s
322+
$(U-Boot/rk3588/Default)
323+
NAME:=NanoPi R6C
324+
BUILD_DEVICES:= \
325+
friendlyarm_nanopi-r6c
326+
endef
327+
328+
define U-Boot/nanopi-r6s-rk3588s
329+
$(U-Boot/rk3588/Default)
330+
NAME:=NanoPi R6S
331+
BUILD_DEVICES:= \
332+
friendlyarm_nanopi-r6s
333+
endef
334+
308335
UBOOT_TARGETS := \
309336
panther-x2-rk3566 \
310337
rock-3c-rk3566 \
311-
lyt-t68m-rk3568 \
312-
mrkaio-m68s-rk3568 \
338+
bpi-r2-pro-rk3568 \
339+
generic-rk3568 \
340+
fastrhino-r66s-rk3568 \
341+
fastrhino-r68s-rk3568 \
342+
nanopi-r5c-rk3568 \
313343
nanopi-r5s-rk3568 \
314-
opc-h68k-rk3568 \
315344
photonicat-rk3568 \
316-
r66s-rk3568 \
317345
radxa-e25-rk3568 \
318346
rock-3a-rk3568 \
319-
rsb4810-rk3568 \
320-
seewo-sv21-rk3568 \
321-
sige3-rk3568 \
347+
rock-3b-rk3568 \
322348
station-p2-rk3568 \
349+
generic-rk3588 \
350+
nanopc-t6-rk3588 \
351+
sige7-rk3588 \
352+
nanopi-r6c-rk3588s \
353+
nanopi-r6s-rk3588s \
323354
dlfr100-rk3399 \
324-
fine3399-rk3399 \
325355
h3399pc-rk3399 \
356+
fine3399-rk3399 \
326357
king3399-rk3399 \
327358
mpc1903-rk3399 \
328359
nanopc-t4-rk3399 \
@@ -336,8 +367,7 @@ UBOOT_TARGETS := \
336367
nanopi-r2c-rk3328 \
337368
nanopi-r2s-rk3328 \
338369
orangepi-r1-plus-rk3328 \
339-
orangepi-r1-plus-lts-rk3328 \
340-
sige7-rk3588
370+
orangepi-r1-plus-lts-rk3328
341371

342372
UBOOT_CONFIGURE_VARS += USE_PRIVATE_LIBGCC=yes
343373

@@ -349,8 +379,8 @@ UBOOT_MAKE_FLAGS += \
349379
define Build/Configure
350380
$(call Build/Configure/U-Boot)
351381

352-
$(SED) 's/CONFIG_TOOLS_LIBCRYPTO=y/# CONFIG_TOOLS_LIBCRYPTO is not set/' $(PKG_BUILD_DIR)/.config
353382
$(SED) 's#CONFIG_MKIMAGE_DTC_PATH=.*#CONFIG_MKIMAGE_DTC_PATH="$(PKG_BUILD_DIR)/scripts/dtc/dtc"#g' $(PKG_BUILD_DIR)/.config
383+
echo '# CONFIG_TOOLS_MKEFICAPSULE is not set' >> $(PKG_BUILD_DIR)/.config
354384
echo 'CONFIG_IDENT_STRING=" OpenWrt"' >> $(PKG_BUILD_DIR)/.config
355385
endef
356386

package/boot/uboot-rockchip/patches/015-uboot-add-NanoPi-R5S-board.patch

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

0 commit comments

Comments
 (0)