From 97bae0c39a7aeaab07654d99c3ba3bcb4d01658c Mon Sep 17 00:00:00 2001 From: Harry Chen Date: Thu, 4 Apr 2019 21:55:10 +0800 Subject: [PATCH] Add busybox for riscv32 and mipsel, update README Signed-off-by: Harry Chen --- Makefile | 4 ++-- README.md | 9 ++++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 1a94164..1faca35 100644 --- a/Makefile +++ b/Makefile @@ -64,8 +64,8 @@ ifeq ($(arch), $(filter $(arch), x86_64 aarch64)) @mv tmp/bin/busybox $(busybox) @rm -rf tmp && rm busybox.tar.xz endif -ifeq ($(arch), riscv64) - @wget https://github.com/rcore-os/busybox-riscv-prebuilts/raw/master/busybox-1.30.1-riscv64/busybox -O $(busybox) +ifeq ($(arch), $(filter $(arch), riscv64 riscv32 mipsel)) + @wget https://github.com/rcore-os/busybox-prebuilts/raw/master/busybox-1.30.1-${arch}/busybox -O $(busybox) endif busybox: $(busybox) diff --git a/README.md b/README.md index ad90504..a3029fe 100644 --- a/README.md +++ b/README.md @@ -53,15 +53,18 @@ A rootfs is created at `build/$(arch)` and converted to `qcow2`. | | x86_64 | aarch64 | riscv32 | riscv64 | mipsel | | ------------------ | ------ | ------- | ------- | ------- | ------ | -| ucore | ✅ | ✅ | ✅ | ✅ | ✅ | +| ucore | ✅ | ✅ | ✅ | ✅ | ❗ | | rust | ✅ | ✅ | ✅ | ✅ | ✅ | | biscuit | ✅ | ✅ | ✅ | ✅ | ✅ | -| nginx (linux only) | ✅ | ✅ | ✅ | ✅ | ✅ | +| nginx (linux only) | ✅ | ✅ | ❗ | ✅ | ❗ | | redis (linux only) | ✅ | ✅ | ✅ | ✅ | ✅ | -| busybox | ✅ | ✅ | ❌ | ✅ | 🚧 | +| busybox | ✅ | ✅ | ✅ | ✅ | ✅ | | alpine rootfs | ✅ | ✅ | ❌ | ❌ | ❌ | | iperf3 | ✅ | ❌ | ❌ | ❌ | ❌ | + +Note: ❗ means workarounds are used so that they may not work properly. ❌ means failure in compiling or not existed on such platform. + ## How to run real world programs ### How to use Redis