; bdiGDB configuration file for Alchemy PB1550 board ; -------------------------------------------------- ; [INIT] ; ; Setup CPU PLL to 396 MHz WM32 0xB1900060 0x00000021 ;CPU_PLL Configuration ; ; Setup Endianess WM32 0xB1900038 0x00000001 ;Set to Little Endian WCP0 16 0x00000003 ; ; Setup Static Bus Controller WM32 0xB4001000 0x00000003 ;RCS0 Configuration WM32 0xB4001004 0x040181D7 ;RCS0 Timing WM32 0xB4001008 0x11803E00 ;RCS0 Address WM32 0xB4001020 0x00000040 ;RCS2 Configuration WM32 0xB4001024 0x22080a20 ;RCS2 Timing WM32 0xB4001028 0x10c03f00 ;RCS2 Address ; Setup SDRAM Controller WM32 0xB4000800 0x04276221 ;CS0 mode configuration WM32 0xB4000808 0x04276221 ;CS1 mode configuration WM32 0xB4000810 0x00000000 ;CS2 mode configuration WM32 0xB4000820 0xe21003f0 ;CS0 address, 32MB at 0x00000000 WM32 0xB4000828 0xe21043f0 ;CS1 address, 32MB at 0x02000000 WM32 0xB4000830 0x00000000 ;CS2 address, 32MB at 0x02000000 WM32 0xB4000840 0x9030060a ;Program refresh (disabled) WM32 0xB4000848 0x00028000 ;Global Config B WM32 0xB40008c0 0x00000000 ;Precharge all banks WM32 0xB4000880 0x40000000 ;CS0 set mode WM32 0xB4000888 0x40000000 ;CS1 set mode WM32 0xB4000890 0x40000000 ;CS2 set mode WM32 0xB4000880 0x00000063 ;CS0 set mode WM32 0xB4000888 0x00000063 ;CS1 set mode WM32 0xB4000890 0x00000063 ;CS2 set mode WM32 0xB40008c0 0x00000000 ;Precharge all banks WM32 0xB40008c8 0x00000000 ;Issue two auto refreshes WM32 0xB40008c8 0x00000000 ;Issue two auto refreshes WM32 0xB4000840 0x9830060a ;Enable refresh ; [TARGET] ;CLOCK 0 ;BDI2000: JTAG clock 16MHz CLOCK 1 ;BDI3000: JTAG clock 16MHz CPUTYPE AU1000 ;AU1000 ;the used target CPU type ENDIAN LITTLE ;target is little endian STARTUP RESET RESET JTAG ;the reset type (NONE, JTAG, HARD) ;WORKSPACE 0xA0000000 ;workspace in target RAM for fast download BDIMODE AGENT ;the BDI working mode (LOADONLY | AGENT) BREAKMODE SOFT ;SOFT or HARD, HARD uses PPC hardware breakpoints STEPMODE JTAG ;JTAG, HWBP or SWBP VECTOR CATCH ;catch unhandled exceptions [HOST] IP 10.2.32.6 FILE /lel/u-boot.srec FORMAT SREC LOAD MANUAL ;load code MANUAL or AUTO after reset DEBUGPORT 2001 [FLASH] [REGS] DMM1 0xB4000000 ;memory controller base address FILE regau1k.def