wwwlu Posted February 23, 2017 Posted February 23, 2017 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
IgZero Posted February 24, 2017 Posted February 24, 2017 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)
wwwlu Posted February 24, 2017 Author Posted February 24, 2017 following string does not exist in /boot/boot.cmd setenv console "ttyS0,115200" I'm using armbian 5.14
Igor Posted February 24, 2017 Posted February 24, 2017 5.14 is old build and those boot scripts are different, upgrade is also not recommended. Perhaps better to start with fresh image ...
wwwlu Posted February 24, 2017 Author Posted February 24, 2017 I cannot use 5.25 on OPI pc plus. First boot is ok but second one i am stucked on "Hit any key to stop autoboot: 0"
wwwlu Posted February 26, 2017 Author Posted February 26, 2017 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
Igor Posted February 26, 2017 Posted February 26, 2017 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
Recommended Posts