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

start development for Rockchip #533

Open
orangecms opened this issue Jan 9, 2022 · 7 comments
Open

start development for Rockchip #533

orangecms opened this issue Jan 9, 2022 · 7 comments
Assignees

Comments

@orangecms
Copy link
Contributor

With sunxi (Allwinner), we have introduced support for SoCs / boards from well-known vendors who's chips are used in many devices, such as Orange Pi, PinePhone, TV boxes, etc.. The kickstart happened via the xfel tool from the xboot project.

For Rockchip, we can start in a similar fashion, using rkflashtool and/or xrock.

@hanetzer
Copy link
Contributor

one annoyance: you need to process the bootblob in a
certain manner. coreboot has a python script that does this.
And last I looked u-root's kexec tool can't load dtb files?

@orangecms orangecms self-assigned this Jan 19, 2022
@orangecms
Copy link
Contributor Author

Good to know, I'll have a look at that script and also check U-Boot.

Loading a dtb shouldn't be an issue, we could add that if necessary. :-)

@hanetzer
Copy link
Contributor

for the record: I own both a rk3288 and rk3399 based chromebook, with the servo debug headers installed,
along with a servo debug board, so I have a lot of debug capabilities in this area.

@orangecms
Copy link
Contributor Author

Excellent! I have a ROCK64 that I wanted to use for initial development.
However, I need to figure out how the USB modes work, can you help with that @hanetzer?

rkflashtool is said to not support mask ROM mode fully, only bootloader mode: https://wiki.radxa.com/Rock/flash_the_image#Linux
However, as per this help text, it can load DDR init and USB loader from mask ROM mode: http://rockchip.wikidot.com/rkflashtool

Do you have experience with that?

@hanetzer
Copy link
Contributor

not a clue about rkflashtool, sorry to say. and what do you mean by 'usb modes'?
rk3288/rk3399 have both coreboot and u-boot firmware implementations, so there's
a lot of info we can crib from them.

@jwinarske
Copy link

This is a good working reference for RK3399:
https://gitlab.com/DeltaGem/levinboot

I'm interested in getting Oreboot running on Pine phone Pro - RK3399, as well as other targets. I've been studying levinboot.

@felixsinger
Copy link
Member

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

4 participants