Skip to content

A project to build a Linux kernel and OS for the Xiegu X6100 without having to copy files from the vendor's kernel.

License

Notifications You must be signed in to change notification settings

strijar/AetherX6100Buildroot

 
 

Repository files navigation

Aether X6100

A project to build a Linux kernel and OS for the Xiegu X6100 without having to copy files from the vendor's kernel.

Building

Building on Linux

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.

Buildroot dependencies

If you are indeed using Linux, check the pre-requesites of Buildroot here.

Building on other OSes

The recomended way of building this repo on other systems is using Docker, as described below.

Changing buildroot configurations

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!

Changing U-Boot and Linux kernel configurations

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.

Other useful recipes

If you change the boot.cmd file, then you have to run:

./br_make.sh host-uboot-tools-rebuild; ./br_build.sh

source

Dockerfile and VSCode (cross-platform development)

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.

About

A project to build a Linux kernel and OS for the Xiegu X6100 without having to copy files from the vendor's kernel.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 61.6%
  • Makefile 19.5%
  • Dockerfile 14.6%
  • Batchfile 4.3%