Re: Crosscompiling NetBSD for Fonera not working with HEAD?

Fredrik Pettai <[email protected]> Sun, 5 Jul 2009 21:51:39 +0200
Newsgroups gmane.os.netbsd.ports.evbmips
Message-ID <[email protected]>
On Jul 1, 2009, at 9:51 PM, Fredrik Pettai wrote:
> On Jul 1, 2009, at 9:28 PM, Fredrik Pettai wrote:
>> On Jul 1, 2009, at 10:50 AM, David Holland wrote:
>>
>>> (Finding out where ra is pointing like I suggested in the PR will
>>> probably identify it.)

Here's the output from gdb ./netbsd.gdb -> list *0x8006a520, now then  
I recompiled the kernel with larger SYMTAB_SPACE.

(gdb) list *0x8006a520
0x8006a520 is in ar5312MacReset (/usr/src/sys/external/isc/atheros_hal/ 
dist/ar5312/ar5312_reset.c:882).
877                                     return(AH_FALSE);
878                             }
879                             regMask = ~(resetBB | resetBits);
880
881                             /* read before */
882                             reg = OS_REG_READ(ah,
883                                                                
(AR5312_RSTIMER_BASE - ((uint32_t) ah->ah_sh) + AR5312_RESET));
884
885                             if (RCMask == AR_RC_BB) {
886                                     /* Put baseband in reset */