aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv64
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-09-11 17:49:24 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-09-11 17:49:24 +0300
commit9e2720ca086a74cfb6fa595da8c42e6cd24352ee (patch)
tree7ee298e1d30b921c55a1939cb8954ca4cb2fbb56 /arch/riscv64
parent7101970b3cdb2a0190e69a98352275907ab935a4 (diff)
downloadkmi-9e2720ca086a74cfb6fa595da8c42e6cd24352ee.tar.gz
kmi-9e2720ca086a74cfb6fa595da8c42e6cd24352ee.zip
change external directory structure
+ Prepare for possibly testing rv32 + Also remove newline from debugging output
Diffstat (limited to 'arch/riscv64')
-rwxr-xr-xarch/riscv64/conf/mkimage.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/riscv64/conf/mkimage.sh b/arch/riscv64/conf/mkimage.sh
index d097248..d791396 100755
--- a/arch/riscv64/conf/mkimage.sh
+++ b/arch/riscv64/conf/mkimage.sh
@@ -16,14 +16,14 @@ 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/riscv64/conf/apos.its fs/apos.itb
-../u-boot-apos/tools/mkimage -A riscv -O apos -T script \
+../rv64/u-boot-apos/tools/mkimage -f arch/riscv64/conf/apos.its fs/apos.itb
+../rv64/u-boot-apos/tools/mkimage -A riscv -O apos -T script \
-d arch/riscv64/conf/boot.cmd fs/boot.scr
umount -l fs
qemu-system-riscv64 -machine virt \
- -kernel ../u-boot-apos/u-boot \
+ -kernel ../rv64/u-boot-apos/u-boot \
-bios /usr/lib/riscv64-linux-gnu/opensbi/generic/fw_jump.elf \
-device virtio-blk-device,drive=hd0 \
-drive file=rootfs.img,format=raw,id=hd0 \