From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour 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... Date: Thu, 13 Sep 2001 09:36:00 -0000 Message-id: <3BA0E06D.F904DF1A@redhat.com> References: X-SW-Source: 2001-09/msg00317.html 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