working on chapter 2

master
polymurph 4 years ago
parent b9ebff5036
commit cb9e18605b

@ -1,9 +1,12 @@
compiling the startup file: compiling the startup file:
arm-none-eabi-as -o startup.o startup.s arm-none-eabi-as -o startup.o startup.s
linking .o file: linking .o file:
arm-none-eabi-ld -o first-hang.elf startup.o arm-none-eabi-ld -o first-hang.elf startup.o
convert the ELF to a raw binary dump convert the ELF to a raw binary dump
arm-none-eabi-objcopy -O binary first-hang.elf first-hang.bin arm-none-eabi-objcopy -O binary first-hang.elf first-hang.bin
Blastoff: Blastoff:
qemu-system-arm -M vexpress-a9 -m 32M -no-reboot -nographic -monitor telnet:127.0.0.1:1234,server,nowait -kernel first-hang.bin qemu-system-arm -M vexpress-a9 -m 32M -no-reboot -nographic -monitor telnet:127.0.0.1:1234,server,nowait -kernel first-hang.bin

Loading…
Cancel
Save