s390: specify offset and size of the initrd for booting from CD
For booting with an initramfs initrd we apparently need to specify its offset and size at specific memory locations. Backported from trunk. Change is based on SuSE's CD boot. Many thanks to Adam Thornton, Mark Post (of Novell) and Bastian Blank for providing the pointers to the missing bits.
This commit is contained in:
parent
4b499bdf13
commit
8c5d66b269
|
@ -1,4 +1,6 @@
|
|||
* Debian GNU/Linux for S/390 (boot from CD-ROM or FTP-Server)
|
||||
linux_vm 0x00000000
|
||||
root.off 0x0001040c
|
||||
root.siz 0x00010414
|
||||
parmfile 0x00010480
|
||||
root.bin 0x00800000
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
* Debian GNU/Linux for S/390 (boot from CD-ROM or FTP-Server with OCO-Modules)
|
||||
linux_vm 0x00000000
|
||||
root.off 0x0001040c
|
||||
root.siz 0x00010414
|
||||
parmfile 0x00010480
|
||||
root.bin 0x00800000
|
||||
oco.bin 0x00c00000
|
||||
|
|
|
@ -2,6 +2,9 @@ debian-cd (3.1.1lenny1) UNRELEASED; urgency=low
|
|||
|
||||
[ Frans Pop ]
|
||||
* sparc: display message for unsupported subarchitectures.
|
||||
* s390: Add boot files specifying offset and size of the initrd for booting
|
||||
from CD. Change is based on SuSE's CD boot. Many thanks to Adam Thornton,
|
||||
Mark Post and Bastian Blank for providing the pointers to the missing bits.
|
||||
|
||||
[ Steve McIntyre ]
|
||||
* Fix link in README.html.in for lenny. (#542191)
|
||||
|
|
|
@ -87,6 +87,10 @@ done
|
|||
# - d390oco.tdf : same, using object-code-only-modules-ramdisk (example)
|
||||
cp $BASEDIR/data/$CODENAME/s390/d390* "$imagedir/"
|
||||
|
||||
# Create the files specifying offset and size of the initrd
|
||||
perl -e "print pack('N', 0x800000)" >"$imagedir/root.off"
|
||||
perl -e "print pack('N', -s '$imagedir/root.bin')" >"$imagedir/root.siz"
|
||||
|
||||
# Copy the README file
|
||||
cp $BASEDIR/data/$CODENAME/s390/README.boot "boot$N/"
|
||||
|
||||
|
|
Loading…
Reference in New Issue