Commit Graph

9 Commits

Author SHA1 Message Date
91d20b9226 fix: resolve kernel module installation and packaging issues
- Fixed resolve-module-dependencies.sh to handle missing modules gracefully
- Removed destructive 'set -e' behavior that caused immediate exit on missing modules
- Enhanced install-firmware-minimal.sh to handle partial success scenarios
- Fixed install-packages.sh to preserve installed kernel modules (was deleting them)
- Improved setup-initramfs.sh to ensure modules directory always exists
- Now successfully installs 43 essential kernel modules in final initramfs
- Fixes 'depmod: ERROR: could not open directory /lib/modules' boot issue

All kernel modules (.ko files) are now properly included in the final cpio archive.
2025-08-22 16:39:11 +02:00
56c3813609 Embellishments for module dependencies and initramfs bootup sequence
- add recursive module dependencies based on porper tools (modinfo)
  - fix zinit boot sequences
    - /dev/shm mount for alpine-built haveged
    - mycelium
    - rfs copy fixes
    - better sequencing overall (god I miss 'before:'
2025-08-20 09:35:18 +02:00
4a24580b05 Add PPS core dependency for PTP module
- Added pps_core.ko module installation for PTP subsystem dependency
- Updated grep patterns in both scripts to include 'pps' modules
- Fixes 'Unknown symbol pps_register_source' errors for PTP functionality
- Ensures complete PTP/PPS dependency chain for e1000e and other drivers
2025-08-19 22:29:12 +02:00
9463d23693 Add missing kernel module dependencies for SCSI and PTP
- Added scsi_mod.ko and sd_mod.ko for virtio_scsi dependency resolution
- Added ptp.ko for e1000e and other ethernet driver PTP functionality
- Fixes 'Unknown symbol' errors during module loading at boot
- Ensures all network and storage drivers have proper dependencies
2025-08-19 18:30:51 +02:00
2d3b6371e8 Add TUN kernel module for Mycelium networking
- Added tun.ko module installation to scripts/install-firmware-minimal.sh
- Essential for Mycelium's tunnel networking functionality
- Module will be installed alongside other network drivers during build
2025-08-19 18:25:00 +02:00
12156d458d Add overlay filesystem support and update zinit configuration
- Added overlay.ko module installation for container support in install-firmware-minimal.sh
- Added udevmon service for hardware event monitoring
- Updated udev-trigger dependency to include udevmon
- Added placeholder configurations for mycelium and shm services
2025-08-19 14:16:29 +02:00
bf62e887e8 feat: Create minimal Zero-OS initramfs with console support
- Fixed build system to clone source repositories instead of downloading binaries
- Enhanced scripts/fetch-github.sh with proper git repo cloning and branch handling
- Updated scripts/compile-components.sh for RFS compilation with build-binary feature
- Added minimal firmware installation for essential network drivers (73 modules)
- Created comprehensive zinit configuration set (15 config files including getty)
- Added util-linux package for getty/agetty console support
- Optimized package selection for minimal 27MB initramfs footprint
- Successfully builds bootable vmlinuz.efi with embedded initramfs
- Confirmed working: VM boot, console login, network drivers, zinit init system

Components:
- initramfs.cpio.xz: 27MB compressed minimal Zero-OS image
- vmlinuz.efi: 35MB bootable kernel with embedded initramfs
- Complete Zero-OS toolchain: zinit, rfs, mycelium compiled from source
2025-08-16 23:25:59 +02:00
653c751535 Lots of fixes
details
  details
  details
2025-08-16 00:52:30 +02:00
9b14d94bbe Initial commit: Alpine Zero-OS initramfs build system with cleaned Docker configuration 2025-08-15 22:11:44 +02:00