Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to use Rockchip chips without blobs? #83

Open
nevapadonak opened this issue Mar 18, 2024 · 0 comments
Open

Is it possible to use Rockchip chips without blobs? #83

nevapadonak opened this issue Mar 18, 2024 · 0 comments

Comments

@nevapadonak
Copy link

nevapadonak commented Mar 18, 2024

My board is Firefly ROC-RK3308B-CC-Plus based on Rockchip RK3308 SoC.
Do I really need rk3308_ddr_589MHz_uart4_m0_v2.07.bin from bin/rk33/ directory of this repo to get it worked?
I'm trying to replace this blob by U-Boot TPL as the official wiki suggests, but have no success.

First, how it works:

#!/bin/sh

./tools/mkimage -n rk3308 -T rksd -d bin/rk33/rk3308_ddr_589MHz_uart4_m0_v2.07.bin idbloader.img # Blob =(
cat Firefly_Linux_SDK/rk3308_linux_release_v1.5.0a_20221212/u-boot/spl/u-boot-spl.bin >> idbloader.img
cp Firefly_Linux_SDK/rk3308_linux_release_v1.5.0a_20221212/u-boot/u-boot.img .
rkdeveloptool db Firefly_Linux_SDK/rk3308_linux_release_v1.5.0a_20221212/rkbin/rk3308_loader_uart4_v2.07.139.bin # Temporary loader, compiled it early
sleep 1
rkdeveloptool wl 0x40 idbloader.img
sleep 1
rkdeveloptool wl 0x4000 u-boot.img
sleep 1
rkdeveloptool rd

Then I replaced the first two lines with this:

./tools/mkimage -n rk3308 -T rksd -d Firefly_Linux_SDK/rk3308_linux_release_v1.5.0a_20221212/u-boot/tpl/u-boot-tpl-dtb.bin idbloader.img
cat Firefly_Linux_SDK/rk3308_linux_release_v1.5.0a_20221212/u-boot/spl/u-boot-spl-dtb.bin >> idbloader.img

And there is no any output to serial console now.

What could I missed?

Could you also take me advice which U-Boot codebase should I use, U-Boot official or the rockchip-linux fork? It seems that both support my board and SoC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant