I want to use the JFFS2 file system in the QSPI Flash of the LS1012A.

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

I want to use the JFFS2 file system in the QSPI Flash of the LS1012A.

1,350 Views
인섭심
Contributor I

Looking at kernel.its

    images {
        kernel@1 {
            description = "ARM64 Linux kernel";
            data = /incbin/("./arch/arm64/boot/Image");
            type = "kernel";
            arch = "arm64";
            os = "linux";
            compression = "none";
            load = <0x80080000>;
            entry = <0x80080000>;
        };
        fdt@1 {
            description = "Flattened Device Tree blob";
            data = /incbin/("./arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dtb");
            type = "flat_dt";
            arch = "arm64";
            compression = "none";
            load = <0x90000000>;
        };
        ramdisk@1 {
            description = "LS2 Ramdisk";
                        data = /incbin/("./ramdisk.ext2.gz");
            type = "ramdisk";
            arch = "arm64";
            os = "linux";
            compression = "none";
        };
    };

I want to add JFFS2 File System here. Is it possible?

If so, how do I set it up?

0 Kudos
Reply
2 Replies

1,171 Views
bpe
NXP Employee
NXP Employee

You cannot include a JFFS2 filesystem image into an ITB  composite image because JFFS2 cannot
cannot work out of RAM. You can only program it into a partition
on an MTD device.

Visit the link below on how to build a JFFS2 root filesystem with
QorIQ SDK:

https://nxp.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-F077305B-5163-44EA-A9B0-325E412...

More suggestions on working with MTD can be found here:

https://nxp.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-A28089FD-8D34-46BA-9AFA-DADE8DE...

Note that for QSPI Flash the kernel configuration options and u-Boot
commands for programming the image are different from those for parallel Flash
memories discussed in the document.


Have a great day,
Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

1,171 Views
인섭심
Contributor I
Thank you for your reply.
Is it impossible to use the JFFS2 file system without including it in the ITB?
For example, KERNEL ITB area 29MB & JFFS2 FileSystem 30MB.
I would like to know how to create a Kernel Mtd Partition.
And the link you provided above is not accessible.
0 Kudos
Reply