Author Topic: Debian And Uboot  (Read 79711 times)

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian And Uboot
« Reply #75 on: April 26, 2007, 01:37:07 am »
Thanks Capn_Fish for the hint.
The answer is plain simple: both the kernel Chero's post links to and svs57 uploads are for Cxx00 only, not for Cx00.
Last night I was just being over excited and overlooked this most important fact.
 

svs57, is there a kernel for 860? would the one you use on 750 will also suits 860?
« Last Edit: April 26, 2007, 01:37:28 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]

kellyharding

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.geekgothgrrl.co.uk
Debian And Uboot
« Reply #76 on: April 26, 2007, 02:51:05 am »
Quote
Thanks Capn_Fish for the hint.
The answer is plain simple: both the kernel Chero's post links to and svs57 uploads are for Cxx00 only, not for Cx00.
Last night I was just being over excited and overlooked this most important fact.
 

svs57, is there a kernel for 860? would the one you use on 750 will also suits 860?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159825\"][{POST_SNAPBACK}][/a][/div]

Yes a seperate C7x0 kernel is needed (860 being same as 760, just cosmetic changes iirc).

I'm starting to wish I had the money to buy a Cxxx0, though did have a C1000 to play with whilst setting it up as a mysql/apache club door entry thing, which was a pleasant change to my C860.

Kelly
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'

svs57

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • http://
Debian And Uboot
« Reply #77 on: April 26, 2007, 03:33:17 am »
Sorry. Here are kernels and modules for 750/760/860

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Debian And Uboot
« Reply #78 on: April 26, 2007, 03:48:35 am »
Could someone please explain how I get X running ?

I can boot, set my keymap, get wireless going, apt-get, ... But no X.
I set /proc/sys/kernel/hostname to "zaurus"
installed xorg and icewm
installed angstrom-xserver
did "export DISPLAY=:0" (also tried "export DISPLAY=zaurus:0")

but when I "startx" I get "could not connect to display" or something like that.
What can I do ? Do I need a modified "startx" ?

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.

svs57

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • http://
Debian And Uboot
« Reply #79 on: April 26, 2007, 04:26:42 am »
Quote
Could someone please explain how I get X running ?

I can boot, set my keymap, get wireless going, apt-get, ... But no X.
I set /proc/sys/kernel/hostname to "zaurus"
installed xorg and icewm
installed angstrom-xserver
did "export DISPLAY=:0" (also tried "export DISPLAY=zaurus:0")

but when I "startx" I get "could not connect to display" or something like that.
What can I do ? Do I need a modified "startx" ?

Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159831\"][{POST_SNAPBACK}][/a][/div]
Try
startx -- -fp /usr/share/fonts/X11/misc/:/usr/share/fonts/X11/100dpi/:/usr/share/fonts/X11/75dpi/:/usr/s
hare/fonts/X11/Type1/:/usr/share/fonts/truetype/freefont/:/usr/share/fonts/truetype/ttf-dejavu/
If doesn't help write here full error messages.

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Debian And Uboot
« Reply #80 on: April 26, 2007, 04:38:52 am »
Quote
Quote
Could someone please explain how I get X running ?

I can boot, set my keymap, get wireless going, apt-get, ... But no X.
I set /proc/sys/kernel/hostname to "zaurus"
installed xorg and icewm
installed angstrom-xserver
did "export DISPLAY=:0" (also tried "export DISPLAY=zaurus:0")

but when I "startx" I get "could not connect to display" or something like that.
What can I do ? Do I need a modified "startx" ?

Chero.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
Try
startx -- -fp /usr/share/fonts/X11/misc/:/usr/share/fonts/X11/100dpi/:/usr/share/fonts/X11/75dpi/:/usr/s
hare/fonts/X11/Type1/:/usr/share/fonts/truetype/freefont/:/usr/share/fonts/truetype/ttf-dejavu/
If doesn't help write here full error messages.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159833\"][{POST_SNAPBACK}][/a][/div]

Thanks for the hint, I'll try when I get home this evening - left my "debian-SD" over there.

edit : I also found this page in the angstrom wiki : [a href=\"http://linuxtogo.org/gowiki/ZaurusAkita]http://linuxtogo.org/gowiki/ZaurusAkita[/url] where the talk about starting X in an alternative way:
Code: [Select]
# Xfbdev -br -pn -dpi 200 -rgba rgb -screen 480x640@270 :0 -noreset &
# DISPLAY=:0 x-window-manager



Chero.
« Last Edit: April 26, 2007, 08:05:03 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 #81 on: April 26, 2007, 08:35:38 am »
Back to Chero's guide again:

8. when it reboots, it will stop cause it has no init-files => put the card with system in it
9. put out the battery (and power), wait 5 secs, insert battery
10. debian boots.

I can get to step 8.
(I can only boot into the emergency system WITHOUT the batter)
When rebooting (first mount /dev/mmcblk0p1 /mnt/card; then run /mnt/card/autoboot.sh),
the system does stop and dim a little bit.
Then i take out the FAT card and insert the ext3 card with the system.
And then take out the AC, and wait 5 seconds.
Then I put in the battery.
Press On. Darkness. Nothing ....

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 #82 on: April 26, 2007, 08:48:24 am »
Quote
Back to Chero's guide again:

8. when it reboots, it will stop cause it has no init-files => put the card with system in it
9. put out the battery (and power), wait 5 secs, insert battery
10. debian boots.

I can get to step 8.
(I can only boot into the emergency system WITHOUT the batter)
When rebooting (first mount /dev/mmcblk0p1 /mnt/card; then run /mnt/card/autoboot.sh),
the system does stop and dim a little bit.
Then i take out the FAT card and insert the ext3 card with the system.
And then take out the AC, and wait 5 seconds.
Then I put in the battery.
Press On. Darkness. Nothing ....
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159847\"][{POST_SNAPBACK}][/a][/div]
Strange. u-boot should start autoboot.sh automaticly.
I use sd with ext3 fs.
Many times i did this without any problems.
Today I compiled 2.6.21 kernel and flash it.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian And Uboot
« Reply #83 on: April 26, 2007, 08:48:41 am »
Also i found the uncompressed module tarball with the kernel dir as "2.6.20.2-corgi". Do i need to rename it to "2.6.20.2"?

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]

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Debian And Uboot
« Reply #84 on: April 26, 2007, 08:52:06 am »
Just leave the card in, remove the AC cord and the battery. Then hold down OK, while holding OK insert just the power cord, and still holding OK press the power button.

The Z will boot into the pdaXrom emergency system, it'll find the kernel etc. and install it, then you reboot and debian will boot...

I still think the hard efforts are not working seeing as how to so much isn't working in comparison with Angstrom.

The only thing cool would be the working apt-get in debian etc.

But I think it's gonna take a lotta sweat to get this debian into a workable state that Angstrom is in already now...

Good luck and post your progress.
[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 #85 on: April 26, 2007, 09:14:07 am »
After booting into the emergency system,
uname -a gives me this:
Code: [Select]
Linux (none) 2.6.16 #1 PREEMPT Sat Apr 14 12:47:16 UTC 2007 armv5tel unknownIs there something wrong here?


Ok, let me make things most explicit here.
What i have just done:
1. Flashed u-boot (with 4 files: emercenc.img, u-boot.bin, updater.pro, updater.sh) with my FAT SD
2. Reboot into the Emergency system
3. Remove the u-boot files and copy autoboot.sh (from the uboot tarball) and kernel.img (the 1st attachment in post #78) on this SD
4. Mount /dev/mmcblk0p1 /mnt/card
5. Run /mnt/card/autoboot.sh
6. When asked "Proceed with pdaxrom installation or boot to emergency system? [y/n]", press y and hit [Enter]
7. "Reboot ... The system is going down NOW !! ...... Please stand by while rebooting the system." Then the screen dims and the system stops.
8. Eject the FAT SD, and insert the EXT3 SD with the extracted rootfs and modules
9. Remove AC (no battery to remove because it was alalready removed in order to get into the Emergency System in step 2.); power cut, black out.
10. Press [OK] and keep pressing it)
11. Reinsert AC (still pressing [OK])
12. Hit [On], back to the Emergency System again (step 2). That's exactly the starting point.

Thanks again!

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 #86 on: April 26, 2007, 09:26:59 am »
Quote
Also i found the uncompressed module tarball with the kernel dir as "2.6.20.2-corgi". Do i need to rename it to "2.6.20.2"?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159851\"][{POST_SNAPBACK}][/a][/div]
No

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Debian And Uboot
« Reply #87 on: April 26, 2007, 09:35:43 am »
Quote
10. Press [OK] and keep pressing it)
11. Reinsert AC (still pressing [OK])
12. Hit [On], back to the Emergency System again (step 2). That's exactly the starting point.

Thanks again!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159855\"][{POST_SNAPBACK}][/a][/div]

switch step 2 and 3, then 4 shouldn't be necessary and 5 will be done automatically.

Don't press OK in step 10/11/12, the kernel automatically looks for the SD to boot from. No need to press anything.
« Last Edit: April 26, 2007, 09:39:53 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.

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Debian And Uboot
« Reply #88 on: April 26, 2007, 09:41:10 am »
Quote
7. "Reboot ... The system is going down NOW !! ...... Please stand by while rebooting the system." Then the screen dims and the system stops.
8. Eject the FAT SD, and insert the EXT3 SD with the extracted rootfs and modules
It should just boot now, man. That's what it did for me. Normally. Without the OK routine. If only I could remember if I had to do anything else, but I don't think so... Does it not boot normally now, just hitting power?
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Debian And Uboot
« Reply #89 on: April 26, 2007, 09:43:53 am »
Quote
12. Hit [On], back to the Emergency System again (step 2). That's exactly the starting point.

[div align=\"right\"][a href=\"index.php?act=findpost&pid=159855\"][{POST_SNAPBACK}][/a][/div]

That's the fun of it, you can keep going ....            
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.