This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Problems with RedBoot on x86 generic pc...
- To: "'Jonathan Larmour'" <jlarmour at redhat dot com>, "'Adam Agnew'" <agnew at missl dot cs dot umd dot edu>
- Subject: RE: [ECOS] Problems with RedBoot on x86 generic pc...
- From: "Trenton D. Adams" <tadams at theone dot dnsalias dot com>
- Date: Sat, 3 Nov 2001 17:24:40 -0700
- Cc: "'Trenton D. Adams'" <tadams at extremeeng dot com>, "'Matthew M. DeLoera'" <code dot bear at gte dot net>, <ecos-discuss at sources dot redhat dot com>, <waa at cs dot umd dot edu>, <bdpayne at cs dot umd dot edu>, <usn01a at wam dot umd dot edu>
Was this supposed to have been fixed yet? I didn't find most of the
things you were talking about so I figured that maybe it was fixed.
The only thing I found was
> default_value { CYGSEM_HAL_I386_PC_DIAG_SCREEN ? 2 : 1 }
I changed the "3 : 2" to a "2 : 1" and it works.
> -----Original Message-----
> From: ecos-discuss-owner@sources.redhat.com
> [mailto:ecos-discuss-owner@sources.redhat.com] On Behalf Of
> Jonathan Larmour
> Sent: September 13, 2001 10:36 AM
> To: Adam Agnew
> Cc: Trenton D. Adams; 'Matthew M. DeLoera';
> ecos-discuss@sources.redhat.com; waa@cs.umd.edu;
> bdpayne@cs.umd.edu; usn01a@wam.umd.edu
> Subject: Re: [ECOS] Problems with RedBoot on x86 generic pc...
>
>
> Adam Agnew wrote:
> >
> > I've tried the provided image for a floppy on several x86
> boxen, and
> > it works on some, doesn't on others. As a test, i tried setting
> >
> > cdl_option CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS {
> user_value 1 };
> > and cdl_option CYGSEM_HAL_I386_PC_DIAG_SCREEN { user_value 0 };
> >
> > That certainly cleared up the problem, but of course gets
> rid of the
> > PC's screen, which was nice. Maybe someone can use this
> info to track
> > down the bug, I'm not that familiar with the code base yet.
> But that's
> > a temporary fix for poor folks like me who it wasn't working for.
> > Perhaps this is just a problem with motherboards with only
> one serial
> > port. Perhaps its deeper, *shrug*.
>
> One way to find out if there's a problem with boards with one
> serial port.... go to hal/i386/pcmb/current/src/pcmb_serial.c
> and comment out the stuff for channel 1 in cyg_hal_plf_serial_init.
>
> Then go to pcmb_screen.c and in cyg_hal_plf_screen_init
> change all the "2"s to "1"s.
>
> Go to /hal_diag.c and remove the middle entry of
> pc_ser_channels and change the 3 to a 2.
>
> Finally go to hal/i386/pc/current/cdl_hal_i386_pc.cdl and
> change CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS to have:
>
> default_value { CYGSEM_HAL_I386_PC_DIAG_SCREEN ? 2 : 1 }
>
> Then build and try a redboot on a PC with one serial port. If
> it works where the old image didn't, let us know.
>
> Jifl
> --
> Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44
> (1223) 271062 Maybe this world is another planet's Hell
> -Aldous Huxley || Opinions==mine
>