Build with ps2build; add Forgejo build and release workflows #1

Merged
techwritescode merged 7 commits from ps2build-migration into master 2026-09-29 18:09:42 +00:00

Builds ps2link with ps2build instead of the Makefiles, and adds Forgejo build and release workflows.

  • ps2.yaml builds ps2link.irx and the EE ELF (packed and unpacked), embedding ioptrap and udptty from sdk-world and dev9, netman, smap, poweroff and ps2ip-nm from sdk-core.
  • ee/linkfile and ee/linkfile.loadhigh now define __CTOR_LIST__, __CTOR_END__, __DTOR_LIST__ and __DTOR_END__, which the SDK's crt0 needs. The old linkfiles fail to link without them.
  • iop/poweroff.h is vendored because the installed poweroff package does not expose its IOP header.
  • .forgejo/workflows/build.yml and release.yml are pinned to sdk-world v2026.09.29; the release stamps APP_VERSION from the tag and publishes PS2LINK.ELF (packed) and ps2link-unpacked.elf.
  • .gitignore: allow .forgejo, ignore build/.

Released as v1.9.2 from this branch.

Not carried over from the Makefile: NEWLIB_NANO, the DEBUG, ZEROCOPY and PWOFFONRESET options, and a target for linkfile.loadhigh. Only boot-checked in PCSX2; the network side is untested.

Tracked as PS2-4.

Builds ps2link with ps2build instead of the Makefiles, and adds Forgejo build and release workflows. - `ps2.yaml` builds `ps2link.irx` and the EE ELF (packed and unpacked), embedding ioptrap and udptty from sdk-world and dev9, netman, smap, poweroff and ps2ip-nm from sdk-core. - `ee/linkfile` and `ee/linkfile.loadhigh` now define `__CTOR_LIST__`, `__CTOR_END__`, `__DTOR_LIST__` and `__DTOR_END__`, which the SDK's crt0 needs. The old linkfiles fail to link without them. - `iop/poweroff.h` is vendored because the installed poweroff package does not expose its IOP header. - `.forgejo/workflows/build.yml` and `release.yml` are pinned to sdk-world v2026.09.29; the release stamps `APP_VERSION` from the tag and publishes `PS2LINK.ELF` (packed) and `ps2link-unpacked.elf`. - `.gitignore`: allow `.forgejo`, ignore `build/`. Released as v1.9.2 from this branch. Not carried over from the Makefile: `NEWLIB_NANO`, the `DEBUG`, `ZEROCOPY` and `PWOFFONRESET` options, and a target for `linkfile.loadhigh`. Only boot-checked in PCSX2; the network side is untested. Tracked as PS2-4.
Build with ps2build: add ps2.yaml, define __CTOR_LIST__/__DTOR_LIST__ in linkfiles
Some checks failed
CI / build ([default 0]) (push) Has been cancelled
CI / build ([highloading 1]) (push) Has been cancelled
CI / release (push) Has been cancelled
22f4adbdb7
Builds ps2link.irx, ioptrap.irx and udptty.irx (from ps2sdk sources) and embeds
them with the installed dev9/netman/smap/poweroff/ps2ip-nm modules into a
packed ps2link ELF. The linkfiles now provide the constructor list bounds the
SDK's crt0 requires. poweroff.h is vendored as it is not exposed to IOP
consumers by the installed package.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
ps2.yaml: use the ioptrap and udptty packages from sdk-world
Some checks failed
CI / build ([default 0]) (push) Has been cancelled
CI / build ([highloading 1]) (push) Has been cancelled
CI / release (push) Has been cancelled
d9890c0f85
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Fix .gitignore: build/ was appended to the *_irx.c pattern
All checks were successful
Build / build (push) Successful in 16s
Release / release (push) Successful in 17s
Build / build (pull_request) Successful in 17s
7a636c22be
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Needs an sdk-core release containing the poweroff include_dirs fix.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Pin sdk-core v2026.09.29 in the workflows
Some checks failed
Build / build (push) Failing after 16s
Build / build (pull_request) Failing after 17s
08858f9299
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
ps2.yaml: add poweroff to the IOP target's headers
All checks were successful
Build / build (pull_request) Successful in 16s
Build / build (push) Successful in 17s
Release / release (push) Successful in 17s
c956a07372
The previous commit removed the vendored poweroff.h but the headers: entry was not staged.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
techwritescode deleted branch ps2build-migration 2026-09-29 18:09:45 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ps2/ps2link!1
No description provided.