Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: micropad on September 07, 2015, 11:12:01 AM

Title: remove boot logo without kernel recompiling
Post by: micropad on September 07, 2015, 11:12:01 AM
Is it possible to remove / disable / change the boot logo -two penguins with OLIMEX - on start without recompiling kernel?
Title: Re: remove boot logo without kernel recompiling
Post by: igorpec on September 07, 2015, 01:03:57 PM
Try to boot with a kernel parameter:

logo.nologo

http://redsymbol.net/linux-kernel-boot-parameters/3.4/
Title: Re: remove boot logo without kernel recompiling
Post by: micropad on September 07, 2015, 05:35:04 PM
Thanks Igor,

Need i  to edit boot.scr for boot with kernel parameter ?

Title: Re: remove boot logo without kernel recompiling
Post by: igorpec on September 07, 2015, 06:58:37 PM
Yes. Just add it to the end of the usually longest line.

Example:
setenv bootargs console=tty1 root=/dev/mmcblk0p1 rootwait rootfstype=ext4 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 enforcing=0 loglevel=1 logo.nologo


Try also logo=nologo

You actually need to edit boot.cmd and convert it to boot.scr, than reboot.

Conver with:

mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr

If you are using image which accepts uEnv.txt aka user environment then this is there.
Title: Re: remove boot logo without kernel recompiling
Post by: micropad on September 10, 2015, 10:38:35 AM
i have tried with uEnv.txt without success, where i can find the original boot.cmd? in the git repository ?
Title: Re: remove boot logo without kernel recompiling
Post by: Gerrit on September 10, 2015, 05:25:10 PM
Quote from: micropad on September 10, 2015, 10:38:35 AM
i have tried with uEnv.txt without success, where i can find the original boot.cmd? in the git repository ?

Open boot.scr remove everything before "setenv  bootargs ...." and then safe it as boot.cmd

Then you you can add the logo.nologo or logo=nologo line en create the new image with the above mentioned mkimage line