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,自己设计的板子,加载linux kernel时遇到如下问题,请求帮忙解决,谢谢

Other Parts Discussed in Thread: TPS65910, AM3358

应用SDK7.0软件包,SD卡加载,启动内核时,log的结果显示如下:

U-Boot SPL 2013.10 (Jan 13 2015 - 17:14:04)
reading args
spl: error reading image args, err - -1
reading u-boot.img
reading u-boot.img
U-Boot 2013.10 (Jan 13 2015 - 17:14:04)
I2C:   ready
DRAM:  512 MiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Attempt to read outside the flash area
Attempt to read outside the flash area
*** Error - No Valid Environment Area found
*** Warning - bad CRC, using default environment
Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot:  0
mmc0 is current device
Scanning mmc 0...
4117344 bytes read in 263 ms (14.9 MiB/s)
41564 bytes read in 19 ms (2.1 MiB/s)
mmc0 is current device
SD/MMC found on device 0
reading uEnv.txt
** Unable to read file uEnv.txt **
4117344 bytes read in 263 ms (14.9 MiB/s)
41564 bytes read in 19 ms (2.1 MiB/s)
Kernel image @ 0x80200000 [ 0x000000 - 0x3ed360 ]
## Flattened Device Tree blob at 80f80000
   Booting using the fdt blob at 0x80f80000
   Loading Device Tree to 9f2d0000, end 9f2dd25b ... OK
