lx2160ardb Xspi-fw add tiny.itb

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

lx2160ardb Xspi-fw add tiny.itb

1,015件の閲覧回数
wutianyi
Contributor II

Hi  NXP:

    We found a strange issue while building SPI-firmware. If I don't put tiny images in the back, then this firmware will work. If I put Tiny image, it won't boot. This problem is very strange, according to the data behind, it will not affect the normal boot logic.

This is my makefile:

define fcreate_boot
$(Q)dd if=$(IMAGE_BUILD)/$(PBL_BIN) of=$(IMAGE_BUILD)/boot.bin
$(Q)dd if=$(IMAGE_BUILD)/$(FIP_BIN) of=$(IMAGE_BUILD)/boot.bin seek=1 bs=1M
$(Q)dd if=$(IMAGE_BUILD)/$(DDR_BIN) of=$(IMAGE_BUILD)/boot.bin seek=1 bs=8M
$(Q)dd if=$(IMAGE_BUILD)/$(MC_IMG) of=$(IMAGE_BUILD)/boot.bin seek=1 bs=10M
$(Q)dd if=$(IMAGE_BUILD)/dpl.dtb of=$(IMAGE_BUILD)/boot.bin seek=1 bs=13M
$(Q)dd if=$(IMAGE_BUILD)/dpc.dtb of=$(IMAGE_BUILD)/boot.bin seek=1 bs=14M
#$(Q)dd if=$(IMAGE_BUILD)/$(LINUX_DTB) of=$(IMAGE_BUILD)/boot.bin seek=1 bs=15M
#$(Q)dd if=$(IMAGE_BUILD)/linux.itb of=$(IMAGE_BUILD)/boot.bin seek=1 bs=16M
endef

Thanks

Tianyi

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

986件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

dd if=${DEPLOY_DIR_IMAGE}/${img_file} of=${fw_img} bs=1K seek=${offset}

seek should be offset of the image.

For memory map, please refer to "Table 22. Unified 64 MiB memory layout of NOR/QSPI/XSPI/NAND/SD media for composite firmware on all Layerscape platforms" in LSDK 21.08 user manual.

983件の閲覧回数
wutianyi
Contributor II

Thank you. I've identified the problem. There is no problem in the img production, because the case of flash configured inside the driver is wrong, the actual flash is 32M, and the driver configuration is 64M. The hardware does not support such a large image.

Thanks

Tianyi

0 件の賞賛
返信