hi,
I fond a issue that am335x starterkit can not control gpios(such as am335x:EVM_SK:usr0 led)again while after it did suspend and resume action, information in details as below.
Can you help me to fix it?
Best regards!
MERCSUN
U-Boot SPL 2013.01.01 (Apr 17 2015 - 08:55:52)
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img
U-Boot 2013.01.01 (Apr 17 2015 - 08:55:52)
I2C: ready
DRAM: 256 MiB
WARNING: Caches not enabled
NAND: No NAND device found!!!
0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
Net: <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot: 1 0
mmc0 is current device
SD/MMC found on device 0
reading uEnv.txt
reading uImage
3181584 bytes read in 356 ms (8.5 MiB/s)
Booting from mmc ...
## Booting kernel from Legacy Image at 80007fc0 ...
Image Name: Linux-3.2.0
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3181520 Bytes = 3 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
XIP Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Linux version 3.2.0 (root@minifox-VirtualBox) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #1 Fri Apr 17 08:54:15 CST 2015
[ 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 ES1.0 (sgx neon )
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext3 rootwait ip=none
[ 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: 253224k/253224k available, 8920k 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 - 0xc05a6000 (5752 kB)
[ 0.000000] .init : 0xc05a6000 - 0xc05e2000 ( 240 kB)
[ 0.000000] .data : 0xc05e2000 - 0xc064abe0 ( 419 kB)
[ 0.000000] .bss : 0xc064ac04 - 0xc0679764 ( 187 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 clocksource: GPTIMER1 at 32768 Hz
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000152] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
[ 0.058929] pid_max: default: 32768 minimum: 301
[ 0.059051] Security Framework initialized
[ 0.059143] Mount-cache hash table entries: 512
[ 0.059539] CPU: Testing write buffer coherency: ok
[ 0.080078] omap_hwmod: pruss: failed to hardreset
[ 0.081176] print_constraints: dummy:
[ 0.081542] NET: Registered protocol family 16
[ 0.083618] OMAP GPIO hardware version 0.1
[ 0.086181] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.088104] omap_i2c.1: alias fck already exists
[ 0.089019] omap2_mcspi.1: alias fck already exists
[ 0.089263] omap2_mcspi.2: alias fck already exists
[ 0.090209] edma.0: alias fck already exists
[ 0.090209] edma.0: alias fck already exists
[ 0.090240] edma.0: alias fck already exists
[ 0.116851] bio: create slab <bio-0> at 0
[ 0.119140] SCSI subsystem initialized
[ 0.120758] usbcore: registered new interface driver usbfs
[ 0.121063] usbcore: registered new interface driver hub
[ 0.121246] usbcore: registered new device driver usb
[ 0.121398] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
[ 0.121704] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
[ 0.139007] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[ 0.140869] tps65910 1-002d: JTAGREVNUM 0x0
[ 0.143249] print_constraints: VRTC:
[ 0.144714] print_constraints: VIO: at 1500 mV
[ 0.147003] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal
[ 0.149291] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal
[ 0.150299] print_constraints: VDD3: 5000 mV
[ 0.151702] print_constraints: VDIG1: at 1800 mV
[ 0.153137] print_constraints: VDIG2: at 1800 mV
[ 0.154541] print_constraints: VPLL: at 1800 mV
[ 0.155975] print_constraints: VDAC: at 1800 mV
[ 0.157409] print_constraints: VAUX1: at 1800 mV
[ 0.158813] print_constraints: VAUX2: at 3300 mV
[ 0.160278] print_constraints: VAUX33: at 3300 mV
[ 0.161682] print_constraints: VMMC: at 3300 mV
[ 0.162170] tps65910 1-002d: No interrupt support, no core IRQ
[ 0.163574] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.164642] Switching to clocksource gp timer
[ 0.180084] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.180267] musb-hdrc musb-hdrc.0: dma type: pio
[ 0.180572] MUSB0 controller's USBSS revision = 4ea20800
[ 0.181213] musb-hdrc musb-hdrc.0: USB OTG mode controller at d083c000 using PIO, IRQ 18
[ 0.181365] musb-hdrc musb-hdrc.1: dma type: pio
[ 0.181671] MUSB1 controller's USBSS revision = 4ea20800
[ 0.181823] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 0.181915] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[ 0.182037] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.182067] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.182067] usb usb1: Product: MUSB HDRC host driver
[ 0.182067] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
[ 0.182098] usb usb1: SerialNumber: musb-hdrc.1
[ 0.182861] hub 1-0:1.0: USB hub found
[ 0.182891] hub 1-0:1.0: 1 port detected
[ 0.183441] musb-hdrc musb-hdrc.1: USB Host mode controller at d083e800 using PIO, IRQ 19
[ 0.183837] NET: Registered protocol family 2
[ 0.184020] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.184326] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.184478] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.184570] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.184600] TCP reno registered
[ 0.184600] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.184631] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.184875] NET: Registered protocol family 1
[ 0.185150] RPC: Registered named UNIX socket transport module.
[ 0.185180] RPC: Registered udp transport module.
[ 0.185180] RPC: Registered tcp transport module.
[ 0.185180] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.185424] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.196594] VFS: Disk quotas dquot_6.5.2
[ 0.196655] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.197204] msgmni has been set to 494
[ 0.200317] alg: No test for stdrng (krng)
[ 0.200988] io scheduler noop registered
[ 0.201019] io scheduler deadline registered
[ 0.201080] io scheduler cfq registered (default)
[ 0.202239] Could not set LED4 to fully on
[ 0.203948] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[ 0.824218] console [ttyO0] enabled
[ 0.828460] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[ 0.836303] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[ 0.844055] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[ 0.851837] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[ 0.859619] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[ 0.867858] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
[ 0.884155] brd: module loaded
[ 0.892150] loop: module loaded
[ 0.895660] i2c-core: driver [tsl2550] using legacy suspend method
[ 0.902099] i2c-core: driver [tsl2550] using legacy resume method
[ 0.908538] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 0.975219] No daughter card found
[ 0.978820] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 0.986083] The board is a AM335x Starter Kit.
[ 0.991485] omap_hsmmc.0: alias fck already exists
[ 0.996978] omap_hsmmc.1: alias fck already exists
[ 1.002929] da8xx_lcdc.0: alias fck already exists
[ 1.008392] da8xx_lcdc da8xx_lcdc.0: GLCD: Found NHD-4.3-ATXI#-T-1 panel
[ 1.024627] Console: switching to colour frame buffer device 60x34
[ 1.037506] davinci-mcasp.1: alias fck already exists
[ 1.043212] Configure Bluetooth Enable pin...
[ 1.048858] registered am33xx_sr device
[ 1.053070] _regulator_get: 1-0018 supply Vdd not found, using dummy regulator
[ 1.060729] _regulator_get: 1-0018 supply Vdd_IO not found, using dummy regulator
[ 1.089172] lis3lv02d: 8 bits 3DLH sensor found
[ 1.185668] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input0
[ 1.197387] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.204498] omap2-nand driver initializing
[ 1.208984] OneNAND driver initializing
[ 1.214263] CAN device driver interface
[ 1.218322] CAN bus driver for Bosch D_CAN controller 1.0
[ 1.265289] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[ 1.271759] davinci_mdio davinci_mdio.0: detected phy mask fffffffc
[ 1.279998] davinci_mdio.0: probed
[ 1.283569] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
[ 1.290924] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
[ 1.298645] usbcore: registered new interface driver zd1201
[ 1.304656] usbcore: registered new interface driver cdc_ether
[ 1.310913] usbcore: registered new interface driver cdc_eem
[ 1.316986] usbcore: registered new interface driver dm9601
[ 1.322845] cdc_ncm: 04-Aug-2011
[ 1.326416] usbcore: registered new interface driver cdc_ncm
[ 1.332305] Initializing USB Mass Storage driver...
[ 1.337646] usbcore: registered new interface driver usb-storage
[ 1.343902] USB Mass Storage support registered.
[ 1.349151] mousedev: PS/2 mouse device common for all mice
[ 1.356170] input: ti-tsc as /devices/platform/omap/ti_tscadc/tsc/input/input1
[ 1.364685] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0
[ 1.371734] am33xx-rtc: already running
[ 1.375915] i2c /dev entries driver
[ 1.379943] Linux video capture interface: v2.00
[ 1.385070] usbcore: registered new interface driver uvcvideo
[ 1.391113] USB Video Class driver (1.1.1)
[ 1.397491] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.406005] cpuidle: using governor ladder
[ 1.410766] cpuidle: using governor menu
[ 1.419647] omap4_aes_mod_init: loading AM33X AES driver
[ 1.425354] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
[ 1.431884] omap4_aes_probe: probe() done
[ 1.436584] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
[ 1.442718] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
[ 1.454162] omap4_sham_probe: probe() done
[ 1.464263] usbcore: registered new interface driver usbhid
[ 1.470153] usbhid: USB HID core driver
[ 1.474822] tiadc tiadc: attached adc driver
[ 1.483093] usbcore: registered new interface driver snd-usb-audio
[ 1.491577] _regulator_get: 1-001b supply IOVDD not found, using dummy regulator
[ 1.499389] _regulator_get: 1-001b supply DVDD not found, using dummy regulator
[ 1.507080] _regulator_get: 1-001b supply AVDD not found, using dummy regulator
[ 1.514739] _regulator_get: 1-001b supply DRVDD not found, using dummy regulator
[ 1.525207] asoc: tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok
[ 1.532989] ALSA device list:
[ 1.536132] #0: AM335X EVM
[ 1.539123] oprofile: hardware counters not available
[ 1.544403] oprofile: using timer interrupt.
[ 1.548889] nf_conntrack version 0.5.0 (3956 buckets, 15824 max)
[ 1.555664] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.561340] TCP cubic registered
[ 1.564697] NET: Registered protocol family 17
[ 1.569366] can: controller area network core (rev 20090105 abi 8)
[ 1.575927] NET: Registered protocol family 29
[ 1.580566] can: raw protocol (rev 20090105)
[ 1.585021] can: broadcast manager protocol (rev 20090105 t)
[ 1.590972] Registering the dns_resolver key type
[ 1.595977] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 1.603973] ThumbEE CPU extension supported.
[ 1.608520] mux: Failed to setup hwmod io irq -22
[ 1.614074] Power Management for AM33XX family
[ 1.618957] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[ 1.625671] Copied the M3 firmware to UMEM
[ 1.630004] Cortex M3 Firmware Version = 0x18
[ 1.634674] smartreflex smartreflex: am33xx_sr_probe: Zero NValue read from EFUSE
[ 1.642517] smartreflex: probe of smartreflex failed with error -22
[ 1.649627] sr_init: platform driver register failed
[ 1.659851] clock: disabling unused clocks to save power
[ 1.671447] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 1.681945] mmc0: new high speed SDHC card at address 0001
[ 1.688385] mmcblk0: mmc0:0001 SD8GB 7.19 GiB
[ 1.695220] mmcblk0: p1 p2 p3
[ 1.774261] Detected MACID=d4:94:a1:89:5b:b6
[ 1.779754] cpsw: Detected MACID = d4:94:a1:89:5b:b7
[ 1.786926] input: gpio-keys as /devices/platform/gpio-keys/input/input2
[ 1.794555] omap_rtc am33xx-rtc: setting system clock to 2013-04-05 13:40:18 UTC (1365169218)
[ 1.809967] mmc1: card claims to support voltages below the defined range. These will be ignored.
[ 1.819488] kjournald starting. Commit interval 5 seconds
[ 1.825286] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[ 1.832519] VFS: Mounted root (ext3 filesystem) readonly on device 179:2.
[ 1.839965] Freeing init memory: 240K
[ 1.853759] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
[ 1.860748] mmc1: new SDIO card at address 0001
INIT: version 2.88 booting
Starting udev
[ 2.963989] Disabling lock debugging due to kernel taint
[ 4.518829] cfg80211: Calling CRDA to update world regulatory domain
[ 4.798706] wl12xx: driver version: ol_R5.SP4.01-dirty
[ 4.804107] wl12xx: compilation time: Fri Apr 5 14:19:18 2013
[ 4.986724] cfg80211: World regulatory domain updated:
[ 4.992126] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 5.000885] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 5.009155] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 5.017456] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 5.025695] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 5.033996] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 5.277282] wl12xx: loaded
Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
bootlogd.
[ 5.442657] EXT3-fs (mmcblk0p2): using internal journal
ALSA: Restoring mixer settings...
Configuring network interfaces... [ 5.964630] net eth0: CPSW phy found : id is : 0x4dd074
udhcpc (v1.20.2) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing
done.
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting Dropbear SSH server: dropbear.
Starting telnet daemon.
Performing wifi calibration...
[ 16.117706] wl12xx: loaded
[ 16.121520] wl12xx: power up
[ 16.587310] wl12xx: firmware booted in PLT mode (PLT 6.3.10.0.135)
Using nvs version 2.1
Calibrate /lib/firmware/ti-connectivity/wl1271-nvs.bin
Writing calibration data to /lib/firmware/ti-connectivity/wl1271[ 16.661560] wl12xx: power down
-nvs.bin
Writing mac address 00:00:00:00:00:00 to file /lib/firmware/ti-connectivity/wl1271-nvs.bin
Calibration done. FEM1 has 1 bands. AutoFEM is off. Resulting nvs is /lib/firmware/ti-connectivity/wl1271-nvs.bin
[ 17.297637] wl12xx: loaded
Starting network benchmark server: netserver.
Starting syslogd/klogd: done
Starting thttpd.
Starting PVR
Error: missing filename.
Could not find pvrsrvkm driver
Starting Lighttpd Web Server: lighttpd.
2013-04-05 13:40:33: (log.c.166) server started
/
Starting Matrix GUI application.
[ 19.039367] gadget: Mass Storage Function, version: 2009/09/11
[ 19.045593] gadget: Number of LUNs=2
[ 19.049468] lun0: LUN: removable file: /dev/mmcblk0p1
[ 19.054840] lun1: LUN: removable file: /dev/mmcblk0p3
[ 19.060241] gadget: Mass Storage Gadget, version: 2009/09/11
[ 19.066223] gadget: userspace failed to provide iSerialNumber
[ 19.072357] gadget: g_mass_storage ready
[ 19.076538] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[ 19.082122] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
[ 19.089965] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 19.097076] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 19.104614] usb usb2: Product: MUSB HDRC host driver
[ 19.109802] usb usb2: Manufacturer: Linux 3.2.0 musb-hcd
[ 19.115325] usb usb2: SerialNumber: musb-hdrc.0
[ 19.120666] hub 2-0:1.0: USB hub found
[ 19.124572] hub 2-0:1.0: 1 port detected
[ 19.463714] gadget: high-speed config #1: Linux File-Backed Storage
***************************************************************
***************************************************************
NOTICE: This file system contains the followin GPLv3 packages:
binutils-symlinks
binutils
gdbserver
If you do not wish to distribute GPLv3 components please remove
the above packages prior to distribution. This can be done using
the opkg remove command. i.e.:
opkg remove <package>
Where <package> is the name printed in the list above
NOTE: If the package is a dependency of another package you
will be notified of the dependent packages. You should
use the --force-removal-of-dependent-packages option to
also remove the dependent packages as well
***************************************************************
***************************************************************
Stopping Bootlog daemon: bootlogd.
_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|
Arago Project http://arago-project.org am335x-evm ttyO0
Arago 2013.02 am335x-evm ttyO0
am335x-evm login: root
root@am335x-evm:~# lsmod
Module Size Used by
g_mass_storage 37823 0
wl12xx_sdio 3802 0
wl12xx 199727 0
mac80211 277673 1 wl12xx
cfg80211 174990 2 mac80211,wl12xx
root@am335x-evm:~# echo mem > /sys/power/state
[ 43.437591] PM: Syncing filesystems ... done.
[ 43.508178] Freezing user space processes ... (elapsed 0.01 seconds) done.
[ 43.529998] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[ 43.550079] Suspending console(s) (use no_console_suspend to debug)
[ 43.569488] pm_op(): platform_pm_suspend+0x0/0x64 returns -16
[ 43.569519] PM: Device musb-hdrc.0 failed to suspend: error -16
[ 43.569549] PM: Some devices failed to suspend
[ 43.863525] net eth0: CPSW phy found : id is : 0x4dd074
[ 43.867309] PM: resume of devices complete after 297.729 msecs
[ 43.896697] Restarting tasks ... done.
-sh: echo: write error: Device or resource busy
root@am335x-evm:~#rmmod g_mass_storage
[ 57.254974] musb-hdrc musb-hdrc.0: remove, state 1
[ 57.260070] usb usb2: USB disconnect, device number 1
[ 57.265899] musb-hdrc musb-hdrc.0: USB bus 2 deregistered
root@am335x-evm:~#echo mem > /sys/power/state
[ 63.808227] PM: Syncing filesystems ... done.
[ 63.845428] Freezing user space processes ... (elapsed 0.01 seconds) done.
[ 63.870574] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[ 63.890625] Suspending console(s) (use no_console_suspend to debug)
[ 64.027984] PM: suspend of devices complete after 129.943 msecs
[ 64.029632] PM: late suspend of devices complete after 1.586 msecs
[ 70.385833] GFX domain entered low power state
[ 70.385894] Successfully transitioned all domains to low power state
[ 70.594970] PM: early resume of devices complete after 208.533 msecs
[ 70.901123] net eth0: CPSW phy found : id is : 0x4dd074
[ 70.905975] PM: resume of devices complete after 310.589 msecs
[ 70.949249] Restarting tasks ... done.
root@am335x-evm:~# cd /sys/class/leds/
root@am335x-evm:/sys/class/leds# ls
am335x:EVM_SK:heartbeat am335x:EVM_SK:usr0
am335x:EVM_SK:mmc0 am335x:EVM_SK:usr1
root@am335x-evm:/sys/class/leds# cd am335x\:EVM_SK\:usr0
root@am335x-evm:/sys/class/leds/am335x:EVM_SK:usr0#ls
brightness max_brightness subsystem uevent
device power trigger
root@am335x-evm:/sys/class/leds/am335x:EVM_SK:usr0# echo 1 > brightness
root@am335x-evm:/sys/class/leds/am335x:EVM_SK:usr0#