Increasing Root File System Partition size on P1020-WLAN NOR

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Increasing Root File System Partition size on P1020-WLAN NOR

1,047 Views
nimeshkanoth
Contributor I

Hi All,

we are using p1020-wlan board with 64MB NOR Flash.

Default root file system partition size for NOR Flash on p1020-wlan board is 27MB, we wanted to increase the root file system partition to 48MB. For this we changed  the Linux Device Tree nor node range and flashed the new device tree on board, but we get the following messages During Kernel Boot up and rootfs partition size has not changed to 48MB.

ec000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank
NOR chip too large to fit in mapping. Attempting to cope...
Amd/Fujitsu Extended Query Table at 0x0040
ec000000.nor: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Reducing visibility of 65536KiB chip to 32768KiB
RedBoot partition parsing not available
Creating 3 MTD partitions on "ec000000.nor":
0x000000020000-0x000003020000 : "rootfs"
mtd: partition "rootfs" extends beyond the end of device "ec000000.nor" -- size truncated to 0x1fe0000
ftl_cs: FTL header not found.
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=1780000, len=18A0000
0x000001780000-0x000003020000 : "rootfs_data"
mtd: partition "rootfs_data" extends beyond the end of device "ec000000.nor" -- size truncated to 0x880000
ftl_cs: FTL header not found.
0x000000640000-0x000000a40000 : "linux"
ftl_cs: FTL header not found.
0x000003f00000-0x000004000000 : "NOR (RO) U-Boot Image"
mtd: partition "NOR (RO) U-Boot Image" is out of reach -- disabled
ftl_cs: FTL header not found.

PLease Guide us how to increase the rootfs partiotn size for NOR Flash on p1020wlan Board.

Thanks and Regards,

Nimesh.

Labels (2)
0 Kudos
Reply
1 Reply

619 Views
Pavel
NXP Employee
NXP Employee
  1. Change u-boot setting for your board. This LTIB uses /include/configs/P1020_SKU.h file for this board configuration. Find "Memory map" in this file.

Set correct Local bus configuration in this file.

Rebuild and load this u-boot to the board.

  1. Change partition for NOR Flash in .dts file.

Change "ranges" for NOR Flash and partition.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply