Stuff I have heard recently on crowdsupply

33 réponses [Dernière contribution]
Zoma
Hors ligne
A rejoint: 11/05/2024

There are at least four projects I see that are starting to work towards selling RK3588 in their design.

Mnt Reform, Pocket Mnt Reform, Next Mnt Reform and Genbook RK3588.

Can anyone tell me what if anything they think/know is non-libre about it? And before anyone says this, the boot blob no longer is needed,

https://www.hackster.io/news/tomeu-vizoso-s-open-source-npu-driver-project-does-away-with-the-rockchip-rk3588-s-binary-blob-0153cf723d44

Just as a heads up.

MrHaram
Hors ligne
A rejoint: 02/07/2023

From my understanding, the DDR Training Blob is still closed source? I'm not as knowledgeable about these things, and don't know if that's changed since.

Would appreciate if one of the others could confirm.

https://www.hackster.io/news/tomeu-vizoso-s-open-source-npu-driver-project-does-away-with-the-rockchip-rk3588-s-binary-blob-0153cf723d44

Zoma
Hors ligne
A rejoint: 11/05/2024

Same

MrHaram
Hors ligne
A rejoint: 02/07/2023
Zoma
Hors ligne
A rejoint: 11/05/2024

Your link is 3 months older though from what I see compared to mine.

I think it has been already done, given that.

Unless there is a more recent link to contradict it.

MrHaram
Hors ligne
A rejoint: 02/07/2023

Well there is this too from just looking around. Says to compile U-Boot for RK3588, you need that DDR init blob. Seems to be updated around a month ago, so I guess we can assume we still need it?

https://gitlab.collabora.com/hardware-enablement/rockchip-3588/notes-for-rockchip-3588/-/blob/main/upstream_uboot.md?ref_type=heads

Also, on Rockchips website (I assume this is theirs anyways) they list all of their SOCs that are supported in mainline U-Boot. There seems to be no mention of the RK3588, which is probably because of that annoying blob.

https://opensource.rock-chips.com/wiki_U-Boot

Its a real shame too, I'd love to play with the RK3588 myself.

Zoma
Hors ligne
A rejoint: 11/05/2024

Hmm... perhaps you are right. Either that or it hasn't quite been added to uboot yet maybe due to being in beta

Cannot say for sure. But in either case, its too soon.

MrHaram
Hors ligne
A rejoint: 02/07/2023

Some discussions on the matter.

https://news.ycombinator.com/item?id=40497232

Zoma
Hors ligne
A rejoint: 11/05/2024
prospero
Hors ligne
A rejoint: 05/20/2022

"Other than that, Rockchip provided an open source version for the Trusted Firmware-A (TF-A), which got merged and should become part of the v2.12 release."

Awsome!

"On the boot side that just leaves the DDR memory training a closed source binary."

Shucks.

Zoma
Hors ligne
A rejoint: 11/05/2024

Its almost there and if done, even the pocket mnt reform/other reforms with rk3588 will be runnable with only libre software.

prospero
Hors ligne
A rejoint: 05/20/2022

The DDR training blob is still very much there.

Zoma
Hors ligne
A rejoint: 11/05/2024

Yeah, but that isn't the only problem I notice. Alyssa of panfrost hasn't told me if the GPU blob is still needed. Which... is annoying.

prospero
Hors ligne
A rejoint: 05/20/2022
Zoma
Hors ligne
A rejoint: 11/05/2024

Well that is good news. Thank you for the info.

Just the boot blob then...

prospero
Hors ligne
A rejoint: 05/20/2022

Yes, just that nasty little boggart of a DDR training blob.

DDR_training_blob.png
Zoma
Hors ligne
A rejoint: 11/05/2024

I bet that will be dealt with soon.

prospero
Hors ligne
A rejoint: 05/20/2022

What makes you believe so?

Zoma
Hors ligne
A rejoint: 11/05/2024

panfrost devs working on RK3588, that's why.

One of them is Alyssa who was working on the libreboot program a while ago.

She seems to be skilled at this.

prospero
Hors ligne
A rejoint: 05/20/2022

Alyssa has been a driving force to both Lima and Panfrost for years, but one of the Collabora blog posts says that she has since moved on to other projects.

Anyway, the DDR training blob is out of scope of the Panfrost project. So it will probably remain there for the foreseeable future.

