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] |
I tried to add a patch to ecos. Here is the description of the changes: We tried to assign a same BRG(baud rate generator, which is BRG3 in our case) to the SMC1 and SCC3 port. When we go though the code, we find no such support. The ecos brg assignment is using a dynamically allocating mechanism. So we decide to add a patch to enable user to do a static assignment of BRG. Our approach is to keep the original ecos code as much intact as possible. so we add a cdl option for user to control the BRG assignment method: either dynamically allocating or static assignment. When user still want to use the dynamic way, the original ecos path is followed; otherwise, our patch will take place to allow user to do a static assignment. I follow every step in the patching process. But I run into an issue after running > patch -p0 --dry-run < brgAssignment_patch.txt I got such an output in the screen: " patching file devs/serial/powerpc/quicc/current/ChangeLog patching file devs/serial/powerpc/quicc/current/cdl/ser_quicc_smc.cdl patching file devs/serial/powerpc/quicc/current/src/quicc_smc_serial.c patching file hal/powerpc/quicc/current/ChangeLog patching file hal/powerpc/quicc/current/cdl/hal_powerpc_quicc.cdl patching file hal/powerpc/quicc/current/include/ppc8xx.h patching file hal/powerpc/quicc/current/src/cpm.c patching file hal/powerpc/quicc/current/src/quicc_smc1.c " I expect it will apply the patches to the above files, this is not the case. Can anyone tell me why the files weren't changed? Otherwise, the patching process just went well. Please review the attached patched file. And if the patch looks fine, please include it in the next release. Thanks, (See attached file: brgAssignment_patch.txt) Changan
Attachment:
brgAssignment_patch.txt
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |