Changes between Version 1 and Version 2 of linux/ubi
- Timestamp:
- 12/08/2017 07:58:36 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
linux/ubi
v1 v2 72 72 73 73 74 === 2GB FLASH devices ===75 To create a UBI image suitable for the 2GBFLASH devices (Note that the parameters to {{{mkfs.ubifs}}} and {{{ubinize}}} change):74 === 1GB or 2GB FLASH devices === 75 To create a UBI image suitable for the 1GB or larger FLASH devices (Note that the parameters to {{{mkfs.ubifs}}} and {{{ubinize}}} change): 76 76 1. create a temporary directory for our rootfs and untar your filesystem to it 77 77 {{{#!bash … … 85 85 cp uImage imx6*-gw*.dtb 6x_bootscript-ventana tmp/boot/ 86 86 }}} 87 3. create ubifs images for the 2GBdevice geometry:87 3. create ubifs images for the 'large' device geometry: 88 88 {{{#!bash 89 89 mkfs.ubifs -F -m 4096 -e 248KiB -c 8124 -x zlib -o root.ubifs -d tmp 90 90 }}} 91 4. use {{{ubinize}}} to create ubi image for the 2GBdevice geometry which can be written to a suitable raw NAND devices in U-Boot using nand write:91 4. use {{{ubinize}}} to create ubi image for the 'large' device geometry which can be written to a suitable raw NAND devices in U-Boot using nand write: 92 92 {{{#!bash 93 93 # for the small layout device … … 158 158 fourth_id_byte=0x95 159 159 }}} 160 * 2GB FLASH (what we refer to as the 'large' flash device):160 * 1GB or 2GB FLASH (what we refer to as the 'large' flash device): 161 161 {{{#!bash 162 162 sudo rmmod nandsim