Re: alix help

2008-09-22 Thread Antoine Junod
Vladimir Kirillov [EMAIL PROTECTED] writes:

 On 12:55 Sun 21 Sep, [EMAIL PROTECTED] wrote:
 /etc/boot.conf:
 set tty com0
 stty com0 38400

 I think it's better to set com speed _before_ setting com0 as tty, it
 can start throwing garbage into console, as it was spectated on soekris
 net4801:

 stty com0 38400
 set tty com0

If I set the speed before setting com0 as tty, I don't get garbage on
the serial console but I don't get the boot prompt.

If I set com0 as tty before setting the speed, I get a bit of garbage
but I also get the boot prompt.

I higly prefer the latter. But what I see on my console is maybe
because I didn't read enough manual material.

A+
-AJ



Re: alix help

2008-09-22 Thread Antoine Junod
Hi,

Kendall Shaw [EMAIL PROTECTED] writes:

 If I were able to upgrade the bios, I don't know how I will actually
 install openbsd on the disk.  Aside from transfering files using
 Xmodem, what is the procedure for actually installing an image onto
 the CF card?

I usually install such systems by booting from install43.iso in a
virtual machine to which the CF card is plugged via usb. I then make a
normal installation on the cf card instead of the hard drive. I did it
with both virtualbox and vmware for both soekris and alix boards.

Before rebooting, you have to edit /etc/boot as follow:

 set tty com0
 stty com0 38400

and modify the line in /etc/ttys starting with tty00 as follow:

 tty00   /usr/libexec/getty std.38400  vt100   on secure

If you've installed the system through a vm, the CF card will not
appear as the same device node. You'll thus edit /etc/fstab to reflect
the change (usually change sd0 w/ wd0).

Also think to change the network config. Your network card certainly
won't be the same on the vm and on the board.

This way to install OpenBSD is not the simplest one (in regard of the
pxeboot one) but has the advantage to not have to put pxe stuff on the
network.

A+
-AJ



Re: alix help

2008-09-22 Thread Christian

 someone mentioned working on it, but nothing further..

