serial programming

Parit Wattanasin parit_top at yahoo.com
Sun Dec 14 13:38:01 CET 2003


--- linuxbios-request at clustermatic.org wrote:
> Send Linuxbios mailing list submissions to
> 	linuxbios at 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 at clustermatic.org
> 
> You can reach the person managing the list at
> 	linuxbios-admin at 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 at yahoo.com>
> Subject: serial programming
> To: linuxbios at 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 at cdy.org>
> To: linuxbios at 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 at lanl.gov>
> To: Peter Stuge <stuge-linuxbios at cdy.org>
> cc: linuxbios at 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 at cdy.org>
> To: linuxbios at 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 at 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/



More information about the coreboot mailing list