Jump to content

how to disable verbose ?


wwwlu

Recommended Posts

in the documentation is written :

How to toogle verbose boot?

touch /boot/.force-verbose # enable

You need to reboot to conduct changes.

rm /boot/.force-verbose # disable

but I am returned :

rm: cannot remove ‘/boot/.force-verbose’: No such file or directory

 

I tried to change verbosity in boot.cmd but with no success

Can you help please ?

Thanks

Link to comment
Share on other sites

In the file /boot/boot,cmd change string setenv console "ttyS0,115200" to setenv console "serial" . After changes it is necessary to execute the command mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr
 
root@orangepipc:/boot# ls -asl /boot
total 16904
   4 drwxr-xr-x  4 root root    4096 Feb 24 19:45 .
   4 drwxr-xr-x 22 root root    4096 Feb  5 20:21 ..
   0 -rw-r--r--  1 root root       0 Feb 22 23:21 .verbose
2008 -rw-r--r--  1 root root 2053486 Feb  2 08:01 System.map-3.4.113-sun8i
   4 -rw-r--r--  1 root root     120 Feb 22 23:21 armbianEnv.txt
   4 -rw-r--r--  1 root root     162 Feb  5 21:08 armbianEnv.txt.old
   4 drwxr-xr-x  2 root root    4096 Feb  5 21:43 bin
   8 -rw-r--r--  1 root root    6944 Feb  5 20:26 boot.bmp
   4 -rw-r--r--  1 root root    2588 Feb 19 23:27 boot.cmd
   4 -rw-r--r--  1 root root    2660 Feb 19 23:28 boot.scr
  96 -rw-r--r--  1 root root   96945 Feb  2 08:01 config-3.4.113-sun8i
5040 -rw-r--r--  1 root root 5159556 Feb 19 23:24 initrd.img-3.4.113-sun8i
   4 drwxr-xr-x  2 root root    4096 Feb 19 23:28 old
   0 lrwxrwxrwx  1 root root      18 Feb  5 20:25 script.bin -> bin/orangepipc.bin
  36 -rw-r--r--  1 root root   35160 Feb  5 20:38 script.bin.bak
   0 lrwxrwxrwx  1 root root      21 Feb 19 23:24 uInitrd -> uInitrd-3.4.113-sun8i
5040 -rw-r--r--  1 root root 5159620 Feb 19 23:24 uInitrd-3.4.113-sun8i
4644 -rwxr-xr-x  1 root root 4754648 Feb  2 08:01 vmlinuz-3.4.113-sun8i
   0 lrwxrwxrwx  1 root root      21 Feb  5 20:22 zImage -> vmlinuz-3.4.113-sun8i
 

 

I have no file /boot/.force-verbose, there is a /boot/.verbose file (OS Armbian5.25)

Link to comment
Share on other sites

I succeded to boot on 5.25 with another OPI pc plus

 

But I still have verbose boot after following tests:

 

>change string setenv console "ttyS0,115200" to setenv console "serial"

default value is "both". I tried to change to "serial" and recompile

 

I get "rm: cannot remove ‘/boot/.force-verbose’: No such file or directory" when I send "rm /boot/.force-verbose"

 

I tried to change setenv verbosity to 7,1 and 0 in boot.cmd and recompile

 

>Regarding u-boot. You will need to recompile it with disabled VIDEO flag

I understand u-boot is /boot/boot.cmd. but there is no video flag in it
 

Link to comment
Share on other sites

I tried to change setenv verbosity to 7,1 and 0 in boot.cmd and recompile

 

If you have recent build, you have to change verbosity=x in /boot/armbianEnv.txt since this overrides settings in boot.cmd ... if you want to get rid of early boot messages with armbian logo, you need to start here: https://docs.armbian.com/Developer-Guide_Build-Preparation

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines