Red Bear OS
1769b083ab
fix(boot): clean up bare/mini boot warnings and errors
...
- init: add condition_path_exists so optional-daemon units (dbus, seatd,
thermald, evdevd) are silently skipped when their binary is absent in a
minimal image, instead of emitting [FAILED] 'No such file or directory' on
the bare target. Boot-critical units omit the field and still hard-fail.
- ahcid: an empty ATAPI/optical drive (QEMU's default DVD-ROM, most bare-metal
optical bays) failed READ CAPACITY and logged 4 ERROR lines every boot;
register it with a zero block count as a normal no-media state and drop the
HBA register dump to debug level.
- netstack: a machine with no NIC (bare, or an unsupported NIC) logged an ERROR
and exited non-zero; treat 'no network adapter' as a normal idle state
(info + clean exit).
- dhcpd: cut the socket timeout 30s -> 8s so the network stage fails fast when
no DHCP server answers instead of stalling boot.
2026-07-18 00:29:43 +09:00
Red Bear OS
bd595851e2
base: apply Red Bear patches on latest upstream/main
...
251 files: init, acpid, ipcd, netcfg, ihdgd, virtio-gpud, scheme-utils,
inputd, block driver, ptyd, ramfs, randd, initfs bootstrap, path deps,
version +rb0.3.1, author attribution
2026-07-11 11:39:24 +03:00
Wildan M
572561035b
raspi: Fix bcm driver init
2026-07-05 11:08:50 +07:00
bjorn3
24fb66e144
Fix warnings for updated rustc
...
And move away from an internal feature now that there is a proper
(unstable) function for it.
2026-05-27 21:11:53 +02:00
bjorn3
d528fb73b4
drivers: Use map_bar instead of physmap where possible
...
Physmap requires root, while map_bar in the future could be run as
unprivileged process given a pcid handle for the target device.
2026-05-09 20:12:41 +02:00
bjorn3
daf726c30d
scheme-utils: Have FpathWriter handle writing the scheme name
2026-04-19 19:07:41 +02:00
bjorn3
64d23e9e05
scheme-utils: Introduce FpathWriter helper
2026-04-19 19:07:41 +02:00
Wildan M
9e7e04e3b8
Extend ided read timeout
2026-04-16 05:28:28 +07:00
bjorn3
317a0178b6
Introduce scheme-utils crate and HandleMap type
...
HandleMap deduplicates the id assignment for handles and unlike most
existing implementations handles overflow just fine.
2026-04-13 22:19:07 +02:00
auronandace
29b4782015
update thiserror and add to workspace
2026-03-23 07:58:57 +00:00
auronandace
e3c6ca1573
upgrade to latest spin crate and add to workspace
2026-03-22 15:43:32 +00:00
auronandace
557a3d1954
consolidate several dependencies into the workspace
2026-03-22 15:11:33 +00:00
auronandace
bba8eac7cb
remove bitflags from ahcid
2026-03-20 11:52:15 +00:00
auronandace
7be03d1815
add bitflags to the workspace Cargo.toml
2026-03-20 08:46:28 +00:00
Ribbon
90ea974ce0
Add missing Cargo package description and update drivers README
2026-03-16 10:39:15 -06:00
bjorn3
9795abb0ea
Fix a bunch of warnings
2026-03-11 22:05:44 +01:00
Ibuki Omatsu
2738f69224
feat: Implement std_fs_call handling to initfs, ramfs, acpi and xhci
2026-02-28 08:15:16 -07:00
auronandace
4e77bb0f96
add precedence lint to drivers
2026-02-20 15:00:43 +00:00
Jeremy Soller
2d672b7cd9
Add anyhow to workspace
2026-01-29 10:47:45 -07:00
bjorn3
fc1c391340
Move common::init call into pcid_interface::pci_daemon
2026-01-25 20:08:49 +01:00
Jeremy Soller
d7303832b1
Fix usb error message typo
2026-01-22 14:54:38 -07:00
Ibuki.O
bc6ad8c5f7
fix: Call common::init in virtio-blkd main.
2026-01-22 13:34:14 +09:00
Ibuki Omatsu
334928f151
feat: Introduce userspace namespace manager and adapt all schemes.
2026-01-20 20:56:58 -07:00
Jeremy Soller
9b2b0d4930
Downgrade fdt to fix CI failure
2026-01-20 10:38:12 -07:00
Jeremy Soller
f740b61774
Use workspace dependencies for many common crates
2026-01-20 10:12:08 -07:00
Jeremy Soller
c772ba8924
ihdgd driver
2025-12-18 10:48:05 -07:00
Ibuki Omatsu
3681e1b74a
refactor: Replace unlink and rmdir with unlinkat in ramfs. Update redox-scheme and redox-rt for bootstrap.
2025-12-17 18:46:05 -07:00
bjorn3
4b6d386840
drivers/storage/driver-block: Update to redox-scheme 0.8
2025-12-13 13:08:31 +01:00
Wildan M
10a1e29a64
Try fix for other arch
2025-12-11 18:54:57 +07:00
Wildan M
04d5c5fee8
Fix cargo check for aarch64
2025-12-11 18:47:46 +07:00
bjorn3
3abe41d258
drivers/pcid: Add pci_daemon function
...
This handles daemonization and getting the PciFunctionHandle.
2025-12-04 11:44:29 +01:00
bjorn3
f06923b201
Standardize main function of all daemons
2025-12-04 11:44:29 +01:00
bjorn3
f1057b6750
daemon: Abort on errors
...
All users did this anyway. And handling it inside the daemon crate
allows avoiding a panic of the parent process when the child process
panicked.
2025-12-03 21:55:47 +01:00
bjorn3
54d81e7423
Merge redox-daemon into this repo
2025-12-03 21:07:13 +01:00
bjorn3
07a2b97f08
Add 'drivers/' from commit '20ffe4d7f4a85b7cc1f59495d7e6e355fed4cb06'
...
git-subtree-dir: drivers
git-subtree-mainline: e76ecea4ce
git-subtree-split: 20ffe4d7f4
2025-11-29 19:04:04 +01:00