Jump to content

How to change the boot screen in the assembly?


telindus

Recommended Posts

I tried as described in the manuals Lubuntu:

 

1)sudo apt-get update
2) sudo apt-get install plymouth-theme-*
3) sudo update-alternatives --config default.plymouth
4) sudo update-initramfs -u 
 
As a result, all the same boot black console rather than graphical theme. Please help us understand how to make the graphics theme at startup and reboot.
Link to comment
Share on other sites

Hi!

 

Guys I am a complete noob in this case. All that I found on the internet I pereprobyval, but nothing helps. I was like a black screen to boot, and remains.
 
 
Software - Linux cubieboard2 3.4.107-cubieboard2 # 14 SMP PREEMPT Tue Jun 9 13:06:06 ALMT 2015 armv7l armv7l armv7l GNU / Linux
 
At check of the demon plymouth - it works (after boot, you can run it and it will show the topic I asked, but for some reason - only on the display that I prescribe With X-server and LSD did not work).
 
Prompt where to "dig" to work?
Link to comment
Share on other sites

I play with this some time ago and all I can remember is that plymouth is a waste of time. Since you are working with LCD, you get access when the driver, present in kernel, is loaded. I doubt (but possible) it's supported in uboot. If you have it in uboot, you can use our scripts - we are showing Armbian boot logo on (some) A10/A20 builds. Logo pop ups early in the boot stage, but when FB is initialized in kernel it gets overwritten.

However, what you are trying to achieve is probably not done yet so you are not facing a trivial task.
 

Link to comment
Share on other sites

I cube is not boot has a black screen. But when connecting HDMI I see the beginning of the boot, the boot is why he takes the wrong port (LVDS)? And how to fix it? (Video boot - https://youtu.be/IaT7RuKYJ-0)
 
 
Regardin gplymouth:
1) It is not prescribe echo 'FRAMEBUFFER = Y' >> /etc/initramfs-tools/initramfs.Ñonf + update-initramfs y. Not loaded plymouth in initratfs.
Check lsinitramfs -l /boot/initrd.img-3.4.107-cubieboard2 | grep plymouth - shows that his plymouth and Themes download.
2) in the script there is a demand plymouth PREREQ = "framebuffer console_setup brltty" - put brltty install and update-initramfs y .. I checked it was loaded in /boot/initrd.img-3.4.107-cubieboard2.
3) blacklist-framebuffer.conf Files., Fbdev-blacklist.conf. - Renamed .bak
4) Now download commands from the framebuffer file
copy_modules_dir kernel / drivers / char / agp
copy_modules_dir kernel / drivers / gpu
 
Work (ie in /boot/initrd.img-3.4.107-cubieboard2 -. There were those files). But loading modules
manual_add_modules fbcon
manual_add_modules vesafb
manual_add_modules vga16fb
 

Does not work.

Appropriately when attempts to point(splash) to boot.cmd(mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr) command causes the condition "brick". I do not know where to look further, to make it work. Who else have any ideas?

Link to comment
Share on other sites

root@cubieboard2:/usr/share/initramfs-tools/hooks# lsinitramfs -l /boot/initrd.img-3.4.107-cubieboard2 | grep plymouth

-rwxr-xr-x   1 root     root          206 Mar 13  2014 scripts/init-bottom/plymouth

-rwxr-xr-x   1 root     root          170 Mar 13  2014 scripts/panic/plymouth

-rwxr-xr-x   1 root     root          323 Mar 13  2014 scripts/init-top/plymout

-rwxr-xr-x   1 root     root        26360 Dec  2  2014 bin/plymouth

-rwxr-xr-x   1 root     root        59680 Dec  2  2014 sbin/plymouthd

drwxr-xr-x   3 root     root            0 Jun 20 06:07 lib/plymouth

-rw-r--r--   1 root     root         6369 Jun 20 06:07 lib/plymouth/ubuntu_logo.png

drwxr-xr-x   5 root     root            0 Jun 20 06:07 lib/plymouth/themes

drwxr-xr-x   2 root     root            0 Jun 23  2015 lib/plymouth/themes/details

-rw-r--r--   1 root     root           84 Dec  2  2014 lib/plymouth/themes/details/details.plymouth

drwxr-xr-x   2 root     root            0 Jun 16 14:04 lib/plymouth/themes/lubuntu-text

-rw-r--r--   1 root     root          208 Nov 18  2013 lib/plymouth/themes/lubuntu-text/lubuntu-text.plymouth

