OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

2 Pages V  < 1 2  
Reply to this topicStart new topic
> squashfs2 module built for Sharp/Cacko, 2.4.18-rmk7-pxa3-embedix
iamasmith
post Dec 15 2004, 06:00 AM
Post #16





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928



QUOTE(rehorrericha @ Dec 15 2004, 01:24 PM)
QUOTE(iamasmith @ Nov 7 2004, 07:05 PM)
You can build the mksquashfs binary for your desktop easily from the source at http://squashfs.sourceforge.net

Has anyone compiled mksquashfs for the Z?


Here you go.
Attached File(s)
Attached File  mksquashfs.uue ( 150.37K ) Number of downloads: 30
 
Go to the top of the page
 
+Quote Post
ShiroiKuma
post Dec 15 2004, 08:22 AM
Post #17





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



QUOTE(iamasmith @ Dec 15 2004, 03:00 PM)
Here you go.

Thanks, I'll give it a go in a while.

How do I mount the file when created?
Go to the top of the page
 
+Quote Post
iamasmith
post Dec 15 2004, 08:25 AM
Post #18





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928



Assuming you created a directory under /mnt called mountpoint and your squashfs is called mysquashfs.sqsh and stored on /mnt/card...

mount -t squashfs /mnt/card/mysquashfs.sqsh /mnt/mountpoint -o loop

I would advise against leaving squashfs filesystems mounted during suspend (and also any other file systems stored in files) if stored on Microdrives.. this may also effect other kinds of CF cards.

SD Cards don't seem to be a problem.
Go to the top of the page
 
+Quote Post
ArchiMark
post Jan 10 2005, 07:46 PM
Post #19





Group: Members
Posts: 1,026
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



QUOTE(iamasmith @ Dec 15 2004, 06:00 AM)
QUOTE(rehorrericha @ Dec 15 2004, 01:24 PM)
QUOTE(iamasmith @ Nov 7 2004, 07:05 PM)
You can build the mksquashfs binary for your desktop easily from the source at http://squashfs.sourceforge.net

Has anyone compiled mksquashfs for the Z?


Here you go.

iamasmith or anyone else,

Would greatly appreciate your input on getting squashfs2 setup on my C3000....

I'm trying to get the new version of dev_img-1.6 up and running. According to that forum post you need to get squashfs2 setup for it to work.

So...not fully clear as to what I should do with the file you made available for dowloading...

What do I do after putting uncompressed files on my SD card?

Do I try and follow squashfs2 install file instructions or ??

Thanks for any help...really appreciate it!

Mark
C3000

This post has been edited by ArchiMark: Jan 12 2005, 07:32 AM
Go to the top of the page
 
+Quote Post
iamasmith
post Jan 12 2005, 07:47 AM
Post #20





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928



Sorry ArchiMark the version of the kernel module that was built is for a 2.4.18 kernel.

You could build your own module by downloading the kernel source from the Sharp website and applying the squashfs patch. In fact I would highly recommend it.

I, however, am not going to do this because I don't have a 3000 to test the module with.

I do need to bring to your attention the issue that occurs with older Microdrives and may potentially occur with the HD in the 3000. If the device is subject to the PCMCIA services suspend/resume as the CF slot is on an 860 it may take a while to resume and consequently not resume in time to satisfy uncompleted read requests from a squashfs stored on it. It should be safe to store the squashfs file on an SD card if this is an issue.

Anyway I look forward to hear how you get on with this.

- Andy
Go to the top of the page
 
+Quote Post
ArchiMark
post Jan 12 2005, 09:02 AM
Post #21





Group: Members
Posts: 1,026
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



QUOTE
Sorry ArchiMark the version of the kernel module that was built is for a 2.4.18 kernel.

You could build your own module by downloading the kernel source from the Sharp website and applying the squashfs patch. In fact I would highly recommend it.


THANKS for your help, Andy!

Could you clarify a bit further as to what you mean by "applying the squashfs patch" ?

What environment do I do this in? Desktop PC?

Do I just follow instructions in Install File?

Once I have a better picture of what I need to do, I have no problem trying it... cool.gif

Thanks,

Mark
Go to the top of the page
 
+Quote Post
iamasmith
post Jan 12 2005, 09:13 AM
Post #22





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928



You will need a desktop Linux system with a cross compiler toolchain to do this.

You basically patch the Linux kernel sources with the patches provided on the squashfs website then build. The kernel module then needs packaging as an IPK for this distribution.

I would suggest that if you haven't built Linux kernels before you should probably leave this to someone who has.

(anyone with an SL-3000 fancy helping out ?)

- Andy
Go to the top of the page
 
