Author Topic: Debian And Uboot  (Read 79688 times)

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Debian And Uboot
« Reply #105 on: April 27, 2007, 08:23:28 am »
Are you sure you have moved all the subdirs out of the armel-root-fs directory into root?

Also you don't have to flash the harddisk. If you've flashed the kernel, then just reboot into D+B, then:

Code: [Select]
cd /tmp
mkdir 1
mount /dev/hda1 1
mkdir cf
mount /dev/hdc1 cf
cd 1
And untar the contents of the tar or whatever with debiar rootfs here...

Then reboot and debian will boot with the Angstrom kernel and it'll be no prob.
« Last Edit: April 27, 2007, 08:25:17 am by ShiroiKuma »
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian And Uboot
« Reply #106 on: April 27, 2007, 05:55:45 pm »
One more try with the pdaX uboot.
Reformat my 1GB SD into ext3. Extract all the dirs of the rootfs on it again.
This time I use the autoboot.sh from r121.  The FAT SD auto mounts and runs the script.
Still when I say "y", the system stops at "Please stand by while rebooting the system"
And this is exactly where i got stuck.
Swapping in the ext3 SD. Cut off power. Put in battery. Power on. Nothing happen.

Now i am thinking of Chero's step 8 again: "8. when it reboots, it will stop cause it has no init-files => put the card with system in it "
Does the "reboot" here means the system CAN reboot after choosing "y" in the emergency system, or simply needs swapping the card to make it boot? I can't even see what Chero describes as the INIT step ...

So let me ask again: WHEN exactly shall i swap the FAT card with the ext3 card?

I wonder if anyone here can verify that the kernel(s) attached here are working for 860.

Also in svs57's attachment of the modules for 860, i see another kernel.img there, which is missing in the original module from the gentoo post. Should i use this one?
« Last Edit: April 27, 2007, 05:59:56 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]

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Debian And Uboot
« Reply #107 on: April 28, 2007, 02:32:18 am »
Quote
One more try with the pdaX uboot.
Reformat my 1GB SD into ext3. Extract all the dirs of the rootfs on it again.
This time I use the autoboot.sh from r121.  The FAT SD auto mounts and runs the script.
Still when I say "y", the system stops at "Please stand by while rebooting the system"
And this is exactly where i got stuck.
Swapping in the ext3 SD. Cut off power. Put in battery. Power on. Nothing happen.

Now i am thinking of Chero's step 8 again: "8. when it reboots, it will stop cause it has no init-files => put the card with system in it "
Does the "reboot" here means the system CAN reboot after choosing "y" in the emergency system, or simply needs swapping the card to make it boot? I can't even see what Chero describes as the INIT step ...

So let me ask again: WHEN exactly shall i swap the FAT card with the ext3 card?

I wonder if anyone here can verify that the kernel(s) attached here are working for 860.

Also in svs57's attachment of the modules for 860, i see another kernel.img there, which is missing in the original module from the gentoo post. Should i use this one?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159986\"][{POST_SNAPBACK}][/a][/div]

When you have a working kernel, but no SD with rootfs inserted, you should get a whole lot of text on the screen ending with some message about not finding the init files ....

I tried 2.4.20 kernels from hpc.ru and had the same problem. After installing the kenel : darkness. The only kernel working for me is the one from the gentoo thread (2.6.19). (I haven't tried the ones attached here, I will when I get X running). Maybe the Angstrom-way is the way to go, but that means no more pdaXrom on flash memory ....

Chero.
« Last Edit: April 28, 2007, 02:35:02 am by Chero »
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian And Uboot
« Reply #108 on: April 28, 2007, 03:13:59 am »
Quote
When you have a working kernel, but no SD with rootfs inserted, you should get a whole lot of text on the screen ending with some message about not finding the init files ....

I tried 2.4.20 kernels from hpc.ru and had the same problem. After installing the kenel : darkness. The only kernel working for me is the one from the gentoo thread (2.6.19). (I haven't tried the ones attached here, I will when I get X running). Maybe the Angstrom-way is the way to go, but that means no more pdaXrom on flash memory ....
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159997\"][{POST_SNAPBACK}][/a][/div]

Thanks ...
So it may be the case that the attached kernel is not working for 860.
I guess the INIT error you are talking about is where the booting stops at something like "INIT: version xxx booting"  Am i right?
Although Angstrom installs very easily and smoothly (unlike uboot), it seems the rootfs can only run from CF/microdrive but not SD. But for 860 i need the free CF slot for networking.

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]

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Debian And Uboot
« Reply #109 on: April 28, 2007, 03:24:00 am »
Quote
Quote
When you have a working kernel, but no SD with rootfs inserted, you should get a whole lot of text on the screen ending with some message about not finding the init files ....

I tried 2.4.20 kernels from hpc.ru and had the same problem. After installing the kenel : darkness. The only kernel working for me is the one from the gentoo thread (2.6.19). (I haven't tried the ones attached here, I will when I get X running). Maybe the Angstrom-way is the way to go, but that means no more pdaXrom on flash memory ....
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159997\"][{POST_SNAPBACK}][/a][/div]

Thanks ...
So it may be the case that the attached kernel is not working for 860.
I guess the INIT error you are talking about is where the booting stops at something like "INIT: version xxx booting"  Am i right?
Although Angstrom installs very easily and smoothly (unlike uboot), it seems the rootfs can only run from CF/microdrive but not SD. But for 860 i need the free CF slot for networking.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159999\"][{POST_SNAPBACK}][/a][/div]

I can easily give you a kernel that boots from sd, It's a one line change in OE.
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Debian And Uboot
« Reply #110 on: April 28, 2007, 03:39:26 am »
Quote
/usr/sbin/switchev.sh - switch landscape portaint and etc
I forget where I got  "switchevd" from. I can't find its sources.
But I can send binary  to forum.
Please send it.
Quote
---------------------------------------
#!/bin/sh
export DISPLAY=:0
KBD_SW=`dc -e "$2 10 % p"`
    case $KBD_SW in
    0)
        echo 0 > /sys/class/graphics/fb0/blank
        xrandr -o normal
        ;;
    4)
        echo 0 > /sys/class/graphics/fb0/blank
        xrandr -o normal
        ;;
    3)
        echo 1 > /sys/class/graphics/fb0/blank
        ;;
    7)
        echo 1 > /sys/class/graphics/fb0/blank
        ;;
    2)
        xrandr -o left
        ;;
    6)
        xrandr -o left
        ;;
    esac
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159745\"][{POST_SNAPBACK}][/a][/div]
Is this the switchev.sh?
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Debian And Uboot
« Reply #111 on: April 28, 2007, 03:43:57 am »
Quote
Quote
/usr/sbin/switchev.sh - switch landscape portaint and etc
I forget where I got  "switchevd" from. I can't find its sources.
But I can send binary  to forum.
Please send it.

[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

switchevd is part of zaurusd: [a href=\"http://www.angstrom-distribution.org/repo/?action=details&pnm=zaurusd]http://www.angstrom-distribution.org/repo/...ils&pnm=zaurusd[/url]
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Debian And Uboot
« Reply #112 on: April 28, 2007, 04:08:11 am »
So I've found... Just installing zaurusd in debian now...

I'm having interesting results with this debian with Angstrom kernel so far.

Modified many things, installed a ton of missing packages.

X runs fine, but so far the display is rotated in X and calibration is all messed up.

I'll try using ts.conf from Angstrom and getting the proper rotation done, I guess for this you'll have to install zaurusd gpe-conf and whatnot more...

Was originally thinking of providing a tared bzipped rootfs of working debian (am very close to working now), but seeing as how it already is up to 1 gig, I'm not sure...

Well let's see if I can get it working...

The best bet is probably using Angstrom, and in paralel you can chroot this armel debian. Or is there a performance hit using chroot?
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian And Uboot
« Reply #113 on: April 28, 2007, 07:08:15 am »
Quote
I can easily give you a kernel that boots from sd, It's a one line change in OE.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160000\"][{POST_SNAPBACK}][/a][/div]

Yes, please!  
I would also like to see how it fares to run Angstrom off SD on 860.
Actually i prefer flashing without uboot as i can see normal user won't fancy multi booting. Erasing the OK mode is no good for the faint of the heart.
« Last Edit: April 28, 2007, 07:08:43 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]

pkwong

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • http://
Debian And Uboot
« Reply #114 on: April 29, 2007, 10:59:27 am »
Quote
2. Problem with 4G SD. Suspend/resume destroy FS. It's happen only with SD>2G
any fixes on this? does this only happen on a 4g partition or all 4g cards?

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Debian And Uboot
« Reply #115 on: April 29, 2007, 04:21:00 pm »
Quote
Quote
I can easily give you a kernel that boots from sd, It's a one line change in OE.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Yes, please!  

grab one from [a href=\"http://www.angstrom-distribution.org/unstable/images/c7x0/20070429/]http://www.angstrom-distribution.org/unsta.../c7x0/20070429/[/url]

Quote
Actually i prefer flashing without uboot as i can see normal user won't fancy multi booting.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160014\"][{POST_SNAPBACK}][/a][/div]

Preaching to the choir, dude. Friends don't let friends flash bootloaders without confirmed jtag access.
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Debian And Uboot
« Reply #116 on: April 29, 2007, 09:45:25 pm »
Quote
Quote
Quote
I can easily give you a kernel that boots from sd, It's a one line change in OE.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Yes, please!  

grab one from [a href=\"http://www.angstrom-distribution.org/unstable/images/c7x0/20070429/]http://www.angstrom-distribution.org/unsta.../c7x0/20070429/[/url]

Quote
Actually i prefer flashing without uboot as i can see normal user won't fancy multi booting.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160014\"][{POST_SNAPBACK}][/a][/div]

Preaching to the choir, dude. Friends don't let friends flash bootloaders without confirmed jtag access.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160084\"][{POST_SNAPBACK}][/a][/div]


I don't think uboot is a good idea for the Zaurus either...
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Debian And Uboot
« Reply #117 on: April 29, 2007, 09:58:30 pm »
Getting rid of it would probably make more people try it...It is a deterrent.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Debian And Uboot
« Reply #118 on: April 29, 2007, 10:06:16 pm »
Quote
Getting rid of it would probably make more people try it...It is a deterrent.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160099\"][{POST_SNAPBACK}][/a][/div]

It is one of the reason I am not using anything after beta4
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Debian And Uboot
« Reply #119 on: April 29, 2007, 10:15:34 pm »
Quote
Quote
Getting rid of it would probably make more people try it...It is a deterrent.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160099\"][{POST_SNAPBACK}][/a][/div]

It is one of the reason I am not using anything after beta4
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160100\"][{POST_SNAPBACK}][/a][/div]
We should get rid of it then...so you can make pdaxii13 2.6 edition!  
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo