您尚未登录。

楼主 #1 2019-10-20 12:24:41

blade_cheng
会员
注册时间: 2018-10-15
已发帖子: 72
积分: 68

N32905从SD卡启动不了,麻烦晕哥和路过的大神帮忙看看

Init RTC....OK
DDR size: 32MB
SD Port0 Booting Success
Clock Skew
DQSODS 0x1010
CKDQSDS 0x888800
Code Executes at 0x00700000

N32903 SD Boot Loader (2014-02-12).
sd init ok
executing address = 0x600000
detect sd capacity 1,967,104KB
fat init ok!
find bin file "SD.BIN"
start to execute image file SD.BIN
Linux version 2.6.35.4 (root@peng-Lenovo-Product) (gcc version 4.4.3 (ctng-1.6.1) ) #12 PREEMPT Sun Oct 20 11:37:01 CST 2019
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: W55FA93
Memory policy: ECC disabled, Data cache writeback
CPU type 0x00fa5c30 is W55FA93
w55fa93_external_clock  = 12.0 MHz
w55fa93_apll_clock      = 72000 KHz
w55fa93_upll_clock      = 192000 KHz
w55fa93_system_clock    = 192000 KHz
w55fa93_cpu_clock       = 192000 KHz
w55fa93_ahb_clock       = 96000 KHz
w55fa93_apb_clock       = 48000 KHz
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: root=/dev/ram0 console=ttyS1,115200n8 rdinit=/sbin/init mem=32M vt.global_cursor_default=0
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 26668k/26668k available, 6100k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xff600000 - 0xffe00000   (   8 MB)
    vmalloc : 0xc2800000 - 0xe0000000   ( 472 MB)
    lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc00ae000   ( 664 kB)
      .text : 0xc00ae000 - 0xc0374000   (2840 kB)
      .data : 0xc0374000 - 0xc038cd00   ( 100 kB)
Hierarchical RCU implementation.
        RCU-based detection of stalled CPUs is disabled.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:32
Console: colour dummy device 80x30
console [ttyS1] enabled
Calibrating delay loop... 95.64 BogoMIPS (lpj=478208)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
NET: Registered protocol family 16
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
Advanced Linux Sound Architecture Driver Version 1.0.23.
Switching to clocksource w55fa93-timer1
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
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
register clock device
w55fa93_edma_init
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 52
io scheduler noop registered (default)
---w55fa93fb_init ----w55fa93 frame buffer init
###########w55fa93 frame buffer probe############
1*** fbi->fb->fix.smem_len = 0x177000
REG_LCM_LCDCInt = 0xffffffff !!!
Vsync flag is encountered !!!
check_var(var=c1c89020, info=c1c89000)
w55fa93fb_set_par !!! =================
Console: switching to colour frame buffer device 100x30
w55fa93 LCD driver has been installed successfully
w55fa93 SysMgr driver has been initialized successfully!
93BLT major_no = 252, minor_no = 0
w55fa93 BLT driver has been initialized successfully!
W55FA93 uart driver has been initialized successfully!
w55fa93-uart0: ttyS0 at MMIO 0xb8008000 (irq = 13) is a W55FA93
w55fa93-uart1: ttyS1 at MMIO 0xb8008100 (irq = 24) is a W55FA93
brd: module loaded
loop: module loaded
enc28j60 spi0.0: enc28j60 Ethernet driver 1.01 loaded
enc28j60 spi0.0: enc28j60 chip not found
enc28j60: probe of spi0.0 failed with error -5
rtl8150: v0.6.2 (2004/08/27):rtl8150 based usb-ethernet driver
usbcore: registered new interface driver rtl8150
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Init CONFIG_W55FA93_USB_HOST_LIKE_PORT2
ohci_hcd_w55fa93_drv_probe
usb_hcd_w55fa93_probe
get_pll
External clock = 12MHz
NF: 32, NR: 2, NO: 1
PLL is 192   ---
div1 = 1
div0 = 1
div0 = 2
div0 = 3
div0 = 4
Div1 = 0,  Div0 = 3
USBH IP  Reset
CONFIG_W55FA93_USB_HOST_LIKE_PORT1
w55fa93-ohci w55fa93-ohci: Nuvoton W55FA93 OHCI Host Controller
w55fa93-ohci w55fa93-ohci: new USB bus registered, assigned bus number 1
w55fa93-ohci w55fa93-ohci: irq 18, io mem 0xb1009000
ohci_w55fa93_start
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
USB device plug in
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
<--w55fa93_udc_probe-->
mice: PS/2 mouse device common for all mice
input: W55FA93 TouchScreen as /class/input/input0
input: W55FA93 Keypad as /class/input/input1
W55FA93 keypad driver has been initialized successfully!
w55fa93-rtc w55fa93-rtc: rtc core: registered w55fa93-rtc as rtc0
Init Nuvoton RTC!
i2c_adap_w55fa93_init
w55fa93_i2c_probe()
w55fa93-i2c w55fa93-i2c: bus frequency set to 100 KHz
w55fa93-i2c w55fa93-i2c: Add W55FA93 I2C port adapter
Linux video capture interface: v2.00
SnrPowerDown
w55fa93_gpio_configure()-1,3
jpegcodec_init
W55FA93 MMC/SD driver (20130715) has been initialized successfully!
After snd_soc_register_dai
w55fa93evb_asoc_dev = 0xc1e3a7a0 !!!
asoc: W55FA93_DAC HiFi <-> w55fa93-spu mapping ok
ret = 0x0 !!!, platform device added
******* global g_pw55fa93_adc_data address = 0xc1e21ea0
0 = platform_driver_register

asoc: W55FA93ADC HiFi <-> w55fa93adc_cpu_dai mapping ok
ALSA device list:
  #0: W55FA93_SPU (W55FA93_DAC)
  #1: mach-W55FA93_ADC (codecADC)
TCP cubic registered
NET: Registered protocol family 17
w55fa93-rtc w55fa93-rtc: setting system clock to 2005-01-01 00:01:56 UTC (1104537716)
Freeing init memory: 664K
Success to Reserve Free Page from: 0xc0c00000, order:10, pages:1024
W55FA93 DEVMEM driver has been initialized successfully!
gnand: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
NAND: nand_init!!!!!
W55FA93 NAND driver (20130528) has been initialized successfully!
scsi0 : Nuvoton W55FA93 On Board NAND DRIVER!
[GNAND] GNAND Library Version: V1.02.3
R/B# timeout 2 <0x3c0000>, jiffies ffff8bc0, count1 ffff8bbf
[GNAND] NAND driver initial fail, return 0xffff0125 !
GNAND init failed !!!!!!!!
scsi 0:0:1:0: Direct-Access     NUVOTON  GNAND DRIVER     2.00 PQ: 0 ANSI: 0
sd 0:0:1:0: [sda] Unit Not Ready
sd 0:0:1:0: [sda] Sense Key : 0x3 [current]
sd 0:0:1:0: [sda] ASC=0x30 ASCQ=0x0
sd 0:0:1:0: [sda] READ CAPACITY failed
sd 0:0:1:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
sd 0:0:1:0: [sda] Sense Key : 0x3 [current]
sd 0:0:1:0: [sda] ASC=0x30 ASCQ=0x0
sd 0:0:1:0: [sda] Test WP failed, assume Write Enabled
sd 0:0:1:0: [sda] Asking for cache data failed
sd 0:0:1:0: [sda] Assuming drive cache: write through
sd 0:0:1:0: [sda] Unit Not Ready
sd 0:0:1:0: [sda] Sense Key : 0x3 [current]
sd 0:0:1:0: [sda] ASC=0x30 ASCQ=0x0
sd 0:0:1:0: [sda] READ CAPACITY failed
sd 0:0:1:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
sd 0:0:1:0: [sda] Sense Key : 0x3 [current]
sd 0:0:1:0: [sda] ASC=0x30 ASCQ=0x0
sd 0:0:1:0: [sda] Test WP failed, assume Write Enabled
sd 0:0:1:0: [sda] Asking for cache data failed
sd 0:0:1:0: [sda] Assuming drive cache: write through
sd 0:0:1:0: [sda] Attached SCSI removable disk
sd 0:0:1:0: [sda] Unit Not Ready
sd 0:0:1:0: [sda] Sense Key : 0x3 [current]
sd 0:0:1:0: [sda] ASC=0x30 ASCQ=0x0

离线

#2 2019-10-20 12:32:52

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,223
积分: 9197

Re: N32905从SD卡启动不了,麻烦晕哥和路过的大神帮忙看看

看你的 bootargs 用的是 initramfs, 按理说怎么都可以启动到shell, 应该是 nand R/B# timeout 引起阻塞了?

检查一下 nand 部分, 原理图是不是和开发板一致





离线

#3 2019-10-26 10:55:28

tom
会员
注册时间: 2018-03-14
已发帖子: 128
积分: 127.5

Re: N32905从SD卡启动不了,麻烦晕哥和路过的大神帮忙看看

可能是文件系统问题,换一个默认的试一试

离线

页脚

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

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