aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2019-11-20 08:29:33 +0100
committerWojtek Kosior <kwojtus@protonmail.com>2019-11-20 08:29:33 +0100
commit6eba61fede40efda3651bceb559f8d1fa372fa73 (patch)
treeb90f28b2c0c58e5a62cfde0008769292520ff600 /Makefile
parent42fa390951fa7a35cc60d935ae3140d735ec61e1 (diff)
parentd302f79c13df6ecaa63c477c6a811fa94996b7cb (diff)
downloadrpi-MMU-example-6eba61fede40efda3651bceb559f8d1fa372fa73.tar.gz
rpi-MMU-example-6eba61fede40efda3651bceb559f8d1fa372fa73.zip
merge alice to bob
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index ff9c22d..ce29a19 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,4 @@
CFLAGS=-mcpu=cortex-a7 -ffreestanding -std=gnu11 -Wall -Wextra -I.
-
ELFFLAGS=-ffreestanding -O2 -nostdlib -lgcc -I.
ARM_OBJECTS=kernel.o paging.o demo_functionality.o PL0_test.o uart.o loader_stage1.o loader_stage2.o
@@ -41,10 +40,9 @@ qemu-elf : kernel.elf
qemu-bin : loader.elf kernel.img pipe_image
./pipe_image --stdout | qemu-system-arm -m 256 -M raspi2 -serial stdio -kernel $<
-run-on-rpi : kernel.img pipe_image
- ./pipe_image --stdout | socat FILE:/dev/ttyUSB0,b115200,raw -
- sleep 1
- screen /dev/ttyUSB0 115200,cs8,-parenb,-cstopb,-hupcl
+run-on-rpi : kernel7.img pipe_image
+ ./pipe_image --stdout | sudo socat FILE:/dev/ttyUSB0,b115200,raw -
+# screen /dev/ttyUSB0 115200,cs8,-parenb,-cstopb,-hupcl
pipe_image : pipe_image.c lib/rs232/rs232.c
gcc -Wall -std=gnu99 -O3 $^ -o $@