📄 howto
字号:
///@defgroup NAND_BOOTLOADER_8BIT NAND_BOOTLOADER_8BIT///@{///@page NAND_BOOTLOADER_8BIT Linux NAND Flash Boot System/////////@section Intro Introduction////// Mx2 Linux NAND Flash System include BootLoader, MTD/// (Memory Technology Device),/// JFFS2(http://www.linux-mtd.infradead.org).//////@section Howto How to use it at mx2-ads board//////@subsection @PBAXD Program NAND With Multi-ICE////// -# Untgz the FlashNAND.tgz into your local directory, for example "D:\FlashNAND"./// -# Set boot[0:3] as all on./// -# Loader NAND Flash Program "D:\FlashNAND\Program Template v0.3 NFC ECC\Project\ProjectTemplate_NFC.mcp" with AXD./// -# Click "Run" button, and the program will break at main function./// -# Axd Menu file->load memory from file./// -# Load bootloader.bin to 0xC3000000./// -# Press F5 to run program until exit./// -# Boot Switch as OFF-OFF-OFF-ON./// -# Reboot./// -# Press any key when you see "Press Any Key..."./// -# Choose your option./// -# Plug USB Cable./// -# If you are first using this, win2k will install driver for you. Wait until win2k install driver finished./// -# You can see a "movable driver" in your computer./// -# Copy your image file to this driver(only one file, NOT delete file in this driver)./// -# Right-click the driver's icon and click "eject" command./// -# Your can see a serial "." which indicates the process of programming./// -# Reboot if seeing "Press Reset button on ADS Board"./// -# Repeat step 9 to 18 to update the bootloader, kernel and rootdisk. //////@remarks You must have multi-ice,Arm Axd,USB Cable. Your OS Must be win2k or above./////////@subsection @PBHAB Program NAND With HAB toolkit////// Please refer to the "User Guide on i.MX21 HAB ToolKits v2.0". \n///@ref HAB_UserGuide http://compass.mot.com/go/142785397//////@section NPInfo NAND Partition Info/// -# 0000 0000-0000 3FFF Bootloader(16K)\n/// First section: 0000 0000-0000 0800 ipl(you can @b only use first 1.5K,@b not 2K)\n/// Second section: 0000 0800-0000 3FFF spl(14K)\n/// -# 0010 0000-002F FFFF Kernel(2M)\n/// -# 0030 0000-01FF FFFF Root Disk(29M, when large then 32M,jffs2 have some problem)\n//////@section MKJFFS Howto Build JFFS/JFFS2 Image/// For build JFFS/JFFS2 Image, you must download tools from redhat. mkfs.jffs2 or mkjffs\n/// Base use way to mkfss.jffs2 is: \n/// mkfs.jffs2 -d \<your rootdisk\> -e 16 -o rt.jffs2 ///@remarks Erase size must be same to Flash erase size \n/// In Mx21 ADS board:\n/// NAND is 16k. \n/// AMD flash is 128K. \n ///@}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -