How can I simply configure kernel and dts files when I build os with rbuild. I don’t see any src directory.
the sourcecode under this directory .src/linux
You can specify the kernel deb packages generated by bsp using the -k argument to rbuild.
I don’t see the .src directory and the rbuild directory takes up 700MB after built os, maybe the directory is cleaned at the end, I’ll try bsp.
More info of bsp, you can refer to bsp docs.
When I try build the image with bsp on my laptop I get error:
(./bsp linux rk356x)
…
Initialize .config with rockchip_linux_defconfig
make: Entering directory ‘/home/marcinozog/radxa/bsp/.src/linux’
HOSTCC scripts/basic/fixdep
/bin/sh: 1: scripts/basic/fixdep: Exec format error
make[1]: *** [scripts/Makefile.host:95: scripts/basic/fixdep] Error 126
make[1]: *** Deleting file ‘scripts/basic/fixdep’
make: *** [Makefile:563: scripts_basic] Error 2
make: Leaving directory ‘/home/marcinozog/radxa/bsp/.src/linux’
bsp
maybe you need to install compile tools.
Please first install bsp's runtime dependencies: https://radxa-repo.github.io/bsp/#install-dependencies
Now everything works when I use ./bsp radxa-zero3, I had error when I typed ./bsp linux rk356x
Please post the exact error reported