aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorvetch <vetch97@gmail.com>2019-10-22 16:30:57 +0200
committervetch <vetch97@gmail.com>2019-10-22 16:30:57 +0200
commitd2b5a5f97b71c2966796f2287fda2bfd6cc531ec (patch)
tree06364df08dac547bee8c6882f1468540f91df7b6 /Makefile
parentf742223614e126c7d485a5bbcdb15b97e73055aa (diff)
parentc68891456e3b3c4ad37c36293413405151b87951 (diff)
downloadrpi-MMU-example-d2b5a5f97b71c2966796f2287fda2bfd6cc531ec.tar.gz
rpi-MMU-example-d2b5a5f97b71c2966796f2287fda2bfd6cc531ec.zip
Merge branch 'bob' of https://repo.or.cz/RPi-MMU-example into alice
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b05600f..96a809a 100644
--- a/Makefile
+++ b/Makefile
@@ -44,11 +44,13 @@ loader.img : loader.elf
qemu-elf : kernel.elf
qemu-system-arm -m 256 -M raspi2 -serial stdio -kernel $^
-qemu-bin : loader.img kernel7.img pipe_image
+qemu-bin : loader.elf kernel7.img pipe_image
./pipe_image | qemu-system-arm -m 256 -M raspi2 -serial stdio -kernel $<
-qemu-loader : loader.img
- qemu-system-arm -m 256 -M raspi2 -serial stdio -kernel $^
+run-on-rpi : kernel7.img pipe_image
+ ./pipe_image | socat FILE:/dev/ttyUSB0,b115200,raw -
+ sleep 1
+ screen /dev/ttyUSB0 115200,cs8,-parenb,-cstopb,-hupcl
pipe_image : pipe_image.c RS-232/rs232.c
gcc -Wall -std=gnu99 -O3 $^ -o $@