Booting a QEMU Linux System Using a Cross-Compiled aarch64 Kernel and BusyBox
## Compile BusyBox to Generate _install ### Install Build Dependencies bison/flex ```shell sudo apt-get install bison -y sudo apt-get install flex -y ```
2 posts
## Compile BusyBox to Generate _install ### Install Build Dependencies bison/flex ```shell sudo apt-get install bison -y sudo apt-get install flex -y ```
# Environment Setup - Install the compilation and debugging components - Since I only had an x86 environment with WSL on hand, I needed to use emulation to compile, run, and debug ARM programs - Referencing this [gist article](https://gist.github.com/luk6xff/9f8d2520530a823944355e59343eadc1), it is possible to run armv8 programs on an x86 environment. The steps are as follows: - Install on WSL: - Cross-compilation environment: `sudo apt-get install libc6-dev-arm64-cross gcc-aarch64-linux-gnu` - QEMU emulation environment: `sudo apt-get install qemu qemu-system qemu-user`