AnsweredAssumed Answered

all ubi system missing in my rootfs ?

Question asked by Atakan Akbulut on Oct 23, 2018
Latest reply on Oct 23, 2018 by igorpadykov

Hello i need write rootfs to my nand. i boot from sd card via nand parameters nand starting succesfull and i can write u boot kernel and dtb. My new parameters under  

 

I added bold part but this line cant add because of getting kernel panic error 

root=/dev/mmcblk0p2 rootwait rw mtdparts=gpmi-nand:4m(uboot),16m(kernel),4m(dtb),-(rootfs)

But this line cant add because of getting kernel panic error

root=ubi0:rootfs rootfstype=ubifs

 

Started from sd card with mtd partition and booting u boot kernel and dtb. Enabled kernel(4.9.15) and u boot(2017) mtd parameters

 

flash_erase /dev/mtd3 0 0
ubiformat /dev/mtd3; ubiattach /dev/ubi_ctrl -m 3; ubimkvol /dev/ubi0 -N rootfs -m
mkdir /tmp/rootfs
mount -t ubifs ubi0:rootfs /tmp/rootfs
tar -xf /run/media/mmcblk0p3/core-image-minimal-<MACHINE NAME>.tar.bz2 -C /tmp/rootfs/; sync

 

ubiformat, ubiattach, mkfs.ubi not has in rootfs path, i updated mtd-parts but still does not work How to fix this problem 

Outcomes