WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] SPLASH SCREEN TINY CORE  (Read 8932 times)

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 272
Re: SPLASH SCREEN TINY CORE
« Reply #15 on: December 26, 2020, 06:34:07 AM »
Hi Rich,

Quote
You're running 64 bit?
yes i am running a 64 bit core..

Quote
There is a  video=  boot code that references frame buffer:
https://mjmwired.net/kernel/Documentation/kernel-parameters.txt#4358

This is the frame buffer documentation that boot code refers to:
https://mjmwired.net/kernel/Documentation/fb/
i am trying to read this documentation, but i don't realy understand the Usage and how to use a Splash screen with the boot code video=.




Offline Rabie

  • Sr. Member
  • ****
  • Posts: 272
Re: SPLASH SCREEN TINY CORE
« Reply #16 on: December 26, 2020, 05:16:29 PM »
Hi Rich,

i finaly got it work !  ;D ;D

you were right i had to use VGA and logo.nologo

thank you very much..

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11573
Re: [Solved] SPLASH SCREEN TINY CORE
« Reply #17 on: December 26, 2020, 09:53:06 PM »
Hi Rabie
Glad to hear you got it working. If you wouldn't mind:
1. Review my reply #6 for accuracy.
2. Post the  vga  code you used.
3. Provide the specifications of the splash image you used:
    A. Format (png or jpeg).
    B. Size, width and height.
    C. Color depth if known, i.e. 8 bit  256 color.

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 272
Re: [Solved] SPLASH SCREEN TINY CORE
« Reply #18 on: December 28, 2020, 05:57:39 AM »
HI Rich,

yes of course, so here is what i did:

Quote
mkdir tempdir
cd tempdir
zcat /path/to/existing/core.gz | sudo cpio -i

sudo cp -a /tmp/tcloop/fbv/usr/local/bin/fbv usr/bin
sudo cp -a /tmp/tcloop/libpng/usr/local/lib/* usr/lib
sudo cp -a /tmp/tcloop/libjpeg/usr/local/lib/* usr/lib
cp Path/To/YourImage etc/init.d

# Changes will be made to the  rcS  file.
editor etc/init.d/rcS
#replaced this "/etc/init.d/tc-config" with:

/usr/bin/fbv -a -i /etc/init.d/YourImage &
/etc/init.d/tc-config >/dev/null 2>&1
/usr/bin/killall -q fbv &

#replaced the existing core.gz with the new one
cd tempdir
sudo find . | sudo cpio -o -H newc | gzip > /path/to/existing/core.gz

#so for the error "open /dev/fb0 no such device":

i used the folowing:
VGA = 795 for 1280x1024 resolution  *because i did not found a VGA code for the 1920x1080 resolution*
logo.nologo=1 so the Tinycore logo dosen't come while booting
console=/dev/null so the echo lines in tc-config dosn't come while booting

Quote
Provide the specifications of the splash image you used:
    A. Format (png or jpeg).
    B. Size, width and height.
    C. Color depth if known, i.e. 8 bit  256 color.

A. i used PNG ( all 1280x1024 )
B. i used several Sizes like ( 1,70 MB, 1 MB, 500 KB )
C. like i said i used the code VGA=795 i think it stand for 16.7M Color , 24 bit , 1280x1024

thank you very much !!  :) :)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11573
Re: [Solved] SPLASH SCREEN TINY CORE
« Reply #19 on: December 28, 2020, 09:12:22 AM »
Hi Rabie
Thank you, very concise. Just one more question. After:
Code: [Select]
sudo cp -a /tmp/tcloop/libpng/usr/local/lib/* usr/lib
sudo cp -a /tmp/tcloop/libjpeg/usr/local/lib/* usr/lib
Didn't you need to run:
Code: [Select]
sudo ldconfig -r $PWD

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 272
Re: [Solved] SPLASH SCREEN TINY CORE
« Reply #20 on: December 28, 2020, 12:55:02 PM »
Hi Rich,

Quote
sudo ldconfig -r $PWD
no i didn't need to use that.

do u know if there is a vga boot code for the resolution 1920x1080 ?

thanks
 
Rabie

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11573
Re: [Solved] SPLASH SCREEN TINY CORE
« Reply #21 on: December 28, 2020, 01:44:58 PM »
Hi Rabie
Try changing this:
Code: [Select]
vga=795to this:
Code: [Select]
vga=askWhen you boot, you should see a prompt to see video modes available, press enter.
Pick a resolution. There is a 3 digit hex code to the left of the resolution. Enter the 3 digit code and hit enter.
If you are satisfied with the result, convert the hex number to decimal and use it with the  vga=  boot code.

Which boot loader are you using? grub, grub2, syslinux, ... ?

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 272
Re: [Solved] SPLASH SCREEN TINY CORE
« Reply #22 on: December 28, 2020, 02:16:25 PM »
Hi Rich,

Quote
vga=ask
i'll try that..

Quote
Which boot loader are you using? grub, grub2, syslinux, ... ?
i am using syslinux i guess. is the standard bootloader of Tiny Core the syslinux ?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11573
Re: [Solved] SPLASH SCREEN TINY CORE
« Reply #23 on: December 28, 2020, 02:26:27 PM »
Hi Rabie
The tc-install extension uses syslinux. I use grub. I have an oddball netbook and had to use grub2 for that.

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 272
Re: [Solved] SPLASH SCREEN TINY CORE
« Reply #24 on: December 29, 2020, 08:13:33 AM »
Hi Rich,

i haven't use grub or grub2 yet, but syslinux is working fine !  :)