Author Topic: Debian And Uboot  (Read 83188 times)

svs57

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • http://
Debian And Uboot
« Reply #45 on: April 24, 2007, 03:44:50 am »
Quote
if X works-- please post a screenshot!
(and a few words comparing it to OZ or PdaX? if it isn't too much to ask...)
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
ss01.png - icewm and GTKTerm2
ss02.png - fbreader (sorry book in cyrillic  )
ss03.png - zbedic dictionary
ss04.png - gaim IM ( again with cyrillic )
ss05.png - gnome-obex-send (choose device)
ss06.png - gnome-obex-send (sending file)
ss07.png - gnome-obex-server (incoming obex msg)

1. Both OZ and pdaXrom compiled without EABI.
That's why armel applications work faster.
2. It's Debian. It's means "apt" works correct.
No need manually check package depends,
easy compile packages.
3. I hope armel will be Debian official arch.

I also tested  angstrom project:
[a href=\"http://www.angstrom-distribution.org/]http://www.angstrom-distribution.org/[/url]
It also use libc 2.5 and compiled with EABI
But it use ipkg packages. Its cause a lot of problems.
Only one  angstrom project advantage I see
It use NAND as rootfs. And I can eject SD on fly.
But it also cause problem with busybox
UNIX utilitis in busybox are not full-value.
My choice is lost NAND and don't eject SD.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian And Uboot
« Reply #46 on: April 24, 2007, 03:50:15 am »
Great! I will try it on my C860 tonight when I go back from work.
Thanks again, svs57
« Last Edit: April 24, 2007, 03:50:34 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]

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Debian And Uboot
« Reply #47 on: April 24, 2007, 04:24:40 am »
Quote
Only one  angstrom project advantage I see
It use NAND as rootfs. And I can eject SD on fly.
Can you modify the armel debian install so that you don't use SD, but use the internal harddisk in the SL-C3200 case? How?

If you could provide the SL-C3200 kernel, I can host it, and I will do some testing on a 3200.
« Last Edit: April 24, 2007, 04:26:42 am by ShiroiKuma »
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

svs57

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • http://
Debian And Uboot
« Reply #48 on: April 24, 2007, 09:04:53 am »
Where can I put compiled kernel and modules?

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian And Uboot
« Reply #49 on: April 24, 2007, 09:41:47 am »
Quote
Where can I put compiled kernel and modules?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159647\"][{POST_SNAPBACK}][/a][/div]

The kernels and modules are not that big (the forum upload limit is 50MB for each post now). Why don't you attach them here?  

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://
Debian And Uboot
« Reply #50 on: April 24, 2007, 05:18:49 pm »
grrrrrr....

I've got two 256MB and one 4GB SD cards. The 256MB cards are too small for the rootfs... And it takes too much trouble to back up my 4GB card (to reformat from ext2 to ext3) ...
Would there be a kernel for rootfs on CF?  
(svs57, please!  )
« Last Edit: April 24, 2007, 05:38:09 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]

svs57

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • http://
Debian And Uboot
« Reply #51 on: April 25, 2007, 02:36:37 am »
Here 2.6.20.2. kernel for zaurus 3000/3100. Rootfs on /dev/hda1.
I can't test it because I haven't this model.
Rename kernel_c3000_hda1.png to kernel.img and follow pdaXrom documentation.
Rename modules-c3000.tar.bz2.png to modules-c3000.tar.bz2 and untar it on CF.
I can't upload files with real file names.I got msg:
"Upload failed. You are not permitted to upload a file with that file extension"

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Debian And Uboot
« Reply #52 on: April 25, 2007, 03:06:25 am »
Can you post all the armel feeds that you are using for apt-get, so I can check out what software is available...
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

