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.

How could I wakeup the Beaglebone black?

Other Parts Discussed in Thread: TPS65910, TPS65217

Dear manager,

Now I use beaglebone black with kernel 3.2.0 and arogo file system from TI SDK 06.00.00.00. The information of start is as following:

U-Boot 2013.01.01 (Jun 25 2013 - 16:42:52)

I2C:   ready
DRAM:  512 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:  0
mmc0 is current device
SD/MMC found on device 0
reading uEnv.txt
** Unable to read file uEnv.txt **
reading uImage
** Unable to read file uImage **
3202144 bytes read in 335 ms (9.1 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:    3202080 Bytes = 3.1 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@guocs-desktop) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #4 Mon Sep 2 12:45:07 CST 2013
[    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.0 (sgx neon )
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext3 rootwait ip=none
[    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: 512MB = 512MB total
[    0.000000] Memory: 513152k/513152k available, 11136k 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]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc059c000   (5712 kB)
[    0.000000]       .init : 0xc059c000 - 0xc05d7000   ( 236 kB)
[    0.000000]       .data : 0xc05d8000 - 0xc0642630   ( 426 kB)
[    0.000000]        .bss : 0xc0642654 - 0xc0671424   ( 188 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.000061] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
[    0.089233] pid_max: default: 32768 minimum: 301
[    0.089324] Security Framework initialized
[    0.089385] Mount-cache hash table entries: 512
[    0.089691] CPU: Testing write buffer coherency: ok
[    0.108947] omap_hwmod: pruss: failed to hardreset
[    0.109863] print_constraints: dummy:
[    0.110137] NET: Registered protocol family 16
[    0.111755] OMAP GPIO hardware version 0.1
[    0.113708] omap_mux_init: Add partition: #1: core, flags: 0
[    0.115142]  omap_i2c.1: alias fck already exists
[    0.115814]  omap2_mcspi.1: alias fck already exists
[    0.115997]  omap2_mcspi.2: alias fck already exists
[    0.116668]  edma.0: alias fck already exists
[    0.116699]  edma.0: alias fck already exists
[    0.116699]  edma.0: alias fck already exists
[    0.136322] bio: create slab <bio-0> at 0
[    0.138000] SCSI subsystem initialized
[    0.139251] usbcore: registered new interface driver usbfs
[    0.139495] usbcore: registered new interface driver hub
[    0.139648] usbcore: registered new device driver usb
[    0.139892] registerd cppi-dma Intr @ IRQ 17
[    0.139892] Cppi41 Init Done Qmgr-base(e087a000) dma-base(e0878000)
[    0.139892] Cppi41 Init Done
[    0.139923] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
[    0.140167] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
[    0.141021] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[    0.142059] tps65910 1-002d: could not be detected
[    0.143066] Advanced Linux Sound Architecture Driver Version 1.0.24.
[    0.143920] Switching to clocksource gp timer
[    0.155364] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[    0.155517] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
[    0.155792] MUSB0 controller's USBSS revision = 4ea20800
[    0.155822] musb0: Enabled SW babble control
[    0.156555] musb-hdrc musb-hdrc.0: USB OTG mode controller at e083c000 using DMA, IRQ 18
[    0.156677] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
[    0.156921] MUSB1 controller's USBSS revision = 4ea20800
[    0.156951] musb1: Enabled SW babble control
[    0.157257] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    0.157348] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[    0.157440] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.157440] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.157470] usb usb1: Product: MUSB HDRC host driver
[    0.157470] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
[    0.157470] usb usb1: SerialNumber: musb-hdrc.1
[    0.158142] hub 1-0:1.0: USB hub found
[    0.158172] hub 1-0:1.0: 1 port detected
[    0.158569] musb-hdrc musb-hdrc.1: USB Host mode controller at e083e800 using DMA, IRQ 19
[    0.158905] NET: Registered protocol family 2
[    0.159057] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.159271] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.159484] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    0.159637] TCP: Hash tables configured (established 16384 bind 16384)
[    0.159637] TCP reno registered
[    0.159637] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.159667] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.159820] NET: Registered protocol family 1
[    0.160003] RPC: Registered named UNIX socket transport module.
[    0.160034] RPC: Registered udp transport module.
[    0.160034] RPC: Registered tcp transport module.
[    0.160034] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.160217] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.177062] VFS: Disk quotas dquot_6.5.2
[    0.177124] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.177520] msgmni has been set to 1002
[    0.179962] alg: No test for stdrng (krng)
[    0.180480] io scheduler noop registered
[    0.180480] io scheduler deadline registered
[    0.180541] io scheduler cfq registered (default)
[    0.181457] Could not set LED4 to fully on
[    0.214813] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[    0.795501] console [ttyO0] enabled
[    0.799621] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[    0.807373] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[    0.815063] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[    0.822723] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[    0.830413] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[    0.838470] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
[    0.852294] brd: module loaded
[    0.859191] loop: module loaded
[    0.862609] i2c-core: driver [tsl2550] using legacy suspend method
[    0.869110] i2c-core: driver [tsl2550] using legacy resume method
[    0.875518] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[    0.974487] No daughter card found
[    0.978057] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[    0.993255] Board name: A335BNLT
[    0.996612] Board version: t
[    0.996643] ue
[    1.001373] The board is a AM335x Beaglebone Black.
[    1.008483] tps65217 1-0024: TPS65217 ID 0xe version 1.2
[    1.015991] print_constraints: DCDC1: 900 <--> 1800 mV at 1500 mV
[    1.024414] print_constraints: DCDC2: 900 <--> 3300 mV at 1325 mV
[    1.032775] print_constraints: DCDC3: 900 <--> 1500 mV at 1125 mV
[    1.041168] print_constraints: LDO1: 1000 <--> 3300 mV at 1800 mV
[    1.049682] print_constraints: LDO2: 900 <--> 3300 mV at 3300 mV
[    1.058013] print_constraints: LDO3: 1800 <--> 3300 mV at 1800 mV
[    1.066406] print_constraints: LDO4: 1800 <--> 3300 mV at 3300 mV
[    1.073333] Maximum current provided by the USB port is 500mA which is not sufficient
[    1.073333] when operating @OPP120 and OPPTURBO. The current requirement for some
[    1.073333] use-cases using OPP100 might also exceed the maximum current that the
[    1.073364] USB port can provide. Unless you are fully confident that the current
[    1.073364] requirements for OPP100 use-case don't exceed the USB limits, switching
[    1.073364] to AC power is recommended.
[    1.117340]  omap_hsmmc.0: alias fck already exists
[    1.122741]  omap_hsmmc.1: alias fck already exists
[    1.128112]  omap_i2c.3: alias fck already exists
[    1.133300] omap_i2c omap_i2c.3: bus 3 rev2.4.0 at 100 kHz
[    1.140777] registered am33xx_sr device
[    1.146301] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.153320] omap2-nand driver initializing
[    1.157775] OneNAND driver initializing
[    1.162719] CAN device driver interface
[    1.166748] CAN bus driver for Bosch D_CAN controller 1.0
[    1.214538] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[    1.221008] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
[    1.228149] davinci_mdio.0: probed
[    1.231689] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver SMSC LAN8710/LAN8720
[    1.240509] usbcore: registered new interface driver zd1201
[    1.246520] usbcore: registered new interface driver cdc_ether
[    1.252716] usbcore: registered new interface driver cdc_eem
[    1.258758] usbcore: registered new interface driver dm9601
[    1.264617] cdc_ncm: 04-Aug-2011
[    1.268096] usbcore: registered new interface driver cdc_ncm
[    1.274017] Initializing USB Mass Storage driver...
[    1.279296] usbcore: registered new interface driver usb-storage
[    1.285583] USB Mass Storage support registered.
[    1.290740] mousedev: PS/2 mouse device common for all mice
[    1.297424] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0
[    1.304626] i2c /dev entries driver
[    1.308746] Linux video capture interface: v2.00
[    1.313812] usbcore: registered new interface driver uvcvideo
[    1.319854] USB Video Class driver (1.1.1)
[    1.585296] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    1.592773] cpuidle: using governor ladder
[    1.597442] cpuidle: using governor menu
[    1.605010] omap4_aes_mod_init: loading AM33X AES driver
[    1.610656] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
[    1.617309] omap4_aes_probe: probe() done
[    1.621673] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
[    1.627807] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
[    1.644500] omap4_sham_probe: probe() done
[    1.650665] usbcore: registered new interface driver usbhid
[    1.656524] usbhid: USB HID core driver
[    1.661132] usbcore: registered new interface driver snd-usb-audio
[    1.668945] ALSA device list:
[    1.672027]   No soundcards found.
[    1.675598] oprofile: hardware counters not available
[    1.680877] oprofile: using timer interrupt.
[    1.685363] nf_conntrack version 0.5.0 (8018 buckets, 32072 max)
[    1.692077] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.697753] TCP cubic registered
[    1.701141] NET: Registered protocol family 17
[    1.705780] can: controller area network core (rev 20090105 abi 8)
[    1.712310] NET: Registered protocol family 29
[    1.716979] can: raw protocol (rev 20090105)
[    1.721435] can: broadcast manager protocol (rev 20090105 t)
[    1.727386] Registering the dns_resolver key type
[    1.732360] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    1.740386] ThumbEE CPU extension supported.
[    1.744903] mux: Failed to setup hwmod io irq -22
[    1.750335] Power Management for AM33XX family
[    1.755157] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[    1.761840] Copied the M3 firmware to UMEM
[    1.766204] Cortex M3 Firmware Version = 0x181
[    1.771667] create_regulator: DCDC2: Failed to create debugfs directory
[    1.779235] smartreflex smartreflex: am33xx_sr_probe: Driver initialized
[    1.790130] clock: disabling unused clocks to save power
[    1.803375] mmc0: host does not support reading read-only switch. assuming write-enable.
[    1.813964] mmc0: new high speed SDHC card at address 1234
[    1.820251] Detected MACID=c8:a0:30:af:18:ae
[    1.825836] cpsw: Detected MACID = c8:a0:30:af:18:b0
[    1.831359] mmcblk0: mmc0:1234 SA08G 7.28 GiB
[    1.837371] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
[    1.846649]  mmcblk0: p1 p2
[    1.854949] EXT3-fs (mmcblk0p2): recovery required on readonly filesystem
[    1.862060] EXT3-fs (mmcblk0p2): write access will be enabled during recovery
[    2.320800] mmc1: new high speed MMC card at address 0001
[    2.327087] mmcblk1: mmc1:0001 MMC02G 1.78 GiB
[    2.331909] mmcblk1boot0: mmc1:0001 MMC02G partition 1 1.00 MiB
[    2.338195] mmcblk1boot1: mmc1:0001 MMC02G partition 2 1.00 MiB
[    2.346618]  mmcblk1: p1 p2
[    2.351470]  mmcblk1boot1: unknown partition table
[    2.358032]  mmcblk1boot0: unknown partition table
[    8.019470] kjournald starting.  Commit interval 5 seconds
[    8.025299] EXT3-fs (mmcblk0p2): recovery complete
[    8.883483] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[    8.890716] VFS: Mounted root (ext3 filesystem) readonly on device 179:2.
[    8.898132] Freeing init memory: 236K
INIT: version 2.88 booting
Starting udev
Error opening /dev/fb0: No such device
Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
bootlogd.
[   11.945556] EXT3-fs (mmcblk0p2): using internal journal
ALSA: Restoring mixer settings...
Configuring network interfaces... /usr/sbin/alsactl: load_state:1686: No soundcards found...
[   12.385650] net eth0: CPSW phy found : id is : 0x7c0f1
udhcpc (v1.20.2) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing
done.
Tue Jun 25 23:08:00 UTC 2013
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting telnet daemon.
Starting syslogd/klogd: done
Starting thttpd.
Stopping Bootlog daemon: bootlogd.

 _____                    _____           _         _   
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
              |___|                    |___|            

Arago Project http://arago-project.org am335x-evm ttyO0

Arago 2013.05 am335x-evm ttyO0

am335x-evm login: root

----------------------------------------------------------------------------------------------------

I think the M3 core has been successfully loaded, the red words above can query it.

But when type the suspend command as following:
root@am335x-evm:~# echo mem >/sys/power/state
[   47.366333] PM: Syncing filesystems ... done.
[   48.369110] Freezing user space processes ... (elapsed 0.01 seconds) done.
[   48.388763] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[   48.408813] Suspending console(s) (use no_console_suspend to debug)

I can't wake up the board with power button. What should I do?