; bdiGDB configuration file for MPC8377E-RDB board ; ----------------------------------------------- ; [INIT] ; init core register WREG MSR 0x00001002 ;MSR : ME,RI ; ; Move MBAR to 0xe0000000 WM32 0xff400000 0xe0000000 ;MABR to 0xe0000000 ; ; Initialize LAWBAR's WM32 0xe0000020 0xfe000000 ;LBLAWBAR0 : Flash WM32 0xe0000024 0x80000016 ;LBLAWAR0 ;;WM32 0xe0000028 0xf8000000 ;LBLAWBAR1 : BCSR ;;WM32 0xe000002C 0x8000000e ;LBLAWAR1 ;;WM32 0xe0000030 0xf0000000 ;LBLAWBAR2 : SDRAM ;;WM32 0xe0000034 0x80000019 ;LBLAWAR2 ;;WM32 0xe0000038 0x00000000 ;LBLAWBAR3 ;;WM32 0xe000003c 0x00000000 ;LBLAWAR3 ; WM32 0xe00000A0 0x00000000 ;DDRLAWBAR0 : DDR Main SODIMM WM32 0xe00000A4 0x8000001b ;DDRLAWAR0 ;;WM32 0xe00000A8 0x00000000 ;DDRLAWBAR1 ;;WM32 0xe00000AC 0x00000000 ;DDRLAWAR1 ; ; Setup DDR WM32 0xe0002000 0x0000000F ;CS0_BNDS WM32 0xe0002008 0x00000000 ;CS1_BNDS WM32 0xe0002010 0x00000000 ;CS2_BNDS WM32 0xe0002018 0x00000000 ;CS3_BNDS WM32 0xe0002080 0x80010102 ;CS0_CONFIG WM32 0xe0002084 0x00000000 ;CS1_CONFIG WM32 0xe0002088 0x00000000 ;CS2_CONFIG WM32 0xe000208C 0x00000000 ;CS3_CONFIG WM32 0xe0002108 0x3937D322 ;TIMING_CFG_1 WM32 0xe000210C 0x02984CC8 ;TIMING_CFG_2 WM32 0xe0002110 0x02000000 ;DDR_CFG WM32 0xe0002118 0x04400442 ;DDR_MODE WM32 0xe0002124 0x06090100 ;DDR_INTERVAL WM32 0xe0002130 0x83000000 ;DDR_CLK_CNTL DELAY 200 WM32 0xe0002110 0xc3000000 ;DDR_CFG ; ; Setup chip selects WM32 0xe0005004 0xff800193 ;OR0 : Flash WM32 0xe0005000 0xfe001001 ;BR0 : Flash ;;WM32 0xe000500C 0xffffe8f0 ;OR1 : BCSR ;;WM32 0xe0005008 0xf8000801 ;BR1 : BCSR ;WM32 0xe0005014 0xfc000901 ;OR2 : SDRAM ;WM32 0xe0005010 0xf0001861 ;BR2 : SDRAM ; ; [TARGET] CPUTYPE 8300 ;the CPU type JTAGCLOCK 0 ;use 16 MHz JTAG clock POWERUP 2000 ;start delay after power-up detected in ms WAKEUP 1000 ;give reset time to complete STARTUP RESET ;halt immediately at the boot vector RCW 0xa0606c02 0x25040000 ;override reset configuration words BOOTADDR 0xfe000100 ;boot address used for start-up break ;BOOTADDR 0x00000100 ;boot address used for start-up break BREAKMODE HARD ;SOFT or HARD, HARD uses PPC hardware breakpoint STEPMODE HWBP ;TRACE or HWBP, HWBP uses a hardware breakpoint ;MMU XLAT 0xc0000000 ;enable address translation ;SIO 8023 115200 ;SCANPRED 1 1 ;SCANSUCC 1 1 [HOST] IP 192.168.1.19 ;FILE E:\cygwin\home\demo\mpc860\fibo.elf ;FORMAT ELF FILE bin/mpc837x/u-boot.8377.bin FORMAT BIN 0x10000 LOAD MANUAL ;load code MANUAL or AUTO after reset PROMPT 837x> [FLASH] CHIPTYPE MIRRORX16 ;Flash type: Micron Q-Flash MT28F640J3 CHIPSIZE 0x800000 ;The size of one flash chip in bytes BUSWIDTH 16 ;The width of the flash memory bus in bits (8 | 16 | 32 | 64) ;WORKSPACE 0x1000 ;workspace in DDR RAM FILE bin/mpc837x/u-boot.bin FORMAT BIN 0xfe000000 ERASE 0xfe000000 ;erase sector 0 ERASE 0xfe010000 ;erase sector 1 ERASE 0xfe020000 ;erase sector 2 ERASE 0xfe030000 ;erase sector 3 ERASE 0xfe040000 ;erase sector 4 ERASE 0xfe050000 ;erase sector 5 ERASE 0xfe060000 ;erase sector 6 ERASE 0xfe070000 ;erase sector 7 ERASE 0xfe080000 ;erase sector 8 ERASE 0xfe090000 ;erase sector 9 ERASE 0xfe0A0000 ;erase sector 10 ERASE 0xfe0B0000 ;erase sector 11 ERASE 0xfe0C0000 ;erase sector 12 ERASE 0xfe0D0000 ;erase sector 13 ERASE 0xfe0E0000 ;erase sector 14 ERASE 0xfe0F0000 ;erase sector 15 [REGS] FILE $reg8349e.def