8 Commits

Author SHA1 Message Date
Philip Smart
4417182fa4 Add kernel generated files and fix SPI Makefile for VPS builds
- Force-add kernel include/generated/ and include/config/ headers needed
  for out-of-tree module compilation (autoconf.h, asm-offsets.h, etc.)
- Force-add kernel .config, Module.symvers, and build tool binaries
  (scripts/basic/fixdep, scripts/mod/modpost) for kbuild module support
- Fix SPI tools Makefile: use PATH-relative arm-linux-gnueabihf-gcc
  instead of hardcoded /opt/gcc-arm-eabihf/bin/ path

These files enable the z80drv, ttymzdrv kernel modules and SPI tools
to build on the VPS Jenkins without running make defconfig first.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-15 12:42:25 +00:00
Philip Smart
e234adee32 Fix ttymzdrv compilation, add PCW8256 CPLD project, harden Build_FusionX.sh
- Fix ttymzdrv kernel module build failure with GCC 5.5:
  - Static variables cannot be initialised from const locals (not compile-time
    constants in C). Changed to zero-init with runtime sharpmz_init_defaults()
  - Added -Wno-error to ccflags-y to handle unrecognised -Wno-* flags from
    the kernel Makefile that GCC 5.5 cc1 rejects under -Werror
- Add PCW8256 Quartus project files (.qpf, .qsf, .sdc) - were gitignored
  by **/build/** rule, force-added to match MZ80A/MZ700/MZ2000
- Make Build_FusionX.sh more resilient:
  - make image-nocheck failure is now non-fatal (bootanimation needs GLIBC_2.28)
  - Upgrade image generation errors are non-fatal
- Update rebuilt binaries (ttymzdrv.ko, mspi_main)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-15 11:22:07 +00:00
Philip Smart
bea3393432 Add --image option to build.sh and fix Build_FusionX.sh paths
- Added build_image() function and --image flag to build.sh that invokes
  Build_FusionX.sh to create the Linux SD card image for the SSD202 SOM
- Fixed all hardcoded paths in Build_FusionX.sh to use relative paths
  derived from the script's directory location
- Image outputs (sdrootfs.tar.gz, SigmastarUpgradeSD.bin) can be included
  in Gitea releases

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-14 16:56:55 +00:00
Philip Smart
a3cfebc7f9 Added TZFS device driver and K64F CPU 2023-02-22 14:53:46 +00:00
Philip Smart
db177d2240 More updates to get git in-sync with dvlp env 2023-02-14 11:50:03 +00:00
Philip Smart
826783ab79 MZ80A Virtual RFS Driver added 2023-02-14 09:16:03 +00:00
Philip Smart
f2e1e1f951 Further build system updates 2022-12-03 15:17:55 +00:00
Philip Smart
12be7231a4 Added dependencies and modified files to create Linux installation 2022-12-03 13:20:05 +00:00