Buildroot for the rock 3 a

Hi, you can try to patch the mk file by changing the repo URL https://github.com/Caesar-github/device-custom.git

Thank you, but i have next error, i think rockchip deleted some repos.


I noticed this effects the original buidroot.rockchip repo : https://github.com/flatmax/buildroot.rockchip
Specifically the post-image.sh script which calles rktools/mkimage : https://github.com/flatmax/buildroot.rockchip/blob/master/board/RK3568/post-image.sh#L24

That will have to be updated if a suitable mkimage is found for all platforms. I wonder if rockchip have a suitable mkimage somewhere else ?

Changed rktools.mk to
RKTOOLS_VERSION = 99fbae9d39bea69edbbb12937d49b7d6c8a9c04d
RKTOOLS_SITE = https://github.com/xlloss/tools.git
and everything is ok. Thank you!

Hello, i’m trying to add your patch, but i’m getting error (i attached pictures)


Hi, if you are using radxa kernel you don’t need mali-driver, because is already present in the kernel, just remove the dependency between rockchip-mali and mali-driver.

Thank you! My mistake.

Trying to add qt but getting errors, rockchip-mali is enabled, libgbm and eglfs selected.


Hi, have you tried leaving empty the default graphical platform?

Yes, first attempt was with empty platform. I’ll try “make clean all”.

Well, make clean all didn’t help.

> pkg-config error with 'cairo-ft': Could not generate cargs for cairo-ft:
> Package glesv2 was not found in the pkg-config search path.

Same with harfbuzz.
Can you share your .config file, if it’s ok of course. I’m not shure whats wrong with my config.

The rock 3 a doesn’t need rktools. You can safely remove it from the build system. Try to comment out this line in the rock3a_defconfig file :

I’ve pushed an update to the repo . It removes RKTOOLS :

if you are using radxa kernel you don’t need mali-driver,

Maybe problem here? Is this correct?
image

boot.scr made with u-boot-utils on ubuntu and then copied works good. Problem in mkimage from radxa repo.

I just updated the buildroot.rockchip repo for the rock 3a. Uboot is now working properly and the system is building/booting cleanly.

2 Likes

I’ve added a Linux v6 branch to the buildroot repo.

In this linux v6 branch, PCIE is working, which includes the RJ45 and wifi networks. The panfrost GPU accelerator is also working. Waiting for upstream Linux version 6.1 or 6.2 which should include DSI support for displays on the DSI connector.

Hi @flatmax!
I’m trying to get Panfrost to work on the CM3, but I’ve been working on it for two weeks full time without success. I’m new to building kernels and rootfs, however! Currently, I’m thinking of buying a Rock 3A, getting everything working on that, then porting it to the CM3. Do you think that is a good approach? I’d really like to get Linux v6 and DSI to work, but that can wait a bit if it’s not ready.
Any help you can offer would be very much appreciated
Duncan

RAM is failing, any idea?