wic image with custom names for u-boot and kernel Image

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

wic image with custom names for u-boot and kernel Image

跳至解决方案
4,373 次查看
richc128
Contributor III

I'm working with gatesgarth and a compulab i.mx8mp module. I'm signing my flash.bin and Image file so I get new files flash.bin.signed and Image.signed.

I'd like these images to end up in the wic image rather than the unsigned files. I'd be fine with either of these solutions:

  1. I can figure out what recipe packages the wic file and change the names there
  2. Figure out who makes the symbolic links and change those. For instance, have a recipe do this imx-boot -> flash.bin.signed

What recipe controls wic image creation? Maybe I can start there.

0 项奖励
回复
1 解答
4,339 次查看
richc128
Contributor III

thanks @Zhiming_Liu the file is imx-imx-boot-bootpart.wks.in and can be overwritten by simply defining ones own with WKS_FILE

在原帖中查看解决方案

0 项奖励
回复
6 回复数
4,340 次查看
richc128
Contributor III

thanks @Zhiming_Liu the file is imx-imx-boot-bootpart.wks.in and can be overwritten by simply defining ones own with WKS_FILE

0 项奖励
回复
4,359 次查看
richc128
Contributor III

@Zhiming_Liuimx-boot is the bootloader. What recipe controls wic image creation, e.g., figures out what the partition layout is and what files go into it?

0 项奖励
回复
4,346 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

The folder is meta-freescale/wic

wks document:

https://docs.yoctoproject.org/ref-manual/kickstart.html

0 项奖励
回复
4,366 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

You need find .bb file about imx-boot

0 项奖励
回复
4,313 次查看
songhongliang
Contributor II

I hope that the image compiled by yocto can automatically expand the partition, then I can compile a smaller image to flash, saving the flashing time.

0 项奖励
回复
4,314 次查看
songhongliang
Contributor II

hi Qmiller

imx8, after I flash the machine, the entire emmc is only used about 4GB, if my EMMC is a 16GB, how can I allocate the remaining storage to the root directory

Thanks

0 项奖励
回复