Hello, I think I have the same problem @kayaci is describing.
I compiled the mainline Kernel 5.4.188 with an adapted version of .config from @drt1245 .
I’m landing in initramfs, the sd card is not detected.
Loading, please wait...
[ 1.320000] systemd-udevd[64]: starting version 215
[ 1.320000] random: systemd-udevd: uninitialized urandom read (16 bytes read)
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
...
[ 10.800000] random: fast init done
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
...
done.
Gave up waiting for root device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/mmcblk0p2 does not exist. Dropping to a shell!
(initramfs)
Compared to the stock image with Kernel 3.10.62 which detects the sd card.
[ 0.557312] rda-mmc rda-mmc.0: set clk = 1000000, bus_clk = 200000000, divider = 99
[ 0.584167] rda-mmc rda-mmc.0: rda_sdmmc 0 initialized.
[ 0.597351] rda-mmc rda-mmc.1: set clk = 1000000, bus_clk = 200000000, divider = 99
[ 0.603027] rda-mmc rda-mmc.0: set clk = 25000000, bus_clk = 200000000, divider = 3
[ 0.603820] rda-mmc rda-mmc.0: set bus_width = 4
[ 0.604370] mmc0: new SDHC card at address 21e5
[ 0.605224] mmcblk0: mmc0:21e5 APPSD 14.8 GiB
[ 0.606872] mmcblk0: p1 p2
Is that what you mean, by
?