annotate experiments/qemu_vexpress_a9/make.sh @ 407:9eb1fc6aad6c

Minor improvements
author Windel Bouwman
date Fri, 20 Feb 2015 15:47:54 +0100
parents 34ac19044b8a
children
rev   line source
340
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
1 #!/bin/bash
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
2
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
3
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
4 TARGET=arm-none-eabi
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
5 MCPU=arm926ej-s
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
6
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
7 $TARGET-as -mcpu=$MCPU -g startup.s -o startup.o
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
8 $TARGET-gcc -c -g -mcpu=$MCPU -marm main.c -nostdlib -o main.o
386
2a970e7270e2 Added repeat assembler macro
Windel Bouwman
parents: 340
diff changeset
9 $TARGET-ld -g -T layout.ld main.o startup.o -o test.elf
340
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
10 $TARGET-objcopy -O binary test.elf test.bin
386
2a970e7270e2 Added repeat assembler macro
Windel Bouwman
parents: 340
diff changeset
11 $TARGET-nm test.elf
387
34ac19044b8a Hello world with paging in emulator
Windel Bouwman
parents: 386
diff changeset
12 $TARGET-objdump -x test.elf
340
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
13
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
14