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.

Beaglebone Black am335x-evm-linux-05.00.00.15.img 烧录至emmc文件系统启动失败

Other Parts Discussed in Thread: AM3352, TPS65217

在官方下载am335x-evm-linux-05.00.00.15.img 文件,写进TF卡,插进beagleboneblack启动正常.   将emmc分区mmcblk1p1 和mmcblk1p2 .  通过tf卡启动beaglebone Black,将tf分区中的mmcblk0p1 的 MLO ,u-boot.img 拷贝至emmc的分区 mmcblk1p1.  将tf卡分区mmcblk0p2 的文件系统拷贝纸mmcblk1p2.  

断开 tf卡. 通过从emmc启动,文件系统启动异常.日志如下.

U-Boot SPL 2018.01-g131dc82830 (Jul 25 2018 - 15:30:24)
Trying to boot from MMC2
** Bad device mmc 0 **
Using default environment

reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img


U-Boot 2018.01-g131dc82830 (Jul 25 2018 - 15:30:24 +0000)

CPU : AM335X-GP rev 2.1
Model: TI AM335x BeagleBone Black
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
** Bad device mmc 0 **
Using default environment

<ethaddr> not set. Validating first E-fuse MAC
Net: cpsw, usb_ether
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
switch to partitions #0, OK
mmc1(part 0) is current device
SD/MMC found on device 1
3842560 bytes read in 264 ms (13.9 MiB/s)
36793 bytes read in 16 ms (2.2 MiB/s)
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8fff4000, end 8fffffb8 ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.40-g4796173fc5 (oe-user@oe-host) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #1 PREEMPT Wed Jul 25 15:43:15 UTC 2018
[ 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] OF: fdt: Machine model: TI AM335x BeagleBone Black
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 48 MiB at 0x9d000000
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (sgx neon)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=4d28fbae-02 rw 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: 456920K/524288K available (8192K kernel code, 318K rwdata, 2488K rodata, 1024K init, 275K bss, 18216K reserved, 49152K 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 : 0xe0800000 - 0xff800000 ( 496 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 - 0xc0900000 (9184 kB)
[ 0.000000] .init : 0xc0c00000 - 0xc0d00000 (1024 kB)
[ 0.000000] .data : 0xc0d00000 - 0xc0d4fb08 ( 319 kB)
[ 0.000000] .bss : 0xc0d4fb08 - 0xc0d948bc ( 276 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[ 0.000013] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000031] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000040] OMAP clocksource: timer1 at 24000000 Hz
[ 0.000195] timer_probe: no matching timers found
[ 0.000384] Console: colour dummy device 80x30
[ 0.000409] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[ 0.000415] This ensures that you still see kernel messages. Please
[ 0.000420] update your kernel commandline.
[ 0.000445] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
[ 0.089194] pid_max: default: 32768 minimum: 301
[ 0.089359] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.089372] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.090061] CPU: Testing write buffer coherency: ok
[ 0.090688] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.090816] Hierarchical SRCU implementation.
[ 0.091095] EFI services will not be available.
[ 0.092242] devtmpfs: initialized
[ 0.099315] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac with crng_init=0
[ 0.099722] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.100001] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.100021] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.103325] pinctrl core: initialized pinctrl subsystem
[ 0.103986] DMI not present or invalid.
[ 0.104365] NET: Registered protocol family 16
[ 0.106333] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.118665] omap_hwmod: debugss: _wait_target_disable failed
[ 0.170868] cpuidle: using governor ladder
[ 0.170900] cpuidle: using governor menu
[ 0.174663] OMAP GPIO hardware version 0.1
[ 0.183421] No ATAGs?
[ 0.183437] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.194688] edma 49000000.edma: TI EDMA DMA engine driver
[ 0.197297] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[ 0.197357] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pins, deferring probe
[ 0.197462] media: Linux media interface: v0.10
[ 0.197500] Linux video capture interface: v2.00
[ 0.197596] pps_core: LinuxPPS API ver. 1 registered
[ 0.197604] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.197623] PTP clock support registered
[ 0.197653] EDAC MC: Ver: 3.0.0
[ 0.198104] dmi: Firmware registration failed.
[ 0.198479] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[ 0.198767] Advanced Linux Sound Architecture Driver Initialized.
[ 0.199965] clocksource: Switched to clocksource timer1
[ 0.207055] NET: Registered protocol family 2
[ 0.207713] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.207759] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.207798] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.207887] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.207903] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.208029] NET: Registered protocol family 1
[ 0.208422] RPC: Registered named UNIX socket transport module.
[ 0.208435] RPC: Registered udp transport module.
[ 0.208441] RPC: Registered tcp transport module.
[ 0.208447] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.209481] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[ 0.209601] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[ 0.211001] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 0.214625] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.215298] NFS: Registering the id_resolver key type
[ 0.215346] Key type id_resolver registered
[ 0.215353] Key type id_legacy registered
[ 0.215395] ntfs: driver 2.1.32 [Flags: R/O].
[ 0.217097] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 0.217115] io scheduler noop registered
[ 0.217123] io scheduler deadline registered
[ 0.217302] io scheduler cfq registered (default)
[ 0.217311] io scheduler mq-deadline registered
[ 0.217317] io scheduler kyber registered
[ 0.218475] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 0.262224] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[ 0.264926] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
[ 0.894038] console [ttyS0] enabled
[ 0.899203] omap_rng 48310000.rng: Random Number Generator ver. 20
[ 0.915083] brd: module loaded
[ 0.924022] loop: module loaded
[ 0.928964] libphy: Fixed MDIO Bus: probed
[ 1.000043] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[ 1.007744] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[ 1.015095] libphy: 4a101000.mdio: probed
[ 1.019140] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[ 1.029184] cpsw 4a100000.ethernet: Detected MACID = 04:a3:16:b3:81:3c
[ 1.035937] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[ 1.042407] cpsw 4a100000.ethernet: ALE Table size 1024
[ 1.047694] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
[ 1.056131] i2c /dev entries driver
[ 1.060146] IR NEC protocol handler initialized
[ 1.064702] IR RC5(x/sz) protocol handler initialized
[ 1.069771] IR RC6 protocol handler initialized
[ 1.074340] IR JVC protocol handler initialized
[ 1.078887] IR Sony protocol handler initialized
[ 1.083532] IR SANYO protocol handler initialized
[ 1.088253] IR Sharp protocol handler initialized
[ 1.092983] IR MCE Keyboard/mouse protocol handler initialized
[ 1.098836] IR XMP protocol handler initialized
[ 1.104746] cpuidle: enable-method property 'ti,am3352' found operations
[ 1.111862] sdhci: Secure Digital Host Controller Interface driver
[ 1.118073] sdhci: Copyright(c) Pierre Ossman
[ 1.123168] omap_hsmmc 48060000.mmc: Got CD GPIO
[ 1.240184] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.247214] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.260815] NET: Registered protocol family 10
[ 1.266570] Segment Routing with IPv6
[ 1.270484] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.278217] NET: Registered protocol family 17
[ 1.285076] Key type dns_resolver registered
[ 1.289559] omap_voltage_late_init: Voltage driver support not added
[ 1.328000] mmc1: new high speed MMC card at address 0001
[ 1.334147] mmcblk1: mmc1:0001 M62704 3.56 GiB
[ 1.339220] mmcblk1boot0: mmc1:0001 M62704 partition 1 2.00 MiB
[ 1.345541] mmcblk1boot1: mmc1:0001 M62704 partition 2 2.00 MiB
[ 1.352017] mmcblk1rpmb: mmc1:0001 M62704 partition 3 512 KiB
[ 1.359759] mmcblk1: p1 p2
[ 1.364058] random: fast init done
[ 1.372587] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[ 1.378561] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.522313] tda998x 0-0070: found TDA19988
[ 1.527538] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_ops)
[ 1.533633] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.540287] [drm] No driver support for vblank timestamp query.
[ 1.546598] [drm] Cannot find any crtc or sizes
[ 1.551710] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
[ 1.559248] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 1.681127] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[ 1.688726] hctosys: unable to open rtc device (rtc0)
[ 1.694425] ALSA device list:
[ 1.697415] No soundcards found.
[ 1.717623] EXT4-fs (mmcblk1p2): recovery complete
[ 1.723210] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.731487] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 1.738366] devtmpfs: mounted
[ 1.743909] Freeing unused kernel memory: 1024K
sh: cannot set terminal process group (-1): Inappropriate ioctl for device
sh: no job control in this shell
sh-4.4# [ 2.560448] [drm] Cannot find any crtc or sizes
[ 253.200092] random: crng init done

sh-4.4#