jffs2 for loading kernel image from spi-flash

kwangdo yi kwangdo.yi at gmail.com
Sat Dec 10 18:35:55 CET 2022


Hi u-boot professionals,

Sorry for this unsolicited email.
I am working on bringing up the kernel.jffs2 stored in one of the
spi-nor flash mtd partitions.
But the jffs2 cmds (fsload, fsinfo, fsls) to load it to the boot
address seem to work only with memory-mapped nor flash. The
get_fl_mem_nor() in jffs2_1pass.c has memcpy(), which means it is
using memory mapped nor flash. I am using qspi driver and "sf read"
cmd works well.
Does current u-boot jffs2 cmd support only memory mapped nor flash?
Or does u-boot have different cmd to load jffs2 image from nor flash?

Regards,
KD


More information about the U-Boot mailing list