endif
endif
-BOOT_INIT_BASE ?= 0xf0000000 # at QSPI address
-# BOOT_INIT_BASE ?= 0xff000000 # at ROM hi address (with coldboot firmware)
+#BOOT_INIT_BASE ?= 0xf0000000 # at QSPI address
+ BOOT_INIT_BASE ?= 0xff000000 # at ROM hi address (with coldboot firmware)
# BOOT_INIT_BASE ?= 0x0 # start at zero (usual)
CC = $(CROSS_COMPILE)gcc
hello_world.elf: hello_world.o head.o console.o powerpc.lds
$(LD) $(LDFLAGS) -o $@ hello_world.o head.o console.o
+ powerpc64le-linux-gnu-objdump -D hello_world.elf > hello_world.as
hello_world.bin: hello_world.elf
$(OBJCOPY) -O binary $^ $@
../scripts/bin2hex.py $^ > $@
clean:
- @rm -f *.o hello_world.elf hello_world.bin hello_world.hex
+ @rm -f *.o hello_world.elf hello_world.bin hello_world.hex powerpc.lds
distclean: clean
rm -f *~