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

📄 readme.korat

📁 uboot详细解读可用启动引导LINUX2.6内核
💻 KORAT
字号:
The Korat board has two NOR flashes, FLASH0 and FLASH1, which are connected tochip select 0 and 1, respectively.  FLASH0 contains 16 MiB, and is mapped toaddresses 0xFF000000 - 0xFFFFFFFF as U-Boot Flash Bank #2.  FLASH1 containsfrom 16 to 128 MiB, and is mapped to 0xF?000000 - 0xF7FFFFFF as U-Boot FlashBank #1 (with the starting address depending on the flash size detected atruntime).  The write-enable pin on FLASH0 is disabled, so the contents of FLASH0cannot be modified in the field.  This also prevents FLASH0 from executingcommands to return chip information, so its configuration is hard-coded inU-Boot.There are two versions of U-Boot for Korat: "permanent" and "upgradable".  Thepermanent U-Boot is pre-programmed at the top of FLASH0, e.g., at addresses0xFFFA0000 - 0xFFFFFFFF for the current 384 KiB size.  The upgradable U-Boot islocated 256 KiB from the top of FLASH1, e.g. at addresses 0xF7F6000 - 0xF7FC0000for the current 384 KiB size.  FLASH1 addresses 0xF7FE0000 - 0xF7FF0000 areused for the U-Boot environmental parameters, and addresses 0xF7FC0000 -0xF7FDFFFF are used for the redundant copy of the parameters.  These locationsare used by both versions of U-Boot.On booting, the permanent U-Boot in FLASH0 begins executing.  After performingminimal setup, it monitors the state of the board's Reset switch (GPIO47).  Ifthe switch is sensed as open before a timeout period, then U-Boot branches toaddress 0xF7FBFFFC.  This causes the upgradable U-Boot to execute from thebeginning.  If the switch remains closed thoughout the timeout period, thepermanent U-Boot activates the on-board buzzer until the switch is sensed asopened.  It then continues to execute without branching to FLASH1.  The effectof this is that normally the Korat board boots its upgradable U-Boot, but, ifthis has been corrupted, the user can boot the permanent U-Boot, which can thenbe used to erase and reload FLASH1 as needed.Note that it is not necessary for the permanent U-Boot to have all the latestfeatures, but only that it have sufficient functionality (working "tftp","erase", "cp.b", etc.) to repair FLASH1.  Also, the permanent U-Boot makes noassumptions about the size of FLASH1 or the size of the upgradable U-Boot: it issufficient that the upgradable U-Boot can be started by a branch to 0xF7FBFFFC.The build sequence:	make korat_config	make all perm=1builds the permanent U-Boot by selecting loader file "u-boot.lds" and definingpreprocessor symbol "CONFIG_KORAT_PERMANENT".  The default build:	make korat_config	make allcreates the upgradable U-Boot but selecting loader file "u-boot-F7FC.lds" andleaving preprocessor symbol "CONFIG_KORAT_PERMANENT" undefined.2008-02-22, Larry Johnson <lrj@acm.org>

⌨️ 快捷键说明

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