Changes between Version 1 and Version 2 of linux/ubi


Ignore:
Timestamp:
12/08/2017 07:58:36 PM (2 years ago)
Author:
Tim Harvey
Comment:

added 1GB NAND flash

Legend:

Unmodified
Added
Removed
Modified
  • linux/ubi

    v1 v2  
    7272
    7373
    74 === 2GB FLASH devices ===
    75 To create a UBI image suitable for the 2GB FLASH devices (Note that the parameters to {{{mkfs.ubifs}}} and {{{ubinize}}} change):
     74=== 1GB or 2GB FLASH devices ===
     75To create a UBI image suitable for the 1GB or larger FLASH devices (Note that the parameters to {{{mkfs.ubifs}}} and {{{ubinize}}} change):
    76761. create a temporary directory for our rootfs and untar your filesystem to it
    7777{{{#!bash
     
    8585cp uImage imx6*-gw*.dtb 6x_bootscript-ventana tmp/boot/
    8686}}}
    87 3. create ubifs images for the 2GB device geometry:
     873. create ubifs images for the 'large' device geometry:
    8888{{{#!bash
    8989mkfs.ubifs -F -m 4096 -e 248KiB -c 8124 -x zlib -o root.ubifs -d tmp
    9090}}}
    91 4. use {{{ubinize}}} to create ubi image for the 2GB device geometry which can be written to a suitable raw NAND devices in U-Boot using nand write:
     914. 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:
    9292{{{#!bash
    9393# for the small layout device
     
    158158  fourth_id_byte=0x95
    159159}}}
    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):
    161161{{{#!bash
    162162sudo rmmod nandsim