BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//pretalx//pretalx.coscup.org//coscup-2026//talk//GAS93K
BEGIN:VTIMEZONE
TZID:CST
BEGIN:STANDARD
DTSTART:20000101T000000
RRULE:FREQ=YEARLY;BYMONTH=1
TZNAME:CST
TZOFFSETFROM:+0800
TZOFFSETTO:+0800
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
UID:pretalx-coscup-2026-GAS93K@pretalx.coscup.org
DTSTART;TZID=CST:20260808T105000
DTEND;TZID=CST:20260808T112000
DESCRIPTION:Bringing Linux up on a new RISC-V board usually means assemblin
 g a vendor BSP and chasing toolchain mismatches by hand.\n\n**crossdev-sta
 ges** is a Rust CLI (and also a library) that wraps the whole flow in one 
 declarative pipeline.\n\nEach board is a small set of config files in `boa
 rds/<name>/` (arch\, CFLAGS\, kernel / OpenSBI / U-Boot / firmware repos &
  tags\, services)\, with optional `pre/post/override` shell hooks per buil
 d step.\nThe tool drives Gentoo's `crossdev` to build a cross-toolchain\, 
 fetches pinned sources\, cross-emerges the rootfs with whatever Portage pa
 ckages and USE flags the board declares\, and assembles a bootable image.\
 n\nIt runs inside [hakoniwa](https://github.com/souk4711/hakoniwa) (箱庭
 ): an unprivileged user-namespace sandbox\, so no `sudo` or Docker daemon.
 \n\nCross-toolchains and binary packages are keyed by `(CHOST\, canonical 
 CFLAGS)`\; CFLAGS go through [sokgi](https://github.com/OctopusET/sokgi) f
 irst\, which normalizes semantically equivalent flag strings (token order\
 , last-wins overrides) to the same hash.\n\nSo one toolchain build per har
 dware profile\, shared across compatible boards. Each image build also wri
 tes a `build.lock.toml` pinning stage3\, source commits\, kernel/U-Boot co
 nfig sha256\, and CFLAGS. `crossdev-stages update` diffs it against upstre
 am HEAD when you want to refresh.
DTSTAMP:20260713T142151Z
LOCATION:TR512
SUMMARY:crossdev-stages\, painless tool for building cross-compiler environ
 ment and board images for RISC-V and other architectures - Sungjoon Moon
URL:https://pretalx.coscup.org/coscup-2026/talk/GAS93K/
END:VEVENT
END:VCALENDAR
