Append kernel image to fu540.elf, but still not working on HfU

master
Jiajie Chen 6 years ago
parent c34a420a39
commit 96e393ecd4

@ -366,7 +366,8 @@ endif
ifeq ($(board), u540) ifeq ($(board), u540)
.PHONY: .PHONY:
install: $(kernel_img) install: $(kernel_img)
@$(objcopy) -S -O binary --change-addresses -0x80000000 $< $(build_path)/bin @$(objcopy) -S -O binary ../tools/opensbi/fu540.elf $(build_path)/bin
@dd if=$< of=$(build_path)/bin bs=131072 seek=16
@../tools/u540/mkimg.sh $(build_path)/bin $(build_path)/sd.img @../tools/u540/mkimg.sh $(build_path)/bin $(build_path)/sd.img
endif endif

Loading…
Cancel
Save