WhyCan Forum

人过留名,雁过留声,感谢各位朋友不离不弃地支持。 QQ: 516333132 (挖坑网/填坑网) admin@whycan.cn

您尚未登录。

#1 2019-10-01 13:47:34

billnie
会员
注册时间: 2018-11-13
累计积分: 25

nuc92 卡在 nuc970 mtd nand driver version: 20160331

U-Boot 2016.11 (Aug 21 2019 - 22:44:38 +0800)

CPU: NUC972
Board: NUC972
DRAM:  64 MiB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   emac
Hit any key to stop autoboot:  0 

Loading from nand0, offset 0x200000
   Image Name:   Linux-3.10.108+
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2138824 Bytes = 2 MiB
   Load Address: 00008000
   Entry Point:  00008000
## Booting kernel from Legacy Image at 00007fc0 ...
   Image Name:   Linux-3.10.108+
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2138824 Bytes = 2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   XIP Kernel Image ... OK

StartiBooting Linux on physical CPU 0x0
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Initializing cgroup subsys cpuacct
Linux version 3.10.108+ (root@nrm) (gcc version 4.8.5 (Buildroot 2016.11.2) ) #2 PREEMPT Thu Sep 5 08:59:43 CST 2019
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: NUC970
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: noinitrd root=/dev/mtdblock2 rootfstype=yaffs2 rootflags=inband-tags console=ttyS0,115200n8 rdinit=/sbin/init mem=64M
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 60428k/60428k available, 5108k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xc4800000 - 0xff000000   ( 936 MB)
    lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc03ceeec   (3868 kB)
      .init : 0xc03cf000 - 0xc03f050c   ( 134 kB)
      .data : 0xc03f2000 - 0xc042b640   ( 230 kB)
       .bss : 0xc042b640 - 0xc0460580   ( 212 kB)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptible hierarchical RCU implementation.
NR_IRQS:625
sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
Console: colour dummy device 80x30
console [ttyS0] enabled
Calibrating delay loop... 148.88 BogoMIPS (lpj=744448)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys perf_event
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0xc0306770 - 0xc03067ac
devtmpfs: initialized
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c_gpio_probe - pdev = i2c-gpio
platform i2c-gpio.2: Driver i2c-gpio requests probe deferral
cfg80211: Calling CRDA to update world regulatory domain
NET: Registered protocol family 2
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (double precision)
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 118
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)
[nuc970fb_probe] 10
Console: switching to colour frame buffer device 60x34
fb0: nuc970fb frame buffer device
nuc970-uart.0: ttyS0 at I/O 0x0 (irq = 36) is a NUC970
nuc970-uart.6: ttyS6 at I/O 0x0 (irq = 40) is a NUC970
brd: module loaded
nuc970 mtd nand driver version: 20160331

离线

#2 2019-10-01 13:51:41

billnie
会员
注册时间: 2018-11-13
累计积分: 25

Re: nuc92 卡在 nuc970 mtd nand driver version: 20160331

正常nuc977启动,同一个固件,分别烧录在nuc977, nuc972上

NUC970 IBR 20151008.1735
No Key
Boot from NAND
NAND boot!


U-Boot 2016.11 (Aug 22 2019 - 15:23:21 +0800)

CPU: NUC977
Board: NUC977
DRAM:  64 MiB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   emac
Hit any key to stop autoboot:  0 

Loading from nand0, offset 0x200000
   Image Name:   Linux-3.10.108+
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2605896 Bytes = 2.5 MiB
   Load Address: 00008000
   Entry Point:  00008000
## Booting kernel from Legacy Image at 00007fc0 ...
   Image Name:   Linux-3.10.108+
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2605896 Bytes = 2.5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   XIP Kernel Image ... OK

StartiBooting Linux on physical CPU 0x0
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Initializing cgroup subsys cpuacct
Linux version 3.10.108+ (root@nrm) (gcc version 4.8.5 (Buildroot 2016.11.2) ) #6 PREEMPT Wed Sep 18 23:11:18 CST 2019
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: NUC970
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: noinitrd root=/dev/mtdblock2 rootfstype=yaffs2 rootflags=inband-tags console=ttyS0,115200n8 rdinit=/sbin/init mem=64M
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 59552k/59552k available, 5984k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xc4800000 - 0xff000000   ( 936 MB)
    lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc0482eec   (4588 kB)
      .init : 0xc0483000 - 0xc04c58c4   ( 267 kB)
      .data : 0xc04c6000 - 0xc0503540   ( 246 kB)
       .bss : 0xc0503540 - 0xc053b768   ( 225 kB)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptible hierarchical RCU implementation.
NR_IRQS:625
sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
Console: colour dummy device 80x30
console [ttyS0] enabled
Calibrating delay loop... 148.88 BogoMIPS (lpj=744448)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys perf_event
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0xc0383aa0 - 0xc0383adc
devtmpfs: initialized
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c_gpio_probe - pdev = i2c-gpio
platform i2c-gpio.2: Driver i2c-gpio requests probe deferral
cfg80211: Calling CRDA to update world regulatory domain
NET: Registered protocol family 2
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (double precision)
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 116
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)
[nuc970fb_probe] 10
Console: switching to colour frame buffer device 60x34
fb0: nuc970fb frame buffer device
nuc970-uart.0: ttyS0 at I/O 0x0 (irq = 36) is a NUC970
nuc970-uart.6: ttyS6 at I/O 0x0 (irq = 40) is a NUC970
brd: module loaded
nuc970 mtd nand driver version: 20160331
NAND device: Manufacturer ID: 0xef, Chip ID: 0xf1 (Winbond NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
nand: SMRA size 64, 32
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
Creating 3 MTD partitions on "nand0":
0x000000000000-0x000000200000 : "u-boot"
0x000000200000-0x000001600000 : "Kernel"
0x000001600000-0x000008000000 : "user"
fmi-sm: registered successfully! mtdid=nand0
CAN device driver interface
libphy: nuc970_rmii0: probed
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_nuc970_probe() - name: nuc970-ehci
nuc970-ehci nuc970-ehci: Nuvoton NUC970/N9H30 EHCI Host Controller
nuc970-ehci nuc970-ehci: new USB bus registered, assigned bus number 1
nuc970-ehci nuc970-ehci: irq 23, io mem 0xb0005000
nuc970-ehci nuc970-ehci: USB 2.0 started, EHCI 0.95
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
nuc970-ohci nuc970-ohci: Nuvoton NUC970/N9H30 OHCI Host Controller
nuc970-ohci nuc970-ohci: new USB bus registered, assigned bus number 2
nuc970-ohci nuc970-ohci: irq 24, io mem 0xb0007000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usbcore: registered new interface driver usb-storage
g_serial gadget: Gadget Serial v2.4
g_serial gadget: g_serial ready
i2c-core: driver [ns2009-ts] using legacy suspend method
i2c-core: driver [ns2009-ts] using legacy resume method
nuc970-rtc nuc970-rtc: rtc core: registered nuc970-rtc as rtc0
i2c /dev entries driver
ns2009_ts_detect: Detected chip ns2009-ts at adapter 0, address 0x48
input: ns2009-ts as /devices/virtual/input/input0
nuc970-i2c0 nuc970-i2c0: i2c-0: nuc970 I2C adapter
ios->clock=400000
leds-nuc970: set(led-0)(33) outputu 
TCP: cubic registered
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
lib80211: common routines for IEEE802.11 drivers
Key type dns_resolver registered
i2c_gpio_probe - pdev = i2c-gpio
Please Check GPIOG01's multi-function = 0x8 
platform i2c-gpio.2: Driver i2c-gpio requests probe deferral
console [netcon0] enabled
netconsole: network logging started
nuc970-rtc nuc970-rtc: hctosys: unable to read the hardware clock
yaffs: dev is 32505858 name is "mtdblock2" rw
yaffs: passed flags "inband-tags"
usb 1-2: new high-speed USB device number 2 using nuc970-ehci
g_serial gadget: high-speed config #2: CDC ACM config
VFS: Mounted root (yaffs2 filesystem) on device 31:2.
devtmpfs: mounted
Freeing unused kernel memory: 264K
Starting logging: usb 2-2: new full-speed USB device number 2 using nuc970-ohci
OK
Starting mdev...
usb 2-2: not running at top speed; connect to a high speed hub
i2c_gpio_probe - pdev = i2c-gpio
Please Check GPIOG01's multi-function = 0x8 
platform i2c-gpio.2: Driver i2c-gpio requests probe deferral
RTL871X: module init start
RTL871X: rtl8188eu v4.3.0_10600.20140220
RTL871X: build time: Jul 19 2019 22:40:22
bFWReady == _FALSE call reset 8051...
RTL871X: rtw_ndev_init(wlan0)
i2c_gpio_probe - pdev = i2c-gpio
Please Check GPIOG01's multi-function = 0x8 
platform i2c-gpio.2: Driver i2c-gpio requests probe deferral
usbcore: registered new interface driver rtl8188eu
RTL871X: module init ret=0
Initializing random number generator... done.
Starting rpcbind: OK
Starting network: nuc970-emac0 nuc970-emac0: eth0 is OPENED
==> rtl8188e_iol_efuse_patch 
ip: RTNETLINK answers: File exists
FAIL
Starting ntpd: OK
Starting sshd: OK
Starting NFS statd: nuc970-rtc nuc970-rtc: The year will be between 1970-1999, right?
OK
Starting NFS services: exportfs: can't open /run/nfs/xtab for reading
FAIL
Starting NFS daemon: rpc.nfsd: Unable to access /proc/fs/nfsd errno 2 (No such file or directory).
Please try, as root, 'mount -t nfsd nfsd /proc/fs/nfsd' and then restart rpc.nfsd to correct the problem
FAIL
Starting NFS mountd: OK
Starting vsftpd: OK
Starting S80startMAJOR IS 251
qgpio driver Registered
file not exist
start fd = 3, mode = 1:

Linux serial test app
./ser: option requires an argument -- R
open qgpio 3
data_init = 00c8, c8, 00
startlscoket
pthread_create ret = 0, tid = -1225595712
thread_lsocket
sever:wait for  a connection ...
Successfully initialized wpa_supplicant

离线

#3 2019-10-01 13:55:19

awfans
会员
注册时间: 2018-04-03
累计积分: 196

Re: nuc92 卡在 nuc970 mtd nand driver version: 20160331

brd: module loaded
nuc970 mtd nand driver version: 20160331
NAND device: Manufacturer ID: 0xef, Chip ID: 0xf1 (Winbond NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
nand: SMRA size 64, 32
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01


感觉确实是 nand 驱动出问题了

离线

#4 2019-10-01 14:06:27

xgui
会员
注册时间: 2019-09-07
累计积分: 42

Re: nuc92 卡在 nuc970 mtd nand driver version: 20160331

可能是没有检测到 flash id ? 硬件问题导致死循环?

离线

#5 2019-10-01 22:02:54

billnie
会员
注册时间: 2018-11-13
累计积分: 25

Re: nuc92 卡在 nuc970 mtd nand driver version: 20160331

nand flash 重新焊接后,反复使用自己的固件,停止在nand的那个画面
我使用华嵌的固件就能进系统


U-Boot 2016.11-g145764b-dirty (Nov 29 2018 - 13:38:55 +0800)

CPU: NUC972
Board: NUC972
DRAM:  64 MiB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   emac
Hit any key to stop autoboot:  0 

Loading from nand0, offset 0x200000
   Image Name:   Linux-3.10.108+
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3103264 Bytes = 3 MiB
   Load Address: 00008000
   Entry Point:  00008000
## Booting kernel from Legacy Image at 00007fc0 ...
   Image Name:   Linux-3.10.108+
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3103264 Bytes = 3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   XIP Kernel Image ... OK

StartiBooting Linux on physical CPU 0x0
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Initializing cgroup subsys cpuacct
Linux version 3.10.108+ (root@debian) (gcc version 4.8.5 (Buildroot 2016.11.2) ) #16 PREEMPT Thu Nov 29 01:14:16 HKT 2018
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: NUC970
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: mem=64M console=ttyS0,115200 noinitrd init=/linuxrc mtdparts=nand0:10M(boot)ro,6M(logo),-(rootfs) root=ubi0:rootfs rootfstype=ubifs ubi.mtd=2 consoleblank=0
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 58528k/58528k available, 7008k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xc4800000 - 0xff000000   ( 936 MB)
    lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc0590eec   (5668 kB)
      .init : 0xc0591000 - 0xc05b9668   ( 162 kB)
      .data : 0xc05ba000 - 0xc05fe6e0   ( 274 kB)
       .bss : 0xc05fe6e0 - 0xc063b834   ( 245 kB)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptible hierarchical RCU implementation.
NR_IRQS:625
sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
Console: colour dummy device 80x30
console [ttyS0] enabled
Calibrating delay loop... 148.88 BogoMIPS (lpj=744448)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys perf_event
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0xc0458060 - 0xc045809c
devtmpfs: initialized
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Calling CRDA to update world regulatory domain
NET: Registered protocol family 2
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (double precision)
exFAT: Version 1.2.9
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007 Red Hat, Inc.
fuse init (API version 7.22)
msgmni has been set to 114
NET: Registered protocol family 38
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
[nuc970fb_probe] 10
Console: switching to colour frame buffer device 100x30
fb0: nuc970fb frame buffer device
nuc970-dma nuc970-dma-m2m: NUC970/N9H30 M2M DMA ready
nuc970-uart.0: ttyS0 at I/O 0x0 (irq = 36) is a NUC970
nuc970-uart.1: ttyS1 at I/O 0x0 (irq = 37) is a NUC970
nuc970-uart.2: ttyS2 at I/O 0x0 (irq = 38) is a NUC970
nuc970-uart.3: ttyS3 at I/O 0x0 (irq = 43) is a NUC970
nuc970-uart.4: ttyS4 at I/O 0x0 (irq = 39) is a NUC970
nuc970-uart.5: ttyS5 at I/O 0x0 (irq = 44) is a NUC970
nuc970-uart.6: ttyS6 at I/O 0x0 (irq = 40) is a NUC970
nuc970-uart.7: ttyS7 at I/O 0x0 (irq = 45) is a NUC970
nuc970-uart.8: ttyS8 at I/O 0x0 (irq = 41) is a NUC970
nuc970-uart.9: ttyS9 at I/O 0x0 (irq = 46) is a NUC970
nuc970-uart.10: ttyS10 at I/O 0x0 (irq = 42) is a NUC970
brd: module loaded
loop: module loaded
SCSI Media Changer driver v0.25 
nuc970 mtd nand driver version: 20160331
NAND device: Manufacturer ID: 0xef, Chip ID: 0xf1 (Winbond NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
nand: SMRA size 64, 32
Bad block table not found for chip 0
Bad block table not found for chip 0
Scanning device for bad blocks
Bad block table written to 0x000007fe0000, version 0x01
Bad block table written to 0x000007fc0000, version 0x01
3 cmdlinepart partitions found on MTD device nand0
Creating 3 MTD partitions on "nand0":
0x000000000000-0x000000a00000 : "boot"
0x000000a00000-0x000001000000 : "logo"
0x000001000000-0x000008000000 : "rootfs"
fmi-sm: registered successfully! mtdid=nand0
nuc970-spi0 nuc970-spi0: No platform data supplied
nuc970-spi0: probe of nuc970-spi0 failed with error -2
CAN device driver interface
libphy: nuc970_rmii0: probed
nuc970-emac0 nuc970-emac0: phy_find_first() failed
nuc970-emac0 nuc970-emac0: nuc970_mii_setup err
libphy: nuc970_rmii1: probed
nuc970-emac1 nuc970-emac1: phy_find_first() failed
nuc970-emac1 nuc970-emac1: nuc970_mii_setup err
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
usbcore: registered new interface driver rndis_wlan
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver cdc_eem
usbcore: registered new interface driver net1080
usbcore: registered new interface driver rndis_host
usbcore: registered new interface driver cdc_ncm
usbcore: registered new interface driver qmi_wwan
usbcore: registered new interface driver cdc_mbim
GobiNet: Quectel_Linux_GobiNet_SR01A02V16
usbcore: registered new interface driver GobiNet
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_nuc970_probe() - name: nuc970-ehci
nuc970-ehci nuc970-ehci: Nuvoton NUC970/N9H30 EHCI Host Controller
nuc970-ehci nuc970-ehci: new USB bus registered, assigned bus number 1
nuc970-ehci nuc970-ehci: irq 23, io mem 0xb0005000
nuc970-ehci nuc970-ehci: USB 2.0 started, EHCI 0.95
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: Nuvoton NUC970/N9H30 EHCI Host Controller
usb usb1: Manufacturer: Linux 3.10.108+ ehci_hcd
usb usb1: SerialNumber: nuc970-ehci
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
nuc970-ohci nuc970-ohci: Nuvoton NUC970/N9H30 OHCI Host Controller
nuc970-ohci nuc970-ohci: new USB bus registered, assigned bus number 2
nuc970-ohci nuc970-ohci: irq 24, io mem 0xb0007000
usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: Nuvoton NUC970/N9H30 OHCI Host Controller
usb usb2: Manufacturer: Linux 3.10.108+ ohci_hcd
usb usb2: SerialNumber: nuc970-ohci
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usbcore: registered new interface driver cdc_wdm
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver usbserial
usbcore: registered new interface driver option
usbserial: USB Serial support registered for GSM modem (1-port)
mousedev: PS/2 mouse device common for all mice
nuc970adc_probe - pdev = nuc970-adc
input: NUC970/N9H30 TouchScreen(ADC) as /devices/platform/nuc970-adc/input/input0
i2c /dev entries driver
rtc-pcf8563 0-0051: chip found, driver version 0.4.3
nuc970-i2c0 nuc970-i2c0: deal with arbitration loss
nuc970-i2c0 nuc970-i2c0: timeout waiting for bus idle
nuc970-i2c0 nuc970-i2c0: deal with arbitration loss
nuc970-i2c0 nuc970-i2c0: deal with arbitration loss
rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
nuc970-i2c0 nuc970-i2c0: i2c-0: nuc970 I2C adapter
goodix_ts_probe --zengfh
Goodix-TS 1-0014: I2C Address: 0x14
nuc970-i2c0 nuc970-i2c0: deal with arbitration loss
nuc970-i2c1 nuc970-i2c1: deal with arbitration loss
nuc970-i2c1 nuc970-i2c1: deal with arbitration loss
nuc970-i2c1 nuc970-i2c1: deal with arbitration loss
Goodix-TS 1-0014: i2c test failed attempt 1: -121
nuc970-i2c1 nuc970-i2c1: deal with arbitration loss
nuc970-i2c1 nuc970-i2c1: deal with arbitration loss
nuc970-i2c1 nuc970-i2c1: deal with arbitration loss
nuc970-i2c1 nuc970-i2c1: deal with arbitration loss
Goodix-TS 1-0014: i2c test failed attempt 2: -121
Goodix-TS 1-0014: I2C communication failure: -121
Goodix-TS: probe of 1-0014 failed with error -121
nuc970-i2c1 nuc970-i2c1: i2c-1: nuc970 I2C adapter
nuc970-i2c1 nuc970-i2c1: deal with arbitration loss
ios->clock=400000
NUC970 Crypto engine enabled.
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
ipip: IPv4 over IPv4 tunneling driver
TCP: cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
lib80211: common routines for IEEE802.11 drivers
UBI: attaching mtd2 to ubi0
ios->clock=400000
ios->clock=400000
UBI: scanning is finished
UBI: volume 0 ("rootfs") re-sized from 63 to 872 LEBs
UBI: attached mtd2 (name "rootfs", size 112 MiB) to ubi0
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 892, bad PEBs: 4, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1778941701
UBI: available PEBs: 0, total reserved PEBs: 892, PEBs reserved for bad PEB handling: 16
UBI: background thread "ubi_bgt0d" started, PID 640
nuc970-i2c0 nuc970-i2c0: deal with arbitration loss
ios->clock=400000
ios->clock=300000
ios->clock=300000
ios->clock=300000
ios->clock=300000
nuc970-i2c0 nuc970-i2c0: timeout waiting for bus idle
nuc970-i2c0 nuc970-i2c0: deal with arbitration loss
nuc970-i2c0 nuc970-i2c0: deal with arbitration loss
rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
rtc-pcf8563 0-0051: hctosys: unable to read the hardware clock
nuc970-i2c0 nuc970-i2c0: deal with arbitration loss
UBIFS: background thread "ubifs_bgt0_0" started, PID 642
UBIFS: start fixing up free space
UBIFS: free space fixup complete
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
UBIFS: FS size: 100184064 bytes (95 MiB, 789 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
UBIFS: reserved for root: 0 bytes (0 KiB)
UBIFS: media format: w4/r0 (latest is w4/r0), UUID 653E0F9A-E994-4A44-8EF2-699705394D47, small LPT model
VFS: Mounted root (ubifs filesystem) on device 0:11.
devtmpfs: mounted
Freeing unused kernel memory: 160K
Starting logging: OK
Starting mdev...
modprobe: can't change directory to '/lib/modules': No such file or directory
Initializing random number generator... done.
Starting network: OK
Starting ntpd: OK

Welcome to NUC972
linux login: nuc970-i2c0 nuc970-i2c0: deal with arbitration loss

Welcome to NUC972
linux login: 
Welcome to NUC972
linux login: 
Welcome to NUC972
linux login: 
Welcome to NUC972
linux login: nuc970-i2c0 nuc970-i2c0: deal with arbitration loss
nuc970-i2c0 nuc970-i2c0: deal with arbitration loss

Welcome to NUC972
linux login: root
Password: 
[root@~]# rtc-pcf8563 0-0051: pcf8563_set_datetime: err=-121 addr=02, data=49
nuc970-i2c0 nuc970-i2c0: deal with arbitration loss
nuc970-i2c0 nuc970-i2c0: deal with arbitration loss
ls
[root@~]# nuc970-i2c0 nuc970-i2c0: deal with arbitration loss
nuc970-i2c0 nuc970-i2c0: deal with arbitration loss
rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
nuc970-i2c0 nuc970-i2c0: deal with arbitration loss
nuc970-i2c0 nuc970-i2c0: deal with arbitration loss
nuc970-i2c0 nuc970-i2c0: deal with arbitration loss
nuc970-i2c0 nuc970-i2c0: deal with arbitration loss

离线

#6 2019-10-01 22:05:20

billnie
会员
注册时间: 2018-11-13
累计积分: 25

Re: nuc92 卡在 nuc970 mtd nand driver version: 20160331

xgui 说:

可能是没有检测到 flash id ? 硬件问题导致死循环?


@xgui

在 nu write 中都能检测到flash id, 使用自己的固件后,进行系统后卡住了

离线

#7 2019-10-01 22:51:28

xgui
会员
注册时间: 2019-09-07
累计积分: 42

Re: nuc92 卡在 nuc970 mtd nand driver version: 20160331

那这就不是硬件问题了, 很可能是软件问题.

离线

#8 2019-10-02 00:44:21

billnie
会员
注册时间: 2018-11-13
累计积分: 25

Re: nuc92 卡在 nuc970 mtd nand driver version: 20160331

已经解决了

是kernel 配置问题, NUC977 配置NAND为 Port I, 而NUC972开发板配置为Port C,修改此选项就可以了,可以结贴了,多谢各位的指点!

离线

页脚