Author Topic: Customized New Rootfs  (Read 74177 times)

Osage

  • Newbie
  • *
  • Posts: 11
    • View Profile
Customized New Rootfs
« Reply #45 on: June 22, 2008, 06:27:31 am »
Quote from: 2or0
I posted the details of this rootfs which is simple howto.
http://yonggun.tistory.com/77
[...]

I stated previously that I found andromeda very userful.
Easy install, very fitting customizations, and seems to be standard debian.

Ok, my philosophic questions are:
-is it "andromeda" possible or worth to applied for model c700?

-it is really a standard debian system?
  Previously I've tried a lot of roms, and finally those died. Why? Simply 'cause
  upon my extra needs I started to heavily modify them, but with each 'n every
  update (eg. libc, x-devel environment, path-relocation due to storage issues, etc)
  I got closer to the end. Finally there always were a barrier (outdating, inconsistency,
  broken packages, etc).
  Will "andromeda-debian" assure long time maintanance in standard debian way?

-if this "andromeda" is such succesful, as I find, why there are other "rom" experiments?
  (well, why not) What do they know, what more do they offer what makes them vital
  to be considered using a zaurus gadget? (in other words: what "andromeda" lacks?)

2or0

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://
Customized New Rootfs
« Reply #46 on: June 22, 2008, 05:02:40 pm »
Quote
-is it "andromeda" possible or worth to applied for model c700?
Now the main kernel of Andromeda is 2.6.24.4-yonggun which only works on Cxx00 but not Cxx0. If you want to use it, you need the kernel for c700 and should modify this rootfs. Following might be useful for you.
https://www.oesf.org/forum/index.php?showtopic=25663

Quote
-it is really a standard debian system?
  Previously I've tried a lot of roms, and finally those died. Why? Simply 'cause
  upon my extra needs I started to heavily modify them, but with each 'n every
  update (eg. libc, x-devel environment, path-relocation due to storage issues, etc)
  I got closer to the end. Finally there always were a barrier (outdating, inconsistency,
  broken packages, etc).
  Will "andromeda-debian" assure long time maintanance in standard debian way?
Yes, this is a standard debian system.

Quote
-if this "andromeda" is such succesful, as I find, why there are other "rom" experiments?
  (well, why not) What do they know, what more do they offer what makes them vital
  to be considered using a zaurus gadget? (in other words: what "andromeda" lacks?)
Since Debian eabi is ported from pc-based system, it has many dependencies which may not be used in zaurus. So the size of Debian system is much bigger and heavier than those of angstrom or pdaXrom which are targeted for the embedded system.
Zaurus SL-C3200 with Debian armel of kernel 2.6.24-yonggun
Ambicom WL1100C WLAN
1 GB Sandisk SD / 1 GB Lexar SD / 256 MB Dane-Elec CF
-----
Blog http://yonggun.tistory.com (English/Korean)

fgp

  • Newbie
  • *
  • Posts: 1
    • View Profile
Customized New Rootfs
« Reply #47 on: July 01, 2008, 07:59:56 pm »
Hi 20r0,

First off , thanks for developing this rootfs. After a while I thought my zaurus is dead already. Anyway I am not sure if I am the only one experiencing this but the rootfs seems to be missing the old pccardctl command.  So my first question is how can I eject my cf or wifi card? In serach of this and support for my Belkin blueetooth CF card I also found the pcmcia package in the deb distribution and installed it. It magically gave me the command and suprisingly the drivers for my card. The only problem is every time I run pccardctl eject  get segmentation fault  and the system freezes. Can you help me point out what I am doing wrong?

Thanks in advance  

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Customized New Rootfs
« Reply #48 on: July 02, 2008, 04:36:26 pm »
Been trying to get this installed on my 3200, but so far no go....not sure why, hope someone can please advise...

I currently have Debian EABI installed and working OK on my 3200...so, did the following:

Downloaded file and copied the 5 extracted files onto SD card. At first I left the 'zImage-debian.bin.hda1' file with this filename and tried flashing.

As I understand, if you want to install to hda1 (internal drive) then you need to have a CF card inserted. So I put a CF in the 3200.

When I did flashing, I see the following:

Code: [Select]
------ Universal Zaurus Updater r20-1 -------
MODEL:  SL-C3200 (c3x00)
Select the number of the partition to install Debian (1,2 or 3)
1.HDD1 2.HDD2 3.SD
1
Installing HDD root  file system
umount: /dev/hdc1: Invalid argument
* Now formatting
done
* Now extracting (this can take over 5m)....

Then after about 5 minutes, it's starts extracting lots of files.....then it reboots...

When I got to login prompt, I tried logging in as root, with no password as per instructions, but said incorrect password....so, when I tried the password for my current EABI install, it logged in OK....did startx and it went to IceWM desktop....so, realized that install did not work....

