1 TOOLCHAIN
=powerpc64le-linux-gnu
9 echo
-n
-e
\\0060\\0000\\0061\\0000 > test.bin
10 echo
-n
-e
\\0060\\0000\\0061\\0000 >> test.bin
11 pypowersim
--load
test.bin
:0 \
13 --dump testout.bin
:0:8 \
14 --dump testout2.bin
:0x20000100:8 \
15 -g gpr.list
-i kernel.bin
16 @echo
'expected results:'
17 @echo
'00000000 ef be ad de ff ff ff ff'
18 hexdump
-C testout2.bin
24 $(TOOLCHAIN
)-ld $^
-EL
-o
$@
-T memmap
26 kernel.bin
: kernel.elf
27 $(TOOLCHAIN
)-objcopy
$< -I elf64-little
-O binary
$@
30 $(AS
) $(AFLAGS
) -c
$< -le
-o
$@