S29GL01GS U-boot and linux support

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hello,

I have a custom board that uses S29GL01GS Parallel NOR flash (128 MB) connected to imx6q processor through EIM bus.

While booting I get the following error :

of-flash 8000000.nor: do_map_probe() failed

My linux kernel is 3.14.1.1.

This is my device tree configuration:

&weim {

        compatible = "fsl,imx6q-weim";

        reg = <0x021b8000 0x4000>;

        clocks = <&clks IMX6QDL_CLK_EIM_SLOW>;

        pinctrl-names = "default";

        pinctrl-0 = <&pinctrl_weim_nor_2 &pinctrl_weim_cs0_2>; 

        #address-cells = <2>;//see below:1 cell for 4 hex digits

        #size-cells = <1>;

            ranges = <0 0 0x08000000 0x08000000>; 

        status = "okay";

            nor@0,0 {

            compatible = "cfi-flash";

            reg = <0 0 0x04000000>;

            #address-cells = <1>;

            #size-cells = <1>;

            bank-width = <2>;

            fsl,weim-cs-timing = <0x10610281 0x00000001 0x0b020000

                0x00008000 0x1c000000 0x00000000>;

            };

    };

Is there any patch to support this NOR flash?

Thanks and regards,

Sumish

0 Likes
2 Replies
Apurva_S
Moderator
Moderator
Moderator
100 likes received 500 replies posted 250 solutions authored

Hi Sumish,

There is no patch needed for the GL01GS.

You could attach a logic analyzer and take a look at the bus signals.

Please let me know if you need any further assistance on this.

Thanks and Regards,

Apurva

0 Likes
Anonymous
Not applicable

Hi Apurva,

Thanks for your answer. I will revert back in case I need any help.

Thanks and Regards,

Sumish

0 Likes