1 Reply Latest reply on May 10, 2019 3:47 AM by BacemD_61

    S34ML02G100TFI000升级到S34ML04G300TFI000软件需要做哪些操作

    RoPe_2386886

      platform:frescale P2020/P2021

      通过查打印信息,第一次POR之后device not found,原因是读到deviceID和manu ID都是0,而进系统重启一遍能读到这两个值分别是01和dc。
      感觉的系统复位的过程中NAND才被初始化了,不然读全0,在uboot下重启也是没用的。
      并做了一个实验,下面节选了扣板上电的一段打印信息,通过启动过程中不同时间点多次按键复位实验。由于打印速度过快,不可能手动复位精确时间点,仅做参考。扫不到

      NAND 原因都是因为nand_get_flash_type函数识别到deviceID和Manu ID和设置值不匹配导致,请帮忙看看如何解决该问题,谢谢!
      Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
      io scheduler noop registered
      io scheduler deadline registered
      io scheduler cfq registered (default)
      LTT : ltt-relay init
      pci_hotplug: PCI Hot Plug PCI Core version: 0.5
      pciehp: PCI Express Hot Plug Controller Driver version: 0.4
      shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
      Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
      serial8250.0: ttyS0 at MMIO 0xfffe04500 (irq = 42) is a 16550A
      console [ttyS0] enabled, bootconsole disabled
      console [ttyS0] enabled, bootconsole disabled
      serial8250.0: ttyS1 at MMIO 0xfffe04600 (irq = 42) is a 16550A
      brd: module loaded
      loop: module loaded
      ferry start fe0000000 end fefffffff
      Number of erase regions: 1
      Primary Vendor Command Set: 0002 (AMD/Fujitsu Standard)
      Primary Algorithm Table at 0040
      Alternative Vendor Command Set: 0000 (None)
      No Alternate Algorithm Table
      Vcc Minimum: 2.7 V
      Vcc Maximum: 3.6 V
      No Vpp line
      Typical byte/word write timeout: 256 碌s
      Maximum byte/word write timeout: 512 碌s
      Typical full buffer write timeout: 512 碌s
      Maximum full buffer write timeout: 2048 碌s
      Typical block erase timeout: 256 ms
      Maximum block erase timeout: 2048 ms
      Typical chip erase timeout: 524288 ms
      Maximum chip erase timeout: 4194304 ms
      此处按键复位重启后仍扫不到NAND。
      Device size: 0x10000000 bytes (256 MiB)
      Flash Device Interface description: 0x0001
      - x16-only asynchronous interface
      Max. bytes in buffer write: 0x200
      Number of Erase Block Regions: 1
      Erase Region #0: BlockSize 0x20000 bytes, 2048 blocks
      fe0000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank
      Amd/Fujitsu Extended Query Table at 0x0040
      Silicon revision: 14
      Address sensitive unlock: Required
      Erase Suspend: Read/write
      Block protection: 1 sectors per group
      Temporary block unprotect: Not supported
      Block protect/unprotect scheme: 8
      Number of simultaneous operations: 0
      Burst mode: Not supported
      Page mode: 12 word page
      Vpp Supply Minimum Program/Erase Voltage: 0.0 V
      Vpp Supply Maximum Program/Erase Voltage: 0.0 V
      Top/Bottom Boot Block: Uniform, Top WP
      fe0000000.nor: CFI does not contain boot bank location. Assuming top.
      number of CFI chips: 1
      cmdlinepart partition parsing not available
      RedBoot partition parsing not available
      Creating 8 MTD partitions on "fe0000000.nor":
      0x000000000000-0x000000080000 : "NOR (RW) double boot Slave 512K"
      0x000000080000-0x000000100000 : "NOR (RW) double boot Master 512K"
      0x000000100000-0x000000180000 : "NOR (RW) flash 512K dtb"
      0x000000180000-0x000000200000 : "NOR (RW) flash 512K sys configure info"
      0x000000200000-0x000000600000 : "NOR (RW) flash 4M kernel"
      0x000000600000-0x000003800000 : "NOR (RO) flash 50M squahfs"
      0x000003800000-0x000009c00000 : "NOR (RW) flash 100M backup jffs"
      0x000009c00000-0x000010000000 : "NOR (RW) flash 100M appfs jffs"
      ferry start fdc000000 end fdcffffff
      priv->fmr = 0
      NAND device: Manufacturer ID: 0x01, Chip ID: 0xdc (AMD NAND 512MiB 3,3V 8-bit)
      Bad block table not found for chip 0
      cmdlinepart partition parsing not available
      RedBoot partition parsing not available
      Creating 1 MTD partitions on "dc000000.flash":
      0x000000000000-0x000010000000 : "NAND (RW) flash 256M yaffs partion"
      eLBC NAND device at 0xfdc000000, bank 7
      ferry start fffe07000 end fffe07fff
      fsl_espi fffe07000.spi: at 0xe5230000 (irq = 59)
      Fixed MDIO Bus: probed
      ferry start fffe24000 end fffe24fff
      IEEE1588: disable on the system.
      eth0: Gianfar Ethernet Controller Version 1.2, 00:e0:0c:68:00:60
      eth0: Running with NAPI enabled
      eth0: RX BD ring size for Q[0]: 256
      eth0: TX BD ring size for Q[0]: 256
      ferry start fffe25000 end fffe25fff
      IEEE1588: disable on the system.
      eth1: Gianfar Ethernet Controller Version 1.2, 00:e0:0c:68:01:60
      eth1: Running with NAPI enabled
      eth1: RX BD ring size for Q[0]: 256
      eth1: TX BD ring size for Q[0]: 256
      ferry start fffe26000 end fffe26fff
      IEEE1588: disable on the system.
      eth2: Gianfar Ethernet Controller Version 1.2, 00:e0:0c:68:02:60
      eth2: Running with NAPI enabled
      eth2: RX BD ring size for Q[0]: 256
      eth2: TX BD ring size for Q[0]: 256
      tun: Universal TUN/TAP device driver, 1.6
      tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
      console [netcon0] enabled
      netconsole: network logging started
      i2c /dev entries driver
      ferry start fffe03000 end fffe030ff
      rtc-ds1307: probe of 0-0068 failed with error -5
      ferry start fffe03100 end fffe031ff
      PowerPC Book-E Watchdog Timer Loaded
      PowerPC Book-E Watchdog Timer Enabled (wdt_period=31)
      NET: Registered protocol family 26
      TCP cubic registered
      Initializing XFRM netlink socket
      NET: Registered protocol family 27
      NET: Registered protocol family 17
      NET: Registered protocol family 15
      drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
      VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
      devtmpfs: mounted
      Freeing unused kernel memory: 232k init
      PowerPC Book-E Watchdog Timer Disabled
      grsec: mount of none to /proc by /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0, parent /[swapper:0] uid/euid:0/0 gid/egid:0/0
      grsec: unmount of none by /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0, parent /[swapper:0] uid/euid:0/0 gid/egid:0/0
      INIT: version 2.86 booting
      grsec: mount of /proc to /proc by /bin/mount[mount:91] uid/euid:0/0 gid/egid:0/0, parent /etc/rc.d/rc.sysinit[rc.sysinit:89] uid/euid:0/0 gid/egid:0/0
      grsec: mount of /sys to /sys by /bin/mount[mount:92] uid/euid:0/0 gid/egid:0/0, parent /etc/rc.d/rc.sysinit[rc.sysinit:89] uid/euid:0/0 gid/egid:0/0
      Welcome to Fiberhome Linux
      此处按键复位重启后可以扫到NAND。
      Starting udev: [ OK ]
      Setting hostname localhost: [ OK ]
      Mounting local filesystems: [ OK ]
      Enabling /etc/fstab swaps: [ OK ]
      INIT: Entering runlevel: 3
      Entering non-interactive startup
      Starting enterprise event logger: [ OK ]
      Starting remote event logger: [ OK ]
      Starting auditd: [ OK ]