This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
newbie question on redboot
- From: kneep <caozhiyuan at hotmail dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Fri, 16 Apr 2004 12:01:07 +0800
- Subject: [ECOS] newbie question on redboot
Dear All,
Hello!
I want to disable any code in Redboot that handles PCI since we'll run Linux later and it will do the job.
Would you please give me step-by-step guide on how to remove the pci related code in Redboot?
I have finished reading the CDL related documents in eCos manual. I have another question.
I have comment out any extra packages except HALs as below,
target ixdp425 {
alias { "IXDP425 board" ixdp425 }
packages { CYGPKG_HAL_ARM
CYGPKG_HAL_ARM_XSCALE_CORE
CYGPKG_HAL_ARM_XSCALE_IXP425
CYGPKG_HAL_ARM_XSCALE_IXDP425
}
description "
The ixdp425 target provides the packages needed to run
eCos on an Intel network processor evaluation board."
}
but i think it doesn't work since the output image files are of the same size as those that incule these extra packages.
And after i commented out the corresponding packages in redboot_XXX.ecm, the image size became smaller.
So, what is the relationship between CDL file and redboot_XXX.ecm? If i want to remove some feature in redboot, which file should I edit? Or both?
I think the online manual gives enough information about how to customize the CDL file but little about the .ecm file.
I need information about .ecm file. For example, what is '-hardware' and '-template'? How to customize this file?
Thanks a lot.
Best Regards,
┌┐┌┐┌?─??──??──?┌──?
│???│??││??││??││??│
│???│││││┌─?│┌─?│┌─?
└┘└┘└┘└┘?──??──?└┘
=======================================
kneep
Email & MSN: caozhiyuan@hotmail.com
=======================================
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss