whoops start basic sim from 0x20000000
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 1 Jun 2021 13:16:41 +0000 (14:16 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 1 Jun 2021 13:16:41 +0000 (14:16 +0100)
src/test/basic_pypowersim/Makefile

index 1ec2e996bc0e05545275dc5befc7288cf2f9d788..d3a68cd046fc33ad5a86b93a106985bad1e5dc78 100644 (file)
@@ -1,4 +1,4 @@
-TOOLCHAIN=powerpc64-linux-gnu
+TOOLCHAIN=powerpc64le-linux-gnu
 CC=$(TOOLCHAIN)-gcc
 AS=$(TOOLCHAIN)-as
 AFLAGS=-mpwr9
@@ -9,6 +9,7 @@ sim: kernel.bin
        echo -n -e \\0060\\0000\\0061\\0000 > test.bin
        echo -n -e \\0060\\0000\\0061\\0000 >> test.bin
        pypowersim -q --load test.bin:0 \
+                     -p 0x20000000 \
                   --dump testout.bin:0:8 \
                   --dump testout2.bin:0x20000100:8 \
                 -g gpr.list -i kernel.bin