本帖最后由 一只耳朵怪 于 2018-6-21 08:55 编辑
各位好:
我司自己设计了AM335x 的一个 开发板, 现在遇到如下几个问题。
1: uboot 里面 可正常识别到emmc
- Device: OMAP SD/MMC
- Manufacturer ID: 3
- OEM: 5344
- Name: SC16G
- Tran Speed: 50000000
- Rd Block Len: 512
- SD version 3.0
- High Capacity: Yes
- Capacity: 14.8 GiB
- Bus Width: 4-bit
- U-Boot# mmc dev 1
- mmc1(part 0) is current device
- U-Boot# mmcinfo
- Device: OMAP SD/MMC
- Manufacturer ID: 11
- OEM: 100
- Name: 004G6
- Tran Speed: 52000000
- Rd Block Len: 512
- MMC version 4.0
- High Capacity: Yes
- Capacity: 3.7 GiB
- Bus Width: 4-bit
复制代码
2: 正常启动的时候log
- U-Boot 2014.04-rc2 (Sep 05 2014 - 15:34:02)
- I2C: ready
- DRAM: 256 MiB
- MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
- reading env
- ** Unable to read "env" from mmc0:1 **
- Using default environment
- i2c_read: error waiting for addr ACK (status=0x116)
- PCA9559_reg_read: 0x06 failed
- Net: cpsw
- Hit any key to stop autoboot: 0
- ** No partition table - mmc 1 **
- There is no valid bmp file at the given address
- mmc0 is current device
- SD/MMC found on device 0
- reading uEnv.txt
- 100 bytes read in 3 ms (32.2 KiB/s)
- Loaded environment from uEnv.txt
- Importing environment from mmc ...
- reading uImage
- 3496112 bytes read in 470 ms (7.1 MiB/s)
- ## Booting kernel from Legacy Image at 82000000 ...
- Image Name: Linux-3.2.0
- Image Type: ARM Linux Kernel Image (uncompressed)
- Data Size: 3496048 Bytes = 3.3 MiB
- Load Address: 80008000
- Entry Point: 80008000
- Verifying Checksum ... OK
- Loading Kernel Image ... OK
- Starting kernel ...
- Uncompressing Linux... done, booting the kernel.
- [ 0.000000] Linux version 3.2.0 (root@ubuntu) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #53 Wed Mar 7 14:54:04 CST 2018
- [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
- [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
- [ 0.000000] Machine: am335xevm
- [ 0.000000] Memory policy: ECC disabled, Data cache writeback
- [ 0.000000] AM335X ES2.1 (neon )
- [ 0.000000] ------------[ cut here ]------------
- [ 0.000000] WARNING: at arch/arm/mach-omap2/clkt_clksel.c:194 omap2_clksel_recalc+0xd0/0x130()
- [ 0.000000] clock: Could not find fieldval 0 for clock dpll_core_m6_ck parent dpll_core_x2_ck
- [ 0.000000] Modules linked in:
- [ 0.000000] Backtrace:
- [ 0.000000] [] (dump_backtrace+0x0/0x110) from [] (dump_stack+0x18/0x1c)
- [ 0.000000] r6:c059f7f4 r5:000000c2 r4:c069fe80 r3:c06c1148
- [ 0.000000] [] (dump_stack+0x0/0x1c) from [] (warn_slowpath_common+0x5c/0x6c)
- [ 0.000000] [] (warn_slowpath_common+0x0/0x6c) from [] (warn_slowpath_fmt+0x38/0x40)
- [ 0.000000] r8:c093d840 r7:00000001 r6:00000002 r5:c06b2820 r4:00000000
- [ 0.000000] r3:00000009
- [ 0.000000] [] (warn_slowpath_fmt+0x0/0x40) from [] (omap2_clksel_recalc+0xd0/0x130)
- [ 0.000000] r3:00000000 r2:c059f9cc
- [ 0.000000] [] (omap2_clksel_recalc+0x0/0x130) from [] (propagate_rate+0x34/0x54)
- [ 0.000000] r7:c06a45cc r6:c06a45cc r5:c06b2720 r4:c06b2820
- [ 0.000000] [] (propagate_rate+0x0/0x54) from [] (propagate_rate+0x40/0x54)
- [ 0.000000] r5:c06b26c4 r4:c06b270c
- [ 0.000000] [] (propagate_rate+0x0/0x54) from [] (propagate_rate+0x40/0x54)
- [ 0.000000] r5:c06b260c r4:c06b26b0
- [ 0.000000] [] (propagate_rate+0x0/0x54) from [] (propagate_rate+0x40/0x54)
- [ 0.000000] r5:c06b24f8 r4:c06b25f8
- [ 0.000000] [] (propagate_rate+0x0/0x54) from [] (recalculate_root_clocks+0x44/0x58)
- [ 0.000000] r5:c06c08ac r4:c06b24e4
- [ 0.000000] [] (recalculate_root_clocks+0x0/0x58) from [] (am33xx_clk_init+0x98/0xa8)
- [ 0.000000] r5:c06b2374 r4:c06b2374
- [ 0.000000] [] (am33xx_clk_init+0x0/0xa8) from [] (omap3xxx_clk_init+0xf8/0x344)
- [ 0.000000] r5:c0721054 r4:00003517
- [ 0.000000] [] (omap3xxx_clk_init+0x0/0x344) from [] (am33xx_init_early+0x3c/0x40)
- [ 0.000000] r7:c06a45cc r6:c06a45cc r5:c0721054 r4:c066b2ac
- [ 0.000000] [] (am33xx_init_early+0x0/0x40) from [] (setup_arch+0x7e8/0x834)
- [ 0.000000] [] (setup_arch+0x0/0x834) from [] (start_kernel+0x88/0x2e0)
- [ 0.000000] [] (start_kernel+0x0/0x2e0) from [<80008040>] (0x80008040)
- [ 0.000000] r6:c066c6e4 r5:c06a0084 r4:10c53c7d
- [ 0.000000] ---[ end trace 1b75b31a2719ed1c ]---
- [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
- [ 0.000000] Kernel command line: console=ttyO0,115200n8 noinitrd root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait lcdtype=AUO_AT070TN94 consoleblank=0
- [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
- [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
- [ 0.000000] Memory: 256MB = 256MB total
- [ 0.000000] Memory: 252444k/252444k available, 9700k 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 : 0xd0800000 - 0xff000000 ( 744 MB)
- [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
- [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
- [ 0.000000] .text : 0xc0008000 - 0xc063d000 (6356 kB)
- [ 0.000000] .init : 0xc063d000 - 0xc069d000 ( 384 kB)
- [ 0.000000] .data : 0xc069e000 - 0xc070b720 ( 438 kB)
- [ 0.000000] .bss : 0xc070b744 - 0xc073c078 ( 195 kB)
- [ 0.000000] NR_IRQS:396
- [ 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: GPTIMER2 at 24000000 Hz
- [ 0.000000] omap_dm_timer_switch_src: Switching to HW default clocksource(sys_clkin_ck) for timer1, this may impact timekeeping in low power state
- [ 0.000000] OMAP clocksource: GPTIMER1 at 24000000 Hz
- [ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
- [ 0.000000] Console: colour dummy device 80x30
- [ 0.000367] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992)
- [ 0.063986] pid_max: default: 32768 minimum: 301
- [ 0.064259] Security Framework initialized
- [ 0.064461] Mount-cache hash table entries: 512
- [ 0.065193] CPU: Testing write buffer coherency: ok
- [ 0.066627] devtmpfs: initialized
- [ 0.093457] omap_hwmod: gfx: failed to hardreset
- [ 0.113545] omap_hwmod: pruss: failed to hardreset
- [ 0.115708] print_constraints: dummy:
- [ 0.116446] NET: Registered protocol family 16
- [ 0.120904] OMAP GPIO hardware version 0.1
- [ 0.126759] omap_mux_init: Add partition: #1: core, flags: 0
- [ 0.130617] omap_i2c.1: alias fck already exists
- [ 0.133670] da8xx_lcdc.0: alias fck already exists
- [ 0.134389] omap_i2c.2: alias fck already exists
- [ 0.137570] d_can.0: alias fck already exists
- [ 0.138184] davinci-mcasp.1: alias fck already exists
- [ 0.140393] omap2_mcspi.1: alias fck already exists
- [ 0.140891] omap2_mcspi.2: alias fck already exists
- [ 0.141483] edma.0: alias fck already exists
- [ 0.141534] edma.0: alias fck already exists
- [ 0.141580] edma.0: alias fck already exists
- [ 0.206197] bio: create slab at 0
- [ 0.210965] SCSI subsystem initialized
- [ 0.215199] u***core: registered new interface driver u***fs
- [ 0.215914] u***core: registered new interface driver hub
- [ 0.216364] u***core: registered new device driver u***
- [ 0.216972] registerd cppi-dma Intr @ IRQ 17
- [ 0.217004] Cppi41 Init Done Qmgr-base(d087a000) dma-base(d0878000)
- [ 0.217028] Cppi41 Init Done
- [ 0.217086] mu***-ti81xx mu***-ti81xx: mu***0, board_mode=0x13, plat_mode=0x3
- [ 0.217709] mu***-ti81xx mu***-ti81xx: mu***1, board_mode=0x13, plat_mode=0x1
- [ 0.234107] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
- [ 0.235425] tps65217 1-0024: Failed to read revision register: -121
- [ 0.235523] tps65217: probe of 1-0024 failed with error -121
- [ 0.254089] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
- [ 0.257531] Advanced Linux Sound Architecture Driver Version 1.0.24.
- [ 0.259209] Bluetooth: Core ver 2.16
- [ 0.259583] NET: Registered protocol family 31
- [ 0.259613] Bluetooth: HCI device and connection manager initialized
- [ 0.259647] Bluetooth: HCI socket layer initialized
- [ 0.259672] Bluetooth: L2CAP socket layer initialized
- [ 0.259731] Bluetooth: SCO socket layer initialized
- [ 0.260928] cfg80211: Calling CRDA to update world regulatory domain
- [ 0.263524] Switching to clocksource gp timer
- [ 0.304921] mu***-hdrc: version 6.0, ?dma?, otg (peripheral+host)
- [ 0.305286] mu***-hdrc mu***-hdrc.0: dma type: dma-cppi41
- [ 0.305969] MUSB0 controller's USBSS revision = 4ea20800
- [ 0.306039] mu***0: Enabled SW babble control
- [ 0.307973] mu***-hdrc mu***-hdrc.0: USB OTG mode controller at d083e000 using DMA, IRQ 18
- [ 0.308284] mu***-hdrc mu***-hdrc.1: dma type: dma-cppi41
- [ 0.308910] MUSB1 controller's USBSS revision = 4ea20800
- [ 0.308968] mu***1: Enabled SW babble control
- [ 0.309894] mu***-hdrc mu***-hdrc.1: MUSB HDRC host driver
- [ 0.310069] mu***-hdrc mu***-hdrc.1: new USB bus registered, assigned bus number 1
- [ 0.310334] u*** u***1: New USB device found, idVendor=1d6b, idProduct=0002
- [ 0.310371] u*** u***1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
- [ 0.310404] u*** u***1: Product: MUSB HDRC host driver
- [ 0.310430] u*** u***1: Manufacturer: Linux 3.2.0 mu***-hcd
- [ 0.310455] u*** u***1: SerialNumber: mu***-hdrc.1
- [ 0.312309] hub 1-0:1.0: USB hub found
- [ 0.312369] hub 1-0:1.0: 1 port detected
- [ 0.313763] mu***-hdrc mu***-hdrc.1: USB Host mode controller at d084a800 using DMA, IRQ 19
- [ 0.314670] NET: Registered protocol family 2
- [ 0.315035] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
- [ 0.315619] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
- [ 0.315996] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
- [ 0.316221] TCP: Hash tables configured (established 8192 bind 8192)
- [ 0.316249] TCP reno registered
- [ 0.316277] UDP hash table entries: 256 (order: 0, 4096 bytes)
- [ 0.316330] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
- [ 0.316713] NET: Registered protocol family 1
- [ 0.317227] RPC: Registered named UNIX socket transport module.
- [ 0.317257] RPC: Registered udp transport module.
- [ 0.317277] RPC: Registered tcp transport module.
- [ 0.317299] RPC: Registered tcp NFSv4.1 backchannel transport module.
- [ 0.317731] NetWinder Floating Point Emulator V0.97 (double precision)
- [ 0.318118] omap-gpmc omap-gpmc: GPMC revision 6.0
- [ 0.337538] VFS: Disk quotas dquot_6.5.2
- [ 0.337676] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
- [ 0.338840] msgmni has been set to 493
- [ 0.345480] alg: No test for stdrng (krng)
- [ 0.345631] io scheduler noop registered
- [ 0.345656] io scheduler deadline registered
- [ 0.345836] io scheduler cfq registered (default)
- [ 0.348868] fb_probe-1551
- [ 0.348899] fb_probe-1557: lcdc_info is 3
- [ 0.348930] da8xx_lcdc da8xx_lcdc.0: GLCD: Found NHD-5.0-ATXI#-T-1 panel
- [ 0.348966] lcd_init-925: this is frame buffer's init
- [ 0.350012] lcdc configuration:
- [ 0.350023] panel->width=800 panel->height=480 bpp=16
- [ 0.368630] Console: switching to colour frame buffer device 100x30
- [ 0.382329] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
- [ 1.328265] console [ttyO0] enabled
- [ 1.333420] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
- [ 1.342037] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
- [ 1.350535] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
- [ 1.359037] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
- [ 1.367550] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
- [ 1.399189] brd: module loaded
- [ 1.414443] loop: module loaded
- [ 1.418619] i2c-core: driver [tsl2550] using legacy suspend method
- [ 1.425247] i2c-core: driver [tsl2550] using legacy resume method
- [ 1.432470] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
- [ 1.446640] mtdoops: mtd device (mtddev=name/number) must be supplied
- [ 1.454718] omap2-nand driver initializing
- [ 1.459222] info->phys_base 8000000
- [ 1.463040] No NAND device found
- [ 1.466895] OneNAND driver initializing
- [ 1.523686] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
- [ 1.530291] davinci_mdio davinci_mdio.0: detected phy mask ffffffef
- [ 1.538325] davinci_mdio.0: probed
- [ 1.541964] davinci_mdio davinci_mdio.0: phy[4]: device 0:04, driver unknown
- [ 1.549838] PPP generic driver version 2.4.2
- [ 1.555353] PPP BSD Compression module registered
- [ 1.560370] PPP Deflate Compression module registered
- [ 1.566196] u***core: registered new interface driver zd1201
- [ 1.572575] u***core: registered new interface driver cdc_ether
- [ 1.579174] u***core: registered new interface driver cdc_eem
- [ 1.585566] u***core: registered new interface driver dm9601
- [ 1.591578] cdc_ncm: 04-Aug-2011
- [ 1.595393] u***core: registered new interface driver cdc_ncm
- [ 1.601392] Initializing USB Mass Storage driver...
- [ 1.607109] u***core: registered new interface driver u***-storage
- [ 1.613492] USB Mass Storage support registered.
- [ 1.619229] u***core: registered new interface driver u***serial
- [ 1.625781] USB Serial support registered for generic
- [ 1.631520] u***core: registered new interface driver u***serial_generic
- [ 1.638504] u***serial: USB Serial Driver core
- [ 1.643428] USB Serial support registered for GSM modem (1-port)
- [ 1.650532] u***core: registered new interface driver option
- [ 1.656497] option: v0.7.2:USB Driver for GSM modems
- [ 1.662093] USB Serial support registered for Vizzini USB serial port
- [ 1.669340] u***core: registered new interface driver vizzini
- [ 1.675388] USB Driver for Vizzini USB serial port: v.1.1
- [ 1.682554] dummy_hcd dummy_hcd: USB Host+Gadget Emulator, driver 02 May 2005
- [ 1.690208] dummy_hcd dummy_hcd: Dummy host controller
- [ 1.695757] dummy_hcd dummy_hcd: new USB bus registered, assigned bus number 2
- [ 1.703733] u*** u***2: New USB device found, idVendor=1d6b, idProduct=0002
- [ 1.710963] u*** u***2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
- [ 1.718675] u*** u***2: Product: Dummy host controller
- [ 1.724000] u*** u***2: Manufacturer: Linux 3.2.0 dummy_hcd
- [ 1.729740] u*** u***2: SerialNumber: dummy_hcd
- [ 1.736338] hub 2-0:1.0: USB hub found
- [ 1.740364] hub 2-0:1.0: 1 port detected
- [ 1.748379] mousedev: PS/2 mouse device common for all mice
- [ 1.755467] <<-GTP-INFO->> GTP driver installing...
- [ 1.761376] [wds tsc probe]x.min=140,x.max=3946,y.min=319,y.max=3865,x.inverted=0,y.inverted=1
- [ 1.771488] input: ti-tsc as /devices/platform/omap/ti_tscadc/tsc/input/input0
- [ 1.780157] Backtrace:
- [ 1.782859] [] (dump_backtrace+0x0/0x110) from [] (dump_stack+0x18/0x1c)
- [ 1.791854] r6:cf01c000 r5:c069c208 r4:c070b780 r3:00000000
- [ 1.797970] [] (dump_stack+0x0/0x1c) from [] (ft5x0x_ts_init+0x10/0x24)
- [ 1.806873] [] (ft5x0x_ts_init+0x0/0x24) from [] (do_one_initcall+0x3c/0x180)
- [ 1.816348] [] (do_one_initcall+0x0/0x180) from [] (kernel_init+0x9c/0x130)
- [ 1.825642] [] (kernel_init+0x0/0x130) from [] (do_exit+0x0/0x67c)
- [ 1.834057] r5:c063d7e8 r4:00000000
- [ 1.838629] rtc-ds1307: probe of 1-0068 failed with error -5
- [ 1.845303] forlinx rx8010_probe
- [ 1.848972] rtc-rx8010 1-0032: Unable to write register #23
- [ 1.854924] i2c i2c-1: probing for rx8010 failed
- [ 1.859853] rtc-rx8010: probe of 1-0032 failed with error -121
- [ 1.866419] i2c /dev entries driver
- [ 1.871684] Linux video capture interface: v2.00
- [ 1.877386] u***core: registered new interface driver uvcvideo
- [ 1.883483] USB Video Class driver (1.1.1)
- [ 1.889213] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
- [ 1.896024] Bluetooth: Broadcom Blutonium firmware driver ver 1.2
- [ 1.902905] u***core: registered new interface driver bcm203x
- [ 1.908953] Bluetooth: Generic Bluetooth USB driver ver 0.6
- [ 1.915295] u***core: registered new interface driver btu***
- [ 1.921290] _regulator_get: deviceless supply vdd_mpu not found, using dummy regulator
- [ 1.930624] cpuidle: using governor ladder
- [ 1.936134] cpuidle: using governor menu
- [ 1.949465] u***core: registered new interface driver u***hid
- [ 1.955449] u***hid: USB HID core driver
- [ 1.960973] tiadc tiadc: attached adc driver
- [ 1.970708] tlv320aic3x-codec 2-001b: asoc: failed to probe CODEC tlv320aic3x-codec.2-001b: -121
- [ 1.980178] asoc: failed to instantiate card AM335X EVM: -121
- [ 1.986367] ALSA device list:
- [ 1.989527] No soundcards found.
- [ 1.993134] oprofile: hardware counters not available
- [ 1.998514] oprofile: using timer interrupt.
- [ 2.003089] nf_conntrack version 0.5.0 (3944 buckets, 15776 max)
- [ 2.010459] ip_tables: (C) 2000-2006 Netfilter Core Team
- [ 2.016387] TCP cubic registered
- [ 2.019835] NET: Registered protocol family 17
- [ 2.024613] can: controller area network core (rev 20090105 abi 8)
- [ 2.031347] NET: Registered protocol family 29
- [ 2.036108] can: raw protocol (rev 20090105)
- [ 2.040638] can: broadcast manager protocol (rev 20090105 t)
- [ 2.047213] Bluetooth: RFCOMM TTY layer initialized
- [ 2.052435] Bluetooth: RFCOMM socket layer initialized
- [ 2.057932] Bluetooth: RFCOMM ver 1.11
- [ 2.061917] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
- [ 2.067580] Bluetooth: BNEP filters: protocol multicast
- [ 2.073124] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
- [ 2.080252] Registering the dns_resolver key type
- [ 2.085442] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
- [ 2.093639] ThumbEE CPU extension supported.
- [ 2.098303] mux: Failed to setup hwmod io irq -22
- [ 2.104691] Power Management for AM33XX family
- [ 2.109792] Trying to load am335x-pm-firmware.bin (60 secs timeout)
- [ 2.116737] Copied the M3 firmware to UMEM
- [ 2.121241] Cortex M3 Firmware Version = 0x181
- [ 2.136222] clock: disabling unused clocks to save power
- [ 2.145812] Detected MACID=ec:11:27:cf:69:89
- [ 2.152535] cpsw: Detected MACID = ec:11:27:cf:69:8b
- [ 2.162108] input: gpio-keys as /devices/platform/gpio-keys/input/input1
- [ 2.170745] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
- [ 2.178220] Waiting for root device /dev/mmcblk0p2...
-
-
- 描述: 4G emmc DRAM: 256M
复制代码
0
|
5个回答
|
|
|