#1050968 "RFP: rkbin -- Pre-built Rockchip bootloader firmware binaries (for embedded targets)"

Package:
wnpp
Source:
wnpp
Submitter:
Christopher Obbard
Date:
2026-01-08 02:59:04 UTC
Severity:
normal
#1050968#5
Date:
2023-08-31 20:01:59 UTC
From:
To:
  Package name    : rkbin
  Version         : 0.0.0~git20230726.b4558da
  Upstream Contact: Kever Yang <kever.yang@rock-chips.com>
  URL             : https://github.com/rockchip-linux/rkbin
  License         : Copyright © 2017-2023,Rockchip Electronics Co., Ltd. All rights reserved.
  Programming Lang: n/a; prebuilt firmware binaries
  Description     : Pre-built Rockchip bootloader firmware binaries (for embedded targets)

This package contains the Rockchip bootloader firmware binaries, primarily
used for targets where no open-source versions is yet released.
The pre-built firmware consists of builds of Arm Trusted Firmware, OP-TEE
and U-Boot. There are also some closed-source tools in this repo, build for
amd64. These will be stripped from the upstream source package as I do
not (yet) see a need for these.

This package is required to build U-Boot for some embedded targets such as
rk3588, rk3566, rk3568. All of these will eventually have open-source
firmware, but it is still useful for new processors in the future where
U-Boot support will be merged long before the initial DRAM bringup and
trusted firmware.

I expect this package will go into non-free-firmware.

If anyone rejects having this kind of package in Debian, please do reply
to this message. I don't have any immediate plans to package this.

#1050968#20
Date:
2025-03-18 18:03:56 UTC
From:
To:
Arm Trusted Firmware for some of these rk35xx variants is now supported
in the Debian packaging and upstream. I think the only thing left for
rk3588 is the DDR training binaries from rkbin:

https://www.collabora.com/news-and-blog/blog/2024/02/21/almost-a-fully-open-source-boot-chain-for-rockchips-rk3588/

Not sure about the other rk35xx variants.

I *think* this license looks plausible for non-free-firmware:

https://github.com/rockchip-linux/rkbin/blob/master/LICENSE

  Rockchip hereby grants to you a non-exclusive license (a) to use, copy,
  distribute the Software; (b) to modify any source code as part of Software(if
  any) and sublicense, distribute such modifications.
  Except as expressively authorized by Rockchip in writing, you may NOT:
  (a) decompile, reverse-engineer, dissemble, or attempt to derive any source
  code from the Software;
  (b) remove or obscure any copyright, patent, or trademark statement or notices
  contained in the Software.

Those exclusions might make it hard for folks to come up with free
implementations, though. :(


live well,
  vagrant

#1050968#25
Date:
2025-03-22 01:58:11 UTC
From:
To:
Hi Vagrant  and Kever,
u-boot like other platforms?

This would remove need for rbkin in Debian.

PS: I don't have time to look at packaging robin until the late summer. If
someone else wishes to do it, I'd happily help with reviewing and  sponsor
an upload into Debian.

Chris

#1050968#30
Date:
2025-03-27 09:56:04 UTC
From:
To:
Hi Christopher,

I have check internally for this topic, there is no plan for open source
the ddr init binary recently for rk35xx SoCs.

Rockchip already provide the source based ddrbin_tool to modify the ddr
binary with all the possible

parameter which may need by customers.

So it would be better for the rkbin can merge into the Debian
non-free-firmware package.


Thanks,

- Kever