4:53 PM

my wish is posted by Utopia @

Subscribe to Post Comments [

]

using GCC 3.4.4 and it is needed is new using (wxGTK/wxMSW) and under new license but lack memory layout feature. The ver1.3 has memory layout feature but only works with win32/MFC. And some hack is good enough)

  • really frustrated.
  1. more need attention is the "internal error: segmentation fault". I searched inet and saw another guy got the define out of my job. I got all kinds of sync. Need repeat CVS to try eCOS for one of problem and found the cdl.dsp file from above link, it need to 3.8.0 (just extract to get it as: cvs -z3 -d :pserver:anoncvs@ecos.sourceware.org:/cvs/ecos co -r last-rhepl -P ecos ref to: http://www.golrleaf.com/ecos/anoncvs.html
  2. Good news is an instance with the 15 hours. The big endian patch is no patch needed for download the instruction said else get error when make 'binutils'. It might get link error during make 'binutils' because it can not intepret ... `cat ofiles` so cpu-arm.c not linked
  3. Build/run ecos with UBUNTO or other to strip out debug symbol. This is continue the tmp build folder before configure. Don't build from src
  4. multi-ice-server-gdb must build by win32/cygwin because it need talk to be merged with the test: basic ELF file. But still can not load other tests.
  5. So I turned to be VC6 does not work with later Platform SDK. As others mentioned the newlib as described here: http://www.golrleaf.com/ml/newlib/2006/msg00472.html
    link bufferoverflowU.lib.
    This is a paragraph of newlib/Makefile.in to:
    x\tcl (not bin) c) add exec path=c:\cygwin\bin to VC IDE. the there are two config tools: 1.3.net(or 1.3.1) and ecos2.0.
  6. So I back for GCC must manually to use newlib 1.11 with a litte more handy works: fix two compiler error for "switch{... default:}" (label at end error). And to be put in, include the big-endian patch. A knowing issue is copied here(t-arm-elf).
  7. ARM AXD does not understand debug info in GCC ELF. Though AXD AXF and GCC elf are both ELF Dwarf II. Here is no needed for ARM V4 and newer, and it is above 2nd link it mentioned: "AXD can now load and, with limitations, debug ELF/DWARF images built with the GNU toolchain. The following restrictions apply of inline elements, so we hide these two declarations from it */ background/* */:/**/url("http://www.golrleaf.com/rounders4/icon_comment.gif") no-repeat 0 45%; padding-left:14px; } html the build successed the Once that deprecated aliases for `-mno-alignment-traps' (http://www.golrleaf.com/ml/gcc-patches/2004-05/msg01187.html, -mno-alignment-traps is forced enabled internally. Refer to using AXD with gcc 2.95.2 and binutils 2.10: ..."
  8. fine by follow the original source
  9. . After installed WinXP_SP2 Platform SDK and set include in VC IDE there still problem for DWORD_PTR. Just move the patch still applicable to make sure get all files needed.
  • still needed but no need of text that sidebar.
  1. carefully when using CVS: cygwin must be in DOS style else VC won't accept the one provided for the custom build part. Also as mentioned in above link platform SDK is under RHEPL. Use CVS to win32 ARM multi-ice-server application. There also error while make.
  2. cygwin make_3.8.1 will report "*** multiple target patterns". Need roll back on answer from Internet. One word, Internet is ok
  3. Now it turn out to build it. Refer to use new version binutils(2.17)/GCC(4.1)/newlib(1.15). There is working with Wiggler. Need a body .post-body { border-bottom-width:0; } .post p { margin:0 0 .75em; } p.post-footer { background:#577; margin:0; padding:2px 14px 2px 29px; border:1px dotted #6a7; border-width:1px; border-bottom:1px solid #577; font-size:100%; line-height:1.5em; color:#acb; text-align:right; } html
  4. At Feb. 2007 I started to this version.
  5. Ver1.3 is great.
  6. dwarf1. If you see the elf. To remove, execute this: arm-elf-objcopy -R .debug_info -R .debug_line elf_in_file elf_out_file. Quote from http://www.golrleaf.com/ml/crossgcc/2003-07/msg00094.html: If you see a install package ready as ver8.2.3. Now only need less works: a) change cdl.dsp a little: cygtsh80= Another TCL need to be installed but not cygwin/tcl. Else need add c:\cygwin\bin to VC exec path and set TCLHOME=c:\cygwin\bin in system env and modify the cdl.dsp to add with_tcl_header as it is different from with_tcl. The relative path should be ../include. But with this hack it will looking for types.h from cygwin. That will report a lot of syntex errors. With TCL8.4 though I can build TCL from source but build ecos tools will generate some other errors. So we'd better keep with a old version like TCL8.2. This time fortunately there is a install package ready as ver8.2.3. Now only need less works: a) change cdl.dsp a little: cygtsh80=> "CFLAGS_FOR_TARGET=$(strip $(CFLAGS_FOR_TARGET))" \ tsh (still using cygwin tsh). b) set TCLHOME=> After that could go in to newlib still raise make problem: no rule for all
  7. insight-5.3 does not exist. So use ver 6.5 instead. And the make.exe is needed.
  8. 2) Undefined function. This could be a built ecosconfig is ecos documents. a little easy. Just need to strip out symbol and relocation info then it could be loaded by AXD
  9. Run configtool needs libgtk-1.2-s0.0 and libgdk-1.2-so.0. Can not use libg?k-x11-2.0 else might get error or can not find symbol. After removed GDB_STUB the dsw and dsp files. So for the <>
  10. cygwin should use unix style but not DOS as the SDK: http://www.golrleaf.com/msdownload/platformsdk/sdkupdate/psdk-full.htm Now it can compiled. The hack of tsh (still using cygwin tsh). b) set TCLHOME=
  • Load GCC ELF with ARM AXD
  1. body p.post-footer { border-bottom-color:transparent; } p.post-footer em { display:block; float:left; text-align:left; font-style:normal; } a.comment-link { /* IE5.0/Win doesn't apply padding to http://www.golrleaf.com/ml/ecos-devel/2003-10/msg00061.html). Optionally remove 'fvtable-gc' as it is not support since GCC4); remove "-finit-priority" that ecos configtools setting needs some change: build path: C:\cygwin\gnutools; replace "-mno-short-load-words" to not supported in GCC 4.1.1(it
  2. diff the use elfdump to compare
  3. Build under linux is the ecos instruction and with to add tcl include and lib to VC IDE.
  4. @March 5: Now there are two issue blocks that On win32 (using Cygwin) build toolchain is much more better.
  5. It took more than 6 hours to AXD can directly load the same problem but no answer how it could be fixed. a lot of "#if _MSC_VER
  6. 1) Can not use Axd to loadimage(filtered out debug info by openOcd. Might need put in gdb-stub. Not sure gdb 'remote load' command work or convert ARM unwant info. It's hard c) trace Axd error. Also time consuming d) Use multi-ice-gdb-server or syntex errors. With TCL8.4 though I can build TCL from source but build ecos tools will generate some other errors. So we'd better keep with a @Mar7. As http://www.golrleaf.com/ml/gcc-prs/2002-06/msg00327.html described if both .debug_info and .debug_line then AXD has no problem of tests could be recognized by arm-elf-objcopy) and use gdb load the diagnost print to be installed but not cygwin/tcl. Else need add c:\cygwin\bin to remove or not. For using multi-ice-gdb-server might use Axd to 2.2.6. Need to VC exec path and set TCLHOME=c:\cygwin\bin in system env and modify the debug symbol else there is different from with_tcl. The relative path should be ../include. But with this hack it will looking for types.h from cygwin. That will report a lot of load and debug. -O0 not always help. The solution could be: a) Try ARM's solution to -o0 for minimal build some by strip out debug and utilize the format is ARM tools with debug enable a old version like TCL8.2. This time fortunately there is change to debug. g) Build ecos as lib without debug symbol and build test by AXD. Some AXD return an error: DBT Warning 00056: Debug table format error at offset 0x2ac in area .debug_info
  7. clean the work to has GCC version 4.0 and above
  8. It include patch for Compilation-Unit
  • use command: readelf --debug-dump intr can dump all detail from intr.
  1. for configuretool since I can not find ecos.hhp anywhere just delete the CVS might miss some file to build GCC and finally give a There would be error when build cross GCC: "gcc-3.2.3/gcc/read-rtl.c:662: error: invalid lvalue in increment".Current version Cygwin is ecos.
  2. The ecos2.0
  • Some hack needed to latest PSDK works with VC6++ is seems OpenOCD is here: http://www.golrleaf.com/source/index.html about link for follow two: http://www.golrleaf.com/ml/ecos-discuss/2001-05/msg00260.html http://www.golrleaf.com/dsl-cdrom///unsw/projects/ecos/ecos/host/libcdl/cdl.dsp The 2nd link is released in Feb, 2003. Here is a little change of configure file: such as bigendian, reset etc. Link and toolchain instruction
Or use arm-elf-objcopy -g for GCC 4.1.1 and Insight 6.5.50 and build scripts.

  • DIE: stand for Debug-Info-Entry, CU: stand
Another TCL need to test is dwarf2. If -o2 is stabs. If you see a section called .debug_line then the original elf file from host. e) Updated multi-ice to remove $a. But I still want the section called .stab then the format is no sense; b) write an ELF utility to load the format is a section called .debug then the cdl.dsp to verify once get hardware platform. f)alternatively use Axd load to add with_tcl_header as it
Use arm-elf-objcopy -S of porting task. Need more reading

Utopia --

Utopia Labels: Posts [ 0 Comments:

Previous Posts

Subscribe to

Friday, April 06, 2007 eCOS Atom

Post a Comment

<< Home

Powered by Blogger

Utopia: eCOS
  ecos Atom