⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 init_ddr.inc

📁 Redboot, boot-loader of Linux for Freescale ARM family.
💻 INC
字号:
clearbreakbexec 0x00000000wait = onresetpause 2setreg @CP15_CONTROL=0x00050078// configuring CP15 for enabling the pripheral bussetreg @CP15_PERIP_MEM_REMAP=0x40000015// SPBA setupsetmem /32 0x5003C000 =0x7setmem /32 0x5003C004 =0x7setmem /32 0x5003C008 =0x7setmem /32 0x5003C00C =0x7setmem /32 0x5003C010 =0x7setmem /32 0x5003C014 =0x7setmem /32 0x5003C018 =0x7setmem /32 0x5003C01C =0x7setmem /32 0x5003C020 =0x7setmem /32 0x5003C024 =0x7setmem /32 0x5003C028 =0x7setmem /32 0x5003C02C =0x7setmem /32 0x5003C030 =0x7setmem /32 0x5003C034 =0x7setmem /32 0x5003C038 =0x7; ESDCTL Reset/Initializesetmem /32 0xB8001010 =0x00000002pause 1; Initialize DDRAMsetmem /32 0xB800100C =0x00395728setmem /32 0xB8001010 =0x00000015pause 1 setmem /32 0xB8001008 =0x92216080setmem /16 0x90000400 =0x0000setmem /32 0xB8001008 =0xA2216080setmem /16 0x90000000 =0x0000setmem /16 0x90000000 =0x0000setmem /32 0xB8001008 =0xB2216080setmem /8  0x90000033 =0x00setmem /8  0x92000000 =0x00setmem /32 0xB8001008 =0x82216080setmem /16 0x90000000 =0x0000; Dummy DEADBEEF write into DDRAMsetmem /16 0x90000000 =0xDEADsetmem /16 0x90000002 =0xBEEF; Initialize WEIM for CS0  ; Asynchronous mode WEIM registers  ; 16 bits, no wrapp does not match default configuration of i300_30//setmem /32 0xB8002000 =0x23D29000     //setmem /32 0xB8002004 =0x60000D01//setmem /32 0xB8002008 =0x00000080//setmem /16 0xA000439E =0x0060//setmem /16 0xA000439E =0x0003; Initialize WEIM for CS0 (NOR FLASH on I300-30, Intel strata 64MBytes / 32 bits width by default)   ; Asynchronous mode WEIM registers  ; 32 bits, wrapp;setmem /32 0xB8002000 =0x20428F00;setmem /32 0xB8002004 =0x60000E03;setmem /32 0xB8002008 =0x00000080;*================================================================================================; Initialisation done !;*================================================================================================readfile,raw,gui "r:\tftp\mxc30030ads_redboot.bin"=0x93F00000setreg @CPSR_FLGE=0x0setreg @pc=0x93F00000

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -