An open API service indexing awesome lists of open source software.

https://github.com/embeddedos/arm64_linux_build_system

Build a complete bootable Linux image (bootloader, rootfs, kernel, etc.) for Aarch64.
https://github.com/embeddedos/arm64_linux_build_system

aarch64 linux qemu-system-aarch64 rootfs uboot

Last synced: 10 months ago
JSON representation

Build a complete bootable Linux image (bootloader, rootfs, kernel, etc.) for Aarch64.

Awesome Lists containing this project

README

          

# Build full Linux system for Aarch64

Build a complete bootable Linux image (bootloader, rootfs, kernel, etc.) for Aarch64. The rootfs is made minimum with busybox.

```bash
./build_image.sh
```

To emulate bootloader:

```bash
qemu-system-aarch64 -machine virt -cpu cortex-a57 -bios u-boot.bin
```

To emulate kernel and rootfs:

```bash
qemu-system-aarch64 -kernel linux/arch/arm64/boot/Image -initrd rootfs.cpio.gz -machine virt -cpu cortex-a53 -m 1G -nographic -append "root=/dev/mem"
```

To emulate kernel and rootf with 2 network interfaces:

```bash
qemu-system-aarch64 -kernel linux/arch/arm64/boot/Image -initrd rootfs.cpio.gz -machine virt -cpu cortex-a53 -m 1G -nographic -append "root=/dev/mem" -netdev user,id=mynet0,hostfwd=tcp::8080-:80 -device e1000,netdev=mynet0 -net nic,macaddr=52:54:aa:12:35:02,model=virtio
```

TODO: combine anything to final firmware image and emulating on that.