b2b5dd52925be84fc7991ba486b750526baa8967
1 TOOLCHAIN
=powerpc64-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 \
12 --dump testout.bin
:0x20000100:8 \
13 --dump testout2.bin
:0x0:16 \
14 -g gpr.list
-i kernel.bin
20 $(TOOLCHAIN
)-ld $^
-EL
-o
$@
-T memmap
22 kernel.bin
: kernel.elf
23 $(TOOLCHAIN
)-objcopy
$< -I elf64-little
-O binary
$@
26 $(AS
) $(AFLAGS
) -c
$< -le
-o
$@