536 Linux for IBM ^ zSeries and S/390: Distributions
– binutils-2.10.0.8 + experimental patches
– gcc-2.95.2 + experimental patches
– glibc-2.2.2 + experimental patches
2. Download kernel from ftp.kernel.org
3. Apply patches
4. Update Makefile:
– ARCH := s390x
– CROSS_COMPILE=s390x-ibm-linux-
5. Make kernel
– make menuconfig
– make dep
– make
– make modules
– make modules_install
6. Build silo:
– cd arch/s390x/tools/silo
– make
7. Copy files to /boot:
– cp arch/s390x/boot/image /boot
– cp arch/s390x/boot/*.boot /boot
– cp System.map /boot
8. Run silo:
– cd /boot
– <path-to-kernel-tools>/silo –f image –p parmfile –d /dev/dasdx
Building a file system from scratch
1. Use first kernel as a base
2. Get “Building LFS from Scratch” from:
http://linuxfromscratch.org
3. Get ...