aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4c3567e..f031d7c 100644
--- a/Makefile
+++ b/Makefile
@@ -44,6 +44,11 @@ qemu-elf : kernel.elf
qemu-bin : loader.elf kernel7.img pipe_image
./pipe_image | 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
gcc -Wall -std=gnu99 -O3 $^ -o $@