Boot/Splash logo change
-
- Posts: 26
- Joined: Tue Nov 20, 2018 1:11 am
- languages_spoken: english
- ODROIDs: Odroid-Go
Odroid-Go Advance - Has thanked: 6 times
- Been thanked: 4 times
- Contact:
Boot/Splash logo change
Hey guys,
Can someone point me in the right direction on how to the OGA boot/splash screen?
Replace the image in SPI Flash?
Can someone point me in the right direction on how to the OGA boot/splash screen?
Replace the image in SPI Flash?
-
- Posts: 9057
- Joined: Wed Jul 15, 2015 5:00 pm
- languages_spoken: english
- ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
- Location: Bucharest, Romania
- Has thanked: 595 times
- Been thanked: 576 times
- Contact:
Re: Boot/Splash logo change
See the flash layout here: https://wiki.odroid.com/odroid_go_advan ... ery_spirom
Try extracting the hardkernel logo.gz with dd. Get file properties with mediainfo to see resolution + bit depth. Create your own bmp, gzip it, check the size (so it fits in its slot) and flash it with dd.
Try extracting the hardkernel logo.gz with dd. Get file properties with mediainfo to see resolution + bit depth. Create your own bmp, gzip it, check the size (so it fits in its slot) and flash it with dd.
-
- Posts: 1492
- Joined: Fri Oct 02, 2015 1:44 pm
- languages_spoken: english
- ODROIDs: ODROID-C1+, XU4, X
- Has thanked: 166 times
- Been thanked: 190 times
- Contact:
Re: Boot/Splash logo change
Hi.
If you want to change only booting LOGO image, you don't need to update SPI flash,
but just copy a bmp image in vfat folder of SD card with name "logo.bmp".
In u-boot logic, a display driver finds (1) logo.bmp in vfat folder of SD card
and then, (2) read a logo section of SPI Flash if there is no available image in sd card.
Please note the image size should be 320x480 (portrait one) and bmp format.
Here is a reference sample, logo_hardkernel.bmp.
https://github.com/hardkernel/u-boot/tr ... hardkernel
If you want to change only booting LOGO image, you don't need to update SPI flash,
but just copy a bmp image in vfat folder of SD card with name "logo.bmp".

In u-boot logic, a display driver finds (1) logo.bmp in vfat folder of SD card
and then, (2) read a logo section of SPI Flash if there is no available image in sd card.
Please note the image size should be 320x480 (portrait one) and bmp format.
Here is a reference sample, logo_hardkernel.bmp.
https://github.com/hardkernel/u-boot/tr ... hardkernel
-
- Posts: 1492
- Joined: Fri Oct 02, 2015 1:44 pm
- languages_spoken: english
- ODROIDs: ODROID-C1+, XU4, X
- Has thanked: 166 times
- Been thanked: 190 times
- Contact:
Re: Boot/Splash logo change
Hi @mad_ady,
Your guide is also available for OGA users who want to mount their LOGO image in SPI flash permanently.
I will make a wiki page this week including two methods.
Thanks!
Your guide is also available for OGA users who want to mount their LOGO image in SPI flash permanently.

I will make a wiki page this week including two methods.
Thanks!
-
- Posts: 26
- Joined: Tue Nov 20, 2018 1:11 am
- languages_spoken: english
- ODROIDs: Odroid-Go
Odroid-Go Advance - Has thanked: 6 times
- Been thanked: 4 times
- Contact:
-
- Posts: 26
- Joined: Tue Nov 20, 2018 1:11 am
- languages_spoken: english
- ODROIDs: Odroid-Go
Odroid-Go Advance - Has thanked: 6 times
- Been thanked: 4 times
- Contact:
Re: Boot/Splash logo change
Hi @Joy, I just tried it and the image does appear but the OS doesn't load. I'm wondering if the issue is due to bmp specs.
W320 x H480
24bit
Also, I tried copying the sample bmp from: https://github.com/hardkernel/u-boot/tr ... hardkernel and get the same result.
This is where it hangs:

-
- Posts: 1492
- Joined: Fri Oct 02, 2015 1:44 pm
- languages_spoken: english
- ODROIDs: ODROID-C1+, XU4, X
- Has thanked: 166 times
- Been thanked: 190 times
- Contact:
Re: Boot/Splash logo change
Hi @Moud_Sanchez,Moud_Sanchez wrote: ↑Thu Feb 20, 2020 1:08 pmHi @Joy, I just tried it and the image does appear but the OS doesn't load. I'm wondering if the issue is due to bmp specs.
W320 x H480
24bit
Also, I tried copying the sample bmp from: https://github.com/hardkernel/u-boot/tr ... hardkernel and get the same result.
I can reproduce the same issue with the latest OS image.

I will check it and fix it soon.
Could you wait for a couple of days?
So sorry for the inconvenience.
- These users thanked the author joy for the post:
- Moud_Sanchez (Fri Feb 21, 2020 1:18 am)
-
- Posts: 20
- Joined: Tue Jan 07, 2020 2:50 pm
- languages_spoken: english
- ODROIDs: Odroid Go, Odroid Go Advanced
- Has thanked: 4 times
- Been thanked: 7 times
- Contact:
Re: Boot/Splash logo change
Hi @Joy, when you update the wiki, please include how to enable the standard linux boot messages -- as in the above picture. (I like having the HK logo on SPI boot. It's cool.) But Ubuntu splash hides important details. Removing the "quiet splash" from BOOT's boot.ini simply blanks the Ubuntu startup logo still no messages. In most linux distros, that would stop suppressing boot messages.
Thanks in advance. MG
Thanks in advance. MG
- These users thanked the author maker_gamer for the post:
- notime2d8 (Sat Feb 22, 2020 7:39 am)
-
- Posts: 1492
- Joined: Fri Oct 02, 2015 1:44 pm
- languages_spoken: english
- ODROIDs: ODROID-C1+, XU4, X
- Has thanked: 166 times
- Been thanked: 190 times
- Contact:
Re: Boot/Splash logo change
Hi @maker_gamer,maker_gamer wrote: ↑Thu Feb 20, 2020 3:36 pmHi @Joy, when you update the wiki, please include how to enable the standard linux boot messages -- as in the above picture. (I like having the HK logo on SPI boot. It's cool.) But Ubuntu splash hides important details. Removing the "quiet splash" from BOOT's boot.ini simply blanks the Ubuntu startup logo still no messages. In most linux distros, that would stop suppressing boot messages.
Thanks in advance. MG
OK. I see well.
I will add the section in a new wiki page.
Thank you for the valuable comment.
- odroid
- Site Admin
- Posts: 36393
- Joined: Fri Feb 22, 2013 11:14 pm
- languages_spoken: English, Korean
- ODROIDs: ODROID
- Has thanked: 1439 times
- Been thanked: 980 times
- Contact:
Re: Boot/Splash logo change
Please note that the Kernel boot log display may slow down the booting time a couple of seconds.
-
- Posts: 5215
- Joined: Tue Dec 30, 2014 8:42 pm
- languages_spoken: english
- ODROIDs: C1
- Has thanked: 0
- Been thanked: 399 times
- Contact:
Re: Boot/Splash logo change
The messages displayed appears to indicate an issue with the SD card since the root partition can not be mounted.
-
- Posts: 26
- Joined: Tue Nov 20, 2018 1:11 am
- languages_spoken: english
- ODROIDs: Odroid-Go
Odroid-Go Advance - Has thanked: 6 times
- Been thanked: 4 times
- Contact:
Re: Boot/Splash logo change
@joy - thank you for looking into it and anxious to try the result.
@Etx - it didn't work.
@crashoverride - I thought that too so I've tried multiple SDs on Stock, TheRA and Batocera - all behave the same. Also, please note that it boots up fine in all my SDs and builds without a logo.bmp in vfat.

@Etx - it didn't work.

@crashoverride - I thought that too so I've tried multiple SDs on Stock, TheRA and Batocera - all behave the same. Also, please note that it boots up fine in all my SDs and builds without a logo.bmp in vfat.

-
- Posts: 26
- Joined: Tue Nov 20, 2018 1:11 am
- languages_spoken: english
- ODROIDs: Odroid-Go
Odroid-Go Advance - Has thanked: 6 times
- Been thanked: 4 times
- Contact:
Re: Boot/Splash logo change
Ya, saw that article before I created this post, I believe he modified the bootloader.
-
- Posts: 1492
- Joined: Fri Oct 02, 2015 1:44 pm
- languages_spoken: english
- ODROIDs: ODROID-C1+, XU4, X
- Has thanked: 166 times
- Been thanked: 190 times
- Contact:
Re: Boot/Splash logo change
@Moud_Sanchez,
So sorry for late update.
I was not available to look into this issue last week because of other jobs.
For this issue, I found a root cause.
After 'run bootcmd' of u-boot, display driver tries to parse drm parameters and load logo image again
and during this process with 'fatload', it looks ramdisk-related header gets modified abnormally.
https://github.com/hardkernel/u-boot/bl ... ay.c#L1433
Actually I still keep finding the exact address, but I made a patch that makes you load your custom logo image by adding fat folder.
Once I confirm this approach is best, it will be included for a next release.
Here is the u-boot patch.
I attached a diff file, too.
With this patch, you can use your custom logo by just adding "logo.bmp" into fat folder of your sd card.
BMP file format is same as I mentioned before and you used for previous test.
You need to build u-boot with this patch.
If you don't have build environment, I will provide binary files of boot loaders soon for your test.
(*** updated ***) I also attached a test boot loaders. "sd_fuse_20200226_logotest.zip".
Then, update boot loaders of SD card as following.
https://wiki.odroid.com/odroid_go_advan ... ur_sd_card
If you need another guide to update boot loader, please let me know.
So sorry for late update.
I was not available to look into this issue last week because of other jobs.
For this issue, I found a root cause.
After 'run bootcmd' of u-boot, display driver tries to parse drm parameters and load logo image again
and during this process with 'fatload', it looks ramdisk-related header gets modified abnormally.
https://github.com/hardkernel/u-boot/bl ... ay.c#L1433
Code: Select all
rootfs image is not initramfs (junk in compressed archive); looks like an initrd
Once I confirm this approach is best, it will be included for a next release.
Here is the u-boot patch.
I attached a diff file, too.
With this patch, you can use your custom logo by just adding "logo.bmp" into fat folder of your sd card.
BMP file format is same as I mentioned before and you used for previous test.
Code: Select all
diff --git a/drivers/video/drm/rockchip_display.c b/drivers/video/drm/rockchip_display.c
index 326ac12..7163f45 100644
--- a/drivers/video/drm/rockchip_display.c
+++ b/drivers/video/drm/rockchip_display.c
@@ -1427,10 +1427,12 @@
{
struct display_state *s;
int offset = 0;
+ unsigned long bmp_mem;
if (fdt_node_offset_by_compatible(blob, 0, "rockchip,drm-logo") >= 0) {
list_for_each_entry(s, &rockchip_display_list, head) {
- if (lcd_show_logo())
+ bmp_mem = get_drm_memory() + DRM_ROCKCHIP_FB_SIZE;
+ if (show_bmp(bmp_mem))
return;
}
If you don't have build environment, I will provide binary files of boot loaders soon for your test.
(*** updated ***) I also attached a test boot loaders. "sd_fuse_20200226_logotest.zip".
Then, update boot loaders of SD card as following.
https://wiki.odroid.com/odroid_go_advan ... ur_sd_card
If you need another guide to update boot loader, please let me know.
- Attachments
-
- sd_fuse_20200226_logotest.zip
- (2.35 MiB) Downloaded 84 times
-
- 0001_uboot_oga_fix_abnormal_memory_load_logoimage.diff.zip
- (588 Bytes) Downloaded 55 times
- These users thanked the author joy for the post (total 2):
- Moud_Sanchez (Wed Feb 26, 2020 3:59 pm) • JLsoft (Fri Feb 28, 2020 2:08 pm)
-
- Posts: 26
- Joined: Tue Nov 20, 2018 1:11 am
- languages_spoken: english
- ODROIDs: Odroid-Go
Odroid-Go Advance - Has thanked: 6 times
- Been thanked: 4 times
- Contact:
Re: Boot/Splash logo change
Hi @joy, this is amazing - thank you for looking into it.joy wrote: ↑Wed Feb 26, 2020 12:40 pmYou need to build u-boot with this patch.
If you don't have build environment, I will provide binary files of boot loaders soon for your test.
(*** updated ***) I also attached a test boot loaders. "sd_fuse_20200226_logotest.zip".
Then, update boot loaders of SD card as following.
https://wiki.odroid.com/odroid_go_advan ... ur_sd_card
If you need another guide to update boot loader, please let me know.
Unfortunately, I'm traveling for work until the end of March and don't have access to a build environment.
Also, it'll be awesome if you can provide another guide. I can study it while I'm away

Thank you!
-
- Posts: 1492
- Joined: Fri Oct 02, 2015 1:44 pm
- languages_spoken: english
- ODROIDs: ODROID-C1+, XU4, X
- Has thanked: 166 times
- Been thanked: 190 times
- Contact:
Re: Boot/Splash logo change
Hi @Moud_Sanchez,Moud_Sanchez wrote: ↑Wed Feb 26, 2020 3:59 pmUnfortunately, I'm traveling for work until the end of March and don't have access to a build environment.
Also, it'll be awesome if you can provide another guide. I can study it while I'm away![]()
Thank you for the feedback.
I've attached pre-built boot loaders in my previous post, so you don't need to build u-boot, but just use the binaries.

Please find an attachment, "sd_fuse_20200226_logotest.zip".
And are you familiar with running 'dd' utility as described in this wiki page?
https://wiki.odroid.com/odroid_go_advan ... ur_sd_card
I will find another way to update u-boot of SD card.
Or anybody here who has idea to update u-boot without 'dd' unitlity?
Let me check if there is any plan for a next new image or other methods like using package update.
- These users thanked the author joy for the post:
- Moud_Sanchez (Fri Feb 28, 2020 2:22 am)
-
- Posts: 26
- Joined: Tue Nov 20, 2018 1:11 am
- languages_spoken: english
- ODROIDs: Odroid-Go
Odroid-Go Advance - Has thanked: 6 times
- Been thanked: 4 times
- Contact:
Re: Boot/Splash logo change
Hi @joy,
I only have my work laptop which is win10. I went ahead built an environment anyway
Your patch worked, thank you!
Hopefully it'll be added in the next release.
- These users thanked the author Moud_Sanchez for the post:
- joy (Fri Feb 28, 2020 5:10 am)
-
- Posts: 26
- Joined: Tue Nov 20, 2018 1:11 am
- languages_spoken: english
- ODROIDs: Odroid-Go
Odroid-Go Advance - Has thanked: 6 times
- Been thanked: 4 times
- Contact:
Re: Boot/Splash logo change
Haha
I'm not a dev by profession but in IT infrastructure so I have admin rights

-
- Posts: 1492
- Joined: Fri Oct 02, 2015 1:44 pm
- languages_spoken: english
- ODROIDs: ODROID-C1+, XU4, X
- Has thanked: 166 times
- Been thanked: 190 times
- Contact:
Re: Boot/Splash logo change
Hi @Moud_Sanchez,Moud_Sanchez wrote: ↑Fri Feb 28, 2020 2:19 amHi @joy,
I only have my work laptop which is win10. I went ahead built an environment anyway- just don't tell my work
Your patch worked, thank you!
Hopefully it'll be added in the next release.
Thank you for your confirmation and sharing the result.

That's a cool logo image!
Glad to hear it works.
This patch will be included in a next image.
- These users thanked the author joy for the post:
- Moud_Sanchez (Fri Feb 28, 2020 7:06 am)
-
- Posts: 1492
- Joined: Fri Oct 02, 2015 1:44 pm
- languages_spoken: english
- ODROIDs: ODROID-C1+, XU4, X
- Has thanked: 166 times
- Been thanked: 190 times
- Contact:
Re: Boot/Splash logo change
Hi.
Related commit is merged in hardkernel github.
https://github.com/hardkernel/u-boot/co ... 5721e49ef5
And a wiki page is ready.
https://wiki.odroid.com/odroid_go_advan ... e/bootlogo
Related commit is merged in hardkernel github.
https://github.com/hardkernel/u-boot/co ... 5721e49ef5
And a wiki page is ready.
https://wiki.odroid.com/odroid_go_advan ... e/bootlogo
- These users thanked the author joy for the post:
- Moud_Sanchez (Mon Mar 23, 2020 5:30 pm)
- GldRush98
- Posts: 75
- Joined: Wed Aug 08, 2018 12:58 am
- languages_spoken: English
- ODROIDs: ODROID-Go, ODROID-Go Advance Black Edition
- Location: Taylorville, IL
- Has thanked: 7 times
- Been thanked: 11 times
- Contact:
Re: Boot/Splash logo change
Worked great. I had a problem of trying to place my logo.bmp inside the Ubuntu OS /boot directory. This didn't work, I had to place it on the memory card's partition while it was in a usb reader in my computer.
All customized though!
All customized though!

Who is online
Users browsing this forum: No registered users and 1 guest