Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1583

Using JFFS2 partition on RSKRZA1 board with Linux 4.19 BSP

$
0
0

Dear,

I'm trying to use a JFFS2 partition on Renesas RSK board with the lastest BSP Linux 4.19.

The BSP is working in XIP mode with AXFS partition using the QSPI nor flash with direct access (0x18000000).

To use the QSPI flash not in XIP mode i understand that the driver SPIBSC is needed.

But this driver is not configured in the board device tree.

I tryied the following configuration (r7s72100-rskrza1.dtb) :

 

&spibsc0 {
    status = "okay";

    flash@0 {
    /*    compatible = "spansion,s25fl512s", "jedec,spi-nor"; */
        compatible = "jedec,spi-nor";    /* let it auto-detect the flash */
        reg = <0>;

        spi-max-frequency = <66000000>;

        /* SPI Mode 3 */
        spi-cpol;
        spi-cpha;
        m25p,fast-read;

        partitions {
            compatible = "fixed-partitions";
            #address-cells = <1>;
            #size-cells = <1>;

            partition@800000 {
                label = "spibsc-rootfs";
                reg = <0x00800000 0x00800000>;    /* 8MB */
            };
        };
    };
};

 

But i get the following error :

 

[    1.741433] List of all partitions:
[    1.745103] No filesystem could mount root, tried:
[    1.745113]  jffs2
[    1.750334]
[    1.753895] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

 

It seems to be a mistake in the dtb file,

Is there an example for this configuration ?

 

Thank,

Stéphane

 


Viewing all articles
Browse latest Browse all 1583

Trending Articles