Skip to content

archlab-sciencetokyo/RVComp-buildenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RVComp-buildenv

Environment to build Linux for RVComp

Prerequisites

Initialize the buildroot submodule before first use:

git submodule update --init
cd buildroot
git checkout 2026.02

Usage

./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

Examples

# Build a UART boot image
./command.sh uart /path/to/br2_external

# Build an MMC boot image
./command.sh mmc /path/to/br2_external

Output Files

On a successful build, artifacts are placed under images/.

images/uart/

File Description
fw_payload.bin Firmware payload combining OpenSBI + Linux for UART boot

images/mmc/

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)                   -->|

About

Environment to build linux for RVComp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages