diff options
author | Wojtek Kosior <kwojtus@protonmail.com> | 2019-10-15 17:23:41 +0200 |
---|---|---|
committer | Wojtek Kosior <kwojtus@protonmail.com> | 2019-10-15 17:23:41 +0200 |
commit | 4f8c9071fade1755793de63b015a13323254ffc7 (patch) | |
tree | 375e3870728fd5611829edba15d97a32352040f4 /Makefile | |
parent | 1e7a473c66acc37f25420f17e1f26a3ffbaa0439 (diff) | |
download | rpi-MMU-example-4f8c9071fade1755793de63b015a13323254ffc7.tar.gz rpi-MMU-example-4f8c9071fade1755793de63b015a13323254ffc7.zip |
add Makefile rule for booting through uart on real rpi
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 $@ |