... 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
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.losetup -d /dev/loop284
Replace 284 with the loop number you were assigned initially.... i want to do the same thing with fbv on PiCore, where do i start ?The previous writeup was for piCore-9. This one is for piCore-13
tc@E310:~/PiCore/TC13$ df -h P1
Filesystem Size Used Avail Use% Mounted on
/dev/loop284p1 63M 49M 15M 77% /home/tc/PiCore/TC13/P1
tc@E310:~/PiCore/TC13$
tc@E310:~/PiCore/TC13$ sudo lsblk /dev/loop284p1
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop284p1 259:0 0 64M 0 loop /home/tc/PiCore/TC13/P1
tc@E310:~/PiCore/TC13$
The df command shows the partition is 63M in size, and has 15M of free space.losetup -d /dev/loop284
Replace 284 with the loop number you were assigned initially.The previous writeup was for piCore-9. This one is for piCore-13
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#msg151721
3. Unpack the rootfs (initrd) file:
http://forum.tinycorelinux.net/index.php/topic,24622.msg156235.html#msg156235
/path/to/existing/core.gz will be P1/rootfs-piCore-VERSION.gz
4. Make your changes and repack your new rootfs file, same link as item #3:
http://forum.tinycorelinux.net/index.php/topic,24622.msg156235.html#msg156235
That 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-13.0.3.zip and its contents.
/ usr/ bin/ bash / path/ to /myscript.sh
"the spaces between so the forum does not flag an error" ;Dwhile loading shared libraries: libncursesw.so.6: cannot open shared object file: No such file or directory
...Try copying it to /usr/libCode: [Select]while loading shared libraries: libncursesw.so.6: cannot open shared object file: No such file or directory
so i copied the libncursesw.so.6 also in / usr/ bin/ lib ...
Try copying it to /usr/lib
/lib/libncursesw.so.6.2
/lib/libncursesw.so.6
/lib/libncursesw.so
/lib/libncurses++w.so.6.2
/lib/libncurses++w.so.6
/lib/libncurses++w.so
/usr/local/lib/libncursesw.so.6.2
/usr/local/lib/libncursesw.so.6
/usr/local/lib/libncursesw.so
/usr/local/lib/libncurses++w.so.6.2
/usr/local/lib/libncurses++w.so.6
/usr/local/lib/libncurses++w.so
/usr/lib/libncursesw.so.6.2
/usr/lib/libncursesw.so.6
/usr/lib/libncursesw.so
/usr/lib/libncurses++w.so.6.2
/usr/lib/libncurses++w.so.6
/usr/lib/libncurses++w.so
... i copied after that to all the "lib" directories but also the same error: ...Don't do that.
/lib = Base libraries required by the kernel, /bin, and /sbin.
/usr/lib = Libraries for distros base, libraries from extensions that insist on placing them here.
/usr/local/lib = Libraries from extensions.