您尚未登录。

#2 Re: DOPI开源摄像头(HI3516/HI3518) » DOPI EV200 问题汇总 » 2020-06-24 16:54:11

@cijliu 还有一个问题就是 esp8089 3.3v驱动, reboot再挂载驱动,不成功,可能是没有初始化

#3 Re: DOPI开源摄像头(HI3516/HI3518) » DOPI EV200 问题汇总 » 2020-06-24 16:52:48

@cijliu gc2053和imx307都有的,特别是不断挥手对着镜头

#6 Re: DOPI开源摄像头(HI3516/HI3518) » DOPI EV200 问题汇总 » 2020-06-23 16:54:49

wifi 一会儿就断开了

# ./dopi_rtsp
Dopi RTSP Demo
[INFO  rtsp_demo.c:281:rtsp_new_demo] rtsp server demo starting on port 554
[DEBUG rtsp_demo.c:481:rtsp_new_session] add session path: /live.sdp
[SAMPLE_COMM_VI_GetMipiLaneMode]-1779: support this chip 3516e200
[SAMPLE_COMM_VI_GetMipiLaneMode]-1779: support this chip 3516e200
[SAMPLE_COMM_VI_SetMipiAttr]-1985: ============= MipiDev 0, SetMipiAttr enWDRMode: 0
linear mode
==============================================================
=====Sony imx307_2l sensor 1080P30fps(MIPI) init success!=====
==============================================================
please press twice ENTER to exit rtsp
[SAMPLE_COMM_ISP_Thread]-359: ISP Dev 0 running !
[DEBUG utils.c:160:rtsp_codec_data_parse_from_user_h264] sps 15
[DEBUG utils.c:168:rtsp_codec_data_parse_from_user_h264] pps 4
sip_rx first read err -84 244
rccsip_rx_pkt_process seq mismatch! got 1112, expect 1111

++++++++++++++++show rbuf+++++++++++++++
0x01, 0x00, 0xf4, 0x00, 0x00, 0x40, 0x0f, 0x00, 0x58, 0x04, 0x00, 0x00, 0x2c, 0x10, 0xde, 0xf0
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xa7, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff

++++++++++++++++++++++++++++++++++++++++
ESSERT:drivers/net/wireless/esp8089/esp_sip.c 424
rcr[INFO  rtsp_demo.c:409:rtsp_new_client_connection] new rtsp client 192.168.1.111:50352 comming
[DEBUG rtsp_msg.c:865:rtsp_msg_parse_from_array]
OPTIONS rtsp://192.168.1.113:554/live.sdp RTSP/1.0
CSeq: 2
User-Agent: LibVLC/3.0.10 (LIVE555 Streaming Media v2016.11.28)

[DEBUG rtsp_demo.c:712:rtsp_handle_OPTIONS]
[DEBUG rtsp_msg.c:998:rtsp_msg_build_to_array]
RTSP/1.0 200 OK
CSeq: 2
Date: Thu Jan  1 00:01:30 1970
Public: OPTIONS, DESCRIBE, SETUP, PLAY, PAUSE, TEARDOWN
Server: rtsp_demo

[DEBUG rtsp_msg.c:865:rtsp_msg_parse_from_array]
DESCRIBE rtsp://192.168.1.113:554/live.sdp RTSP/1.0
CSeq: 3
User-Agent: LibVLC/3.0.10 (LIVE555 Streaming Media v2016.11.28)
Accept: application/sdp

[DEBUG rtsp_demo.c:733:rtsp_handle_DESCRIBE]
[DEBUG rtsp_msg.c:998:rtsp_msg_build_to_array]
RTSP/1.0 200 OK
CSeq: 3
Date: Thu Jan  1 00:01:30 1970
Server: rtsp_demo
Content-Type: application/sdp
Content-Length: 309

v=0
o=- 0 0 IN IP4 0.0.0.0
s=rtsp_demo
t=0 0
a=control:rtsp://192.168.1.113:554/live.sdp
a=range:npt=0-
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;sprop-parameter-sets=Z0IAH5Y1QKALdNwEBAQI,aM4xsg==
a=control:rtsp://192.168.1.113:554/live.sdp/track1
[DEBUG rtsp_msg.c:865:rtsp_msg_parse_from_array]
SETUP rtsp://192.168.1.113:554/live.sdp/track1 RTSP/1.0
CSeq: 4
User-Agent: LibVLC/3.0.10 (LIVE555 Streaming Media v2016.11.28)
Transport: RTP/AVP;unicast;client_port=64712-64713

[DEBUG rtsp_demo.c:937:rtsp_handle_SETUP]
[INFO  rtsp_demo.c:894:rtsp_new_rtp_connection] new rtp over udp for video ssrc:22345678 local_port:49152-49153 peer_addr:192.168.1.111 peer_port:64712-64713
[DEBUG rtsp_msg.c:998:rtsp_msg_build_to_array]
RTSP/1.0 200 OK
CSeq: 4
Date: Thu Jan  1 00:01:30 1970
Session: 12345678
Transport: RTP/AVP;ssrc=22345678;unicast;client_port=64712-64713;server_port=49152-49153
Server: rtsp_demo

[DEBUG rtsp_msg.c:865:rtsp_msg_parse_from_array]
PLAY rtsp://192.168.1.113:554/live.sdp RTSP/1.0
CSeq: 5
User-Agent: LibVLC/3.0.10 (LIVE555 Streaming Media v2016.11.28)
Session: 12345678
Range: npt=0.000-

[DEBUG rtsp_demo.c:1024:rtsp_handle_PLAY]
[DEBUG rtsp_msg.c:998:rtsp_msg_build_to_array]
RTSP/1.0 200 OK
CSeq: 5
Date: Thu Jan  1 00:01:30 1970
Session: 12345678
Server: rtsp_demo

sip_rx first read err -84 12
rccsip_rx_pkt_process seq mismatch! got 1560, expect 1559

++++++++++++++++show rbuf+++++++++++++++
0x00, 0x05, 0x0c, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x18, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00

++++++++++++++++++++++++++++++++++++++++
ESSERT:drivers/net/wireless/esp8089/esp_sip.c 424
sip_txq_process recalc credits!
rcrwlan0: deauthenticating from b0:95:8e:21:0a:b1 by local choice (Reason: 3=DEAUTH_LEAVING)
mmc1: card 0001 removed
mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
mmc1: new SDIO card at address 0001
mmc1: Timeout waiting for hardware interrupt.
sdhci: =========== REGISTER DUMP (mmc1)===========
sdhci: Sys addr: 0x00000001 | Version:  0x00000005
sdhci: Blk size: 0x00007200 | Blk cnt:  0x00000000
sdhci: Argument: 0x97ee0000 | Trn mode: 0x00000003
sdhci: Present:  0x03e700f6 | Host ctl: 0x00000013
sdhci: Power:    0x0000000d | Blk gap:  0x00000000
sdhci: Wake-up:  0x00000020 | Clock:    0x0000000f
sdhci: Timeout:  0x0000000e | Int stat: 0x00000000
sdhci: Int enab: 0x03ff008b | Sig enab: 0x03ff008b
sdhci: ACMD err: 0x00000000 | Slot int: 0x00000000
sdhci: Caps:     0x276dc881 | Caps_1:   0x08002077
sdhci: Cmd:      0x0000353a | Max curr: 0x00000000
sdhci: Host ctl2: 0x00000080
sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x41827208
sdhci: ===========================================
sip_write_memory send buffer failed
esp_download_fw Failed to write fw, err: -110
download firmware failed
esp_init_all failed: -110
first error exit
sip_detach wrong state 1
mmc1: card 0001 removed

#7 Re: 全志 SOC » 为F1C100S的SPI Flash制作SquashFS+JFFS2+OverlayFS的rootfs来增大可读写空间 » 2020-06-14 14:47:31

[    1.358941] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    1.370987] devtmpfs: mounted
[    1.381393] Freeing unused kernel memory: 1024K
[    1.386096] Run /etc/preinit as init process
[    1.629275] random: crng init done
mount: mounting /dev/mtdblock3 on /rom failed: Device or resource busy
[    2.476113] overlayfs: upper fs does not support tmpfile.
[    2.481676] overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off.
mount: mounting /sys on /chroot/sys/ failed: No such file or directory
mount: mounting /dev on /chroot/dev/ failed: No such file or directory
chroot: can't execute '/sbin/init': No such file or directory
[    2.651104] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[    2.658781] CPU: 0 PID: 1 Comm: chroot Not tainted 5.2.0-licheepi-nano+ #14
[    2.665721] Hardware name: Allwinner suniv Family
[    2.670476] [<c010e4ac>] (unwind_backtrace) from [<c010ba84>] (show_stack+0x10/0x14)
[    2.678223] [<c010ba84>] (show_stack) from [<c0116dc0>] (panic+0xe8/0x2e4)
[    2.685098] [<c0116dc0>] (panic) from [<c01185f4>] (do_exit+0x9dc/0xa18)
[    2.691797] [<c01185f4>] (do_exit) from [<c0119190>] (do_group_exit+0x3c/0xb4)
[    2.699014] [<c0119190>] (do_group_exit) from [<c0119218>] (sys_exit_group+0x10/0x14)
[    2.706837] [<c0119218>] (sys_exit_group) from [<c0101000>] (ret_fast_syscall+0x0/0x50)
[    2.714814] Exception stack(0xc3835fa8 to 0xc3835ff0)
[    2.719870] 5fa0:                   b6f1e6d8 b6f1e6d8 0000007f 00000000 0000007f 00000001
[    2.728040] 5fc0: b6f1e6d8 b6f1e6d8 b6f23148 000000f8 00000001 00000000 00000000 b6f23140
[    2.736198] 5fe0: 00000000 bed08cf8 b6e09464 b6e7a3f4
[    2.741251] Rebooting in 5 seconds..
[    8.720483] Reboot failed -- System halted

#8 Re: 全志 SOC » 为F1C100S的SPI Flash制作SquashFS+JFFS2+OverlayFS的rootfs来增大可读写空间 » 2020-06-14 14:35:00

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.2.0-licheepi-nano+ (billnie@ubuntu) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)) #14 Sat Jun 13 23:07:29 PDT 2020
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Lichee Pi Nano
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/mtdblock3 rw rootfstype=squashfs  init=/etc/preinit
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 55188K/65536K available (6144K kernel code, 235K rwdata, 1508K rodata, 1024K init, 231K bss, 10348K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x254/0x42c with crng_init=0
[    0.000045] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000121] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000635] Console: colour dummy device 80x30
[    0.000726] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808)
[    0.070235] pid_max: default: 32768 minimum: 301
[    0.070655] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070694] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.072296] CPU: Testing write buffer coherency: ok
[    0.074155] Setting up static identity map for 0x80100000 - 0x80100058
[    0.076349] devtmpfs: initialized
[    0.082626] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.082684] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.082968] pinctrl core: initialized pinctrl subsystem
[    0.084900] NET: Registered protocol family 16
[    0.086344] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.088341] cpuidle: using governor menu
[    0.137286] SCSI subsystem initialized
[    0.137666] usbcore: registered new interface driver usbfs
[    0.137844] usbcore: registered new interface driver hub
[    0.138025] usbcore: registered new device driver usb
[    0.138455] pps_core: LinuxPPS API ver. 1 registered
[    0.138479] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.138976] Advanced Linux Sound Architecture Driver Initialized.
[    0.140740] clocksource: Switched to clocksource timer
[    0.169594] NET: Registered protocol family 2
[    0.171225] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    0.171301] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.171365] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.171413] TCP: Hash tables configured (established 1024 bind 1024)
[    0.171689] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.171748] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.172234] NET: Registered protocol family 1
[    0.174780] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.176754] Initialise system trusted keyrings
[    0.177279] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.197541] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.198108] jffs2: version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
[    0.205742] Key type asymmetric registered
[    0.205781] Asymmetric key parser 'x509' registered
[    0.205955] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.205979] io scheduler mq-deadline registered
[    0.205996] io scheduler kyber registered
[    0.218248] suniv-f1c100s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.228488] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.234111] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator
[    0.235367] printk: console [ttyS0] disabled
[    0.255617] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 23, base_baud = 6250000) is a 16550A
[    0.648534] printk: console [ttyS0] enabled
[    0.675027] 1c25800.serial: ttyS2 at MMIO 0x1c25800 (irq = 24, base_baud = 6250000) is a 16550A
[    0.687689] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pd not found, using dummy regulator
[    0.713345] brd: module loaded
[    0.736069] loop: module loaded
[    0.740021] SCSI Media Changer driver v0.25 
[    0.745914] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pc not found, using dummy regulator
[    0.758773] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.763687] 5 fixed-partitions partitions found on MTD device spi0.0
[    0.770035] Creating 5 MTD partitions on "spi0.0":
[    0.774907] 0x000000000000-0x000000100000 : "u-boot"
[    0.783686] 0x000000100000-0x000000110000 : "dtb"
[    0.792022] 0x000000110000-0x000000510000 : "kernel"
[    0.800449] 0x000000510000-0x000000c10000 : "rootfs"
[    0.808997] 0x000000c10000-0x000001000000 : "overlayfs"
[    0.818275] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.824932] ehci-platform: EHCI generic platform driver
[    0.830449] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.836760] ohci-platform: OHCI generic platform driver
[    0.842454] usbcore: registered new interface driver usb-storage
[    0.849088] i2c /dev entries driver
[    0.854436] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    0.892286] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    0.901705] usbcore: registered new interface driver usbhid
[    0.907279] usbhid: USB HID core driver
[    0.927270] NET: Registered protocol family 17
[    0.931971] Key type dns_resolver registered
[    0.938513] Loading compiled-in X.509 certificates
[    0.952934] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pd not found, using dummy regulator
[    0.964269] sun4i-backend 1e60000.display-backend: Couldn't find matching frontend, frontend features disabled
[    0.975113] sun4i-drm display-engine: bound 1e60000.display-backend (ops 0xc0739054)
[    0.984200] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0737cac)
[    0.991983] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.998584] [drm] No driver support for vblank timestamp query.
[    1.005873] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.255718] Console: switching to colour frame buffer device 100x30
[    1.295607] sun4i-drm display-engine: fb0: sun4i-drmdrmfb frame buffer device
[    1.303649] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.322079] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.328866] ALSA device list:
[    1.331981]   #0: Loopback 1
[    1.335465] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.344192] cfg80211: failed to load regulatory.db
[    1.353545] random: fast init done
[    1.358818] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    1.370858] devtmpfs: mounted
[    1.381273] Freeing unused kernel memory: 1024K
[    1.385959] Run /etc/preinit as init process
[    1.427577] Kernel panic - not syncing: Requested init /etc/preinit failed (error -8).
[    1.435512] CPU: 0 PID: 1 Comm: swapper Not tainted 5.2.0-licheepi-nano+ #14
[    1.442539] Hardware name: Allwinner suniv Family
[    1.447303] [<c010e4ac>] (unwind_backtrace) from [<c010ba84>] (show_stack+0x10/0x14)
[    1.455049] [<c010ba84>] (show_stack) from [<c0116dc0>] (panic+0xe8/0x2e4)
[    1.461935] [<c0116dc0>] (panic) from [<c067f6a8>] (kernel_init+0x90/0x110)
[    1.468898] [<c067f6a8>] (kernel_init) from [<c01010e0>] (ret_from_fork+0x14/0x34)
[    1.476445] Exception stack(0xc3835fb0 to 0xc3835ff8)
[    1.481494] 5fa0:                                     00000000 00000000 00000000 00000000
[    1.489662] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.497824] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    1.504435] Rebooting in 5 seconds..
[    7.483668] Reboot failed -- System halted

#9 Re: 全志 SOC » v3s spi nand MX35LF1GE4AB 问题 » 2019-12-04 15:04:37

这个是有一个专门的nand驱动的

#13 Re: 全志 SOC » 分享Nano fc100s linux主线5.2(TF卡)+adb+lcd(800*480)+qt5的编译过程 » 2019-11-29 09:45:26

@hxhlb,使用spi flash是对的,我分别刷包,zImage的确是刷到0x100000这个地址,似乎是校验出错了,不能进入kerenl

SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
device 0 offset 0x100000, size 0x220000
SF: 2228224 bytes @ 0x100000 Read: OK
device 0 offset 0x340000, size 0x6000
SF: 24576 bytes @ 0x340000 Read: OK
Wrong Image Format for bootm command
ERROR: can't get kernel image!

#14 Re: 全志 SOC » 分享Nano fc100s linux主线5.2(TF卡)+adb+lcd(800*480)+qt5的编译过程 » 2019-11-25 19:02:08

按楼主的编译 u-boot 不能从 spi flash 中启动

U-Boot SPL 2018.01-g013ca45-dirty (Nov 25 2019 - 00:01:41)
DRAM: 64 MiB
Trying to boot from MMC1
Card did not respond to voltage select!
mmc_init: -95, time 22
spl: mmc init failed with error: -95
SPL: Unsupported Boot Device!
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

#15 Re: 全志 SOC » 分享Nano fc100s linux主线5.2(TF卡)+adb+lcd(800*480)+qt5的编译过程 » 2019-11-20 17:39:17

楼主, 两个配置文件都是无法解压?

tar zxvf config_191113.tgz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

#16 Re: 全志 SOC » 开源自己画的一个F1C100S板子和原理图,摄像头和屏幕同时引出,所有io引出 » 2019-11-04 18:14:45

@晕哥,最后修改的pcb有问题没有?也准备在上面改一版。适应自己的扩展板

#20 Re: 全志 SOC » 为啥 同样用tf卡刷系统, 使用荔枝派的无反应,不能刷机,使用海豚派的,就可以刷成功,是brom不一样吗? » 2019-10-29 14:22:45

