I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods

Click Here!
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / I-Opener Areas / I-Opener Technical Info Reference (MODERATED)
BIOS/Sandisk update via PPP over serial port

New MessageBIOS/Sandisk update via PPP over serial port (modified 0 times) Bjorn Helgaas
I built Prefect's adapter to use the second serial port and
used the following procedure to install Jailbait Linux on
an unmodified I-opener. No need to plug in a phone line
or try to make make your modem work without dialtone.

I connected the I-opener's second serial port (/dev/ser1)
to the second serial port (/dev/ttyS1) of a Linux box
through Prefect's serial port circuit and a null modem
cable. Verify connectivity with "qtalk -d /dev/ser1" on
the I-opener side and a terminal emulator (I used minicom)
on the Linux side. After that, you should be set to go.

First, get qnxflash and jailbait linux distribution to the
Linux box.

linux# mkdir /tmp/io; cd /tmp/io
linux# wget http://download.sourceforge.net/openflash/qnxflash.tgz
linux# tar -zxvf qnxflash.tgz
linux# wget http://download.sourceforge.net/JAILBAIT/version5_fullinstall.img.gz

Set up ppp networking between the Linux box (192.168.0.2)
& the I-opener (192.168.0.3). The connection goes away
after a while, so I had to restart it three or four
times before getting everything transferred. I got about
10Kb/s transfer rate, so it really doesn't take too long.
The PIDs of tinit and Dev.ser may vary; check your machine
with ps.

io# kill 63 26 # tinit, Dev.ser -m 2f8
io# cd /etc/ppp; mv options options.orig
io# on -t /dev/null Dev.ser -e -b 9600 -m 2f8,3
io# pppd /dev/ser1 115200 192.168.0.3:192.168.0.2 local noauth

linux# pppd /dev/ttyS1 115200 192.168.0.2:192.168.0.3 local noauth

Transfer files & update BIOS. The I-opener parts can be
done either on the IO console or using a telnet session
from the Linux machine. I made backup copies of the BIOS
and the original Sandisk contents for good measure.

io# cd /; cat /dev/hd0 | gzip -9 > hd0.gz
io# ftp 192.168.0.2
<login to linux FTP server>
ftp> bin
ftp> cd /tmp/io
ftp> put hd0.gz
ftp> get qnxflash
ftp> quit
io# chmod +x qnxflash
io# ./qnxflash -i
io# ./qnxflash -r bios.bin
io# ftp 192.168.0.2
<login to linux FTP server>
ftp> bin
ftp> cd /tmp/io
ftp> put bios.bin
<fiddle with bios on linux box>
ftp> get bios.bin
ftp> quit
io# ./qnxflash -w bios.bin
io# ./qnxflash -v bios.bin

io# ftp 192.168.0.2
<login to linux FTP server>
ftp> bin
ftp> cd /tmp/io
ftp> get version5_fullinstall.img.gz
ftp> quit
io# gzip -d -c < version5_fullinstall.img.gz > /dev/hd0

<power-cycle I-Opener>

05-09-2000 07:17:31

New MessageRE:BIOS/Sandisk update via PPP over serial port (modified 0 times) V3 Hacker
What version I-Opener did you do this to?

Was it a V3(no /etc/shadow file) unit?

Could you just telnet in after connecting to the serial port?

What username and password did you use?

Thanks

05-09-2000 12:02:24

New MessageRE:BIOS/Sandisk update via PPP over serial port (modified 0 times) Bjorn+Helgaas
I think mine is a V2, though I'm not up on
the exact nomenclature. The original BIOS
splash screen was just "I-Opener", not the
"nothing but net" screen. Md5sum was

4d5c00379485ee7c675c13645fbad2ea

I logged in as "root", password "osiw$6.4".
Actually, on the console, I never had to log
in at all; I just hit "4" three times and
got a root shell.

After bringing up pppd, I could telnet from
the Linux box to the I-opener. Of course,
I then had to login as root on the telnet
session.

05-09-2000 18:39:26

New MessageRE:BIOS/Sandisk update via PPP over serial port (modified 0 times) Mintaka+Mephit
ftp> cd /tmp/io
ftp> put bios.bin
<fiddle with bios on linux box>
ftp> get bios.bin
ftp> quit
io# ./qnxflash -w bios.bin
io# ./qnxflash -v bios.bin

Okay, I'm an ignorant new Linux user who's only been using it for a few months and doesn't understand everything... what does the "fiddle with bios on linux box" mean? It seems to me that between putting and getting the bios.bin file something must be done to the bios.bin file on the Linux machine, but you don't make clear what.. if you could explain that in a little more detail, it'd sure as hell make my day, as I wouldn't even have to finish cracking this thing open (Damn Torx screws) to flash it.

05-29-2000 15:58:18

New MessageRE:BIOS/Sandisk update via PPP over serial port (modified 0 times) Dr. Ion
Mintaka: It's just the part where you copy the bios.bin to a file you want to keep, and replace it with the v2 BIOS you want to burn.

You could use two different filenames if you don't want to "fiddle with bios"

put bios-backup.bin
get bios-v2.bin

Whatever.

05-30-2000 12:20:12

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3