VAR-SOM-MX6 1GB NAND new: Difference between revisions

From Variscite Wiki
(Created page with "{{PageHeader|VAR-SOM-MX6 1GB NAND flash support}} __toc__ To use a 1GB NAND flash (with erase block size of 256KiB), the following should be set in meta-variscite:<br> = UBI...")
 
No edit summary
 
Line 1: Line 1:
{{PageHeader|VAR-SOM-MX6 1GB NAND flash support}} __toc__
{{PageHeader|VAR-SOM-MX6 1GB NAND flash support}} __toc__


To use a 1GB NAND flash (with erase block size of 256KiB), the following should be set in meta-variscite:<br>
To use a 1GB NAND flash (with erase block size of 256KiB, e.g. Micron MT29F8G08ABACAWP), the following should be set in meta-variscite:<br>


= UBIFS parameters =
= UBIFS parameters =

Latest revision as of 13:52, 3 September 2018

VAR-SOM-MX6 1GB NAND flash support

To use a 1GB NAND flash (with erase block size of 256KiB, e.g. Micron MT29F8G08ABACAWP), the following should be set in meta-variscite:

UBIFS parameters

The following is normally defined in either conf/machine/var-som-mx6.conf or conf/machine/include/variscite.inc

MKUBIFS_ARGS = " -m 4096 -e 248KiB -c 4000 "
UBINIZE_ARGS = " -m 4096 -p 256KiB -s 4096 "

u-boot-fw-utils parameters

The following is normally defined in recipes-bsp/u-boot/u-boot-fw-utils/var-som-mx6/fw_env.config

# MTD device name    Device offset    Env. size    Flash sector size    Number of sectors
/dev/mtd0            0x180000         0x20000      0x40000              1