That was me. Unfortunately this is an ultra-low priority 
spare-time project =( The code is 95% ready, however, last time 
I worked on it was during Easter... It is a loadable kernel 
module that directly talks to the flash chip.


- Christian



Re: alix help

2008-09-21 Thread Martin Schmitt
Kendall Shaw schrieb:

 If I were able to upgrade the bios, I don't know how I will actually install 
 openbsd on the disk.  Aside from transfering files using Xmodem, what is the 
 procedure for actually installing an image onto the CF card?

I have tried two methods for installing OpenBSD, and haven't decided yet
which one of the two I like better.

First, there's Flashdist from http://www.nmedia.net/flashdist/ which is
well optimized for flash enviroments and is installed by writing out an
image to a CF card. This has a somewhat bullet-proof appearance, but
it's not simple to customize.

Second, I have recently received a shipment of Microdrives, allowing for
a regular install that doesn't need to be optimized for read-only
operation. The PXE environment needs to be set up as described in
http://www.openbsd.org/faq/faq6.html#PXE and the bsd.rd kernel needs
to be booted for installation. This has the big advantage that it works
just like any OpenBSD installer.

Kind regards,

-martin


-- 
Martin Schmitt / Schmitt Systemberatung / www.scsy.de
-- http://www.pug.org/index.php/Benutzer:Martin --



Re: alix help

2008-09-21 Thread secucatcher
Le Sun, 21 Sep 2008 00:51:23 + (UTC)
Stuart Henderson [EMAIL PROTECTED] a pris sa plume:

 On 2008-09-20, Kendall Shaw [EMAIL PROTECTED] wrote:
  I got an alix2c2 which I'm hoping to install openbsd on. Is there
  a way to upgrade it's bios and install openbsd on it from openbsd?  
 
 someone mentioned working on it, but nothing further..


i'v got and alix 2b2 and that's work easily
just install openbsd with the compact flash reader with the CF attach to your 
pc as u install openbsd normaly
but choose the disk u see on the CF reader.
then modify the installation, three files to change:

/etc/boot.conf:
set tty com0
stty com0 38400
set timeout 5

/etc/ttys like that:
tty00   /usr/libexec/getty std.38400  vt100   on  secure 

and /etc/fstab   
/dev/wd0a / ffs rw,softdep 1 1
/dev/wd0d /var ffs rw,softdep,nodev,nosuid 1 2


cause when u install on the card reader and when u put it on the alix, the 
openbsd
doesn't see the disk as the same mount point.
just put the CF in the alix and that is working.
for the bios try again with documentation on pc engines (u need a CF for that)
thanks again to pascal that give me a chance to have an alix to test openbsd on 
it



Re: alix help

2008-09-21 Thread Vladimir Kirillov
On 12:55 Sun 21 Sep, [EMAIL PROTECTED] wrote:
 /etc/boot.conf:
 set tty com0
 stty com0 38400

I think it's better to set com speed _before_ setting com0 as tty, it
can start throwing garbage into console, as it was spectated on soekris
net4801:

stty com0 38400
set tty com0

...

-- 
Vladimir Kirillov



Re: alix help

2008-09-21 Thread Stuart Henderson
On 2008/09/21 12:55, [EMAIL PROTECTED] wrote:
 Le Sun, 21 Sep 2008 00:51:23 + (UTC)
 Stuart Henderson [EMAIL PROTECTED] a pris sa plume:
 
  On 2008-09-20, Kendall Shaw [EMAIL PROTECTED] wrote:
   I got an alix2c2 which I'm hoping to install openbsd on. Is there
   a way to upgrade it's bios and install openbsd on it from openbsd?  
  
  someone mentioned working on it, but nothing further..
 
 
 i'v got and alix 2b2 and that's work easily

what, upgrading the bios from openbsd?

 just install openbsd with the compact flash reader with the CF attach to your 
 pc as u install openbsd normaly

Many people find pxeboot(8) simpler.



Re: alix help

2008-09-21 Thread secucatcher
Le Sun, 21 Sep 2008 12:49:49 +0100
Stuart Henderson [EMAIL PROTECTED] a pris sa plume:

 what, upgrading the bios from openbsd?

nop just install openbsd
for  the bios i don't remenber exactly 
it was easy for what i remenber



Re: alix help

2008-09-21 Thread Andrew Konkol
Whatever you do, do NOT attempt to update bios by sending a file over a
console session.  Screwed up my bios and had to have pc engines send me a
rescue bios chip and bootable cf card.  Once obtaining the latest bios I
just plugged in a cf to ide converter and continued as if it was a normal
install.

http://www.copyandwaste.com/2008/05/26/alix-2c3-openbsd-43/
-a

On Sun, Sep 21, 2008 at 6:49 AM, Stuart Henderson [EMAIL PROTECTED]wrote:

 On 2008/09/21 12:55, [EMAIL PROTECTED] wrote:
  Le Sun, 21 Sep 2008 00:51:23 + (UTC)
  Stuart Henderson [EMAIL PROTECTED] a pris sa plume:
 
   On 2008-09-20, Kendall Shaw [EMAIL PROTECTED] wrote:
I got an alix2c2 which I'm hoping to install openbsd on. Is there
a way to upgrade it's bios and install openbsd on it from openbsd?
  
   someone mentioned working on it, but nothing further..
 
 
  i'v got and alix 2b2 and that's work easily

 what, upgrading the bios from openbsd?

  just install openbsd with the compact flash reader with the CF attach to
 your pc as u install openbsd normaly

 Many people find pxeboot(8) simpler.



Re: alix help

2008-09-20 Thread Stuart Henderson
On 2008-09-20, Kendall Shaw [EMAIL PROTECTED] wrote:
 I got an alix2c2 which I'm hoping to install openbsd on. Is there
 a way to upgrade it's bios and install openbsd on it from openbsd?

someone mentioned working on it, but nothing further..

 I see instructions for upgrading the bios using freedos, so I got
a CF card reader and used instructions to install freedos from
windows xp, but when I boot the alix it complains invalid system
disk.

the LBA image on http://www.pcengines.ch/freedos.htm usually
works ok.

 If I were able to upgrade the bios, I don't know how I will
actually install openbsd on the disk.

man pxeboot

 Aside from transfering files using Xmodem

you wouldn't be able to do that anyway.