刷bsp软件,同一个tf卡,v3s启动顺序优先从sd0中启动,荔枝派上不无反应,不能启动刷机程序

#22 Re: 全志 SOC » v3s spi nand MX35LF1GE4AB 问题 » 2019-10-29 11:52:58

已经解决了, u-boot, kernel中的 spi nand的问题,暂告一段落

#23 Re: 全志 SOC » 有没有在全志 V3s下用过Spi nand flash的朋友? » 2019-10-19 15:03:21

U-Boot 2011.09-rc1 (Oct 18 2019 - 23:10:17) Allwinner Technology 

[      0.334]version: 1.1.0
[      0.337]uboot commit : 8 
[      0.343]pmbus:   ready
not set main pmu id
axp read error
probe axp20x failed
axp152 read error
probe axp15 failed
axp_probe error
[      0.470]PMU: pll1 408 Mhz,PLL6=600 Mhz
AXI=204 Mhz,AHB=204 Mhz, APB1=102 Mhz 
set power on vol to default
dcdc2_vol = 1200
axp set dcdc2_vol to 1200 failed
dcdc3_vol = 3300
axp set dcdc3_vol to 3300 failed
aldo2_vol = 2500
axp set aldo2_vol to 2500 failed
aldo3_vol = 3000
axp set aldo3_vol to 3000 failed
ldo1_vol = 3300
axp set ldo1_vol to 3300 failed
ldo2_vol = 3000
axp set ldo2_vol to 3000 failed
ldo3_vol = 3000
axp set ldo3_vol to 3000 failed
find power_sply to end
vbus exist
no battery, limit to dc
dram_para_set start
dram_para_set end
[      0.600]DRAM:  64 MiB
relocation Offset is: 030a0000
save config for small mem_size 
Not Found clk pll_de in script 
Not Found clk pll_video1 in script 
Not Found clk pll_video in script 
Not Found clk pll_periph0 in script 
DRV_DISP_Init end
[      0.711]fetch script data boot_disp.output_disp fail
[      0.716]fetch script data boot_disp.output_type fail
[      0.721]fetch script data boot_disp.output_mode fail
[      0.726]fetch script data boot_disp.auto_hpd fail
[      0.731]lcd0_para.lcd_used=1
[disk_read_fs] no the partition
error: open disp_rsl.fex, maybe it is not exist
disp0 device type(1) enable
lcd_panel_fun[0].cfg_open_flow is NULL
lcd_panel_fun[0].cfg_panel_info is NULL
disp 0, clk: pll(360000000),clk(90000000),dclk(9000000) dsi_rate(360000000)
     clk real:pll(114000000),clk(0),dclk(0) dsi_rate(0)
lcd_panel_fun[0].cfg_open_flow is NULL
lcd_panel_fun[0].cfg_open_flow is NULL
workmode = 17
storage type = 1
NAND_UbootProbe start
NB1 : enter phy init
NandHwInit: Start Nand Hardware initializing .....
uboot:nand version: 2 25 20150917 1145 
Reg 0x01c20848: 0x3333
Reg 0x01c2085c: 0x55
Reg 0x01c20864: 0x10
uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x43a34210
request general tx dma channel ok!
uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x43a3422c
request general rx dma channel ok!
SPI nand ID: 21aaef 0
_SearchNandArchi fail
[ERR]NandHwInit: SCN_AnalyzeNandSystem() failed!
NandHwInit: End Nand Hardware initializing ..... FAIL!
NB1 : nand phy init fail
NB1 : enter phy Exit
nand release dma:43a34210
nand release dma:0
NAND_UbootProbe end: 0xffffffff
try nand fail
[      0.835][mmc]: mmc driver ver 2015-04-13 14:50:00
err: gpio count < =0 ,gpio_count is: 0 
[      0.844][mmc]: get sdc_phy_wipe fail.
[      0.847][mmc]: get sdc0 sdc_erase fail.
[      0.851][mmc]: get sdc_2xmode fail  used =  0
[      0.856][mmc]: get sdc_ddrmode fail  used =  0
[      0.861][mmc]: get sdc_f_max fail,use default  50000000Hz
[      0.866][mmc]: get card_line fail,use default card_line 4
[      0.872][mmc]: get sdc_ex_dly_used fail,use default
[      0.877][mmc]: SUNXI SD/MMC: 2
[      2.879][mmc]: mmc 2,update clk failed
[      2.882][mmc]: [mmc]: mmc 2  update clock failed
[      2.888][mmc]: mmc 2 Found fatal err,so no send cmd
[      2.893][mmc]: go idle failed
[      2.896][mmc]: mmc go idle error
[      2.899][mmc]: erase_grp_size:0x0WrBlk * 0x0 = 0x0 Byte
[      2.905][mmc]: secure_feature 0x0
[      2.908][mmc]: secure_removal_type  0x0
MMC init failed
In:    serial
Out:   serial
Err:   serial
--------fastboot partitions--------
mbr not exist
[      2.922]Hit any key to stop autoboot:  0 
work mode=0x11
run card sprite
try sprite_led_gpio config
[      2.932]sunxi sprite begin
sunxi sprite error: unable to get firmware start position
sunxi sprite firmware probe fail

#24 Re: 全志 SOC » v3s spi nand MX35LF1GE4AB 问题 » 2019-10-18 17:28:28

@jimmy, 我烧录编译前的固件是可以的,后面我逐个烧录,发现不存在问题,这个nand在 bsp中是能正常使用的

#25 Re: 全志 SOC » v3s spi nand MX35LF1GE4AB 问题 » 2019-10-18 16:13:26

烧录的日志

PHY_Scan_DelayMode: right delay mode 0x800
PHY_Scan_DelayMode: right delay mode,clk 75 MHz, bit[13]=0,bit[11]=1
_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0x0, 0x50, 0x48, 0x59
_GetOldPhysicArch: get old physic arch ok, 0x6d 0x2!
NAND_ReadPhyArch: get old physic arch ok, use old cfg, now:0x2 0x6d - old:0x2 0x6d!


[SCAN_DBG] ==============Nand Architecture Parameter==============
[SCAN_DBG]    Nand Chip ID:         0xffff12c2 0xffffffff
[SCAN_DBG]    Nand Chip Count:      0x1
[SCAN_DBG]    Nand Chip Connect:    0x1
[SCAN_DBG]    Sector Count Of Page: 0x4
[SCAN_DBG]    Page Count Of Block:  0x40
[SCAN_DBG]    Block Count Of Die:   0x400
[SCAN_DBG]    Plane Count Of Die:   0x2
[SCAN_DBG]    Die Count Of Chip:    0x1
[SCAN_DBG]    Bank Count Of Chip:   0x1
[SCAN_DBG]    Optional Operation:   0x6d
[SCAN_DBG]    Access Frequence:     0x4b
[SCAN_DBG] =======================================================


