Bootlogo with VU7 plus

Moderators: mdrjr, odroid

Bootlogo with VU7 plus

Unread postby 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.
facotl
 
Posts: 17
Joined: Tue Mar 24, 2015 5:06 pm
languages_spoken: english, francais
ODROIDs: C1

Re: Bootlogo with VU7 plus

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

Which OS image do you use?
User avatar
odroid
Site Admin
 
Posts: 24647
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Bootlogo with VU7 plus

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

Hello,
I use Ubuntu.
facotl
 
Posts: 17
Joined: Tue Mar 24, 2015 5:06 pm
languages_spoken: english, francais
ODROIDs: C1

Re: Bootlogo with VU7 plus

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

We will check it.
User avatar
odroid
Site Admin
 
Posts: 24647
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Bootlogo with VU7 plus

Unread postby 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: 335
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X

Re: Bootlogo with VU7 plus

Unread postby 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: 335
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X

Re: Bootlogo with VU7 plus

Unread postby 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.
joy
 
Posts: 335
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X

Re: Bootlogo with VU7 plus

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

Ok thank your for your help, i will try tomorrow.
facotl
 
Posts: 17
Joined: Tue Mar 24, 2015 5:06 pm
languages_spoken: english, francais
ODROIDs: C1

Re: Bootlogo with VU7 plus

Unread postby 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...
facotl
 
Posts: 17
Joined: Tue Mar 24, 2015 5:06 pm
languages_spoken: english, francais
ODROIDs: C1

Re: Bootlogo with VU7 plus

Unread postby 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 4 times
boot.ini
(6.7 KiB) Downloaded 2 times
joy
 
Posts: 335
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X

Re: Bootlogo with VU7 plus

Unread postby 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 2 times
joy
 
Posts: 335
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X

Re: Bootlogo with VU7 plus

Unread postby 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. :)
joy
 
Posts: 335
Joined: Fri Oct 02, 2015 1:44 pm
languages_spoken: english
ODROIDs: ODROID-C1+, XU4, X


Return to Issues

Who is online

Users browsing this forum: No registered users and 4 guests