Re: [U-Boot] Exception in U-Boot
And I thought this mailling-list was dead... :-& //Markus On 29 Apr 2010, at 16:04, Sanjay Kumar wrote: > Hi All, > We are porting U-boot. 2010.03 version for MIPS32 processor > (Au1350). Currently we are facing one problem: > > When I compile u-boot and program to NOR Flash using bdiGDB through > BDI3000 Debugger, I am observing u-boot hangs at exception i.e. at > address 0xbfc00570 after reset . > > error log is below: > > > Au1350>ti >Core number : 0 >Core state: Debug Mode >Debug entry cause : single step >Current PC: 0xbfc00400 >Current SR: 0x0044 >Current LR (r31) : 0xbfc0f6e4 >Current SP (r29) : 0x803fff00 > Au1350>go > Au1350>halt >Core number : 0 >Core state: Debug Mode >Debug entry cause : JTAG break request >Current PC: 0xbfc00570 >Current SR: 0x0042 >Current LR (r31) : 0xbfc0f6e4 >Current SP (r29) : 0x803fff00 > Au1350> > > After reset address 0xbfc00400, code executes lowlevel_init and > subsequently hangs at 0xbfc00570 (RomException). > > I'm attaching start.S and lowlevel_init.S files we are using. > > Please let me know if am doing anything wrong or missing something. > > With Thanks and Regards, > Sanjay Kumar > KPIT Cummins Infosystems Pvt Ltd > > > > ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] Exception in U-Boot
On Thu, Apr 29, 2010 at 7:34 PM, Sanjay Kumar wrote: > Hi All, > We are porting U-boot. 2010.03 version for MIPS32 processor (Au1350). > Currently we are facing one problem: > > When I compile u-boot and program to NOR Flash using bdiGDB through BDI3000 > Debugger, I am observing u-boot hangs at exception i.e. at address > 0xbfc00570 after reset . > > error log is below: > > > Au1350>ti >Core number : 0 >Core state: Debug Mode >Debug entry cause : single step >Current PC: 0xbfc00400 >Current SR: 0x0044 >Current LR (r31) : 0xbfc0f6e4 >Current SP (r29) : 0x803fff00 > Au1350>go > Au1350>halt >Core number : 0 >Core state: Debug Mode >Debug entry cause : JTAG break request >Current PC: 0xbfc00570 >Current SR: 0x0042 >Current LR (r31) : 0xbfc0f6e4 >Current SP (r29) : 0x803fff00 > Au1350> > > After reset address 0xbfc00400, code executes lowlevel_init and > subsequently hangs at 0xbfc00570 (RomException). > > I'm attaching start.S and lowlevel_init.S files we are using. > romExcHandle is reached when one of the valid exceptions (filled using XVECENT) occur. From your start.S, there are 4 possibilities. Checking the value of register k0 can give you an idea of the actual exception. Hope this helps. Thanks, Bandi > > Please let me know if am doing anything wrong or missing something. > > With Thanks and Regards, > Sanjay Kumar > KPIT Cummins Infosystems Pvt Ltd > > > > ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] Exception in U-Boot
On Thu, Apr 29, 2010 at 4:04 PM, Sanjay Kumar wrote: > After reset address 0xbfc00400, code executes lowlevel_init and subsequently > hangs at 0xbfc00570 (RomException). > > I'm attaching start.S and lowlevel_init.S files we are using. > > Please let me know if am doing anything wrong or missing something. The lowelevel_init.S references registers which don't exist on the Au13xx series (IC0_* for starters, and I believe the DDR controller registers are wrong too). I suggest you take the lowlevel_init.S from the DB1300 YAMON sources, modify dynamic and static bus controller settings, GPIO, ... and use it as entrypoint. Manuel ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot