Closed oPiZiL closed 6 years ago
Kernel command line: console=ttymxc0,115200 cma=320M root=/dev/mmcblk3p2 rootwait rw
Is your rootfs on mmcblk3p2 or is it a typo?
While technically this is the reason why your kernel boot is not proceeding further (rootwait on a non-existing root), the cause may not be a typo but instead the default U-boot env.
*** Warning - bad CRC, using default environment
The above happens most probably because your U-boot wasn't compiled with the correct defconfig so it can't find the environment (where the boot variables are held) on the boot medium. Depending on what your boot medium is, one of the following should be enabled: CONFIG_ENV_IS_IN_MMC
, CONFIG_ENV_IS_IN_NAND
, CONFIG_ENV_IS_IN_FLASH
, CONFIG_ENV_IS_IN_SPI_FLASH
, etc.
First try to do the following from u-boot:
=> setenv bootargs "console=ttymxc0,115200 cma=320M root=/dev/mmcblk1p2 rootwait rw"
=> boot
and check to see if it picked up the new root device. If it does and it works that way, the issue as I said is the CONFIG_ENV_ISIN* defconfig.
Kernel command line: console=ttymxc0,115200 cma=320M root=/dev/mmcblk3p2 rootwait rw
Is your rootfs on mmcblk_3_p2 or is it a typo?
rootfs is on mmcblk_3_p2
@vladimiroltean I can boot into another kernel with this u-boot. I just simply changed the kernel, the dtb and rootfs is the same.
What is the latest status on this?
@vladimiroltean I changed the root directory and the problem is gone
boolog.txt