NOR flash detection failure on i.MX6Q board

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

NOR flash detection failure on i.MX6Q board

1,903 Views
hareeshdas
Contributor II

Hi All,

  We have a i.MX6Q custom board with one parallel NOR flash (32MB, Asynchronus, Address(24bit) and data(16bit) multiplexed) connected on EIM lines. I have added the device tree as shown below.  We are using 3.14.28 kernel with Yocto distribution.

&weim {

        pinctrl-names = "default";

        pinctrl-0 = <&pinctrl_weim_nor &pinctrl_weim_cs0>;

        #address-cells = <2>;

        #size-cells = <1>;

        ranges = <0 0 0x08000000 0x08000000>;

        status = "okay";

        nor@0,0 {

                compatible = "cfi-flash";

                reg = <0 0x0 0x02000000>;

                #address-cells = <1>;

                #size-cells = <1>;

                bank-width = <2>;

                fsl,weim-cs-timing = <0x00610089 0x00000001 0x1c022000

                        0x0000c000 0x1404a38e 0x00000000>;

        };

};

And the he nor flash detection is failed. Any help is highly appreciated. What are the menu config options I have to enable ?

Thanks,

Hareesh

Labels (4)
Tags (2)
0 Kudos
Reply
1 Reply

1,528 Views
igorpadykov
NXP Employee
NXP Employee

Hi Hareesh

parallel NOR is supported on sabre ai board

linux-2.6-imx.git - Freescale i.MX Linux Tree

linux-2.6-imx.git - Freescale i.MX Linux Tree

also it should be enabled in uboot/kernel, refer to attached

Release Notes Table 2,3 and Linux Manual Chapter 43 EIM NOR Driver

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------