This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335X SD卡启动问题

Other Parts Discussed in Thread: TFP410, TPS65910

sdk版本ti-processor-sdk-linux-am335x-evm-01.00.00.03-Linux-x86-Install.bin

使用createcard.sh制作的,启动log如下,

U-Boot SPL 2014.07 (May 29 2016 - 03:12:13)
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img


U-Boot 2014.07 (May 29 2016 - 03:12:13)

I2C: ready
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
reading uboot.env
Net: cpsw, usb_ether
Hit any key to stop autoboot: 0
Card did not respond to voltage select!
SD/MMC found on device 1
Card did not respond to voltage select!
** Bad device mmc 1 **
Card did not respond to voltage select!
** Bad device mmc 1 **
Card did not respond to voltage select!
SD/MMC found on device 1
Card did not respond to voltage select!
** Bad device mmc 1 **
Card did not respond to voltage select!
** Bad device mmc 1 **
Booting from nand ...

no devices available

no devices available
Bad Linux ARM zImage magic!
U-Boot#
U-Boot#


U-Boot# mmc part

Partition Map for MMC device 0 -- Partition Type: DOS

Part Start Sector Num Sectors UUID Type
1 63 144522 00000000-01 0b Boot
2 160650 7582680 00000000-02 83
U-Boot# mmc info
Device: OMAP SD/MMC
Manufacturer ID: 3
OEM: 5344
Name: SU04G
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 3.7 GiB
Bus Width: 4-bit

