Closed rwxlio closed 3 years ago
Please describe the problem. So you are using the SeaBIOS payload, and pressing ESC, SeaBIOS’ boot menu does not list your SD card?
It list my SD card, but not bootable. I have tried to boot with several different distros, when i choose my SD card it just fallback into config page (CBFS). I do not know what i should describe more than that.
@Lio-Makki Can you eliminate hardware as possibly being the problem? For example, try:
@jcholsap Hi. Thanks for replay.
Booting from normal hdd media and see if you can read/write to the sd device. Booting from hdd,ssd works just fine.
Use your sd device to boot another, different computer; and/or It does work fine in x200 with coreboot, and i can boot debian, void and ubuntu.
Using a different computer, scan your sd device for media errors.
The sd card is totally new and works perfectly on all other computers.
On Thu, Apr 1, 2021 at 6:09 PM Jay Holsapple @.***> wrote:
@Lio-Makki https://github.com/Lio-Makki Can you eliminate hardware as possibly being the problem? For example, try:
- Booting from normal hdd media and see if you can read/write to the sd device;
- Use your sd device to boot another, different computer; and/or
- Using a different computer, scan your sd device for media errors.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/merge/skulls/issues/190#issuecomment-812012595, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEB7CWN65NWH75UEJNN54RLTGSLEPANCNFSM42D3FUVQ .
If you are convinced your sd card is good and your laptop computer is good, then you'll want to eliminate the micro sd card reader as a possible fault. Boot your computer via hdd and then scan your sd card for errors. If the micro sd card adapter is defective, then you'll get some sort of errors.
cbmem -1
– in coreboot’s directory util
, and share the logs.-L build/coreboot.rom
to QEMU.)I have the same behaviour on my x230 with skulls.
cbmem.txt I cloned a Tails distribution from the USB stick (which does boot and work on my x230) to an SD card. It did not boot: I press Esc, select the SD and it shows "booting from HDD" and then "coreboot configuration". For a moment "Disk error" is shown, I caught it using video recording.
Thank you for testing. Instead of a picture, pasting this text or copying it from CBMEM console, is more useful.
Anyway, Disk error
is not from SeaBIOS, so it’s very likely from Tails. Please find out what assumptions Tails preventing it to boot from SD card. I assume the same image works fine from an USB storage medium?
Anyway, to debug this, first try to get it working in QEMU. If it works there, it can be figured out, what is wrong in this setup.
I’d say, not many people are interested in booting from SD card, so you are more or less on your own.
Thank you for testing. Instead of a picture, pasting this text or copying it from CBMEM console, is more useful.
Anyway,
Disk error
is not from SeaBIOS, so it’s very likely from Tails. Please find out what assumptions Tails preventing it to boot from SD card. I assume the same image works fine from an USB storage medium?
Right, the USB medium I used to clone it from did boot correctly.
Anyway, to debug this, first try to get it working in QEMU. If it works there, it can be figured out, what is wrong in this setup.
I’d say, not many people are interested in booting from SD card, so you are more or less on your own.
I appreciate help if it does not take too much of your time.
2\. Try to boot from the SD card in QEMU, that means boot the system from HDD, and then tell QEMU to start from the SD card.
Can you please elaborate on how can I tell QEMU to use the hardware SD card on my x230?
First hit searching for qemu emulate sd card: qemu to emulate SD-Bus and card pointing to Mounting an sdcard on x86?
Sorry, I am unable to provide more guidance. You could also contact coreboot consulting companies, and ask for a quote.
Everything is working as expected except booting from SD card! The SD card is detected and appear in the menu, boot when i choose it falling into CBFS config page.