[FORMAT_DBG] ===========Logical Architecture Parameter===========
[FORMAT_DBG]    Page Count of Logic Block:  0x40
[FORMAT_DBG]    Sector Count of Logic Page: 0x8
[FORMAT_DBG]    Block Count of Die:         0x200
[FORMAT_DBG]    Die Count:                  0x1
[FORMAT_DBG] ===================================================
nand:found factory_bad_block(new version) table in block:26!
nand:support secure storage
secure storage updata ok!
nand secure storage ok: 21,22
NandHwInit: End Nand Hardware initializing ..... OK!
NB1 : nand phy init ok
check nand version start.
Current nand driver version is ff 0 2 21 
Media version is valid in block 2, version info is ff 0 2 21 
nand driver version match ok in block 2.
nand version = 0
Ready to erase boot blocks.
has cleared the boot blocks.
_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0x0, 0x50, 0x48, 0x59
_GetOldPhysicArch: get old physic arch ok, 0x6d 0x2!
NAND_ReadPhyArch: get old physic arch ok, use old cfg, now:0x2 0x6d - old:0x2 0x6d!
NB1 : enter phy Exit
nand release dma:43a33e6c
nand release dma:0
do need erase flash
no part need to protect user data
erase_flag = 1
NB1 : enter phy init
NandHwInit: Start Nand Hardware initializing .....
uboot:nand version: 2 25 20150917 1145 
Reg 0x01c20848: 0x3333
Reg 0x01c2085c: 0x55
Reg 0x01c20864: 0x10
uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x43a33e6c
request general tx dma channel ok!
uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x43a33e88
request general rx dma channel ok!
SPI nand ID: 12c212c2 12c212c2
[SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffcfffff 
nand : get id_number_ctl fail, a
_UpdateExtAccessFreqPara: no para.
PHY_Scan_DelayMode: right delay mode 0x0
PHY_Scan_DelayMode: right delay mode 0x800
PHY_Scan_DelayMode: right delay mode,clk 75 MHz, bit[13]=0,bit[11]=1
_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0x0, 0x50, 0x48, 0x59
_GetOldPhysicArch: get old physic arch ok, 0x6d 0x2!
NAND_ReadPhyArch: get old physic arch ok, use old cfg, now:0x2 0x6d - old:0x2 0x6d!


[SCAN_DBG] ==============Nand Architecture Parameter==============
[SCAN_DBG]    Nand Chip ID:         0xffff12c2 0xffffffff
[SCAN_DBG]    Nand Chip Count:      0x1
[SCAN_DBG]    Nand Chip Connect:    0x1
[SCAN_DBG]    Sector Count Of Page: 0x4
[SCAN_DBG]    Page Count Of Block:  0x40
[SCAN_DBG]    Block Count Of Die:   0x400
[SCAN_DBG]    Plane Count Of Die:   0x2
[SCAN_DBG]    Die Count Of Chip:    0x1
[SCAN_DBG]    Bank Count Of Chip:   0x1
[SCAN_DBG]    Optional Operation:   0x6d
[SCAN_DBG]    Access Frequence:     0x4b
[SCAN_DBG] =======================================================


[FORMAT_DBG] ===========Logical Architecture Parameter===========
[FORMAT_DBG]    Page Count of Logic Block:  0x40
[FORMAT_DBG]    Sector Count of Logic Page: 0x8
[FORMAT_DBG]    Block Count of Die:         0x200
[FORMAT_DBG]    Die Count:                  0x1
[FORMAT_DBG] ===================================================
nand:found factory_bad_block(new version) table in block:26!
nand:support secure storage
secure storage updata ok!
nand secure storage ok: 21,22
NandHwInit: End Nand Hardware initializing ..... OK!
NB1 : nand phy init ok
erase by flag 1
Ready to erase boot blocks.
has cleared the boot blocks.
Ready to erase chip.
page_size=2048, page_per_block=64, blk_cnt_per_chip=1024
nand:found factory_bad_block(new version) table in block:26!
nand:support secure storage
start block:23
erase chip 0, block 256
erase chip 0, block 512
erase chip 0, block 768
has cleared the chip.
the nand is OK.
nand : get id_number_ctl fail, 0
_UpdateExtMultiPlanePara: no para.
NAND_UpdatePhyArch: get script error, use current driver cfg!
NAND_UpdatePhyArch: before set new arch: 0x6d 0x2.
_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0x0, 0x50, 0x48, 0x59
_GetOldPhysicArch: get old physic arch ok, 0x6d 0x2!
_SetNewPhysicArch: write physic arch to blk 20...
_SetNewPhysicArch: erase block 20 ok.
_SetNewPhysicArch: ============
_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0x0, 0x50, 0x48, 0x59
_GetOldPhysicArch: get old physic arch ok, 0x6d 0x2!
NB1 : enter phy Exit
nand release dma:43a33e6c
nand release dma:0
[      2.553]successed in erasing flash
NAND_UbootInit
NAND_UbootInit start
NB1 : enter NAND_LogicInit
NandHwInit: Start Nand Hardware initializing .....
uboot:nand version: 2 25 20150917 1145 
Reg 0x01c20848: 0x3333
Reg 0x01c2085c: 0x55
Reg 0x01c20864: 0x10
uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x43a33e6c
request general tx dma channel ok!
uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x43a33e88
request general rx dma channel ok!
SPI nand ID: 12c212c2 12c212c2
[SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffcfffff 
nand : get id_number_ctl fail, a
_UpdateExtAccessFreqPara: no para.
PHY_Scan_DelayMode: right delay mode 0x0
PHY_Scan_DelayMode: right delay mode 0x800
PHY_Scan_DelayMode: right delay mode,clk 75 MHz, bit[13]=0,bit[11]=1
_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0x0, 0x50, 0x48, 0x59
_GetOldPhysicArch: get old physic arch ok, 0x6d 0x2!
NAND_ReadPhyArch: get old physic arch ok, use old cfg, now:0x2 0x6d - old:0x2 0x6d!


[SCAN_DBG] ==============Nand Architecture Parameter==============
[SCAN_DBG]    Nand Chip ID:         0xffff12c2 0xffffffff
[SCAN_DBG]    Nand Chip Count:      0x1
[SCAN_DBG]    Nand Chip Connect:    0x1
[SCAN_DBG]    Sector Count Of Page: 0x4
[SCAN_DBG]    Page Count Of Block:  0x40
[SCAN_DBG]    Block Count Of Die:   0x400
[SCAN_DBG]    Plane Count Of Die:   0x2
[SCAN_DBG]    Die Count Of Chip:    0x1
[SCAN_DBG]    Bank Count Of Chip:   0x1
[SCAN_DBG]    Optional Operation:   0x6d
[SCAN_DBG]    Access Frequence:     0x4b
[SCAN_DBG] =======================================================


[FORMAT_DBG] ===========Logical Architecture Parameter===========
[FORMAT_DBG]    Page Count of Logic Block:  0x40
[FORMAT_DBG]    Sector Count of Logic Page: 0x8
[FORMAT_DBG]    Block Count of Die:         0x200
[FORMAT_DBG]    Die Count:                  0x1
[FORMAT_DBG] ===================================================
new nand flash
nand:support secure storage
secure storage updata ok!
nand secure storage ok: 21,22
NandHwInit: End Nand Hardware initializing ..... OK!
nand : get CapacityLevel fail, a
burn nand partition table! mbr tbl: 0x43e67494, part_count:6
new nand flash
nand:support secure storage
start block:23
[NE]mbr read 12
[NE]mbr read end!
[NE]mbr partition start!
[NE]mbr partition end!
[NE]erase MP!!!
[ND]new write mbr 12!
[ND]new write mbr end!
[NE]write_new_bad_block_table new format first build 14!
[ND]new_write_no use_block!
[ND]build all_phy partition start!
[ND]nand_info->SectorNumsPerPage :0x8
[ND]nand_info->PageNumsPerBlk :0x40
[ND]nand_info->BlkPerChip :0x200
[ND]nand_info->ChipNum :0x1
[NE]partition_num: 0,size :0xffffffff,cross_talk 0
[NE]part mbr size: 0x800 type: 0
[NE]part bootloader size: 0x4000 type: 0
[NE]part env size: 0x400 type: 0
[NE]part boot size: 0x8000 type: 0
[NE]part system size: 0x28000 type: 0
[NE]part UDISK size: 0x0 type: 0
[ND]build 1 phy_partition !
[ND]write partition 12!
[ND]write partition end!
[NE]write_factory_block_table_v2!
[ND]factory bad block num:0!
[ND]nand_info->type :0
[ND]nand_info->SectorNumsPerPage :8
[ND]nand_info->BytesUserData :16
[ND]nand_info->PageNumsPerBlk :64
[ND]nand_info->BlkPerChip :512
[ND]nand_info->FirstBuild :1
[ND]nand_info->FullBitmap :10
[ND]nand_info->bad_block_addr.Chip_NO :0
[ND]nand_info->bad_block_addr.Block_NO :13
[ND]nand_info->mbr_block_addr.Chip_NO :0
[ND]nand_info->mbr_block_addr.Block_NO :12
[ND]nand_info->no_used_block_addr.Chip_NO :0
[ND]nand_info->no_used_block_addr.Block_NO :16
[ND]nand_info->new_bad_block_addr.Chip_NO :0
[ND]nand_info->new_bad_block_addr.Block_NO :14
[ND]nand_info->new_bad_page_addr :65535
[ND]nand_info->partition_nums :1
[ND]sizeof partition:1192
[ND]nand_info->partition:0:
[ND]size:0x36400
[ND]cross_talk:0x0
[ND]attribute:0x0
[ND]start: chip:0 block:16
[ND]end  : chip:0 block:511
[ND]nand_partition0
[ND]nftl start:496,62
[ND]first
[ND]before second 496 434.
[ND]all block full!!
[ND]get a new free block
[ND]A64 nand2.0 version:0009 
[ND]zone->nand_chip->blk_per_chip: 496 
[ND]zone->nand_chip->bytes_per_page: 4096 
[ND]zone->nand_chip->pages_per_blk: 64 
[ND]zone->nand_chip->max_erase_times: 3000 
[ND]zone->nand_chip->support_read_reclaim: 0 
[ND]zone->test: 0 
[ND]zone->zone_no: 0 
[ND]zone->zone_attr: 0 
[ND]zone->blocks: 496 
[ND]zone->bad_block: 0 
[ND]zone->logic_cap_in_sects: 222208 
[ND]zone->backup_cap_in_sects: 31744 
[ND]zone->free_block_num: 495 
[ND]zone->gc_strategy.start_gc_free_blocks: 12 
[ND]zone->gc_strategy.stop_gc_free_blocks: 41 
[ND]zone->gc_strategy.gc_page: 0 
[ND]zone->gc_strategy.process: 1 
[ND]zone->prio_gc.prio_type : 0 
[ND]zone->zone_start_phy_block->phy_block.Block_NO: 0 
[ND]zone->zone_end_phy_block->phy_block.Block_NO: 495 
[ND]zone->zone_phy_page_map_for_gc: 4295f1f8 
[ND]zone->current_block.user_info: 4295ed68 
[ND]zone->current_block.block_info: 42941b04 
[ND]zone->current_block.block_info->phy_block.Block_NO: 495 
[ND]zone->current_block.page_used: 0 
[ND]zone->current_block.block_info->block_used_count: 0 
[ND]zone->read_reclaim_complete: 0 
[ND]zone->temp_page_buf: 42941b50 
[ND]zone->max_erase_num: 0 
[ND]zone->cache.cache_totals: 0 
[ND]zone->cfg->nftl_dont_use_cache: 1 
[ND]zone->cfg->nftl_use_cache_sort: 1 
[ND]zone->cfg->nftl_support_gc_read_reclaim: 1 
[ND]zone->cfg->nftl_support_wear_leveling: 1 
[ND]zone->cfg->nftl_need_erase: 0 
[ND]zone->cfg->nftl_min_free_block_num: 32 
[ND]zone->cfg->nftl_gc_threshold_free_block_num: a 
[ND]zone->cfg->nftl_min_free_block: a 
[ND]zone->cfg->nftl_gc_threshold_ratio_numerator: 2 
[ND]zone->cfg->nftl_gc_threshold_ratio_denominator: 3 
[ND]zone->cfg->nftl_max_cache_num: 20 
[ND]zone->cfg->nftl_max_cache_write_num: 10 
[ND]zone->cfg->nftl_cross_talk: 0 
[ND]zone->cfg->nftl_read_claim_interval: 1296000 
[NE]smart->version:aaaaaa01;
[NE]smart->total_recv_read_sectors:0;
[NE]smart->total_recv_write_sectors:0;
[NE]smart->total_real_read_pages:0;
[NE]smart->total_real_write_pages:0;
[NE]smart->total_recv_discard_sectors:0;
[NE]smart->total_real_discard_sectors:0;
[NE]smart->total_recv_read_claim_pages:0;
[NE]smart->total_gc_times:0;
[NE]smart->total_gc_pages:0;
[NE]smart->total_wl_times:0;
[NE]smart->total_real_read_error_pages:0;
[NE]smart->total_real_write_error_pages:0;
[NE]smart->total_normal_power_cycles:1;
[NE]smart->total_unusual_power_cycles:0;
[NE]smart->max_block_erase_times:0;
[NE]smart->min_block_erase_times:0;
[NE]smart->max_block_used_counter:0;
[NE]smart->min_block_used_counter:0;
[NE]smart->read_reclaim_utc:0;
[ND]nftl ok!
[ND]max_erase_times = 65000
[ND]nftl_add ok
NB1 : NAND_LogicInit ok, result = 0x0 
nand not need closed
sprite_cartoon ui progressbar: invalid progressbar pointer
[      3.652]begin to download part
nand already init
[      3.657]begin to download part bootloader
partdata hi 0x0
partdata lo 0xfbc00
sparse: bad magic
[      4.002]successed in writting part bootloader
origin_verify value = 90b6ed43, active_verify value = 90b6ed43
[      4.113]successed in verify part bootloader
sprite_cartoon ui progressbar: invalid progressbar pointer
[      4.122]successed in download part bootloader
[      4.127]begin to download part env
partdata hi 0x0
partdata lo 0x10000
sparse: bad magic
[      4.156]successed in writting part env
origin_verify value = f290bf32, active_verify value = f290bf32
[      4.175]successed in verify part env
sprite_cartoon ui progressbar: invalid progressbar pointer
[      4.184]successed in download part env
[      4.188]begin to download part boot
partdata hi 0x0
partdata lo 0x3c7000
sparse: bad magic
[      5.525]successed in writting part boot
origin_verify value = fd5dd0e3, active_verify value = fd5dd0e3
[      5.910]successed in verify part boot
sprite_cartoon ui progressbar: invalid progressbar pointer
[      5.919]successed in download part boot
[      5.923]begin to download part system
partdata hi 0x0
partdata lo 0x16eb118
chunk 0(21)
chunk 1(21)
chunk 2(21)
chunk 3(21)
chunk 4(21)
chunk 5(21)
chunk 6(21)
chunk 7(21)
chunk 8(21)
chunk 9(21)
chunk 10(21)
chunk 11(21)
chunk 12(21)
chunk 13(21)
chunk 14(21)
chunk 15(21)
chunk 16(21)
chunk 17(21)
chunk 18(21)
chunk 19(21)
chunk 20(21)
[     14.006]successed in writting part system
origin_verify value = da299f66, active_verify value = da299f66
[     14.016]successed in verify part system
sprite_cartoon ui progressbar: invalid progressbar pointer
[     14.025]successed in download part system
NAND_UbootExit
NB1 : NAND_LogicExit
nand release dma:43a33e6c
nand release dma:0
[     14.039]successed in downloading part
sprite_cartoon ui progressbar: invalid progressbar pointer
nand not opened
uboot size = 0xac000
storage type = 5
NB1 : enter phy init
NandHwInit: Start Nand Hardware initializing .....
uboot:nand version: 2 25 20150917 1145 
Reg 0x01c20848: 0x3333
Reg 0x01c2085c: 0x55
Reg 0x01c20864: 0x10
uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x43a33e6c
request general tx dma channel ok!
uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x43a33e88
request general rx dma channel ok!
SPI nand ID: 12c212c2 12c212c2
[SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffcfffff 
nand : get id_number_ctl fail, a
_UpdateExtAccessFreqPara: no para.
PHY_Scan_DelayMode: right delay mode 0x0
PHY_Scan_DelayMode: right delay mode 0x800
PHY_Scan_DelayMode: right delay mode,clk 75 MHz, bit[13]=0,bit[11]=1
_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0x0, 0x50, 0x48, 0x59
_GetOldPhysicArch: get old physic arch ok, 0x6d 0x2!
NAND_ReadPhyArch: get old physic arch ok, use old cfg, now:0x2 0x6d - old:0x2 0x6d!


[SCAN_DBG] ==============Nand Architecture Parameter==============
[SCAN_DBG]    Nand Chip ID:         0xffff12c2 0xffffffff
[SCAN_DBG]    Nand Chip Count:      0x1
[SCAN_DBG]    Nand Chip Connect:    0x1
[SCAN_DBG]    Sector Count Of Page: 0x4
[SCAN_DBG]    Page Count Of Block:  0x40
[SCAN_DBG]    Block Count Of Die:   0x400
[SCAN_DBG]    Plane Count Of Die:   0x2
[SCAN_DBG]    Die Count Of Chip:    0x1
[SCAN_DBG]    Bank Count Of Chip:   0x1
[SCAN_DBG]    Optional Operation:   0x6d
[SCAN_DBG]    Access Frequence:     0x4b
[SCAN_DBG] =======================================================


[FORMAT_DBG] ===========Logical Architecture Parameter===========
[FORMAT_DBG]    Page Count of Logic Block:  0x40
[FORMAT_DBG]    Sector Count of Logic Page: 0x8
[FORMAT_DBG]    Block Count of Die:         0x200
[FORMAT_DBG]    Die Count:                  0x1
[FORMAT_DBG] ===================================================
nand:found factory_bad_block(new version) table in block:26!
nand:support secure storage
secure storage updata ok!
nand secure storage ok: 21,22
NandHwInit: End Nand Hardware initializing ..... OK!
NB1 : nand phy init ok
burn uboot normal mode!
uboot 2 
uboot 3 
uboot 4 
uboot 5 
uboot 6 
uboot 7 
uboot 8 
uboot 9 
uboot 10 
uboot 11 
uboot 12 
uboot 13 
uboot 14 
uboot 15 
uboot 16 
uboot 17 
uboot 18 
uboot 19 
NB1 : enter phy Exit
nand release dma:43a33e6c
nand release dma:0
sunxi_sprite_deal_uboot ok
[     14.976]successed in downloading uboot
sprite_cartoon ui progressbar: invalid progressbar pointer
dram para[0] = 168
dram para[1] = 2
dram para[2] = 39bb
dram para[3] = 0
dram para[4] = d20040
dram para[5] = 0
dram para[6] = 263
dram para[7] = 4
dram para[8] = 0
dram para[9] = 0
dram para[10] = 24910c
dram para[11] = 12118c9
dram para[12] = 3c02b
dram para[13] = 0
dram para[14] = 0
dram para[15] = 0
dram para[16] = 0
dram para[17] = 0
dram para[18] = 0
dram para[19] = 0
dram para[20] = 0
dram para[21] = 220000
dram para[22] = 78
dram para[23] = d000001
dram para[24] = 0
dram para[25] = 0
dram para[26] = 0
dram para[27] = 0
dram para[28] = 0
dram para[29] = 0
dram para[30] = 0
dram para[31] = 0
storage type = 5
NB1 : enter phy init
NandHwInit: Start Nand Hardware initializing .....
uboot:nand version: 2 25 20150917 1145 
Reg 0x01c20848: 0x3333
Reg 0x01c2085c: 0x55
Reg 0x01c20864: 0x10
uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x43a33e6c
request general tx dma channel ok!
uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x43a33e88
request general rx dma channel ok!
SPI nand ID: 12c212c2 12c212c2
[SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffcfffff 
nand : get id_number_ctl fail, a
_UpdateExtAccessFreqPara: no para.
PHY_Scan_DelayMode: right delay mode 0x0
PHY_Scan_DelayMode: right delay mode 0x800
PHY_Scan_DelayMode: right delay mode,clk 75 MHz, bit[13]=0,bit[11]=1
_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0x0, 0x50, 0x48, 0x59
_GetOldPhysicArch: get old physic arch ok, 0x6d 0x2!
NAND_ReadPhyArch: get old physic arch ok, use old cfg, now:0x2 0x6d - old:0x2 0x6d!


[SCAN_DBG] ==============Nand Architecture Parameter==============
[SCAN_DBG]    Nand Chip ID:         0xffff12c2 0xffffffff
[SCAN_DBG]    Nand Chip Count:      0x1
[SCAN_DBG]    Nand Chip Connect:    0x1
[SCAN_DBG]    Sector Count Of Page: 0x4
[SCAN_DBG]    Page Count Of Block:  0x40
[SCAN_DBG]    Block Count Of Die:   0x400
[SCAN_DBG]    Plane Count Of Die:   0x2
[SCAN_DBG]    Die Count Of Chip:    0x1
[SCAN_DBG]    Bank Count Of Chip:   0x1
[SCAN_DBG]    Optional Operation:   0x6d
[SCAN_DBG]    Access Frequence:     0x4b
[SCAN_DBG] =======================================================


[FORMAT_DBG] ===========Logical Architecture Parameter===========
[FORMAT_DBG]    Page Count of Logic Block:  0x40
[FORMAT_DBG]    Sector Count of Logic Page: 0x8
[FORMAT_DBG]    Block Count of Die:         0x200
[FORMAT_DBG]    Die Count:                  0x1
[FORMAT_DBG] ===================================================
nand:found factory_bad_block(new version) table in block:26!
nand:support secure storage
secure storage updata ok!
nand secure storage ok: 21,22
NandHwInit: End Nand Hardware initializing ..... OK!
NB1 : nand phy init ok
burn boot0 normal mode!
boot0 0 
boot0 1 
NB1 : enter phy Exit
nand release dma:43a33e6c
nand release dma:0
[     15.323]successed in downloading boot0
sprite_cartoon ui progressbar: invalid progressbar pointer
Fail in getting glyph of unicode 43. Because face is invalid
Fail in getting glyph of unicode 41. Because face is invalid
Fail in getting glyph of unicode 52. Because face is invalid
Fail in getting glyph of unicode 44. Because face is invalid
Fail in getting glyph of unicode 20. Because face is invalid
Fail in getting glyph of unicode 4f. Because face is invalid
Fail in getting glyph of unicode 4b. Because face is invalid
boot ui char: not enough space to printf
[     15.374]sprite success 
next work 3
SUNXI_UPDATE_NEXT_ACTION_SHUTDOWN
set next system normal
drv_disp_exit
nand not opened
[     18.385]power off
set power off vol to default
sunxi#

#26 Re: 全志 SOC » v3s spi nand MX35LF1GE4AB 问题 » 2019-10-18 15:43:49

@jimmy 请重新看1楼,刚开始那个信息是别一个块板的,这个信息才是mix 的

#27 全志 SOC » v3s spi nand MX35LF1GE4AB 问题 » 2019-10-18 15:34:38

billnie
回复: 21
[SCAN_DBG]    Block Count Of Die:   0x400
[SCAN_DBG]    Plane Count Of Die:   0x2
[SCAN_DBG]    Die Count Of Chip:    0x1
[SCAN_DBG]    Bank Count Of Chip:   0x1
[SCAN_DBG]    Optional Operation:   0x6d
[SCAN_DBG]    Access Frequence:     0x4b
[SCAN_DBG] =======================================================


[FORMAT_DBG] ===========Logical Architecture Parameter===========
[FORMAT_DBG]    Page Count of Logic Block:  0x40
[FORMAT_DBG]    Sector Count of Logic Page: 0x8
[FORMAT_DBG]    Block Count of Die:         0x200
[FORMAT_DBG]    Die Count:                  0x1
[FORMAT_DBG] ===================================================
nand:found factory_bad_block(new version) table in block:26!
nand:support secure storage
secure storage updata ok!
nand secure storage ok: 21,22
NandHwInit: End Nand Hardware initializing ..... OK!
nand : get CapacityLevel fail, a
not burn nand partition table!
nand:found factory_bad_block(new version) table in block:26!
nand:support secure storage
start block:23
[NE]mbr read 12
[NE]mbr read ok!
[NE]mbr read end!
[NE]mbr partition start!
[NE]mbr partition ok!
[NE]mbr partition end!
[NE]new nand info init!!
[NE]mbr read 12
[NE]mbr read ok!
[NE]mbr read end!
[NE]get mbr_data table
[ND]ok  get factory_bad_block table!
[NE]new_bad_block table new format!
[ND]ok get a new bad table!
[ND]build all_phy partition start!
[NE]mbr partition start!
[NE]mbr partition ok!
[NE]mbr partition end!
[NE]partition_num: 0,size :0x36400,cross_talk 0
[NE]part mbr size: 0x800 type: 0
[NE]part bootloader size: 0x4000 type: 0
[NE]part env size: 0x400 type: 0
[NE]part boot size: 0x8000 type: 0
[NE]part system size: 0x28000 type: 0
[NE]part UDISK size: 0x1800 type: 0
[ND]build 1 phy_partition !
[ND]nand_info->type :0
[ND]nand_info->SectorNumsPerPage :8
[ND]nand_info->BytesUserData :16
[ND]nand_info->PageNumsPerBlk :64
[ND]nand_info->BlkPerChip :512
[ND]nand_info->FirstBuild :0
[ND]nand_info->FullBitmap :10
[ND]nand_info->bad_block_addr.Chip_NO :0
[ND]nand_info->bad_block_addr.Block_NO :13
[ND]nand_info->mbr_block_addr.Chip_NO :0
[ND]nand_info->mbr_block_addr.Block_NO :12
[ND]nand_info->no_used_block_addr.Chip_NO :0
[ND]nand_info->no_used_block_addr.Block_NO :16
[ND]nand_info->new_bad_block_addr.Chip_NO :0
[ND]nand_info->new_bad_block_addr.Block_NO :14
[ND]nand_info->new_bad_page_addr :65535
[ND]nand_info->partition_nums :1
[ND]sizeof partition:1192
[ND]nand_info->partition:0:
[ND]size:0x36400
[ND]cross_talk:0x0
[ND]attribute:0x0
[ND]start: chip:0 block:16
[ND]end  : chip:0 block:511
NB1 : nftl num: 1 
 init nftl: 0 
[ND]nand_partition0
[ND]nftl start:496,62
[ND]first
[ND]before second 496 434.
[NE]smart->version:aaaaaa01;
[NE]smart->total_recv_read_sectors:9878;
[NE]smart->total_recv_write_sectors:56878;
[NE]smart->total_real_read_pages:1257;
[NE]smart->total_real_write_pages:7232;
[NE]smart->total_recv_discard_sectors:0;
[NE]smart->total_real_discard_sectors:0;
[NE]smart->total_recv_read_claim_pages:0;
[NE]smart->total_gc_times:0;
[NE]smart->total_gc_pages:0;
[NE]smart->total_wl_times:0;
[NE]smart->total_real_read_error_pages:0;
[NE]smart->total_real_write_error_pages:0;
[NE]smart->total_normal_power_cycles:2;
[NE]smart->total_unusual_power_cycles:0;
[NE]smart->max_block_erase_times:0;
[NE]smart->min_block_erase_times:0;
[NE]smart->max_block_used_counter:0;
[NE]smart->min_block_used_counter:0;
[NE]smart->read_reclaim_utc:0;
[NE]recover_phy_page_mapping no used page 21!!
[ND]recover 382 21
[ND]A64 nand2.0 version:0009 
[ND]zone->nand_chip->blk_per_chip: 496 
[ND]zone->nand_chip->bytes_per_page: 4096 
[ND]zone->nand_chip->pages_per_blk: 64 
[ND]zone->nand_chip->max_erase_times: 3000 
[ND]zone->nand_chip->support_read_reclaim: 0 
[ND]zone->test: 0 
[ND]zone->zone_no: 0 
[ND]zone->zone_attr: 0 
[ND]zone->blocks: 496 
[ND]zone->bad_block: 0 
[ND]zone->logic_cap_in_sects: 222208 
[ND]zone->backup_cap_in_sects: 31744 
[ND]zone->free_block_num: 382 
[ND]zone->gc_strategy.start_gc_free_blocks: 12 
[ND]zone->gc_strategy.stop_gc_free_blocks: 41 
[ND]zone->gc_strategy.gc_page: 0 
[ND]zone->gc_strategy.process: 1 
[ND]zone->prio_gc.prio_type : 0 
[ND]zone->zone_start_phy_block->phy_block.Block_NO: 0 
[ND]zone->zone_end_phy_block->phy_block.Block_NO: 495 
[ND]zone->zone_phy_page_map_for_gc: 4293dad0 
[ND]zone->current_block.user_info: 4293d640 
[ND]zone->current_block.block_info: 4291f3f8 
[ND]zone->current_block.block_info->phy_block.Block_NO: 382 
[ND]zone->current_block.page_used: 21 
[ND]zone->current_block.block_info->block_used_count: 113 
[ND]zone->read_reclaim_complete: 0 
[ND]zone->temp_page_buf: 42920428 
[ND]zone->max_erase_num: 1 
[ND]zone->cache.cache_totals: 0 
[ND]zone->cfg->nftl_dont_use_cache: 1 
[ND]zone->cfg->nftl_use_cache_sort: 1 
[ND]zone->cfg->nftl_support_gc_read_reclaim: 1 
[ND]zone->cfg->nftl_support_wear_leveling: 1 
[ND]zone->cfg->nftl_need_erase: 0 
[ND]zone->cfg->nftl_min_free_block_num: 32 
[ND]zone->cfg->nftl_gc_threshold_free_block_num: a 
[ND]zone->cfg->nftl_min_free_block: a 
[ND]zone->cfg->nftl_gc_threshold_ratio_numerator: 2 
[ND]zone->cfg->nftl_gc_threshold_ratio_denominator: 3 
[ND]zone->cfg->nftl_max_cache_num: 20 
[ND]zone->cfg->nftl_max_cache_write_num: 10 
[ND]zone->cfg->nftl_cross_talk: 0 
[ND]zone->cfg->nftl_read_claim_interval: 1296000 
[NE]smart->version:aaaaaa01;
[NE]smart->total_recv_read_sectors:9878;
[NE]smart->total_recv_write_sectors:56878;
[NE]smart->total_real_read_pages:1279;
[NE]smart->total_real_write_pages:7232;
[NE]smart->total_recv_discard_sectors:0;
[NE]smart->total_real_discard_sectors:0;
[NE]smart->total_recv_read_claim_pages:0;
[NE]smart->total_gc_times:0;
[NE]smart->total_gc_pages:0;
[NE]smart->total_wl_times:0;
[NE]smart->total_real_read_error_pages:0;
[NE]smart->total_real_write_error_pages:0;
[NE]smart->total_normal_power_cycles:2;
[NE]smart->total_unusual_power_cycles:0;
[NE]smart->max_block_erase_times:0;
[NE]smart->min_block_erase_times:0;
[NE]smart->max_block_used_counter:0;
[NE]smart->min_block_used_counter:0;
[NE]smart->read_reclaim_utc:0;
[ND]nftl ok!
[ND]max_erase_times = 65000
[ND]nftl_add ok
NB1 : NAND_LogicInit ok, result = 0x0 
[      1.675]sunxi flash init ok
In:    serial
Out:   serial
Err:   serial
--------fastboot partitions--------
-total partitions:5-
-name-        -start-       -size-      
bootloader  : 100000        800000      
env         : 900000        80000       
boot        : 980000        1000000     
system      : 1980000       5000000     
UDISK       : 6980000       0           
-----------------------------------
base bootcmd=run setargs_spinor boot_normal
bootcmd set setargs_nand
key 0
cant find rcvy value
cant find fstbt value
no misc partition is found
to be run cmd=run setargs_spinor boot_normal
WORK_MODE_BOOT
board_status_probe
adver not need show
sunxi_bmp_logo_display

** Unable to read "bootlogo.bmp" from sunxi_flash 0:1 **
sunxi bmp info error : unable to open logo file bootlogo.bmp
read bootlogo partition fail,start_block=0x0,rblock=0x0 ,ret=0
Not a JPG file ?
parse_header failed

Use decode 2x1 sampling
sunxi_read_bootlogo: jpg convert argb  
[      1.772]Hit any key to stop autoboot:  0 
read boot or recovery all
[      2.145]sunxi flash read :offset 980000, 5005662 bytes OK
---------------------
kernel size: 0x29d5c0 
kernel addr: 0x40008000 
ramdisk size: 0x12899f 
ramdisk addr: 0x41000000 
second size: 0x0 
second addr: 0x40f00000 
name: 
cmdline: 
moving kernel from 40008000 to: 40008000, size 0x29d5c0
moving ramdisk from 402a5800 to: 41000000, size 0x12899f
no signature
[      2.185]ready to boot
do_boota_linux storage_type = 5
board_display_setenv:  disp_para=0 init_disp=0 tv_vdid=0
HELLO! BOOT0 is starting!
boot0 version : 4.0.0
boot0 commit : 8 
fel flag  = 0x00000000
rtc[0] value = 0x00000000
rtc[1] value = 0x00000000
rtc[2] value = 0x00000000
rtc[3] value = 0x00000000
rtc[4] value = 0x00000000
rtc[5] value = 0x00000000
rtc[6] value = 0x00000000
rtc[7] value = 0x00000000
i2c gpio config 22777722
axp209 read error
axp152 read error
DRAM DRIVE INFO: V0.7
DRAM Type = 2 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
DRAM CLK = 360 MHz
DRAM zq value: 000039bb
DRAM size = 64 MB
dram size =64
Reg 0x01c20848: 0x00003333
0x01c20028 0x90041811
0x01c200a0 0x8100000f
spinand UBOOT_LAST_BLK_NUM 19
Succeed in opening spi nand flash.
Succeed in reading Boot1 file head.
current block is 2.
current block is 3.
current block is 4.
current block is 5.
current block is 6.
current block is 7.
sum=7af3d0e4
src_sum=7af3d0e4
The file stored in block 2 to block 6 is perfect.
----------storage_type = 5  in boot0-------------------------
Ready to disable icache.
Jump to secend Boot.
[      0.507]

U-Boot 2011.09-rc1 (Oct 17 2019 - 20:46:08) Allwinner Technology 

[      0.515]version: 1.1.0
[      0.517]uboot commit : 8 
[      0.524]pmbus:   ready
not set main pmu id
axp read error
probe axp20x failed
axp152 read error
probe axp15 failed
axp_probe error
[      0.651]PMU: pll1 408 Mhz,PLL6=600 Mhz
AXI=204 Mhz,AHB=204 Mhz, APB1=102 Mhz 
set power on vol to default
dcdc2_vol = 1200
axp set dcdc2_vol to 1200 failed
dcdc3_vol = 3300
axp set dcdc3_vol to 3300 failed
aldo2_vol = 2500
axp set aldo2_vol to 2500 failed
aldo3_vol = 3000
axp set aldo3_vol to 3000 failed
ldo1_vol = 3300
axp set ldo1_vol to 3300 failed
ldo2_vol = 3000
axp set ldo2_vol to 3000 failed
ldo3_vol = 3000
axp set ldo3_vol to 3000 failed
find power_sply to end
vbus exist
no battery, limit to dc
no key input
dram_para_set start
dram_para_set end
[      0.782]DRAM:  64 MiB
relocation Offset is: 030a1000
save config for small mem_size 
workmode = 0
storage type = 5
[      0.890]SPINAND: NAND_UbootInit
NAND_UbootInit start
NB1 : enter NAND_LogicInit
NandHwInit: Start Nand Hardware initializing .....
uboot:nand version: 2 25 20150917 1145 
Reg 0x01c20848: 0x3333
Reg 0x01c2085c: 0x55
Reg 0x01c20864: 0x10
uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x43a33e6c
request general tx dma channel ok!
uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x43a33e88
request general rx dma channel ok!
SPI nand ID: 12c212c2 12c212c2
[SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffcfffff 
nand : get id_number_ctl fail, a
_UpdateExtAccessFreqPara: no para.
PHY_Scan_DelayMode: right delay mode 0x0
PHY_Scan_DelayMode: right delay mode 0x800
PHY_Scan_DelayMode: right delay mode,clk 75 MHz, bit[13]=0,bit[11]=1
_GetOldPhysicArch: chip 0, block 20, page 0, oob: 0x0, 0x50, 0x48, 0x59
_GetOldPhysicArch: get old physic arch ok, 0x6d 0x2!
NAND_ReadPhyArch: get old physic arch ok, use old cfg, now:0x2 0x6d - old:0x2 0x6d!


[SCAN_DBG] ==============Nand Architecture Parameter==============
[SCAN_DBG]    Nand Chip ID:         0xffff12c2 0xffffffff
[SCAN_DBG]    Nand Chip Count:      0x1
[SCAN_DBG]    Nand Chip Connect:    0x1
[SCAN_DBG]    Sector Count Of Page: 0x4
[SCAN_DBG]    Page Count Of Block:  0x40
[SCAN_DBG]    Block Count Of Die:   0x400
[SCAN_DBG]    Plane Count Of Die:   0x2
[SCAN_DBG]    Die Count Of Chip:    0x1
[SCAN_DBG]    Bank Count Of Chip:   0x1
[SCAN_DBG]    Optional Operation:   0x6d
[SCAN_DBG]    Access Frequence:     0x4b
[SCAN_DBG] =======================================================


[FORMAT_DBG] ===========Logical Architecture Parameter===========
[FORMAT_DBG]    Page Count of Logic Block:  0x40
[FORMAT_DBG]    Sector Count of Logic Page: 0x8
[FORMAT_DBG]    Block Count of Die:         0x200
[FORMAT_DBG]    Die Count:                  0x1
[FORMAT_DBG] ===================================================
nand:found factory_bad_block(new version) table in block:26!
nand:support secure storage
secure storage updata ok!
nand secure storage ok: 21,22
NandHwInit: End Nand Hardware initializing ..... OK!
nand : get CapacityLevel fail, a
not burn nand partition table!
nand:found factory_bad_block(new version) table in block:26!
nand:support secure storage
start block:23
[NE]mbr read 12
[NE]mbr read ok!
[NE]mbr read end!
[NE]mbr partition start!
[NE]mbr partition ok!
[NE]mbr partition end!
[NE]new nand info init!!
[NE]mbr read 12
[NE]mbr read ok!
[NE]mbr read end!
[NE]get mbr_data table
[ND]ok  get factory_bad_block table!
[NE]new_bad_block table new format!
[ND]ok get a new bad table!
[ND]build all_phy partition start!
[NE]mbr partition start!
[NE]mbr partition ok!
[NE]mbr partition end!
[NE]partition_num: 0,size :0x36400,cross_talk 0
[NE]part mbr size: 0x800 type: 0
[NE]part bootloader size: 0x4000 type: 0
[NE]part env size: 0x400 type: 0
[NE]part boot size: 0x8000 type: 0
[NE]part system size: 0x28000 type: 0
[NE]part UDISK size: 0x1800 type: 0
[ND]build 1 phy_partition !
[ND]nand_info->type :0
[ND]nand_info->SectorNumsPerPage :8
[ND]nand_info->BytesUserData :16
[ND]nand_info->PageNumsPerBlk :64
[ND]nand_info->BlkPerChip :512
[ND]nand_info->FirstBuild :0
[ND]nand_info->FullBitmap :10
[ND]nand_info->bad_block_addr.Chip_NO :0
[ND]nand_info->bad_block_addr.Block_NO :13
[ND]nand_info->mbr_block_addr.Chip_NO :0
[ND]nand_info->mbr_block_addr.Block_NO :12
[ND]nand_info->no_used_block_addr.Chip_NO :0
[ND]nand_info->no_used_block_addr.Block_NO :16
[ND]nand_info->new_bad_block_addr.Chip_NO :0
[ND]nand_info->new_bad_block_addr.Block_NO :14
[ND]nand_info->new_bad_page_addr :65535
[ND]nand_info->partition_nums :1
[ND]sizeof partition:1192
[ND]nand_info->partition:0:
[ND]size:0x36400
[ND]cross_talk:0x0
[ND]attribute:0x0
[ND]start: chip:0 block:16
[ND]end  : chip:0 block:511
NB1 : nftl num: 1 
 init nftl: 0 
[ND]nand_partition0
[ND]nftl start:496,62
[ND]first
[ND]before second 496 434.
[NE]smart->version:aaaaaa01;
[NE]smart->total_recv_read_sectors:9878;
[NE]smart->total_recv_write_sectors:56878;
[NE]smart->total_real_read_pages:1257;
[NE]smart->total_real_write_pages:7232;
[NE]smart->total_recv_discard_sectors:0;
[NE]smart->total_real_discard_sectors:0;
[NE]smart->total_recv_read_claim_pages:0;
[NE]smart->total_gc_times:0;
[NE]smart->total_gc_pages:0;
[NE]smart->total_wl_times:0;
[NE]smart->total_real_read_error_pages:0;
[NE]smart->total_real_write_error_pages:0;
[NE]smart->total_normal_power_cycles:2;
[NE]smart->total_unusual_power_cycles:0;
[NE]smart->max_block_erase_times:0;
[NE]smart->min_block_erase_times:0;
[NE]smart->max_block_used_counter:0;
[NE]smart->min_block_used_counter:0;
[NE]smart->read_reclaim_utc:0;
[NE]recover_phy_page_mapping no used page 21!!
[ND]recover 382 21
[ND]A64 nand2.0 version:0009 
[ND]zone->nand_chip->blk_per_chip: 496 
[ND]zone->nand_chip->bytes_per_page: 4096 
[ND]zone->nand_chip->pages_per_blk: 64 
[ND]zone->nand_chip->max_erase_times: 3000 
[ND]zone->nand_chip->support_read_reclaim: 0 
[ND]zone->test: 0 
[ND]zone->zone_no: 0 
[ND]zone->zone_attr: 0 
[ND]zone->blocks: 496 
[ND]zone->bad_block: 0 
[ND]zone->logic_cap_in_sects: 222208 
[ND]zone->backup_cap_in_sects: 31744 
[ND]zone->free_block_num: 382 
[ND]zone->gc_strategy.start_gc_free_blocks: 12 
[ND]zone->gc_strategy.stop_gc_free_blocks: 41 
[ND]zone->gc_strategy.gc_page: 0 
[ND]zone->gc_strategy.process: 1 
[ND]zone->prio_gc.prio_type : 0 
[ND]zone->zone_start_phy_block->phy_block.Block_NO: 0 
[ND]zone->zone_end_phy_block->phy_block.Block_NO: 495 
[ND]zone->zone_phy_page_map_for_gc: 4293dad0 
[ND]zone->current_block.user_info: 4293d640 
[ND]zone->current_block.block_info: 4291f3f8 
[ND]zone->current_block.block_info->phy_block.Block_NO: 382 
[ND]zone->current_block.page_used: 21 
[ND]zone->current_block.block_info->block_used_count: 113 
[ND]zone->read_reclaim_complete: 0 
[ND]zone->temp_page_buf: 42920428 
[ND]zone->max_erase_num: 1 
[ND]zone->cache.cache_totals: 0 
[ND]zone->cfg->nftl_dont_use_cache: 1 
[ND]zone->cfg->nftl_use_cache_sort: 1 
[ND]zone->cfg->nftl_support_gc_read_reclaim: 1 
[ND]zone->cfg->nftl_support_wear_leveling: 1 
[ND]zone->cfg->nftl_need_erase: 0 
[ND]zone->cfg->nftl_min_free_block_num: 32 
[ND]zone->cfg->nftl_gc_threshold_free_block_num: a 
[ND]zone->cfg->nftl_min_free_block: a 
[ND]zone->cfg->nftl_gc_threshold_ratio_numerator: 2 
[ND]zone->cfg->nftl_gc_threshold_ratio_denominator: 3 
[ND]zone->cfg->nftl_max_cache_num: 20 
[ND]zone->cfg->nftl_max_cache_write_num: 10 
[ND]zone->cfg->nftl_cross_talk: 0 
[ND]zone->cfg->nftl_read_claim_interval: 1296000 
[NE]smart->version:aaaaaa01;
[NE]smart->total_recv_read_sectors:9878;
[NE]smart->total_recv_write_sectors:56878;
[NE]smart->total_real_read_pages:1279;
[NE]smart->total_real_write_pages:7232;
[NE]smart->total_recv_discard_sectors:0;
[NE]smart->total_real_discard_sectors:0;
[NE]smart->total_recv_read_claim_pages:0;
[NE]smart->total_gc_times:0;
[NE]smart->total_gc_pages:0;
[NE]smart->total_wl_times:0;
[NE]smart->total_real_read_error_pages:0;
[NE]smart->total_real_write_error_pages:0;
[NE]smart->total_normal_power_cycles:2;
[NE]smart->total_unusual_power_cycles:0;
[NE]smart->max_block_erase_times:0;
[NE]smart->min_block_erase_times:0;
[NE]smart->max_block_used_counter:0;
[NE]smart->min_block_used_counter:0;
[NE]smart->read_reclaim_utc:0;
[ND]nftl ok!
[ND]max_erase_times = 65000
[ND]nftl_add ok
NB1 : NAND_LogicInit ok, result = 0x0 
[      1.675]sunxi flash init ok
In:    serial
Out:   serial
Err:   serial
--------fastboot partitions--------
-total partitions:5-
-name-        -start-       -size-      
bootloader  : 100000        800000      
env         : 900000        80000       
boot        : 980000        1000000     
system      : 1980000       5000000     
UDISK       : 6980000       0           
-----------------------------------
base bootcmd=run setargs_spinor boot_normal
bootcmd set setargs_nand
key 0
cant find rcvy value
cant find fstbt value
no misc partition is found
to be run cmd=run setargs_spinor boot_normal
WORK_MODE_BOOT
board_status_probe
adver not need show
sunxi_bmp_logo_display

** Unable to read "bootlogo.bmp" from sunxi_flash 0:1 **
sunxi bmp info error : unable to open logo file bootlogo.bmp
read bootlogo partition fail,start_block=0x0,rblock=0x0 ,ret=0
Not a JPG file ?
parse_header failed

Use decode 2x1 sampling
sunxi_read_bootlogo: jpg convert argb  
[      1.772]Hit any key to stop autoboot:  0 
read boot or recovery all
[      2.145]sunxi flash read :offset 980000, 5005662 bytes OK
---------------------
kernel size: 0x29d5c0 
kernel addr: 0x40008000 
ramdisk size: 0x12899f 
ramdisk addr: 0x41000000 
second size: 0x0 
second addr: 0x40f00000 
name: 
cmdline: 
moving kernel from 40008000 to: 40008000, size 0x29d5c0
moving ramdisk from 402a5800 to: 41000000, size 0x12899f
no signature
[      2.185]ready to boot
do_boota_linux storage_type = 5
board_display_setenv:  disp_para=0 init_disp=0 tv_vdid=0

#28 Re: Nuvoton N32905/N32926/NUC972/N9H20/N9H26/N9H30 » nuc972 can0起不来 » 2019-10-10 23:24:33

正常了,明天在自己打的两块板上对调一下can通信。

#29 Re: Nuvoton N32905/N32926/NUC972/N9H20/N9H26/N9H30 » nuc972 can0起不来 » 2019-10-10 23:23:47

执行此命令即可以用了,不像网上说的执行其它的命令

ip link set can0 up type can bitrate 125000

#30 Re: Nuvoton N32905/N32926/NUC972/N9H20/N9H26/N9H30 » nuc972 can0起不来 » 2019-10-10 21:04:50

启动日志

Booting 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) ) #24 PREEMPT Wed Oct 9 08:52:35 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
On node 0 totalpages: 16384
free_area_init_node: node 0, pgdat c050bd60, node_mem_map c0546000
  Normal zone: 128 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 16384 pages, LIFO batch:3
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
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: 59512k/59512k available, 6024k 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 - 0xc048aeec   (4620 kB)
      .init : 0xc048b000 - 0xc04cdbf0   ( 267 kB)
      .data : 0xc04ce000 - 0xc050c540   ( 250 kB)
       .bss : 0xc050c540 - 0xc0545848   ( 229 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 0xc0387658 - 0xc0387694
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.
yaffs: yaffs built Oct  9 2019 08:49:24 Installing.
msgmni has been set to 116
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 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
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
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 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
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
nuc970-can0 nuc970-can0: nuc970_can0_platform device registered (regs=f800b000, irq=58)
libphy: nuc970_rmii0: probed
nuc970-emac0 nuc970-emac0: phy_find_first() failed
nuc970-emac0 nuc970-emac0: nuc970_mii_setup err
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
nuc970adc_probe - pdev = nuc970-adc
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
nuc970-i2c1 nuc970-i2c1: i2c-1: 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
lib80211_crypt: registered algorithm 'NULL'
lib80211_crypt: registered algorithm 'WEP'
lib80211_crypt: registered algorithm 'CCMP'
lib80211_crypt: registered algorithm 'TKIP'
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: setting system clock to 2005-01-01 01:35:14 UTC (1104543314)
yaffs: dev is 32505858 name is "mtdblock2" rw
yaffs: passed flags "inband-tags"
yaffs: yaffs: Attempting MTD mount of 31.2,"mtdblock2"
g_serial gadget: high-speed config #2: CDC ACM config
yaffs: block 845 is bad
yaffs: block 846 is bad
yaffs: block 847 is bad
yaffs: block 848 is bad
yaffs: 563 blocks to be sorted...
yaffs: yaffs_read_super: is_checkpointed 0
VFS: Mounted root (yaffs2 filesystem) on device 31:2.
devtmpfs: mounted
Freeing unused kernel memory: 264K
MAJOR IS 250
qgpio driver Registered
nuc970-can0 nuc970-can0 can0: bit-timing not yet defined
nuc970-can0 nuc970-can0 can0: failed to open can device
nuc970-can0 nuc970-can0 can0: bit-timing not yet defined
nuc970-can0 nuc970-can0 can0: failed to open can device

#31 Re: Nuvoton N32905/N32926/NUC972/N9H20/N9H26/N9H30 » nuc972 can0起不来 » 2019-10-10 20:50:04

buildroot 增加  BR2_PACKAGE_IPROUTE2=y  报如下的错误,记录下

# ip link set can0 up
nuc970-can0 nuc970-can0 can0: bit-timing not yet defined
nuc970-can0 nuc970-can0 can0: failed to open can device
RTNETLINK answers: Invalid argument

#32 Nuvoton N32905/N32926/NUC972/N9H20/N9H26/N9H30 » nuc972 can0起不来 » 2019-10-10 19:36:13

billnie
回复: 6

#  ip link set can0 up
nuc970-can0 nuc970-can0 can0: bit-timing not yet defined
nuc970-can0 nuc970-can0 can0: failed to open can device
ip: SIOCSIFFLAGS: Invalid argument
#



# ifconfig -a
can0: flags=128<NOARP>  mtu 16
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 10  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 58 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 0  (Local Loopback)
        RX packets 702  bytes 51832 (50.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 702  bytes 51832 (50.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

#

#33 Re: Nuvoton N32905/N32926/NUC972/N9H20/N9H26/N9H30 » nuc92 卡在 nuc970 mtd nand driver version: 20160331 » 2019-10-02 00:44:21

已经解决了

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

#34 Re: Nuvoton N32905/N32926/NUC972/N9H20/N9H26/N9H30 » nuc92 卡在 nuc970 mtd nand driver version: 20160331 » 2019-10-01 22:05:20

xgui 说:

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


@xgui

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

#35 Re: Nuvoton N32905/N32926/NUC972/N9H20/N9H26/N9H30 » nuc92 卡在 nuc970 mtd nand driver version: 20160331 » 2019-10-01 22:02:54

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

#36 Re: Nuvoton N32905/N32926/NUC972/N9H20/N9H26/N9H30 » nuc92 卡在 nuc970 mtd nand driver version: 20160331 » 2019-10-01 13:51:41

正常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

#37 Nuvoton N32905/N32926/NUC972/N9H20/N9H26/N9H30 » nuc92 卡在 nuc970 mtd nand driver version: 20160331 » 2019-10-01 13:47:34

billnie
回复: 7
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

#39 Re: 全志 SOC » zero v3s mx25l256 32MB flash linux系统无法识别 » 2018-11-27 23:17:59

卡在start kernel

U-Boot 2017.01-rc2-00073-gdd6e874-dirty (Jul 15 2018 - 23:15:30 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment

Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
device 0 offset 0x100000, size 0x10000
SF: 65536 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x600000
SF: 6291456 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 41000000
   Booting using the fdt blob at 0x41000000
   Loading Device Tree to 42dfa000, end 42dffd8e ... OK

Starting kernel ...

#40 Re: 全志 SOC » zero v3s mx25l256 32MB flash linux系统无法识别 » 2018-11-27 22:36:34

我使用tf卡启动 v3s,然后在v3s上挂载 mtdblock3 发现能挂载成功,文件也是对,就是spi中启动时不成功,不知道 为啥

# mount -t jffs2 /dev/mtdblock3 /mnt/c
#
#
#
#
#
# cd /mnt/cc
# ls
bin      dev      etc      lib      lib32    linuxrc  media    mnt      opt      proc     root     run      sbin     sys      tmp      usr      var

#41 Re: 全志 SOC » zero v3s mx25l256 32MB flash linux系统无法识别 » 2018-11-27 21:59:58

[    1.493757]   #0: V3s Audio Codec
[    1.512589] sun4i_lradc_irq voltage = 11 349206!
[    1.523048] random: crng init done
[    1.532108] sun4i_lradc_irq voltage = 11 349206!
[    1.594310] jffs2: jffs2_scan_inode_node(): CRC failed on node at 0x00023180: Read 0xa0124471, calculated 0x208cb662
[    1.604896] jffs2: Dirty space 0x808020 larger then free_size 0xce80 (wasted 0x0)
[    1.612419] ------------[ cut here ]------------
[    1.617033] kernel BUG at fs/jffs2/nodelist.c:670!
[    1.621816] Internal error: Oops - BUG: 0 [#1] SMP ARM
[    1.626947] Modules linked in:
[    1.630005] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.13.16-licheepi-zero #18
[    1.637300] Hardware name: Allwinner sun8i Family
[    1.641998] task: c382c000 task.stack: c3830000
[    1.646535] PC is at jffs2_scan_dirty_space+0xc0/0xc4
[    1.651582] LR is at jffs2_scan_dirty_space+0xc0/0xc4
[    1.656625] pc : [<c02fd0e0>]    lr : [<c02fd0e0>]    psr: 60000013
[    1.662881] sp : c3831cd8  ip : 00000000  fp : c381c000
[    1.668097] r10: 00001000  r9 : c3bee400  r8 : 00023180
[    1.673313] r7 : c381c000  r6 : 00020000  r5 : 0000008b  r4 : c3bf8068
[    1.679830] r3 : c0a0c418  r2 : c0a0c418  r1 : 03596000  r0 : 00000045
[    1.686348] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[    1.693472] Control: 10c5387d  Table: 4000406a  DAC: 00000051
[    1.699208] Process swapper/0 (pid: 1, stack limit = 0xc3830210)
[    1.705205] Stack: (0xc3831cd8 to 0xc3832000)
[    1.709557] 1cc0:                                                       c381c000 c0302930
[    1.717725] 1ce0: c07f27dc c3bf8068 0000008b c030289c 208cb662 c3831d48 c381c000 00000000
[    1.725892] 1d00: c3eef040 00023180 00000068 00000002 00001000 0000000a 00000000 00000000
[    1.734059] 1d20: 0000e002 00001985 c0a6f9b8 ffffc000 c07f29b4 c3bf6030 0000000d c381c000
[    1.742226] 1d40: 00000000 00001000 00001000 e0021985 0000013f c3bee400 c3bee400 c3bee4cc
[    1.750394] 1d60: c3bee400 00000000 00000001 01f00003 00008000 00000001 c3bf4000 c0304d1c
[    1.758561] 1d80: c0704a70 00000000 c0a65e5c 014280c0 3b9aca00 00000000 c382b588 c3bee400
[    1.766729] 1da0: 00010000 c3be4400 01af0000 01f00003 00008000 00000001 c3bf4000 c0307208
[    1.774897] 1dc0: c3be4400 00008000 c3b79400 00000000 01f00003 00008000 00000001 c04592ec
[    1.783064] 1de0: c3b79400 c04586a4 c3bec780 c3bec780 00008000 00000000 c0a106c4 c045942c
[    1.791232] 1e00: c0307730 0000000d c0a6caa8 c0a6caa8 c03073c4 c3bec780 00008000 c0a106c4
[    1.799399] 1e20: c0a106c4 c03073dc c0307730 c0214a60 00000000 c01f92f8 c3bec780 00008000
[    1.807567] 1e40: c3bcf300 c3bec780 00008000 c0a106c4 00000000 c0214cec c0a106c4 00000000
[    1.815734] 1e60: c3bec780 c3bec740 00000020 c0217af8 00000000 00000051 c3805d10 c340d4c8
[    1.823901] 1e80: 0000000a 00000000 0000000a c01c4cd0 0000000a c3bec780 c3bec740 00000000
[    1.832069] 1ea0: c07d40d8 00008000 00008000 c07d40d4 c3bf4000 c0218900 00000000 c0a3db64
[    1.840236] 1ec0: c3bf4000 c3f71e80 c3bf4006 c07d40d8 c093785c c0901148 00000000 ffffff9c
[    1.848404] 1ee0: c3481000 00006000 00006180 00000000 ffffff9c c0204e8c c3805d10 c340d2a8
[    1.856571] 1f00: 00000000 01f00003 c0a0668c c0a3db64 c0937838 000000c4 00000008 c093783c
[    1.864739] 1f20: c3ef12c0 c09013c4 000000c4 c093785c c093786c 00000008 c0a3db64 c093786c
[    1.872906] 1f40: 00000008 c0937838 000000c4 00000008 c093783c c090151c c0937838 000000c4
[    1.881074] 1f60: 00000008 c0a3db40 c0a3db40 c0900e20 00000007 00000007 00000000 c09005ac
[    1.889240] 1f80: 00000000 00000000 c068ceac 00000000 00000000 00000000 00000000 00000000
[    1.897407] 1fa0: 00000000 c068ceb4 00000000 c0107638 00000000 00000000 00000000 00000000
[    1.905574] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.913740] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 2215a9e0 000000c9
[    1.921930] [<c02fd0e0>] (jffs2_scan_dirty_space) from [<c030289c>] (jffs2_scan_medium+0xe30/0x100c)
[    1.931059] [<c030289c>] (jffs2_scan_medium) from [<c0304d1c>] (jffs2_do_mount_fs+0x164/0x754)
[    1.939665] [<c0304d1c>] (jffs2_do_mount_fs) from [<c0307208>] (jffs2_do_fill_super+0xc4/0x234)
[    1.948360] [<c0307208>] (jffs2_do_fill_super) from [<c04592ec>] (mount_mtd_aux.constprop.0+0x80/0xc8)
[    1.957660] [<c04592ec>] (mount_mtd_aux.constprop.0) from [<c045942c>] (mount_mtd+0xf8/0x158)
[    1.966178] [<c045942c>] (mount_mtd) from [<c03073dc>] (jffs2_mount+0x18/0x20)
[    1.973398] [<c03073dc>] (jffs2_mount) from [<c01f92f8>] (mount_fs+0x14/0xa4)
[    1.980533] [<c01f92f8>] (mount_fs) from [<c0214cec>] (vfs_kern_mount+0x48/0x100)
[    1.988013] [<c0214cec>] (vfs_kern_mount) from [<c0217af8>] (do_mount+0x154/0xbc4)
[    1.995577] [<c0217af8>] (do_mount) from [<c0218900>] (SyS_mount+0x8c/0xb4)
[    2.002539] [<c0218900>] (SyS_mount) from [<c0901148>] (mount_block_root+0x100/0x25c)
[    2.010365] [<c0901148>] (mount_block_root) from [<c09013c4>] (mount_root+0x120/0x128)
[    2.018276] [<c09013c4>] (mount_root) from [<c090151c>] (prepare_namespace+0x150/0x194)
[    2.026272] [<c090151c>] (prepare_namespace) from [<c0900e20>] (kernel_init_freeable+0x1bc/0x1cc)
[    2.035140] [<c0900e20>] (kernel_init_freeable) from [<c068ceb4>] (kernel_init+0x8/0x108)
[    2.043316] [<c068ceb4>] (kernel_init) from [<c0107638>] (ret_from_fork+0x14/0x3c)
[    2.050880] Code: e591301c e34c007f e1a0100c ebf98aff (e7f001f2)
[    2.056968] ---[ end trace 97129af179694986 ]---
[    2.061746] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    2.061746]
[    2.070884] Rebooting in 5 seconds..

#42 Re: 全志 SOC » zero v3s mx25l256 32MB flash linux系统无法识别 » 2018-11-26 10:31:50

总空间是32M-1M-64K-4M=0x1AF0000

mkfs.jffs2 -s 0x100 -e 0x10000 -p 0x1AF0000 -d rootfs/ -o jffs2.img


mkfs.jffs2 我是系统带的,没有特别去指定,这个不对吗?晕哥

#43 Re: 全志 SOC » zero v3s mx25l256 32MB flash linux系统无法识别 » 2018-11-25 23:41:50

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.13.16-licheepi-zero (root@billnie) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02)) #17 SMP Sun Nov 25 23:23:00 CST 2018
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Lichee Pi Zero with Dock
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 16 pages/cpu @c3edf000 s33868 r8192 d23476 u65536
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16129
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 54568K/65024K available (6144K kernel code, 217K rwdata, 1456K rodata, 1024K init, 264K bss, 10456K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc4000000 - 0xff800000   ( 952 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc3f80000   (  63 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a367c0   ( 218 kB)
[    0.000000]        .bss : 0xc0a3daf0 - 0xc0a7fcac   ( 265 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]     RCU event tracing is enabled.
[    0.000000]     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000019] Switching to timer-based delay loop, resolution 41ns
[    0.000181] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000409] Console: colour dummy device 80x30
[    0.000443] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000457] pid_max: default: 32768 minimum: 301
[    0.000583] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000597] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001184] CPU: Testing write buffer coherency: ok
[    0.001550] /cpus/cpu@0 missing clock-frequency property
[    0.001573] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001997] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002169] Hierarchical SRCU implementation.
[    0.002671] smp: Bringing up secondary CPUs ...
[    0.002683] smp: Brought up 1 node, 1 CPU
[    0.002691] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002699] CPU: All CPU(s) started in SVC mode.
[    0.003447] devtmpfs: initialized
[    0.006567] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.006853] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006878] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.007042] pinctrl core: initialized pinctrl subsystem
[    0.007911] random: get_random_u32 called from bucket_table_alloc+0xf4/0x244 with crng_init=0
[    0.008044] NET: Registered protocol family 16
[    0.008513] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009626] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009644] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.023088] SCSI subsystem initialized
[    0.023390] usbcore: registered new interface driver usbfs
[    0.023457] usbcore: registered new interface driver hub
[    0.023552] usbcore: registered new device driver usb
[    0.023798] pps_core: LinuxPPS API ver. 1 registered
[    0.023807] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.023828] PTP clock support registered
[    0.024055] Advanced Linux Sound Architecture Driver Initialized.
[    0.025899] clocksource: Switched to clocksource arch_sys_counter
[    0.036306] led_trigger_register 0 kbd-scrolllock
[    0.036324] led_trigger_register 1 kbd-numlock
[    0.036330] led_trigger_register 2 kbd-capslock
[    0.036336] led_trigger_register 3 kbd-kanalock
[    0.036342] led_trigger_register 4 kbd-shiftlock
[    0.036348] led_trigger_register 5 kbd-altgrlock
[    0.036354] led_trigger_register 6 kbd-ctrllock
[    0.036360] led_trigger_register 7 kbd-altlock
[    0.036366] led_trigger_register 8 kbd-shiftllock
[    0.036372] led_trigger_register 9 kbd-shiftrlock
[    0.036378] led_trigger_register 10 kbd-ctrlllock
[    0.036385] led_trigger_register 11 kbd-ctrlrlock
[    0.036835] NET: Registered protocol family 2
[    0.037405] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.037440] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.037465] TCP: Hash tables configured (established 1024 bind 1024)
[    0.037590] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.037638] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.037859] NET: Registered protocol family 1
[    0.038441] RPC: Registered named UNIX socket transport module.
[    0.038458] RPC: Registered udp transport module.
[    0.038464] RPC: Registered tcp transport module.
[    0.038470] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.040559] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.049490] NFS: Registering the id_resolver key type
[    0.049539] Key type id_resolver registered
[    0.049545] Key type id_legacy registered
[    0.049590] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.051113] random: fast init done
[    0.053969] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.053991] io scheduler noop registered
[    0.053999] io scheduler deadline registered
[    0.054271] io scheduler cfq registered (default)
[    0.054282] io scheduler mq-deadline registered
[    0.054288] io scheduler kyber registered
[    0.058618] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.128112] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.131320] console [ttyS0] disabled
[    0.151595] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[    0.795739] console [ttyS0] enabled
[    0.802530] sun6i_spi_probe
[    0.806393] m25p_probe:
[    0.809090] m25p80 spi32766.0: unrecognized JEDEC id bytes: c2, 20, 19
[    0.815619] spi_nor_scan 2:(null)
[    0.818990] spi_nor_init_params:
[    0.822358] m25p80 spi32766.0: mx25l25635e (32768 Kbytes)
[    0.827811] spi32766.0: parser cmdlinepart: 4
[    0.832165] 4 cmdlinepart partitions found on MTD device spi32766.0
[    0.838444] Creating 4 MTD partitions on "spi32766.0":
[    0.843585] 0x000000000000-0x000000100000 : "uboot"
[    0.849004] 0x000000100000-0x000000110000 : "dtb"
[    0.854108] 0x000000110000-0x000000510000 : "kernel"
[    0.859524] 0x000000510000-0x000002000000 : "rootfs"
[    0.865275] libphy: Fixed MDIO Bus: probed
[    0.869960] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    0.875755] dwmac-sun8i 1c30000.ethernet: No regulator found
[    0.881531] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    0.887716] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    0.893377] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    0.900631] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    0.906300] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    0.913514] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    0.918486] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    0.925447] libphy: stmmac: probed
[    0.930789] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.937446] ehci-platform: EHCI generic platform driver
[    0.942960] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.948645] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.956581] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    0.985917] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.993155] hub 1-0:1.0: USB hub found
[    0.997108] hub 1-0:1.0: 1 port detected
[    1.001624] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.007922] ohci-platform: OHCI generic platform driver
[    1.013490] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.020234] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    1.028188] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    1.101025] hub 2-0:1.0: USB hub found
[    1.104850] hub 2-0:1.0: 1 port detected
[    1.112462] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    1.122041] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.130977] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    1.137883] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.142422] i2c /dev entries driver
[    1.147273] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[    1.156766] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.166182] led_trigger_register_simple mmc0
[    1.166200] led_trigger_register 12 mmc0
[    1.225949] sunxi-mmc 1c0f000.mmc: base:0xc407b000 irq:23
[    1.232404] led_trigger_register_simple mmc1
[    1.232421] led_trigger_register 13 mmc1
[    1.295928] sunxi-mmc 1c10000.mmc: base:0xc4144000 irq:24
[    1.301673] led_trigger_register 14 heartbeat
[    1.306101] led_trigger_register 15 default-on
[    1.311220] usbcore: registered new interface driver usbhid
[    1.316841] usbhid: USB HID core driver
[    1.322297] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[    1.330339] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.337794] NET: Registered protocol family 17
[    1.342371] Key type dns_resolver registered
[    1.346908] Registering SWP/SWPB emulation handler
[    1.359402] simple-framebuffer 43f80000.framebuffer: framebuffer at 0x43f80000, 0x7f800 bytes, mapped to 0xc4300000
[    1.370020] simple-framebuffer 43f80000.framebuffer: format=x8r8g8b8, mode=480x272x32, linelength=1920
[    1.382296] Console: switching to colour frame buffer device 60x34
[    1.390757] simple-framebuffer 43f80000.framebuffer: fb0: simplefb registered!
[    1.399299] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.410649] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.416489] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.425626] hub 3-0:1.0: USB hub found
[    1.429621] hub 3-0:1.0: 1 port detected
[    1.434689] using random self ethernet address
[    1.439241] using random host ethernet address
[    1.444812] usb0: HOST MAC fa:2c:1b:ee:06:bc
[    1.449235] usb0: MAC 62:22:20:4c:8f:06
[    1.453116] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.460634] g_cdc gadget: g_cdc ready
[    1.466985] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.476595] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:00:15 UTC (15)
[    1.484847] vcc3v3: disabling
[    1.487889] vcc5v0: disabling
[    1.490858] ALSA device list:
[    1.493822]   #0: V3s Audio Codec
[    1.505669] jffs2: jffs2_scan_inode_node(): CRC failed on node at 0x000020a8: Read 0x4594b5b8, calculated 0x798d4761
[    1.518660] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000a0f8: 0xe666 instead
[    1.528208] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000a0fc: 0x633f instead
[    1.537898] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000a100: 0xc64f instead
[    1.547406] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000a104: 0xa56f instead
[    1.556888] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000a108: 0x81c9 instead
[    1.566362] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000a10c: 0x84a3 instead
[    1.575827] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000a110: 0x9eb6 instead
[    1.585303] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000a114: 0x2e06 instead
[    1.594830] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000a118: 0x0e2b instead
[    1.604317] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000a11c: 0xa5f3 instead
[    1.613794] jffs2: Further such events for this erase block will not be printed
[    1.632729] random: crng init done
[    1.636180] sun4i_lradc_irq voltage = 11 349206!
[    1.927519] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008d868: 0x8cc2 instead
[    1.937086] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008d86c: 0x0019 instead
[    1.946579] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008d870: 0x3735 instead
[    1.956057] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008d874: 0x808b instead
[    1.965521] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008d878: 0x0376 instead
[    1.974997] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008d87c: 0xc476 instead
[    1.984474] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008d884: 0x2676 instead
[    1.993948] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008d888: 0xb05d instead
[    2.003424] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008d88c: 0xb0dd instead
[    2.012942] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008d890: 0xb0dd instead
[    2.022423] jffs2: Further such events for this erase block will not be printed
[    2.043923] sun4i_lradc_irq voltage = 13 412698!
[    2.201264] jffs2: jffs2_scan_inode_node(): CRC failed on node at 0x000d6064: Read 0x6b91f9a1, calculated 0x83c9f10a
[    2.211889] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d60dc: 0x265d instead
[    2.221420] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d60e0: 0x1467 instead
[    2.230910] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d60e4: 0x0501 instead
[    2.240389] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d60e8: 0x4c4d instead
[    2.249865] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d60ec: 0x911a instead
[    2.259340] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d60f0: 0xa11b instead
[    2.268815] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d60f4: 0xb44b instead
[    2.278290] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d60f8: 0x4e01 instead
[    2.287765] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d60fc: 0x2059 instead
[    2.297240] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d6100: 0xa9ff instead
[    2.306712] jffs2: Further such events for this erase block will not be printed
[    2.329067] sun4i_lradc_irq voltage = 11 349206!
[    2.382457] jffs2: jffs2_scan_inode_node(): CRC failed on node at 0x000f10d4: Read 0x311c7253, calculated 0xf37a7290
[    2.393108] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f114c: 0x1dae instead
[    2.402635] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f1150: 0x3197 instead
[    2.413181] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f1154: 0x61e3 instead
[    2.424719] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f1158: 0x15d5 instead
[    2.434257] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f115c: 0x917a instead
[    2.443767] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f1160: 0x1283 instead
[    2.453261] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f1164: 0x1d8e instead
[    2.462753] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f1168: 0x0470 instead
[    2.472251] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f116c: 0x4bbd instead
[    2.481746] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f1170: 0x0d7e instead
[    2.491241] jffs2: Further such events for this erase block will not be printed
[    2.512655] sun4i_lradc_irq voltage = 11 349206!
[    2.740209] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00154298: 0x8cc2 instead
[    2.749784] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0015429c: 0x0022 instead
[    2.759308] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001542a0: 0x4815 instead
[    2.768792] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001542a4: 0x00cb instead
[    2.778270] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001542a8: 0x8032 instead
[    2.787746] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001542ac: 0xc076 instead
[    2.797222] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001542b4: 0x703e instead
[    2.806697] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001542b8: 0xb05d instead
[    2.816170] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001542bc: 0xb0dd instead
[    2.825634] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001542c0: 0xb0dd instead
[    2.835107] jffs2: Further such events for this erase block will not be printed
[    2.856384] sun4i_lradc_irq voltage = 11 349206!
[    2.881320] jffs2: Empty flash at 0x0016225c ends at 0x0016227c
[    2.887273] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0016227c: 0x61bb instead
[    2.896807] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00162280: 0x61bb instead
[    2.906289] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00162284: 0x61bb instead
[    2.915754] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00162288: 0x1000 instead
[    2.925234] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0016228c: 0x0100 instead
[    2.934711] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00162290: 0x0100 instead
[    2.944187] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00162298: 0xf429 instead
[    2.953661] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0016229c: 0x8928 instead
[    2.963136] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001622a0: 0xe92d instead
[    2.972610] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001622a4: 0xf04f instead
[    2.982084] jffs2: Further such events for this erase block will not be printed
[    3.004814] sun4i_lradc_irq voltage = 11 349206!
[    3.228563] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c92d8: 0x8cc2 instead
[    3.238163] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c92dc: 0x0022 instead
[    3.247663] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c92e0: 0x4815 instead
[    3.257143] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c92e4: 0x00ce instead
[    3.266662] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c92e8: 0x0246 instead
[    3.276168] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c92ec: 0xc076 instead
[    3.285634] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c92f4: 0x5350 instead
[    3.295117] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c92f8: 0xb05d instead
[    3.304594] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c92fc: 0xb0dd instead
[    3.314069] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001c9300: 0xb0dd instead
[    3.323541] jffs2: Further such events for this erase block will not be printed
[    3.344644] sun4i_lradc_irq voltage = 11 349206!
[    3.364173] sun4i_lradc_irq voltage = 14 444444!
[    3.390871] jffs2: Empty flash at 0x001de7c0 ends at 0x001de7e0
[    3.396870] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001de7e0: 0x61bb instead
[    3.406357] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001de7e4: 0x61bb instead
[    3.415822] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001de7e8: 0x61bb instead
[    3.425302] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001de7ec: 0x64fe instead
[    3.434778] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001de7f0: 0x0002 instead
[    3.444252] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001de7f4: 0x0002 instead
[    3.453727] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001de7fc: 0x20c8 instead
[    3.463201] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001de800: 0x6743 instead
[    3.472675] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001de804: 0x2000 instead
[    3.496979] sun4i_lradc_irq voltage = 11 349206!
[    3.545011] jffs2: jffs2_scan_inode_node(): CRC failed on node at 0x001f89a8: Read 0x590164a2, calculated 0x8c8c1899
[    3.555621] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f8ae8: 0x8c42 instead
[    3.565176] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f8aec: 0x0023 instead
[    3.574660] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f8af0: 0x194b instead
[    3.584138] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f8af4: 0x004e instead
[    3.593645] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f8af8: 0x830d instead
[    3.603151] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f8afc: 0xc076 instead
[    3.613738] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f8b04: 0x5350 instead
[    3.625277] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f8b08: 0xb05d instead
[    3.634780] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f8b0c: 0xb0dd instead
[    3.644316] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001f8b10: 0xb0dd instead
[    3.653803] jffs2: Further such events for this erase block will not be printed
[    3.676661] sun4i_lradc_irq voltage = 11 349206!
[    3.714930] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0020c680: 0x8cc2 instead
[    3.724509] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0020c684: 0x0022 instead
[    3.734089] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0020c688: 0x4815 instead
[    3.743603] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0020c68c: 0x00ce instead
[    3.753102] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0020c690: 0x0413 instead
[    3.762604] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0020c694: 0xc076 instead
[    3.772101] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0020c69c: 0x5350 instead
[    3.781597] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0020c6a0: 0xb05d instead
[    3.791091] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0020c6a4: 0xb0dd instead
[    3.800655] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0020c6a8: 0xb0dd instead
[    3.810148] jffs2: Further such events for this erase block will not be printed
[    3.832903] sun4i_lradc_irq voltage = 11 349206!
[    4.220014] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002bb7a0: 0x8cc2 instead
[    4.229590] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002bb7a4: 0x0022 instead
[    4.239081] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002bb7a8: 0x4815 instead
[    4.248562] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002bb7ac: 0x00d2 instead
[    4.258037] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002bb7b0: 0x0117 instead
[    4.267514] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002bb7b4: 0xc076 instead
[    4.276989] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002bb7bc: 0x4a24 instead
[    4.286462] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002bb7c0: 0xb05d instead
[    4.295936] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002bb7c4: 0xb0dd instead
[    4.305400] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002bb7c8: 0xb0dd instead
[    4.314872] jffs2: Further such events for this erase block will not be printed
[    4.336784] sun4i_lradc_irq voltage = 13 412698!
[    4.470704] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002fb578: 0x8cc2 instead
[    4.480264] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002fb57c: 0x000b instead
[    4.489754] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002fb580: 0xab01 instead
[    4.499232] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002fb584: 0x0052 instead
[    4.508710] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002fb588: 0x0234 instead
[    4.518185] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002fb58c: 0xc076 instead
[    4.527703] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002fb594: 0x4a24 instead
[    4.537185] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002fb598: 0xb05d instead
[    4.546662] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002fb59c: 0xb0dd instead
[    4.556136] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002fb5a0: 0xb0dd instead
[    4.565599] jffs2: Further such events for this erase block will not be printed
[    4.586773] sun4i_lradc_irq voltage = 11 349206!
[    4.978032] jffs2: Empty flash at 0x003a72a4 ends at 0x003a72c4
[    4.985009] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003a72c4: 0x61bb instead
[    4.994577] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003a72c8: 0x61bb instead
[    5.004067] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003a72cc: 0x61bb instead
[    5.013547] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003a72d0: 0x43fe instead
[    5.023024] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003a72d4: 0x0002 instead
[    5.032499] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003a72d8: 0x0002 instead
[    5.041973] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003a72e0: 0x32ac instead
[    5.051448] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003a72e4: 0xe3f0 instead
[    5.060922] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003a72e8: 0x0908 instead
[    5.082843] sun4i_lradc_irq voltage = 11 349206!
[    5.116234] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003b91a0: 0x401b instead
[    5.125763] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003b91a4: 0xed28 instead
[    5.135289] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003b91a8: 0xa043 instead
[    5.144772] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003b91ac: 0xce94 instead
[    5.154248] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003b91b0: 0x5015 instead
[    5.163762] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003b91b4: 0x4f4a instead
[    5.173245] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003b91b8: 0xa073 instead
[    5.182721] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003b91bc: 0xbd28 instead
[    5.192196] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003b91c0: 0x0403 instead
[    5.201671] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003b91c4: 0x7d28 instead
[    5.211144] jffs2: Further such events for this erase block will not be printed
[    5.231273] sun4i_lradc_irq voltage = 11 349206!
[    5.465645] jffs2: ofs 0x00423104 has already been seen. Skipping
[    5.474218] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004240fc: 0x0379 instead
[    5.483777] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00424100: 0x81ed instead
[    5.493266] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00424108: 0x7ddc instead
[    5.502745] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0042410c: 0x61bb instead
[    5.512221] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00424110: 0x61bb instead
[    5.521695] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00424114: 0x61bb instead
[    5.531170] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00424118: 0x7800 instead
[    5.540645] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0042411c: 0x0098 instead
[    5.550119] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00424120: 0x0100 instead
[    5.559593] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00424124: 0x0006 instead
[    5.569064] jffs2: Further such events for this erase block will not be printed
[    5.590631] sun4i_lradc_irq voltage = 11 349206!
[    6.067337] jffs2: ofs 0x004f830c has already been seen. Skipping
[    6.076997] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004f9304: 0xe5e6 instead
[    6.088644] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004f9308: 0xbb8b instead
[    6.098167] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004f930c: 0x9c04 instead
[    6.107664] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004f9310: 0xbbf7 instead
[    6.117159] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004f9314: 0xc8a0 instead
[    6.126652] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004f9318: 0x7b92 instead
[    6.136167] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004f931c: 0xda4f instead
[    6.145652] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004f9320: 0x818b instead
[    6.155153] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004f9324: 0xba30 instead
[    6.164649] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004f9328: 0x1e34 instead
[    6.174131] jffs2: Further such events for this erase block will not be printed
[    6.196073] sun4i_lradc_irq voltage = 12 380952!
[    7.003915] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00660000: 0x8cc2 instead
[    7.013508] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00660004: 0x0006 instead
[    7.023003] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00660008: 0xd858 instead
[    7.032519] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0066000c: 0x8c42 instead
[    7.042031] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00660010: 0x005f instead
[    7.052610] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00660014: 0x066f instead
[    7.064157] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00660018: 0x00aa instead
[    7.073660] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0066001c: 0x0003 instead
[    7.083158] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00660020: 0xc076 instead
[    7.092652] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00660028: 0x4302 instead
[    7.102133] jffs2: Further such events for this erase block will not be printed
[    7.121811] sun4i_lradc_irq voltage = 11 349206!
[    7.400354] jffs2: jffs2_scan_inode_node(): CRC failed on node at 0x006da568: Read 0xffffffff, calculated 0xf09e7845
[    7.410972] jffs2: ofs 0x006da568 has already been seen. Skipping
[    7.419403] jffs2: Empty flash at 0x006da56c ends at 0x006da588
[    7.425321] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006da588: 0x61bb instead
[    7.434817] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006da58c: 0x61bb instead
[    7.444328] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006da590: 0x61bb instead
[    7.453811] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006da594: 0x0b00 instead
[    7.463287] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006da598: 0x00fa instead
[    7.472799] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006da59c: 0x00fd instead
[    7.482282] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006da5a0: 0x0006 instead
[    7.491758] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006da5a4: 0x0c44 instead
[    7.501235] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006da5a8: 0xc124 instead
[    7.510710] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006da5ac: 0x5e78 instead
[    7.520182] jffs2: Further such events for this erase block will not be printed
[    7.539759] sun4i_lradc_irq voltage = 11 349206!
[    7.761107] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00740000: 0x8cc2 instead
[    7.770680] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00740004: 0x0006 instead
[    7.780174] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00740008: 0xd858 instead
[    7.789652] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0074000c: 0x8c42 instead
[    7.799129] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00740010: 0x8016 instead
[    7.808605] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00740014: 0x9451 instead
[    7.818081] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00740018: 0x00ab instead
[    7.827556] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0074001c: 0x8124 instead
[    7.837030] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00740020: 0xc076 instead
[    7.846504] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00740028: 0x132a instead
[    7.855976] jffs2: Further such events for this erase block will not be printed
[    7.875682] sun4i_lradc_irq voltage = 11 349206!
[    8.018658] jffs2: ofs 0x00781150 has already been seen. Skipping
[    8.027261] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00782148: 0x0072 instead
[    8.036758] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0078214c: 0x0100 instead
[    8.046237] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00782150: 0x0006 instead
[    8.055702] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00782154: 0x19ad instead
[    8.065179] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00782158: 0xed84 instead
[    8.074655] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0078215c: 0x5e78 instead
[    8.084130] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00782160: 0x8080 instead
[    8.093636] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00782164: 0x0c0c instead
[    8.103155] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00782168: 0x1ca1 instead
[    8.112638] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0078216c: 0x8d9e instead
[    8.122113] jffs2: Further such events for this erase block will not be printed
[    8.145200] sun4i_lradc_irq voltage = 11 349206!
[    8.189205] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0079a2c8: 0x8cc2 instead
[    8.198827] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0079a2cc: 0x8063 instead
[    8.208322] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0079a2d0: 0x7164 instead
[    8.217833] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0079a2d4: 0x80bd instead
[    8.227348] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0079a2d8: 0x807e instead
[    8.236859] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0079a2dc: 0xc076 instead
[    8.247392] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0079a2e4: 0x702a instead
[    8.258926] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0079a2e8: 0xb05d instead
[    8.268423] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0079a2ec: 0xb0dd instead
[    8.277918] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0079a2f0: 0xb0dd instead
[    8.287399] jffs2: Further such events for this erase block will not be printed
[    8.308386] jffs2: jffs2_scan_inode_node(): CRC failed on node at 0x007a00e4: Read 0xe1ed246a, calculated 0x1e76b02b
[    8.318925] sun4i_lradc_irq voltage = 11 349206!
[    8.326087] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a8144: 0xe940 instead
[    8.335631] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a8148: 0x100d instead
[    8.345157] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a814c: 0x4c77 instead
[    8.354661] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a8150: 0x0100 instead
[    8.364243] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007a8154: 0xc36e instead
[    8.387378] sun4i_lradc_irq voltage = 11 349206!
[    8.497972] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007da2d4: 0x8cc2 instead
[    8.507532] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007da2d8: 0x0022 instead
[    8.517064] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007da2dc: 0x4815 instead
[    8.526547] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007da2e0: 0x80bd instead
[    8.536026] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007da2e4: 0x032b instead
[    8.545490] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007da2e8: 0xc076 instead
[    8.554966] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007da2f0: 0x702a instead
[    8.564441] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007da2f4: 0xb05d instead
[    8.573916] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007da2f8: 0xb0dd instead
[    8.583391] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x007da2fc: 0xb0dd instead
[    8.592864] jffs2: Further such events for this erase block will not be printed
[    8.613931] sun4i_lradc_irq voltage = 11 349206!
[    8.887862] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0085746c: 0x8cc2 instead
[    8.897428] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00857470: 0x8022 instead
[    8.906921] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00857474: 0x4e3c instead
[    8.916395] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00857478: 0x803d instead
[    8.925871] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0085747c: 0x0628 instead
[    8.935336] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00857480: 0xc076 instead
[    8.944852] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00857488: 0x702a instead
[    8.954335] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0085748c: 0xb05d instead
[    8.963813] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00857490: 0xb0dd instead
[    8.973288] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00857494: 0xb0dd instead
[    8.982762] jffs2: Further such events for this erase block will not be printed
[    9.004536] sun4i_lradc_irq voltage = 11 349206!
[    9.321599] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x008e7470: 0x6001 instead
[    9.331171] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x008e7474: 0x7005 instead
[    9.340659] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x008e7478: 0x0006 instead
[    9.350137] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x008e747c: 0x81f0 instead
[    9.359656] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x008e7480: 0x3028 instead
[    9.369140] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x008e7484: 0x0105 instead
[    9.378616] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x008e7488: 0xffe8 instead
[    9.388090] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x008e748c: 0x3028 instead
[    9.397565] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x008e7490: 0x7105 instead
[    9.407040] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x008e7494: 0x5001 instead
[    9.416510] jffs2: Further such events for this erase block will not be printed
[    9.438111] sun4i_lradc_irq voltage = 11 349206!
[    9.735107] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0096a58c: 0x8cc2 instead
[    9.744687] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0096a590: 0x801d instead
[    9.754180] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0096a594: 0x1070 instead
[    9.763659] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0096a598: 0x8040 instead
[    9.773134] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0096a59c: 0x0060 instead
[    9.782662] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0096a5a0: 0xc076 instead
[    9.792149] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0096a5a8: 0x444e instead
[    9.801627] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0096a5ac: 0xb05d instead
[    9.811102] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0096a5b0: 0xb0dd instead
[    9.820577] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0096a5b4: 0xb0dd instead
[    9.830050] jffs2: Further such events for this erase block will not be printed
[    9.852153] sun4i_lradc_irq voltage = 12 380952!
[   10.351966] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00a4a4d0: 0x8cc2 instead
[   10.361544] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00a4a4d4: 0x800b instead
[   10.371036] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00a4a4d8: 0x1833 instead
[   10.380515] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00a4a4dc: 0x8047 instead
[   10.389990] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00a4a4e0: 0x806c instead
[   10.399466] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00a4a4e4: 0xc076 instead
[   10.408984] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00a4a4ec: 0x1826 instead
[   10.418466] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00a4a4f0: 0xb05d instead
[   10.427943] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00a4a4f4: 0xb0dd instead
[   10.437418] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00a4a4f8: 0xb0dd instead
[   10.446891] jffs2: Further such events for this erase block will not be printed
[   10.469312] sun4i_lradc_irq voltage = 11 349206!
[   10.545353] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00a7013c: 0x8cc2 instead
[   10.554920] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00a70140: 0x8005 instead
[   10.564441] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00a70144: 0xec20 instead
[   10.574039] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00a70148: 0x8048 instead
[   10.583524] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00a7014c: 0x005e instead
[   10.593002] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00a70150: 0xc064 instead
[   10.602576] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00a70158: 0x3326 instead
[   10.612061] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00a7015c: 0xb05d instead
[   10.621584] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00a70160: 0xb0dd instead
[   10.631105] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00a70164: 0xb0dd instead
[   10.640609] jffs2: Further such events for this erase block will not be printed
[   10.660710] sun4i_lradc_irq voltage = 11 349206!
[   10.891651] jffs2: ofs 0x00ad52e4 has already been seen. Skipping
[   10.900218] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00ad62dc: 0x7389 instead
[   10.909783] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00ad62e0: 0x9cfc instead
[   10.919272] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00ad62e4: 0x355a instead
[   10.928750] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00ad62e8: 0x3d98 instead
[   10.938224] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00ad62ec: 0x29ab instead
[   10.947699] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00ad62f0: 0xd2af instead
[   10.957174] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00ad62f4: 0xa8fd instead
[   10.966648] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00ad62f8: 0xd99d instead
[   10.976120] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00ad62fc: 0x0cb4 instead
[   10.985584] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00ad6300: 0x6ed4 instead
[   10.995059] jffs2: Further such events for this erase block will not be printed
[   11.016160] sun4i_lradc_irq voltage = 11 349206!
[   11.084405] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00af8434: 0x8cc2 instead
[   11.093973] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00af8438: 0x801e instead
[   11.103465] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00af843c: 0x3f1e instead
[   11.112943] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00af8440: 0x00c9 instead
[   11.122417] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00af8444: 0x8150 instead
[   11.131919] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00af8448: 0xc076 instead
[   11.141400] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00af8450: 0x326c instead
[   11.150875] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00af8454: 0xb05d instead
[   11.160350] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00af8458: 0xb0dd instead
[   11.169824] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00af845c: 0xb0dd instead
[   11.179296] jffs2: Further such events for this erase block will not be printed
[   11.199746] sun4i_lradc_irq voltage = 11 349206!
[   11.448925] jffs2: Empty flash at 0x00b68490 ends at 0x00b684b0
[   11.454903] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00b684b0: 0x61bb instead
[   11.464441] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00b684b4: 0x61bb instead
[   11.473931] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00b684b8: 0x61bb instead
[   11.483410] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00b684bc: 0x5500 instead
[   11.492886] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00b684c0: 0x00ec instead
[   11.502363] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00b684c4: 0x0100 instead
[   11.511840] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00b684c8: 0x0006 instead
[   11.521315] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00b684cc: 0x06d2 instead
[   11.530790] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00b684d0: 0x588c instead
[   11.540265] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00b684d4: 0x5e78 instead
[   11.549737] jffs2: Further such events for this erase block will not be printed
[   11.570823] sun4i_lradc_irq voltage = 11 349206!
[   21.166671] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[   21.174228] devtmpfs: mounted
[   21.178493] Freeing unused kernel memory: 1024K
[   21.198403] jffs2: notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x0c22b8. {8cc2,f080,00008017,79a2fc58}
[   21.209223] sun4i_lradc_irq voltage = 63 2000000!
[   21.237691] jffs2: notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x0bd924. {8cc2,7081,00808000,9aff9c12}
[   21.252289] jffs2: notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x0bc87c. {8cc2,7081,00808006,bf14c34e}
[   21.263944] jffs2: notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x0bc650. {8cc2,7081,00808015,7d38bb3f}
[   21.279719] jffs2: notice: (1) jffs2_get_inode_nodes: Wrong magic bitmask 0x0000 in node header at 0x0baf08.
[   21.296626] jffs2: notice: (1) jffs2_get_inode_nodes: Wrong magic bitmask 0x0000 in node header at 0x0b91ec.
[   21.320378] sun4i_lradc_irq voltage = 18 571428!
[   21.336448] jffs2: notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x0b1874. {8cc2,7081,00800009,bba9602a}
[   21.349071] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x0b1570: read 0xffffffff, calculated 0xab8eb808
[   21.367616] jffs2: notice: (1) jffs2_get_inode_nodes: Wrong magic bitmask 0x0000 in node header at 0x0af1a8.
[   21.390688] sun4i_lradc_irq voltage = 19 603174!
[   21.405915] jffs2: notice: (1) jffs2_get_inode_nodes: Wrong magic bitmask 0x0000 in node header at 0x0a7d38.
[   21.424060] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x0a59d0: read 0xffffffff, calculated 0x130fc27d
[   21.438588] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x0a4a24: read 0xcc2a58fd, calculated 0x15ff82a4
[   21.464903] sun4i_lradc_irq voltage = 19 603174!
[   21.480640] jffs2: notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x09cb44. {8cc2,7081,00800022,cc9a4815}
[   21.496574] jffs2: notice: (1) jffs2_get_inode_nodes: Wrong magic bitmask 0x0000 in node header at 0x09b110.
[   21.512135] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x0993e4: read 0x832f4800, calculated 0x3c499f22
[   21.529915] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x097160: read 0xffffffff, calculated 0x546c62b3
[   21.549617] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x093bb4: read 0x364fbc11, calculated 0x8eac1e0f
[   21.560434] sun4i_lradc_irq voltage = 11 349206!
[   21.571902] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x09167c: read 0xffffffff, calculated 0x458ca19a
[   21.586778] jffs2: notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x090534. {8cc2,7081,00800013,040d5751}
[   21.597730] jffs2: Node totlen on flash (0xffffffff) != totlen from node ref (0x00000128)
[   21.613546] jffs2: notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x08c584. {ffff,ffff,ffffffff,ffffffff}
[   21.624368] sun4i_lradc_irq voltage = 11 349206!
[   21.639070] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x0889b8: read 0xe94d79a4, calculated 0xe384ba1c
[   21.670470] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x08014c: read 0x8cb9a0ca, calculated 0x1b9ef8b3
[   21.683541] jffs2: notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x07fbf8. {8cc2,7081,0080001e,1bdf8c2c}
[   21.698842] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x07e900: read 0xffffffff, calculated 0x4aaafcd0
[   21.709662] sun4i_lradc_irq voltage = 11 349206!
[   21.716999] jffs2: notice: (1) jffs2_get_inode_nodes: Wrong magic bitmask 0x0000 in node header at 0x07e2a0.
[   21.750331] jffs2: notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x074644. {8cc2,7081,0080001b,ac81fc1e}
[   21.769320] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x0718a0: read 0xc2d01fcc, calculated 0xe02cc193
[   21.797681] jffs2: notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x06a924. {8cc2,7081,0080800c,5029a32a}
[   21.810189] jffs2: notice: (58) read_dnode: node CRC failed on dnode at 0x99000c: read 0xdc2680e2, calculated 0xe8254409
[   21.835978] sun4i_lradc_irq voltage = 11 349206!
[   21.870807] jffs2: notice: (1) jffs2_get_inode_nodes: Wrong magic bitmask 0x0000 in node header at 0x05abd4.
[   21.882394] jffs2: notice: (58) read_dnode: node CRC failed on dnode at 0x98fd58: read 0x91ddcb3a, calculated 0xde2cd5b3
[   21.897885] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x0589f8: read 0xffffffff, calculated 0xa0cf9bd0
[   21.908695] sun4i_lradc_irq voltage = 11 349206!
[   21.921175] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x055c20: read 0xf52dd8d2, calculated 0xf4b6f1b6
[   21.936623] jffs2: notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x05450c. {8cc2,7081,0080001a,7985185b}
[   21.951828] jffs2: notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x053018. {8cc2,7081,0080801c,00b0f435}
[   21.966514] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x05202c: read 0x64bda6ee, calculated 0x32f0bdcd
[   21.990448] jffs2: notice: (1) jffs2_get_inode_nodes: Wrong magic bitmask 0x0000 in node header at 0x04c9cc.
[   22.003668] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x04be78: read 0x42d6f509, calculated 0xddee9636
[   22.014645] jffs2: Node totlen on flash (0x0080001a) != totlen from node ref (0x00000134)
[   22.027522] jffs2: notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x04a870. {8cc2,7081,00800022,cc9a4815}
[   22.038329] sun4i_lradc_irq voltage = 11 349206!
[   22.049394] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x048a20: read 0xffffffff, calculated 0x77d66a2a
[   22.079147] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x040d30: read 0xffffffff, calculated 0x3dad47b3
[   22.120023] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x033ee8: read 0xaaba1f6e, calculated 0x4cf48d18
[   22.137956] jffs2: notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x03190c. {ffff,ffff,ffffffff,ffffffff}
[   22.156859] jffs2: notice: (1) jffs2_get_inode_nodes: Wrong magic bitmask 0x0000 in node header at 0x02eb58.
[   22.172579] jffs2: notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x02cd68. {8cc2,7081,00808013,58d3e463}
[   22.186059] jffs2: notice: (1) jffs2_get_inode_nodes: Wrong magic bitmask 0x0000 in node header at 0x02c6e0.
[   22.199396] jffs2: notice: (1) jffs2_get_inode_nodes: Wrong magic bitmask 0x0000 in node header at 0x02b970.
[   22.216265] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x0292d8: read 0x9234705, calculated 0xa4361300
[   22.244071] jffs2: notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x022100. {8cc2,7081,0080801f,9205db5b}
[   22.263529] jffs2: notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x01ed8c. {8cc2,7081,0080801e,47013f1e}
[   22.280973] jffs2: notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x01ca5c. {8cc2,7081,00000074,4fa52e50}
[   22.298746] jffs2: notice: (1) jffs2_get_inode_nodes: Wrong magic bitmask 0x0000 in node header at 0x01a7f0.
[   22.315543] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x017f8c: read 0xffffffff, calculated 0xb9b2a6f
[   22.341021] jffs2: notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x011d98. {8cc2,7081,00800004,a47bbb57}
[   22.353518] jffs2: notice: (58) read_dnode: node CRC failed on dnode at 0x98da0c: read 0xffffffff, calculated 0xf5adcc23
[   22.374649] jffs2: notice: (1) jffs2_get_inode_nodes: Wrong magic bitmask 0x0000 in node header at 0x00cfb8.
[   22.384509] sun4i_lradc_irq voltage = 11 349206!
[   22.389855] jffs2: notice: (58) jffs2_get_inode_nodes: Node header CRC failed at 0x98d9a4. {8cc2,7081,00000034,b989f54d}
[   22.410562] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x0014a0: read 0xb688f34b, calculated 0xb6a738b1
[   22.421380] sun4i_lradc_irq voltage = 11 349206!
[   22.428653] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x0010e8: read 0xffffffff, calculated 0x7ff83b64
[   22.444865] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x000bf740: read 0xdb96ecb4, calculated 0x56ec5c97.
[   22.467446] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x000bbda8: read 0x34f3fd34, calculated 0x4d70874c.
[   22.481903] jffs2: notice: (58) jffs2_get_inode_nodes: Node header CRC failed at 0x98d340. {8cc2,7081,0000003f,83b0716c}
[   22.501614] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x000b8200: read 0x53c1e86f, calculated 0xc1971dc5.
[   22.513377] sun4i_lradc_irq voltage = 11 349206!
[   22.524590] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x000b6560: read 0x74910c4e, calculated 0xe85e87ac.
[   22.576844] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x000a77d8: read 0x28b2839c, calculated 0x4d70874c.
[   22.605463] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x000a1b20: read 0x7fdacfd7, calculated 0xb6e18d66.
[   22.668317] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x0008d384: read 0xda91a43b, calculated 0x1ac79bbe.
[   22.682797] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x0008cc74: read 0xb1a8f672, calculated 0xda628297.
[   22.707034] sun4i_lradc_irq voltage = 12 380952!
[   22.724331] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x0008422c: read 0xec7d2b2e, calculated 0xa499524e.
[   22.740679] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x00083194: read 0x867943db, calculated 0x625412b7.
[   22.803521] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x0006feac: read 0x6c5de4f, calculated 0x12d14834.
[   22.816698] jffs2: notice: (58) read_dnode: node CRC failed on dnode at 0x98c3e4: read 0x6f78613a, calculated 0xe94edb4
[   22.836082] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x0006ca08: read 0x6eaa6145, calculated 0xd65d9a2.
[   22.847751] sun4i_lradc_irq voltage = 11 349206!
[   22.867687] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x00067550: read 0x59a41497, calculated 0xd437ce4.
[   22.883457] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x00066744: read 0x877a125d, calculated 0xf2ae01c7.
[   22.921356] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x0005d50c: read 0x97040f2b, calculated 0xa63a84b5.
[   22.938232] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x0005c130: read 0xa9597bed, calculated 0xbe2612ff.
[   22.996379] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x0004dd40: read 0xf0a687d8, calculated 0x1d4fc3eb.
[   23.042928] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x00040f90: read 0xffa059d9, calculated 0x8c26d8be.
[   23.060183] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x0003f608: read 0x9d07b33b, calculated 0x7510aefe.
[   23.090987] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x00038c38: read 0xb45f0203, calculated 0xd526385c.
[   23.107204] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x00037c54: read 0xbcba8ac9, calculated 0x52f7fe23.
[   23.121408] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x00037670: read 0xe4202fa9, calculated 0xf0f0a300.
[   23.147204] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x00032b48: read 0xbe32d3e2, calculated 0x93537575.
[   23.158967] sun4i_lradc_irq voltage = 11 349206!
[   23.236949] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x00016c38: read 0xdf64cb72, calculated 0xe16e94fe.
[   23.258570] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x00013b20: read 0xf1550a82, calculated 0x57d49e3c.
[   23.281627] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x0000ff00: read 0xa4fcc682, calculated 0xbe2612ff.
[   23.300409] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x0000de24: read 0xda9799da, calculated 0x4de9cd9d.
[   23.315847] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x0000d218: read 0x5fa6d049, calculated 0xfb10b256.
[   23.352026] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x16cfdc: read 0x8064dd7f, calculated 0x88614930
[   23.367019] jffs2: notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x16c110. {8cc2,7081,0000807e,fc46fd06}
[   23.385397] jffs2: notice: (1) jffs2_get_inode_nodes: Wrong magic bitmask 0x0000 in node header at 0x16a060.
[   23.403836] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x168200: read 0xffffffff, calculated 0x47d41ade
[   23.418612] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x167300: read 0x5b92c6fc, calculated 0x275e1e
[   23.443569] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x161c4c: read 0x51e468fc, calculated 0x85c3f6ce
[   23.458563] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x160934: read 0xc6bd9075, calculated 0x8da3750e
[   23.472386] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x15fed4: read 0xffffffff, calculated 0x4f8caa0f
[   23.486863] jffs2: notice: (1) read_dnode: node CRC failed on dnode at 0x15ef68: read 0xdeb3560b, calculated 0x15ae7ec9
[   23.501622] jffs2: notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x15dd44. {8cc2,7081,00800022,cc9a4815}
[   23.529621] jffs2: notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x153d88. {8cc2,7081,00800022,cc9a4815}
[   23.547065] jffs2: notice: (1) jffs2_get_inode_nodes: Node header CRC failed at 0x151454. {8cc2,7081,00800022,cc9a4815}
[   23.558033] jffs2: Node totlen on flash (0x00800022) != totlen from node ref (0x00000144)
[   23.581991] sun4i_lradc_irq voltage = 11 349206!
[   23.600991] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x00166ce4: read 0xc534a724, calculated 0xccd25876.
[   23.626422] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x001624e4: read 0xfb73bffb, calculated 0xf33e2d79.
[   23.680072] jffs2: notice: (1) check_node_data: wrong data CRC in data node at 0x001501c4: read 0x83fcf0ef, calculated 0xf33e2d79.
[   23.718497] jffs2: Data CRC b62e8215 != calculated CRC 00000000 for node at 001516dc
[   23.727064] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000007
[   23.727064]
[   23.736201] CPU: 0 PID: 1 Comm: init Not tainted 4.13.16-licheepi-zero #17
[   23.743065] Hardware name: Allwinner sun8i Family
[   23.747804] [<c010e5cc>] (unwind_backtrace) from [<c010b2b0>] (show_stack+0x10/0x14)
[   23.755551] [<c010b2b0>] (show_stack) from [<c067897c>] (dump_stack+0x84/0x98)
[   23.762775] [<c067897c>] (dump_stack) from [<c011b788>] (panic+0xdc/0x248)
[   23.769649] [<c011b788>] (panic) from [<c011e2f4>] (do_exit+0xa68/0xa98)
[   23.776346] [<c011e2f4>] (do_exit) from [<c011f170>] (do_group_exit+0x3c/0xd0)
[   23.783562] [<c011f170>] (do_group_exit) from [<c0128e7c>] (get_signal+0x284/0x5cc)
[   23.791212] [<c0128e7c>] (get_signal) from [<c010a76c>] (do_signal+0xc4/0x420)
[   23.798430] [<c010a76c>] (do_signal) from [<c010ac6c>] (do_work_pending+0x94/0xa4)
[   23.805994] [<c010ac6c>] (do_work_pending) from [<c01075d4>] (slow_work_pending+0xc/0x20)
[   23.814174] Rebooting in 5 seconds..

