serial debug patch for ADLO

Adam Sulmicki adam at cfar.umd.edu
Sat Apr 19 11:39:00 CEST 2003


mostly yes, this is why he was able to get serial boot in just several
hours of work.

the major quirks were that he needed to code up the patch for serial
output for bochs to see what's going on. then reconfigure lilo for serial
output. Then to the same with linux.

another issue was that while VIA EPIA-M has 128mb ram, upper 32 mb are
revered for video. thus E820 map had to be modifed so that it shows 96mb
of ram instead of 128mb to linux.

i think that's about it.

On Sat, 19 Apr 2003, Gregg C Levine wrote:

> Hello from Gregg C Levine
> So I gathered from his earlier posts on this subject, and about that
> board specifically. But Adam, isn't ADLO board agnostic? By that I
> mean, that it does not need to know what motherboard it is being used
> on, unlike basic Linux BIOS. But, I am indeed watching this with
> interest.
> -------------------
> Gregg C Levine hansolofalcon at worldnet.att.net
> ------------------------------------------------------------
> "The Force will be with you...Always." Obi-Wan Kenobi
> "Use the Force, Luke."  Obi-Wan Kenobi
> (This company dedicates this E-Mail to General Obi-Wan Kenobi )
> (This company dedicates this E-Mail to Master Yoda )
>
>
>
> > -----Original Message-----
> > From: linuxbios-admin at clustermatic.org [mailto:linuxbios-
> > admin at clustermatic.org] On Behalf Of Adam Sulmicki
> > Sent: Saturday, April 19, 2003 11:32 AM
> > To: hcyun at etri.re.kr
> > Cc: linuxbios at clustermatic.org
> > Subject: Re: serial debug patch for ADLO
> >
> >
> > to clarify. He's been working on getting ADLO running on EPIA-M.
> >
> > He's been pretty succesfull so far.
> >
> > Using serial console he's got both lilo and linux to boot using
> ADLO, so
> > that you can use them pretty much "out of box" as long as you don't
> need
> > video. However from what I heard you can get video once boot is done
> and
> > you run some video program (TinyX Xvesa here).
> >
> > As far as video goes, on cold-reboot he's getting :
> >
> > 	Then, screen is blinkering with various color, but I can't see
> any
> > 	text.
> >
> > As far as video goes, on warm-reboot (after booting with original PC
> BIOS)
> > he's getting :
> >
> > 	If I first booted from original bios and reset with linuxbios
> +
> > 	adlo, I can see text messages of original bios remained.
> >
> > ideas on how to attack the issue?
> >
> > Overall I would say that anyone who want to try get ADLO to work
> should
> > start with serial console and leave VIDEO to the end given
> difficulty
> > debugging binary-only module.
> >
> > Another good idea is to try warm-boot from PC BIOS into ADLO at
> beginning
> > of development/work on ADLO. It leaves you with somewhat functioning
> > video-bios (or fully-functioning as it was for me).
> >
> > On Sun, 20 Apr 2003 hcyun at etri.re.kr wrote:
> >
> > > Hello,
> > >
> > > I made a patch which make all bochs debug message can be seen from
> serial
> > > terminal.
> > > I think it might be useful if you want to apply ADLO to your own
> target.
> > >
> > > you can apply this patch againt util/ADLO/bochs/bios/rombios.c by
> > > # patch -p0 < rombios-serial.patch
> > >
> > > Regards,
> > >
> > >
> >
> >
> > --
> > Adam Sulmicki
> > http://www.eax.com 	The Supreme Headquarters of the 32 bit
> registers
> >
> >
> >
> > _______________________________________________
> > Linuxbios mailing list
> > Linuxbios at clustermatic.org
> > http://www.clustermatic.org/mailman/listinfo/linuxbios
>
>


-- 
Adam Sulmicki
http://www.eax.com 	The Supreme Headquarters of the 32 bit registers





More information about the coreboot mailing list