On Mon, Dec 10, 2012 at 4:50 AM, CeDeROM <[email protected]> wrote: > On Sun, Dec 9, 2012 at 7:07 PM, Chunning Ha <[email protected]> wrote: >> 2. Adding a group of new data structures and rewrite the corresponding >> functions; >> In this way, we have got to rewrite too much code. And existing code >> will not be affected. But we have to another set of code, which got >> very few differences with existing code. >> >> 3. Change the "framework" so that 32, 64 bit will be supported. >> Very hard work. Almost all existing code will be affected seriously. > > These two are good. After I finish the work on SWD (its done, today I > have sent them for a review, but need to wait until next week for > fixes reported jenkins) I will reorganize internals of the OpenOCD and > rewrite most of the code, so your job on 64-bit support (and others) > has good option to be implemented in a correct but more difficult way > from the beginning :-) > > Are you already familiar with the internals of the OpenOCD? It will > take some time until you do :-) > > I am not yet familiar with the MIPS in OpenOCD (I was working on ARM > so far) but have already couple of devices and willing to know them > better from inside, so count me as companion for the work :-) > > Best regards :-) > Tomek > > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
You are welecome to the development of adding 64 bit MIPS target support, Tomek! I'm familiar with the MIPS in OpenOCD and I've started the development leaving basic data structures untouched. I changed code and structs directly related to MIPS only. If we choose method No. 3, change the "framework", it will be a big chage. Currently I tend to choose No. 4. Adding 64bit address variables to the old data structures as redundant variables and structs. So that both 32 bit and 64 bit target will be supported easily but less gracefully. And later we can switch to the method No. 3, chage the the "framwork". I think we need to consult the maintainers, so that our work can be well organised and useful to others. ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
