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

Buildroot with x11 / doom / dhrystone config #290

Open
Dolu1990 opened this issue Jul 1, 2022 · 4 comments
Open

Buildroot with x11 / doom / dhrystone config #290

Dolu1990 opened this issue Jul 1, 2022 · 4 comments

Comments

@Dolu1990
Copy link
Contributor

Dolu1990 commented Jul 1, 2022

Here is an achive with the buildroot config for x11 + chocolate-doom + dhrystone-opt

buildroot_x11_doom.zip

Note you need to get buildroot with the git hash 9ef54b7d, and be sure the dts ramfs is configured with enough space to eat the whole cpio ^^

@enjoy-digital
Copy link
Member

Thanks @Dolu1990!

@pdlloyd
Copy link

pdlloyd commented Aug 15, 2022

@Dolu1990 this is really cool and something I've been trying to get working on my ULX3S. Unfortunately, I'm a bit inexperienced with these tools and was wondering if you could provide some clarification about why buildroot needs to be at that git hash, and how to be sure the dts ramfs is configured with enough space to eat the whole cpio. Thanks!

@Dolu1990
Copy link
Contributor Author

No worries :)

if you could provide some clarification about why buildroot needs to be at that git hash

So, if i remember well, it was because they removed SDL2 support for 32 bits risc-v, something in that kind, or compilation issue.

Also in general, there is so many thing which could break in the whole process, i personnaly always try to stay on a functionnal version of the things, to keep my sanity at a managable level XD

and how to be sure the dts ramfs is configured with enough space to eat the whole cpio. Thanks!

So by default the dts ramfs is configured to 8 GB, which is too low for x11 stuff.
So, either you need to manualy check the dts in the build/xxx folder, check that the range between :
linux,initrd-start = ;
linux,initrd-end = ;
is bigger than the cpio file size, and then generate the DTB manuals out of the DTS.

Either you try to switch to using the sdcard to host a second partition with the buildroot file system, this quite better for low memory systems, as ULX3s.

@smosanu
Copy link
Contributor

smosanu commented Jan 11, 2023

Particularly useful is the BR2_TOOLCHAIN_BUILDROOT_CXX=y line which enables the generation of the riscv-buildroot-linux-g++ compiler

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

No branches or pull requests

4 participants