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修改主频为1000MHz的问题

Other Parts Discussed in Thread: AM3352, TPS65217

大家好,我的板子是AM3352,现在想将主频提为1GHz,我在uboot修改如下:

dpll_mpu_opp100.m = MPUPLL_M_1000;

mpu_vdd = TPS65217_DCDC_VOLT_SEL_1325MV;

但是在内核加载时发现被修改回了600MHz,打印信息如下:

[ 2.134827] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 2.141861] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 1000000
KHz
[ 2.149738] cpu cpu0: dev_pm_opp_domain_set_rate: failed to find current OPP
for freq 1000000000 (-34)
[ 2.161106] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed
to: 600000 KHz
[ 2.170753] ubi0: attaching mtd9

看了一下是drivers/cpufreq/cpufreq.c在执行cpufreq_frequency_table_get_index时发现1000 000KHz超出范围,

在哪修改cpufreq_talbe_list的范围呢?

完整console信息如下:

U-Boot SPL 2016.05-00304-gad06f64-dirty (Jun 03 2017 - 11:54:44)
Core Clock:1000 MHz,Mpu Clock 1000 MHz
Trying to boot from NAND
The Expected Linux image was not found. Please check your NAND configuration.
Trying to start u-boot now...


U-Boot 2016.05-00304-gad06f64-dirty (Jun 03 2017 - 11:54:44 +0800)

CPU : AM335X-GP rev 2.1
Model: TI AM335x
Watchdog enabled
DRAM: 256 MiB
NAND: 256 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
reading uboot.env
Net: Could not get PHY for ethernet@4a100000: addr 0
eth0: ethernet@4a100000
Warning: usb_ether MAC addresses don't match:
Address in SROM is de:ad:be:ef:00:01
Address in environment is 84:eb:18:bd:a8:9e
, eth1: usb_ether
Press SPACE to abort autoboot in 2 seconds

Booting from nand(Debug) ...

NAND read: device 0 offset 0x80000, size 0x40000
262144 bytes read: OK

