From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour To: Ling Su Cc: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] Re: Problem on allocate PCI memory space... Date: Thu, 14 Sep 2000 14:51:00 -0000 Message-id: <39C14861.B9617622@redhat.com> References: <00e101c01c6f$1c891f70$1201a8c0@crusoe> <001701c01d22$5adeac50$0201a8c0@raccoon> <001c01c01dba$68062690$0201a8c0@raccoon> <002601c01de4$9749d080$1601a8c0@crusoe> <002401c01e95$380c3b60$1601a8c0@crusoe> X-SW-Source: 2000-09/msg00229.html Ling Su wrote: > > Could you please do me a favor? As you may know, I still have trouble to use > my tool chain with "-O2" option. I believe Nick's point is correct, since > the RAM startup code doesn't initlize the MMU. I have tried to include the > hal_mmu_init in the RAM startup code, the progrem just hang somewhere, it is > not so good to initialize the TLB twice, I guess. I think to rebuild the > gdbstub will be a better solution, I hope I can have a optimized stub code, > could you help me build me and send me a gzipped code privately? Thanks a > lot! First it would surely be better to rebuild the stubs without -O0 just to see if it works. Is there any requirement for the stubs to be optimized? Do they not fit otherwise? Once we _know_ you have code that works, then you can send the patches, and I'll gladly build you a new stub image in return :-). Jifl -- Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762 "Plan to be spontaneous tomorrow." || These opinions are all my own fault