Zoma
Hors ligne
A rejoint: 11/05/2024

I guess time will tell, won't it.

Foreseeable future is an interesting phrase though. How much do people even see about the future?

But yeah, someone I am sure will work on that sooner or later.

prospero
Hors ligne
A rejoint: 05/20/2022

> someone I am sure will work on that sooner or later.

This very much sounds like wishful thinking. I thought you may have heard of a specific project working on it, which could have made the removal of the DDR training blob foreseeable. I am disappointed.

By the way, which Rockchip SoC are you currently using?

andyprough
Hors ligne
A rejoint: 02/12/2015

>"I am disappointed."

Sounds ominous. Are we doing Hamlet today? "Alas, poor Yorick"!

prospero
Hors ligne
A rejoint: 05/20/2022

Like most AI chatbots, you are mixing up the graveyard scene and the foretelling.

The Foretelling is the first Blackadder episode.

andyprough
Hors ligne
A rejoint: 02/12/2015

I must have been hallucinating again.

Zoma
Hors ligne
A rejoint: 11/05/2024

Wishful thinking you say... well, I suppose it is, but its also possible that its still being worked on. Rk3588 was being worked on prior to this. I don't have a rk3588 yet. I have a rockpro64 which has rk3399. I have yet to use it for a while though.

In any case, sometimes no news is misleading towards nothing happening. Although, I suppose I could do a search if I wanted. I just hadn't thought to for a while because of other blockades rk3588 had till now.

Btw, there is this:

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

not sure where things are now though.

prospero
Hors ligne
A rejoint: 05/20/2022
Zoma
Hors ligne
A rejoint: 11/05/2024

Yeah true I forgot

tonlee
Hors ligne
A rejoint: 09/08/2014

Can you download the ddr training blob? If so where? Can you tell
if reverse engineering the blob is easy, difficult
or impossible? Are there people who if they get enough
money can reverse engineer the blob? Thank you.

prospero
Hors ligne
A rejoint: 05/20/2022

> Can you download the ddr training blob?

Yes.

> If so where?

I cannot tell, that would be in breach of the Community Guidelines.

> Can you tell if reverse engineering the blob is easy, difficult or impossible?

Everybody can tell that it has been sitting there for a very long while and it is still there, that as of Thu, 27 Mar 2025, "there is no plan for open source the ddr init binary recently for rk35xx SoCs" and that the license says you cannot reverse-engineer "except as expressively authorized by Rockchip in writing".

tonlee
Hors ligne
A rejoint: 09/08/2014

> breach of the Community Guidelines

Because the blob is non free software? If so that is counterproductive if
there are people who want to have a go reverse engineering the software.
You can tell how to get the blob here
https://paste.3server.de/?1607a92c9fea689e#F5woVNHyMYE8QUtoVirPpv9UFWjvUprgki5EnJLj7F9f
Everybody else are forbidden to click the link.

> license says you cannot reverse-engineer "except as expressively authorized by Rockchip in writing

Are you located in usa? I have explained the matter previously on this forum. European law grants a user who has obtained legal access to a piece of software the right to test and improve said software. It makes no difference if such testing and improving requires the software user to reverse engineer said software. The software user can not sell or distribute for free the software he has tested or improved.
If you are located in usa I do not think you are getting into legal troubles should you assess if reverse engineering the blob in question is an easy, difficult or impossible task. Can you tell the level of difficulty?

prospero
Hors ligne
A rejoint: 05/20/2022

> if there are people who want to have a go reverse engineering the software

I am pretty sure I found the binary blob following a trail that started in this very forum, in a post from some years ago. If I was able to find it almost inadvertently, I would imagine that anyone actually interested in doing anything out of it can find it easily.

Why not ask the very people who are working on the RK3588?

andyprough
Hors ligne
A rejoint: 02/12/2015

>"I would imagine that anyone actually interested in doing anything out of it can find it easily."

There are more things in Heaven and Earth, Horatio, than are dreamt of in your philosophy.

tonlee
Hors ligne
A rejoint: 09/08/2014

if rk3588 becomes able to run on free software then how does that relate to the
mainboards the cpu will be put on? Will every mainboard running a rk3588 be
able to work on free software? Or will it be a matter of specific mainboards
and only those will be able to run on free software? I noticed the orange pi 5b
plus has a rk3588. Thank you.