Xen wrote: ↑Wed Aug 18, 2021 7:00 pm
Ramdisk boot is supported on WinXP, but it is supported on ReactOS too?
Yes, ReactOS can be booted from Ramdisk, and yes, it's preferred method of booting when we don't have a suitable driver(s) for I/O yet (especially for new hardware ports).
Xen wrote: ↑Wed Aug 18, 2021 7:00 pm
Also there is any restrictions about using public code from linux or EDK in ReactOS?
Depends on the license, but at least code licensed under GPL / BSD / MIT should be okay.
There's a lot of 3rd party code in ReactOS as well, under different licenses.
I found gma600 video BIOS and successfully run it on my device. Now it should be possible to use common VGA drivers.
Also I trying to run ROS UEFI bootloader, but getting errors on VirtualBox. It is possible to use UEFI bootloader or it is yet another broken thing?
Xen wrote: ↑Fri Sep 03, 2021 5:40 pm
Also I trying to run ROS UEFI bootloader, but getting errors on VirtualBox. It is possible to use UEFI bootloader or it is yet another broken thing?
ROS' own UEFI bootloader never was in working state, it was even excluded from builds because nobody maintained it for long time.
Hello.
SFI-compatible freeldr is almost complete. Exactly I did:
SFI system detection, parsing memory map, stubs for unexisted devices, etc;
Loading VGA BIOS image as multiboot module;
MCFG PCI and SD/MMC host controller support (port from EDK + ARC compatibility layer + universal partition support). Now freeldr can boot from SD/MMC devices.
All this code add ~50 kb to size of freeldr.
Also I found some bugs in freeldr fs.c, fixed version is attached to this post.
Should I post other code?
Xen wrote: ↑Mon Aug 23, 2021 7:50 pm
Did you rooted it and interested in ROS running? Can you dump SFI table, list of devices (lspci, lsusb, etc..), any firmware packs/dumps?
Yes I'm interested, not rooted yet but it is possible. Sorry for the delay, if you still need anything I will look into it when I have some time (in few weeks probably).
Xen wrote: ↑Fri Nov 19, 2021 8:52 pm
All this code add ~50 kb to size of freeldr.
Also I found some bugs in freeldr fs.c, fixed version is attached to this post.
Should I post other code?
Sure. However if you want to send it upstream, it is better to create a PR at ReactOS GitHub so that it can be reviewed by developers.
Also a semi-offtopic question: Were you able to boot Linux 5.11 on your SFI devices? If so, I guess the video BIOS is needed for the video drivers in mainline kernel?
middings wrote: ↑Sat Nov 20, 2021 1:03 pm
Xen, I looked in Jira. I could not find any bug reports there regarding freeldr that you wrote.
Ofc, I never report this bugs, I just fix them. This bugs was: memory leak, no reference counter decrease in ArcClose, wrong name comparison in ArcOpen (can open "device()partition()" instead of "device()" that was really requested). You can compare files to get details.
Illen wrote: ↑Sat Nov 20, 2021 3:47 pm
Sure. However if you want to send it upstream, it is better to create a PR at ReactOS GitHub so that it can be reviewed by developers.
I can just post sources in archive, but need ppl with SFI devices to test it.
Illen wrote: ↑Sat Nov 20, 2021 3:47 pm
Also a semi-offtopic question: Were you able to boot Linux 5.11 on your SFI devices? If so, I guess the video BIOS is needed for the video drivers in mainline kernel?
There is no VGA BIOS in linux kernel, native drivers works directly with device and dont need BIOS. BIOS need only for generic VGA drivers, working via int10 calls (bootvid/vga.sys for example).
I extract VGA BIOS from BIOS image of non-SFI device with same graphic adapter, it works fine after little fixes.
Xen wrote: ↑Fri Nov 19, 2021 8:52 pm
SFI-compatible freeldr is almost complete.
Hello. The SD/MMC host controller support should be done only in ntbootdd.sys driver if possible.
See /boot/freeldr/freeldr/disk/scsiport.c file that implements the interface between freeldr.sys and ntbootdd.sys
Illen wrote: ↑Sat Nov 20, 2021 4:46 pm
Alright, I can test it on Teclast P89.
Not much I can find about this device, but looks like it based on medfield platform while my is moorestown. Probably you will need to find another VGA BIOS for your device.
Anyway when you root it pls dump 1st MB of RAM, MCFG table and lspci, then I can check it and give more info.
walean wrote: ↑Sat Nov 20, 2021 4:50 pm
The SD/MMC host controller support should be done only in ntbootdd.sys driver if possible.
Xen wrote: ↑Sun Nov 21, 2021 9:45 pm
Not much I can find about this device, but looks like it based on medfield platform while my is moorestown. Probably you will need to find another VGA BIOS for your device.
Anyway when you root it pls dump 1st MB of RAM, MCFG table and lspci, then I can check it and give more info.
The GPU seems to be based on SGX 544MP2, the closest GPU I have on a PC platform is a GMA 3600. Also attached an archive with all the dumps.