Jump to content


Photo

Jack the Ripper - PLi Special Edition for UBIFS Conversion of PLi OE 3.0 Images

UBIFS

  • This topic is locked This topic is locked
182 replies to this topic

Re: Jack the Ripper - PLi Special Edition for UBIFS Conversion of PLi OE 3.0 Images #21 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,469 posts

+118
Excellent

Posted 1 April 2013 - 21:58

nice things means open source  ;)

 

Happy Easter


on the Glassfibre 1GB DVB-C...


Re: Jack the Ripper - PLi Special Edition for UBIFS Conversion of PLi OE 3.0 Images #22 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 1 April 2013 - 22:14

Yes, and I pray for world peace too!

 

To come back to the topic of this post - so far nobody complained about problems with JTR (which is pretty amazing for one of my plugins) or about any problems with the resulting images.

 

Thanks for all the downloaders and testers!

 

Happy Eeaster!

 

gutemine



Re: Jack the Ripper - PLi Special Edition for UBIFS Conversion of PLi OE 3.0 Images #23 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,469 posts

+118
Excellent

Posted 2 April 2013 - 08:53

a prayer doesnt help the world peace, the rest to help the world with an open source mind is up to you


on the Glassfibre 1GB DVB-C...


Re: Jack the Ripper - PLi Special Edition for UBIFS Conversion of PLi OE 3.0 Images #24 jalizi

  • Member
  • 27 posts

0
Neutral

Posted 3 April 2013 - 19:12

thank you gutimine for evrything.
 
the result of df -h command after flashing UbifsPLi image :
 


root@dm800se:~# df -h                                                
Filesystem                Size      Used Available Use% Mounted on   
ubi0:rootfs              41.4M     38.0M      3.4M  92% /            
devtmpfs                 65.9M      4.0K     65.9M   0% /dev         
tmpfs                    64.0K         0     64.0K   0% /media       
/dev/sda1                 3.7G    165.8M      3.4G   5% /media/usb   
tmpfs                    66.0M    260.0K     65.7M   0% /var/volatile

 

1- can we install Barry Allen 9.1 on this converted UbifsPLi image and doing multiboot ?
 
2- if yes , can we multibooting other kernel-ubi dmm nfi image , such as the kernel-ubi image builded with rambo&dflash plugins?

 

3- why you dont make such this plugin for converting the kernel-jffs2 to kernel-jffs2 in dmm image in such Simplicity 

 

thanke


Edited by jalizi, 3 April 2013 - 19:14.


Re: Jack the Ripper - PLi Special Edition for UBIFS Conversion of PLi OE 3.0 Images #25 honda-civic

  • Senior Member
  • 307 posts

+22
Neutral

Posted 3 April 2013 - 19:50

hi

why is only

 

Filesystem                Size      Used Available Use% Mounted on   
ubi0
:rootfs              41.4M instead 60 MB ??  leaving too little space in Speicher



Re: Jack the Ripper - PLi Special Edition for UBIFS Conversion of PLi OE 3.0 Images #26 offnow

  • Senior Member
  • 56 posts

+8
Neutral

Posted 3 April 2013 - 20:09

it is not a bug - it a feature...

the new flashreductionsystem...


hab keine Lust mehr...

Viel Spaß allen und lebt wohl


Re: Jack the Ripper - PLi Special Edition for UBIFS Conversion of PLi OE 3.0 Images #27 honda-civic

  • Senior Member
  • 307 posts

+22
Neutral

Posted 3 April 2013 - 20:29

yes, or at 92% I do not see any advances,,,You can not install anything much more For example cccam, oscam, and Multimedia



Re: Jack the Ripper - PLi Special Edition for UBIFS Conversion of PLi OE 3.0 Images #28 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 3 April 2013 - 21:26

Read the UBIFS FAQ on the limitations of what df -h tells you http://www.linux-mtd...tml#L_df_report

 

The size of the Flash is NOT gone, ubifs is simply more honest then jffs2 in reporting it. Use ubinfo -a to see that all your flash is still used.

 

But UBIFS needs at least 10% more place, that's the tradeoff for the extra speed as it has to store stuff that jffs2 rebuilds in Memory consuming CPU already in the Filesystem.

And Yes, these images can be used with rambo, BA,... JTR produces simply normal nfi images which are not only flashable but can be also (Multi)booted.

 

But in BA the ubifs conversion will be uselless, as this is a FLASH Filesystem, and BA will therefore remove it and put the image in ext4 - as it would do with identical results with the original jffs2.
 

And guess what Marsu Plugin did (and dFlash does now that Marsu is back to the jungel) before UBIFS became standard in DMM Images on the 8000 and 7020hd - it converted an jffs2 image to ubifs - see the link to the Dreambox blog in my original post for more details.

 

And both plugins still can be used for 500hd and 800se UBIFS conversion as due to the space limitations DMM stays there with jffs2 + squashfs. Hence on these boxes it is strongly recommended to use Flash Extension tools like SqueezeOut (which is useless for PLi as it has no squashfs), Freeze, or put the UBIFS on an USB or SATA device like rambo does it.

 

