;-------------------------------------------------------------------------- ; ; ; PEEDI target configuration file for QorIQ Qonverge BSC9131 ; ; Ronetix GmbH ; ; Supported devices : BSC9131 ; ; Board : Custom ; ; Revision : 1.0 ; ; Date : November 15, 2012 ; ; The file is delivered "AS IS" without warranty or condition of any ; kind, either express, implied or statutory. This includes without ; limitation any warranty or condition with respect to merchantability or ; fitness for any particular purpose, or against the infringements of ; intellectual property rights of others. ; ;-------------------------------------------------------------------------- ;-------------------------------------------------------------------------- ; The following section contains licenses that are required for PEEDI to ; operate. These licenses must be filled before using this file. ; The [LICENSE] section may contain license keys for one or more PEEDIs. ; ; Example: ; [LICENSE] ; KEY = UPDATE_24MAY2010, 1111-1111-1111-1 ; KEY = XXXXX, 2222-2222-2222-2 ; ; The [LICENSE] section may point to an external file which contains ; license keys for one or more PEEDIs. The external file must include ; the text [LICENSE] followed by all keys. ; ; Example: ; [LICENSE] ; FILE = tftp://192.168.3.1/license.txt ; or ; FILE=eep:license.txt ; or ; FILE = ftp://user:password@192.168.3.1/license.txt ; ; ; PEEDI is shipped with license keys stored in "eep:license.txt" and ; printed on a label on the bottom side of PEEDI. ; [LICENSE] FILE=eep:license.txt ;-------------------------------------------------------------------------- [DEBUGGER] PROTOCOL = gdb_remote REMOTE_PORT = 2000 ; TCP/IP port [TARGET] PLATFORM = MPC8500 ; platformis MPC8500 [PLATFORM_MPC8500] JTAG_CHAIN = 8, 8 ; list of IR lenght of all TAP controller in JTAG chain JTAG_CLOCK = 20000 ; JTAG Clock in [kHz] - 8MHz jtag clock for init operations and for normal work ;DBGREQ_OUTPUT = HIGH TRST_TYPE = PUSHPULL ; type of TRST output: OPENDRAIN or PUSHPULL RESET_TIME = 20 TIME_AFTER_RESET = 500 CORE0 = P1010, 0, 0x069C001D ; TAP is P1010 CPU CORE0_INIT = INIT_BSC9131 ; used to program code into FLASH CORE0_STARTUP_MODE = reset CORE0_BREAKMODE = soft ; breakpoint mode: CORE0_ENDIAN = big ; core is big endian CORE0_FLASH0 = FLASH_NAND ;CORE0_WORKSPACE = 0x00000000, 0x10600 ; workspace for flash programmer CORE0_WORKSPACE = 0xF0002000, 0xE000 ; workspace for flash programmer CORE0_FILE = "myfile.bin", BIN, 0x2000000 ; default file CORE0_PATH = "tftp://192.168.3.1" ; default path ;CORE0_MMU_TRANS = 0xC0000000 ; used when CORE0_INIT = INIT_BOOT ;CORE0_MMU_PTBASE = 0 ; [INIT_BSC9131] mem wr 0xFF7E0E50 0x80000000 ;================= setup TLB entries ========================= ; Move the L2SRAM to the initial MMU page mem wr 0xFF720E44 0x0000001C ;L2ERRDIS: disable parity error mem wr 0xFF720000 0x70010000 ;L2CTL mem wr 0xFF720100 0xFFFF0000 ;L2SRBAR0: map to 0x0_FFFF0000 mem wr 0xFF720104 0x00000000 ;L2SRBAREA0 mem wr 0xFF720000 0xB0010000 ;L2CTL: Entire array is a single SRAM ; Load TLB entries, helper code @ 0xfffff000 mem wr 0xfffffff4 0x7c0007a4 ;tlbwe mem wr 0xfffffff8 0x7c0004ac ;msync mem wr 0xfffffffc 0x48000000 ;loop set MAS4 0x00000000 set MAS6 0x00000000 go 0xfffffffc halt ; 256 MB TLB1 #0 0xf0000000 - 0xffffffff set MAS0 0x10000000 set MAS1 0x80000900 set MAS2 0xf0000008 set MAS3 0xf000003F go 0xfffffff4 halt ; 64 MB TLB1 #1 0xe0000000 - 0xe3ffffff set MAS0 0x10010000 set MAS1 0x80000800 set MAS2 0xe0000008 set MAS3 0xe000003F go 0xfffffff4 halt ; Remove the L2SRAM from the initial MMU page mem wr 0xFF720000 0x30010000 ;L2CTL mem wr 0xFF720000 0x30000000 ;L2CTL ;================= end setup TLB entries ===================== ;================= setup for flash programming =============== ; Move CCSRBAR to 0xe0000000 mem wr 0xff700000 0x000e0000 ;CCSRBAR to 0xe0000000 ; Initialize LAWBAR's mem wr 0xe0000C08 0x00000000 ;LAWBAR0 : @0x00000000 mem wr 0xe0000C10 0x80f0001c ;LAWAR0 : DDR/SDRAM 512MB mem wr 0xe0000C28 0x000c0000 ;LAWBAR1 : @0xc0000000 mem wr 0xe0000C30 0x8040001d ;LAWAR1 : Local Bus 1GB ; Enable NAND ECC mem or 0xE001E130 0x80000000 ; Setup flash programming workspace in L2SRAM mem wr 0xe0020e44 0x0000001c ;L2ERRDIS: disable parity error mem wr 0xe0020000 0x70010000 ;L2CTL mem wr 0xe0020100 0xf0000000 ;L2SRBAR0: map to 0x0_F0000000 mem wr 0xe0020104 0x00000000 ;L2SRBAREA0 mem wr 0xe0020000 0xb0010000 ;L2CTL set IVPR 0xf0000000 ;IVPR to workspace set IVOR0 0x00000000 ;IVOR15 : Debug exception set IVOR1 0x00000100 ;IVOR15 : Debug exception set IVOR2 0x00000200 ;IVOR15 : Debug exception set IVOR3 0x00000300 ;IVOR15 : Debug exception set IVOR4 0x00000400 ;IVOR15 : Debug exception set IVOR5 0x00000500 ;IVOR15 : Debug exception set IVOR6 0x00000600 ;IVOR15 : Debug exception set IVOR8 0x00000800 ;IVOR15 : Debug exception set IVOR10 0x00000A00 ;IVOR15 : Debug exception set IVOR11 0x00000B00 ;IVOR15 : Debug exception set IVOR12 0x00000C00 ;IVOR15 : Debug exception set IVOR13 0x00000D00 ;IVOR15 : Debug exception set IVOR14 0x00000E00 ;IVOR15 : Debug exception set IVOR15 0x00001500 ;IVOR15 : Debug exception mem wr 0xf0001500 0x48000000 ;write valid instruction mem wr 0xf0000000 0x7D821008 mem wr 0xf0000100 0x7D821008 mem wr 0xf0000200 0x7D821008 mem wr 0xf0000300 0x7D821008 mem wr 0xf0000400 0x7D821008 mem wr 0xf0000500 0x7D821008 mem wr 0xf0000600 0x7D821008 mem wr 0xf0000800 0x7D821008 mem wr 0xf0000A00 0x7D821008 mem wr 0xf0000B00 0x7D821008 mem wr 0xf0000C00 0x7D821008 mem wr 0xf0000D00 0x7D821008 mem wr 0xf0000E00 0x7D821008 ;================= end setup for flash programming =========== [FLASH_NAND] CHIP = NAND_FLASH CPU = P101X CMD_BASE = 0xE001E000 ; IFC address DATA_BASE = 0xF1000000 ; FCM address ADDR_BASE = 0 ; NAND chip select OOB_INFO = FF FILE = "test.bin", 0x0 [SERIAL] ; serial port configuration BAUD = 115200 STOP_BITS = 1 PARITY = NONE TCP_PORT = 0 [TELNET] PROMPT = "bsc9131> " ; telnet prompt ;BACKSPACE = 127 ; comment out for autodetect [DISPLAY] BRIGHTNESS = 20 ; LED indicator brightness VOLUME = 100 ; zummer volume [ACTIONS] ; user defined scripts 1 = erase 2 = prog [erase] ; erase flash flash erase [prog] ; program flash flash program ; Marking bad blocks on 512 bytes NAND page devices ; need disabling the hardware ECC since it overwrites ; the bad block markers in page spare data [mark_bad_blocks] flash set 1 ; select NAND flash profile mem and 0xe0005008 0xFFFFF9FF ; disable hardware ECC flash info ; any flash command will mark the bad blocks mem or 0xe0005008 0x00000400 ; reenable hardware ECC