# HG changeset patch # User Windel Bouwman # Date 1391271681 -3600 # Node ID 61c9df5bffcef37b0dacb037cba47e25d1984191 # Parent 2fa27c44e3c93e13bf6d86f50493217d1d41d4a4 Changed emulated board to cortex a8 board diff -r 2fa27c44e3c9 -r 61c9df5bffce test/bare/bare.bin Binary file test/bare/bare.bin has changed diff -r 2fa27c44e3c9 -r 61c9df5bffce test/bare/make.sh --- a/test/bare/make.sh Sat Feb 01 16:54:33 2014 +0100 +++ b/test/bare/make.sh Sat Feb 01 17:21:21 2014 +0100 @@ -1,7 +1,7 @@ -arm-none-eabi-as -mcpu=arm926ej-s -g startup.s -o startup.o -arm-none-eabi-gcc -c -mcpu=arm926ej-s -g test.c -o test.o +arm-none-eabi-as -mcpu=cortex-a8 -g startup.s -o startup.o +arm-none-eabi-gcc -c -mcpu=cortex-a8 -g test.c -o test.o arm-none-eabi-ld -T test.ld test.o startup.o -o test.elf arm-none-eabi-objcopy -O binary test.elf bare.bin diff -r 2fa27c44e3c9 -r 61c9df5bffce test/bare/qemutst.sh --- a/test/bare/qemutst.sh Sat Feb 01 16:54:33 2014 +0100 +++ b/test/bare/qemutst.sh Sat Feb 01 17:21:21 2014 +0100 @@ -6,7 +6,7 @@ echo "Trying to run versatilePB board" -qemu-system-arm -M versatilepb -m 128M -nographic -kernel bare.bin \ +qemu-system-arm -M realview-pb-a8 -m 128M -nographic -kernel bare.bin \ -monitor unix:vm.sock,server,nowait -serial file:output.txt & sleep 2 @@ -14,3 +14,7 @@ # Send quit to the monitor application echo "quit" | socat stdio UNIX-CONNECT:vm.sock +echo "Output from terminal:" +cat output.txt +echo "" + diff -r 2fa27c44e3c9 -r 61c9df5bffce test/bare/test.c --- a/test/bare/test.c Sat Feb 01 16:54:33 2014 +0100 +++ b/test/bare/test.c Sat Feb 01 17:21:21 2014 +0100 @@ -1,5 +1,5 @@ -volatile unsigned int * const UART0DR = (unsigned int*)0x101f1000; +volatile unsigned int * const UART0DR = (unsigned int*)0x10009000; void print_uart0(const char*s) {