Author Topic: Debian And Uboot  (Read 57935 times)

svs57

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • http://
Debian And Uboot
« Reply #210 on: June 29, 2007, 02:49:58 am »
Quote
Quote
Thanks!!
but the file it patches (drivers/input/power.c) seems not to exist in 2.6.22

a check in the kernel 2.6.22-rc1 changelog gives

    Input: remove no longer used power.c handler
   
    Delete the never-compiled source file drivers/input/power.c, and
    remove its entry from the corresponding Makefile, as there is no
    Kconfig file that refers to the config option INPUT_POWER
   
so i patched the file in 2.6.21, put it to 2.6.22, manually patched Kconfig and Makefile to make it compile...hope this is not too stupid
however, still didn't work..
[div align=\"right\"][a href=\"index.php?act=findpost&pid=162327\"][{POST_SNAPBACK}][/a][/div]

Should somebody maybe mention this on the kernel development list?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=163905\"][{POST_SNAPBACK}][/a][/div]
I read in kernel changelog that "drivers/input/power.c" was removed.
I also can't understand how to setup power button.

SoulKiss

  • Newbie
  • *
  • Posts: 8
    • View Profile
Debian And Uboot
« Reply #211 on: July 25, 2007, 01:00:31 pm »
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\"][a href=\"index.php?act=findpost&pid=159062\"][{POST_SNAPBACK}][/a][/div]

I am in an "Interesting" position.

I have discovered while trying to uninstall uboot to go back to pdaXii13 that my NAND flash is faulty


NAND Checksum
Block   Sum1  Sum2   M
------------------------
MAINTE : Ver.1.01
        c27c c27c OK OK
DIAG   : Ver 1.01
        af3d af3d OK OK
KERNEL2: Ver.1.01
        6d47 6d47 OK OK
FLSYS2 : Ver.1.01
        76bb 76bb OK OK
KERNEL1: Ver.1.01
        6d47 6d47 OK OK
ROFLSYS: Ver.1.01
        13d6 9f11 NG OK
PRESET : Ver.1.01
        7a4b c1de NG OK
INFO   : Ver.1.01
        31d3 31d3 OK OK
--------------------
Total  :82f6 55c4
Master:1.01     82f6 NG


What this seems to mean is that I cannot re-install the Sharp Bootloader (from the .DBK file on the TRISoft site)

The main reason that I am looking to change is that I cannot get Bluetooth to work on pdaXrom 0.198, I can get hcitool scan to see other devices and I can even pair with the Zaurus from my phone, but cannot get ppp to come up and make the connection.

My main goal however is to get Debian booting of the microdrive - I have a C3100.

All the links in this thread to things like the kernel.img file and the modules are all broken now, so I was wondering if anyone had copies of all the files required to install Debian on my Zaurus?

Preferably files that are proven to work, so off of someone's working Debian Cx00.

Thanks for any assistance

David

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Debian And Uboot
« Reply #212 on: July 25, 2007, 03:46:24 pm »
I've a similar problem with my C760 ... where apparently the only boot loader that can actually do something different to a nice black screen is u-boot.
But I'm not 100% sure that it's in direct relationship with the nand sums checked in D+M ... as u-boot and emergency image use portions of the nand that are checked and therfore alter the sums of those portions.

I've an intresting thing tough ... I build with code sourcery toolchain an EABI capable kernel with which I partially successfully used on Angstrom root filesystem.
The 2.6.21.5 kernel setuo I have may be usable with Debian too as lon as you keep it in nand (because boot from SD/MMC is not working yet) or maybe also on CF.
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Debian And Uboot
« Reply #213 on: July 26, 2007, 03:48:08 am »
Quote
The main reason that I am looking to change is that I cannot get Bluetooth to work on pdaXrom 0.198, I can get hcitool scan to see other devices and I can even pair with the Zaurus from my phone, but cannot get ppp to come up and make the connection.
I got ppp to connect to my old ISP (the one I used before I got DSL at home) using my C1000 running r198.
I did it manually and I did edit a few things to get it working:
in /etc/bluetooth/hcid.conf
Code: [Select]
# PIN helper
pin_helper /usr/local/bin/bluepin_static;
...
...
...
# Local device class
class 0x3e0100;
...
...
...
# Default link policy
#   none    - no specific policy
#   rswitch - allow role switch
#   hold    - allow hold mode
#   sniff   - allow sniff mode
#   park    - allow park mode
lp rswitch,hold,sniff,park;

I created the /usr/local/bin/bluepin_static script as thus:
Code: [Select]
#!/bin/sh
echo "PIN:"

This is what I did to pear with my mobile:
Code: [Select]
hciconfig hci0 up
hcid
modprobe rfcomm
rfcomm connect rfcomm0 &
pppd  /dev/rfcomm0 115200 name  connect   "chat -v ABORT BUSY ABORT ERROR ABORT \"NO CARRIER\" \"\"  AT OK-AT-OK atz OK atx3l1 OK ats7=60 OK atdt CONNECT"

Also /etc/ppp/pap-secrets should look something like this:
Code: [Select]
# Secrets for authentication using PAP
# client        server  secret                  IP addresses
#or maybe
#client server secret
*
« Last Edit: July 26, 2007, 03:50:43 am by louigi600 »
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

SoulKiss

  • Newbie
  • *
  • Posts: 8
    • View Profile
Debian And Uboot
« Reply #214 on: July 26, 2007, 08:58:13 am »
Quote
Quote
The main reason that I am looking to change is that I cannot get Bluetooth to work on pdaXrom 0.198, I can get hcitool scan to see other devices and I can even pair with the Zaurus from my phone, but cannot get ppp to come up and make the connection.
I got ppp to connect to my old ISP (the one I used before I got DSL at home) using my C1000 running r198.
I did it manually and I did edit a few things to get it working:
in /etc/bluetooth/hcid.conf
Code: [Select]
# PIN helper
pin_helper /usr/local/bin/bluepin_static;
...
...
...
# Local device class
class 0x3e0100;
...
...
...
# Default link policy
#   none    - no specific policy
#   rswitch - allow role switch
#   hold    - allow hold mode
#   sniff   - allow sniff mode
#   park    - allow park mode
lp rswitch,hold,sniff,park;

I created the /usr/local/bin/bluepin_static script as thus:
Code: [Select]
#!/bin/sh
echo "PIN:"

This is what I did to pear with my mobile:
Code: [Select]
hciconfig hci0 up
hcid
modprobe rfcomm
rfcomm connect rfcomm0 &
pppd  /dev/rfcomm0 115200 name  connect   "chat -v ABORT BUSY ABORT ERROR ABORT \"NO CARRIER\" \"\"  AT OK-AT-OK atz OK atx3l1 OK ats7=60 OK atdt CONNECT"

Also /etc/ppp/pap-secrets should look something like this:
Code: [Select]
# Secrets for authentication using PAP
# client        server  secret                  IP addresses
#or maybe
#client server secret
*
[div align=\"right\"][a href=\"index.php?act=findpost&pid=165383\"][{POST_SNAPBACK}][/a][/div]

Yeah, had all that working back in the good old days when the Bluetooth stuff was just getting going

I guess I babbles too much, what I want is a Kernel and install system to chuck Debian onto the HDD in my C3100

David

kralan

  • Newbie
  • *
  • Posts: 4
    • View Profile
Debian And Uboot
« Reply #215 on: February 18, 2008, 08:54:25 am »
svs57, could you please elaborate on the differences between your x-server and angstrom's kdrive?
angstroms current xserver-kdrive-fbdev 1.3 r23 does not seem to work with xmonobut.



Quote from: svs57
Quote
Quote
2) mouse buttons 2 and 3
I use xmonobut to set 2 & 3 buttons:
xmonobut -m 67 -k 68 &
[div align=\"right\"][a href=\"index.php?act=findpost&pid=161251\"][{POST_SNAPBACK}][/a][/div]

I installed debian on internal hard disk of my C3200, but I could not get middle and right mouse click. I tried xmonobut which is in Angstrom feed and which I compiled on Zaurus. Both are useless. Does anyone have any idea?

- yonggun
[div align=\"right\"][a href=\"index.php?act=findpost&pid=163831\"][{POST_SNAPBACK}][/a][/div]
IMHO, its bug of angstrom Kdrive.
Try attached Xserver.

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Debian And Uboot
« Reply #216 on: February 18, 2008, 04:15:59 pm »
Quote
Yeah, had all that working back in the good old days when the Bluetooth stuff was just getting going

I guess I babbles too much, what I want is a Kernel and install system to chuck Debian onto the HDD in my C3100

David

Exactly!! (a fully functional debian- not a 50 hour hobby install)
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf