Open zollerd opened 1 year ago
I did get the lines GPE0 STD STS: eSPI
and gpe0_sts[3]: 00004000 gpe0_en[3]: 00000000
once without an SD card as you can see in the given logs (I'm pretty sure I didn't mix this up...). But I can't seem to reproduce it now, the former line was always absent in subsequent cycles, the latter was always gpe0_sts[3]: 00000000 gpe0_en[3]: 00000000
, SD card inserted or not.
Thank you for submitting the issue.
GPE0 is just waking status bits, probably not relevant here
From what I have investigated so far on other laptops, the SD card controller returns timeout and the SD card cannot be initialized. So there may be something needed for the SD controller initialization before it can enumerate the card...
Not sure why I closed it as one of the comments in the PR of edk2 says it does not fix the problem...
Reopening with some more pointers. There are patches for the BayHub SD card readers for edk2: https://edk2.groups.io/g/devel/message/100548 which may be needed to get the SD boot capability.
Dasharo version v1.4.0 https://docs.dasharo.com/variants/novacustom_nv4x_tgl/releases/#v140-2023-02-24
Affected component(s) or functionality Booting into kernel stored on SD card
Brief summary I'm unable to boot into Linux from SD card, it seems the card is not recognized. No corresponding menu option is rendered in any place where bootable USB sticks normally show up (alongside the always-present iPXE Network Boot and UEFI Shell):
How reproducible Always.
Steps to reproduce the behavior
Expected behavior A menu option for the SD card should be shown, and if chosen, the device should boot into the kernel stored on the card.
Actual behavior No menu option for the SD card is generated, thus it is not possible to boot from SD card.
Additional context
Partitioning scheme:
# parted /dev/mmcblk0 -- print
(executed fromarchlinux-2023.06.01-x86_64.iso
)Dasharo firmware logs SD card plugged in before boot, booting into DTS 1.2.0 using an USB stick plugged into the USB-A port on the right side of the device.
cbmem -1
: cbmem_1_with_sdcard.logNo SD card plugged in, booting into DTS 1.2.0 using an USB stick plugged into the USB-A port on the right side of the device.
cbmem -1
: cbmem_1_without_sdcard.logAdditional notes
nixos-minimal-23.05.553.e7603eba51f-x86_64-linux.iso
orarchlinux-2023.06.01-x86_64.iso
from USB stickdmesg -w
logs nothing new when the card is unplugged and plugged in againHappy to collect more information if necessary.
Solutions you've tried
An different SD card with a different partitioning scheme (MBR-based) is also not recognized (this is
archlinux-2023.06.01-x86_64.iso
flashed to the card, which works via a USB stick):