| FORUM

FEDEVEL
Platform forum

USE DISCOUNT CODE
EXPERT30
TO SAVE $30 USD

OpenRex: Learn the Essentials of creating uBoot, Linux and YOCTO course - Lesson 5: Linux Kernel

gustav , 11-08-2024, 04:05 PM
Hello, I'm having problems with booting linux.
I'm following the course on a iMX6 Rex module.
When I try to boot the kernel it does not want to start. Are there thing I need to do differently then if I where using an OpenRex card?

I've attached the boot log. I tried to find anything strange, but I'm stuck... Someone more experienced maybe see what is missing?
Robert Feranec , 11-08-2024, 09:18 PM
do you have a dhcp server running in the network? did you try fixed IP or disable ethernet just to confirm if problem is DHCP?
gustav , 11-11-2024, 10:07 AM
I've disabled DHCP in the defconfig file (CONFIG_IP_PNP_DHCP=n). I gave the board a static ip and i'm not running DHCP on the host.
When I now run it again I get further! 🙂 But it does still not boot all the way.

It stops on "Waiting for root device /dev/mmcblk1p2...

could it be that I should to follow the SD card configuration that is done in the course? From what I see the pins on the iMX6 rex module is the same as the Imx6 reference board (not like on openRex where we needed to make some changes)
gustav , 11-11-2024, 04:01 PM
I've solved it! 😄
The SD-card on IMX6 rex module uses SD3 instead of the SD2 on the OpenRex card. When I removed the datalines 5-8 and removed &usdhc2 and &usdhc4 from the .dtsi file it booted!
(I also managed to partision my SD-card to store linux on mmcblk2p2 instead of mmcblk2p1...)
Use our interactive Discord forum to reply or ask new questions.
Discord invite
Discord forum link (after invitation)

Didn't find what you were looking for?