A project to build a Linux kernel and OS for the Xiegu X6100 without having to copy files from the vendor's kernel.
To build on a Linux machine, just:
.\br_build.sh
And then you'll have a sdcard.img
in the build
directory, you can then
flash.
If you are indeed using Linux, check the pre-requesites of Buildroot here.
The recomended way of building this repo on other systems is using Docker, as described below.
If you want to change the Buildroot configuration, first do this:
./br_make.sh menuconfig
And the menu configuration will open. Do your changes, save, and exit. Then, to save the configurations, do:
cd build; make savedefconfig; cd ..
⚠️ You can't just make./br_make.sh savedefconfig
because it will override your changes!
For those you can just:
./br_make.sh uboot-menuconfig
# or
./br_make.sh linux-menuconfig
and:
./br_make.sh uboot-savedefconfig
# or
./br_make.sh linux-savedefconfig
to save.
If you change the boot.cmd
file, then you have to run:
./br_make.sh host-uboot-tools-rebuild; ./br_build.sh
You can have a nice development environment, including developing on Windows, you can use the included Docker setup. You'll need Visual Studio Code and Docker installed (on Windows machines, Docker requires WSL2), and the proper extensions for VSCode: the remote development pack, and the docker support extension.
With this configured, if you open the repository directory with VSCode, it'll ask you if you want to reopen the directory in the container. Say yes, and you'll have a development environment fully configured. Use the integrated terminal from VSCode and you'll have a Linux terminal ready for you.