+Quote Post
ArchiMark
post Jan 12 2005, 01:14 PM
Post #23





Group: Members
Posts: 1,026
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



Thanks again for clarifying Andy!

Now I get it.... blink.gif

Thanks for putting the call out for volunteers!

Sounds a bit out of my league....

Although would probably be a good learning exercise ! rolleyes.gif

Hope someone can help out...either

A) do this and make available for us C3000 users or

cool.gif be willing to share some more info on how to do this, so that I can try and do it and then I'd share it with others here....

Thanks,

Mark

This post has been edited by ArchiMark: Jan 12 2005, 06:52 PM
Go to the top of the page
 
+Quote Post
ArchiMark
post Jan 13 2005, 07:00 PM
Post #24





Group: Members
Posts: 1,026
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



Hi again,

One more request for a bit more guidance on how to get Squashfs2 on my C3000...

I think if someone could answer the following questions, I think I could possibly figure what to do.....or at least give it a good try!

A) "desktop Linux system with a cross compiler toolchain"

What software is referred to by this?

cool.gif "You basically patch the Linux kernel sources with the patches provided on the squashfs website then build. The kernel module then needs packaging as an IPK for this distribution."

Does this mean that you take download the Sharp ROM file, add in the patches, then recompile it, and then package this into an IPK?

Is this the process you need to follow?

Thanks for any help!

Mark
C3000 User Anxious to get Dev_Img-1.6 on his Z!
Go to the top of the page
 
+Quote Post
amb
post Jan 14 2005, 12:22 AM
Post #25





Group: Members
Posts: 2
Joined: 14-January 05
Member No.: 6,223



QUOTE(Mickeyl @ Nov 12 2004, 11:43 AM)
I think this is just a kernel issue which could(*) be fixed.

Does anyone have the details of this problem? Is it a kernel bug affecting all CF cards? Is it fixed in any of the alternative kernels? Thanks.
Go to the top of the page
 
+Quote Post
Stubear
post Jan 14 2005, 08:59 AM
Post #26





Group: Members
Posts: 1,164
Joined: 17-December 03
From: Melbourne, AUSTRALIA
Member No.: 1,219



QUOTE(ArchiMark @ Jan 14 2005, 12:00 PM)
Hi again,

One more request for a bit more guidance on how to get Squashfs2 on my C3000...

I think if someone could answer the following questions, I think I could possibly figure what to do.....or at least give it a good try!

A) "desktop Linux system with a cross compiler toolchain"

What software is referred to by this?



Thanks for any help!

Mark
C3000 User Anxious to get Dev_Img-1.6 on his Z!

You can get the cross-compiler toolchain from ZUG as well as detailed instructions on how to set it up.
Check out these links

Compiler Setup
Compiling the Kernel
Special Kernel (by Ced) - info on how to patch kernel sources

This might also be of interest to you

QUOTE
cool.gif "You basically patch the Linux kernel sources with the patches provided on the squashfs website then build. The kernel module then needs packaging as an IPK for this distribution."

Does this mean that you take download the Sharp ROM file, add in the patches, then recompile it, and then package this into an IPK?

Is this the process you need to follow?


Basically yes, although you will want to get the kernel sources rather than the Rom file. And it isn't actually necessary to create an ipk of the squashfs module, you could just copyit over manually. But an ipk would be nicer if you were planning to release it to others.

Stu
Go to the top of the page
 
+Quote Post
ArchiMark
post Jan 14 2005, 10:10 AM
Post #27





Group: Members
Posts: 1,026
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



Hey, you're da' man, I mean bear, stubear!! cool.gif

This is exactly the guidance I was looking for. Will try to do my homework now and see if I can make this work!

If so, I'll be glad to share it with others in ZUG...

Will report back on progress later....

THANKS,

Mark
C3000 User Anxious to get Dev_Img-1.6 on his Z!
Go to the top of the page
 
+Quote Post
xjqian
post Apr 7 2006, 05:20 AM
Post #28





Group: Members
Posts: 500
Joined: 17-January 04
From: St. Louis, USA
Member No.: 1,478



anybody can post the 2.4.18 kernel squashfs ipk again. the original link is broken. thanks
Go to the top of the page
 
+Quote Post
Greg2
post Apr 7 2006, 06:50 AM
Post #29





Group: Members
Posts: 790
Joined: 28-October 03
From: USA
Member No.: 792



QUOTE(xjqian @ Apr 7 2006, 08:20 AM)
anybody can post the 2.4.18 kernel squashfs ipk again. the original link is broken. thanks

Here it is:
Attached File(s)
Attached File  squashfs2_1.0_arm.ipk ( 15.24K ) Number of downloads: 69
 
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 30th October 2014 - 07:52 AM