Linux2.4.26内核在Virtex II Pro开发板上的移植----生成ACE文件(五)ZZ
 
- UID
- 1023229
- 来自
- 中国
|

Linux2.4.26内核在Virtex II Pro开发板上的移植----生成ACE文件(五)ZZ
编辑genace.opt文件
- 内容如下: -jprog-board user-target ppc_hw-hw download.bit-elf zImage.initrd.elf-configdevice devicenr 1 idcode 0x1127e093 irlength 14 partname xc2vp30-debugdevice devicenr 1 cpunr 1-ace system.ace
- 将download.bit,zImage.initrd.elf以及genace.opt放到同一个目录下
- 图1。进入EDK shell
[url=https://6eyzew.bay.livefilestore.com/y1mCr6YS8WxqqcE7AOH_zOSINF3kJVuzhn7APl2otQE8i140V9ZfkxuHKRTV8P8RHFmhMhVJVNt-4X5yEFf2KWVnV7_IvPBvRqwptb40mAckvKQFAP8RJUxex-zJJe7J1CXN_cHYN-XxLPobPcB5NI43A/image[4]%2067E06E2F.png][img=665,117]https://6eyzew.bay.livefilestore.com/y1m5tT2GTc7hYpXQD-9G-KoTdgnL53wLKDYdj5Y_BDNU1AQ6yrmEYKiTxJct5tXfqO-_ANCRo_q2DbOd4qqbyxPD38cXq_q1-17BLQlCHWNUelE5uHQ0zBB8LF9Ay9Qh07wu00o2cn0s9DVpRmKrRAwbA/image_thumb[2]%2074BF2408.png[/img][/url] 图1.EDK shell $ xmd -tcl genace.tcl -opt genace.optXilinx Microprocessor Debug (XMD) EngineXilinx EDK 9.1.02 Build EDK_J_SP2.4Copyright (c) 1995-2006 Xilinx, Inc. All rights reserved.Executing xmd script : C:/EDK/data/xmd/genace.tcl######################################################################XMD GenACE utility. Generate SystemACE File from bit/elf/data Files######################################################################Using GenACE option file : genace.optGenACE Options: Board : user Jtag Devs : xc2vp30 FPGA pos : 1 JPROG : true HW File : download.bit ACE File : system.ace nCPUs : 1 Processor ppc_hw_1 Information Debug opt : -debugdevice devicenr 1 cpunr 1 ELF files : zImage.initrd.elf Start PC Address : 0x00400000############################################################Converting Bitstream 'download.bit' to SVF file 'download.svf'Executing 'impact -batch bit2svf.scr'Copying download.svf File to system.svf FileJTAG chain configuration--------------------------------------------------Device ID Code IR Length Part Name1 1127e093 14 xc2vp30PowerPC405 Processor Configuration-------------------------------------Version.............................0x20011430User ID.............................0x00000000No of PC Breakpoints................4No of Read Addr/Data Watchpoints....1No of Write Addr/Data Watchpoints...1User Defined Address Map to access Special PowerPC Features using XMD: I-Cache (Data)........0x70000000 - 0x70003fff I-Cache (TAG).........0x70004000 - 0x70007fff D-Cache (Data)........0x78000000 - 0x78003fff D-Cache (TAG).........0x78004000 - 0x78007fff DCR...................0x78004000 - 0x78004fff TLB...................0x70004000 - 0x70007fff############################################################Converting ELF file 'zImage.initrd.elf' to SVF file 'zImage.initrd.svfJTAG chain configuration--------------------------------------------------Device ID Code IR Length Part Name1 1127e093 14 xc2vp30PowerPC405 Processor Configuration-------------------------------------Version.............................0x20011430User ID.............................0x00000000No of PC Breakpoints................4No of Read Addr/Data Watchpoints....1No of Write Addr/Data Watchpoints...1User Defined Address Map to access Special PowerPC Features using XMD: I-Cache (Data)........0x70000000 - 0x70003fff I-Cache (TAG).........0x70004000 - 0x70007fff D-Cache (Data)........0x78000000 - 0x78003fff D-Cache (TAG).........0x78004000 - 0x78007fff DCR...................0x78004000 - 0x78004fff TLB...................0x70004000 - 0x70007fffCopying zImage.initrd.svf File to system.svf File############################################################Writing Processor JTAG "continue" command to SVF file 'sw_suffix.svf'JTAG chain configuration--------------------------------------------------Device ID Code IR Length Part Name1 1127e093 14 xc2vp30PowerPC405 Processor Configuration-------------------------------------Version.............................0x20011430User ID.............................0x00000000No of PC Breakpoints................4No of Read Addr/Data Watchpoints....1No of Write Addr/Data Watchpoints...1User Defined Address Map to access Special PowerPC Features using XMD: I-Cache (Data)........0x70000000 - 0x70003fff I-Cache (TAG).........0x70004000 - 0x70007fff D-Cache (Data)........0x78000000 - 0x78003fff D-Cache (TAG).........0x78004000 - 0x78007fff DCR...................0x78004000 - 0x78004fff TLB...................0x70004000 - 0x70007fffInfo rocessor started. Type "stop" to stop processorRUNNING>############################################################Converting SVF file 'system.svf' to SystemACE file 'system.ace'Executing 'impact -batch svf2ace.scr'SystemACE file 'system.ace' created successfully/cygdrive/d/ACE_test$ ls_impactbatch.log download.svf sw_prefix.svf system.svfbit2svf.scr genace.opt sw_suffix.svf zImage.initrd.elfdownload.bit svf2ace.scr system.ace zImage.initrd.svf 可以看到system.ace文件已经生成在当前目录下面。 来源:fcni_cn的百度空间 |
|
|
|
|
|