svs57

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • http://
Debian And Uboot
« Reply #53 on: April 25, 2007, 03:36:21 am »
Quote
Can you post all the armel feeds that you are using for apt-get, so I can check out what software is available...
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
deb [a href=\"http://armel-debs.applieddata.net/debian]http://armel-debs.applieddata.net/debian[/url] sid main

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian And Uboot
« Reply #54 on: April 25, 2007, 06:59:28 am »
Quote
Here 2.6.20.2. kernel for zaurus 3000/3100. Rootfs on /dev/hda1.
I can't test it because I haven't this model.
Rename kernel_c3000_hda1.png to kernel.img and follow pdaXrom documentation.
Rename modules-c3000.tar.bz2.png to modules-c3000.tar.bz2 and untar it on CF.
I can't upload files with real file names.I got msg:
"Upload failed. You are not permitted to upload a file with that file extension"
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159727\"][{POST_SNAPBACK}][/a][/div]

Bravo!! Thanks a Zillion, svs57!
I think today I will buy a big enough (but not so big) SD exclusively for Debian on my 860 ...
And see if it also fits into my coming 3200 also.

Also, can you say a few words if there is any known issue in your testing, so that the new brave advernturers will have some clues ahead...  
« Last Edit: April 25, 2007, 07:01:22 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]

svs57

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • http://
Debian And Uboot
« Reply #55 on: April 25, 2007, 07:27:39 am »
Does it works on CF?
Some notes
1. Why I don't use Debian Xserver?
Because mouse buttons doesn't work. That's why I got Xserver from angstrom.
Binaries from angstrom are compatible with debian armel.
Use xmonobut to set second and third bottons.
xmonobut -m 67 -k 68 &
2. I use xbindkeys to switch keyboard language mapping.
Here is  ~/.xbindkeysrc
"/usr/local/bin/kb.sh"
c:37 + Mod2
"/usr/local/bin/br.sh - 5"
c:12 + Mod2
"/usr/local/bin/br.sh + 5"
c:13 + Mod2
---------------------------------
/usr/local/bin/kb.sh script which switch keyboard maping
---------------------------------
#!/bin/sh
rc=/home/root/.xmodmap_cur
if ( [ -w $rc ] & grep  us $rc &>/dev/null) then
 xmodmap /home/root/.xmodmap_ru
 echo ru >$rc
else
 xmodmap /home/root/.xmodmap_us
 echo us > $rc
fi
----------------------------------
Get xmodmap files from pdaXrom
/usr/local/bin/br.sh change brightness (Fn +2, Fn +4)
----------------------------------
#!/bin/sh
act=`cat /sys/class/backlight/corgi-bl/actual_brightness`
max=`cat /sys/class/backlight/corgi-bl/max_brightness`
if [ $1 == "+" ]; then
new=$(($act+$2))
else
new=$(($act-$2))
fi
if [ $new -ge $max ]; then
new=$max
fi
if [ $new -le 1 ]; then
new=1
fi
echo  $new > /sys/class/backlight/corgi-bl/brightness
echo $new >/root/.br
fi
---------------------------------------
/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.
---------------------------------------
#!/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
-------------------------------------------------------
If you find problem feel free to ask me.
May be I've solved it.

svs57

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • http://
Debian And Uboot
« Reply #56 on: April 25, 2007, 07:30:04 am »
Forget to say. I have some problem with SD >2Gb.
Only first part of SD work correct.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian And Uboot
« Reply #57 on: April 25, 2007, 08:02:45 am »
Thanks. Will try tonight on 860 first after getting a new cheap 512MB SD.
As for CF, I am still waiting the delivery of 3200, which was kept by the customs for a week (maybe they mistook this beast for some massive destructive device :lol ), but now seems to be on way ...

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 #58 on: April 25, 2007, 09:27:31 am »
Quote
5. put the "kernel.img" on it, together with an "autoboot.sh" (don't put anything else in the root of the card).
So where is this autoboot.sh?
[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 #59 on: April 25, 2007, 09:43:14 am »
Quote
Quote
5. put the "kernel.img" on it, together with an "autoboot.sh" (don't put anything else in the root of the card).
So where is this autoboot.sh?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159758\"][{POST_SNAPBACK}][/a][/div]

I suppose it's the one in the pdaXrom uboot package.  

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]