Skip to content

Commit c0d90d1

Browse files
author
matthew.gui
committed
build: drop kernel.dtb from qemu disk.img to avoid dts data mismatch.
because the dts may be updated in freeloader. Signed-off-by: matthew.gui <guibing@nuclei.com>
1 parent 8c16b9d commit c0d90d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ $(qemu_disk): $(boot_zip)
559559
cd $(boot_wrkdir) && dd if=/dev/zero of=$(qemu_disk) bs=$(DISK_SIZE)M count=1
560560
echo "Please make sure mformat version is >= 4.0.24, current version $(shell mformat --version)"
561561
cd $(boot_wrkdir) && mformat -F -h 64 -s 32 -t $$(($(DISK_SIZE)-1)) :: -i $(qemu_disk) || rm -f $(qemu_disk)
562-
cd $(boot_wrkdir) && mcopy -i $(qemu_disk) boot.scr kernel.dtb uImage.lz4 uInitrd.lz4 :: || rm -f $(qemu_disk)
562+
cd $(boot_wrkdir) && mcopy -i $(qemu_disk) boot.scr uImage.lz4 uInitrd.lz4 :: || rm -f $(qemu_disk)
563563

564564
run_qemu: $(qemu_disk) $(freeloader_elf)
565565
@echo "Run on qemu for simulation"

0 commit comments

Comments
 (0)