Bootlogo with VU7 plus

Post Reply
facotl
Posts: 51
Joined: Tue Mar 24, 2015 5:06 pm
languages_spoken: english, francais
ODROIDs: C1
Has thanked: 0
Been thanked: 0
Contact:

Bootlogo with VU7 plus

Unread post by facotl » Sat Sep 16, 2017 5:17 am

Hello,

I have a strange thing. I followed boot logo tutorial but it not works. When i enter uboot an try to run showlogo, file is found but there is a wrong image for 1 second then it return to black...

I'am sure that screen is okay because startup is visible and X login.

User avatar
odroid
Site Admin
Posts: 30270
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 3 times
Been thanked: 26 times
Contact:

Re: Bootlogo with VU7 plus

Unread post by odroid » Sat Sep 16, 2017 9:48 am

Which OS image do you use?

facotl
Posts: 51
Joined: Tue Mar 24, 2015 5:06 pm
languages_spoken: english, francais
ODROIDs: C1
Has thanked: 0
Been thanked: 0
Contact:

Re: Bootlogo with VU7 plus

Unread post by facotl » Sat Sep 23, 2017 8:53 pm

Hello,
I use Ubuntu.

User avatar
odroid
Site Admin
Posts: 30270
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 3 times
Been thanked: 26 times
Contact:

Re: Bootlogo with VU7 plus

Unread post by odroid » Sun Sep 24, 2017 10:22 am

We will check it.

joy
Posts: 726
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 0
Been thanked: 3 times
Contact:

Re: Bootlogo with VU7 plus

Unread post by joy » Mon Sep 25, 2017 10:39 am

Hi, facotl.
It looks some kernel patches are needed and we're working them.
So please give us a couple of days.
I will share the status once it's done.

joy
Posts: 726
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 0
Been thanked: 3 times
Contact:

Re: Bootlogo with VU7 plus

Unread post by joy » Tue Sep 26, 2017 3:11 pm

Hi, facotl.

A new ubuntu version has been released including commits that fix boot logo display during booting time.
Please upgrade ubuntu package as following.

Code: Select all

$ sudo apt-get update && sudo apt-get upgrade -y
After upgrading, you can check the version, "3.14.79-116".

Code: Select all

odroid@odroid64:~$ uname -a
Linux odroid64 3.14.79-116 #1 SMP PREEMPT Tue Sep 26 01:19:06 BRT 2017 aarch64 aarch64 aarch64 GNU/Linux
And you need to edit boot.ini.
I think you already know how to set boot-logo as you posted. ;)
With the edited boot.ini, I've confirmed the normal operation using VU7+.

Just I'm writing this for other uses.
https://wiki.odroid.com/odroid-c2/appli ... e/bootlogo
1. copy boot-logo.bmp or boot-logo.bmp.gz
2. edit boot.ini

Code: Select all

# change vout mode to support VU7+
# if you use hdmi monitor, set vout "hdmi"
setenv vout "dvi"

# usb pwren before [b]hdmitx edid[/b] and [b]showlogo ${m}[/b]
# this contains in boot.ini by default.
if test "${display_autodetect}" = "true"; then usb pwren; hdmitx edid; fi
if test "${m}" = "custombuilt"; then setenv cmode "modeline=${modeline}"; fi

# add showlogo command after [b]hdmitx edid[/b]
showlogo ${m}

# set logoopt
logoopt "osd1,loaded,0x3f800000,${m}"

# add logo=${logoopt} in bootargs
setenv bootargs "root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro ${condev} no_console_suspend hdmimode=${m} ${cmode} m_bpp=${m_bpp} vout=${vout} fsck.repair=yes net.ifnames=0 elevator=noop disablehpd=${hpd} max_freq=${max_freq} maxcpus=${maxcpus} monitor_onoff=${monitor_onoff} disableuhs=${disableuhs} mmc_removable=${mmc_removable} usbmulticam=${usbmulticam} ${hid_quirks} logo=${logoopt}"
3. reboot

Code: Select all

$ sudo reboot
If you need more information, please let me know.

joy
Posts: 726
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 0
Been thanked: 3 times
Contact:

Re: Bootlogo with VU7 plus

Unread post by joy » Tue Sep 26, 2017 4:28 pm

And one more thing I have to share with you is..
At the time that kernel just starts and hdmi driver is loaded, you will have a short blink screen for around 1 second
because of kernel's hdmi driver initialization.
It's mandatory routine because the hdmi driver of u-boot is not able to cover all of display modes like 4K or unusual resolutions.
So far I don't have a good solution to eliminate the short blink issue.

facotl
Posts: 51
Joined: Tue Mar 24, 2015 5:06 pm
languages_spoken: english, francais
ODROIDs: C1
Has thanked: 0
Been thanked: 0
Contact:

Re: Bootlogo with VU7 plus

Unread post by facotl » Fri Oct 06, 2017 6:31 pm

Ok thank your for your help, i will try tomorrow.

facotl
Posts: 51
Joined: Tue Mar 24, 2015 5:06 pm
languages_spoken: english, francais
ODROIDs: C1
Has thanked: 0
Been thanked: 0
Contact:

