first commit
This commit is contained in:
commit
9f43ba58d2
8 changed files with 130 additions and 0 deletions
30
.gitignore
vendored
Normal file
30
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# ISO files
|
||||
*.iso
|
||||
|
||||
# Temporary files
|
||||
*.tmp
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
|
||||
# OS generated files
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# Build artifacts
|
||||
*.o
|
||||
*.ko
|
||||
*.obj
|
||||
*.elf
|
||||
|
||||
# Compressed files
|
||||
*.gz
|
||||
*.bz2
|
||||
*.xz
|
||||
|
||||
# Backup files
|
||||
*.bak
|
||||
*.backup
|
||||
|
||||
# Log files
|
||||
*.log
|
||||
12
.treeinfo
Normal file
12
.treeinfo
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[general]
|
||||
name = Arch Linux
|
||||
version = 2025.05.01
|
||||
arch = s390x
|
||||
platforms = s390x
|
||||
|
||||
[stage2]
|
||||
mainimage = s390x/boot/rootfs.img
|
||||
|
||||
[images-s390x]
|
||||
kernel = s390x/boot/vmlinuz-linux
|
||||
initrd = s390x/boot/initramfs-linux.img
|
||||
5
CODEOWNERS
Normal file
5
CODEOWNERS
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# CODEOWNERS for Arch Linux s390x LPAR boot components
|
||||
|
||||
# Global owners
|
||||
* @pfeifferj josie@redhat.com
|
||||
* @Morganamilo morganamilo@archlinux.org
|
||||
34
LICENSE
Normal file
34
LICENSE
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
Copyright (c) 2025 Arch Linux s390x Contributors
|
||||
|
||||
This work is based on Arch Linux (https://archlinux.org/)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
================================================================================
|
||||
|
||||
This distribution contains software from the Arch Linux project, which includes
|
||||
components under various open source licenses including but not limited to:
|
||||
- GNU General Public License (GPL)
|
||||
- GNU Lesser General Public License (LGPL)
|
||||
- BSD licenses
|
||||
- MIT license
|
||||
- Apache License
|
||||
|
||||
For specific licensing information about individual packages, please refer to
|
||||
the license files included with each package in the Arch Linux repositories.
|
||||
42
README.md
Normal file
42
README.md
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
# Arch Linux s390x LPAR Boot Components
|
||||
|
||||
This repository contains the necessary files to boot Arch Linux on IBM System z (s390x) LPAR.
|
||||
|
||||
## Structure
|
||||
|
||||
```
|
||||
.
|
||||
├── s390x/
|
||||
│ └── boot/
|
||||
│ ├── arch.prm # Kernel parameters
|
||||
│ ├── initrd.addrsize # Memory layout for initrd
|
||||
│ ├── vmlinuz-linux # s390x kernel (needs to be added)
|
||||
│ └── initramfs-linux.img # s390x initrd (needs to be added)
|
||||
├── generic.ins # IPL configuration file
|
||||
├── .treeinfo # Boot media metadata
|
||||
└── README.md # This file
|
||||
```
|
||||
|
||||
## Boot Files
|
||||
|
||||
- **generic.ins** - IPL configuration file that specifies:
|
||||
- Kernel location: `s390x/boot/vmlinuz-linux` at address `0x00000000`
|
||||
- Initrd location: `s390x/boot/initramfs-linux.img` at address `0x02000000`
|
||||
- Parameter file: `s390x/boot/arch.prm`
|
||||
- Address/size file: `s390x/boot/initrd.addrsize`
|
||||
|
||||
- **arch.prm** - Kernel boot parameters:
|
||||
- Console settings for both serial and virtual terminals
|
||||
- Arch ISO base directory and label
|
||||
|
||||
- **initrd.addrsize** - Memory layout:
|
||||
- Start address: `0x02000000`
|
||||
- Maximum size: `0x10000000` (256MB)
|
||||
|
||||
- **.treeinfo** - Boot media metadata for SFTP boot
|
||||
|
||||
## Todo
|
||||
|
||||
1. Build or obtain s390x versions of:
|
||||
- Linux kernel compiled for s390x
|
||||
- Initramfs with s390x userspace
|
||||
5
generic.ins
Normal file
5
generic.ins
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
* Arch Linux s390x LPAR boot file
|
||||
s390x/boot/vmlinuz-linux 0x00000000
|
||||
s390x/boot/initramfs-linux.img 0x02000000
|
||||
s390x/boot/arch.prm 0x00010480
|
||||
s390x/boot/initrd.addrsize 0x00010408
|
||||
1
s390x/boot/arch.prm
Normal file
1
s390x/boot/arch.prm
Normal file
|
|
@ -0,0 +1 @@
|
|||
rw console=ttyS0 console=tty0 archisobasedir=arch archisolabel=ARCH_2025_05_01
|
||||
1
s390x/boot/initrd.addrsize
Normal file
1
s390x/boot/initrd.addrsize
Normal file
|
|
@ -0,0 +1 @@
|
|||
0x02000000 0x10000000
|
||||
Loading…
Reference in a new issue