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>
- Subject: Re: [ECOS] Problems with RedBoot on x86 generic pc...
- From: Adam Agnew <agnew at missl dot cs dot umd dot edu>
- Date: Fri, 14 Sep 2001 12:24:19 -0400 (EDT)
- 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>
I finally found time to try that, and yes it worked on machines where it
wasn't working when there were two serial ports specified. Thanks, and I
hope this info is helpfull in tracking the bug down.
- adam agnewx
On Thu, 13 Sep 2001, Jonathan Larmour wrote:
> 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
>