Re: Bootlogo with VU7 plus

Unread post by facotl » Sat Oct 07, 2017 5:10 pm

Hello,
It doesn't work, I have a black screen. Is that compatible with odroid ubuntu minimal ?

Could you give your boot.ini please ? Maybe I did a mistake.

I run a framebuffer application but screen still black...

joy
Posts: 726
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 0
Been thanked: 3 times
Contact:

Re: Bootlogo with VU7 plus

Unread post by joy » Tue Oct 10, 2017 7:22 pm

Here is the boot.ini I've confirmed.

And I also attached boot-logo.bmp file.
Just copy the bmp file to FAT file system.

And did you update your kernel and u-boot?
Your version should be 3.14.79-116 or higher version.

I didn't check ubuntu minimal image and I think ubuntu minimal image has no problem,
but I will check it again with the latest minimal image to make sure. :)
Attachments
boot-logo.bmp.gz
(49.54 KiB) Downloaded 154 times
boot.ini
(6.7 KiB) Downloaded 125 times

joy
Posts: 726
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 0
Been thanked: 3 times
Contact:

Re: Bootlogo with VU7 plus

Unread post by joy » Wed Oct 11, 2017 11:40 am

Hello, facotl.
I've checked a minimal image after package upgrade
and it works.

Did you check your version?
In my case, I should install linux-image-c2 by force and then upgrade again.

Code: Select all

$ sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y
$ sudo reboot

$ sudo apt-get install linux-image-c2
$ sudo reboot

$ sudo apt-get upgrade
$ sudo reboot
Then, confirm the new package version.

Code: Select all

$ uname -a
Linux odroid64 3.14.79-116 #1 SMP PREEMPT Tue Sep 26 01:19:06 BRT 2017 aarch64 aarch64 aarch64 GNU/Linux
Please let me know if you have the black screen issue even after upgrade.

[P.S.]
I attached boot.ini file used for a ubuntu minimal test.
Attachments
boot.ini
(6.76 KiB) Downloaded 138 times

joy
Posts: 726
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X
Has thanked: 0
Been thanked: 3 times
Contact:

Re: Bootlogo with VU7 plus

Unread post by joy » Thu Oct 19, 2017 12:18 pm

facotl wrote: It doesn't work, I have a black screen. Is that compatible with odroid ubuntu minimal ?
Is your "display_autodetect" option set as "false" in boot.ini?
If so, please change it as "true" and try reboot.
I found one issue when display_autodetect is disabled, "logoopt" should be deleted.
I will fix it.

And you don't need to use manual display setting.
Please refer to my boot.ini file I've shared with you in the previous post.
C2 sets display options for VU7+ automatically even including dvi option. :)

facotl
Posts: 51
Joined: Tue Mar 24, 2015 5:06 pm
languages_spoken: english, francais
ODROIDs: C1
Has thanked: 0
Been thanked: 0
Contact:

Re: Bootlogo with VU7 plus

Unread post by facotl » Sat Nov 18, 2017 12:20 am

Hello,
Sorry for my response late (out of office).
It works, thank you.

How to avoid dmesg output that hide the image please ?
Is there any way to have a clean black screen before image ?

facotl
Posts: 51
Joined: Tue Mar 24, 2015 5:06 pm
languages_spoken: english, francais
ODROIDs: C1
Has thanked: 0
Been thanked: 0
Contact:

Re: Bootlogo with VU7 plus

Unread post by facotl » Tue Nov 21, 2017 6:24 am

Do you have any info about my 2 questions please ?

User avatar
tobetter
Posts: 3039
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 9 times
Been thanked: 23 times
Contact:

Re: Bootlogo with VU7 plus

Unread post by tobetter » Tue Nov 21, 2017 10:38 am

facotl wrote:Do you have any info about my 2 questions please ?
If you are meaning to hide kernel log while booting, you can add quiet at the bootargs in boot.ini. So it might be like this.
setenv bootargs "root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro ${condev} quiet no_console_suspend hdmimode=${m} ${cmode} m_bpp=${m_bpp} vout=${vout} fsck.repair=yes net.ifnames=0 elevator=noop disablehpd=${hpd} max_freq=${max_freq} maxcpus=${maxcpus} monitor_onoff=${monitor_onoff} disableuhs=${disableuhs} mmc_removable=${mmc_removable} usbmulticam=${usbmulticam} ${hid_quirks} logo=${logoopt}"

facotl
Posts: 51
Joined: Tue Mar 24, 2015 5:06 pm
languages_spoken: english, francais
ODROIDs: C1
Has thanked: 0
Been thanked: 0
Contact:

Re: Bootlogo with VU7 plus

Unread post by facotl » Fri Nov 24, 2017 9:45 pm

Hello,

Thank you for your help.

With quiet i have the 4 penguins image (4 cpus) that kick my logo. How to avoid that please ?

About my second question, do you have any idea how to avoid strange images before boot logo ?

Post Reply

Return to “Issues”

Who is online

Users browsing this forum: No registered users and 1 guest