Author Topic: squashfs2 module built for Sharp/Cacko  (Read 12053 times)

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
squashfs2 module built for Sharp/Cacko
« Reply #15 on: December 15, 2004, 09:00:19 am »
Quote
Quote
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.
« Last Edit: December 15, 2004, 09:48:00 am by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
squashfs2 module built for Sharp/Cacko
« Reply #16 on: December 15, 2004, 11:22:27 am »
Quote
Here you go.
Thanks, I'll give it a go in a while.

How do I mount the file when created?
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
squashfs2 module built for Sharp/Cacko
« Reply #17 on: December 15, 2004, 11:25:40 am »
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.
« Last Edit: December 15, 2004, 11:27:22 am by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1812
    • View Profile
squashfs2 module built for Sharp/Cacko
« Reply #18 on: January 10, 2005, 10:46:55 pm »
Quote
Quote
Quote
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
« Last Edit: January 12, 2005, 10:32:07 am by ArchiMark »
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
squashfs2 module built for Sharp/Cacko
« Reply #19 on: January 12, 2005, 10:47:31 am »
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
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1812
    • View Profile
squashfs2 module built for Sharp/Cacko
« Reply #20 on: January 12, 2005, 12:02:25 pm »
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...  

Thanks,

Mark
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
squashfs2 module built for Sharp/Cacko
« Reply #21 on: January 12, 2005, 12:13:55 pm »
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
« Last Edit: January 12, 2005, 12:14:28 pm by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1812
    • View Profile
squashfs2 module built for Sharp/Cacko
« Reply #22 on: January 12, 2005, 04:14:24 pm »
Thanks again for clarifying Andy!

Now I get it....  

Thanks for putting the call out for volunteers!

Sounds a bit out of my league....

Although would probably be a good learning exercise !  

Hope someone can help out...either

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

 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
« Last Edit: January 12, 2005, 09:52:21 pm by ArchiMark »
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1812
    • View Profile
squashfs2 module built for Sharp/Cacko
« Reply #23 on: January 13, 2005, 10:00:21 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?

 "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!
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

amb

  • Newbie
  • *
  • Posts: 2
    • View Profile
squashfs2 module built for Sharp/Cacko
« Reply #24 on: January 14, 2005, 03:22:51 am »
Quote
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.

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
squashfs2 module built for Sharp/Cacko
« Reply #25 on: January 14, 2005, 11:59:03 am »
Quote
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
"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
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1812
    • View Profile
squashfs2 module built for Sharp/Cacko
« Reply #26 on: January 14, 2005, 01:10:34 pm »
Hey, you're da' man, I mean bear, stubear!!  

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!
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

xjqian

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
    • http://
squashfs2 module built for Sharp/Cacko
« Reply #27 on: April 07, 2006, 09:20:17 am »
anybody can post the 2.4.18 kernel squashfs ipk again. the original link is broken. thanks
My Blog | 6000L Tosa + sled | is: Angstrom | was: pdaXrom 1.1.0beta1 | was: stock 1.12 rom + no-ffpe fash kernel + X/Qt Debian |
CF GPS (FGPCFCD01) | USB "Prolific 2303" GPS (USB-UG-200) | Socket CF BT rev. H |  USB "Pegasus II" Ethernet (ADM8511) | PocketTop IR kbd | sip:527630@fwd.pulver.com
Todo: OESF wiki | stable VOIP app | usable GPS app |      Wishlist: VOIP + Bluetooth | GPS + Routing Calc

Greg2

  • Hero Member
  • *****
  • Posts: 790
    • View Profile
    • http://
squashfs2 module built for Sharp/Cacko
« Reply #28 on: April 07, 2006, 10:50:27 am »
Quote
anybody can post the 2.4.18 kernel squashfs ipk again. the original link is broken. thanks
Here it is: