aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/conf
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/conf')
-rwxr-xr-xarch/riscv/conf/mkimage.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/riscv/conf/mkimage.sh b/arch/riscv/conf/mkimage.sh
index 31abb8e..5a22d01 100755
--- a/arch/riscv/conf/mkimage.sh
+++ b/arch/riscv/conf/mkimage.sh
@@ -13,6 +13,9 @@ SSIZE=$(fdisk -l rootfs.img | awk '$1=="Units:" {print $8}')
OFFSET=$(fdisk -l rootfs.img | awk '$1=="rootfs.img1" {print $2}')
mount -o loop,offset=$((${SSIZE}*${OFFSET})) rootfs.img fs
+# not entirely pleased with this solution, although eventually I should probably
+# move `run` out of the kernel repo and into some `aposos` repo with a runtime
+# and proper initrd etc. so this is good enough for now
../u-boot-apos/tools/mkimage -f arch/riscv/conf/apos.its fs/apos.itb
../u-boot-apos/tools/mkimage -A riscv -O apos -T script \
-d arch/riscv/conf/boot.cmd fs/boot.scr