So, after realizing that I think I should have renamed 'zImage-debian.bin.hda1' to just 'zImage', I did that and tried install again....

When I did flashing, I see the following:

Code: [Select]
------ Universal Zaurus Updater r20-1 -------
MODEL:  SL-C3200 (c3x00)
Select the number of the partition to install Debian (1,2 or 3)
1.HDD1 2.HDD2 3.SD
1
Installing HDD root  file system
umount: /dev/hdc1: Invalid argument
* Now formatting
done
* Now extracting (this can take over 5m)....

Then after about 5 minutes, it's starts extracting lots of files.....
also, on some items it says "Could not create directory: No such file or directory"....

then it reboots...

Should I have rename zImage file to 'zImage-debian' instead?

Decided to see if that would make a difference....and tried install again...

Same result, no install....

Can anyone please advise as to how to get this to install correctly?

Thanks!
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/

Fatty

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://
Customized New Rootfs
« Reply #49 on: July 03, 2008, 03:15:31 pm »
Quote from: ArchiMark
...
Should I have rename zImage file to 'zImage-debian' instead?
...

Should be 'zImage-debian.bin' renamed from ...bin.hda1 or ...bin.sd depending on where you're going to install.
« Last Edit: July 03, 2008, 03:18:35 pm by Fatty »
C1000 - Empty, waiting for Sharp ROM.
C3100 - dualbooting Andromeda Debian from 2or0 and Zubuntu 2.0 from Cortez
iPhone 3G.
Kohjinsha - Win 7

2or0

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://
Customized New Rootfs
« Reply #50 on: July 03, 2008, 06:57:14 pm »
Quote from: ArchiMark
Been trying to get this installed on my 3200, but so far no go....not sure why, hope someone can please advise...

I currently have Debian EABI installed and working OK on my 3200...so, did the following:

Downloaded file and copied the 5 extracted files onto SD card. At first I left the 'zImage-debian.bin.hda1' file with this filename and tried flashing.

As I understand, if you want to install to hda1 (internal drive) then you need to have a CF card inserted. So I put a CF in the 3200.

When I did flashing, I see the following:

Code: [Select]
------ Universal Zaurus Updater r20-1 -------
MODEL:  SL-C3200 (c3x00)
Select the number of the partition to install Debian (1,2 or 3)
1.HDD1 2.HDD2 3.SD
1
Installing HDD root  file system
umount: /dev/hdc1: Invalid argument
* Now formatting
done
* Now extracting (this can take over 5m)....

Then after about 5 minutes, it's starts extracting lots of files.....then it reboots...

When I got to login prompt, I tried logging in as root, with no password as per instructions, but said incorrect password....so, when I tried the password for my current EABI install, it logged in OK....did startx and it went to IceWM desktop....so, realized that install did not work....

So, after realizing that I think I should have renamed 'zImage-debian.bin.hda1' to just 'zImage', I did that and tried install again....

When I did flashing, I see the following:

Code: [Select]
------ Universal Zaurus Updater r20-1 -------
MODEL:  SL-C3200 (c3x00)
Select the number of the partition to install Debian (1,2 or 3)
1.HDD1 2.HDD2 3.SD
1
Installing HDD root  file system
umount: /dev/hdc1: Invalid argument
* Now formatting
done
* Now extracting (this can take over 5m)....

Then after about 5 minutes, it's starts extracting lots of files.....
also, on some items it says "Could not create directory: No such file or directory"....

then it reboots...

Should I have rename zImage file to 'zImage-debian' instead?

Decided to see if that would make a difference....and tried install again...

Same result, no install....

Can anyone please advise as to how to get this to install correctly?

Thanks!


The explanation in my blog is wrong. You need to follow ZDevil's post. or rename the files: zImage-debian.bin.hda1 ->zImage.bin, rootfs-debian.tgz->hdimage1.bin. Also take update.sh and gnu-tar from Angstrom webpage or ZDevil's post. If you finish this, then reflash it as you did for sharp rom. this is the easiest way, I think.
Zaurus SL-C3200 with Debian armel of kernel 2.6.24-yonggun
Ambicom WL1100C WLAN
1 GB Sandisk SD / 1 GB Lexar SD / 256 MB Dane-Elec CF
-----
Blog http://yonggun.tistory.com (English/Korean)

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Customized New Rootfs
« Reply #51 on: July 03, 2008, 08:48:09 pm »
Quote from: 2or0
The explanation in my blog is wrong. You need to follow ZDevil's post. or rename the files: zImage-debian.bin.hda1 ->zImage.bin, rootfs-debian.tgz->hdimage1.bin. Also take update.sh and gnu-tar from Angstrom webpage or ZDevil's post. If you finish this, then reflash it as you did for sharp rom. this is the easiest way, I think.

Thanks, for your help, 2or0! (and you too, fatty!!)....

OK, followed your instructions, renamed files and took files from ZDevil's post....this time install seemed to go OK!

