Read dt_root 0xc05ec024d00dfeed
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.10.65+ (root@le-desktop) (gcc version 4.4.6 (crosstool-NG 1.13.3) ) #306 Thu Jan 28 14:06:49 CST 2021
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000]
[ 0.000000] Read dt_phys 80e51000
[ 0.000000] Read devtree c0e51000
[ 0.000000]
[ 0.000000] Read dt_root 0xc05ec024d00dfeed
[ 0.000000] Machine: Allwinner A1X (Device Tree), model: sunivw1p1
[ 0.000000] Memory policy: ECC disabled, Data cache writethrough
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 rw rootfstype=ext4
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Memory: 32MB = 32MB total
[ 0.000000] Memory: 26228k/26228k available, 6540k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xc2800000 - 0xff000000 ( 968 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc2000000 ( 32 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0515fac (5176 kB)
[ 0.000000] .init : 0xc0516000 - 0xc055cb8c ( 283 kB)
[ 0.000000] .data : 0xc055e000 - 0xc05d4440 ( 474 kB)
[ 0.000000] .bss : 0xc05d4440 - 0xc05f1db8 ( 119 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] of_sunxi_clocks_init : sunxi_clk_base[0xf1c20000]
[ 0.000000] pll_cpu-set_default_rate=528000000 success!
[ 0.000000] pll_video-set_default_rate=297000000 , but real_get_rate=300000000 failured!
[ 0.000000] pll_ddr-set_default_rate=312000000 success!
[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000497] Calibrating delay loop... 262.96 BogoMIPS (lpj=1314816)
[ 0.070024] pid_max: default: 32768 minimum: 301
[ 0.070607] Mount-cache hash table entries: 512
[ 0.072807] CPU: Testing write buffer coherency: ok
[ 0.073946] Setting up static identity map for 0xc03be338 - 0xc03be390
[ 0.078809] devtmpfs: initialized
[ 0.081575] pinctrl core: initialized pinctrl subsystem
[ 0.081891] NET: Registered protocol family 16
[ 0.083994] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.085322] dump_class_init,821, success
[ 0.092704] sunivw1p1-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.106540] No ATAGs?
[ 0.122484] bio: create slab <bio-0> at 0
[ 0.125775] SCSI subsystem initialized
[ 0.126657] usbcore: registered new interface driver usbfs
[ 0.126923] usbcore: registered new interface driver hub
[ 0.127479] usbcore: registered new device driver usb
[ 0.128867] drivers/i2c/busses/i2c-suniv.c 1150 sunxi_i2c_probe
[ 0.134981] drivers/i2c/busses/i2c-suniv.c 1150 sunxi_i2c_probe
[ 0.140507] cfg80211: Calling CRDA to update world regulatory domain
[ 0.141137] [pm]aw_pm_init!
[ 0.141564] [pm]aw_pm_valid!
[ 0.141602] Notice: sunivw1p1 just support normal standby.
[ 0.141635] [pm]aw_pm_valid!
[ 0.141660] Notice: sunivw1p1 just support normal standby.
[ 0.142039] Switching to clocksource suniv high-res couter
[ 0.193084] NET: Registered protocol family 2
[ 0.196974] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.197088] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.197151] TCP: Hash tables configured (established 512 bind 512)
[ 0.197524] TCP: reno registered
[ 0.197600] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.197693] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.198545] NET: Registered protocol family 1
[ 0.199837] RPC: Registered named UNIX socket transport module.
[ 0.199896] RPC: Registered udp transport module.
[ 0.199925] RPC: Registered tcp transport module.
[ 0.199955] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.227355] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.230979] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 0.231558] jffs2: version 2.2. (NAND) ? 2001-2006 Red Hat, Inc.
[ 0.234482] msgmni has been set to 51
[ 0.239917] io scheduler noop registered
[ 0.239978] io scheduler deadline registered
[ 0.240148] io scheduler cfq registered (default)
[ 0.241103] register success!
[ 0.277343] sw_uart_request_gpio(753)
[ 0.277405] uart0: ttyS0 at MMIO 0x1c25000 (irq = 103) is a SUNXI
[ 0.277461] sw_console_setup()1175 - console setup baud 115200 parity n bits 8, flow n
[ 0.778513] console [ttyS0] enabled
[ 0.784237] sw_uart_request_gpio(753)
[ 0.788372] uart1: ttyS1 at MMIO 0x1c25400 (irq = 104) is a SUNXI
[ 0.797347] sw_uart_request_gpio(753)
[ 0.801497] uart2: ttyS2 at MMIO 0x1c25800 (irq = 105) is a SUNXI
[ 0.810405] misc dump reg init
[ 0.815084] [drm] Initialized drm 1.1.0 20060810
[ 0.825597] spi spi0: master is unqueued, this is deprecated
[ 0.833760] NorFlash ID: 0xc84018 - 0xc840
[ 0.838411] m25p80 spi0.0: found gd25q128, expected m25p64
[ 0.844704] m25p80 spi0.0: gd25q128 (16384 Kbytes)
[ 0.863946] partitions_register()937 - Invalid partitions count: -1
[ 0.870956] partition_register: enter
[ 0.875187] Creating 6 MTD partitions on "(null)":
[ 0.880563] 0x000000000000-0x0000000f0000 : "spl+uboot"
[ 0.899899] rfd_ftl: no RFD magic found in 'spl+uboot'
[ 0.908309] 0x0000000f0000-0x000000100000 : "env"
[ 0.916964] 0x000000100000-0x0000003e0000 : "kernel"
[ 0.961365] rfd_ftl: no RFD magic found in 'kernel'
[ 0.969368] 0x0000003e0000-0x000000400000 : "dtb"
[ 0.978308] rfd_ftl: no RFD magic found in 'dtb'
[ 0.985969] 0x000000400000-0x000000600000 : "logo"
[ 1.018442] rfd_ftl: no RFD magic found in 'logo'
[ 1.026291] 0x000000600000-0x000001000000 : "rootfs"
[ 1.161663] rfd_ftl: no RFD magic found in 'rootfs'
[ 1.170376] usbcore: registered new interface driver rtl8150
[ 1.177023] usbcore: registered new interface driver r8152
[ 1.183507] usbcore: registered new interface driver asix
[ 1.189706] usbcore: registered new interface driver ax88179_178a
[ 1.196806] usbcore: registered new interface driver cdc_ether
[ 1.203605] usbcore: registered new interface driver dm9601
[ 1.209931] usbcore: registered new interface driver net1080
[ 1.216519] usbcore: registered new interface driver cdc_subset
[ 1.223419] usbcore: registered new interface driver zaurus
[ 1.230016] usbcore: registered new interface driver cdc_ncm
[ 1.236788] usbcore: registered new interface driver usblp
[ 1.243291] usbcore: registered new interface driver usb-storage
[ 1.250758] sunxi_hcd_host0 1c13000.otghci0-controller: sunxi_hcd host driver
[ 1.258836] sunxi_hcd_host0 1c13000.otghci0-controller: new USB bus registered, assigned bus number 1
[ 1.272427] hub 1-0:1.0: USB hub found
[ 1.276722] hub 1-0:1.0: 1 port detected
[ 1.284857] mousedev: PS/2 mouse device common for all mice
[ 1.291412] i2c /dev entries driver
[ 1.299292] sunxi-mmc 1c0f000.sdmmc: SD/MMC/SDIO Host Controller Driver(v0.30 2015-10-10 10:03) Compiled in Jan 18 2021 at 11:36:16
[ 1.312762] sunxi-mmc 1c0f000.sdmmc: Can't get vmmc regulator string
[ 1.319864] sunxi-mmc 1c0f000.sdmmc: Can't get vqmmc regulator string
[ 1.327155] sunxi-mmc 1c0f000.sdmmc: Can't get vdmmc regulator string
[ 1.334423] sunxi-mmc 1c0f000.sdmmc: Failed getting OCR mask: 0
[ 1.341996] sunxi-mmc 1c0f000.sdmmc: *******************set host ocr**************************
[ 1.352698] sunxi-mmc 1c0f000.sdmmc: Got CD GPIO #130.
[ 1.359105] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 1.382300] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 1.412442] sunxi-mmc 1c0f000.sdmmc: base:0xf1c0f000 irq:109
[ 1.420089] usbcore: registered new interface driver usbhid
[ 1.426438] usbhid: USB HID core driver
[ 1.432031] TCP: cubic registered
[ 1.435882] Initializing XFRM netlink socket
[ 1.440770] NET: Registered protocol family 17
[ 1.446174] VFP support v0.3: not present
[ 1.453182] drivers/video/sunxi/lcd/dev_lcd.c 102 lcd_module_initwelcome
[ 1.460663] [LCD] lcd_module_init
[ 1.466531] of_property_read_u32_array lcd0.lcd_bl_en_used fail
[ 1.473337] [DISP WRN] file:drivers/video/sunxi/disp/de_bsp/de/disp_lcd.c,line:499: lcd0.lcd_bl_en_used
[ 1.552251] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 0Hz bm OD pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 1.563729] drivers/video/sunxi/disp/dev_fb.c, 137302, Fb_Init
[ 1.570264] fbmem: fb_start=0x81db5000, fb_size=0x00100000
[ 1.579128] drivers/video/sunxi/disp/dev_fb.c, 137350, Fb_Init
[ 1.585771] drivers/video/sunxi/disp/dev_fb.c, 137371, Fb_Init
[ 1.592342] drivers/video/sunxi/disp/dev_fb.c, 137415, Fb_Init
[ 1.598836] drivers/video/sunxi/disp/dev_fb.c, 137422, Fb_Init
[ 1.607196] Fb_map_video_memory, pa=0x81a80000 size:0x4b000
[ 1.613513] BSP_disp_layer_set_para: fb_format=0x0, yuv_ch=0
[ 1.624878] Boot process: init
[ 1.629677] Waiting for root device /dev/mmcblk0p2...
我将内核放在另外一个板子上跑,能够检测到TF卡,并成功挂载,这两块板子的SD卡部分的区别就是:
检测不到的板子上面没有使用PE9/SDIO_CD,这两个脚在源码里面也没有用到啊,希望知道的指点一下,感谢
离线
fex 文件要配置一下吧?
离线