Starting kernel ...
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.12.10-ti2013.12.01 (hyl@hyl-virtual-machine) (gcc
 version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-201
30313 - Linaro GCC 2013.03) ) #1 Fri Mar 6 16:11:47 CST 2015
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio
n cache
[    0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: TI AM335x
 EVM
[    0.000000] cma: CMA: reserved 24 MiB at 9d800000
[    0.000000] Memory policy: ECC disabled, 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 pag
es: 129280
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 r
o 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: 483332K/521216K available (5555K kernel code, 559K rwdata
, 1876K rodata, 345K init, 225K bss, 37884K 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 - 0xc074a04c   (7433 kB)
[    0.000000]       .init : 0xc074b000 - 0xc07a15f0   ( 346 kB)
[    0.000000]       .data : 0xc07a2000 - 0xc082ddd8   ( 560 kB)
[    0.000000]        .bss : 0xc082ddd8 - 0xc0866400   ( 226 kB)
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrup
ts
[    0.000000] Total of 128 interrupts on 1 active controller
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 17895
6ms
[    0.000000] OMAP clocksource: timer1 at 24000000 Hz
[    0.000000] Console: colour dummy device 80x30
[    0.000268] Calibrating delay loop... 663.55 BogoMIPS (lpj=3317760)
[    0.049752] pid_max: default: 32768 minimum: 301
[    0.049843] Security Framework initialized
[    0.049887] Mount-cache hash table entries: 512
[    0.057231] CPU: Testing write buffer coherency: ok
[    0.057619] Setting up static identity map for 0xc0572e68 - 0xc0572ed8
[    0.058391] devtmpfs: initialized
[    0.059827] VFP support v0.3: implementor 41 architecture 3 part 30 variant c
 rev 3
[    0.119810] omap_hwmod: debugss: _wait_target_disable failed
[    0.120454] pinctrl core: initialized pinctrl subsystem
[    0.121189] regulator-dummy: no parameters
[    0.123346] NET: Registered protocol family 16
[    0.125152] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.127249] cpuidle: using governor ladder
[    0.127265] cpuidle: using governor menu
[    0.133737] platform mpu.1: FIXME: clock-name 'fck' DOES NOT exist in dt!
[    0.134590] platform 49000000.edma: FIXME: clock-name 'fck' DOES NOT exist in
 dt!
[    0.135608] OMAP GPIO hardware version 0.1
[    0.142962] omap-gpmc 50000000.gpmc: could not find pctldev for node /pinmux@
44e10800/nandflash_pins_default, deferring probe
[    0.142987] platform 50000000.gpmc: Driver omap-gpmc requests probe deferral
[    0.143285] platform 56000000.sgx: FIXME: clock-name 'fck' DOES NOT exist in
dt!
[    0.146378] DSS not supported on this SoC
[    0.146393] No ATAGs?
[    0.146403] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.164548] bio: create slab <bio-0> at 0
[    0.175773] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[    0.176520] vbat: 5000 mV
[    0.176840] lis3_reg: no parameters
[    0.177204] wlan-en-regulator: 1800 mV
[    0.179690] vgaarb: loaded
[    0.180807] SCSI subsystem initialized
[    0.181867] usbcore: registered new interface driver usbfs
[    0.182008] usbcore: registered new interface driver hub
[    0.182171] usbcore: registered new device driver usb
[    0.182975] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44
e10800/pinmux_i2c0_pins, deferring probe
[    0.182999] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
[    0.183020] omap_i2c 4802a000.i2c: could not find pctldev for node /pinmux@44
e10800/pinmux_i2c1_pins, deferring probe
[    0.183032] platform 4802a000.i2c: Driver omap_i2c requests probe deferral
[    0.183227] media: Linux media interface: v0.10
[    0.183367] Linux video capture interface: v2.00
[    0.183574] pps_core: LinuxPPS API ver. 1 registered
[    0.183581] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome
[    0.183682] PTP clock support registered
[    0.185722] Switched to clocksource timer1
[    0.200096] NET: Registered protocol family 2
[    0.200648] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.200716] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.200754] TCP: Hash tables configured (established 4096 bind 4096)
[    0.200825] TCP: reno registered
[    0.200836] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.200852] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.201015] NET: Registered protocol family 1
[    0.201356] RPC: Registered named UNIX socket transport module.
[    0.201367] RPC: Registered udp transport module.
[    0.201372] RPC: Registered tcp transport module.
[    0.201378] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.202189] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.202761] PM: Loading am335x-pm-firmware.bin
[    0.318276] VFS: Disk quotas dquot_6.5.2
[    0.318339] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.318868] NFS: Registering the id_resolver key type
[    0.318949] Key type id_resolver registered
[    0.318957] Key type id_legacy registered
[    0.318995] jffs2: version 2.2. (NAND) (SUMMARY)   2001-2006 Red Hat, Inc.
[    0.319142] msgmni has been set to 992
[    0.320415] NET: Registered protocol family 38
[    0.320450] io scheduler noop registered
[    0.320457] io scheduler deadline registered
[    0.320492] io scheduler cfq registered (default)
[    0.322280] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    0.370946] Console: switching to colour frame buffer device 100x30
[    0.376611] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.378976] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud =
3000000) is a OMAP UART0
[    1.022259] console [ttyO0] enabled
[    1.026705] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 89, base_baud =
3000000) is a OMAP UART1
[    1.037589] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[    1.052405] brd: module loaded
[    1.059743] loop: module loaded
[    1.063370] (stk) :sysfs entries created
[    1.067620] (stk) : debugfs entries created
[    1.075692] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.085854] usbcore: registered new interface driver asix
[    1.091711] usbcore: registered new interface driver ax88179_178a
[    1.098239] usbcore: registered new interface driver cdc_ether
[    1.104493] usbcore: registered new interface driver r815x
[    1.110382] usbcore: registered new interface driver smsc95xx
[    1.116542] usbcore: registered new interface driver net1080
[    1.122608] usbcore: registered new interface driver cdc_subset
[    1.128940] usbcore: registered new interface driver zaurus
[    1.134991] usbcore: registered new interface driver cdc_ncm
[    1.141374] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.148248] ehci-pci: EHCI PCI platform driver
[    1.153077] ehci-omap: OMAP-EHCI Host Controller driver
[    1.159364] usbcore: registered new interface driver cdc_wdm
[    1.165468] usbcore: registered new interface driver usb-storage
[    1.172672] mousedev: PS/2 mouse device common for all mice
[    1.179608] input: matrix_keypad.7 as /devices/matrix_keypad.7/input/input0
[    1.188693] input: ti-tsc as /devices/ocp.2/44e0d000.tscadc/TI-am335x-tsc/inp
ut/input1
[    1.198800] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[    1.206948] i2c /dev entries driver
[    1.211072] Driver for 1-wire Dallas network protocol.
[    1.218431] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    1.227342] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
[    1.234483] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
[    1.241786] omap_hsmmc 48060000.mmc: unable to get vmmc regulator -517
[    1.248679] edma-dma-engine edma-dma-engine.0: freeing channel for 24
[    1.255445] edma-dma-engine edma-dma-engine.0: freeing channel for 25
[    1.262324] platform 48060000.mmc: Driver omap_hsmmc requests probe deferral
[    1.269964] edma-dma-engine edma-dma-engine.0: allocated channel for 0:13
[    1.277123] edma-dma-engine edma-dma-engine.0: allocated channel for 0:12
[    1.357712] omap_hwmod: gpio1: _wait_target_disable failed
[    1.386592] ledtrig-cpu: registered to indicate activity on CPUs
[    1.396325] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36
[    1.403562] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    1.410800] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    1.416960] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5
[    1.424046] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6
[    1.433489] usbcore: registered new interface driver usbhid
[    1.439370] usbhid: USB HID core driver
[    1.445307] oprofile: no performance counters
[    1.450272] oprofile: using timer interrupt.
[    1.455007] TCP: cubic registered
[    1.458517] Initializing XFRM netlink socket
[    1.463061] NET: Registered protocol family 17
[    1.467788] NET: Registered protocol family 15
[    1.472492] 8021q: 802.1Q VLAN Support v1.8
[    1.476973] Key type dns_resolver registered
[    1.482009] cpu cpu0: cpu0 regulator not ready, retry
[    1.487427] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe defer
ral
[    1.495683] ThumbEE CPU extension supported.
[    1.501957] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[    1.507412] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    1.514801] ONFI param page 0 valid
[    1.518512] ONFI flash detected
[    1.521813] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xc3 (Micron MT29F8G
16ADADAH4), 1024MiB, page size: 2048, OOB size: 64
[    1.533885] omap2-nand: detected x16 NAND flash
[    1.538645] omap2-nand: but incorrectly configured as x8
[    1.544161] omap2-nand: probe of omap2-nand.0 failed with error -22
[    1.552570] tps65910 0-002d: No interrupt support, no core IRQ
[    1.560579] vrtc: 1800 mV
[    1.563673] vrtc: supplied by vbat
[    1.568412] vio: at 1800 mV
[    1.571494] vio: supplied by vbat
[    1.576218] vdd_mpu: 912 <--> 1375 mV at 1325 mV
[    1.581213] vdd_mpu: supplied by vbat
[    1.586282] vdd_core: 912 <--> 1150 mV at 1137 mV
[    1.591364] vdd_core: supplied by vbat
[    1.CCCCCCCC
请问为什么运行到vdd_core就停止了?是什么原因造成的?需要怎么解决?我检查过TPS65910的硬件部分,输出的电源都是正确的。谢谢
  • 你每次启动的时候都是这样的情况吗?

    这里VDD_MPU的log意思是在把你的AM335x设置成为1G的主频,并相应提高电压到1.32V左右;VDD_CORE设置为1.1V,OPP100状态,log数值上是符合预期的。

    你目前这个板子上面的AM335x是PG2.1的能跑在1GHz的AM335x芯片吗?看丝印的后缀是多少有没有“100”的字样。

    如果不是100的话,芯片是不能跑到1GHz上的,这里的VDD_MPU设置就有问题。

    如果是100的话,建议检测一下VDD_MPU的电压,看起是否有跌落到1.272V以下,1.272V是AM335x跑在1GHz的电压下限值(参考AM335x的datasheet的OPP Nitro定义)。

  • 谢谢您的回答。我的板子不是买的TI的开发板,是我自己设计的板子,加载内核上电测得硬件的VDD_MPU的电压是1.35V左右,VDD_CORE为1.1V左右,AM335x选择的是AM3358,应该是可以跑1G的,请问这块儿应该没有问题的吧?另外,我看了一下别人跑成功的linux内核的log,接下来应该是显示VDD3的信息,是不是这部分出现了问题呢?可是我在硬件上测得VDD3是5V没有问题的,谢谢啦

  • 是否能跑1G和AM3358还是5几是没有关系的,关键是频率等级是否支持1GHz(最简单的方式就是通过丝印层来辨识)。你能看到板子上面AM335x主芯片上的料号么?比如AM3358BZCZ80。类似于这样的信息。

    你说的VDD3测得是5V,这个VDD3是指TPS65910的哪个脚,接到AM335x上的哪个脚?

  • 芯片的料号是AM3358BZCZA100,VDD3是SDK软件包里linux内核的一个定义,是TPS65910的SW3和VFB3的电压,我看了一下开发板电路,这处定义的是VDD3。另外,如果我想修改我的板子频率,不等于1G,把VDD_MPU的电压值降下来,降到1.1V,需要修改那个文件的函数?谢谢啦!我用的是SDK7.0

  • 你好,请问你的板子1g的频率跑起来了吗?

  • AM3354BZCZD80可以跑到1GHZ吗?还有这个从丝印看频率的根据是哪个文档的那部分呀?