Rebooted and now I want to extract modules as per instructions. However, now, I can't seem to get my SD card to mount, please advise....have tried different mount points, but always get the same error message as below:

Code: [Select]
#mount -t vfat /dev/mmcblk0p1 /mnt/card
mount point /mnt/card is a symbolic link to nowhere...

Any suggestions????

Thanks!
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/

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Customized New Rootfs
« Reply #52 on: July 03, 2008, 09:51:23 pm »
Code: [Select]
rm -rf /mnt/card
mkdir /mnt/card
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Customized New Rootfs
« Reply #53 on: July 03, 2008, 10:03:44 pm »
Quote from: Capn_Fish
Code: [Select]
rm -rf /mnt/card
mkdir /mnt/card

Thanks, Capn!

Just tried that but still no go....get message no room...

 

Starting to think something is funky with the last install.... updater started but did not ask me to select which partition to install to like before....just did it automatically, realize now that it didn't install to hda1...

 


Think I'll try installing again....

 
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/

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Customized New Rootfs
« Reply #54 on: July 03, 2008, 10:05:27 pm »
Maybe either manually format the drive beforehand or shred it for good measure. There may be FS/partition issues, and if you're nuking your current setup anyway...
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Customized New Rootfs
« Reply #55 on: July 03, 2008, 10:26:01 pm »
Quote from: Capn_Fish
Maybe either manually format the drive beforehand or shred it for good measure. There may be FS/partition issues, and if you're nuking your current setup anyway...

Good idea, Capn!

Will try and start fresh....

 
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/

2or0

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://
Customized New Rootfs
« Reply #56 on: July 04, 2008, 06:12:42 am »
Quote from: ArchiMark
Quote from: Capn_Fish
Maybe either manually format the drive beforehand or shred it for good measure. There may be FS/partition issues, and if you're nuking your current setup anyway...

Good idea, Capn!

Will try and start fresh....

 

This system automounts CF or SD using autofs modules. If it doesn't work, just remove it as following.
apt-get remove autofs
After rebooting the system, you can mount SD manually.
Zaurus SL-C3200 with Debian armel of kernel 2.6.24-yonggun
Ambicom WL1100C WLAN
1 GB Sandisk SD / 1 GB Lexar SD / 256 MB Dane-Elec CF
-----
Blog http://yonggun.tistory.com (English/Korean)

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Customized New Rootfs
« Reply #57 on: July 04, 2008, 11:00:18 am »
Thanks again for your help and for this Rootfs, 2or0!!!!!!!!!

I started fresh install, redownloaded your zip file, extracted the files and this time Voila! it worked!!!!!

Just got to your beautiful desktop!

T H A N K S !

FWIW, I just renamed your 'zImage-debian.bin.hda1' file to 'zImage.bin'. The other files I did not change at all.

 

Mark

PS. I did notice some error messages:

When it shutdown for reboot:

Something like:
Code: [Select]
cannot open /vmlinuz...stream error"

Also, during boot up, it said:
Code: [Select]
can't start Hardware abstraction layer - please ensure that dbus is running
....
Swapon: can't stat /dev/hda3: No such file or directory

My internal drive, hda1 is where I installed files to and hda2 is my swap partition. I do not have a hda3 partition...

Think there were a few other error messages but this is what I was able to write down so far....

But, so far, everything seems to be working good!
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/

Fatty

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://
Customized New Rootfs
« Reply #58 on: July 04, 2008, 11:05:32 am »
Quote from: ArchiMark
Code: [Select]
#mount -t vfat /dev/mmcblk0p1 /mnt/card
mount point /mnt/card is a symbolic link to nowhere...

Any suggestions????

Thanks!

Mine (auto) goes to /media/card, which is a link from /var/auto blah blah blah.

Also I had all 1G SD working, but one 2G SD having the same issue (Not tried another 4G SDHC). Well, maybe you can use CF instead for extracting the modules?

EDIT1 :
- dbus error can be referred back to post #16, which works for me also.
- for the swapon issue, obviously the init script assumed us to have a swap partition at /dev/hdc3. I just ignore it and adjust /etc/fstab to mount mine (also at /dev/hda2).

EDIT 2:
2or0, forget to thank you for your excellent work!

One stupid question. How can I make a rootfs like yours? I had pretty much utilities installed and would like to do a backup. Thanks!
« Last Edit: July 04, 2008, 11:17:45 am by Fatty »
C1000 - Empty, waiting for Sharp ROM.
C3100 - dualbooting Andromeda Debian from 2or0 and Zubuntu 2.0 from Cortez
iPhone 3G.
Kohjinsha - Win 7

bunkford

  • Newbie
  • *
  • Posts: 13
    • View Profile
Customized New Rootfs
« Reply #59 on: July 08, 2008, 08:52:01 pm »
Thank you for the great work you have done! Could you please patch the orinoco wireless driver for injection?