NAND read: device 0 offset 0x200000, size 0x800000
8388608 bytes read: OK
Kernel image @ 0x82000000 [ 0x000000 - 0x34bbd8 ]
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8ef08000, end 8ef147a0 ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.32-gadde2ca9f8 (root@hxdw-virtual-machine) (gcc
version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #93 PREEMPT Sat May 27 14:57:
04 CST 2017
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio
n cache
[ 0.000000] Machine model: TI AM335x HXDW
[ 0.000000] cma: Reserved 48 MiB at 0x8b800000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (neon )
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag
es: 64960
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw u
bi.mtd=NAND.file-system,2048 rootfstype=ubifs rootwait=1
[ 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: 200428K/262144K available (6571K kernel code, 300K rwdata
, 2328K rodata, 256K init, 262K bss, 12564K reserved, 49152K cma-reserved, 0K hi
ghmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xd0800000 - 0xff800000 ( 752 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc08b904c (8901 kB)
[ 0.000000] .init : 0xc08ba000 - 0xc08fa000 ( 256 kB)
[ 0.000000] .data : 0xc08fa000 - 0xc0945070 ( 301 kB)
[ 0.000000] .bss : 0xc0945070 - 0xc0986a58 ( 263 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 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] OMAP clockevent source: timer2 at 24000000 Hz
[ 0.000014] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478
484971ns
[ 0.000035] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max
_idle_ns: 79635851949 ns
[ 0.000044] OMAP clocksource: timer1 at 24000000 Hz
[ 0.000183] clocksource_probe: no matching clocksources found
[ 0.000350] Console: colour dummy device 80x30
[ 0.000373] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
[ 0.089237] pid_max: default: 32768 minimum: 301
[ 0.089351] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.089360] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.090011] Initializing cgroup subsys io
[ 0.090041] Initializing cgroup subsys memory
[ 0.090077] Initializing cgroup subsys devices
[ 0.090091] Initializing cgroup subsys freezer
[ 0.090104] Initializing cgroup subsys perf_event
[ 0.090115] Initializing cgroup subsys pids
[ 0.090142] CPU: Testing write buffer coherency: ok
[ 0.090532] Setting up static identity map for 0x80008200 - 0x80008258
[ 0.092404] devtmpfs: initialized
[ 0.102803] VFP support v0.3: implementor 41 architecture 3 part 30 variant c
rev 3
[ 0.115548] omap_hwmod: debugss: _wait_target_disable failed
[ 0.170226] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma
x_idle_ns: 19112604462750000 ns
[ 0.173960] pinctrl core: initialized pinctrl subsystem
[ 0.175207] NET: Registered protocol family 16
[ 0.177144] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.199228] cpuidle: using governor ladder
[ 0.229217] cpuidle: using governor menu
[ 0.233196] OMAP GPIO hardware version 0.1
[ 0.240597] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_
wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_s0, deferring probe
[ 0.242247] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.276392] edma 49000000.edma: TI EDMA DMA engine driver
[ 0.280126] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wk
up@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[ 0.280248] media: Linux media interface: v0.10
[ 0.280301] Linux video capture interface: v2.00
[ 0.280349] pps_core: LinuxPPS API ver. 1 registered
[ 0.280355] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome
tti <giometti@linux.it>
[ 0.280379] PTP clock support registered
[ 0.280427] EDAC MC: Ver: 3.0.0
[ 0.281497] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[ 0.281818] Advanced Linux Sound Architecture Driver Initialized.
[ 0.282893] clocksource: Switched to clocksource timer1
[ 0.292336] NET: Registered protocol family 2
[ 0.293137] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.293168] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.293191] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.293268] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.293285] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.293420] NET: Registered protocol family 1
[ 0.293808] RPC: Registered named UNIX socket transport module.
[ 0.293823] RPC: Registered udp transport module.
[ 0.293829] RPC: Registered tcp transport module.
[ 0.293834] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.294746] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counter
s available
[ 0.296481] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.303564] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.304389] NFS: Registering the id_resolver key type
[ 0.304465] Key type id_resolver registered
[ 0.304472] Key type id_legacy registered
[ 0.304549] ntfs: driver 2.1.32 [Flags: R/O].
[ 0.307910] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2
47)
[ 0.307939] io scheduler noop registered
[ 0.307949] io scheduler deadline registered
[ 0.308081] io scheduler cfq registered (default)
[ 0.309316] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 0.363597] omap_uart 44e09000.serial: no wakeirq for uart0
[ 0.363834] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 158, base_baud =
3000000) is a OMAP UART0
[ 0.980851] console [ttyO0] enabled
[ 0.985031] omap_uart 48022000.serial: no wakeirq for uart1
[ 0.991020] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 159, base_baud =
3000000) is a OMAP UART1
[ 1.001224] omap_uart 48024000.serial: no wakeirq for uart2
[ 1.007223] 48024000.serial: ttyO2 at MMIO 0x48024000 (irq = 160, base_baud =
3000000) is a OMAP UART2
[ 1.017415] omap_uart 481a6000.serial: no wakeirq for uart3
[ 1.023397] 481a6000.serial: ttyO3 at MMIO 0x481a6000 (irq = 161, base_baud =
3000000) is a OMAP UART3
[ 1.033565] omap_uart 481a8000.serial: no wakeirq for uart4
[ 1.039516] 481a8000.serial: ttyO4 at MMIO 0x481a8000 (irq = 162, base_baud =
3000000) is a OMAP UART4
[ 1.049697] omap_uart 481aa000.serial: no wakeirq for uart5
[ 1.055680] 481aa000.serial: ttyO5 at MMIO 0x481aa000 (irq = 163, base_baud =
3000000) is a OMAP UART5
[ 1.065908] [drm] Initialized drm 1.1.0 20060810
[ 1.077632] loop: module loaded
[ 1.083464] spidev spi1.0: buggy DT: spidev listed directly in DT
[ 1.089864] ------------[ cut here ]------------
[ 1.094755] WARNING: CPU: 0 PID: 1 at drivers/spi/spidev.c:719 spidev_probe+0
x1a8/0x1c4()
[ 1.103333] Modules linked in:
[ 1.106544] CPU: 0 PID: 1 Comm: swapper Not tainted 4.4.32-gadde2ca9f8 #93
[ 1.113755] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 1.120134] Backtrace:
[ 1.122717] [<c00134e4>] (dump_backtrace) from [<c00136e0>] (show_stack+0x18/
0x1c)
[ 1.130657] r7:c043867c r6:000002cf r5:00000009 r4:00000000
[ 1.136620] [<c00136c8>] (show_stack) from [<c02a8688>] (dump_stack+0x24/0x28
)
[ 1.144206] [<c02a8664>] (dump_stack) from [<c0031d0c>] (warn_slowpath_common
+0x88/0xb4)
[ 1.152685] [<c0031c84>] (warn_slowpath_common) from [<c0031ddc>] (warn_slowp
ath_null+0x24/0x2c)
[ 1.161896] r8:00000000 r7:c0932428 r6:c0932418 r5:cf3f6400 r4:cf3f6400
[ 1.168949] [<c0031db8>] (warn_slowpath_null) from [<c043867c>] (spidev_probe
+0x1a8/0x1c4)
[ 1.177619] [<c04384d4>] (spidev_probe) from [<c0435758>] (spi_drv_probe+0x84
/0xb0)
[ 1.185646] r8:00000000 r7:c0932428 r6:c0932418 r5:00000000 r4:cf3f6400
[ 1.192693] [<c04356d4>] (spi_drv_probe) from [<c03db7fc>] (driver_probe_devi
ce+0x204/0x2f8)
[ 1.201541] r7:c0932428 r6:00000000 r5:cf3f6400 r4:c097c148
[ 1.207497] [<c03db5f8>] (driver_probe_device) from [<c03dba14>] (__device_at
tach_driver+0x8c/0xb4)
[ 1.216980] r9:00000000 r8:c097c124 r7:00000001 r6:cf3f6400 r5:cf047c48 r4:c
0932428
[ 1.225126] [<c03db988>] (__device_attach_driver) from [<c03d99c4>] (bus_for_
each_drv+0x68/0x9c)
[ 1.234337] r7:00000001 r6:c03db988 r5:cf047c48 r4:00000000
[ 1.240282] [<c03d995c>] (bus_for_each_drv) from [<c03db550>] (__device_attac
h+0xb8/0x11c)
[ 1.248947] r6:cf3f6434 r5:cf3f6400 r4:cf3f6400
[ 1.253806] [<c03db498>] (__device_attach) from [<c03dba88>] (device_initial_
probe+0x14/0x18)
[ 1.262734] r7:00000000 r6:c0931ec8 r5:cf3f6400 r4:cf3f6408
[ 1.268690] [<c03dba74>] (device_initial_probe) from [<c03daa68>] (bus_probe_
device+0x8c/0x94)
[ 1.277724] [<c03da9dc>] (bus_probe_device) from [<c03d8b08>] (device_add+0x3
78/0x574)
[ 1.286025] r7:00000000 r6:cf3f6000 r5:cf3f6400 r4:cf3f6408
[ 1.291969] [<c03d8790>] (device_add) from [<c04360f8>] (spi_add_device+0xa4/
0x13c)
[ 1.299995] r10:cf3f6172 r9:cf112a10 r8:cfd9910c r7:cf112a10 r6:cf3f6000 r5:
00000000
[ 1.308225] r4:cf3f6400
[ 1.310879] [<c0436054>] (spi_add_device) from [<c04365e4>] (of_register_spi_
device+0x22c/0x2f4)
[ 1.320089] r7:cf3f6000 r6:cfd99420 r5:cf3f6400 r4:00000000
[ 1.326045] [<c04363b8>] (of_register_spi_device) from [<c0437eac>] (spi_regi
ster_master+0x258/0x43c)
[ 1.335710] r7:c084efb0 r6:00000000 r5:cfd99420 r4:cf3f6000
[ 1.341655] [<c0437c54>] (spi_register_master) from [<c04380d0>] (devm_spi_re
gister_master+0x40/0x78)
[ 1.351326] r10:cf3f6172 r9:c084f424 r8:cf3f6000 r7:cf112a10 r6:cf3f6000 r5:
cf3c8f10
[ 1.359558] r4:00000000
[ 1.362215] [<c0438090>] (devm_spi_register_master) from [<c043b160>] (omap2_
mcspi_probe+0x2d4/0x34c)
[ 1.371881] r7:cf112a10 r6:cf3f6000 r5:cf3f62b0 r4:00000000
[ 1.377839] [<c043ae8c>] (omap2_mcspi_probe) from [<c03dd2ec>] (platform_drv_
probe+0x54/0xb8)
[ 1.386776] r10:00000000 r9:c08ba600 r8:00000000 r7:fffffdfb r6:c093247c r5:
cf112a10
[ 1.395007] r4:c097c148
[ 1.397663] [<c03dd298>] (platform_drv_probe) from [<c03db7fc>] (driver_probe
_device+0x204/0x2f8)
[ 1.406965] r7:c093247c r6:00000000 r5:cf112a10 r4:c097c148
[ 1.412920] [<c03db5f8>] (driver_probe_device) from [<c03db984>] (__driver_at
tach+0x94/0x98)
[ 1.421757] r9:c08ba600 r8:000000a6 r7:00000000 r6:cf112a44 r5:c093247c r4:c
f112a10
[ 1.429902] [<c03db8f0>] (__driver_attach) from [<c03d9904>] (bus_for_each_de
v+0x70/0xa4)
[ 1.438476] r7:00000000 r6:c03db8f0 r5:c093247c r4:00000000
[ 1.444432] [<c03d9894>] (bus_for_each_dev) from [<c03db0e8>] (driver_attach+
0x24/0x28)
[ 1.452814] r6:c092c1a8 r5:cf3ccb00 r4:c093247c
[ 1.457674] [<c03db0c4>] (driver_attach) from [<c03dad24>] (bus_add_driver+0x
1a8/0x220)
[ 1.466072] [<c03dab7c>] (bus_add_driver) from [<c03dc19c>] (driver_register+
0x80/0x100)
[ 1.474555] r7:cf3c8b00 r6:c08feca0 r5:c08dcf54 r4:c093247c
[ 1.480501] [<c03dc11c>] (driver_register) from [<c03dd214>] (__platform_driv
er_register+0x48/0x50)
[ 1.489984] r5:c08dcf54 r4:c092c1a8
[ 1.493749] [<c03dd1cc>] (__platform_driver_register) from [<c08dcf70>] (omap
2_mcspi_driver_init+0x1c/0x20)
[ 1.503961] r5:c08dcf54 r4:c08feca0
[ 1.507714] [<c08dcf54>] (omap2_mcspi_driver_init) from [<c00096bc>] (do_one_
initcall+0x98/0x1e4)
[ 1.517033] [<c0009624>] (do_one_initcall) from [<c08bae80>] (kernel_init_fre
eable+0x138/0x1cc)
[ 1.526153] r10:00000007 r9:c08ba600 r8:000000a6 r7:c08ed830 r6:c08f9c84 r5:
c0945080
[ 1.534385] r4:c0945080
[ 1.537050] [<c08bad48>] (kernel_init_freeable) from [<c066d404>] (kernel_ini
t+0x18/0xf4)
[ 1.545625] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:
c066d3ec
[ 1.553854] r4:c0945080
[ 1.556511] [<c066d3ec>] (kernel_init) from [<c000fab8>] (ret_from_fork+0x14/
0x3c)
[ 1.564448] r5:c066d3ec r4:00000000
[ 1.568227] ---[ end trace a292cd4a3e2db285 ]---
[ 1.574437] libphy: Fixed MDIO Bus: probed
[ 1.642959] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 1.649361] davinci_mdio 4a101000.mdio: detected phy mask fffffff5
[ 1.657211] libphy: 4a101000.mdio: probed
[ 1.661426] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driv
er unknown
[ 1.669907] davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driv
er unknown
[ 1.679018] cpsw 4a100000.ethernet: Detected MACID = 84:eb:18:bd:a8:9c
[ 1.686178] cpsw 4a100000.ethernet: cpts: overflow check period 850
[ 1.693539] cpsw 4a100000.ethernet: cpsw: Detected MACID = 84:eb:18:bd:a8:9e
[ 1.702236] mousedev: PS/2 mouse device common for all mice
[ 1.708771] i2c /dev entries driver
[ 1.714250] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.721773] cpuidle: enable-method property 'ti,am3352' found operations
[ 1.729635] omap_hsmmc 48060000.mmc: Got CD GPIO
[ 1.773736] pinctrl-single 44e10800.pinmux: pin 44e1099c.0 already requested
by 481a0000.spi; cannot claim for leds
[ 1.785799] pinctrl-single 44e10800.pinmux: pin-103 (leds) status -22
[ 1.794585] pinctrl-single 44e10800.pinmux: could not request pin 103 (44e109
9c.0) from group user_leds_default on device pinctrl-single
[ 1.807557] leds-gpio leds: Error applying setting, reverse things back
[ 1.816021] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.828335] NET: Registered protocol family 10
[ 1.834508] sit: IPv6 over IPv4 tunneling driver
[ 1.840071] NET: Registered protocol family 17
[ 1.845290] Key type dns_resolver registered
[ 1.850028] omap_voltage_late_init: Voltage driver support not added
[ 1.860470] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[ 1.866104] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[ 1.872518] mmc0: host does not support reading read-only switch, assuming wr
ite-enable
[ 1.882287] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
[ 1.889122] nand: Micron MT29F2G08ABAEAWP
[ 1.893445] mmc0: new high speed SDHC card at address 59b4
[ 1.899522] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB siz
e: 64
[ 1.907818] mmcblk0: mmc0:59b4 00000 14.9 GiB
[ 1.912879] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
[ 1.918589] 10 ofpart partitions found on MTD device 8000000.nand
[ 1.925347] Creating 10 MTD partitions on "8000000.nand":
[ 1.931112] mmcblk0: p1
[ 1.934436] 0x000000000000-0x000000020000 : "NAND.SPL"
[ 1.941013] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
[ 1.948248] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
[ 1.955418] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
[ 1.962501] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
[ 1.969928] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
[ 1.976945] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
[ 1.984057] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
[ 1.991811] 0x000000200000-0x000000a00000 : "NAND.kernel"
[ 2.001221] 0x000000a00000-0x000010000000 : "NAND.file-system"
[ 2.120230] tps65217 0-0024: TPS65217 ID 0x6 version 1.2
[ 2.128273] rtc-ds3232 0-0068: rtc core: registered ds3232 as rtc0
[ 2.134827] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 2.141861] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 1000000
KHz
[ 2.149738] cpu cpu0: dev_pm_opp_domain_set_rate: failed to find current OPP
for freq 1000000000 (-34)
[ 2.161106] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed
to: 600000 KHz
[ 2.170753] ubi0: attaching mtd9
[ 3.151862] ubi0: scanning is finished
[ 3.165978] ubi0: attached mtd9 (name "NAND.file-system", size 246 MiB)
[ 3.173057] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 3.180302] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[ 3.187383] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 3.194734] ubi0: good PEBs: 1968, bad PEBs: 0, corrupted PEBs: 0
[ 3.201153] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 12
8
[ 3.208781] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequ
ence number: 423521881
[ 3.218326] ubi0: available PEBs: 0, total reserved PEBs: 1968, PEBs reserved
for bad PEB handling: 40
[ 3.228159] ubi0: background thread "ubi_bgt0d" started, PID 62
[ 3.235303] RTC Time is:2017-06-03 12:00:47,Wait for next senconds ... ...
[ 3.464388] rtc-ds3232 0-0068: setting system clock to 2017-06-03 12:00:48 UT
C (1496491248)
[ 3.477834] ALSA device list:
[ 3.480992] No soundcards found.
[ 3.493014] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 63
[ 3.524093] UBIFS (ubi0:0): recovery needed
[ 3.604574] UBIFS (ubi0:0): recovery completed
[ 3.609396] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "root
fs"
[ 3.617228] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O u
nit sizes: 2048 bytes/2048 bytes
[ 3.627700] UBIFS (ubi0:0): FS size: 242905088 bytes (231 MiB, 1913 LEBs), jo
urnal size 9023488 bytes (8 MiB, 72 LEBs)
[ 3.638986] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
[ 3.645156] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 1D28E
E37-DECC-4FA9-BB49-BCB33BEA38B4, small LPT model
[ 3.657961] VFS: Mounted root (ubifs filesystem) on device 0:14.
[ 3.665403] devtmpfs: mounted
[ 3.668968] Freeing unused kernel memory: 256K (c08ba000 - c08fa000)
[ 3.675698] This architecture does not have kernel memory protection.

