In a previous email message
http://www.clustermatic.org/pipermail/linuxbios/2003-November/005891.html
I wrote
In V1 the file to modify is src/superio/via/vt1211/setup_serial.inc
That code sets up ttyS0 which is the VT1211's logical device 2. You
want to add some similiar code for logical device 3 to get ttyS1 working.
Assuming you want it to be at 2f8 you'd merge in these lines:
OUTPNPADDR($7)
OUTPNPDATA($3)
/* set the enable in reg. 0x30 */
OUTPNPADDR($0x30)
OUTPNPDATA($0x1)
/* Serial Port 2 Base Address (BEh) */
OUTPNPADDR($0x60)
OUTPNPDATA($0xbe)
/* Serial Port 2 IRQ (03h) */
OUTPNPADDR($0x70)
OUTPNPDATA($0x3)
/* Serial Port 2 Control */
OUTPNPADDR($0xf0)
OUTPNPDATA($0x2)
...then do the turn off pnp
/* turn off PnP */
OUTPNPADDR($0xaa)
...then duplicate the serial setup except the address goes from 3f8 -> 2f8
There is a piece missing. I had to enable the second serial port on the VT1211
and although linux recognized it, there was no serial activity on the lines.
These lines need to be added during the vt1211 configuration:
/* Allow serial port 2 (ldn 3) pins to come out */
OUTPNPADDR($0x27)
OUTPNPDATA($00)
This has to be before the $0xaa write to turn off configuration mode.
The default value on powerup for this register on the vt1211 is 0xff.
There are multi purpose pins on the chip and this connects them to the second
serial port.
-Dave
Yeah, Slasdot obviously is not intended to be used as a message forum for
lingering discussion.
Ron has a working image that was used for what I gather is a similar
mainboard. Output from lspci would also be helpful so that we can make
sure the hardware on your board is the same as the hardware on ours
(Whatever came in the ITuner Minibox M-100's).
P.S. I cc'd this e-mail to the mailing list (
http://www.clustermatic.org/pipermail/linuxbios/2003-December/ ) since
the EPIA is a rather popular platform and others might be able to offer
help in this matter.
Etherboot can boot a kernel over a LAN, and IDE disk, floppy, and probably
some others too. Are you using an ethernet bridge like a Linksys WET11
or an add-in PCI or USB wireless device?
On Thu, 11 Dec 2003, Sonam Chauhan wrote:
> [ Re: http://bsd.slashdot.org/comments.pl?sid=87041&cid=7567224 ]
>
> Hi - Thanks for offering to help with your experience flashing VIA EPIA
> mini-ITX mainboards. Sorry, I didn't see your reply until recently. :)
>
> You wrote:
> > If you're using the 500MHz/800MHz normal SDRAM version, I'll send
> > you a ROM I used with the old freebios tree and an Etherboot
> > payload.
> That'd be great! Yes, I have the 533 MHz fanless EPIA ESP 5000 board
> with PC 133 SDRAM.
>
> By etherboot, do you mean that the board can boot remotely from LAN,
> using the onboard ethernet port? If so, that's excellent! Out of
> curiosity, do you see any problem with the Mini-ITX board etherbooting
> via a 802.11 wireless access point it is connected to with it's ethernet
> interface?
>
> With best regards,
> Sonam Chauhan
>
--- linuxbios-request(a)clustermatic.org wrote:
> Send Linuxbios mailing list submissions to
> linuxbios(a)clustermatic.org
>
> To subscribe or unsubscribe via the World Wide Web,
> visit
>
>
http://www.clustermatic.org/mailman/listinfo/linuxbios
> or, via email, send a message with subject or body
> 'help' to
> linuxbios-request(a)clustermatic.org
>
> You can reach the person managing the list at
> linuxbios-admin(a)clustermatic.org
>
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of Linuxbios digest..."
>
>
> Today's Topics:
>
> 1. serial programming (Parit Wattanasin)
> 2. Re: serial programming (Peter Stuge)
> 3. Re: serial programming (ron minnich)
> 4. Re: serial programming (Peter Stuge)
>
> --__--__--
>
> Message: 1
> Date: Sat, 13 Dec 2003 20:39:44 -0800 (PST)
> From: Parit Wattanasin <parit_top(a)yahoo.com>
> Subject: serial programming
> To: linuxbios(a)clustermatic.org
>
> hi, I'm new for LinuxBIOS. I have problem about my
> mainboard(VIA-EPIA) Now I'm use LinuxBIOS but I
> want
> to customized it to chang payload from etherboot
> with
> my program about serial port(now this mainboard use
> serial console) how can I'change it(my program use
> assembly). Thank you for answer
>
> __________________________________
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing.
> http://photos.yahoo.com/
>
> --__--__--
>
> Message: 2
> Date: Sun, 14 Dec 2003 06:14:45 +0100
> From: Peter Stuge <stuge-linuxbios(a)cdy.org>
> To: linuxbios(a)clustermatic.org
> Subject: Re: serial programming
>
> On Sat, Dec 13, 2003 at 08:39:44PM -0800, Parit
> Wattanasin wrote:
> > hi, I'm new for LinuxBIOS. I have problem about my
> > mainboard(VIA-EPIA) Now I'm use LinuxBIOS but I
> want
> > to customized it to chang payload from etherboot
> with
> > my program about serial port(now this mainboard
> use
> > serial console) how can I'change it(my program use
> > assembly). Thank you for answer
>
> The payload can be exchanged from Etherboot to
> another self-contained ELF
> file simply by recompiling LinuxBIOS.
>
> I'm not quite sure about the status of the EPIA port
> in the version 2 CVS
> tree, but it's there and there's been work put into
> it so it should probably
> compile and work just fine.
>
> The best bet is to check the mailing list archives
> for information, and then
> grab the CVS code, or a snapshot, and make your own
> build.
>
> While making your own build you can also take out
> all serial port activity
> not needed for your application, of course.
>
>
> //Peter
>
> --__--__--
>
> Message: 3
> Date: Sat, 13 Dec 2003 22:52:20 -0700 (MST)
> From: ron minnich <rminnich(a)lanl.gov>
> To: Peter Stuge <stuge-linuxbios(a)cdy.org>
> cc: linuxbios(a)clustermatic.org
> Subject: Re: serial programming
>
> On Sun, 14 Dec 2003, Peter Stuge wrote:
>
> > I'm not quite sure about the status of the EPIA
> port in the version 2 CVS
> > tree, but it's there and there's been work put
> into it so it should probably
> > compile and work just fine.
>
> EPIA is fine in V2, not perfect but FAR better than
> EPIA in v1.
>
> We want to clean up EPIA completely, then fix up
> EPIA-M, but there have
> been some distractions (SC '03).
>
> ron
>
>
> --__--__--
>
> Message: 4
> Date: Sun, 14 Dec 2003 08:37:08 +0100
> From: Peter Stuge <stuge-linuxbios(a)cdy.org>
> To: linuxbios(a)clustermatic.org
> Subject: Re: serial programming
>
> On Sat, Dec 13, 2003 at 10:52:20PM -0700, ron
> minnich wrote:
> > On Sun, 14 Dec 2003, Peter Stuge wrote:
> >
> > > I'm not quite sure about the status of the EPIA
> port in the version 2 CVS
> > > tree, but it's there and there's been work put
> into it so it should probably
> > > compile and work just fine.
> >
> > EPIA is fine in V2, not perfect but FAR better
> than EPIA in v1.
> >
> > We want to clean up EPIA completely, then fix up
> EPIA-M, but there have
> > been some distractions (SC '03).
>
> Ah, yes, that's right.
>
> I can't wait until I actually have the time to sit
> down and do something
> with LinuxBIOS, last time was over two years ago,
> there's been an amazing
> evolution of the code. I can easily imagine running
> LinuxBIOS 3 or 4 on
> _MANY_ systems in another year or two. It seems
> vendors (like Tyan) are
> picking up too, which is great. Just don't take over
> all of their competent
> people over at LANL, at least not until there's
> support for all of their
> boards in the tree.. >:)
>
> Just a short note to celebrate your success. :)
>
>
> //Peter
>
>
> --__--__--
>
> _______________________________________________
> Linuxbios mailing list
> Linuxbios(a)clustermatic.org
>
http://www.clustermatic.org/mailman/listinfo/linuxbios
>
>
> End of Linuxbios Digest
I'm assemble my serial program to elf-format and
exchange for etherboot.It has error
=LinuxBIOS-1.0.0 Wed Dec 3 11:26:55 ICT 2003
starting..
=Enabled first bank of RAM: 0x08000000 bytes
=Copying LinuxBIOS to ram.
=Jumping to LinuxBIOS.
=POST: 0x39
=LinuxBIOS-1.0.0 Wed Dec 3 11:26:55 ICT 2003
booting...
=POST: 0x40
=...
=...
=...
=Copying IRQ routing tables to 0xf0000...done.
=Verifing priq routing tables copy at
0xf0000...succeed
=POST: 0x96
=Wrote linuxbios table at: 00000500 - 000006b0
=checksum 8255
=
=Welcome to elfboot, the open sourced starter.
=January 2002, Eric Biederman.
=Version 1.2
=
=POST: 0xf8
37:init_bytes() - zkernel_start:0xfff00000
=zkernel_mask:0x0000ffff
=Found ELF candiate at offset 0
=New segment addr 0x8048000 size 0xa6 offset 0x0
=filesize 0xa6
=(cleaned up) New segment addr 0x8048000 size 0xa6
=offset 0x0 filesize 0xa6
=Cannot Load ELF Image
=POST: 0xff=
__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
hi, I'm new for LinuxBIOS. I have problem about my
mainboard(VIA-EPIA) Now I'm use LinuxBIOS but I want
to customized it to chang payload from etherboot with
my program about serial port(now this mainboard use
serial console) how can I'change it(my program use
assembly). Thank you for answer
__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
I am using SC1200.
>From: ron minnich <rminnich(a)lanl.gov>
>To: Devi Priya <ijpriya(a)hotmail.com>
>CC: linuxbios(a)clustermatic.org
>Subject: Re: Please help
>Date: Wed, 10 Dec 2003 20:40:51 -0700 (MST)
>
>On Thu, 11 Dec 2003, Devi Priya wrote:
>
> > diskonchip millennium. If I have to use diskonchip millennium with
> > linuxbios, to which physical address should the DOCM should be mapped in
> > hardware ? Is any driver should be loaded before the OS gets loaded? I
>have
> > mapped in hardware 0xFFFFFFFF-0xFF800000. Is this correct? Does any
> > remapping is to be done in hardware afer this?
> > Which file system should I use?
>
>I would like to help but your questions indicate you are somewhat
>unfamiliar with many things. Are you using some standard motherboard or
>designing one?
>
>If you are not designing one, consider buying an existing DOC-based mobo
>from cwlinux.com and learning from that.
>
>ron
>
_________________________________________________________________
Contact brides & grooms FREE! Only on www.shaadi.com.
http://www.shaadi.com/ptnr.php?ptnr=hmltag Register now!
Hi,
I like to have my linuxbios, linux OS, filesystem in the same
diskonchip millennium. If I have to use diskonchip millennium with
linuxbios, to which physical address should the DOCM should be mapped in
hardware ? Is any driver should be loaded before the OS gets loaded? I have
mapped in hardware 0xFFFFFFFF-0xFF800000. Is this correct? Does any
remapping is to be done in hardware afer this?
Which file system should I use?
_________________________________________________________________
Download cool KHNH ringtones. Add style to your mobile.
http://server1.msn.co.in/sp03/gprs/howcani_ring.asp Simply click here.
Hi,
This is my first posting to this list. Before posting this mail I
searched for any support of net 4501 soekris box.
Is net 4501 soekris box is supported by linuxbios?
Thanks in advance,
Best Regards,
Ravi
Hi,
I like to have my linuxbios, linux OS, filesystem in the same
diskonchip millennium. If I have to use diskonchip millennium with
linuxbios, to which physical address should the DOCM should be mapped in
hardware ? Is any driver should be loaded before the OS gets loaded? I have
mapped in hardware 0xFFFFFFFF-0xFF800000. Is this correct? Does any
remapping is to be done in hardware afer this?
Which file system should I use?
Regards,
Priya.
_________________________________________________________________
Discover India. Celebrate her diversity.
http://server1.msn.co.in/features/tourism/ Come, fall in love!
I'm working on a BIOS with Promise PDC20275 IDE controller, But the Ultra DMA mode can't work anyway. I can't get the datasheet of the controller.Anybody knows how to initialize the controller? or give me some advices, Thanks very much!
Regards,
Jia Jianwei