aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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 $@