So the second stage uEnv.txt file should look like this in order for it to
work.

uname_r=3.15.10-bone8
cmdline=quiet init=/lib/systemd/systemd consoleblank=0


I tried both ways, and both ways work. But only one cmdline env variable
needs be set in the second stage uEnv.txt file.

root@arm:~# mount /dev/mmcblk0p1 /media/boot/
root@arm:~# cat /media/boot/uEnv.txt |grep optargs=
optargs=consoleblank=0
root@arm:~# cat /sys/module/kernel/parameters/consoleblank
0
is how i have it set now However, if i remove that line and reboot.

root@arm:~# cat /media/boot/uEnv.txt |grep optargs=
#optargs=consoleblank=0
root@arm:~# reboot
Connection to 192.168.7.2 closed by remote host.
Connection to 192.168.7.2 closed.
william@dstar:~$ ssh root@192.168.7.2
root@192.168.7.2's password:
Linux arm 3.8.13-bone64.1 #1 SMP Sun Aug 31 13:30:46 MST 2014 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Sep  8 01:21:27 2014 from 192.168.7.1
root@arm:~#
root@arm:~# cat /sys/module/kernel/parameters/consoleblank
600

*Now i edit and save the second stage uEnv.txt file*
root@arm:~# nano /boot/uEnv.txt
root@arm:~# cat /boot/uEnv.txt
uname_r=3.8.13-bone64.1
cmdline=quiet init=/lib/systemd/systemd consoleblank=0
cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN
root@arm:~# reboot
Connection to 192.168.7.2 closed by remote host.
Connection to 192.168.7.2 closed.
william@dstar:~$ ssh root@192.168.7.2
root@192.168.7.2's password:
Linux arm 3.8.13-bone64.1 #1 SMP Sun Aug 31 13:30:46 MST 2014 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Sep  8 02:42:59 2014 from 192.168.7.1
root@arm:~# cat /sys/module/kernel/parameters/consoleblank
600


*Hilarious !!! Now it does not work, but did before. *troubleshooting face**
SO now to see if systemd is somehow getting in the way . . .

root@arm:~# cat /boot/uEnv.txt
uname_r=3.8.13-bone64.1
cmdline=quiet consoleblank=0 init=/lib/systemd/systemd
cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN
root@arm:~# reboot
Connection to 192.168.7.2 closed by remote host.
Connection to 192.168.7.2 closed.
william@dstar:~$ ssh root@192.168.7.2
root@192.168.7.2's password:
Linux arm 3.8.13-bone64.1 #1 SMP Sun Aug 31 13:30:46 MST 2014 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Sep  8 02:51:21 2014 from 192.168.7.1
root@arm:~# cat /sys/module/kernel/parameters/consoleblank
600

Thats not it, so one more thing that I changed after I switched to using
optargs
root@arm:~# nano /boot/uEnv.txt
root@arm:~# cat /boot/uEnv.txt
uname_r=3.8.13-bone64.1
cmdline=quiet init=/lib/systemd/systemd consoleblank=0
#cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN
root@arm:~# reboot
Connection to 192.168.7.2 closed by remote host.
Connection to 192.168.7.2 closed.
william@dstar:~$ ssh root@192.168.7.2
root@192.168.7.2's password:
Permission denied, please try again.
root@192.168.7.2's password:
Linux arm 3.8.13-bone64.1 #1 SMP Sun Aug 31 13:30:46 MST 2014 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Sep  8 02:57:48 2014 from 192.168.7.1
root@arm:~# cat /sys/module/kernel/parameters/consoleblank
600
**Very confused troubleshooting face**
root@arm:~# shutdown now -h
Connection to 192.168.7.2 closed by remote host.
Connection to 192.168.7.2 closed.
william@dstar:~$ ssh root@192.168.7.2
root@192.168.7.2's password:
Linux arm 3.8.13-bone64.1 #1 SMP Sun Aug 31 13:30:46 MST 2014 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Sep  8 03:03:47 2014 from 192.168.7.1
root@arm:~# cat /sys/module/kernel/parameters/consoleblank
600
**Eyeballs 5lb sledgehammer sitting on a bench across the room**

At this point I used *setterm -blank 0 *just to see what else it ws that i
did, and it did not work. So Moscowbob, you're right, it does not seem to
be working, but did initially for me until i switched to using optargs . .
. This is definitely very annoying however.









On Mon, Sep 8, 2014 at 2:12 AM, William Hermans <yyrk...@gmail.com> wrote:

>
>
> *#cmdline=quiet init=/lib/systemd/systemd consoleblank=0  <======= DOES
> NOT WORK*
>>
>>
>> That would be because you need to remove the comment . . .remove the hash
> mark or '#'. If that does not work, then your netargs do not contain
> ${cmdline}
>
> On Mon, Sep 8, 2014 at 1:20 AM, Moscowbob <moscow...@gmail.com> wrote:
>
>> Thank you all for you assistance the problem is resolved. just some
>> additional points.
>>
>> SD Card boot partition:
>> uEnv.txt
>> --------------------------------
>> ##Rename as: uEnv.txt to boot via nfs
>>
>> ##https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt
>>
>> ##SERVER: sudo apt-get install tftpd-hpa
>> ##SERVER: TFTP_DIRECTORY defined in /etc/default/tftpd-hpa
>> ##SERVER: zImage/*.dtb need to be located here:
>> ##SERVER: TFTP_DIRECTORY/zImage
>> ##SERVER: TFTP_DIRECTORY/dtbs/*.dtb
>>
>> ##client_ip needs to be set for u-boot to try booting via nfs
>>
>> client_ip=192.168.1.17
>>
>> #u-boot defaults: uncomment and override where needed
>>
>> server_ip=192.168.1.12
>> gw_ip=192.168.1.1
>> netmask=255.255.255.0
>> #hostname=
>> device=eth0
>> #autoconf=off
>> root_dir=/home/rob/beaglebone/rootfs
>> nfs_options=,vers=3
>> nfsrootfstype=ext4 rootwait fixrtc
>> *optargs="consoleblank=0"*
>>
>> --------------------------------
>>
>> rootfs/boot/
>> uEnv.txt
>> -----------------------
>> uname_r=3.15.10-bone8
>> cmdline=quiet init=/lib/systemd/systemd
>> *#cmdline=quiet init=/lib/systemd/systemd consoleblank=0  <======= DOES
>> NOT WORK*
>> ------------------------
>>
>> Thanks
>> Rob
>>
>>
>>
>>
>> On Monday, 8 September 2014 01:15:14 UTC+1, Moscowbob wrote:
>>>
>>>
>>> BBB boot from tftp and nfs -
>>> kernel:  3.15.10-bone8
>>> rootfs:  debian-jessie-console-armhf-2014-08-13
>>>
>>> Hardware:
>>> BBB A5C
>>> Circuitco LCD4 cape
>>> Circuitco RS232 cape
>>>
>>> /home/rob/rootfs/boot/uEnv.txt
>>>
>>> uname_r=3.15.10-bone8
>>> cmdline=quiet init=/lib/systemd/systemd
>>> *optargs="consoleblank=0"*.
>>>
>>> I used this reference http://elinux.org/Beagleboard:BeagleBone_Black_FAQ
>>> <http://elinux.org/Beagleboard:BeagleBone_Black_FAQ#Is_there_a_way_to_prevent_my_HDMI_monitor_from_sleeping_while_using_my_BBB.3F>
>>>  but
>>> the display is still blanking after 10  minutes.
>>>
>>> Would appreciate some guidance.
>>>
>>> Thanks
>>> Rob
>>>
>>>
>>>  --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to beagleboard+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to