BUT as all these Plugins and booting methods are NOT supported by PLi this is the wrong place to ask and explain about their added value.

 

gutemine


Edited by gutemine, 3 April 2013 - 21:31.


Re: Jack the Ripper - PLi Special Edition for UBIFS Conversion of PLi OE 3.0 Images #29 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 4 April 2013 - 06:48

Nice to have a work-a-round for the DMM users who want to use the big improvements of UBIFS... but wouldn't it be nicer to get a nice good ".patch" file for our sources....?


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Jack the Ripper - PLi Special Edition for UBIFS Conversion of PLi OE 3.0 Images #30 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 4 April 2013 - 08:02

Look, if you are not able or willing to do it yourself - then I would have some serious doubts on you capabilites and interests, as you have plenty of examples from the other boxes already running on ubifs and besides some ubifs parameters which are box specific, but which you can easily read from the below commit, there is NO magic about building proper images with ubifs.

 

http://git.opendream...78ceab4617bf9b1

 

All the other things are simple kernel and driver patches and off course the new drivers itself which such a great development team should not have any problems to apply :D


Edited by gutemine, 4 April 2013 - 08:05.


Re: Jack the Ripper - PLi Special Edition for UBIFS Conversion of PLi OE 3.0 Images #31 jalizi

  • Member
  • 27 posts

0
Neutral

Posted 4 April 2013 - 09:16

i install the freeze plugin on UbifsPLi image successfuly.but when i want to initializing usb flash as ext4 format to freeze it to flash , coming below error and initialization not be doing:

m7j01sa9dd3ubxcx6n.png
 
and when i doin "fdisk -l" or "mkfs.ext4 /dev/sda1" commands in telnet to to initializing usb flash as ext4 format the result is :
 
root@dm800se:~# fdisk -l           
-sh: fdisk: not found              
root@dm800se:~# mkfs.ext4 /dev/sda1
-sh: mkfs.ext4: not found          

 

how i can formating the usb flash as ext4 format in this situation ?



Re: Jack the Ripper - PLi Special Edition for UBIFS Conversion of PLi OE 3.0 Images #32 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 4 April 2013 - 10:46

Well, if you have problems with the Freeze Plugin you should ask where it's Plugin and support thread is located.

 

But the ext4 support in PLI is a little bit ... strange, try this:

 

/sbin/mkfs.ext4dev /dev/sda1

 

But be carefull as /dev/sda1 is normally your hardddisk.

 

You probably can fix your error with:

 

ln -sfn /sbin/mkfs.ext4dev /sbin/mkfs.ext4

 

And PLi doesn't ship busybox fdisk, the have sfdisk in their image - so try sfdisk -l
 

The kernel of the Original DMM Image will definitely support ext4 and the image has mkfs.ext4 on board.

 

And when you ask PLi why they ship the dev binary, maybe ask them also why they ship a not (yet) needed mkfs.ubifs in the DMM Images :-)


Edited by gutemine, 4 April 2013 - 10:48.


Re: Jack the Ripper - PLi Special Edition for UBIFS Conversion of PLi OE 3.0 Images #33 honda-civic

  • Senior Member
  • 307 posts

+22
Neutral

Posted 4 April 2013 - 11:25

No new plugins found!!! why this??Image is good at fast boot and switch is also fast but only what bothers me, is not enough space in memory



Re: Jack the Ripper - PLi Special Edition for UBIFS Conversion of PLi OE 3.0 Images #34 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 4 April 2013 - 14:01

On my 500hd after conversion I had 6.9MB Free - which is not great, but gess how much freespace you have with an OE 2.0 from DMM ?

 

if you are patient you can try out xz compression, this gives another 1-2MB extra space but conversion takes significantly longer and you loose some of the performance gain.

 

With an DMM original OE 2.0 Image I use SqueezeOut to get rid of the squashfs images and due to this I have about 15MB free even with UBIFS (well with jffs2 it would be almost 20MB)

 

And yes, if you need more space in Flash you probably should have bought a 7020hd OR an 8000!

 

PS: Memory <> Flashspace.

 

gutemine


Edited by gutemine, 4 April 2013 - 14:01.


Re: Jack the Ripper - PLi Special Edition for UBIFS Conversion of PLi OE 3.0 Images #35 jalizi

  • Member
  • 27 posts

0
Neutral

Posted 4 April 2013 - 16:24

Well, if you have problems with the Freeze Plugin you should ask where it's Plugin and support thread is located.

 

But the ext4 support in PLI is a little bit ... strange, try this:

 

/sbin/mkfs.ext4dev /dev/sda1

 

But be carefull as /dev/sda1 is normally your hardddisk.

 

You probably can fix your error with:

 

ln -sfn /sbin/mkfs.ext4dev /sbin/mkfs.ext4

 

And PLi doesn't ship busybox fdisk, the have sfdisk in their image - so try sfdisk -l
 

The kernel of the Original DMM Image will definitely support ext4 and the image has mkfs.ext4 on board.

 

And when you ask PLi why they ship the dev binary, maybe ask them also why they ship a not (yet) needed mkfs.ubifs in the DMM Images :-)

i try all commands you Offer me to formating the usb flash as ext4 format.(at first i formating it as fat32 format then attach it to receiver)

 

but None take effect : 

 

 

sfdisk: ERROR: sector 2002353636 does not have an msdos signature
sfdisk:  /dev/mtdblock3: unrecognized partition table type       
                                                                 
sfdisk: No partitions found                                      
                                                                 
                                                                 
Disk /dev/sda: 1017 cylinders, 125 heads, 62 sectors/track       
sfdisk: Warning: The partition table looks like it was made      
  for C/H/S=*/255/63 (instead of 1017/125/62).                   
For this listing I'll assume that geometry.                      
                                                                 
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, countin
                                                                 
   Device Boot Start     End   #cyls    #blocks   Id  System     
/dev/sda1          0+    490-    491-   3942368+   c  W95 FAT32 (
sfdisk:                 end: (c,h,s) expected (490,205,35) found 
                                                                 
/dev/sda2          0       -       0          0    0  Empty      
/dev/sda3          0       -       0          0    0  Empty      
/dev/sda4          0       -       0          0    0  Empty      
root@dm800se:~# /sbin/mkfs.ext4dev /dev/sda1                     
mke2fs 1.42.1 (17-Feb-2012)                                      
/dev/sda1 is mounted; will not make a filesystem here!           
root@dm800se:~# ln -sfn /sbin/mkfs.ext4dev /sbin/mkfs.ext4       

 

what i can to do to formating the usb flash as ext4 format in openpli ?



Re: Jack the Ripper - PLi Special Edition for UBIFS Conversion of PLi OE 3.0 Images #36 jalizi

  • Member
  • 27 posts

0
Neutral

Posted 4 April 2013 - 17:06

another Questions :

 

1- is the BA plugin could be installed and work on UbifsPLi image as base image?is it Need to installing any kernel و Module or so files?

 

2- can the kernel-ubi image builded by rambo&dflash used to multibooting on UbifsPLi image(  as base image) ?

 

thanks



Re: Jack the Ripper - PLi Special Edition for UBIFS Conversion of PLi OE 3.0 Images #37 Lost in Space

  • Senior Member
  • 876 posts

+69
Good

Posted 4 April 2013 - 17:20

Please, this is a plugin thread - not the 'How do i format a device without knowing what I'm doing' Thread :-)

 

df -h will tell you how the PLi udev rules mounted the device as you formatted it as FAT already.

 

Then you do an umount /media/XYZ (path you saw from df -h) and THEN you do the re-format.

 

Or a simple umount /dev/sda1 should also do the job, but it is always worth to learn something new.

 

And regarding the BA and rambo questions - I already answered that both is possible with such ubified images without any further changes (but it works also with normal PLi Images with the usual kernel restrictions due to lack of a block2mtd driver, eg in this case an original Image has to be in Flash), but as PLi doesn't support these tools you have to ask where the BA and rambo Plugin and Support threads are and not here in the JTR Thread.

 

And just to make the list complete - yes, dFlash 9.3 works also to Backup and Flash UbifsPLi Images.


Edited by gutemine, 4 April 2013 - 17:24.


Re: Jack the Ripper - PLi Special Edition for UBIFS Conversion of PLi OE 3.0 Images #38 MiLo

  • PLi® Core member
  • 14,042 posts

+298
Excellent

Posted 5 April 2013 - 09:59

what i can to do to formating the usb flash as ext4 format in openpli ?

Just format it from the menu, using just your remote control. If that does not work, it is either a bug and will be fixed, or you've messed around on your box too much, just re-flash it and try again.
Real musicians never die - they just decompose

Re: Jack the Ripper - PLi Special Edition for UBIFS Conversion of PLi OE 3.0 Images #39 jalizi

  • Member
  • 27 posts

0
Neutral

Posted 5 April 2013 - 13:56

 Is jtr it install&works on the DM800HD PVR ?



Re: Jack the Ripper - PLi Special Edition for UBIFS Conversion of PLi OE 3.0 Images #40 jalizi

  • Member
  • 27 posts

0
Neutral

Posted 5 April 2013 - 14:12

what i can to do to formating the usb flash as ext4 format in openpli ?

Just format it from the menu, using just your remote control. If that does not work, it is either a bug and will be fixed, or you've messed around on your box too much, just re-flash it and try again.

please read post #31 Carefully.i using my remote control and format it from the menu.but the formating can not be doing . i re-flash it and try again for several times but not giving the effect.of course With gutimine assistance finaly i did formating.





Also tagged with one or more of these keywords: UBIFS

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users