Environment to build Linux for RVComp
Initialize the buildroot submodule before first use:
git submodule update --init
cd buildroot
git checkout 2026.02./command.sh <uart|mmc> <br2_external>| Argument | Description |
|---|---|
uart |
Build with uart_defconfig |
mmc |
Build with mmc_defconfig and produce a combined MMC image |
<br2_external> |
Path passed to Buildroot as BR2_EXTERNAL |
# Build a UART boot image
./command.sh uart /path/to/br2_external
# Build an MMC boot image
./command.sh mmc /path/to/br2_externalOn a successful build, artifacts are placed under images/.
| File | Description |
|---|---|
fw_payload.bin |
Firmware payload combining OpenSBI + Linux for UART boot |
| File | Description |
|---|---|
fw_payload.bin |
MMC boot image: fw_payload.bin zero-padded to 32 MiB followed by rootfs.ext4 |
MMC image layout:
offset 0 32 MiB
|<-- fw_payload (32MiB, zero-padded) -->|<-- rootfs.ext4 (64 MiB) -->|