2024-12-19 02:34 PM - edited 2024-12-19 02:37 PM
Hi everyone, I made it past the bootloader stages but am now running into errors with starting the Linux kernel. I have an eMMC and SD card but I am trying to only use the SD card for now. I have completely removed the eMMC from device tree and removed the machine.conf settings so eMMC should not be used. When I get to the Linux kernel boot I get stuck at:
[ 5.630620] Waiting for root device PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582...
[ 5.737317] mmc1: error -84 whilst initialising MMC card
[ 5.885839] mmc1: error -84 whilst initialising MMC card
[ 6.045167] mmc1: error -84 whilst initialising MMC card
[ 6.236994] mmc1: error -84 whilst initialising MMC card
[ 6.242418] mmc1: Failed to initialize a non-removable card
I am confused if I am stuck because of waiting for root device or mmc1 is not being intialized (even though it shouldnt be trying since I disabled it) and I am able to read/write to SD card just fine until this point (and can see with u-boot shell). I have attached my dts files and log from boot and any help is appreciated as I feel I have messed with the dts a bunch and cannot get past this stage. I am using the Distribution package with the "scarthgap" branch.
Thank you,
Devin
Solved! Go to Solution.
2024-12-20 04:00 PM
I found the solution. Had to a little deeper dive into Yocto, but I discovered I am not using the distribution package, I am creating my own Yocto directory and I have the 'meta-st-stm32mp' BSP layer added. Since I was cloning directly from the Github page, I had the latest commit which seems to cause an error (maybe needs to be looked into). After changing my repo to the same release commit as the distribution package, I successfully got into Linux shell. (yay!) I can't get the eMMC to work still but I will make another post. Thank you!
2024-12-19 02:35 PM
2024-12-20 04:00 PM
I found the solution. Had to a little deeper dive into Yocto, but I discovered I am not using the distribution package, I am creating my own Yocto directory and I have the 'meta-st-stm32mp' BSP layer added. Since I was cloning directly from the Github page, I had the latest commit which seems to cause an error (maybe needs to be looked into). After changing my repo to the same release commit as the distribution package, I successfully got into Linux shell. (yay!) I can't get the eMMC to work still but I will make another post. Thank you!