Author Topic: Debian And Uboot  (Read 57649 times)

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Debian And Uboot
« on: April 17, 2007, 07:58:34 am »
I've got a question: If I rip the filesystem off of an ARM Debian CD and stick it on SD/CF, could I use uBoot to boot it on the Z?

EDIT: I forgot to ask what the magic key combos are to pass rootfs location to uBoot. Or do I have that backwards, that you pass where the kernel is?
« Last Edit: April 17, 2007, 07:59:32 am by Capn_Fish »
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

svs57

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • http://
Debian And Uboot
« Reply #1 on: April 19, 2007, 02:22:41 am »
Quote
I've got a question: If I rip the filesystem off of an ARM Debian CD and stick it on SD/CF, could I use uBoot to boot it on the Z?

EDIT: I forgot to ask what the magic key combos are to pass rootfs location to uBoot. Or do I have that backwards, that you pass where the kernel is?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
I use Debian with u-boot on Zaurus.
I crosscompile linux kernel (CONFIG_CMDLINE set rootfs on SD)
Then I untar Debian rootfs on SD. [a href=\"http://armel.applieddata.net/developers/linux/eabi/armel-root-fs.tar.bz2]http://armel.applieddata.net/developers/li...root-fs.tar.bz2[/url]
see http://wiki.debian.org/ArmEabiHowto

stbrock

  • Full Member
  • ***
  • Posts: 149
    • View Profile
    • http://
Debian And Uboot
« Reply #2 on: April 19, 2007, 10:13:33 am »
Quote
I use Debian with u-boot on Zaurus.
Pocketworkstation was an excellent piece of work but ultimately didn't quite make for everyday use on the Zaurus for me. How well does this Arm EABI Debian work? Is it as fast as other 2.6 kernel distributions on the Zaurus or does running off the SD diminish the benefits? Are there customizations for the Zaurus keyboard, display, touchscreen available? Do the packages usually load and run reliably with apt-get like we are used to on the i386? Presumably, default screen size and dialog boxes beyond the edge of the screen are common? Is recompilation with Zaurus customization necessary? Desirable? Feasible?

The ultimate question is whether this Debian distribution plus some "Meanie-style" customizations to the Zaurus might be a shorter route to a laptop-style distribution on the Zaurus with an instant broad range of applications than the other efforts currently underway.

Thanks for the information and links.

svs57

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • http://
Debian And Uboot
« Reply #3 on: April 20, 2007, 04:18:19 am »
A lot of questions

>How well does this Arm EABI Debian work?
I have only 2 problems:
1.Number of packages less than in original Debian.
I have to compile some packages on Z.
2. Problem with 4G SD. Suspend/resume destroy FS. It's happen only with SD>2G

>Is it as fast as other 2.6 kernel distributions on the Zaurus or does running off the SD diminish the benefits?
Much faster then pdaXrom 121
For example. I compile firefoox on r121 3 days but now 1 day.

>Are there customizations for the Zaurus keyboard, display, touchscreen available?
Yes. But I correct some mistakes.

>Do the packages usually load and run reliably with apt-get like we are used to on the i386?
Yes

>Presumably, default screen size and dialog boxes beyond the edge of the screen are common?
No. IMHO it depends on WM. I use icewm.

>Is recompilation with Zaurus customization necessary? Desirable? Feasible?
I recompile only missing packages

>The ultimate question is whether this Debian distribution plus some "Meanie-style" customizations >to the Zaurus might be a shorter route to a laptop-style distribution on the Zaurus with an instant >broad range of applications than the other efforts currently underway.
I feel myself on Z now as comfortable as on my PC.

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Debian And Uboot
« Reply #4 on: April 20, 2007, 07:45:22 am »
I may have to dual boot...
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian And Uboot
« Reply #5 on: April 20, 2007, 10:07:02 am »
That's very cool!

Also had a brief look at the related links:

ArmEabiPort (from Debian wiki)
http://wiki.debian.org/ArmEabiPort#head-d8...45efe93d48bbc94

Arm eabi port available (from Debian-arm mailing list)http://lists.debian.org/debian-arm/2007/01/msg00034.html

Is there any easy installation and setup guide for Zaurus? The official docs are rather technical for a common user (compared to the docs of OpenBSD    ).

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]

svs57

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • http://
Debian And Uboot
« Reply #6 on: April 20, 2007, 10:15:06 am »
Quote
That's very cool!

Also had a brief look at the related links:

ArmEabiPort (from Debian wiki)
http://wiki.debian.org/ArmEabiPort#head-d8...45efe93d48bbc94

Arm eabi port available (from Debian-arm mailing list)http://lists.debian.org/debian-arm/2007/01/msg00034.html

Is there any easy installation and setup guide for Zaurus? The official docs are rather technical for a common user (compared to the docs of OpenBSD    ).
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159388\"][{POST_SNAPBACK}][/a][/div]
We can talk with you about this in russian forum (hpc.ru)

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian And Uboot
« Reply #7 on: April 20, 2007, 10:20:58 am »
Pointer (0 competence in russian)?  

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]

stbrock

  • Full Member
  • ***
  • Posts: 149
    • View Profile
    • http://
Debian And Uboot
« Reply #8 on: April 20, 2007, 10:54:56 am »
Quote
A lot of questions
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159361\"][{POST_SNAPBACK}][/a][/div]
Thanks for a lot of answers, and very encouraging answers, too. So here's a couple more. . . .    

Which Z are you running it on? Do you know of any limitations relevant to the Cxx00, C7X0/860, 6000 or 5xxx series?