#44 Re: 全志 SOC » zero v3s mx25l256 32MB flash linux系统无法识别 » 2018-11-25 23:39:58

改成16MHZ了
&spi0 {
        status ="okay";

        mx25l25635e:mx25l25635e@0 {
                compatible = "jedec,spi-nor";
                reg = <0x0>;
                spi-max-frequency = <16000000>;
                #address-cells = <1>;
                #size-cells = <1>;
        };

};
现在可以识别flash,但是rootfs有问题

#45 Re: 全志 SOC » zero v3s mx25l256 32MB flash linux系统无法识别 » 2018-11-25 21:18:20

关键点,看起来linux驱动无法识别,
sunxi-fel 能识别
u-boot 也能识别
[    0.803496] spi_nor_scan:(null)
[    0.806939] m25p80 spi32766.0: unrecognized JEDEC id bytes: 00, 00, 00
[    0.813472] m25p80 spi32766.0: unrecognized JEDEC id bytes: 00, 00, 00
[    0.820067] m25p80: probe of spi32766.0 failed with error -2

#46 全志 SOC » zero v3s mx25l256 32MB flash linux系统无法识别 » 2018-11-25 21:16:47

billnie
回复: 13

U-Boot SPL 2017.01-rc2 (Nov 25 2018 - 14:49:54)
DRAM: 64 MiB
Trying to boot from sunxi SPI

U-Boot 2017.01-rc2 (Nov 25 2018 - 14:49:54 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment

Setting up a 480x272 lcd console (overscan 0x0)
dotclock: 10000kHz = 10000kHz: (1 * 3MHz * 20) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000


U-Boot 2017.01-rc2 (Nov 25 2018 - 14:49:54 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment

Setting up a 480x272 lcd console (overscan 0x0)
dotclock: 10000kHz = 10000kHz: (1 * 3MHz * 20) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0
=> boot
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
device 0 offset 0x100000, size 0x10000
SF: 65536 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42dfa000, end 42dffed1 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.13.16-licheepi-zero (root@billnie) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02)) #11 SMP Sun Nov 25 15:15:03 CST 2018
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Lichee Pi Zero with Dock
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 16 pages/cpu @c3edf000 s33868 r8192 d23476 u65536
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16129
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 54568K/65024K available (6144K kernel code, 217K rwdata, 1456K rodata, 1024K init, 264K bss, 10456K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc4000000 - 0xff800000   ( 952 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc3f80000   (  63 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a367c0   ( 218 kB)
[    0.000000]        .bss : 0xc0a3daf0 - 0xc0a7fcac   ( 265 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]     RCU event tracing is enabled.
[    0.000000]     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000020] Switching to timer-based delay loop, resolution 41ns
[    0.000180] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000402] Console: colour dummy device 80x30
[    0.000438] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000453] pid_max: default: 32768 minimum: 301
[    0.000579] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000592] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001186] CPU: Testing write buffer coherency: ok
[    0.001556] /cpus/cpu@0 missing clock-frequency property
[    0.001578] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001997] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002174] Hierarchical SRCU implementation.
[    0.002673] smp: Bringing up secondary CPUs ...
[    0.002688] smp: Brought up 1 node, 1 CPU
[    0.002698] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002705] CPU: All CPU(s) started in SVC mode.
[    0.003459] devtmpfs: initialized
[    0.006581] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.006870] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006897] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.007055] pinctrl core: initialized pinctrl subsystem
[    0.007906] random: get_random_u32 called from bucket_table_alloc+0xf4/0x244 with crng_init=0
[    0.008037] NET: Registered protocol family 16
[    0.008505] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009632] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009649] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.023048] SCSI subsystem initialized
[    0.023348] usbcore: registered new interface driver usbfs
[    0.023410] usbcore: registered new interface driver hub
[    0.023507] usbcore: registered new device driver usb
[    0.023754] pps_core: LinuxPPS API ver. 1 registered
[    0.023764] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.023785] PTP clock support registered
[    0.024022] Advanced Linux Sound Architecture Driver Initialized.
[    0.025873] clocksource: Switched to clocksource arch_sys_counter
[    0.036244] led_trigger_register 0 kbd-scrolllock
[    0.036261] led_trigger_register 1 kbd-numlock
[    0.036268] led_trigger_register 2 kbd-capslock
[    0.036274] led_trigger_register 3 kbd-kanalock
[    0.036279] led_trigger_register 4 kbd-shiftlock
[    0.036285] led_trigger_register 5 kbd-altgrlock
[    0.036291] led_trigger_register 6 kbd-ctrllock
[    0.036297] led_trigger_register 7 kbd-altlock
[    0.036303] led_trigger_register 8 kbd-shiftllock
[    0.036310] led_trigger_register 9 kbd-shiftrlock
[    0.036316] led_trigger_register 10 kbd-ctrlllock
[    0.036322] led_trigger_register 11 kbd-ctrlrlock
[    0.036768] NET: Registered protocol family 2
[    0.037344] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.037377] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.037401] TCP: Hash tables configured (established 1024 bind 1024)
[    0.037527] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.037575] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.037788] NET: Registered protocol family 1
[    0.038372] RPC: Registered named UNIX socket transport module.
[    0.038390] RPC: Registered udp transport module.
[    0.038397] RPC: Registered tcp transport module.
[    0.038403] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.040493] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.049383] NFS: Registering the id_resolver key type
[    0.049432] Key type id_resolver registered
[    0.049439] Key type id_legacy registered
[    0.049483] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.050999] random: fast init done
[    0.053835] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.053855] io scheduler noop registered
[    0.053862] io scheduler deadline registered
[    0.054134] io scheduler cfq registered (default)
[    0.054146] io scheduler mq-deadline registered
[    0.054153] io scheduler kyber registered
[    0.058491] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.128110] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.131331] console [ttyS0] disabled
[    0.151602] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[    0.795735] console [ttyS0] enabled
[    0.803496] spi_nor_scan:(null)
[    0.806939] m25p80 spi32766.0: unrecognized JEDEC id bytes: 00, 00, 00
[    0.813472] m25p80 spi32766.0: unrecognized JEDEC id bytes: 00, 00, 00
[    0.820067] m25p80: probe of spi32766.0 failed with error -2
[    0.826158] libphy: Fixed MDIO Bus: probed
[    0.830755] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    0.836633] dwmac-sun8i 1c30000.ethernet: No regulator found
[    0.842343] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    0.848523] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    0.854185] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    0.861440] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    0.867111] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    0.874324] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    0.879297] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    0.886289] libphy: stmmac: probed
[    0.891562] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.898220] ehci-platform: EHCI generic platform driver
[    0.903740] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.909428] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.917359] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    0.945895] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.953100] hub 1-0:1.0: USB hub found
[    0.957044] hub 1-0:1.0: 1 port detected
[    0.961538] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.967836] ohci-platform: OHCI generic platform driver
[    0.973374] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.980097] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.988062] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    1.061013] hub 2-0:1.0: USB hub found
[    1.064845] hub 2-0:1.0: 1 port detected
[    1.072428] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    1.081998] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.090968] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    1.097877] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.102419] i2c /dev entries driver
[    1.107454] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[    1.116960] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.126462] led_trigger_register_simple mmc0
[    1.126482] led_trigger_register 12 mmc0
[    1.185919] sunxi-mmc 1c0f000.mmc: base:0xc407b000 irq:23
[    1.192386] led_trigger_register_simple mmc1
[    1.192405] led_trigger_register 13 mmc1
[    1.255905] sunxi-mmc 1c10000.mmc: base:0xc4144000 irq:24
[    1.261626] led_trigger_register 14 heartbeat
[    1.266044] led_trigger_register 15 default-on
[    1.271147] usbcore: registered new interface driver usbhid
[    1.276780] usbhid: USB HID core driver
[    1.282179] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[    1.290220] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.297689] NET: Registered protocol family 17
[    1.302271] Key type dns_resolver registered
[    1.306807] Registering SWP/SWPB emulation handler
[    1.319307] simple-framebuffer 43f80000.framebuffer: framebuffer at 0x43f80000, 0x7f800 bytes, mapped to 0xc4300000
[    1.329925] simple-framebuffer 43f80000.framebuffer: format=x8r8g8b8, mode=480x272x32, linelength=1920
[    1.342206] Console: switching to colour frame buffer device 60x34
[    1.350669] simple-framebuffer 43f80000.framebuffer: fb0: simplefb registered!
[    1.359181] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.370550] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.376389] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.385435] hub 3-0:1.0: USB hub found
[    1.389412] hub 3-0:1.0: 1 port detected
[    1.394551] using random self ethernet address
[    1.399124] using random host ethernet address
[    1.404647] usb0: HOST MAC ea:26:5e:0b:a9:73
[    1.409113] usb0: MAC 52:f9:25:c2:8a:3b
[    1.412995] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.420522] g_cdc gadget: g_cdc ready
[    1.426834] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.436329] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:00:23 UTC (23)
[    1.444580] vcc3v3: disabling
[    1.447621] vcc5v0: disabling
[    1.450591] ALSA device list:
[    1.453554]   #0: V3s Audio Codec
[    1.457723] VFS: Cannot open root device "31:03" or unknown-block(31,3): error -19
[    1.465292] Please append a correct "root=" boot option; here are the available partitions:
[    1.473737] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
[    1.482086] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.13.16-licheepi-zero #11
[    1.489382] Hardware name: Allwinner sun8i Family
[    1.494120] [<c010e5cc>] (unwind_backtrace) from [<c010b2b0>] (show_stack+0x10/0x14)
[    1.501867] [<c010b2b0>] (show_stack) from [<c06788fc>] (dump_stack+0x84/0x98)
[    1.509091] [<c06788fc>] (dump_stack) from [<c011b788>] (panic+0xdc/0x248)
[    1.515968] [<c011b788>] (panic) from [<c09011d0>] (mount_block_root+0x188/0x25c)
[    1.523446] [<c09011d0>] (mount_block_root) from [<c09013c4>] (mount_root+0x120/0x128)
[    1.531358] [<c09013c4>] (mount_root) from [<c090151c>] (prepare_namespace+0x150/0x194)
[    1.539355] [<c090151c>] (prepare_namespace) from [<c0900e20>] (kernel_init_freeable+0x1bc/0x1cc)
[    1.548221] [<c0900e20>] (kernel_init_freeable) from [<c068b7d4>] (kernel_init+0x8/0x108)
[    1.556393] [<c068b7d4>] (kernel_init) from [<c0107638>] (ret_from_fork+0x14/0x3c)
[    1.563965] Rebooting in 5 seconds..

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn