Hi Rabie
... i want to do the same thing with fbv on PiCore, where do i start ?
ARM is different from x86, but I think I can get you part of the way there. Since you said v7, I will try to include that
reference wherever it is relevant.
VERSION is the version number of the zip file name. The latest as of this writing is piCore-13.0.3.zip
1. Unzip the piCore-VERSION.zip file.
2. Mount the .img file:
http://forum.tinycorelinux.net/index.php/topic,24063.msg151721.html#msg1517213. Unpack the core.gz (initrd) file:
http://forum.tinycorelinux.net/index.php/topic,24622.msg156235.html#msg156235 /path/to/existing/core.gz will be P1/VERSIONv7.gz
4. Make your changes and repack your new initrd file, same link as item #3:
http://forum.tinycorelinux.net/index.php/topic,24622.msg156235.html#msg156235That ends what I know. What follows is what I
think I know.
I don't have Pi hardware, but
I did perform some commands under x86 on piCore-9.0.3.zip and its contents.Based on the following 2 commands:
tc@E310:~/PiCore/TC9$ df -h P1
Filesystem Size Used Avail Use% Mounted on
/dev/loop284p1 34M 30M 3.7M 90% /home/tc/PiCore/TC9/P1
tc@E310:~/PiCore/TC9$
tc@E310:~/PiCore/TC9$ lsblk /dev/loop284p1
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop284p1 259:0 0 34M 0 loop /home/tc/PiCore/TC9/P1
tc@E310:~/PiCore/TC9$
The df command shows the partition is 34M in size, and has
3.7M of free space.
The lsblk command shows the Read Only flag is not set, suggesting this partition is writable.
I confirmed this by first copying a small file (150K) to P1/ and then deleting it.
I then copied a larger file (4.4M) to P1/ which gave a No space left on device error. The file copied to P1/ was only
3.7M in size.
When you repack your initrd, you should rename it (i.e. Splash-VERSIONv7.gz) to indicate it is not original.
Delete P1/VERSIONv7.gz before copying Splash-VERSIONv7.gz to P1/. You won't have room for both.
You will also need to edit P1/config.txt. Replace VERSIONv7.gz with Splash-VERSIONv7.gz for [PI2] and [PI3].
Unmount P1 and P2.
Rename the piCore-VERSION.img (i.e. piCore-Splash-VERSION.img) file to indicate it is not original.
Hopefully I got everything right.