现在就是启动不了系统。。。

  • 注意看log啊,从启动模式中没有获得正确的Linux启动zImage。

    你现在是用的EVM板还是自己做的板子?dtb文件和zImage放的对吗?正常情况下,应该是在SD卡第二个分区的boot文件夹下有这两个文件。

    然后在你的uboot环境变量中会决定load哪个dtb文件。这些设置确认都OK吗?

  • 自己做的板子,uboot,zimage,mlo都放在了boot分区,改了uboot/board/ti/am335x/board.c里面的read_eeprom,直接赋值的,header->name===A335_SK

    又有新的问题了:

    U-Boot 2014.07-00001-g4a8e5b8-dirty (May 27 2016 - 16:16:55)

    I2C: ready
    DRAM: 512 MiB
    NAND: 0 MiB
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading uboot.env

    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment

    Net: <ethaddr> not set. Validating first E-fuse MAC
    cpsw, usb_ether
    Hit any key to stop autoboot: 0
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading uEnv.txt
    ** Unable to read file uEnv.txt **
    4337576 bytes read in 305 ms (13.6 MiB/s)
    36445 bytes read in 38 ms (936.5 KiB/s)
    Kernel image @ 0x82000000 [ 0x000000 - 0x422fa8 ]
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8fff4000, end 8ffffe5c ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 3.14.43-g875c69b (gec@ubuntu) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #1 Fri May 27 16:25:52 CST 2016
    [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] Machine model: TI AM335x EVM-SK
    [ 0.000000] cma: CMA: reserved 24 MiB at 9e000000
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM335X ES2.1 (sgx neon )
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129792
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait
    [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [ 0.000000] Memory: 485180K/523264K available (5843K kernel code, 303K rwdata, 2144K rodata, 260K init, 232K bss, 38084K 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 : 0xe0800000 - 0xff000000 ( 488 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc07d50c4 (7989 kB)
    [ 0.000000] .init : 0xc07d6000 - 0xc0817144 ( 261 kB)
    [ 0.000000] .data : 0xc0818000 - 0xc0863da0 ( 304 kB)
    [ 0.000000] .bss : 0xc0863da0 - 0xc089ddb8 ( 233 kB)
    [ 0.000000] NR_IRQS:16 nr_irqs:16 16
    [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [ 0.000000] Total of 128 interrupts on 1 active controller
    [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [ 0.000014] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
    [ 0.000034] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000296] Console: colour dummy device 80x30
    [ 0.000321] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [ 0.000328] This ensures that you still see kernel messages. Please
    [ 0.000333] update your kernel commandline.
    [ 0.000355] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
    [ 0.089416] pid_max: default: 32768 minimum: 301
    [ 0.089521] Security Framework initialized
    [ 0.089579] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.089590] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.097004] CPU: Testing write buffer coherency: ok
    [ 0.097395] Setting up static identity map for 0x805baa20 - 0x805baa78
    [ 0.098347] devtmpfs: initialized
    [ 0.100224] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 0.107365] omap_hwmod: tptc0 using broken dt data from edma
    [ 0.107446] omap_hwmod: tptc1 using broken dt data from edma
    [ 0.107517] omap_hwmod: tptc2 using broken dt data from edma
    [ 0.111704] omap_hwmod: debugss: _wait_target_disable failed
    [ 0.166911] pinctrl core: initialized pinctrl subsystem
    [ 0.167934] regulator-dummy: no parameters
    [ 0.170371] NET: Registered protocol family 16
    [ 0.172396] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.174972] cpuidle: using governor ladder
    [ 0.174988] cpuidle: using governor menu
    [ 0.181337] syscon 44e10000.control_module: regmap [mem 0x44e10000-0x44e107fb] registered
    [ 0.182804] platform 49000000.edma: alias fck already exists
    [ 0.182828] platform 49000000.edma: alias fck already exists
    [ 0.182842] platform 49000000.edma: alias fck already exists
    [ 0.183988] OMAP GPIO hardware version 0.1
    [ 0.198135] No ATAGs?
    [ 0.198159] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.224425] bio: create slab <bio-0> at 0
    [ 0.240467] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [ 0.241495] vbat: 5000 mV
    [ 0.241891] lis3_reg: no parameters
    [ 0.241994] reg-fixed-voltage fixedregulator@2: could not find pctldev for node /pinmux@44e10800/pinmux_wl12xx_gpio, deferring probe
    [ 0.242018] platform fixedregulator@2: Driver reg-fixed-voltage requests probe deferral
    [ 0.242466] vtt: 1500 mV
    [ 0.245579] vgaarb: loaded
    [ 0.246111] i2c-core: driver [palmas] using legacy suspend method
    [ 0.246122] i2c-core: driver [palmas] using legacy resume method
    [ 0.246833] SCSI subsystem initialized
    [ 0.248328] usbcore: registered new interface driver usbfs
    [ 0.248514] usbcore: registered new interface driver hub
    [ 0.248721] usbcore: registered new device driver usb
    [ 0.249755] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe
    [ 0.249787] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
    [ 0.250201] pps_core: LinuxPPS API ver. 1 registered
    [ 0.250212] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.250343] PTP clock support registered
    [ 0.252292] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.253195] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.254822] Switched to clocksource timer1
    [ 0.274190] NET: Registered protocol family 2
    [ 0.275184] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.275237] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.275284] TCP: Hash tables configured (established 4096 bind 4096)
    [ 0.275355] TCP: reno registered
    [ 0.275367] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.275386] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.275555] NET: Registered protocol family 1
    [ 0.275933] RPC: Registered named UNIX socket transport module.
    [ 0.275945] RPC: Registered udp transport module.
    [ 0.275950] RPC: Registered tcp transport module.
    [ 0.275957] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.277068] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
    [ 0.279795] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.444782] VFS: Disk quotas dquot_6.5.2
    [ 0.444932] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.445468] NFS: Registering the id_resolver key type
    [ 0.445545] Key type id_resolver registered
    [ 0.445553] Key type id_legacy registered
    [ 0.445593] jffs2: version 2.2. (NAND) (SUMMARY) 漏 2001-2006 Red Hat, Inc.
    [ 0.445773] msgmni has been set to 995
    [ 0.447230] NET: Registered protocol family 38
    [ 0.447273] io scheduler noop registered
    [ 0.447281] io scheduler deadline registered
    [ 0.447304] io scheduler cfq registered (default)
    [ 0.449085] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [ 0.452932] backlight supply power not found, using dummy regulator
    [ 0.456751] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [ 0.462009] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a 8250
    [ 1.116024] console [ttyS0] enabled
    [ 1.121407] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [ 1.128508] [drm] Initialized drm 1.1.0 20060810
    [ 1.143886] brd: module loaded
    [ 1.152557] loop: module loaded
    [ 1.156186] (hci_tty): inside hci_tty_init
    [ 1.160789] (hci_tty): allocated 250, 0
    [ 1.168896] mtdoops: mtd device (mtddev=name/number) must be supplied
    [ 1.179243] usbcore: registered new interface driver asix
    [ 1.184947] usbcore: registered new interface driver ax88179_178a
    [ 1.191214] usbcore: registered new interface driver cdc_ether
    [ 1.197292] usbcore: registered new interface driver smsc95xx
    [ 1.203241] usbcore: registered new interface driver net1080
    [ 1.209081] usbcore: registered new interface driver cdc_subset
    [ 1.215196] usbcore: registered new interface driver zaurus
    [ 1.221031] usbcore: registered new interface driver cdc_ncm
    [ 1.227270] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 1.233829] ehci-pci: EHCI PCI platform driver
    [ 1.238516] ehci-omap: OMAP-EHCI Host Controller driver
    [ 1.244246] usbcore: registered new interface driver cdc_wdm
    [ 1.250156] usbcore: registered new interface driver usb-storage
    [ 1.257279] mousedev: PS/2 mouse device common for all mice
    [ 1.264547] input: ti-tsc as /devices/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input0
    [ 1.273789] i2c-core: driver [rtc-ds1307] using legacy suspend method
    [ 1.280303] i2c-core: driver [rtc-ds1307] using legacy resume method
    [ 1.287492] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [ 1.295504] i2c /dev entries driver
    [ 1.299189] Driver for 1-wire Dallas network protocol.
    [ 1.306893] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 1.315852] omap_hsmmc 48060000.mmc: unable to get vmmc regulator -517
    [ 1.322545] platform 48060000.mmc: Driver omap_hsmmc requests probe deferral
    [ 1.330101] omap_hsmmc 481d8000.mmc: unable to get vmmc regulator -517
    [ 1.336769] platform 481d8000.mmc: Driver omap_hsmmc requests probe deferral
    [ 1.346076] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.352417] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [ 1.359578] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [ 1.366907] usbcore: registered new interface driver usbhid
    [ 1.372508] usbhid: USB HID core driver
    [ 1.376674] platform 44d00000.wkup_m3: Driver wkup_m3 requests probe deferral
    [ 1.387089] oprofile: using arm/armv7
    [ 1.391070] TCP: cubic registered
    [ 1.394401] Initializing XFRM netlink socket
    [ 1.398838] NET: Registered protocol family 17
    [ 1.403345] NET: Registered protocol family 15
    [ 1.407952] Key type dns_resolver registered
    [ 1.412957] cpu cpu0: of_pm_voltdm_notifier_register: Failed to get cpu0 regulator/voltdm: -517
    [ 1.421766] cpu cpu0: cpu0 clock notifier not ready, retry
    [ 1.427404] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral
    [ 1.435526] PM: bootloader does not support rtc-only!
    [ 1.440615] ThumbEE CPU extension supported.
    [ 1.445045] Registering SWP/SWPB emulation handler
    [ 1.451394] lis3_reg: disabling
    [ 1.454560] vbat: disabling
    [ 1.457473] regulator-dummy: disabling
    [ 1.461938] Error: Driver 'tfp410' is already registered, aborting...
    [ 1.470887] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 1.477594] [drm] No driver support for vblank timestamp query.
    [ 1.527123] Console: switching to colour frame buffer device 60x34
    [ 1.535479] tilcdc 4830e000.lcdc: fb0: frame buffer device
    [ 1.541075] tilcdc 4830e000.lcdc: registered panic notifier
    [ 1.546701] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
    [ 1.553773] vwl1271: 1800 mV
    [ 1.558828] tps65910 0-002d: No interrupt support, no core IRQ
    [ 1.569196] vrtc: 1800 mV
    [ 1.572197] vrtc: supplied by vbat
    [ 1.577376] vio: at 1500 mV
    [ 1.580359] vio: supplied by vbat
    [ 1.585513] vdd_mpu: 912 <--> 1375 mV at 1262 mV
    [ 1.590317] vdd_mpu: supplied by vbat
    [ 1.595818] vdd_core: 912 <--> 1150 mV at 1137 mV
    [ 1.600710] vdd_core: supplied by vbat
    [ 1.605918] vdd3: 5000 mV
    [ 1.609990] vdig1: at 1800 mV
    [ 1.613141] vdig1: supplied by vbat
    [ 1.618040] vdig2: at 1800 mV
    [ 1.621181] vdig2: supplied by vbat
    [ 1.626064] vpll: at 1800 mV
    [ 1.629118] vpll: supplied by vbat
    [ 1.633929] vdac: at 1800 mV
    [ 1.637002] vdac: supplied by vbat
    [ 1.641796] vaux1: at 1800 mV
    [ 1.644951] vaux1: supplied by vbat
    [ 1.649785] vaux2: at 3300 mV
    [ 1.652934] vaux2: supplied by vbat
    [ 1.657828] vaux33: at 3300 mV
    [ 1.661047] vaux33: supplied by vbat
    [ 1.666003] vmmc: 1800 <--> 3300 mV at 3300 mV
    [ 1.670628] vmmc: supplied by vbat
    [ 1.675858] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [ 1.792135] mmc0: host does not support reading read-only switch. assuming write-enable.
    [ 1.802450] mmc0: new high speed SDHC card at address aaaa
    [ 1.808598] mmcblk0: mmc0:aaaa SU04G 3.69 GiB
    [ 1.814661] mmcblk0: p1 p2
    [ 1.835570] remoteproc0: wkup_m3 is available
    [ 1.840047] remoteproc0: Note: remoteproc is still under development and considered experimental.
    [ 1.849105] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 1.859707] remoteproc0: Direct firmware load failed with error -2
    [ 1.866072] remoteproc0: Falling back to user helper
    [ 1.871628] cpu cpu0: of_pm_voltdm_notifier_register: Fail calculating voltage latency[950000<->1260000]:-22
    [ 1.944848] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [ 1.950990] davinci_mdio 4a101000.mdio: detected phy mask fffffffc
    [ 1.958640] libphy: 4a101000.mdio: probed
    [ 1.962679] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Atheros 8031 ethernet
    [ 1.971985] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver Atheros 8031 ethernet
    [ 1.982185] cpsw 4a100000.ethernet: Detected MACID = 84:eb:18:c5:1a:43
    [ 1.990059] cpsw 4a100000.ethernet: cpsw: Detected MACID = 84:eb:18:c5:1a:45
    [ 1.999564] input: gpio_buttons@0 as /devices/gpio_buttons@0/input/input1
    [ 2.007258] omap_rtc 44e3e000.rtc: hctosys: invalid date/time
    [ 2.016318] ALSA device list:
    [ 2.019345] No soundcards found.
    [ 2.035889] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 2.044112] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [ 2.055340] devtmpfs: mounted
    [ 2.058765] Freeing unused kernel memory: 260K (c07d6000 - c0817000)
    [ 2.088392] mmc1: BKOPS_EN bit is not set
    [ 2.095342] mmc1: new high speed MMC card at address 0001
    [ 2.101944] mmcblk1: mmc1:0001 SEM04G 3.68 GiB
    [ 2.107483] mmcblk1boot0: mmc1:0001 SEM04G partition 1 2.00 MiB
    [ 2.114407] mmcblk1boot1: mmc1:0001 SEM04G partition 2 2.00 MiB
    [ 2.130137] mmcblk1: p1 p2 p3 p4
    [ 2.137648] mmcblk1boot1: unknown partition table
    [ 2.144603] mmcblk1boot0: unknown partition table
    INIT: version 2.88 booting
    Starting udev
    [ 2.804602] udevd[885]: starting version 182
    [ 3.215515] remoteproc0: powering up wkup_m3
    [ 3.220757] remoteproc0: Booting fw image am335x-pm-firmware.elf, size 154412
    [ 3.325332] PM: CM3 Firmware Version = 0x190
    [ 3.375690] 47401300.usb-phy supply vcc not found, using dummy regulator
    [ 3.385798] lis3lv02d: unknown sensor type 0x87
    [ 3.390490] lis3lv02d_i2c: probe of 0-0018 failed with error -22
    [ 3.396629] remoteproc0: remote processor wkup_m3 is now up
    [ 3.440986] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [ 4.533517] random: nonblocking pool is initialized
    [ 4.813839] davinci_evm sound: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
    [ 6.830933] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ 6.891700] FAT-fs (mmcblk1p4): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ 6.917616] EXT4-fs (mmcblk1p2): recovery complete
    [ 6.922466] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 7.084049] EXT4-fs (mmcblk1p3): recovery complete
    [ 7.127871] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. Opts: (null)
    [ 7.273565] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
    [ 7.339198] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
    [ 7.427807] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 7.434650] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 7.441983] usb usb1: Product: MUSB HDRC host driver
    [ 7.446992] usb usb1: Manufacturer: Linux 3.14.43-g875c69b musb-hcd
    [ 7.453287] usb usb1: SerialNumber: musb-hdrc.0.auto
    [ 7.741054] hub 1-0:1.0: USB hub found
    [ 7.765178] hub 1-0:1.0: 1 port detected
    [ 7.807471] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [ 7.825561] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
    [ 7.849521] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [ 7.856520] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 7.863815] usb usb2: Product: MUSB HDRC host driver
    [ 7.868837] usb usb2: Manufacturer: Linux 3.14.43-g875c69b musb-hcd
    [ 7.875143] usb usb2: SerialNumber: musb-hdrc.1.auto
    [ 7.900683] hub 2-0:1.0: USB hub found
    [ 7.904602] hub 2-0:1.0: 1 port detected
    [ 8.030949] mmcblk0: error -110 sending status command, retrying
    [ 8.063467] mmcblk0: error -110 sending status command, retrying
    [ 8.095423] mmcblk0: error -110 sending status command, aborting
    [ 8.101472] end_request: I/O error, dev mmcblk0, sector 4584666
    [ 8.159770] mmcblk0: error -110 sending status command, retrying
    [ 8.192046] mmcblk0: error -110 sending status command, retrying
    [ 8.224316] mmcblk0: error -110 sending status command, aborting
    [ 8.230359] end_request: I/O error, dev mmcblk0, sector 4584666
    /etc/init.d/rc: line 52: /etc/rcS.d/S05modutils.sh: Input/output error
    [ 8.294653] mmcblk0: error -110 sending status command, retrying
    [ 8.326947] mmcblk0: error -110 sending status command, retrying
    [ 8.358875] mmcblk0: error -110 sending status command, aborting
    [ 8.364933] end_request: I/O error, dev mmcblk0, sector 4584506

    。。。

    。。。

    。。。

    13.964991] mmcblk0: error -110 sending status command, aborting
    [ 13.971025] end_request: I/O error, dev mmcblk0, sector 2922882
    /etc/init.d/rc: line 176: /usr/bin/psplash-write: Input/output error

    [ 14.118753] mmcblk0: error -110 sending status command, retrying
    [ 14.150817] mmcblk0: error -110 sending status command, retrying
    [ 14.183093] mmcblk0: error -110 sending status command, aborting
    [ 14.189146] end_request: I/O error, dev mmcblk0, sector 4585610
    [ 14.272977] mmcblk0: error -110 sending status command, retrying
    [ 14.305210] mmcblk0: error -110 sending status command, retrying
    [ 14.337969] mmcblk0: error -110 sending status command, aborting
    [ 14.344011] end_request: I/O error, dev mmcblk0, sector 4585610
    [ 14.403419] mmcblk0: error -110 sending status command, retrying
    [ 14.436494] mmcblk0: error -110 sending status command, retrying
    [ 14.469550] mmcblk0: error -110 sending status command, aborting
    [ 14.475605] end_request: I/O error, dev mmcblk0, sector 4585610
    (none) login:

    卡在这里,输入root也报错。

  • 查一下你的MMC的硬件电路,貌似处理器一直在请求状态信息,然后获取不到,应该是通信时出了问题。建议

    硬件上查你的SD卡的设计,硬件电路方面,是否和我们的开发板是一致的,包括上下拉的设计。

    软件上面,确认下你的SD卡配置是否都已经使能了。因为kernel里面会根据dtb配置,会不会这里你又修改了什么,导致SD卡的pinmux或者是驱动之类的出了问题。

  • 我试试,怎么知道加载的是哪个dtb呢?

  • 这是你定义的啊,打印下uboot里面的环境变量,看下寻找dtb的逻辑就清楚了。

    根据你前面的描述,你现在把板子的识别改成了AM335x SK。 如果你改的正确的话,就是说后面会用SK板子的配置来进行,那就是am335x-evmsk.dtb.