Petalinux 2018.2 nand : no NAND device found 解决办法

修改已经创建的Petalinux2018.2 项目 目录 (<Petalinux Project>/project-spec/meta-user/recipes-bsp/device-tree/files/system-usr.dtsi)

增加 Nand flash 的工作时序,具体时序由所用Nand flash芯片决定,下面的示例为  Micron MT29F4G08ABADAWP

       修改后的内容如下:

/include/ "system-conf.dtsi"
/ {
};

&nand0 {
    arm,nand-cycle-t0 = <0x1E>;    /* t_rc  */
    arm,nand-cycle-t1 = <0x1E>;    /* t_wc  */
    arm,nand-cycle-t2 = <0x8>;  /* t_rea */
    arm,nand-cycle-t3 = <0x14>; /* t_wp  */
    arm,nand-cycle-t4 = <0x14>; /* t_clr */
    arm,nand-cycle-t5 = <0x14>; /* t_ar  */
    arm,nand-cycle-t6 = <0x1E>; /* t_rr  */
    status = "okay";
};

然后 petalinux-build 重新编译项目。

注:

    The timing parameters t0, t1, t2, t3, t4, t5, t6 denotes
    nand-cycle-t0 : Read cycle time(t_rc).
    nand-cycle-t1 : Write cycle time(t_wc).
    nand-cycle-t2 : re_n assertion delay(t_rea).
    nand-cycle-t3 : we_n de-assertion delay(t_wp).
    nand-cycle-t4 : Status read time(t_clr)
    nand-cycle-t5 : ID read time(t_ar)
    nand-cycle-t6 : busy to re_n(t_rr)
  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值