Skip to content

Building Programs outside of buildroot

Justin Hammond edited this page Feb 15, 2023 · 1 revision

If you have a program/binary/library you wish to install, you can use the Buildroot SDK to build your applications and copy them to the ox64/m1s

Download the riscv64-buildroot-linux-gnu_sdk-buildroot.tar.gz from the releases page to your local PC and untar it

Inside the directory, run ./relocate-sdk.sh (only need to do this on the first installation)

Then source ./environment-setup (need to do this everytime.

Then you can proceed to your application, program and compile it as per normal (eg, ./configure && make)

Once completed you can copy to the SD card and execute from linux on the ox64/m1s dock.

(Please be aware some applications might have multiple dependancies that need to be copied over, its upto the reader to figure that out)

Clone this wiki locally