This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Interesting problem surfaces after adding the basic IDE driver to a simple RedBoot configuration
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Gregg Levine <gregg dot drwho8 at gmail dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Sun, 23 Dec 2007 09:28:31 +0100
- Subject: Re: [ECOS] Interesting problem surfaces after adding the basic IDE driver to a simple RedBoot configuration
- References: <18d205ed0712222105y34c2cfe0id6dd5b6c98d3471a@mail.gmail.com>
On Sun, Dec 23, 2007 at 12:05:20AM -0500, Gregg Levine wrote:
> Hello!
> Here's a new one. And unrelated to my earlier messages. I created an
> ECC file based on the regular PC w/ networking via an Intel device,
> and then added the IDE driver. Finally I found and attempted to add
> the ECM for floppy support for RedBoot. This then surfaced on the
> output pane:
> /usr/local/anoncvs/ecos/packages/hal/i386/pc/current/misc/redboot_FLOPPY.ecm:
> error
> The savefile contains a cdl_option for an unknown option
> `CYGBLD_BUILD_REDBOOT'
> /usr/local/anoncvs/ecos/packages/hal/i386/pc/current/misc/redboot_FLOPPY.ecm:
> error
> The savefile contains a cdl_option for an unknown option
> `CYGSEM_REDBOOT_VALIDATE_USER_RAM_LOADS'
> /usr/local/anoncvs/ecos/packages/hal/i386/pc/current/misc/redboot_FLOPPY.ecm:
> error
> The savefile contains a cdl_option for an unknown option
> `CYGSEM_REDBOOT_BSP_SYSCALLS'
>
>
> Now the first time I made a release of Redboot but without that errant
> IDE one, and booted it off of a floppy, it complained about the issues
> related to the IDE functions. It maybe because the current target is
> significantly older then the ECOS pattern. Then again maybe not.
lunn@londo:~/eCos/work$ ecosconfig new pc_i82559 redboot
U CYGSEM_HAL_USE_ROM_MONITOR, new inferred value 0
U CYGIMP_HAL_COMMON_INTERRUPTS_USE_INTERRUPT_STACK, new inferred value 0
lunn@londo:~/eCos/work$ ecosconfig add ide_disk
lunn@londo:~/eCos/work$ ecosconfig import ../anoncvs-clean/packages/hal/i386/pc/current/misc/redboot_FLOPPY.ecm
U CYGHWR_HAL_I386_FPU_SWITCH_LAZY, new inferred value 0
lunn@londo:~/eCos/work$ ecosconfig tree
lunn@londo:~/eCos/work$ make -s
headers finished
/home/lunn/eCos/anoncvs-clean/packages/hal/i386/arch/current/src/redboot_linux_exec.c: In function `do_exec':
/home/lunn/eCos/anoncvs-clean/packages/hal/i386/arch/current/src/redboot_linux_exec.c:261: warning: implicit declaration of function `cyg_hal_plf_screen_position'
/home/lunn/eCos/anoncvs-clean/packages/hal/common/current/src/hal_stub.c: In function `handle_exception_cleanup':
/home/lunn/eCos/anoncvs-clean/packages/hal/common/current/src/hal_stub.c:457: warning: comparison between pointer and integer
build finished
Builds for me. I guess you forgot to use the redboot template.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss