Tool/software: Linux
Hi there, I have managed to get OMAP-L138 SoC to boot the Linux on ARM core from uSD card. The Linux version is 4.9.28
Is there a way to create an data partition on the NAND Flash and mount it on Linux at boot up?
And is there an example to show how to write data to the mounted partition,. Thanks in advance.
This is the Boot-up log:
AT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xcc
nand: Micron MT29F4G16ABADAH4
nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
Bad block table not found for chip 0
Bad block table not found for chip 0
Scanning device for bad blocks
[ OK ] Started Network Name Resolution.
NET: Registered protocol family 43
random: crng init done
Bad block table written to 0x00001ffe0000, version 0x01
Bad block table written to 0x00001ffc0000, version 0x01
3 ofpart partitions found on MTD device davinci-nand.0
Creating 3 MTD partitions on "davinci-nand.0":
0x000000000000-0x000000020000 : "u-boot env"
0x000000020000-0x0000000a0000 : "u-boot"
0x0000000a0000-0x000020000000 : "free space"
davinci_nand davinci-nand.0: controller rev. 2.5