Hi Christopher,

On 2025/3/22 09:58, Christopher Obbard wrote:
Hi Vagrant  and Kever,

On Tue, 18 Mar 2025, 18:22 Vagrant Cascadian, <vagr...@debian.org> wrote:

    On 2023-08-31, Christopher Obbard wrote:
    >   Package name    : rkbin
    >   Version         : 0.0.0~git20230726.b4558da
    >   Upstream Contact: Kever Yang <kever.y...@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.

    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.


@Kever I wonder if rockchip plan to open source the RAM training into u-boot like other platforms?

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


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



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

    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

Reply via email to