OpenPLi v1.0 Enigma1 boot logo change
Re: OpenPLi v1.0 Enigma1 boot logo change #21
Posted 3 April 2011 - 18:58
As I was saying- I did not tell you to edit rcS like you have done it: You just need that ONE command line:
/bin/showlogo /var/etc/bild
and not the lines directly above and below it!! You are no longer mounting and unmounting the mtd6 cramfs partition, remember!
Re: OpenPLi v1.0 Enigma1 boot logo change #22
Re: OpenPLi v1.0 Enigma1 boot logo change #23
Posted 3 April 2011 - 20:17
and all this for a logo you'll see only ones in a few months
Agreed, Hemertje- but for some people it's the challenge of doing it (and learning how to master the editing / modding of SquashFS in the process).
For others- it's to impress friends and family when they visit. And then I suppose there is a sub-species living in the mud at the bottom of the pond who want a different boot logo for entirely different reasons.
I sense that the OP is a hobbyist, like me, who is a fast learner. Unlike me, LOL! But remember what I suggested earlier in the thread- that you can replace the Radio Mode b/g picture with one of your own, for instance.. It's just fun, really...
Cheers- AL
Re: OpenPLi v1.0 Enigma1 boot logo change #24
Re: OpenPLi v1.0 Enigma1 boot logo change #25
Posted 3 April 2011 - 21:51
firstly i have flashed the latest openpli-maxvar image.
i am using the desktop as my working directory.
so then, i used ./squazma OpenPLi.img which produced the squashfs-root folder.
the following is displayed in the terminal window:
jim@jimmy-ubuntu:~/Desktop$ ./squazma OpenPLi.img +------------------------------------------------------------------------+ | SQUAZMA-TOOLS by LraiZer - (tuxbox DM500 squashfs image modding tools) | +------------------------------------------------------------------------+ | SYNTAX: ./squazma [ -c | dm500 squashfs image file ] | | | | ./squazma -c | | creates DM500 squashfs root partition image from squashfs-root folder. | | | | ./squazma dm500.img | | extracts the DM500 squashfs root partition from an image file. | | auto stripping CRAMFS (0<0x120000) partition from DM500 image, | | before extracting DM500 squashfs root partition from the image. | +------------------------------------------------------------------------+ 4+0 records in 4+0 records out 4 bytes (4 B) copied, 0.0002262 s, 17.7 kB/s 4+0 records in 4+0 records out 4 bytes (4 B) copied, 0.0002276 s, 17.6 kB/s 4+0 records in 4+0 records out 4 bytes (4 B) copied, 0.00023076 s, 17.3 kB/s OpenPLi.img : found DM500 SQUASHFS partition OpenPLi.img.squazma : stripping CRAMFS(0<0x100000) partition 8144+0 records in 8144+0 records out 4169728 bytes (4.2 MB) copied, 0.193453 s, 21.6 MB/s Reading a different endian SQUASHFS filesystem on OpenPLi.img.squazma created 574 files created 93 directories created 197 symlinks created 0 devices created 0 fifos
then i edit the /etc/init.d/rcS files and replace the three lines with /bin/showlogo /var/etc/bild and save the file.
then i used ./squazma -c which produced a mtd-root.img on the Desktop.
the following is displayed in the terminal window:
jim@jimmy-ubuntu:~/Desktop$ ./squazma -c +------------------------------------------------------------------------+ | SQUAZMA-TOOLS by LraiZer - (tuxbox DM500 squashfs image modding tools) | +------------------------------------------------------------------------+ | SYNTAX: ./squazma [ -c | dm500 squashfs image file ] | | | | ./squazma -c | | creates DM500 squashfs root partition image from squashfs-root folder. | | | | ./squazma dm500.img | | extracts the DM500 squashfs root partition from an image file. | | auto stripping CRAMFS (0<0x120000) partition from DM500 image, | | before extracting DM500 squashfs root partition from the image. | +------------------------------------------------------------------------+ Creating DM500 root partition image from SQUASHFS-ROOT folder... Creating big endian 2.1 filesystem on mtd-root.img, block size 65536. Big endian filesystem, data block size 65536, compressed data, compressed metadata, compressed fragments Filesystem size 4071.39 Kbytes (3.98 Mbytes) 33.97% of uncompressed filesystem size (11984.01 Kbytes) Inode table size 4654 bytes (4.54 Kbytes) 24.43% of uncompressed inode table size (19047 bytes) Directory table size 6365 bytes (6.22 Kbytes) 55.69% of uncompressed directory table size (11429 bytes) Number of duplicate files found 14 Number of inodes 864 Number of files 574 Number of fragments 36 Number of symbolic links 197 Number of device nodes 0 Number of fifo nodes 0 Number of socket nodes 0 Number of directories 93 Number of uids 1 jim (1001) Number of gids 1 jimmy (1000)
then i ftp the mtd-root.img file to the /tmp folder on the dreambox and use the following command:
cd /tmp && eraseall /dev/mtd/5 && cp mtd-root.img /dev/mtd/5 && reboot
when the box reboots i check the /etc/init.d/rcS file and can see the changes made in that file.
i then ftp your bild file into /var/etc and reboot the dm500s.
when the dm500s reboots i get a black screen where the bootlogo would show up but the menus and everything else work fine.
i'm pretty sure i've done everything right this time, but still no bootlogo .../images/smiley/sad.gif
Re: OpenPLi v1.0 Enigma1 boot logo change #26
Posted 4 April 2011 - 09:50
If so, then please attach a copy of your edited rcS in zip or rar form for me to check.
Thanks- AL
Re: OpenPLi v1.0 Enigma1 boot logo change #27
Posted 4 April 2011 - 11:18
if i play the bild file in ubuntu i can see the commando logo.
can you please confirm that you have done the same using the latest openpli maxvar image and the logo works for you?
i will attach the rcS when i finish work.
btw i am just a hobbyist doing this for fun and a challenge /images/smiley/grin.gif
cheers
mamujim
Re: OpenPLi v1.0 Enigma1 boot logo change #28
Re: OpenPLi v1.0 Enigma1 boot logo change #29
Posted 5 April 2011 - 10:17
Basically, it's a conflict of Ownership problem in Ubuntu, which LraiZer cured in this line of the squazma script, by adding the bit in red:
./mksquazma squashfs-root mtd-root.img -be -all-root
Just to be sure, I've attached a new Squazma Tools fileset that incorporates this tweak. I'm sure this will resolve your problem, m8.
Cheers- AL
Attached Files
Re: OpenPLi v1.0 Enigma1 boot logo change #30
Posted 5 April 2011 - 11:31
so do i still use ./squazma -c or do i use ./mksquazma squashfs-root mtd-root.img -be -all-root , they will both do the same thing right?
i got told off for using the later syntax earlier.....lol
Big thanks to PaphosAL and LraiZer for all your help.
i think i'm getting the hang of this linux/ubuntu system. /images/smiley/smile.gif
cheers
mamujim
Re: OpenPLi v1.0 Enigma1 boot logo change #31
Re: OpenPLi v1.0 Enigma1 boot logo change #32
Re: OpenPLi v1.0 Enigma1 boot logo change #33
Posted 5 April 2011 - 18:55
/bin/showlogo /var/etc/bild
exec /bin/start_enigma
exit 0
I think the issue is to do with trying to access the var partition, before it's even been mounted. I have a good feeling about this now, so give it a go, please.
Cheers- AL
Re: OpenPLi v1.0 Enigma1 boot logo change #34
Posted 5 April 2011 - 21:41
tried as suggested and the commando logo is displayed /images/smiley/grin.gif but it is corrupted /images/smiley/more_sad/6.gif
so looking at the rcS file, i put it under the line where the var partition is mounted, so it's at the start and not the end
echo Mounting /var /bin/mount -t jffs2 /dev/mtdblock/1 /var /bin/showlogo /var/etc/bild
but still corrupted bootlogo.
can you please check your rcS file to see where your /bin/showlogo..... line is?
thanks again for all your help so far.
Re: OpenPLi v1.0 Enigma1 boot logo change #35
Re: OpenPLi v1.0 Enigma1 boot logo change #36
Re: OpenPLi v1.0 Enigma1 boot logo change #37
Posted 5 April 2011 - 22:36
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: OpenPLi v1.0 Enigma1 boot logo change #38
Re: OpenPLi v1.0 Enigma1 boot logo change #39
Posted 6 April 2011 - 09:04
created using tmpgenc as described earlier in the thread.
can i extract the mtd6 cramfs kernel partition and replace /root/root/platform/kernel/bild with my own bootlogo then recompile and flash mtd6 partition back?
Yes, you could do it that way, but be very careful to make sure your new logo is not larger than the PLi original you intend to replace! The cramfs mtd6 partition must not exceed 0x100000 Hex (1,048,576 bytes) in size.
In my rcS here, I have the showlogo line near the bottom, like I showed you. You could also try removing it from rcS altogether, and pop that line into /var/etc/init - which is called from rcS (if it exists) during boot. Note that init will only carry that one single line, (unless you already have an init file, in which case you append the line) and it can stay at the default chmod 644 permissions.
Cheers- AL
Re: OpenPLi v1.0 Enigma1 boot logo change #40
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users