[ECOS] Build redboot for GRG board with NPE

Mark Salter msalter@redhat.com
Thu Aug 5 12:38:00 GMT 2004


>>>>> Aric Wang writes:

> Yes, I do configure like you pointed out. But it still failed. Then I
> changed to the latest eCos source code from redhat. It's ok now. 

Those sources from Red Hat were recently updated and the changes
haven't made their way to the main CVS repository yet.

> Now my problem is, when I try to compile a RAM redboot image and load by
> BDI2000. It died on below lines in hal_hardware_init (ixp425_misc.c): 

>     // Enable caches
>     HAL_DCACHE_ENABLE();
>     HAL_ICACHE_ENABLE();

> When I commented this out, it died at initializing the PCI.

> But for ROM redboot, it runs ok. So I think it must died becuase that the
> PLATFORM_SETUP1 (hal_platform_setup.h) macro is commented out in RAM mode
> and the BDI2000 didn't initialize the hardware correctly.

> Am I right?

Yeah, there's probably something that the ROM RedBoot initializes which
the BDI2000 is not.

--Mark

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list