Page 2 of 6

Re: uefi4kos

Posted: Tue Oct 27, 2020 10:04 pm
by dunkaist
Indeed, the first laptop seems to have 32-bit UEFI firmware which is a very rare case nowadays. Most UEFI machines, including mine, are 64-bit, that is why there is only BOOTX64.EFI so far.
I just checked that fasm can produce PE EFI binaries (not only PE64 EFI), and QEMU can emulate UEFI32 environment (using edk2_ovmf firmware), so I hope to come back with BOOTIA32.EFI loader this weekend.
Evgeniy wrote:However, I can't understand why the bootloader is x64? We have a 32-bit system.
In short, nobody expected to see UEFI32 firmware.
Evgeniy wrote:Second notebook freezee with logo.
Which logo? Try this image, is there any text output during boot?

Re: uefi4kos

Posted: Tue Oct 27, 2020 10:21 pm
by Evgeniy
Yes, this is a strange device with a 64-bit processor and a 32-bit BIOS.

: For example some people manage to run 64-bit Linux on it. Using special UEFI as it: https://github.com/hirotakaster/baytail-bootia32.efi

Well I'll try not to forget to check this update.

When I'm try to run this image and it not work, loading is freezed with bios logo. (I'm think KolibriOS kernel not loaded or not finded).

Re: uefi4kos

Posted: Thu Oct 29, 2020 1:58 am
by Evgeniy
[deleted]

Re: uefi4kos

Posted: Thu Oct 29, 2020 5:32 pm
by dunkaist
Evgeniy,
  1. Try this image on both laptops.
  2. Do you see any text message?
  3. If yes, try this image.

Re: uefi4kos

Posted: Thu Oct 29, 2020 9:19 pm
by Evgeniy
Sorry for the wait

1. Im install first image. And use BIOS boot from EFI feature.

1.1 im run EFI/BOOT/BOOTIA32.EFI and get "uefi32kos loaded" and HALT.
1.2 im run EFI/BOOT/BOOTX64.EFI ... and need to double check... I didn't pay attention

2. Try to next image...

Re: uefi4kos

Posted: Thu Oct 29, 2020 11:04 pm
by Evgeniy
im need time to test second image...

Re: uefi4kos

Posted: Fri Oct 30, 2020 1:52 am
by Evgeniy
Try second image. Output next data:

...
load kernel
load ramdisk
...
Locate GOP handle
Error!

Re: uefi4kos

Posted: Fri Oct 30, 2020 8:07 am
by dunkaist
Evgeniy wrote:1.1 im run EFI/BOOT/BOOTIA32.EFI and get "uefi32kos loaded" and HALT.
There is no need to run loaders manually. Select the flash as the boot media and UEFI firmware will find and run appropriate boot*.efi loader itself depending on the architecture.
Evgeniy wrote:Try second image. Output next data:

...
load kernel
load ramdisk
...
Locate GOP handle
Error!
I don't understand which laptop corresponds to each log. Could you write like this:

Code: Select all

Image1:
Log from latop1:
    blah
Log from laptop2:
    blah

Image2:
Log from latop1:
    blah
    ...
    blah
Log from laptop2:
    blah
    ...
    blah

Re: uefi4kos

Posted: Fri Oct 30, 2020 12:08 pm
by Evgeniy
dunkaist wrote:
Evgeniy wrote:1.1 im run EFI/BOOT/BOOTIA32.EFI and get "uefi32kos loaded" and HALT.
There is no need to run loaders manually. Select the flash as the boot media and UEFI firmware will find and run appropriate boot*.efi loader itself depending on the architecture.
I'm not sure if this option is in the BIOS, but I'll try.

Image1:
Log from 32x latop1:
uefi32kos loaded

Image2:
Log from 32x laptop1:

uefi32kos loaded
load kernel
load ramdisk
...
Locate GOP handle
Error!


[/quote]

I decided not to experiment on the 64x laptop yet, because I'm worried about its condition. :?
I hope this won't hurt a 32-bit laptop either. :?

Re: uefi4kos

Posted: Fri Oct 30, 2020 4:32 pm
by dunkaist
Try this image. It will not boot but will provide more information on the issue.

Re: uefi4kos

Posted: Fri Oct 30, 2020 5:31 pm
by Evgeniy
dunkaist wrote:Try this image. It will not boot but will provide more information on the issue.
Result on x32 laptop:

uefi32kos loaded
read options from config file
Load kernel
Load ramdisk
Allocate memory for DEVICES.DAT
Load DEVICES.DAT
Locate GOP Handle
Handle GOP protocol
Error!


May be laptop not support Graphics Output Protocol ? :?
Im send to youre private messages info about videocard.

Re: uefi4kos

Posted: Fri Oct 30, 2020 6:47 pm
by dunkaist
Evgeniy wrote:May be laptop not support Graphics Output Protocol ? :?
It still can be yes and no, let's check again.
Please, provide text output starting from 'Locate GOP handlers'.

Re: uefi4kos

Posted: Fri Oct 30, 2020 7:15 pm
by Evgeniy
Result on x32 laptop:

uefi32kos loaded
read options from config file
Load kernel
Load ramdisk
Allocate memory for DEVICES.DAT
Load DEVICES.DAT
Locate GOP handlers
GOP buffer size
00000008
Look for GOP handler
Query handler
Error!

Re: uefi4kos

Posted: Fri Oct 30, 2020 9:46 pm
by dunkaist
Seems like the second GOP handler works.
Let's see what fails next: http://ftp.kolibrios.org/users/dunkaist ... bri.raw.xz

Re: uefi4kos

Posted: Sat Oct 31, 2020 3:15 pm
by Evgeniy
Result on x32 laptop:

uefi32kos loaded
read options from config file
Load kernel
Load ramdisk
Allocate memory for DEVICES.DAT
Load DEVICES.DAT
Locate GOP handlers
GOP buffer size
00000008
Look for GOP handler
Query handler
Look for RSDP
RSDP found
ACPI tables done
option resolution: 1024 768

800 1280 1 800
640 480 1 640
800 600 1 800
No sych vmode
Error!


KOS not support VGA, SVGA, XWGA video modes? :?