System initialization...

Hostname : am335x
Filesystem : v1.0.0


Kernel release : Linux 4.4.32-gadde2ca9f8
Kernel version : #93 PREEMPT Sat May 27 14:57:04 CST 2017

Mounting /proc : [SUCCESS]
Mounting /sys : [SUCCESS]
Mounting /dev : [SUCCESS]
Mounting /dev/pts : [SUCCESS]
Enabling hot-plug : [SUCCESS]
Populating /dev : [SUCCESS]
Mounting other filesystems : [SUCCESS]
Starting syslogd : [SUCCESS]
Starting sshd : [ 4.639978] random: sshd: uninitialized urandom
read (32 bytes read, 46 bits of entropy available)
[SUCCESS]

System initialization complete.

  • 具体AM3352xxxx 的型号是什么?

    比如 AM3352BZCZ60,最大支持600M

    AM3352BZCZA100 最大支持1000M

  • 请问你用的是哪个版本的SDK?一般在U-boot下都是根据芯片内部的版本寄存获取主频信息,然后设置到最高主频运行。

  • 请看一下下面的帖子。
    https://e2e.ti.com/support/arm/sitara_arm/f/791/t/566568

  • 呃,果然是AM3352BZCZD60,如果需要用1000M的话就得换成AM3352BZCZA100是吧?

  • ti-processor-sdk-linux-am335x-evm-03.02.00.05,应该是由于我们使用的是AM3352BZCZD60的原因

  • 还有一个问题请教一下,console信息提示设置为600M,但是我在系统查看怎么显示的是300M?

    root@am335x#cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
    300000

  • 完整信息如下(这个是我设置为600M时的console信息):

    U-Boot SPL 2016.05-00304-gad06f64-dirty (Jun 03 2017 - 12:28:37)
    Core Clock:1000 MHz,Mpu Clock 600 MHz
    Trying to boot from NAND
    The Expected Linux image was not found. Please check your NAND configuration.
    Trying to start u-boot now...


    U-Boot 2016.05-00304-gad06f64-dirty (Jun 03 2017 - 12:28:37 +0800)

    CPU : AM335X-GP rev 2.1
    Model: TI AM335x HXDW
    Watchdog enabled
    I2C: ready
    DRAM: 256 MiB
    NAND: 256 MiB
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    *** Error - No Valid Environment Area found
    *** Warning - bad CRC, using default environment

    <ethaddr> not set. Validating first E-fuse MAC
    Net: Could not get PHY for ethernet@4a100000: addr 0
    eth0: ethernet@4a100000
    Warning: usb_ether MAC addresses don't match:
    Address in SROM is de:ad:be:ef:00:01
    Address in environment is 84:eb:18:bd:a8:9e
    , eth1: usb_ether
    Press SPACE to abort autoboot in 2 seconds
    Booting from nand(Debug) ...

    NAND read: device 0 offset 0x80000, size 0x40000
    262144 bytes read: OK

    NAND read: device 0 offset 0x200000, size 0x800000
    8388608 bytes read: OK
    Kernel image @ 0x82000000 [ 0x000000 - 0x34bbd8 ]
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8ef08000, end 8ef147a0 ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Initializing cgroup subsys cpuacct
    [ 0.000000] Linux version 4.4.32-gadde2ca9f8 (root@hxdw-virtual-machine) (gcc
    version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #93 PREEMPT Sat May 27 14:57:
    04 CST 2017
    [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio
    n cache
    [ 0.000000] Machine model: TI AM335x HXDW
    [ 0.000000] cma: Reserved 48 MiB at 0x8b800000
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM335X ES2.1 (neon )
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag
    es: 64960
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw u
    bi.mtd=NAND.file-system,2048 rootfstype=ubifs rootwait=1
    [ 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: 200428K/262144K available (6571K kernel code, 300K rwdata
    , 2328K rodata, 256K init, 262K bss, 12564K reserved, 49152K cma-reserved, 0K hi
    ghmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xd0800000 - 0xff800000 ( 752 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc08b904c (8901 kB)
    [ 0.000000] .init : 0xc08ba000 - 0xc08fa000 ( 256 kB)
    [ 0.000000] .data : 0xc08fa000 - 0xc0945070 ( 301 kB)
    [ 0.000000] .bss : 0xc0945070 - 0xc0986a58 ( 263 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Build-time adjustment of leaf fanout to 32.
    [ 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] OMAP clockevent source: timer2 at 24000000 Hz
    [ 0.000016] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478
    484971ns
    [ 0.000045] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max
    _idle_ns: 79635851949 ns
    [ 0.000058] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000274] clocksource_probe: no matching clocksources found
    [ 0.000493] Console: colour dummy device 80x30
    [ 0.000523] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [ 0.118820] pid_max: default: 32768 minimum: 301
    [ 0.118977] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.118991] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.119857] Initializing cgroup subsys io
    [ 0.119897] Initializing cgroup subsys memory
    [ 0.119941] Initializing cgroup subsys devices
    [ 0.119962] Initializing cgroup subsys freezer
    [ 0.119981] Initializing cgroup subsys perf_event
    [ 0.119996] Initializing cgroup subsys pids
    [ 0.120031] CPU: Testing write buffer coherency: ok
    [ 0.120511] Setting up static identity map for 0x80008200 - 0x80008258
    [ 0.123305] devtmpfs: initialized
    [ 0.139472] VFP support v0.3: implementor 41 architecture 3 part 30 variant c
    rev 3
    [ 0.158053] omap_hwmod: debugss: _wait_target_disable failed
    [ 0.215172] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma
    x_idle_ns: 19112604462750000 ns
    [ 0.220184] pinctrl core: initialized pinctrl subsystem
    [ 0.221843] NET: Registered protocol family 16
    [ 0.224620] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.248826] cpuidle: using governor ladder
    [ 0.278815] cpuidle: using governor menu
    [ 0.284730] OMAP GPIO hardware version 0.1
    [ 0.295927] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_
    wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_s0, deferring probe
    [ 0.298410] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.339765] edma 49000000.edma: TI EDMA DMA engine driver
    [ 0.344997] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wk
    up@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [ 0.345166] media: Linux media interface: v0.10
    [ 0.345245] Linux video capture interface: v2.00
    [ 0.345316] pps_core: LinuxPPS API ver. 1 registered
    [ 0.345326] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome
    tti <giometti@linux.it>
    [ 0.345363] PTP clock support registered
    [ 0.345436] EDAC MC: Ver: 3.0.0
    [ 0.346938] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.347376] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.348980] clocksource: Switched to clocksource timer1
    [ 0.363356] NET: Registered protocol family 2
    [ 0.364352] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.364401] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.364438] TCP: Hash tables configured (established 2048 bind 2048)
    [ 0.364530] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.364557] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.364745] NET: Registered protocol family 1
    [ 0.365245] RPC: Registered named UNIX socket transport module.
    [ 0.365266] RPC: Registered udp transport module.
    [ 0.365275] RPC: Registered tcp transport module.
    [ 0.365284] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.366450] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counter
    s available
    [ 0.369144] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.379989] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.381190] NFS: Registering the id_resolver key type
    [ 0.381276] Key type id_resolver registered
    [ 0.381287] Key type id_legacy registered
    [ 0.381401] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.385868] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2
    47)
    [ 0.385907] io scheduler noop registered
    [ 0.385924] io scheduler deadline registered
    [ 0.386128] io scheduler cfq registered (default)
    [ 0.387898] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [ 0.472215] omap_uart 44e09000.serial: no wakeirq for uart0
    [ 0.472517] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 158, base_baud =
    3000000) is a OMAP UART0
    [ 1.093297] console [ttyO0] enabled
    [ 1.097678] omap_uart 48022000.serial: no wakeirq for uart1
    [ 1.103812] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 159, base_baud =
    3000000) is a OMAP UART1
    [ 1.114248] omap_uart 48024000.serial: no wakeirq for uart2
    [ 1.120344] 48024000.serial: ttyO2 at MMIO 0x48024000 (irq = 160, base_baud =
    3000000) is a OMAP UART2
    [ 1.130792] omap_uart 481a6000.serial: no wakeirq for uart3
    [ 1.136837] 481a6000.serial: ttyO3 at MMIO 0x481a6000 (irq = 161, base_baud =
    3000000) is a OMAP UART3
    [ 1.147279] omap_uart 481a8000.serial: no wakeirq for uart4
    [ 1.153351] 481a8000.serial: ttyO4 at MMIO 0x481a8000 (irq = 162, base_baud =
    3000000) is a OMAP UART4
    [ 1.163782] omap_uart 481aa000.serial: no wakeirq for uart5
    [ 1.169851] 481aa000.serial: ttyO5 at MMIO 0x481aa000 (irq = 163, base_baud =
    3000000) is a OMAP UART5
    [ 1.180343] [drm] Initialized drm 1.1.0 20060810
    [ 1.195053] loop: module loaded
    [ 1.201883] spidev spi1.0: buggy DT: spidev listed directly in DT
    [ 1.208324] ------------[ cut here ]------------
    [ 1.213322] WARNING: CPU: 0 PID: 1 at drivers/spi/spidev.c:719 spidev_probe+0
    x1a8/0x1c4()
    [ 1.221961] Modules linked in:
    [ 1.225196] CPU: 0 PID: 1 Comm: swapper Not tainted 4.4.32-gadde2ca9f8 #93
    [ 1.232456] Hardware name: Generic AM33XX (Flattened Device Tree)
    [ 1.238874] Backtrace:
    [ 1.241501] [<c00134e4>] (dump_backtrace) from [<c00136e0>] (show_stack+0x18/
    0x1c)
    [ 1.249492] r7:c043867c r6:000002cf r5:00000009 r4:00000000
    [ 1.255486] [<c00136c8>] (show_stack) from [<c02a8688>] (dump_stack+0x24/0x28
    )
    [ 1.263126] [<c02a8664>] (dump_stack) from [<c0031d0c>] (warn_slowpath_common
    +0x88/0xb4)
    [ 1.271672] [<c0031c84>] (warn_slowpath_common) from [<c0031ddc>] (warn_slowp
    ath_null+0x24/0x2c)
    [ 1.280940] r8:00000000 r7:c0932428 r6:c0932418 r5:cf3f6400 r4:cf3f6400
    [ 1.288033] [<c0031db8>] (warn_slowpath_null) from [<c043867c>] (spidev_probe
    +0x1a8/0x1c4)
    [ 1.296761] [<c04384d4>] (spidev_probe) from [<c0435758>] (spi_drv_probe+0x84
    /0xb0)
    [ 1.304838] r8:00000000 r7:c0932428 r6:c0932418 r5:00000000 r4:cf3f6400
    [ 1.311954] [<c04356d4>] (spi_drv_probe) from [<c03db7fc>] (driver_probe_devi
    ce+0x204/0x2f8)
    [ 1.320859] r7:c0932428 r6:00000000 r5:cf3f6400 r4:c097c148
    [ 1.326850] [<c03db5f8>] (driver_probe_device) from [<c03dba14>] (__device_at
    tach_driver+0x8c/0xb4)
    [ 1.336394] r9:00000000 r8:c097c124 r7:00000001 r6:cf3f6400 r5:cf047c48 r4:c
    0932428
    [ 1.344603] [<c03db988>] (__device_attach_driver) from [<c03d99c4>] (bus_for_
    each_drv+0x68/0x9c)
    [ 1.353879] r7:00000001 r6:c03db988 r5:cf047c48 r4:00000000
    [ 1.359886] [<c03d995c>] (bus_for_each_drv) from [<c03db550>] (__device_attac
    h+0xb8/0x11c)
    [ 1.368591] r6:cf3f6434 r5:cf3f6400 r4:cf3f6400
    [ 1.373495] [<c03db498>] (__device_attach) from [<c03dba88>] (device_initial_
    probe+0x14/0x18)
    [ 1.382490] r7:00000000 r6:c0931ec8 r5:cf3f6400 r4:cf3f6408
    [ 1.388481] [<c03dba74>] (device_initial_probe) from [<c03daa68>] (bus_probe_
    device+0x8c/0x94)
    [ 1.397577] [<c03da9dc>] (bus_probe_device) from [<c03d8b08>] (device_add+0x3
    78/0x574)
    [ 1.405930] r7:00000000 r6:cf3f6000 r5:cf3f6400 r4:cf3f6408
    [ 1.411936] [<c03d8790>] (device_add) from [<c04360f8>] (spi_add_device+0xa4/
    0x13c)
    [ 1.420015] r10:cf3f6172 r9:cf112a10 r8:cfd9910c r7:cf112a10 r6:cf3f6000 r5:
    00000000
    [ 1.428291] r4:cf3f6400
    [ 1.430984] [<c0436054>] (spi_add_device) from [<c04365e4>] (of_register_spi_
    device+0x22c/0x2f4)
    [ 1.440252] r7:cf3f6000 r6:cfd99420 r5:cf3f6400 r4:00000000
    [ 1.446242] [<c04363b8>] (of_register_spi_device) from [<c0437eac>] (spi_regi
    ster_master+0x258/0x43c)
    [ 1.455969] r7:c084efb0 r6:00000000 r5:cfd99420 r4:cf3f6000
    [ 1.461976] [<c0437c54>] (spi_register_master) from [<c04380d0>] (devm_spi_re
    gister_master+0x40/0x78)
    [ 1.471701] r10:cf3f6172 r9:c084f424 r8:cf3f6000 r7:cf112a10 r6:cf3f6000 r5:
    cf3c8f10
    [ 1.479991] r4:00000000
    [ 1.482672] [<c0438090>] (devm_spi_register_master) from [<c043b160>] (omap2_
    mcspi_probe+0x2d4/0x34c)
    [ 1.492398] r7:cf112a10 r6:cf3f6000 r5:cf3f62b0 r4:00000000
    [ 1.498391] [<c043ae8c>] (omap2_mcspi_probe) from [<c03dd2ec>] (platform_drv_
    probe+0x54/0xb8)
    [ 1.507385] r10:00000000 r9:c08ba600 r8:00000000 r7:fffffdfb r6:c093247c r5:
    cf112a10
    [ 1.515677] r4:c097c148
    [ 1.518356] [<c03dd298>] (platform_drv_probe) from [<c03db7fc>] (driver_probe
    _device+0x204/0x2f8)
    [ 1.527716] r7:c093247c r6:00000000 r5:cf112a10 r4:c097c148
    [ 1.533724] [<c03db5f8>] (driver_probe_device) from [<c03db984>] (__driver_at
    tach+0x94/0x98)
    [ 1.542627] r9:c08ba600 r8:000000a6 r7:00000000 r6:cf112a44 r5:c093247c r4:c
    f112a10
    [ 1.550836] [<c03db8f0>] (__driver_attach) from [<c03d9904>] (bus_for_each_de
    v+0x70/0xa4)
    [ 1.559464] r7:00000000 r6:c03db8f0 r5:c093247c r4:00000000
    [ 1.565454] [<c03d9894>] (bus_for_each_dev) from [<c03db0e8>] (driver_attach+
    0x24/0x28)
    [ 1.573898] r6:c092c1a8 r5:cf3ccb00 r4:c093247c
    [ 1.578784] [<c03db0c4>] (driver_attach) from [<c03dad24>] (bus_add_driver+0x
    1a8/0x220)
    [ 1.587238] [<c03dab7c>] (bus_add_driver) from [<c03dc19c>] (driver_register+
    0x80/0x100)
    [ 1.595775] r7:cf3c8b00 r6:c08feca0 r5:c08dcf54 r4:c093247c
    [ 1.601783] [<c03dc11c>] (driver_register) from [<c03dd214>] (__platform_driv
    er_register+0x48/0x50)
    [ 1.611325] r5:c08dcf54 r4:c092c1a8
    [ 1.615111] [<c03dd1cc>] (__platform_driver_register) from [<c08dcf70>] (omap
    2_mcspi_driver_init+0x1c/0x20)
    [ 1.625387] r5:c08dcf54 r4:c08feca0
    [ 1.629185] [<c08dcf54>] (omap2_mcspi_driver_init) from [<c00096bc>] (do_one_
    initcall+0x98/0x1e4)
    [ 1.638550] [<c0009624>] (do_one_initcall) from [<c08bae80>] (kernel_init_fre
    eable+0x138/0x1cc)
    [ 1.647727] r10:00000007 r9:c08ba600 r8:000000a6 r7:c08ed830 r6:c08f9c84 r5:
    c0945080
    [ 1.656019] r4:c0945080
    [ 1.658707] [<c08bad48>] (kernel_init_freeable) from [<c066d404>] (kernel_ini
    t+0x18/0xf4)
    [ 1.667337] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:
    c066d3ec
    [ 1.675628] r4:c0945080
    [ 1.678308] [<c066d3ec>] (kernel_init) from [<c000fab8>] (ret_from_fork+0x14/
    0x3c)
    [ 1.686298] r5:c066d3ec r4:00000000
    [ 1.690129] ---[ end trace 2af0b9297645bca4 ]---
    [ 1.696915] libphy: Fixed MDIO Bus: probed
    [ 1.759069] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [ 1.765506] davinci_mdio 4a101000.mdio: detected phy mask fffffff5
    [ 1.773725] libphy: 4a101000.mdio: probed
    [ 1.777969] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driv
    er unknown
    [ 1.786528] davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driv
    er unknown
    [ 1.795934] cpsw 4a100000.ethernet: Detected MACID = 84:eb:18:bd:a8:9c
    [ 1.803209] cpsw 4a100000.ethernet: cpts: overflow check period 850
    [ 1.810893] cpsw 4a100000.ethernet: cpsw: Detected MACID = 84:eb:18:bd:a8:9e
    [ 1.820286] mousedev: PS/2 mouse device common for all mice
    [ 1.826972] i2c /dev entries driver
    [ 1.833015] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 1.840814] cpuidle: enable-method property 'ti,am3352' found operations
    [ 1.848903] omap_hsmmc 48060000.mmc: Got CD GPIO
    [ 1.890052] pinctrl-single 44e10800.pinmux: pin 44e1099c.0 already requested
    by 481a0000.spi; cannot claim for leds
    [ 1.904239] pinctrl-single 44e10800.pinmux: pin-103 (leds) status -22
    [ 1.911085] pinctrl-single 44e10800.pinmux: could not request pin 103 (44e109
    9c.0) from group user_leds_default on device pinctrl-single
    [ 1.924171] leds-gpio leds: Error applying setting, reverse things back
    [ 1.936323] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.946670] NET: Registered protocol family 10
    [ 1.953395] sit: IPv6 over IPv4 tunneling driver
    [ 1.959573] NET: Registered protocol family 17
    [ 1.964715] Key type dns_resolver registered
    [ 1.969620] omap_voltage_late_init: Voltage driver support not added
    [ 1.980940] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [ 1.986385] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [ 1.994699] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
    [ 2.001598] nand: Micron MT29F2G08ABAEAWP
    [ 2.005870] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB siz
    e: 64
    [ 2.013958] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [ 2.019707] 10 ofpart partitions found on MTD device 8000000.nand
    [ 2.026128] Creating 10 MTD partitions on "8000000.nand":
    [ 2.031879] 0x000000000000-0x000000020000 : "NAND.SPL"
    [ 2.039230] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
    [ 2.046834] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
    [ 2.054585] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
    [ 2.062217] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
    [ 2.070235] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
    [ 2.077710] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
    [ 2.085345] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
    [ 2.093970] 0x000000200000-0x000000a00000 : "NAND.kernel"
    [ 2.104357] 0x000000a00000-0x000010000000 : "NAND.file-system"
    [ 2.110618] mmc0: host does not support reading read-only switch, assuming wr
    ite-enable
    [ 2.121205] mmc0: new high speed SDHC card at address 59b4
    [ 2.139328] mmcblk0: mmc0:59b4 00000 14.9 GiB
    [ 2.145655] mmcblk0: p1
    [ 2.248058] tps65217 0-0024: TPS65217 ID 0x6 version 1.2
    [ 2.256426] rtc-ds3232 0-0068: rtc core: registered ds3232 as rtc0
    [ 2.263137] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [ 2.271168] ubi0: attaching mtd9
    [ 3.252768] ubi0: scanning is finished
    [ 3.266705] ubi0: attached mtd9 (name "NAND.file-system", size 246 MiB)
    [ 3.273872] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [ 3.281150] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
    [ 3.288211] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
    [ 3.295562] ubi0: good PEBs: 1968, bad PEBs: 0, corrupted PEBs: 0
    [ 3.301996] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 12
    8
    [ 3.309622] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequ
    ence number: 916076100
    [ 3.319168] ubi0: available PEBs: 0, total reserved PEBs: 1968, PEBs reserved
    for bad PEB handling: 40
    [ 3.329000] ubi0: background thread "ubi_bgt0d" started, PID 62
    [ 3.336110] RTC Time is:2017-06-05 15:18:12,Wait for next senconds ... ...
    [ 4.011762] rtc-ds3232 0-0068: setting system clock to 2017-06-05 15:18:13 UT
    C (1496675893)
    [ 4.028553] ALSA device list:
    [ 4.031856] No soundcards found.
    [ 4.049102] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 63
    [ 4.078252] UBIFS (ubi0:0): recovery needed
    [ 4.158638] UBIFS (ubi0:0): recovery completed
    [ 4.163515] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "root
    fs"
    [ 4.171332] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O u
    nit sizes: 2048 bytes/2048 bytes
    [ 4.181800] UBIFS (ubi0:0): FS size: 242905088 bytes (231 MiB, 1913 LEBs), jo
    urnal size 9023488 bytes (8 MiB, 72 LEBs)
    [ 4.193085] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
    [ 4.199251] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 97486
    460-57AB-47E6-BD38-760D55085DBF, small LPT model
    [ 4.211816] VFS: Mounted root (ubifs filesystem) on device 0:14.
    [ 4.219028] devtmpfs: mounted
    [ 4.222593] Freeing unused kernel memory: 256K (c08ba000 - c08fa000)
    [ 4.229313] This architecture does not have kernel memory protection.

    System initialization...

    Hostname : am335x
    Filesystem : v1.0.0


    Kernel release : Linux 4.4.32-gadde2ca9f8
    Kernel version : #93 PREEMPT Sat May 27 14:57:04 CST 2017

    Mounting /proc : [SUCCESS]
    Mounting /sys : [SUCCESS]
    Mounting /dev : [SUCCESS]
    Mounting /dev/pts : [SUCCESS]
    Enabling hot-plug : [SUCCESS]
    Populating /dev : [SUCCESS]
    Mounting other filesystems : [SUCCESS]
    Starting syslogd : [SUCCESS]
    Starting sshd : [ 5.198411] random: sshd: uninitialized urandom
    read (32 bytes read, 111 bits of entropy available)
    [SUCCESS]

    System initialization complete.
    Starting uesr configing...
    Starting userconfig is running ... ...
    set IP shell is found!
    seting IP ... ...
    [ 5.364632] net eth0: initializing cpsw version 1.12 (0)
    [ 5.370310] net eth0: initialized cpsw ale version 1.4
    [ 5.375728] net eth0: ALE Table size 1024
    [ 5.459403] net eth0: phy found : id is : 0x20005ce1
    [ 5.471843] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 5.496848] net eth1: initializing cpsw version 1.12 (0)
    [ 5.579395] net eth1: phy found : id is : 0x20005ce1
    [ 5.589490] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    set Route shell is found!
    seting Route ... ...
    Starting uesr configing...
    Starting check Process...
    appStart is running ... ...
    mainApp is not found
    am335x login: root
    Password:

    root@am335x#
    root@am335x#
    root@am335x#echo userspace > /sys/devices/system/cpu/cpu0/cpufreq/scaling_g

    overnor
    root@am335x#cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
    300000
    root@am335x#cat /sys/class/regulator/regulator.3/microvolts
    1350000
    root@am335x#

  • 系统默认有动态调频调压的功能,为了低功耗,如果目前运行的内容比较少,cup会自动选择一个较低主频来运行,可以通过以下命令来改变

    echo  /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq > 600000

  • 你好 经常看到你发关于AM335x的问题 我也在搞 可以加个好友吗 方便交流 qq 1009119583

  • 直接使用默认的设置就好