drwxr-xr-x   2 root     root            0 Jun 16 14:04 lib/plymouth/themes/lubuntu-logo

-rw-r--r--   1 root     root        19565 Oct 18  2013 lib/plymouth/themes/lubuntu-logo/lubuntu_logo.png

-rw-r--r--   1 root     root          237 Oct 18  2013 lib/plymouth/themes/lubuntu-logo/lubuntu-logo.plymouth

-rw-r--r--   1 root     root        35153 Oct 18  2013 lib/plymouth/themes/lubuntu-logo/lubuntu-logo.script

-rw-r--r--   1 root     root          786 Mar 12  2014 lib/plymouth/themes/lubuntu-logo/password_field.png

-rw-r--r--   1 root     root          376 Mar 12  2014 lib/plymouth/themes/lubuntu-logo/progress_dot_off.png

-rw-r--r--   1 root     root          473 Oct 18  2013 lib/plymouth/themes/lubuntu-logo/progress_dot_on.png

lrwxrwxrwx   1 root     root           55 Jun 20 06:07 lib/plymouth/themes/text plymouth -> /lib/plymouth/themes/lubuntu-text/lubuntu-text.plymouth

lrwxrwxrwx   1 root     root           55 Jun 20 06:07 lib/plymouth/themes/default.plymouth -> /lib/plymouth/themes/lubuntu-logo/lubuntu-logo.plymouth

drwxr-xr-x   3 root     root            0 Jun 20 06:07 lib/arm-linux-gnueabihf/plymouth

-rw-r--r--   1 root     root        46956 Dec  2  2014 lib/arm-linux-gnueabihf/plymouth/script.so

drwxr-xr-x   2 root     root            0 Jun 20 06:07 lib/arm-linux-gnueabihf/plymouth/renderers

-rw-r--r--   1 root     root        14008 Dec  2  2014 lib/arm-linux-gnueabihf/plymouth/renderers/frame-buffer.so

-rw-r--r--   1 root     root        22272 Dec  2  2014 lib/arm-linux-gnueabihf/plymouth/renderers/drm.so

-rw-r--r--   1 root     root         9716 Dec  2  2014 lib/arm-linux-gnueabihf/plymouth/label.so

-rw-r--r--   1 root     root         9760 Dec  2  2014 lib/arm-linux-gnueabihf/plymouth/details.so

-rw-r--r--   1 root     root         9828 Dec  2  2014 lib/arm-linux-gnueabihf/plymouth/ubuntu-text.so
Link to comment
Share on other sites

root@cubieboard2:/usr/share/initramfs-tools/hooks# lsinitramfs -l /boot/initrd.img-3.4.107-cubieboard2 | grep agp

root@cubieboard2:/usr/share/initramfs-tools/hooks# lsinitramfs -l /boot/initrd.img-3.4.107-cubieboard2 | grep gpu

drwxr-xr-x   4 root     root            0 Jun 20 06:07 lib/modules/3.4.107-cubieboard2/kernel/drivers/gpu

drwxr-xr-x   4 root     root            0 Jun 20 06:07 lib/modules/3.4.107-cubieboard2/kernel/drivers/gpu/mali

drwxr-xr-x   2 root     root            0 Jun 20 06:07 lib/modules/3.4.107-cubieboard2/kernel/drivers/gpu/mali/mali

-rw-r--r--   1 root     root       160354 Jun  9  2015 lib/modules/3.4.107-cubieboard2/kernel/drivers/gpu/mali/mali/mali.ko

drwxr-xr-x   2 root     root            0 Jun 20 06:07 lib/modules/3.4.107-cubieboard2/kernel/drivers/gpu/mali/ump

-rw-r--r--   1 root     root        88841 Jun  9  2015 lib/modules/3.4.107-cubieboard2/kernel/drivers/gpu/mali/ump/ump.ko

drwxr-xr-x   5 root     root            0 Jun 20 06:07 lib/modules/3.4.107-cubieboard2/kernel/drivers/gpu/drm

-rw-r--r--   1 root     root        47235 Jun  9  2015 lib/modules/3.4.107-cubieboard2/kernel/drivers/gpu/drm/drm_kms_helper.ko

drwxr-xr-x   2 root     root            0 Jun 20 06:07 lib/modules/3.4.107-cubieboard2/kernel/drivers/gpu/drm/mali

-rw-r--r--   1 root     root         8267 Jun  9  2015 lib/modules/3.4.107-cubieboard2/kernel/drivers/gpu/drm/mali/mali_drm.ko

