Commit Graph

19 Commits

Author SHA1 Message Date
Red Bear OS 9bbdc2cafa Merge upstream/main (59cf8189) into submodule/base
Sync the base fork with 13 upstream commits (xhci event-processing
dedup + IRQ race fix, randd permission simplification, nvmed TimeSpec
fix, /dev/ptmx, fpath legacy-path cleanup, dynamically-linked init
fix, and more). Brings process_one_event into the tree, satisfying the
verify-fork-functions gate for base.

Conflicts resolved (3 of 8 overlapping files; 5 auto-merged):

- drivers/usb/xhcid/src/xhci/irq_reactor.rs: took upstream's
  process_one_event/EventProcessResult refactor (b2ed85ea) including
  the a01d3ce6 race fix (process events between NoEvent and
  unmasking), and re-applied the Red Bear SPURIOUS_REBOOT quirk on the
  NoEvent warning (downgrade to debug when quirked).

- randd/src/main.rs: took upstream's permission-handling
  simplification (e26db606); re-applied the RB fcntl improvement
  (F_GETFL/F_GETFD/F_SETFL/F_SETFD handling, Linux random_fops xref)
  and the is_cpu_feature_detected early-return cleanup. Dropped
  test_scheme_perms (deleted by upstream's simplification).

- Makefile: kept upstream's new /dev symlink block (dev/null, ptmx,
  random, urandom, zero, tty, stdin/stdout/stderr).

Verified: cargo check clean; 57/57 tests pass (xhcid 35, usbhubd 14,
xhci trb 8); verify-fork-functions.sh --no-fetch base reports all
upstream functions present.
2026-07-19 05:47:27 +09:00
bjorn3 01018feece Fix support for dynamically linked init 2026-07-18 10:54:07 +02:00
bjorn3 add972864e Add /dev/ptmx symlink
This is the standard location for ptmx across unixes though POSIX
doesn't strictly mandate it to exist. It only mandates posix_openpt() to
work.
2026-07-16 20:01:02 +02: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
bjorn3 f71d388c5b Unconditionally compile bcm2835-sdhcid
This moves us closer towards having a single unified image for all arm64
systems. Only init still has the board compiled in rather than detecting
it from the device tree or ACPI tables.
2026-07-01 21:06:41 +02:00
Wildan M 586213b681 Fix test since sysroot is implicit in redoxer 2026-06-04 02:13:50 +07:00
Migue Magic 0e08a6ef00 Move fbcond outside initfs 2026-05-12 11:41:28 -06:00
Wildan M b085d6d88b build: Fix rebuilding 2026-04-28 22:03:47 +07:00
Jeremy Soller 6b33cd623a Merge branch 'xhcid_config_files' into 'main'
drivers/usb/xhcid: Load config files at runtime rather than compile time

See merge request redox-os/base!242
2026-04-22 15:02:26 -06:00
bjorn3 e217ff2c6a drivers/usb/xhcid: Load config files at runtime rather than compile time 2026-04-22 22:36:40 +02:00
bjorn3 1633b96135 Move device file symlinks into the base repo 2026-04-22 21:48:50 +02:00
bjorn3 6d1b19e55b Only set REDOX_SYSROOT for redoxer install redoxfs 2026-04-22 20:05:24 +02:00
bjorn3 4cc92b3ccf Build the base system and initfs in a single recipe 2026-04-21 22:38:02 +02:00
bjorn3 8e2b451965 Update Makefile in preparation for using it in the base recipes 2026-04-20 21:00:10 +02:00
Wildan M 08c36bed26 Test boot with multicore 2026-04-20 09:31:54 +07:00
bjorn3 69c1f56cf0 Workaround hardlink issue in CI 2026-04-19 21:24:09 +02:00
bjorn3 6adebf03c8 Fix install-initfs 2026-04-19 21:00:08 +02:00
bjorn3 6ff5e9fdcd Always rebuild in the Makefile
And let cargo do the dependency tracking instead.
2026-04-19 20:02:43 +02:00
Wildan M 40b1dce975 Add compiling and testing with Makefile 2026-04-19 15:48:52 +07:00