WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to modify the boot logo  (Read 1677 times)

Offline Meekdai

  • Newbie
  • *
  • Posts: 14
Re: How to modify the boot logo
« Reply #15 on: January 11, 2022, 07:38:16 PM »
Hi rich
Looks very difficult for me.
I want to know that it is a common requirement for this kind of embedded device to only display the LOGO until the APP is running.
Why is there no ready-made system that can be used´╝č

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 10149
Re: How to modify the boot logo
« Reply #16 on: January 11, 2022, 08:13:17 PM »
Hi Meekda
You kind of answered your own question when you said "embedded device". Embedded devices typically tend to
behave more like appliances. They basically serve a single purpose and are expected to turn on quickly. They
also might be running on specialized processors, like the Toradex youtube video you linked to. It's quite possible
these devices also use custom bootloaders.

Offline Meekdai

  • Newbie
  • *
  • Posts: 14
Re: How to modify the boot logo
« Reply #17 on: January 11, 2022, 09:34:10 PM »
Hi rich
Then I will try my best to achieve the splash screen I want on the TC. Make it easy for everyone in the future.
I try to solve the problem of image gets shifted first. Let me know if you have any ideas, thanks.

Offline gadget42

  • Full Member
  • ***
  • Posts: 249
Re: How to modify the boot logo
« Reply #18 on: January 12, 2022, 06:01:23 AM »
maybe it was just me, but wasn't the planet redrawn 90 degrees clockwise(in addition to being in a difference area of the screen).

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 10149
Re: How to modify the boot logo
« Reply #19 on: January 12, 2022, 07:40:03 AM »
Hi gadget42
Nice catch, it is rotated 90 degrees clockwise. If the  fbv  program thinks it saw the  "m"  key pressed, it will do that.
Since the program is backgrounded, it should not see any keyboard activity.

It's quite possible the reason the image appeared to shift was due to the rotation. For example, If the image is
800x600 on a 800x600 display, it will be 600x800 after rotation on that same display. The fbv program will center
the image horizontally but pin what is now the top edge of the image to the top edge of the display, clipping the
rest of the image off of the bottom.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 10149
Re: How to modify the boot logo
« Reply #20 on: January 12, 2022, 07:46:29 AM »
Hi Meekda
Did you follow the modification directions in the link in reply #1 exactly or did you make some changes?

Offline Meekdai

  • Newbie
  • *
  • Posts: 14
Re: How to modify the boot logo
« Reply #21 on: January 12, 2022, 05:01:04 PM »
Hi rich
I followed the link in reply #1 exactly.The link below is the pack I made, you can download and check
http://[Link removed]

I found that the picture is not displayed every time, and sometimes it is only a black screen.
« Last Edit: January 12, 2022, 06:10:37 PM by Rich »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 10149
Re: How to modify the boot logo
« Reply #22 on: January 12, 2022, 06:12:47 PM »
Hi Meekdai
I'm sorry but your link has been removed.

The  Forum Rules and Guidelines  state:
Quote
2. No attachments/links of binary extensions
Found here:
http://forum.tinycorelinux.net/index.php/topic,7738.0.html

You are not allowed to post binary attachments, or direct links to external binaries.
You may post a link that takes you  to an external site, where someone can then choose to download something.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 10149
Re: How to modify the boot logo
« Reply #23 on: January 12, 2022, 06:42:48 PM »
Hi Meekdai
The file looks OK as far as I can tell. The boot logo is different from what was in your video.
You might want to consider cropping the logo to a smaller size so it works with other screen sizes. You can add
the -k switch to fbv to tell it to resize the image to fit the screen. If you don't care about aspect ratio, the -r
switch will make it fill the screen even if the aspect ratio does not match.

... I found that the picture is not displayed every time, and sometimes it is only a black screen.
Since you are booting from a USB device, add a  waitusb  boot code:
Code: [Select]
loglevel=3 cde vga=895 logo.nologo=1 console=/dev/null waitusb=5and see if that helps.

... I try to solve the problem of image gets shifted first. Let me know if you have any ideas, thanks.
If you are booting using a VM, Hypervisor, or some other intermediary, see if booting on bare metal helps.

Offline Meekdai

  • Newbie
  • *
  • Posts: 14
Re: How to modify the boot logo
« Reply #24 on: January 12, 2022, 07:19:09 PM »
Hi rich
Sorry,I didn't read the Forum rules carefully.
Yes, I replaced the logo so that its rotation is more visible. My screen is 1920*1080,so I use the logo has the same resolution.
I try to add waitusb in boot code, it didn't help, problem still exists.

Quote
If you are booting using a VM, Hypervisor, or some other intermediary, see if booting on bare metal helps.
I'm currently testing on bare metal(my old pc).

Offline Meekdai

  • Newbie
  • *
  • Posts: 14
Re: How to modify the boot logo
« Reply #25 on: January 13, 2022, 12:59:21 AM »
Hi rich

Quote
... I found that the picture is not displayed every time, and sometimes it is only a black screen.
To solve this problem, I deleted
Code: [Select]
console=/dev/nulland the log display
Code: [Select]
fb0 No such file or directoryBecause sometimes fb0 does not complete initialization.Then I put the code in tc-config file after "$WAITUSB" about line 126. It can show logo everytime.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 10149
Re: How to modify the boot logo
« Reply #26 on: January 13, 2022, 10:39:27 AM »
Hi Meekdai
... To solve this problem, I deleted ...

 ... Because sometimes fb0 does not complete initialization. ...
...
Code: [Select]
loglevel=3 cde vga=895 logo.nologo=1 console=/dev/null waitusb=5 ...
Where did you get that value of  895  for the  vga  code from? Try one of the values listed here (maybe 795):
http://tinycorelinux.net/faq.html#bootcodes

Then see if it works reliably as originally suggested.

Offline Meekdai

  • Newbie
  • *
  • Posts: 14
Re: How to modify the boot logo
« Reply #27 on: January 13, 2022, 04:57:56 PM »
Hi rich
I use
Code: [Select]
vga=askto get the 895,and it's 1920*1080 resolution. I will try 795 later.

And I find the logo redrawn 90 degrees, becaus some extensions are load. when  I use Core-12.0.iso with no extension load, the logo is not redrawn.

Offline Meekdai

  • Newbie
  • *
  • Posts: 14
Re: How to modify the boot logo
« Reply #28 on: January 13, 2022, 05:36:48 PM »
Hi rich
I use a 640*480 resolution logo,and try with the following code:
Code: [Select]
loglevel=3 cde vga=786 logo.nologo=1 waitusb=5Startup log still showing
Code: [Select]
fb0 No such file or directory