Part Number:66AK2E05
您好,
我司基于EVMK2E开发板,设计了一款 K2E 的板。
使用原来的512MB NAND Flash (MT29F4G08ABBDAH4),是正常工作的。
为扩展空间,选用了一款 1GB 的NAND Flash 芯片,(MT29F8G08ADBDAH4)
但是出现了Kernel 错误。
以下是详细Log
U-Boot SPL 2013.01 (Jul 17 2020 - 16:43:24) SF: Detected N25Q128A with page size 64 KiB, total 16 MiB U-Boot 2013.01 (Jul 17 2020 - 16:43:24) I2C:ready SPD csum OK; in SPD: D2 B0; computed 000000D2 B0 DDR3A Speed will be configured for 1600 Operation. Detected SO-DIMM [18KSF51272HZ-1G6K2] DDR3 speed 1600 DRAM: 4 GiB Reseting entire DDR3 memory to 0 ... DRAM: 2 GiB NAND: 1024 MiB Smart Reflex Class 0 temperature compensation enabled tps544_init i2c write error Smart Reflex Class 0 temperature compensation disabled Net:K2E_EMAC0 Warning: K2E_EMAC0 using MAC address from net device , K2E_EMAC1, K2E_EMAC2, K2E_EMAC3, K2E_EMAC4, K2E_EMAC5, K2E_EMAC6, K2E_EMAC7 Hit any key to stop autoboot: 0 Creating 1 MTD partitions on "nand0": 0x000000180000-0x000040000000 : "mtd=2" UBI: attaching mtd1 to ubi0 UBI: physical eraseblock size:131072 bytes (128 KiB) UBI: logical eraseblock size:126976 bytes UBI: smallest flash I/O unit:2048 UBI: VID header offset:2048 (aligned 2048) UBI: data offset:4096 UBI: attached mtd1 to ubi0 UBI: MTD device name:"mtd=2" UBI: MTD device size:1022 MiB UBI: number of good PEBs:8176 UBI: number of bad PEBs:4 UBI: max. allowed volumes:128 UBI: wear-leveling threshold:4096 UBI: number of internal volumes: 1 UBI: number of user volumes:3 UBI: available PEBs:0 UBI: total number of reserved PEBs: 8176 UBI: number of PEBs reserved for bad PEB handling: 81 UBI: max/mean erase counter: 1/0 UBIFS: mounted UBI device 0, volume 0, name "boot" UBIFS: mounted read-only UBIFS: file system size:4571136 bytes (4464 KiB, 4 MiB, 36 LEBs) UBIFS: journal size:1142785 bytes (1116 KiB, 1 MiB, 8 LEBs) UBIFS: media format:w4/r0 (latest is w4/r0) UBIFS: default compressor: LZO UBIFS: reserved for root: 0 bytes (0 KiB) Loading file 'securedb.key.bin' to addr 0x0c000000 with size 28 (0x0000001c)... Done Loading file 'uImage-k2e-evm.dtb' to addr 0x87000000 with size 46081 (0x0000b401)... Done Loading file 'skern-k2e-evm.bin' to addr 0x0c140000 with size 45056 (0x0000b000)... Done Loading file 'uImage-keystone-evm.bin' to addr 0x88000000 with size 4175080 (0x003fb4e8)... Done ## installed monitor, freq [208333333], status 0 ## Booting kernel from Legacy Image at 88000000 ...Image Name:Linux-3.10.72Created:2020-09-066:55:54 UTCImage Type:ARM Linux Kernel Image (uncompressed)Data Size:4175016 Bytes = 4 MiBLoad Address: 80008000Entry Point: 80008000Verifying Checksum ... OK ## Flattened Device Tree blob at 87000000Booting using the fdt blob at 0x87000000Loading Kernel Image ... OK OKUsing Device Tree in place at 87000000, end 8700e400 Starting kernel ... [0.000000] Booting Linux on physical CPU 0x0 [0.000000] Linux version 3.10.72 (root@athena-VirtualBox) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #1 SMP Sun Sep 6 14:55:43 CST 2020 [0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c7387d [0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache [0.000000] Machine: KeyStone2, model: Texas Instruments Keystone 2 SoC [0.000000] switching to high address space at 0x800000000 [0.000000] cma: CMA: reserved 16 MiB at 2e800000 [0.000000] Memory policy: ECC disabled, Data cache writealloc [0.000000] PERCPU: Embedded 8 pages/cpu @c2875000 s11264 r8192 d13312 u32768 [0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 915984 [0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 rootfstype=ubifs root=ubi0:rootfs rootflags=sync rw ubi.mtd=2,2048 [0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [0.000000] Memory: 1536MB 2048MB = 3584MB total [0.000000] Memory: 3615280k/3615280k available, 54736k reserved, 2891776K highmem [0.000000] Virtual kernel memory layout: [0.000000]vector : 0xffff0000 - 0xffff1000(4 kB) [0.000000]fixmap : 0xfff00000 - 0xfffe0000( 896 kB) [0.000000]vmalloc : 0xf0000000 - 0xff000000( 240 MB) [0.000000]lowmem : 0xc0000000 - 0xef800000( 760 MB) [0.000000]pkmap: 0xbfe00000 - 0xc0000000(2 MB) [0.000000]modules : 0xbf000000 - 0xbfe00000( 14 MB) [0.000000].text : 0xc0008000 - 0xc075cb5c(7507 kB) [0.000000].init : 0xc075d000 - 0xc07b0c00( 335 kB) [0.000000].data : 0xc07b2000 - 0xc081a398( 417 kB) [0.000000].bss : 0xc081a398 - 0xc084c5fc( 201 kB) [0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [0.000000] Hierarchical RCU implementation. [0.000000] NR_IRQS:16 nr_irqs:16 16 [0.000000] ipc irq: irqchip registered, range 512-539 [0.000000] Main PLL clk (1250000000 Hz), parent (100000000 Hz),postdiv = 2, mult = 24, prediv = 0 [0.000000] Generic PLL clk (1000000000 Hz), parent (100000000 Hz),postdiv = 2, mult = 19, prediv = 0 [0.000000] Generic PLL clk (400000000 Hz), parent (100000000 Hz),postdiv = 4, mult = 15, prediv = 0 [0.000000] Architected local timer running at 208.33MHz (phys). [0.000000] Switching to timer-based delay loop [0.000000] sched_clock: ARM arch timer >56 bits at 208333kHz, resolution 614/128ns [0.000000] keystone timer clock @208333333 MHz [0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms [0.000000] Console: colour dummy device 80x30 [34.649869] Calibrating delay loop (skipped), value calculated using timer frequency.. 416.66 BogoMIPS (lpj=2083333) [34.649878] pid_max: default: 4096 minimum: 301 [34.650006] Mount-cache hash table entries: 512 [34.657184] CPU: Testing write buffer coherency: ok [34.657343] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [34.657351] psci: probing function IDs from device-tree [34.657365] Setting up static identity map for 0xc0530260 - 0xc05302b8 [34.662473] CPU1: Booted secondary processor [34.662498] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [34.667356] CPU2: Booted secondary processor [34.667381] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [34.672222] CPU3: Booted secondary processor [34.672247] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [34.672316] Brought up 4 CPUs [34.672332] SMP: Total of 4 processors activated (1666.66 BogoMIPS). [34.672337] CPU: All CPU(s) started in SVC mode. [34.672759] devtmpfs: initialized [34.684909] NET: Registered protocol family 16 [34.685767] DMA: preallocated 256 KiB pool for atomic coherent allocations [34.696210] No ATAGs? [34.696225] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [34.696232] hw-breakpoint: maximum watchpoint size is 8 bytes. [34.706168] bio: create slab <bio-0> at 0 [34.706530] keystone-pcie: keystone_pcie_rc_init - start [34.706550] keystone2_pcie_serdes_setup for domain 0 [34.708666] keystone2_pcie_serdes_setup done domain 0, en_link_train = 1 [34.708693] keystone-pcie: MEM 0x0000000050000000..0x000000005fffffff -> 0x0000000050000000 [34.708701] keystone-pcie: IO 0x0000000023250000..0x0000000023253fff -> 0x0000000000000000 [34.708730] keystone-pcie: pcie - number of legacy irqs = 4 [34.708771] keystone-pcie: pcie - number of MSI host irqs = 8, msi_irqs = 32 [34.809632] keystone-pcie: Doing PCI Setup...Done [34.809637] keystone-pcie: Starting PCI scan, nr 0... [34.809758] PCI host bridge to bus 0000:00 [34.809767] pci_bus 0000:00: root bus resource [mem 0x50000000-0x5fffffff] [34.809774] pci_bus 0000:00: root bus resource [io 0x0000-0x3fff] [34.809780] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [34.809820] PCI: bus0: Fast back to back transfers enabled [34.809835] keystone-pcie: Ending PCI scan... [34.809842] keystone-pcie: keystone_pcie_rc_init - end [34.809886] keystone-pcie: keystone_pcie_rc_init - start [34.809903] keystone2_pcie_serdes_setup for domain 1 [34.812018] keystone2_pcie_serdes_setup done domain 1, en_link_train = 1 [34.812043] keystone-pcie: MEM 0x0000000060000000..0x000000006fffffff -> 0x0000000060000000 [34.812051] keystone-pcie: IO 0x0000000023260000..0x0000000023263fff -> 0x0000000000004000 [34.812078] keystone-pcie: pcie - number of legacy irqs = 4 [34.812118] keystone-pcie: pcie - number of MSI host irqs = 8, msi_irqs = 32 [34.919596] keystone-pcie: Doing PCI Setup...Done [34.919602] keystone-pcie: Starting PCI scan, nr 0... [34.919717] PCI host bridge to bus 0001:00 [34.919725] pci_bus 0001:00: root bus resource [mem 0x60000000-0x6fffffff] [34.919732] pci_bus 0001:00: root bus resource [io 0x4000-0x7fff] [34.919738] pci_bus 0001:00: No busn resource found for root bus, will use [bus 00-ff] [34.919775] PCI: bus0: Fast back to back transfers enabled [34.919789] keystone-pcie: Ending PCI scan... [34.919794] keystone-pcie: keystone_pcie_rc_init - end [34.919997] vgaarb: loaded [34.920283] SCSI subsystem initialized [34.920842] usbcore: registered new interface driver usbfs [34.920917] usbcore: registered new interface driver hub [34.921009] usbcore: registered new device driver usb [34.922041] pps_core: LinuxPPS API ver. 1 registered [34.922046] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [34.922108] PTP clock support registered [34.922238] keystone-hwqueue hwqueue.36: qmgr start queue 0, number of queues 8192 [34.922310] keystone-hwqueue hwqueue.36: added qmgr start queue 0, num of queues 8192, reg_peek f0040000, reg_status f0006000, reg_config f0008000, reg_region f000a000, reg_push f0080000, reg_pop f00c0000 [34.923037] keystone-hwqueue hwqueue.36: qos: sched port @8096, drop sched @8000 [34.924006] keystone-hwqueue hwqueue.36: qos: sched port @6496, drop sched @6400 [34.924932] keystone-hwqueue hwqueue.36: added pool pool-rio: 1024 descriptors of size 128 [34.924941] keystone-hwqueue hwqueue.36: added pool pool-xge: 1024 descriptors of size 128 [34.924950] keystone-hwqueue hwqueue.36: added pool pool-crypto: 1024 descriptors of size 128 [34.924958] keystone-hwqueue hwqueue.36: added pool pool-net: 15360 descriptors of size 128 [34.924967] keystone-hwqueue hwqueue.36: added pool pool-udma: 240 descriptors of size 256 [34.925086] keystone-hwqueue hwqueue.36: failed to set up pool pool-rio 1024 [34.925923] keystone-hwqueue hwqueue.36: registered queues 0-8191 [34.926172] keystone-hwqueue hwqueue.36: qos version 0x200010b, magic valid [34.926654] keystone-hwqueue hwqueue.36: qos version 0x200010b, magic valid [34.927446] keystone-hwqueue hwqueue.36: no region for pool pool-rio [34.931458] keystone-pktdma 2a08000.pktdma: registered 4 logical channels, flows 32, tx chans: 32, rx chans: 32, loopback [34.935983] keystone-pktdma 24186000.pktdma: registered 44 logical channels, flows 128, tx chans: 21, rx chans: 91 [34.936468] keystone-pktdma 2fa1000.pktdma: registered 4 logical channels, flows 32, tx chans: 16, rx chans: 16 [34.936596] Switching to clocksource arch_sys_counter [34.953545] NET: Registered protocol family 2 [34.954007] TCP established hash table entries: 8192 (order: 4, 65536 bytes) [34.954114] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [34.954218] TCP: Hash tables configured (established 8192 bind 8192) [34.954258] TCP: reno registered [34.954266] UDP hash table entries: 512 (order: 2, 16384 bytes) [34.954291] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [34.954456] NET: Registered protocol family 1 [34.954591] RPC: Registered named UNIX socket transport module. [34.954597] RPC: Registered udp transport module. [34.954601] RPC: Registered tcp transport module. [34.954605] RPC: Registered tcp NFSv4.1 backchannel transport module. [34.954970] hw perfevents: enabled with ARMv7 Cortex-A15 PMU driver, 7 counters available [35.028542] bounce pool size: 64 pages [35.035246] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [35.035407] NTFS driver 2.1.30 [Flags: R/O]. [35.035623] jffs2: version 2.2. (NAND) ?? 2001-2006 Red Hat, Inc. [35.035907] msgmni has been set to 1445 [35.037241] NET: Registered protocol family 38 [35.037412] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [35.037419] io scheduler noop registered [35.037424] io scheduler deadline registered [35.037530] io scheduler cfq registered (default) [35.038257] keystone-udma udma0.37: registered udma device udma0 [35.088761] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [35.090158] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 309) is a 16550A [35.997567] console [ttyS0] enabled [36.001642] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 312) is a 16550A [36.011489] loop: module loaded [36.014735] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write [36.022927] Generic platform RAM MTD, (c) 2004 Simtec Electronics [36.029830] ONFI param page 0 valid [36.033308] ONFI flash detected [36.036449] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xa3 (Micron MT29F8G08ADBDAH4), 1024MiB, page size: 2048, OOB size: 64 [36.048136] Bad block table found at page 524224, version 0x01 [36.054335] Bad block table found at page 524160, version 0x01 [36.060433] 3 ofpart partitions found on MTD device 30000000.nand [36.066517] Creating 3 MTD partitions on "30000000.nand": [36.071904] 0x000000000000-0x000000100000 : "u-boot" [36.077454] 0x000000100000-0x000000180000 : "params" [36.082938] 0x000000180000-0x000020000000 : "ubifs" [36.088519] davinci_nand 30000000.nand: controller rev. 2.5 [36.094637] spi_davinci 21000400.spi: master is unqueued, this is deprecated [36.101925] m25p80 spi32766.0: found n25q128a11, expected n25q128 [36.108018] m25p80 spi32766.0: n25q128a11 (16384 Kbytes) [36.113325] 2 ofpart partitions found on MTD device spi32766.0 [36.119150] Creating 2 MTD partitions on "spi32766.0": [36.124274] 0x000000000000-0x000000080000 : "u-boot-spl" [36.130162] 0x000000080000-0x000001000000 : "test" [36.135803] spi_davinci 21000400.spi: Controller at 0xf00b6400 [36.141918] spi_davinci 21000600.spi: master is unqueued, this is deprecated [36.148961] spi_davinci 21000600.spi: Controller at 0xf00b8600 [36.155057] spi_davinci 21000800.spi: master is unqueued, this is deprecated [36.162100] spi_davinci 21000800.spi: Controller at 0xf00ba800 [36.168905] tun: Universal TUN/TAP device driver, 1.6 [36.173943] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [36.225790] davinci_mdio 24200f00.mdio: davinci mdio revision 1.7 [36.231869] libphy: 24200f00.mdio: probed [36.236417] davinci_mdio 24200f00.mdio: phy[0]: device 24200f00.mdio:00, driver Marvell 88E1510 [36.245099] davinci_mdio 24200f00.mdio: phy[1]: device 24200f00.mdio:01, driver Marvell 88E1510 [36.254099] keystone-netcp 24000000.netcp: number of serdeses 2 [36.260024] keystone-netcp 24000000.netcp: Missing cpts_clock_mult property in the DT. [36.267934] keystone-netcp 24000000.netcp: Missing cpts_clock_shift property in the DT. [36.275927] keystone-netcp 24000000.netcp: Missing cpts_clock_div property in the DT. [36.284682] keystone-netcp 24000000.netcp: cpsw serdes 0 config done lanes(mask) 0x3 [36.293126] keystone-netcp 24000000.netcp: cpsw serdes 1 config done lanes(mask) 0x0 [36.301662] keystone-netcp 24000000.netcp: Created interface "eth0" [36.307930] keystone-netcp 24000000.netcp: dma_chan_name nettx0 [36.314556] keystone-netcp 24000000.netcp: Created interface "eth1" [36.320827] keystone-netcp 24000000.netcp: dma_chan_name nettx1 [36.327472] keystone-netcp 24000000.netcp: Created interface "eth2" [36.333729] keystone-netcp 24000000.netcp: dma_chan_name nettx2 [36.340385] keystone-netcp 24000000.netcp: Created interface "eth3" [36.346652] keystone-netcp 24000000.netcp: dma_chan_name nettx3 [36.353297] keystone-netcp 24000000.netcp: Created interface "eth4" [36.359563] keystone-netcp 24000000.netcp: dma_chan_name nettx4 [36.366227] keystone-netcp 24000000.netcp: Created interface "eth5" [36.372486] keystone-netcp 24000000.netcp: dma_chan_name nettx5 [36.379153] keystone-netcp 24000000.netcp: Created interface "eth6" [36.385412] keystone-netcp 24000000.netcp: dma_chan_name nettx6 [36.392072] keystone-netcp 24000000.netcp: Created interface "eth7" [36.398340] keystone-netcp 24000000.netcp: dma_chan_name nettx7 [36.404529] keystone-netcp 24000000.netcp: pdsp 0 firmware: keystone/pa_in0_pdsp0.fw [36.412265] keystone-netcp 24000000.netcp: pdsp 1 firmware: keystone/pa_in0_pdsp1.fw [36.420001] keystone-netcp 24000000.netcp: pdsp 2 firmware: keystone/pa_in1_pdsp0.fw [36.427734] keystone-netcp 24000000.netcp: pdsp 3 firmware: keystone/pa_in1_pdsp1.fw [36.435462] keystone-netcp 24000000.netcp: pdsp 4 firmware: keystone/pa_in2_pdsp0.fw [36.443195] keystone-netcp 24000000.netcp: pdsp 5 firmware: keystone/pa_in3_pdsp0.fw [36.450929] keystone-netcp 24000000.netcp: pdsp 6 firmware: keystone/pa_in4_pdsp0.fw [36.458662] keystone-netcp 24000000.netcp: pdsp 7 firmware: keystone/pa_in4_pdsp1.fw [36.466396] keystone-netcp 24000000.netcp: pdsp 8 firmware: keystone/pa_post_pdsp0.fw [36.474211] keystone-netcp 24000000.netcp: pdsp 9 firmware: keystone/pa_post_pdsp1.fw [36.482031] keystone-netcp 24000000.netcp: pdsp 10 firmware: keystone/pa_eg0_pdsp0.fw [36.489851] keystone-netcp 24000000.netcp: pdsp 11 firmware: keystone/pa_eg0_pdsp1.fw [36.497671] keystone-netcp 24000000.netcp: pdsp 12 firmware: keystone/pa_eg0_pdsp2.fw [36.505487] keystone-netcp 24000000.netcp: pdsp 13 firmware: keystone/pa_eg1_pdsp0.fw [36.513307] keystone-netcp 24000000.netcp: pdsp 14 firmware: keystone/pa_eg2_pdsp0.fw [36.521871] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 0 Firmware Version 0x03000105 [36.530646] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 1 Firmware Version 0x03000105 [36.539419] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 2 Firmware Version 0x03000105 [36.548193] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 3 Firmware Version 0x03000105 [36.556966] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 4 Firmware Version 0x03000105 [36.565739] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 5 Firmware Version 0x03000105 [36.574507] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 6 Firmware Version 0x03000105 [36.583280] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 7 Firmware Version 0x03000105 [36.592053] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 8 Firmware Version 0x03000105 [36.600825] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 9 Firmware Version 0x03000105 [36.609597] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 10 Firmware Version 0x03000105 [36.618457] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 11 Firmware Version 0x03000105 [36.627320] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 12 Firmware Version 0x03000105 [36.636181] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 13 Firmware Version 0x03000105 [36.645035] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 14 Firmware Version 0x03000105 [36.654628] keystone-netcp 24000000.netcp: could not find interface 2 node in device tree [36.662799] keystone-netcp 24000000.netcp: Attach of module keystone-qos declined with -19 [36.671060] keystone-netcp 24000000.netcp: could not find interface 3 node in device tree [36.679228] keystone-netcp 24000000.netcp: Attach of module keystone-qos declined with -19 [36.687482] keystone-netcp 24000000.netcp: could not find interface 4 node in device tree [36.695649] keystone-netcp 24000000.netcp: Attach of module keystone-qos declined with -19 [36.703899] keystone-netcp 24000000.netcp: could not find interface 5 node in device tree [36.712066] keystone-netcp 24000000.netcp: Attach of module keystone-qos declined with -19 [36.720320] keystone-netcp 24000000.netcp: could not find interface 6 node in device tree [36.728487] keystone-netcp 24000000.netcp: Attach of module keystone-qos declined with -19 [36.736742] keystone-netcp 24000000.netcp: could not find interface 7 node in device tree [36.744903] keystone-netcp 24000000.netcp: Attach of module keystone-qos declined with -19 [36.753170] keystone-netcp 24000000.netcp: Attach of module keystone-sa declined with -19 [36.761338] keystone-netcp 24000000.netcp: Attach of module keystone-sa declined with -19 [36.769505] keystone-netcp 24000000.netcp: Attach of module keystone-sa declined with -19 [36.777672] keystone-netcp 24000000.netcp: Attach of module keystone-sa declined with -19 [36.785839] keystone-netcp 24000000.netcp: Attach of module keystone-sa declined with -19 [36.794000] keystone-netcp 24000000.netcp: Attach of module keystone-sa declined with -19 [36.803481] dwc3 2690000.dwc3: no usb2 phy configured [36.808537] platform 2690000.dwc3: Driver dwc3 requests probe deferral [36.815490] usbcore: registered new interface driver usb-storage [36.821622] usbcore: registered new interface driver usbserial [36.827510] usbcore: registered new interface driver usbserial_generic [36.834082] usbserial: USB Serial support registered for generic [36.840146] usbcore: registered new interface driver ch341 [36.845687] usbserial: USB Serial support registered for ch341-uart [36.852000] usbcore: registered new interface driver cp210x [36.857627] usbserial: USB Serial support registered for cp210x [36.863597] usbcore: registered new interface driver ftdi_sio [36.869397] usbserial: USB Serial support registered for FTDI USB Serial Device [36.876758] usbcore: registered new interface driver pl2303 [36.882376] usbserial: USB Serial support registered for pl2303 [36.888681] mousedev: PS/2 mouse device common for all mice [36.894414] i2c /dev entries driver [36.898501] watchdog 22f0080.wdt: heartbeat 60 sec [36.905053] keystone-crypto 24080000.crypto: crypto accelerator enabled [36.911938] usbcore: registered new interface driver usbhid [36.917502] usbhid: USB HID core driver [36.921624] remoteproc0: 2620844.dsp0 is available [36.926498] remoteproc0: Note: remoteproc is still under development and considered experimental. [36.935444] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed. [36.945804] remoteproc0: no firmware found [36.950087] rproc-user 2620844.dsp0: registered misc device dsp0 [36.956106] rproc-user dspmem.38: kick gpio [36.960389] rproc-user dspmem.38: registered misc device dspmem [36.966583] oprofile: using arm/armv7-ca15 [36.970773] ipip: IPv4 over IPv4 tunneling driver [36.975819] gre: GRE over IPv4 demultiplexor driver [36.980685] ip_gre: GRE over IPv4 tunneling driver [36.986160] TCP: cubic registered [36.989464] Initializing XFRM netlink socket [36.994118] NET: Registered protocol family 10 [36.999692] NET: Registered protocol family 17 [37.004137] NET: Registered protocol family 15 [37.008619] Bridge firewalling registered [37.012620] 8021q: 802.1Q VLAN Support v1.8 [37.018414] sctp: Hash tables configured (established 65536 bind 65536) [37.025209] NET: Registered protocol family 41 [37.029775] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0 [37.037436] Registering SWP/SWPB emulation handler [37.244040] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [37.249538] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [37.257667] xhci-hcd xhci-hcd.0.auto: irq 184, io mem 0x02690000 [37.263727] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [37.270514] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [37.277729] usb usb1: Product: xHCI Host Controller [37.282594] usb usb1: Manufacturer: Linux 3.10.72 xhci-hcd [37.288073] usb usb1: SerialNumber: xhci-hcd.0.auto [37.293345] hub 1-0:1.0: USB hub found [37.297103] hub 1-0:1.0: 1 port detected [37.301179] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [37.306667] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2 [37.314373] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003 [37.321154] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [37.328370] usb usb2: Product: xHCI Host Controller [37.333235] usb usb2: Manufacturer: Linux 3.10.72 xhci-hcd [37.338713] usb usb2: SerialNumber: xhci-hcd.0.auto [37.343936] hub 2-0:1.0: USB hub found [37.347691] hub 2-0:1.0: 1 port detected [37.351967] UBI: attaching mtd2 to ubi0 [38.927289] UBI: scanning is finished [38.931075] UBI error: ubi_read_volume_table: the layout volume was not found [38.939581] UBI error: ubi_attach_mtd_dev: failed to attach mtd2, error -22 [38.946546] UBI error: ubi_init: cannot attach mtd2 [38.953719] UBIFS error (pid 1): ubifs_mount: cannot open "ubi0:rootfs", error -19 [38.961288] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0): error -19 [38.969280] Please append a correct "root=" boot option; here are the available partitions: [38.977627] 1f001024 mtdblock0 (driver?) [38.982671] 1f01512 mtdblock1 (driver?) [38.987721] 1f02522752 mtdblock2 (driver?) [38.992764] 1f03512 mtdblock3 (driver?) [38.997811] 1f0415872 mtdblock4 (driver?) [39.002853] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [39.011102] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 3.10.72 #1 [39.017117] [<c00159c0>] (unwind_backtrace+0x0/0xf8) from [<c0011abc>] (show_stack+0x10/0x14) [39.025632] [<c0011abc>] (show_stack+0x10/0x14) from [<c05251fc>] (panic+0x90/0x1ec) [39.033368] [<c05251fc>] (panic+0x90/0x1ec) from [<c075dfa8>] (mount_block_root+0x184/0x230) [39.041794] [<c075dfa8>] (mount_block_root+0x184/0x230) from [<c075e1f4>] (prepare_namespace+0x8c/0x18c) [39.051260] [<c075e1f4>] (prepare_namespace+0x8c/0x18c) from [<c075dc48>] (kernel_init_freeable+0x180/0x1c8) [39.061076] [<c075dc48>] (kernel_init_freeable+0x180/0x1c8) from [<c051ef08>] (kernel_init+0x8/0xe4) [39.070195] [<c051ef08>] (kernel_init+0x8/0xe4) from [<c000dc38>] (ret_from_fork+0x14/0x3c) [39.078531] CPU3: stopping [39.081232] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 3.10.72 #1 [39.087234] [<c00159c0>] (unwind_backtrace+0x0/0xf8) from [<c0011abc>] (show_stack+0x10/0x14) [39.095747] [<c0011abc>] (show_stack+0x10/0x14) from [<c0013ccc>] (handle_IPI+0xfc/0x130) [39.103910] [<c0013ccc>] (handle_IPI+0xfc/0x130) from [<c000854c>] (gic_handle_irq+0x54/0x5c) [39.112422] [<c000854c>] (gic_handle_irq+0x54/0x5c) from [<c052b500>] (__irq_svc+0x40/0x50) [39.120756] Exception stack(0xee0d7f98 to 0xee0d7fe0) [39.125794] 7f80:c288d918 00000000 [39.133955] 7fa0: 00000d9c 00000000 ee0d6000 ee0d6000 c07ba458 ee0d6000 c05334a0 c0816a3d [39.142117] 7fc0: c0817210 00000000 00000000 ee0d7fe0 c000ed88 c000ed8c 60000013 ffffffff [39.150281] [<c052b500>] (__irq_svc+0x40/0x50) from [<c000ed8c>] (arch_cpu_idle+0x28/0x30) [39.158533] [<c000ed8c>] (arch_cpu_idle+0x28/0x30) from [<c0058618>] (cpu_startup_entry+0x50/0x1b4) [39.167564] [<c0058618>] (cpu_startup_entry+0x50/0x1b4) from [<80521f84>] (0x80521f84) [39.175465] CPU1: stopping [39.178163] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 3.10.72 #1 [39.184164] [<c00159c0>] (unwind_backtrace+0x0/0xf8) from [<c0011abc>] (show_stack+0x10/0x14) [39.192676] [<c0011abc>] (show_stack+0x10/0x14) from [<c0013ccc>] (handle_IPI+0xfc/0x130) [39.200840] [<c0013ccc>] (handle_IPI+0xfc/0x130) from [<c000854c>] (gic_handle_irq+0x54/0x5c) [39.209350] [<c000854c>] (gic_handle_irq+0x54/0x5c) from [<c052b500>] (__irq_svc+0x40/0x50) [39.217684] Exception stack(0xee0d3f98 to 0xee0d3fe0) [39.222722] 3f80:c287d918 00000000 [39.230884] 3fa0: 000017be 00000000 ee0d2000 ee0d2000 c07ba458 ee0d2000 c05334a0 c0816a3d [39.239045] 3fc0: c0817210 00000000 00000000 ee0d3fe0 c000ed88 c000ed8c 60000013 ffffffff [39.247210] [<c052b500>] (__irq_svc+0x40/0x50) from [<c000ed8c>] (arch_cpu_idle+0x28/0x30) [39.255461] [<c000ed8c>] (arch_cpu_idle+0x28/0x30) from [<c0058618>] (cpu_startup_entry+0x50/0x1b4) [39.264490] [<c0058618>] (cpu_startup_entry+0x50/0x1b4) from [<80521f84>] (0x80521f84) [39.272390] CPU0: stopping [39.275088] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.10.72 #1 [39.281089] [<c00159c0>] (unwind_backtrace+0x0/0xf8) from [<c0011abc>] (show_stack+0x10/0x14) [39.289601] [<c0011abc>] (show_stack+0x10/0x14) from [<c0013ccc>] (handle_IPI+0xfc/0x130) [39.297764] [<c0013ccc>] (handle_IPI+0xfc/0x130) from [<c000854c>] (gic_handle_irq+0x54/0x5c) [39.306274] [<c000854c>] (gic_handle_irq+0x54/0x5c) from [<c052b500>] (__irq_svc+0x40/0x50) [39.314606] Exception stack(0xc07b3f68 to 0xc07b3fb0) [39.319646] 3f60:c2875918 00000000 000012fa 00000000 c07b2000 c07b2000 [39.327807] 3f80: c07ba458 c07b2000 c05334a0 c0816a3d c0817210 00000000 00000000 c07b3fb0 [39.335967] 3fa0: c000ed88 c000ed8c 60000113 ffffffff [39.341009] [<c052b500>] (__irq_svc+0x40/0x50) from [<c000ed8c>] (arch_cpu_idle+0x28/0x30) [39.349260] [<c000ed8c>] (arch_cpu_idle+0x28/0x30) from [<c0058618>] (cpu_startup_entry+0x50/0x1b4) [39.358293] [<c0058618>] (cpu_startup_entry+0x50/0x1b4) from [<c075da70>] (start_kernel+0x300/0x358) [39.367411] [<c075da70>] (start_kernel+0x300/0x358) from [<80008084>] (0x80008084)
U-boot 的NAND Flash 信息都差不多, 除了Bad block 信息不一样。
MT29F8G08ADBDAH4 MT29F4G08ABBDAH4
请问大家有什么好办法,让我定位哪里出问题?
Shine:
请看一下下面勘误表里的bug。Boot ROM NAND Cannot Cross Bad Blockshttps://www.ti.com/lit/er/sprz417b/sprz417b.pdf
,
Jacky zhao:
您好,Shine
谢谢你的勘误资料。
我目前是U-boot 在Nor Flash中,Kernel + File system 是在NAND Flash中。
根据我的理解,并不会对目前NAND Flash 的更改有影响。
如果我有什么错误,请纠正我。谢谢。
祝好
Jacky
,
Shine:
我看到您在e2e上发帖了,已有产品线工程师跟进,请继续关注,谢谢!https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1043309/66ak2e05-k2e-board-can-not-boot-up-normally-with-larger-nand-flash
,
Jacky zhao:
谢谢你的反馈。
,
Shine:
我暂时将此贴关闭,后续跟进e2e帖子。