drwxr-xr-x   2 root     root            0 Jun 20 06:07 lib/modules/3.4.107-cubieboard2/kernel/drivers/gpu/drm/udl

-rw-r--r--   1 root     root        37144 Jun  9  2015 lib/modules/3.4.107-cubieboard2/kernel/drivers/gpu/drm/udl/udl.ko

-rw-r--r--   1 root     root         7072 Jun  9  2015 lib/modules/3.4.107-cubieboard2/kernel/drivers/gpu/drm/drm_usb.ko

drwxr-xr-x   2 root     root            0 Jun 20 06:07 lib/modules/3.4.107-cubieboard2/kernel/drivers/gpu/drm/i2c

-rw-r--r--   1 root     root         9459 Jun  9  2015 lib/modules/3.4.107-cubieboard2/kernel/drivers/gpu/drm/i2c/sil164.ko

-rw-r--r--   1 root     root        26345 Jun  9  2015 lib/modules/3.4.107-cubieboard2/kernel/drivers/gpu/drm/i2c/ch7006.ko

-rw-r--r--   1 root     root       275059 Jun  9  2015 lib/modules/3.4.107-cubieboard2/kernel/drivers/gpu/drm/drm.ko

root@cubieboard2:/usr/share/initramfs-tools/hooks#

Link to comment
Share on other sites

root@cubieboard2:/usr/share/initramfs-tools/hooks# lsinitramfs -l /boot/initrd.img-3.4.107-cubieboard2 | grep fbcon

root@cubieboard2:/usr/share/initramfs-tools/hooks# lsinitramfs -l /boot/initrd.img-3.4.107-cubieboard2 | grep vesafb

root@cubieboard2:/usr/share/initramfs-tools/hooks# lsinitramfs -l /boot/initrd.img-3.4.107-cubieboard2 | grep vga16fb

root@cubieboard2:/usr/share/initramfs-tools/hooks#
Link to comment
Share on other sites

Do I understand you correct that:
Your LCD capacitive touchscreen works - you can control the device (A20 SBC) from the screen?
 

Please help us understand how to make the graphics theme at startup and reboot.

What you would like to have on the LCD is a Logo /Animation while booting and again on shutdown of the SBC?

Link to comment
Share on other sites

1)Your LCD capacitive touchscreen works - you can control the device (A20 SBC) from the screen?

Yes.

 

2) What you would like to have on the LCD is a Logo /Animation while booting and again on shutdown of the SBC?

I will approach will work if the default themes (there will be a device that is boot).Either Custom Image (I tried to register in init.d script containing command - /usr/bin/fbi -T 1 -noverbose -a /etc/splash.png) - but this picture is shown at the very end of the boot for 5-10 seconds . That does not solve the problem of black screen during boot.
Link to comment
Share on other sites

 

1)Your LCD capacitive touchscreen works - you can control the device (A20 SBC) from the screen?

Yes.

 

2) What you would like to have on the LCD is a Logo /Animation while booting and again on shutdown of the SBC?

I will approach will work if the default themes (there will be a device that is boot).Either Custom Image (I tried to register in init.d script containing command - /usr/bin/fbi -T 1 -noverbose -a /etc/splash.png) - but this picture is shown at the very end of the boot for 5-10 seconds . That does not solve the problem of black screen during boot.

 

To get logo early in boot you need to work with uboot: (just like they did in your video) or booting armbian:

 

Check my patch:

https://github.com/igorpecovnik/lib/blob/master/patch/u-boot/u-boot-default/sunxi-boot-splash.patch.disabled

You need to rework it since you probably want to lock u-boot down and boot without messages.

 

It's currently disabled since it breaks sun8i compilation. This does not solve shutdown logo, but that can be done with some bash script and fbi.

 

I don't think there is any "apt-get install" solution available.

Link to comment
Share on other sites

Igor,

 

I agree on any logo at boot time (better if it is animated), but there are two problems which I'm trying to solve:

1) Prior to full load Linux - the screen is black LSD. Using the script in init.d and fbi gives only at the end of the download wallpaper for 5-10 seconds.

2) Why is that as you can see in the video message download (text, logo) can be seen only through HDMI.

 

I do not understand what to do with the patch.

Link to comment
Share on other sites

1. Yes, it's normal. You can't use LCD before loading it's driver.

2. Because your U-boot is configured to display to HDMI by default. If you want to use an LCD, you need a driver for it within U-boot. 

 

The problem is fairly complex and I also don't have much experiences in this area to give you better guidance.

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