aboutsummaryrefslogtreecommitdiff
path: root/run
diff options
context:
space:
mode:
authorMarvin Borner2021-04-05 00:20:13 +0200
committerMarvin Borner2021-04-05 00:20:13 +0200
commit248c0d2fd007eeeb108ff1a88924e3ef8ff84ba4 (patch)
treeca7a73c76e423d44e739228ddaa4a408af9ca526 /run
parent614df32883bd988a59ce1a2a201ce2dd8211ab3a (diff)
Made kernel elf-bootable
Diffstat (limited to 'run')
-rwxr-xr-xrun9
1 files changed, 4 insertions, 5 deletions
diff --git a/run b/run
index a665973..b6a4921 100755
--- a/run
+++ b/run
@@ -180,7 +180,6 @@ make_build() {
$SUDO chmod -R 0 mnt/conf/
$SUDO cp -r build/apps/ mnt/bin/
$SUDO cp build/load.bin mnt/
- $SUDO cp build/kernel.bin mnt/
$SUDO umount mnt/
rm -rf mnt/
@@ -208,20 +207,20 @@ make_debug() {
make_disasm() {
if [ -z "$1" ]; then
- echo "Usage: './run disasm {kernel.elf, apps/wm, ...} [-S]'"
+ echo "Usage: './run disasm {kernel, wm, ...} [-S]'"
exit 1
fi
- objdump -drwC "$2" -Mintel build/"$1" | less -R
+ objdump -drwC "$2" -Mintel build/apps/"$1" | less -R
#hexdump -C build/kernel.bin | less -R
}
make_addr() {
printf "Info: Make sure that you've turned the debug build on (e.g. with MELVIX_DEBUG=1)\n\n"
if [ -z "$2" ]; then
- echo "Usage: './run addr kernel.elf 0x50042'"
+ echo "Usage: './run addr kernel 0x50042'"
exit 1
fi
- addr2line -e build/"$1" -f -p "$2"
+ addr2line -e build/apps/"$1" -f -p "$2"
}
make_cloc() {