WUCANADA IP属地:美国

文章 关注 粉丝 访问 贡献
 
共 54 篇文章
显示摘要每页显示  条
然后看看gd和bd的初始化,在lib_arm/board.c中:gd = (gd_t*)(_armboot_start - CFG_MALLOC_LEN - sizeof(gd_t));memset ((void*)gd, 0, sizeof (gd_t));gd->bd = (bd_t*)((char*)gd - sizeof(bd_t));memset (gd->bd, 0, sizeof (bd_t));说明这两个结构体在内存中的位置是在uboot的代码在往下的地址处,所以进行操作的时候不要覆盖了这个...
S5PV210的Clock分为三个domain,意思是三个区域--MSYS,DSYS,PSYS,这三个区域分别都是AMBA总线,AMBA总线分为AHB和APB两种总线(这是不严格的分法,仅仅是便于理解),每种总线都有不同的时钟频率,AHB--HCLK/APB--PCLK那么MSYS,DSYS,PSYS最少有6个时钟(实际上不止6个),分别为HCLK_MSYS/PCLK_MSYS、HCLK_DSYS/PCLK_DSYS、HCLK_PSYS/PCLK_PSYS,...
START_GOT GOT_ENTRY(_GOT2_TABLE_) GOT_ENTRY(_FIXUP_TABLE_) GOT_ENTRY(_start) GOT_ENTRY(_start_of_vectors) GOT_ENTRY(_end_of_vectors) GOT_ENTRY(transfer_to_handler) GOT_ENTRY(__init_end) GOT_ENTRY(_end) GOT_ENTRY(__bss_start)#if defined(CONFIG_FADS) GOT_ENTRY(environment)#endif END_GOT.GOT_ENTRY(_start) GOT_ENTRY(_st...
#define CFG_DDR_SIZE 128 /* 我们的是128MB ,原来64MB*/#define CFG_DDR_CS0_CONFIG 0x80010102#define CFG_DDR_TIMING_0 0x00220802 #define CFG_DDR_TIMING_1 0x26276222 #define CFG_DDR_TIMING_2 0x0f9828cf.#if (CFG_MONITOR_BASE <CFG_FLASH_BASE) #define CFG_RAMBOOT#else.#define CONFIG_FLASH_CFI_L...
A RAM version of U-Boot on MIPS platformfrom http://wricste.blogspot.ca/2009/12/ram-version-of-u-boot-on-mips-platform.html.There is no code in FLASH on my board,but i can use JTAG to init the CPU core and RAM,so i want to compile a RAM version U-Boot and run it on my board.If i can run the RAM version U-Boot,i ca...
#include <config_cmd_default.h> #define CONFIG_CMD_CACHE#define CONFIG_CMD_DATE#define CONFIG_CMD_ELF#define CONFIG_CMD_NAND#define CONFIG_CMD_JFFS2 /* JFFS2 Support*/#define CONFIG_CMD_PING /*ping command support*/#include <config_cmd_default.h>#define CONFIG_CMD_CACHE#define CONFIG_CMD_DATE#define CONFIG...
u-boot Download file Downloading Files.All of U-Boot''s file download commands (serial and network)require a memory address at which the file data will be stored.Thissection will only address file download via the TFTP protocol.TheU-Boot "nfs" command requires three parameters, the server ipaddress,...
L/* Force jump to absolute address */ _flashbar_setup_end: nop@@ -168,7 +168,7 @@ _after_flashbar_copy: #else /* Setup code to initialize FLASHBAR, if start from external Memory */ move.l#(CFG_INT_FLASH_BASE + CFG_INT_FLASH_ENABLE), %d0-movec%d0, %RAMBAR0+movec%d0, %RAMBAR1 #endif /* (TEXT_BASE == CFG_INT_FLASH_BASE) ...
我这里的设备上,一般都是在NOR-Flash上跑U-boot,但有时候为了调试等的方便,要让u-boot在内存中跑。Flash版本的u-boot是不能直接在内存中跑的(至少我这里的情况是这样)。下面,主要按照我这的情况,简单说说内存版u-boot的制作。1)用仿真器下载到内存中运行;内存版u-boot的制作简单地说,就是注释掉不需要运行的相关代码,主要是:1)内...
帮助 | 留言交流 | 联系我们 | 服务条款 | 下载网文摘手 | 下载手机客户端
北京六智信息技术股份有限公司 Copyright© 2005-2024 360doc.com , All Rights Reserved
京ICP证090625号 京ICP备05038915号 京网文[2016]6433-853号 京公网安备11010502030377号
返回
顶部