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.

Beaglebone-Black, tilcdc, Framebuffer, LCD Sleep !

Hi !

I use ti-processor-sdk-linux-am335x-evm-01.00.00.03 in Beaglebone-Black.

And, I use tty --> UART and Console Mode Graphic --> Direct Framebuffer.      Not use XWindow.

I have problem LCD framebuffer.

After Power-On and 10-Minute, LCD Sync Signal is not out.

I guess sleep mode.

I disabled hdmi in dts file.

I want prevent to sleep mode.

help !

  • Hello hoyoun,

    Passing a consoleblank=0 parameter to the bootargs should prevent the sleep mode.

    Best regards,
    Kemal

  • Hi, Kemal.

    I used your recommend.
    export bootargs consoleblank=0
    Correct ?

    But, After 10-minute, LCD Sync Signal not out.
    I can't prevent to enter sleep mode.

    help !
  • You have to enter these settings in U-Boot stage.

    Could you stop the booting in U-Boot stage by pressing any key then post the output of printenv command.

    Hit any key to stop autoboot: 1
    U-Boot# printenv
  • Hi, Kemal.
    Thank you, Reply.

    I used your recommend.
    But, LCD Sync Signal is not out.

    U-Boot# setenv bootargs consoleblank=0
    Correct ?
    I don't know What is wrong ?

    printenv command.

    U-Boot# printenv
    arch=arm
    baudrate=115200
    board=am335x
    board_name=A335BNLT
    board_rev=000C
    boot_fdt=try
    bootargs=consoleblank=0
    bootcmd=run findfdt; run mmcboot;setenv mmcdev 1; setenv bootpart 1:2; run mmcboot;run nandboot;
    bootcount=1
    bootdelay=1
    bootdir=/boot
    bootenv=uEnv.txt
    bootfile=zImage
    bootm_size=0x10000000
    bootpart=0:2
    console=ttyO0,115200n8
    cpu=armv7
    dfu_alt_info_emmc=rawemmc raw 0 3751936;boot part 1 1;rootfs part 1 2;MLO fat 1 1;MLO.raw raw 0x100 0x100;u-boot.img.raw raw 0x300 0x41
    dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw raw 0x100 0x100;u-boot.img.raw raw 0x300 0x400;spl-os-args.raw raw 1
    dfu_alt_info_nand=SPL part 0 1;SPL.backup1 part 0 2;SPL.backup2 part 0 3;SPL.backup3 part 0 4;u-boot part 0 5;u-boot-spl-os part 0 6;k9
    dfu_alt_info_ram=kernel ram 0x80200000 0xD80000;fdt ram 0x80F80000 0x80000;ramdisk ram 0x81000000 0x4000000
    eth1addr=1c:ba:8c:e1:82:b8
    ethact=cpsw
    ethaddr=1c:ba:8c:e1:82:b6
    fdt_addr_r=0x88000000
    fdtaddr=0x88000000
    fdtfile=undefined
    findfdt=if test $board_name = A335BONE; then setenv fdtfile am335x-bone.dtb; fi; if test $board_name = A335BNLT; then setenv fdtfile a
    importbootenv=echo Importing environment from mmc ...; env import -t -r $loadaddr $filesize
    kernel_addr_r=0x82000000
    loadaddr=0x82000000
    loadbootenv=load mmc ${mmcdev} ${loadaddr} ${bootenv}
    loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
    loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
    loadramdisk=load mmc ${mmcdev} ${rdaddr} ramdisk.gz
    mmcargs=setenv bootargs console=${console} ${optargs} root=${mmcroot} rootfstype=${mmcrootfstype}
    mmcboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootenv; then echo Loaded environment ;
    mmcdev=0
    mmcloados=run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdtaddr}; ;
    mmcroot=/dev/mmcblk0p2 ro
    mmcrootfstype=ext4 rootwait
    mtdids=nand0=nand.0
    mtdparts=mtdparts=nand.0:128k(NAND.SPL),128k(NAND.SPL.backup1),128k(NAND.SPL.backup2),128k(NAND.SPL.backup3),256k(NAND.u-boot-spl-os),)
    nandargs=setenv bootargs console=${console} ${optargs} root=${nandroot} rootfstype=${nandrootfstype}
    nandboot=echo Booting from nand ...; run nandargs; nand read ${fdtaddr} NAND.u-boot-spl-os; nand read ${loadaddr} NAND.kernel; bootz $}
    nandroot=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048
    nandrootfstype=ubifs rootwait=1
    netargs=setenv bootargs console=${console} ${optargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp
    netboot=echo Booting from network ...; setenv autoload no; dhcp; tftp ${loadaddr} ${bootfile}; tftp ${fdtaddr} ${fdtfile}; run netargs}
    nfsopts=nolock
    partitions=uuid_disk=${uuid_gpt_disk};name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}
    ramargs=setenv bootargs console=${console} ${optargs} root=${ramroot} rootfstype=${ramrootfstype}
    ramboot=echo Booting from ramdisk ...; run ramargs; bootz ${loadaddr} ${rdaddr} ${fdtaddr}
    ramdisk_addr_r=0x88080000
    ramroot=/dev/ram0 rw
    ramrootfstype=ext2
    rdaddr=0x88080000
    rootpath=/export/rootfs
    soc=am33xx
    spiargs=setenv bootargs console=${console} ${optargs} root=${spiroot} rootfstype=${spirootfstype}
    spiboot=echo Booting from spi ...; run spiargs; sf probe ${spibusno}:0; sf read ${loadaddr} ${spisrcaddr} ${spiimgsize}; bootz ${loada}
    spibusno=0
    spiimgsize=0x362000
    spiroot=/dev/mtdblock4 rw
    spirootfstype=jffs2
    spisrcaddr=0xe0000
    static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
    stderr=serial
    stdin=serial
    stdout=serial
    usbnet_devaddr=1c:ba:8c:e1:82:b8
    vendor=ti
    ver=U-Boot 2014.07-00001-g4a8e5b8 (Feb 29 2016 - 18:05:42)

    Environment size: 4729/131068 bytes
    U-Boot#

    Help !
  • Hi hoyoun,

    Every separate boot device has its own bootargs settings, mmcargs for MMC, nandargs for NAND, netargs for NFS, spiargs for SPI and etc.
    They all contain ${optargs} filed where you can pass the optional arguments, so please try this.

    U-Boot# setenv optargs consoleblank=0
    

    Then you can run saveenv to save the changes.

    Best regards,
    Kemal

  • Hi, Kemal.

    Thank you very much !

    Framebuffer isn't enter in sleep mode.

    Thank you.