X512

Results 119 comments of X512

> If ATA isn't the first device on the PCI bus, it crashes, i.e. NVMe cannot be attached before ATA right now. ATA MMIO address is currently hardcoded both in...

> Where can I find `haiku_loader.riscv` sources? I could try writing a simple NVMe driver, why not (Fine deal imo, since you're working on I2C HID). It is here: https://github.com/haiku/haiku/blob/master/src/system/boot/platform/riscv/devices.cpp#L33....

My Haiku RVVM branch: https://github.com/X547/haiku/tree/rvvm2. WIP NVMe boot loader driver: https://github.com/X547/haiku/blob/e717045595ebbd71a30731bc57c96a5d1a68ef52/src/system/boot/platform/riscv/NvmeBlockDevice.cpp.

ATA MMIO address hardcode: * https://github.com/X547/haiku/blob/e717045595ebbd71a30731bc57c96a5d1a68ef52/src/system/boot/platform/riscv/AtaBlockDevice.cpp#L16 * https://github.com/X547/haiku/blob/e717045595ebbd71a30731bc57c96a5d1a68ef52/src/add-ons/kernel/generic/ata_adapter/ata_adapter.cpp#L54

> I'm not sure I properly understand how to build Haiku You need to configure build first. It will build GCC for riscv64 target. Assuming that current directory contains `haiku`...

> `../../buildtools/jam/jam0 -j16 -q @minimum-mmc` > `don't know how to make @minimal-mmc` Spell miss? Correct is `@minimum-mmc`.

> I tried many, none worked (With the same error) https://www.haiku-os.org/guides/building/pre-reqs ``` To install jam you can use one of two commands: The first requires administrative privilege, as jam will...

> Is it worth adding some kind of `-ata` option for those drives in upstream? Ideally it will be nice to have an option to specify drive type for each...

Did you solve a problem of Haiku build? What Haiku source version are you using? What happens if run `jam @minimum-raw kernel`?

> Figured the jam issue, thanks. There are some compilation errors tho Fixed, source updated.