Author Topic: A Clean, Fresh, Configured Eabi Rootfs Tarball  (Read 160420 times)

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
A Clean, Fresh, Configured Eabi Rootfs Tarball
« Reply #45 on: November 30, 2007, 01:24:01 pm »
Quote from: Fatty
BTW, how can I re-calibrate the pointer? It isn't quite accurate on top and bottom region.

just run in a console :

ts_calibrate
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
A Clean, Fresh, Configured Eabi Rootfs Tarball
« Reply #46 on: November 30, 2007, 02:24:04 pm »
Quote from: Fatty
Lastly, as I'm not quite familiar with uboot, after uboot/kernel being flashed, where is the remaining space of the flash memory going?

The remaining NAND space is for: 1) a eabi-kernel friendly pdaXrom build (if there is one); 2) an little more empty flash space for storage (if there is mtd support)

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
A Clean, Fresh, Configured Eabi Rootfs Tarball
« Reply #47 on: November 30, 2007, 02:41:38 pm »
Quote from: jpmatrix
Quote from: ZDevil
I have no idea what causes the issues of initial console and depmod. They played well in my case. I wonder if it has to do with something one has to do with the freshly installed kernel (I did this rootfs on my already working 3200 setup).

The stylus thing is tricky. As I suspect at the end of the instructions, you need to play with other options if you use non-yonggun kernels.

Thanks, jpmatrix for the feedback. Perhap it's not such a bad idea to keep the tarball polished and updated every now and then?  

yesssss
what do you think is better : i make another thread (or a special entry in the wiki for the c3000) or you modify your initial first thread to add the c3000 ?

I added a note with link to this post in the first post.  
It's great to know the rootfs also works for C3000.
So I suppose it can also get along with Cxx0, if the kernel is up to the job?

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
A Clean, Fresh, Configured Eabi Rootfs Tarball
« Reply #48 on: November 30, 2007, 03:23:38 pm »
Quote from: ZDevil
I added a note with link to this post in the first post.  
It's great to know the rootfs also works for C3000.
So I suppose it can also get along with Cxx0, if the kernel is up to the job?

great!
here are my customization files after installing your rootfs :

http://matrixmen.free.fr/zaurus/debian/custo_c3k.tar

just
cd /
tar xvf custo_c3k.tar
« Last Edit: November 30, 2007, 03:24:22 pm by jpmatrix »
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

kkazakov13

  • Sr. Member
  • ****
  • Posts: 408
    • View Profile
A Clean, Fresh, Configured Eabi Rootfs Tarball
« Reply #49 on: November 30, 2007, 04:45:46 pm »
Can someone help me ...

I got the error mentioned here:

https://www.oesf.org/index.php?title=Q18:_I...ternal_drive%3F

about the initial console error.

When I booted into emergency system, I wanted to do this:

   mount /dev/hda1 /mnt/cf
   cd /mnt/cf/dev
   MAKEDEV console

but I could not:

first - it's already mounted as /mnt/cf as ext3 - that's ok

when I try to do ls -al /mnt/cf - it freezes without doing anything.

after this I tried

umount /mnt/cf

but I got "Device or resource busy"


Looks there isn't even /dev/hda1 ! only /dev/hda.

I'm getting this behaviour for the second time  it's happening only under emergency system. Under the initial B+D - it works ok.

