This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: EDB7312 - Linux booting


On Thu, 2003-02-13 at 03:17, John Dallaway wrote:
> Hi Gary
> 
> Your patch of 2003-02-06 (applied 2003-02-07) for booting Linux on EDB7312 
> (ROMRAM startup) appears to have introduced a CDL conflict for other builds 
> of both eCos and RedBoot using the EDB7xxx platform HAL:
> 
>    C CYGPKG_HAL_ARM_EDB7XXX, "requires" constraint not satisfied:
>         CYGHWR_REDBOOT_ARM_LINUX_EXEC_ADDRESS_DEFAULT == 0xC0038000
> 
> Can you investigate/resolve please?
> 

Sorry, it's so easy to be short-sighted when you're on a mission :-)
I was in such a hurry with getting on with Linux on the box, that I
missed this.

Fixed, with this patch:

Index: hal/arm/edb7xxx/current/cdl/hal_arm_edb7xxx.cdl
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/hal/arm/edb7xxx/current/cdl/hal_arm_edb7xxx.cdl,v
retrieving revision 1.16
diff -u -5 -p -r1.16 hal_arm_edb7xxx.cdl
--- hal/arm/edb7xxx/current/cdl/hal_arm_edb7xxx.cdl	7 Feb 2003 00:25:01 -0000	1.16
+++ hal/arm/edb7xxx/current/cdl/hal_arm_edb7xxx.cdl	13 Feb 2003 14:21:10 -0000
@@ -73,11 +73,12 @@ CL-PS7111 and EP7xxx based development b
         puts $::cdl_system_header "#define CYGBLD_HAL_PLATFORM_H <pkgconf/hal_arm_edb7xxx.h>"
         puts $::cdl_header "#define HAL_PLATFORM_MACHINE_TYPE  131"
         puts $::cdl_header "#define CYGHWR_REDBOOT_ARM_TRAMPOLINE_ADDRESS 0x00001f00"
     }
 
-    requires { CYGHWR_REDBOOT_ARM_LINUX_EXEC_ADDRESS_DEFAULT == 0xC0038000 }
+    requires { (CYGBLD_BUILD_REDBOOT_WITH_EXEC == 0) || \
+               (CYGHWR_REDBOOT_ARM_LINUX_EXEC_ADDRESS_DEFAULT == 0xC0038000) }
 
     cdl_option CYGHWR_HAL_ARM_EDB7XXX_VARIANT {
         display       "Cirrus Logic processor variant"
         flavor        data
         legal_values  { "CL_PS7111" "EP7209" "EP7211" "EP7212" "EP7312" }

-- 
------------------------------------------------------------
Gary Thomas                 |
MLB Associates              |  Consulting for the
+1 (970) 229-1963           |    Embedded world
http://www.mlbassoc.com/    |
email: <gary@mlbassoc.com>  |
gpg: http://www.chez-thomas.org/gary/gpg_key.asc
------------------------------------------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]