NOR flash detection failure on i.MX6Q board

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

NOR flash detection failure on i.MX6Q board

1,909件の閲覧回数
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

ラベル(4)
タグ(2)
0 件の賞賛
返信
1 返信

1,534件の閲覧回数
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!

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