Hi,
I have resized to 159 mb and created a new partition of 1mb space by adding the changes under dts files of both uboot and kernel source
please do find the details added
partition@9 {
label = "NAND.file-system";
reg = <0x00a00000 0x09100000>;
};
partition@10 {
label = "NAND.boardfile";
reg = <0x9B00000 0x00100000>;
};
Partition creation is successful.Please do find the observation
=> mtdparts
device nand0 <nand.0>, # parts = 11
#: name size offset mask_flags
0: NAND.SPL 0x00040000 0x00000000 0
1: NAND.SPL.backup1 0x00040000 0x00040000 0
2: NAND.SPL.backup2 0x00040000 0x00080000 0
3: NAND.SPL.backup3 0x00040000 0x000c0000 0
4: NAND.u-boot-spl-os 0x00080000 0x00100000 0
5: NAND.u-boot 0x00100000 0x00180000 0
6: NAND.u-boot-env 0x00040000 0x00280000 0
7: NAND.u-boot-env.backup10x00040000 0x002c0000 0
8: NAND.kernel 0x00700000 0x00300000 0
9: NAND.file-system 0x09800000 0x00a00000 0
10: NAND.boardfile 0x00100000 0x0a200000 0
active partition: nand0,0 - (NAND.SPL) 0x00040000 @ 0x00000000
=> pri mtdparts
mtdparts=mtdparts=nand.0:256k(NAND.SPL),256k(NAND.SPL.backup1),256k(NAND.SPL.backup2),256k(NAND.SPL.backup3),512k(NAND.u-boot-spl-os),1m(NAND.u
-boot),256k(NAND.u-boot-env),256k(NAND.u-boot-env.backup1),7m(NAND.kernel),152m(NAND.file-system),1m(NAND.boardfile)
I have copied the root file system .ubi format from RAM to nand.file-system and I tried booting the board but am facing kernel panic
[ 2.239386] ubi0 error: vtbl_check: too large reserved_pebs 1570, good PEBs 1160
[ 2.246865] ubi0 error: vtbl_check: volume table check failed: record 0, error 9
[ 2.254307] Volume table record 0 dump:
[ 2.258157] reserved_pebs 1570
[ 2.261480] alignment 1
[ 2.264556] data_pad 0
[ 2.267618] vol_type 1
[ 2.270680] upd_marker 0
[ 2.273741] name_len 6
[ 2.276815] name rootfs
[ 2.280314] crc 0xe91f7fe0
[ 2.284661] ubi0 error: ubi_attach_mtd_dev: failed to attach mtd9, error -22
[ 2.291765] UBI error: cannot attach mtd9
[ 2.295692] hctosys: unable to open rtc device (rtc0)
[ 2.304969] vmmcwl_fixed: disabling
[ 2.308498] evm_v3_3d: disabling
[ 2.312308] Waiting 1 sec before mounting root device...
[ 3.324201] UBIFS error (pid: 1): cannot open "ubi0:rootfs", error -19VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0): erro
r -19
[ 3.337382] Please append a correct "root=" boot option; here are the available partitions:
[ 3.346149] 0100 8096 ram0 (driver?)
[ 3.351046] 0101 8096 ram1 (driver?)
[ 3.355963] 0102 8096 ram2 (driver?)
[ 3.361030] 0103 8096 ram3 (driver?)
[ 3.365748] 0104 8096 ram4 (driver?)
[ 3.370412] 0105 8096 ram5 (driver?)
[ 3.375108] 0106 8096 ram6 (driver?)
[ 3.379772] 0107 8096 ram7 (driver?)
[ 3.384464] 0108 8096 ram8 (driver?)
[ 3.389128] 0109 8096 ram9 (driver?)
[ 3.393788] 010a 8096 ram10 (driver?)
[ 3.398572] 010b 8096 ram11 (driver?)
[ 3.403321] 010c 8096 ram12 (driver?)
[ 3.408103] 010d 8096 ram13 (driver?)
[ 3.412851] 010e 8096 ram14 (driver?)
[ 3.417632] 010f 8096 ram15 (driver?)
[ 3.422395] 1f00 256 mtdblock0 (driver?)
[ 3.427524] 1f01 256 mtdblock1 (driver?)
[ 3.432623] 1f02 256 mtdblock2 (driver?)
[ 3.437753] 1f03 256 mtdblock3 (driver?)
[ 3.442852] 1f04 512 mtdblock4 (driver?)
[ 3.447983] 1f05 1024 mtdblock5 (driver?)
[ 3.453081] 1f06 256 mtdblock6 (driver?)
[ 3.458215] 1f07 256 mtdblock7 (driver?)
[ 3.463314] 1f08 7168 mtdblock8 (driver?)
[ 3.468444] 1f09 148480 mtdblock9 (driver?)
[ 3.473542] 1f0a 1024 mtdblock10 (driver?)
[ 3.478754] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 3.487076] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 80.664119] random: nonblocking pool is initialized
Can you please help me to resolve it?