Re: irda on the ipaq shell WORKING

From: Michael Opdenacker <zumbi3.a.t.free.fr>
Date: Wed Feb 18 2004 - 11:36:35 EST

Hi Danny!

Excellent news! Thanks a lot!

Could you share your modified initrd file with us, either through an URL
on your personal web space or through a private mail to me (in which
case I will publish it on my site), please?

I also have issues with mine, and I would like to try it...

Thanks again!

    :-)

>at 9600 bps :)
>
>Hi Pattrick and all others,
>
>after some testing last night, i am now able to get a shell via irda.
>The basic idea is, *not* to use the "console=..." kernel boot paramter,
>but instead hardcode the "console via irda" into /dev. So here are the
>instructions:
>
>1) build initrd with Andrews initrd-kit (was available at
>http://zap.sh.nu:8000/files/initrd-kit.tar.bz2 but right now i am
>getting a "connection refused") as root with:
>
>barney /home/ipaq/dev/tmp # tar xjf ../initrd-kit.tar.bz2
>barney /home/ipaq/dev/tmp # echo '#!/bin/sh' > .initrd/linuxrc
>barney /home/ipaq/dev/tmp # echo "/bin/sh" >> .initrd/linuxrc
>barney /home/ipaq/dev/tmp # rm .initrd/dev/console
>barney /home/ipaq/dev/tmp # mknod .initrd/dev/console c 4 66
>barney /home/ipaq/dev/tmp # ./mkfs
>
>2) remove the "console=..." part from startup.txt
>
>barney /home/ipaq/dev/tmp # cat startup.txt
>set KERNEL zImage
>set MTYPE 341
>set INITRD initrd
>set CMDLINE "root=/dev/ram0 rw init=/linuxrc cachepolicy=writethrough"
>bootlinux
>
>3) start minicom on pc with the following settings:
>
>barney /home/ipaq/dev/tmp # cat /etc/minicom/minirc.irda
># Machine-generated file - use "minicom -s" to change parameters.
>pu baudrate 9600
>pu bits 8
>pu parity N
>pu stopbits 1
>pu rtscts No
>
>4) put ipaq in place and start haret, so i get in minicom
>
>BusyBox v0.60.5 (2004.01.12-19:49+0000) Built-in shell (ash)
>Enter 'help' for a list of built-in commands.
>
>sh: can't access tty; job control turned off
># dmesg
>Linux version 2.6.1-rmk0-hh0 (ipaq@barney) (gcc version 3.3.2) #1 Wed
>Feb 18 14:31:04 CET 2004
>CPU: XScale-PXA255 [69052d06] revision 6 (ARMv5TE)
>...
>
>the kernel was compiled with Michael's h2200_config__jan29a
>
>Thats it for now, hope it works for you too :)
>
>
>Keep up the *great* work and happy hacking
>
>Danny
>
>
>

-- 
Michael Opdenacker
http://opdenacker.org/
Received on Wed Feb 18 16:36:37 2004

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:41:46 EDT