Open bartiszosti opened 1 month ago
Wic image can be used for block devices only. If you want to have image generated for spi flash then you need format which is valid for spi flash which can be jffs2 e.g. and this you can then flashed to spi flash. I never tried that so you need to try. Thanks.
Hello, thanks for you answer. It was my bad, now I know how to use the SPI flash, but I met next issue. I'd like to partition the SPI flash, but u-boot doesn't see any MTD device. What configuration I need to enable it? Do you know?
Hi, please check if you have options enabled: https://github.com/u-boot/u-boot/blob/master/drivers/mtd/Kconfig
I'd like to place whole image on the external SPI flash and to do so I've done some changes. According to the official documentation I've added to the u-boot config these lines
I've also modified the .dts file to make partitions on the flash connected via spi0
I've also modified the boot.cmd
Finally, I ve chenged the .wks.in file as below:
At the end I got an .wic file, but I need a .bin file how to transform an .wic image to different format? What is the UBOOT_ENTRYPOINT variable? Did I do all necassary changes?
The u-boot output