summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-09-07 07:08:43 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-09-07 07:08:43 +0200
commit3fdd7ea005d8415ccd6938f498ff426a41d3a2fe (patch)
tree9520d7d6bbee2872e863dfc85ddfb3071f84cccf
parent342b31766585d875d5d34a22cf5d60cbeee2a6b7 (diff)
fix ppc/arm bootup
-rwxr-xr-xembedded-test.sh15
1 files changed, 8 insertions, 7 deletions
diff --git a/embedded-test.sh b/embedded-test.sh
index 5bc3b0d..60c9212 100755
--- a/embedded-test.sh
+++ b/embedded-test.sh
@@ -184,14 +184,15 @@ runtest() {
;;
arm)
cpu_arch=arm
- qemu_machine=vexpress-a9
+ march=arm-versatilepb
+ qemu_machine=versatilepb
suffix=soft_eabi
dtbdir=openadk/firmware/qemu-${march}_${lib}_${cpu_arch}_${suffix}
- qemu_args="${qemu_args} -cpu cortex-a9 -net user -net nic,model=lan9118 -dtb ${dtbdir}/vexpress-v2p-ca9.dtb"
+ qemu_args="${qemu_args} -cpu arm926 -net user -net nic,model=smc91c111"
;;
armhf)
cpu_arch=arm
- march=arm
+ march=arm-vexpress-a9
qemu=qemu-system-${cpu_arch}
qemu_machine=vexpress-a9
suffix=hard_eabihf
@@ -287,7 +288,7 @@ runtest() {
;;
ppcsf)
cpu_arch=ppc
- march=ppc
+ march=ppc-bamboo
qemu=qemu-system-${cpu_arch}
qemu_args="${qemu_args} -device e1000,netdev=adk0 -netdev user,id=adk0"
qemu_machine=bamboo
@@ -295,7 +296,7 @@ runtest() {
;;
ppc)
cpu_arch=ppc
- march=ppc
+ march=ppc-macppc
qemu=qemu-system-${cpu_arch}
qemu_args="${qemu_args} -device e1000,netdev=adk0 -netdev user,id=adk0"
qemu_machine=mac99
@@ -529,7 +530,7 @@ build() {
compile "$DEFAULT"
;;
arm)
- DEFAULT="$DEFAULT ADK_APPLIANCE=test ADK_TARGET_ARCH=arm ADK_TARGET_SYSTEM=qemu-arm-versatilepb ADK_TARGET_FLOAT=soft ADK_TARGET_ENDIAN=little"
+ DEFAULT="$DEFAULT ADK_APPLIANCE=test ADK_TARGET_ARCH=arm ADK_TARGET_SYSTEM=qemu-arm-versatilepb"
compile "$DEFAULT"
;;
armeb)
@@ -537,7 +538,7 @@ build() {
compile "$DEFAULT"
;;
armhf)
- DEFAULT="$DEFAULT ADK_APPLIANCE=test ADK_TARGET_ARCH=arm ADK_TARGET_SYSTEM=qemu-arm-vexpress-a9 ADK_TARGET_FLOAT=hard ADK_TARGET_ENDIAN=little"
+ DEFAULT="$DEFAULT ADK_APPLIANCE=test ADK_TARGET_ARCH=arm ADK_TARGET_SYSTEM=qemu-arm-vexpress-a9"
compile "$DEFAULT"
;;
avr32)