MrChromebox / firmware

Issue tracker for firmware issues
78 stars 16 forks source link

ELEMI: MicroSD & eMMC not bootable / not able to be recognized by the firmware and lead to ' failed: verify it contains a 64-bit UEFI OS ' error, RECURRENT of #572 with extra eMMC non-bootable malfunction #667

Open PD-Kerman opened 2 months ago

PD-Kerman commented 2 months ago

Hellow there, this is a copy of a comment i posted in the following issue which was closed and considering the previous thread was rather old so im posting this thread and the original thread would be mentioned below

--it behaves almost the same as it was in the issue #572 which should be fixed months ago

I just got a elemi / hp c640 g2 here and seems like the issue still remains on this model, which it doesnt seem like i could boot the system from the microsd card in the slot~

So after reading all previous comments/discussions under this thread, i guess ill just firstly post these infos cuz they should be related most:

b4cba7a546945f70918a0c5d28282cfd_720

dfcd588cddbd3429b2dbea889baff3c9_720

442535ee44b46852c1608bd7ac4e6b97

5899214dbfb66f5beef640b562905318

What have i been trying :

Well i was originally wanted to install the entire operating system on the microsd card in the built in slot cuz the slot could get it locked inside which should be save enough and my internal storage was like i only got 64GB which wasnt enought and speaking of which the internal eMMC didnt displayed on the firmware as well

and i tried both ubuntu and arch linux and the USB installation media works both perfectectly fine, and ive attempted to install it to both eMMC and microsd card separately both didnt boot

which means yea even tho the microsdcard is bootable/freshly installed, it is still not detectable

and about the microsd card its a sandisk extreme 256GB and again works perfectly fine ive been tested it for several times~

P.S. A: the firmware seemed to be taking abnormally long time to boot (the icon phase) after booted without any bootable option for a few times

P.S. B: just tested again and confirmed that the internal eMMC doesnt seem to be boot-able as well, error remains the same

its kind of a really important feature and i really wish it could be fixed please let me know if any other infos were required :D

All kinds of help at all would be very much appreciated!~ Thanks in advance

Originally posted by @PD-Kerman in https://github.com/MrChromebox/firmware/issues/572#issuecomment-2295226186

PD-Kerman commented 2 months ago

Attaching cbmem.log, dumped using ubuntu live booted from usb flash drive cuz due to the non-boot-able issue of both emmc and microsd we cant really get into the os and dump logs in that kind of scenario for it, hope it would still be useful

cbmem.log

PD-Kerman commented 2 months ago

Also posted on chrultrabook forum with a reformatted and briefer description regarding the issue

https://forum.chrultrabook.com/t/elemi-issue-with-uefi-full-rom-emmc-microsd-non-bootable/3042

MrChromebox commented 2 months ago

ELEMI uses a PCIe-->eMMC bridge, which coreboot properly initializes. So it seems the problem is with edk2 not detecting it. The easiest solution is to swap the eMMC board for a NVMe one, assuming it's socketed. Otherwise, will need to flash a debug build with edk2 logging and log via a SuzyQ cable

PD-Kerman commented 2 months ago

ELEMI uses a PCIe-->eMMC bridge, which coreboot properly initializes. So it seems the problem is with edk2 not detecting it. The easiest solution is to swap the eMMC board for a NVMe one, assuming it's socketed. Otherwise, will need to flash a debug build with edk2 logging and log via a SuzyQ cable

Thank you for your reply,

Well but I mean like some other device could boot from it properly right?~ [for example seems like other volteer devices could boot from it as well right~ according to the discord discussion, or is it just ELEMI was an exception~? :D] so is it because ELEMI uses that kind of bridge that made it different or the other devices wasn't ought to be able to boot via eMMC as well~?

And is or will there be a new firmware-release/simple-fix that could get this issue fixed and let edk2 got it detected~? Thanks

Best regards, PD-Kerman

MrChromebox commented 2 months ago

Well but I mean like some other device could boot from it properly right?~ [for example seems like other volteer devices could boot from it as well right~ according to the discord discussion, or is it just ELEMI was an exception~? :D] so is it because ELEMI uses that kind of bridge that made it different or the other devices wasn't ought to be able to boot via eMMC as well~?

I have no idea. I only have a single TGL device with NVMe and it has no issues. I think most volteer devices use NVMe, not eMMC. I'm not sure if other volteer devices use eMMC, I'd have to check.

And is or will there be a new firmware-release/simple-fix that could get this issue fixed and let edk2 got it detected~? Thanks

without an edk2 debug log, I have no idea what the issue is or how to potentially fix it

PD-Kerman commented 2 months ago

Well but I mean like some other device could boot from it properly right?~ [for example seems like other volteer devices could boot from it as well right~ according to the discord discussion, or is it just ELEMI was an exception~? :D] so is it because ELEMI uses that kind of bridge that made it different or the other devices wasn't ought to be able to boot via eMMC as well~?

I have no idea. I only have a single TGL device with NVMe and it has no issues. I think most volteer devices use NVMe, not eMMC. I'm not sure if other volteer devices use eMMC, I'd have to check.

And is or will there be a new firmware-release/simple-fix that could get this issue fixed and let edk2 got it detected~?

Thanks

without an edk2 debug log, I have no idea what the issue is or how to potentially fix it

Okey i get that now, so I'll have to get a debug build of edk2 firmware flashed into it in order to get a better figure of what went wrong right~? :D Well that indeed cleared things up~

Although I don't personally got a SuzyQ here but I've got a brief review from a contributor/moderator from chrultrabook discord server: general channel mentioned that he's got several volteer devices and I think he did mentioned that some of them have eMMC storage so, if some of his volteer devices had indeed got eMMC storages then is it possible that he could run the test and get the logs from some volteer devices as reference in case of that it's got the same non-bootable eMMC storage issue as well~?

Again thanks for your reply Best regards, Pd-Kerman

PD-Kerman commented 2 months ago

Attatching the detailed conversation log in the discord server P.S. Jamie had got some point of view regarding RP9 in the device tree of ELEMI in this case might need your review as well

Thanks in advance

image