If someone can post basic installation and customization instructions, I expect a good many here would give this a try and then post further customizations, compile missing packages, and so forth. Someone here would likely be willing to host a feed and other files and links related to the project.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian And Uboot
« Reply #9 on: April 20, 2007, 10:57:01 am »
Quote
Thanks for a lot of answers, and very encouraging answers, too. So here's a couple more. . . .   

Which Z are you running it on? Do you know of any limitations relevant to the Cxx00, C7X0/860, 6000 or 5xxx series?

If someone can post basic installation and customization instructions, I expect a good many here would give this a try and then post further customizations, compile missing packages, and so forth. Someone here would likely be willing to host a feed and other files and links related to the project.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159392\"][{POST_SNAPBACK}][/a][/div]
[span style=\'font-size:14pt;line-height:100%\']
Absolutely!!! [/span]
 

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]

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Debian And Uboot
« Reply #10 on: April 20, 2007, 11:26:14 am »
Quote
Absolutely!!!  
Hey you have to finish your work in getting a new pdaxrom released before you can go and play with something else  
« Last Edit: April 20, 2007, 11:27:38 am by desertrat »
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

anonuk

  • Full Member
  • ***
  • Posts: 176
    • View Profile
    • http://
Debian And Uboot
« Reply #11 on: April 20, 2007, 11:41:40 am »
Ive been running the arm EABI on my N800 for a little while with a VNC server, works kinda like pocketworkstation. It is however lacking many packages that are on pdaxrom already, xfce was broken and couldnt find firefox/iceweasel, abiword or many others. Then again, icewm + lots of console programs work wonderfully - just not as many packages as pocketworkstation. I think this is because it uses armel feed and therefore doesnt seem to work with regular debian mirrors...

Definitely interested in how to boot this on the Z though and how to get access to more packages if anyone has any other armel mirrors for debian.
« Last Edit: April 20, 2007, 11:42:45 am by anonuk »
* C3100 with Cacko 1.23 and debian (pocketworkstation) - 1Gb SD / 1Gb CF / Prism Wifi
* C-860 with Cacko 1.21b/pdaXrom dualboot with 256Mb CF / 512 Mb SD / Prism Wifi
* SL-5500 with Cacko rom with 128Mb SD home on SD / 96 Mb CF

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian And Uboot
« Reply #12 on: April 20, 2007, 12:18:09 pm »
Quote
Ive been running the arm EABI on my N800 for a little while with a VNC server, works kinda like pocketworkstation. It is however lacking many packages that are on pdaxrom already, xfce was broken and couldnt find firefox/iceweasel, abiword or many others. Then again, icewm + lots of console programs work wonderfully - just not as many packages as pocketworkstation. I think this is because it uses armel feed and therefore doesnt seem to work with regular debian mirrors...

Definitely interested in how to boot this on the Z though and how to get access to more packages if anyone has any other armel mirrors for debian.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159397\"][{POST_SNAPBACK}][/a][/div]

Many new packages will flood in if the base system and the toolchain are stable and standard.    


Quote
Quote
Absolutely!!!  
Hey you have to finish your work in getting a new pdaxrom released before you can go and play with something else  
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159396\"][{POST_SNAPBACK}][/a][/div]

Hey don't get me wrong. I am just writing user notes on pdaX for common users, not primarily the hacking stuff (coz i just can't). I think much of the info is shared across platforms when it comes to actual usage and applications.  
« Last Edit: April 20, 2007, 12:18:42 pm 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]

kellyharding

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.geekgothgrrl.co.uk
Debian And Uboot
« Reply #13 on: April 20, 2007, 12:33:37 pm »
I'd be very interested in giving this a try.

Some easier to follow instructions would be welcome

I use Debian on my servers (and Debian derived on my desktop), so know Debian reasonably well.

If someone can write a small howto to get this port up and running on a Z =(specifically in my case a C860) and a small guide to getting a environment set up on a debian x86 box to do compilation stuff for extra packages? that'd be great
SL-C860: cacko 1.23(currently pdaxii3 to test)
1Gb SD, 2Gb CF, various 512Mb SD and CF cards, Socket LP wifi, Socket Rev F Bluetooth. 2Gb SD and 4Gb CF on order.
--------------------------------------------------------------------------
PC: Athlon64 3000+ with XP/SimplyMepis
Mac: G4 Quicksilver 733 with OS X.4.9
Laptop: iBook G4 (2005) 1.42Ghz, OS X 4.9
Server: Dual PIII/500 with Debian 'etch'

stbrock

  • Full Member
  • ***
  • Posts: 149
    • View Profile
    • http://
Debian And Uboot
« Reply #14 on: April 20, 2007, 02:02:37 pm »
Quote
It is however lacking many packages that are on pdaxrom already, xfce was broken and couldnt find firefox/iceweasel, abiword or many others. Then again, icewm + lots of console programs work wonderfully - just not as many packages as pocketworkstation.
There are 9000 packages in the armel feed, which seems to have been an initial test, e.g., the log says that firefox 1.5 failed simply because the source was not found.
Quote
Definitely interested in how to boot this on the Z though and how to get access to more packages if anyone has any other armel mirrors for debian.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159397\"][{POST_SNAPBACK}][/a][/div]
The developer postings refer to some existing toolchains and feeds, including a toolchain and some packages built and online at OE/Angstrom.

EABI has been around a while, but there seems to have been a burst of activity lately. Someone with a better understanding of the technical details can perhaps give us an idea how useful this could be for the Z community.