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.

关于bb black中国版使用问题



您好:

    现在使用bb black板子。需要调试睡眠唤醒功能。打算使用rtc唤醒。但是官方手册里默认唤醒只有io、串口。

    Wakeup sources In the default configuration wakeup from suspend using the following interfaces are supported:

    • UART0 (console) • GPIO0 • Touchscreen:

 

如何使用rtc将板卡定时唤醒。

还用我敲了手册里的命令。不能进入睡眠状态。有没有人成功的。

我用的是这个板子。

  •  不能睡下去,应该有些错误log吧,把log发一下。

    你是不是用USB直接插电脑上供电了,因为USB一直在工作状态,所以休眠失败?试着5V DC直接供电去掉USB,看看是不是就可以正常休眠了。

  • 您好,

    我使用5v直接供的电。内核版本是BBB-eMMC-flasher-ubuntu-13.04-2013-10-08。

    现在的问题是键入命令后不能休眠

    root@arm:/sys/power# echo mem > /sys/power/state

    bash: echo: write error: No such device

    root@arm:/sys/power#

    说找不到设备。

    我换了新的内核 BBB-eMMC-flasher-debian-7.5-2014-05-14-2gb一样的问题。

    启动时的打印能看出问题么。

    U-Boot SPL 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)

    reading args

    spl_load_image_fat_os: error reading image args, err - -1

    reading u-boot.img

    reading u-boot.img

    U-Boot 2014.04-00014-g47880f5 (Apr 22 2014 - 13:23:54)

    I2C:   ready

    DRAM:  512 MiB

    NAND:  0 MiB

    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1

    *** Warning - readenv() failed, using default environment

    Net:   <ethaddr> not set. Validating first E-fuse

    MAC cpsw, usb_ether

    Hit any key to stop autoboot:  0

    gpio: pin 53 (gpio 53) value is 1

    Card did not respond to voltage select!

    mmc0(part 0) is current device

    Card did not respond to voltage select!

    gpio: pin 56 (gpio 56) value is 0

    gpio: pin 55 (gpio 55) value is 0

    gpio: pin 54 (gpio 54) value is 0

    mmc1(part 0) is current device

    gpio: pin 54 (gpio 54) value is 1

    SD/MMC found on device 1

    reading uEnv.txt

    1699 bytes read in 5 ms (331.1 KiB/s)

    gpio: pin 55 (gpio 55) value is 1

    Loaded environment from uEnv.txt

    Importing environment from mmc ...

     Checking if uenvcmd is set ...

    gpio: pin 56 (gpio 56) value is 1

     Running uenvcmd ...

    reading zImage

    4103240 bytes read in 227 ms (17.2 MiB/s)

    reading initrd.img

    2952635 bytes read in 165 ms (17.1 MiB/s)

    reading /dtbs/am335x-boneblack.dtb

    25926 bytes read in 9 ms (2.7 MiB/s)

    Kernel image @ 0x82000000 [ 0x000000 - 0x3e9c48 ]

    ## Flattened Device Tree blob at 88000000   

    Booting using the fdt blob at 0x88000000   

    Using Device Tree in place at 88000000, end 88009545

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.

    [    0.378610] omap2_mbox_probe: platform not supported

    [    0.533212] tps65217-bl tps65217-bl: no platform data provided

    [    0.597074] bone-capemgr bone_capemgr.9: slot #0: No cape found

    [    0.634181] bone-capemgr bone_capemgr.9: slot #1: No cape found

    [    0.671290] bone-capemgr bone_capemgr.9: slot #2: No cape found

    [    0.708400] bone-capemgr bone_capemgr.9: slot #3: No cape found

    [    0.723058] bone-capemgr bone_capemgr.9: slot #6: BB-BONELT-HDMIN conflict P8.45 (#5:BB-BONELT-HDMI)

    [    0.732678] bone-capemgr bone_capemgr.9: slot #6: Failed verification

    [    0.739426] bone-capemgr bone_capemgr.9: loader: failed to load slot-6 BB-BONELT-HDMIN:00A0 (prio 2)

    [    0.756958] omap_hsmmc mmc.5: of_parse_phandle_with_args of 'reset' failed

    [    0.819997] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8

    [    0.831708] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22

    [    0.838990] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single

    Loading, please wait...

    Scanning for Btrfs filesystems

    systemd-fsck[215]: rootfs: clean, 78992/230144 files, 408097/919296 blocks

    Debian GNU/Linux 7 beaglebone ttyO0

    default username:password is [debian:temppwd]

    Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian

    beaglebone login:

    谢谢回复。 

     

  • 建议还是用TI官方发布的SDK软件包试试吧,BBB板子中,不是我们官方发布的版本:

    http://software-dl.ti.com/sitara_linux/esd/AM335xSDK/06_00_00_00/index_FDS.html

  • 我下载了sdk。编译内核后,是不是只要烧写新的内核到bb black就可以了。