1.iMX6ull SDå¡ç³»ç»åNandflashç³»ç»
iMX6ull SDå¡ç³»ç»åNandflashç³»ç»
google test源码ç³»ç»æºç åç¼è¯æ¹æ³ï¼[åè§è¿æ¥] ( munity.nxp.com/docs/DOC- )å ¶ä¸dtbæ件é对LCDæHDMIä¿®æ¹çå 容对iSpeakeræ å½±åï¼ä¸ç¨å»ä¿®æ¹ãæ们ä¼ä½¿ç¨å¦å¤çdtbæ件ã
google test源码ç§åSDæ¹å¼ä¹ä¸éç¨è¿ä¸ªææ¡£ä¸çæ¹æ³ï¼ç´æ¥å¨linuxå½ä»¤è¡ä¸å¦ä¸æä½ï¼
google test源码Nandflash使ç¨zImageï¼dtbæ件åSDå¡ä¸ä½¿ç¨çå®å ¨ä¸è´ãUbootæ件SDä¸ä½¿ç¨çä¸è½ç¨äºNandflashï¼æºç å¦è§ã
google test源码ç§åNandflashéè¦ç¨SDå¡ç³»ç»çå¯å¨ï¼SDå¡ç³»ç»ä¸éè¦å·²å®è£ mtd-utilså·¥å ·ãç³»ç»å¯å¨åè½æ£å¸¸çå°mtd0~mtd4ååºãæç §ä¸é¢æ¥éª¤æä½ï¼
google test源码$ flash_erase /dev/mtd0 0 0
google test源码$ flash_erase /dev/mtd1 0 0
google test源码$ flash_erase /dev/mtd2 0 0
google test源码$ kobs-ng init -x u-boot.imx --search_exponent=1 -v
google test源码$ flash_erase /dev/mtd3 0 0
google test源码$ nandwrite -p /dev/mtd3 zImage
google test源码$ nandwrite -p /dev/mtd3 -s 0x7e imx.dtb
google test源码$ ubiformat /dev/mtd4 -f ubi.img
google test源码å ¶ä¸ä½¿ç¨ubi.imgæ件ï¼å¨linux主æºä¸å¶ä½æ¹æ³å¦ä¸ï¼
google test源码使ç¨çæ ¹æ件系ç»åSDå¡ä¸çæ ¹æ件系ç»ä¸æ ·ï¼å设SDå¡å·²æå ¥linux主æºusbæ¥å£ï¼å¹¶å°ç¬¬äºä¸ªååºæè½½ä¸/mntä¸ï¼é¦å å¨linux主æºå·¥ä½ç®å½ä¸å»ºç«ææ¬æ件ubifs.cfgï¼å 容å¦ä¸ï¼
google test源码[ubifs]
google test源码mode=ubi
google test源码image=ubifs.img
google test源码vol_id=0
google test源码vol_type=dynamic
google test源码vol_name=rootfs
google test源码vol_flags=autoresize
google test源码ç¶åæ§è¡å¦ä¸å½ä»¤ï¼
google test源码$ mkfs.ubifs -x zlib -m -e KiB -c -r /mnt ubifs.img
google test源码$ ubinize -o ubi.img -m -p KiB -s -O ubifs.cfg
google test源码