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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
4,398 Views
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 Kudos
Reply
1 Solution
4,364 Views
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

View solution in original post

0 Kudos
Reply
6 Replies
4,365 Views
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 Kudos
Reply
4,384 Views
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 Kudos
Reply
4,371 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

The folder is meta-freescale/wic

wks document:

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

0 Kudos
Reply
4,391 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

You need find .bb file about imx-boot

0 Kudos
Reply
4,338 Views
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 Kudos
Reply
4,339 Views
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 Kudos
Reply