Does anyone knows some way to fix this? Seems I cannot even install debian  I'm not talking about testing it ...
SL-C3200 ** FOR SALE :( **
https://www.oesf.org/forum/index.php?showtopic=25969

Canon K30225 CF wireless card
Taxan iTax-LAN10 wired card
My packages for customized pdaXrom beta 3

kkazakov13

  • Sr. Member
  • ****
  • Posts: 408
    • View Profile
A Clean, Fresh, Configured Eabi Rootfs Tarball
« Reply #50 on: November 30, 2007, 04:52:46 pm »
Quote
Step 2: Extract the rootfs tarball to the target media: tar -xjpf zaurus_eabi_rootfs_071128.tar.bz2 -C /path/to/the/target/media

I did:

cd /mnt/card
tar -xjpf zaurus_eabi_rootfs_071128.tar.bz2 -C /mnt/hd/

This made me /mnt/hd/mnt/card/ directories - which I had to move to /mnt/hd/ manually - verified on desktop - the archive contains /mnt/card/ path.
« Last Edit: November 30, 2007, 04:57:35 pm by kkazakov13 »
SL-C3200 ** FOR SALE :( **
https://www.oesf.org/forum/index.php?showtopic=25969

Canon K30225 CF wireless card
Taxan iTax-LAN10 wired card
My packages for customized pdaXrom beta 3

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
A Clean, Fresh, Configured Eabi Rootfs Tarball
« Reply #51 on: November 30, 2007, 05:42:01 pm »
Quote from: kkazakov13
Quote
Step 2: Extract the rootfs tarball to the target media: tar -xjpf zaurus_eabi_rootfs_071128.tar.bz2 -C /path/to/the/target/media

I did:

cd /mnt/card
tar -xjpf zaurus_eabi_rootfs_071128.tar.bz2 -C /mnt/hd/

This made me /mnt/hd/mnt/card/ directories - which I had to move to /mnt/hd/ manually - verified on desktop - the archive contains /mnt/card/ path.

yes i forgot that one too  i had to move them too

about your console problem, just try to wait a little after the message. if it doesn't work, just reboot removing the battery and try again. it worked for me.
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

2or0

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://
A Clean, Fresh, Configured Eabi Rootfs Tarball
« Reply #52 on: November 30, 2007, 05:56:30 pm »
Quote from: kkazakov13
Can someone help me ...

I got the error mentioned here:

https://www.oesf.org/index.php?title=Q18:_I...ternal_drive%3F

about the initial console error.

When I booted into emergency system, I wanted to do this:

   mount /dev/hda1 /mnt/cf
   cd /mnt/cf/dev
   MAKEDEV console

but I could not:

first - it's already mounted as /mnt/cf as ext3 - that's ok

when I try to do ls -al /mnt/cf - it freezes without doing anything.

after this I tried

umount /mnt/cf

but I got "Device or resource busy"


Looks there isn't even /dev/hda1 ! only /dev/hda.

I'm getting this behaviour for the second time  it's happening only under emergency system. Under the initial B+D - it works ok.

Does anyone knows some way to fix this? Seems I cannot even install debian  I'm not talking about testing it ...

UBOOT emergency has a bug that you mentioned. For C3x00, the internel disk (hda1) seems to be recognized as cf card, and the disk partition information disappears. Whenever I entered into the emergency mode, I repartitioned the internel disk to recover the partition information. Fortunately, all data are not destroyed.
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)

lineager

  • Newbie
  • *
  • Posts: 7
    • View Profile
A Clean, Fresh, Configured Eabi Rootfs Tarball
« Reply #53 on: November 30, 2007, 10:48:29 pm »
Quote from: 2or0
Quote from: kkazakov13
Can someone help me ...

I got the error mentioned here:

https://www.oesf.org/index.php?title=Q18:_I...ternal_drive%3F

about the initial console error.

When I booted into emergency system, I wanted to do this:

   mount /dev/hda1 /mnt/cf
   cd /mnt/cf/dev
   MAKEDEV console

but I could not:

first - it's already mounted as /mnt/cf as ext3 - that's ok

when I try to do ls -al /mnt/cf - it freezes without doing anything.

after this I tried

umount /mnt/cf

but I got "Device or resource busy"


Looks there isn't even /dev/hda1 ! only /dev/hda.

I'm getting this behaviour for the second time  it's happening only under emergency system. Under the initial B+D - it works ok.

Does anyone knows some way to fix this? Seems I cannot even install debian  I'm not talking about testing it ...

UBOOT emergency has a bug that you mentioned. For C3x00, the internel disk (hda1) seems to be recognized as cf card, and the disk partition information disappears. Whenever I entered into the emergency mode, I repartitioned the internel disk to recover the partition information. Fortunately, all data are not destroyed.



I also got this problem.. Could you give me hint/command how to repartition the internal disk under uboot and make it works?

When I do fdisk /dev/hda
I got "Segmentation fault"  

band-aid

  • Newbie
  • *
  • Posts: 35
    • View Profile
A Clean, Fresh, Configured Eabi Rootfs Tarball
« Reply #54 on: December 01, 2007, 12:03:15 am »
Exact same problem here

I extracted the rootfs and moved it to /mnt/cf but I get a kernel panic when I try to boot.

Code: [Select]
Please append a correct "root=" boot option; here are the available partitions:
b300    922000 mmcblk0
0300    6000278 hda driver: ide-disk
0301    5371600 hda1
0302 628488 hda2
Kernel Panic - not syncing: VFS: unable to mount root fs on unknown-block(0,0)

Any suggestions?

EDIT: Ok, I was confused about which reboot I was on. It is throwing this kernel panic during the reboot immediately after selecting yes to install Debian in the UBOOT emergency loader.
« Last Edit: December 01, 2007, 12:18:55 am by band-aid »

barmalei

  • Newbie
  • *
  • Posts: 6
    • View Profile
A Clean, Fresh, Configured Eabi Rootfs Tarball
« Reply #55 on: December 01, 2007, 03:54:39 am »
Quote from: jpmatrix
Quote from: kkazakov13
Quote
Step 2: Extract the rootfs tarball to the target media: tar -xjpf zaurus_eabi_rootfs_071128.tar.bz2 -C /path/to/the/target/media

I did:

cd /mnt/card
tar -xjpf zaurus_eabi_rootfs_071128.tar.bz2 -C /mnt/hd/

This made me /mnt/hd/mnt/card/ directories - which I had to move to /mnt/hd/ manually - verified on desktop - the archive contains /mnt/card/ path.

yes i forgot that one too  i had to move them too

about your console problem, just try to wait a little after the message. if it doesn't work, just reboot removing the battery and try again. it worked for me.

I had this too - you can use the '--strip-components 2' option. This way tar will remove two top directory levels leaving just the root layout in the target extraction directory. That is you won't need to move everything two levels up afterwards.
« Last Edit: December 01, 2007, 04:03:53 am by barmalei »

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
A Clean, Fresh, Configured Eabi Rootfs Tarball
« Reply #56 on: December 01, 2007, 04:08:00 am »
So there are three issues to deal with:

1. Failure to open initial console
-- The solution is just a reboot ...


2. Failure to do things on the internal disk/CF in the uboot emergency system
-- I've changed the order of the installation steps: prepare the rootfs disk first, and then install uboot & the kernel.  This is the buggy uboot. Unless someone can make a new one....


3. rootfs tarball contains /mnt/card
-- I will make a new one right away.    Also I will add a couple essential programs to it, such as ssh.
« Last Edit: December 01, 2007, 04:09:14 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
A Clean, Fresh, Configured Eabi Rootfs Tarball
« Reply #57 on: December 01, 2007, 08:38:45 am »
whoooowww! using zdevil rootfs, i've sound now working out of the box, either via headphone and zaurus speaker !!!! that's great step
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
A Clean, Fresh, Configured Eabi Rootfs Tarball
« Reply #58 on: December 01, 2007, 08:44:16 am »
Quote from: jpmatrix
whoooowww! using zdevil rootfs, i've sound now working out of the box, either via headphone and zaurus speaker !!!! that's great step

No, kudos go to 2or0. It's his package.
BTW I've finished uploaded a newer rootfs tarball with a few minor fixes. Those who got the previous one working don't need this. Once the link is released (thanks jpmatrix) I'll add a note to the first post.
« Last Edit: December 01, 2007, 09:15:37 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
A Clean, Fresh, Configured Eabi Rootfs Tarball
« Reply #59 on: December 01, 2007, 10:45:15 am »
Quote from: ZDevil
Quote from: jpmatrix
whoooowww! using zdevil rootfs, i've sound now working out of the box, either via headphone and zaurus speaker !!!! that's great step

No, kudos go to 2or0. It's his package.
BTW I've finished uploaded a newer rootfs tarball with a few minor fixes. Those who got the previous one working don't need this. Once the link is released (thanks jpmatrix) I'll add a note to the first post.

the rootfs is now uploaded to matrixmen.free.fr/zaurus/debian

about younggun debs i've some error messages when reprepro-ing them  i'll send them to you
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun