get the buildroot submodule,
$ git submodule update --init
built using buildroot LTS tag 2021.02.6.
on the host system, the minimum build requirements:
set DEFCONFIG
to one of the supported boards,
$ export DEFCONFIG=rpi4
for example. first, configure
$ ./build.sh ${DEFCONFIG}_defconfig
see configuring if you'd like to audit the configuration. then build,
$ ./build.sh
for hardware targets, this builds bootable image ${DEFCONFIG}_output/images/sdcard.img
.
build with DEFCONFIG=qemu
and install qemu-system-arm
.
$ ./emu.sh qemu_output/
requries libncurses-dev
.
$ ./build.sh menuconfig
... # change some parameters, save
$ ./bulid.sh # rebuild, test things
$ ./build.sh savedefconfig # save those changes, updates corresponding configs `accessilbility-oscilloscope/config/`.
$ ./build.sh linux-menuconfig
$ ./build.sh linux-savedefconfig
$ ./build.sh linux-update-defconfig
just change the $DEFCONFIG to the current board being developed.