...
 
Commits (51)
......@@ -19,6 +19,7 @@ A10-OLinuXino-Lime /usr/lib/u-boot/A10-OLinuXino-Lime/u-boot-sunxi-with-spl.bin
A20-Olimex-SOM-EVB /usr/lib/u-boot/A20-Olimex-SOM-EVB/u-boot-sunxi-with-spl.bin 16
A20-OLinuXino-Lime /usr/lib/u-boot/A20-OLinuXino-Lime/u-boot-sunxi-with-spl.bin 16
A20-OLinuXino-Lime2 /usr/lib/u-boot/A20-OLinuXino-Lime2/u-boot-sunxi-with-spl.bin 16
A20-OLinuXino-Lime2 /usr/lib/u-boot/A20-OLinuXino-Lime2-eMMC/u-boot-sunxi-with-spl.bin 16
A20-OLinuXino-MICRO /usr/lib/u-boot/A20-OLinuXino_MICRO/u-boot-sunxi-with-spl.bin 16
BananaPi /usr/lib/u-boot/Bananapi/u-boot-sunxi-with-spl.bin 16
BananaPiM2Berry /usr/lib/u-boot/bananapi_m2_berry/u-boot-sunxi-with-spl.bin 16
......
default l0
menu title Debian-Installer
prompt 0
timeout 50
label l0
menu label Debian-Installer
linux /vmlinuz
initrd /initrd.gz
fdtdir /dtbs/
chooser=textmenu
default=install
delay=20
prompt
message=${SYSDIR}elilo_menu.msg
f1=${SYSDIR}general.msg
f2=${SYSDIR}params.msg
relocatable
image=${KERNEL}
label=install
description="Install"
initrd=${INITRD}
append="--"
read-only
image=${KERNEL}
label=expert
description="Install [Expert mode]"
initrd=${INITRD}
append="priority=low --"
read-only
image=${KERNEL}
label=rescue
description="Rescue"
initrd=${INITRD}
append="rescue/enable=true --"
read-only
10
7fĴ 74Debian Installer7f 7f10
7f70 This is the Debian GNU/Linux installation system, built on ${BUILD_DATE}. 7f10
7f70 7f10
7f70 Use the arrow keys to select a menu item and then Enter to select it. 7f10
7f70 Use the function keys for help. On a serial console, use Ctrl-F and the 7f10
7f70 function key number instead. 7f10
7f70 7f10
7f70 7eBeware that this is an OS installer, and misuse can result in the loss of 7f10
7f70 7eany data currently on your disks. 7f10
7f70 707f 10
7f70 70 70 7f10
7f70 70 707f 10
7f70 70 707f 10
7f70 70 707f 10
7f70 70 707f 10
7f70 70 1e70 7f10
7f70 70 7f10
7f70 7f10
7f70 Boot: 35 70 7f10
7f70 7f10
7f70 Help: [71F170-General] [71F270-Params] 7f10
7f10
° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿ À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß
10
7fÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ 74General Screen7f ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ70¿10
7f³70 ³10
7f³70 There are two ways to install Debian from this image. Expert mode ³10
7f³70 gives you more control over the configuration of the system by ³10
7f³70 giving you the option to change configuration parameters and control ³10
7f³70 which packages are loaded. Normal mode installs the default set of ³10
7f³70 packages and automatically configures them with the default settings. ³10
7f³70 ³10
7f³70 ³10
7f³70 See the Installation Manual or the FAQ for more information; both ³10
7f³70 documents are available at the Debian web site: ³10
7f³70 http://www.debian.org/ ³10
7f³70 ³10
7f³70 ³10
7f³70 Debian GNU/Linux is Copyright (C) 1993-2014 Software in the Public ³10
7f³70 Interest and others and comes with ABSOLUTELY NO WARRANTY, to the ³10
7f³70 extent permitted by applicable law. ³10
7f³70 ³10
7f³70 ³10
7f³70 Press any key to return to main screen ³10
7f³70 ³10
7fÀ70ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ10
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
insmod gzio
10
7fĴ 74Params Screen7f 7010
7f70 10
7f70 You can enter boot parameters on the Boot: line. 10
7f70 10
7f70 For the serial console console=ttyS0,9600n8 10
7f70 10
7f70 Verbose debugging DEBCONF_DEBUG=5 10
7f70 Force static network config netcfg/disable_dhcp=true 10
7f70 10
7f70 Text mode (improves interactivity DEBIAN_FRONTEND=text 10
7f70 for slow consoles) 10
7f70 10
7f70 Rescue mode rescue/enable=true 10
7f70 10
7f70 10
7f70 10
7f70 10
7f70 10
7f70 10
7f70 10
7f70 Press any key to return to main screen 10
7f70 10
7f7010
Welcome to Debian GNU/Linux ${DEBIAN_VERSION}!
This is a Debian installation ${MEDIA_TYPE},
built on ${BUILD_DATE}.
The default option is 'install'. For maximum
control, you can use the 'expert' option.
If the system fails to boot at all (the typical
symptom is a white screen which doesn't go away),
use 'install video=ofonly' or 'expert video=ofonly'.
Press the tab key for a list of options, or type
'help' for help.
************************************
If in doubt, just choose 'install', and if that
doesn't work, try 'install video=ofonly'.
************************************
This diff is collapsed.
set default=2
set timeout=-1
insmod echo
insmod gzio
insmod minicmd
insmod normal
menuentry "Debian GNU/Linux installer boot menu" {
true
}
menuentry "" {
true
}
function boot_one {
echo "Loading ..."
linux ${KERNEL} $options --- quiet
initrd ${INITRD}
}
menuentry "Default install" {
boot_one
}
menuentry "Automated install" {
set options="auto=true priority=critical"
boot_one
}
menuentry "Expert install" {
set options="priority=low"
boot_one
}
menuentry "Rescue mode" {
set options="rescue/enable=true"
boot_one
}
# ext. xlate creator type comment
.hqx Ascii 'BnHx' 'TEXT' "BinHex file"
.sit Raw 'SIT!' 'SITD' "StuffIT Expander"
.mov Raw 'TVOD' 'MooV' "QuickTime Movie"
.deb Raw 'Debn' 'bina' "Debian package"
.bin Raw 'ddsk' 'DDim' "Floppy or ramdisk image"
.img Raw 'ddsk' 'DDim' "Floppy or ramdisk image"
.b Raw 'UNIX' 'tbxi' "bootstrap"
yaboot Raw 'UNIX' 'boot' "bootstrap"
vmlinux Raw 'UNIX' 'boot' "bootstrap"
.conf Raw 'UNIX' 'conf' "bootstrap"
* Ascii '????' '????' "Text file"
<CHRP-BOOT>
<COMPATIBLE>
MacRISC MacRISC3 MacRISC4
</COMPATIBLE>
<DESCRIPTION>
Debian GNU/Linux PowerPC first stage CDROM bootloader
</DESCRIPTION>
<BOOT-SCRIPT>
" screen" output
load-base release-load-area
boot cd:,\install\yaboot
</BOOT-SCRIPT>
</CHRP-BOOT>
## This yaboot.conf is for CD booting only, do not use as reference.
## Debian GNU/Linux PowerPC
default=install
root=/dev/ram
message=/install/boot.msg
image=/install/${TYPE}-linux
label=install
initrd=/install/${TYPE}-initrd.gz
initrd-size=${RAMDISK_SIZE}
append="--"
read-only
image=/install/${TYPE}-linux
label=expert
initrd=/install/${TYPE}-initrd.gz
initrd-size=${RAMDISK_SIZE}
append="priority=low --"
read-only
image=/install/${TYPE}-linux
label=rescue
initrd=/install/${TYPE}-initrd.gz
initrd-size=${RAMDISK_SIZE}
append="rescue/enable=true --"
read-only
image=/install/${TYPE}-linux
label=auto
initrd=/install/${TYPE}-initrd.gz
initrd-size=${RAMDISK_SIZE}
append="auto=true priority=critical --"
read-only
## This yaboot.conf is for hd-media booting only, do not use as reference.
## Debian GNU/Linux PowerPC
default=install
root=/dev/ram
message=/boot.msg
image=/vmlinux
label=install
initrd=/initrd.gz
initrd-size=${RAMDISK_SIZE}
append="--"
read-only
image=/vmlinux
label=expert
initrd=/initrd.gz
initrd-size=${RAMDISK_SIZE}
append="priority=low --"
read-only
image=/vmlinux
label=rescue
initrd=/initrd.gz
initrd-size=${RAMDISK_SIZE}
append="rescue/enable=true --"
read-only
image=/vmlinux
label=auto
initrd=/initrd.gz
initrd-size=${RAMDISK_SIZE}
append="auto=true priority=critical --"
read-only
## This yaboot.conf is for netbooting only, do not use as reference.
## Debian GNU/Linux PowerPC
default=install
root=/dev/ram
message=/boot.msg
image=/vmlinux
label=install
initrd=/initrd.gz
initrd-size=${RAMDISK_SIZE}
append="--"
read-only
image=/vmlinux
label=expert
initrd=/initrd.gz
initrd-size=${RAMDISK_SIZE}
append="priority=low --"
read-only
image=/vmlinux
label=rescue
initrd=/initrd.gz
initrd-size=${RAMDISK_SIZE}
append="rescue/enable=true --"
read-only
image=/vmlinux
label=auto
initrd=/initrd.gz
initrd-size=${RAMDISK_SIZE}
append="auto=true priority=critical --"
read-only
Welcome to Debian GNU/Linux ${DEBIAN_VERSION}!
This is a Debian installation ${MEDIA_TYPE},
built on ${BUILD_DATE}.
The default option is 'install'. For maximum
control, you can use the 'expert' option.
If the system fails to boot at all (the typical
symptom is a white screen which doesn't go away),
use 'install video=ofonly' or 'expert video=ofonly'.
Press the tab key for a list of options, or type
'help' for help.
************************************
If in doubt, just choose 'install', and if that
doesn't work, try 'install video=ofonly'.
************************************
This diff is collapsed.
set default=2
set timeout=-1
insmod echo
insmod gzio
insmod minicmd
insmod normal
menuentry "Debian GNU/Linux installer boot menu" {
true
}
menuentry "" {
true
}
function boot_one {
echo "Loading ..."
linux ${KERNEL} $options --- quiet
initrd ${INITRD}
}
menuentry "Default install" {
boot_one
}
menuentry "Automated install" {
set options="auto=true priority=critical"
boot_one
}
menuentry "Expert install" {
set options="priority=low"
boot_one
}
menuentry "Rescue mode" {
set options="rescue/enable=true"
boot_one
}
# ext. xlate creator type comment
.hqx Ascii 'BnHx' 'TEXT' "BinHex file"
.sit Raw 'SIT!' 'SITD' "StuffIT Expander"
.mov Raw 'TVOD' 'MooV' "QuickTime Movie"
.deb Raw 'Debn' 'bina' "Debian package"
.bin Raw 'ddsk' 'DDim' "Floppy or ramdisk image"
.img Raw 'ddsk' 'DDim' "Floppy or ramdisk image"
.b Raw 'UNIX' 'tbxi' "bootstrap"
yaboot Raw 'UNIX' 'boot' "bootstrap"
vmlinux Raw 'UNIX' 'boot' "bootstrap"
.conf Raw 'UNIX' 'conf' "bootstrap"
* Ascii '????' '????' "Text file"
<CHRP-BOOT>
<COMPATIBLE>
MacRISC MacRISC3 MacRISC4
</COMPATIBLE>
<DESCRIPTION>
Debian GNU/Linux PowerPC first stage CDROM bootloader
</DESCRIPTION>
<BOOT-SCRIPT>
" screen" output
load-base release-load-area
boot cd:,\install\yaboot
</BOOT-SCRIPT>
</CHRP-BOOT>
## This yaboot.conf is for CD booting only, do not use as reference.
## Debian GNU/Linux PowerPC
default=install
root=/dev/ram
message=/install/boot.msg
image=/install/${TYPE}-linux
label=install
initrd=/install/${TYPE}-initrd.gz
initrd-size=${RAMDISK_SIZE}
append="--"
read-only
image=/install/${TYPE}-linux
label=expert
initrd=/install/${TYPE}-initrd.gz
initrd-size=${RAMDISK_SIZE}
append="priority=low --"
read-only
image=/install/${TYPE}-linux
label=rescue
initrd=/install/${TYPE}-initrd.gz
initrd-size=${RAMDISK_SIZE}
append="rescue/enable=true --"
read-only
image=/install/${TYPE}-linux
label=auto
initrd=/install/${TYPE}-initrd.gz
initrd-size=${RAMDISK_SIZE}
append="auto=true priority=critical --"
read-only
## This yaboot.conf is for hd-media booting only, do not use as reference.
## Debian GNU/Linux PowerPC
default=install
root=/dev/ram
message=/boot.msg
image=/vmlinux
label=install
initrd=/initrd.gz
initrd-size=${RAMDISK_SIZE}
append="--"
read-only
image=/vmlinux
label=expert
initrd=/initrd.gz
initrd-size=${RAMDISK_SIZE}
append="priority=low --"
read-only
image=/vmlinux
label=rescue
initrd=/initrd.gz
initrd-size=${RAMDISK_SIZE}
append="rescue/enable=true --"
read-only
image=/vmlinux
label=auto
initrd=/initrd.gz
initrd-size=${RAMDISK_SIZE}
append="auto=true priority=critical --"
read-only
## This yaboot.conf is for netbooting only, do not use as reference.
## Debian GNU/Linux PowerPC
default=install
root=/dev/ram
message=/boot.msg
image=/vmlinux
label=install
initrd=/initrd.gz
initrd-size=${RAMDISK_SIZE}
append="--"
read-only
image=/vmlinux
label=expert
initrd=/initrd.gz
initrd-size=${RAMDISK_SIZE}
append="priority=low --"
read-only
image=/vmlinux
label=rescue
initrd=/initrd.gz
initrd-size=${RAMDISK_SIZE}
append="rescue/enable=true --"
read-only
image=/vmlinux
label=auto
initrd=/initrd.gz
initrd-size=${RAMDISK_SIZE}
append="auto=true priority=critical --"
read-only
include debian-installer/riscv64/menu.cfg
menu title Debian GNU/Linux installer menu
prompt 1
label install
menu label Install
menu default
linux debian-installer/riscv64/linux
initrd debian-installer/riscv64/initrd.gz
label expert
menu label Expert Install
linux debian-installer/riscv64/linux
initrd debian-installer/riscv64/initrd.gz
append priority=low
label rescue
menu label Rescue Mode
linux debian-installer/riscv64/linux
initrd debian-installer/riscv64/initrd.gz
append rescue/enable=true
Welcome to Debian GNU/Linux ${DEBIAN_VERSION}!
This is a Debian installation ${MEDIA_TYPE}, built on ${BUILD_DATE}.
Keep it once you have installed your system, as you can boot from it
to repair the system on your hard disk if that ever becomes necessary.
WARNING: You should completely back up all of your hard disks before
proceeding. The installation procedure can completely and irreversibly
erase them! If you haven't made backups yet, remove the rescue CD from
the drive and press L1-A to get back to the OpenBoot prompt.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted
by applicable law.
[ ENTER - Boot install ] [ Type "expert" - Boot into expert mode ]
[ Type "rescue" - Boot into rescue mode ]
set default=2
set timeout=-1
insmod echo
insmod gzio
insmod minicmd
insmod normal
menuentry "Debian GNU/Linux installer boot menu" {
true
}
menuentry "" {
true
}
function boot_one {
echo "Loading ..."
linux ${KERNEL} $options --- quiet
initrd ${INITRD}
}
menuentry "Default install" {
boot_one
}
menuentry "Automated install" {
set options="auto=true priority=critical"
boot_one
}
menuentry "Expert install" {
set options="priority=low"
boot_one
}
menuentry "Rescue mode" {
set options="rescue/enable=true"
boot_one
}
This subarchitecture is currently not supported by Debian.
Only 64-bit systems are supported (sparc64).
The last Debian release to support sparc32 (sun4m) was Etch (4.0).
partition=1
timeout=600
message=/boot/debian.txt
default=install
initrd=/boot/initrd.gz
read-write
# Standard boot images
image[sun4u]=/boot/vmlinuz-sparc64
label=install
image[sun4,sun4c,sun4d,sun4m]="cat /boot/notsupported.txt"
label=install
# Expert boots
image[sun4u]=/boot/vmlinuz-sparc64
label=expert
append="priority=low"
image[sun4,sun4c,sun4d,sun4m]="cat /boot/notsupported.txt"
label=expert
# Rescue boots
image[sun4u]=/boot/vmlinuz-sparc64
label=rescue
append="rescue/enable=true"
image[sun4,sun4c,sun4d,sun4m]="cat /boot/notsupported.txt"
label=rescue
# Auto install boots
image[sun4u]=/boot/vmlinuz-sparc64
label=auto
append="auto=true priority=critical"
image[sun4,sun4c,sun4d,sun4m]="cat /boot/notsupported.txt"
label=auto
Welcome to Debian GNU/Linux ${DEBIAN_VERSION}!
This is a Debian installation ${MEDIA_TYPE}, built on ${BUILD_DATE}.
Keep it once you have installed your system, as you can boot from it
to repair the system on your hard disk if that ever becomes necessary.
WARNING: You should completely back up all of your hard disks before
proceeding. The installation procedure can completely and irreversibly
erase them! If you haven't made backups yet, remove the rescue CD from
the drive and press L1-A to get back to the OpenBoot prompt.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted
by applicable law.
[ ENTER - Boot install ] [ Type "expert" - Boot into expert mode ]
[ Type "rescue" - Boot into rescue mode ]
set default=2
set timeout=-1
insmod echo
insmod gzio
insmod minicmd
insmod normal
menuentry "Debian GNU/Linux installer boot menu" {
true
}
menuentry "" {
true
}
function boot_one {
echo "Loading ..."
linux ${KERNEL} $options --- quiet
initrd ${INITRD}
}
menuentry "Default install" {
boot_one
}
menuentry "Automated install" {
set options="auto=true priority=critical"
boot_one
}
menuentry "Expert install" {
set options="priority=low"
boot_one
}
menuentry "Rescue mode" {
set options="rescue/enable=true"
boot_one
}
This subarchitecture is currently not supported by Debian.
Only 64-bit systems are supported (sparc64).
The last Debian release to support sparc32 (sun4m) was Etch (4.0).
partition=1
timeout=600
message=/boot/debian.txt
default=install
initrd=/boot/initrd.gz
read-write
# Standard boot images
image[sun4u]=/boot/vmlinuz-sparc64
label=install
image[sun4,sun4c,sun4d,sun4m]="cat /boot/notsupported.txt"
label=install
# Expert boots
image[sun4u]=/boot/vmlinuz-sparc64
label=expert
append="priority=low"
image[sun4,sun4c,sun4d,sun4m]="cat /boot/notsupported.txt"
label=expert
# Rescue boots
image[sun4u]=/boot/vmlinuz-sparc64
label=rescue
append="rescue/enable=true"
image[sun4,sun4c,sun4d,sun4m]="cat /boot/notsupported.txt"
label=rescue
# Auto install boots
image[sun4u]=/boot/vmlinuz-sparc64
label=auto
append="auto=true priority=critical"
image[sun4,sun4c,sun4d,sun4m]="cat /boot/notsupported.txt"
label=auto
 0fPREREQUISITES FOR INSTALLING DEBIAN07 09F207
You must have at least 105 megabytes of RAM to use this Debian installer.
You must have at least 170 megabytes of RAM to use this Debian installer.
You should have space on your hard disk to create a new disk partition
of at least 780 megabytes to install the base system. You'll need more
of at least 850 megabytes to install the base system. You'll need more
disk space to install additional packages, depending on what you wish
to do with your new Debian system.
......
......@@ -12,7 +12,7 @@ Set keyboard map 0fbootkbd=es07
Select the desktop 0fdesktop=kde07
Accessibility options (last 2 options not available for all images):
Use high contrast theme 0ftheme=dark07
Use dark contrast theme 0ftheme=dark07
Use Braille tty 0fbrltty=driver,device,texttable07
Use Speakup 0fspeakup.synth=driver07
......
......@@ -18,8 +18,8 @@ menu begin advanced
include ${SYSDIR}adspk.cfg
menu end
menu begin dark
menu label ^Dark theme installer menu
menu title Dark theme option
menu label Accessible ^dark contrast installer menu
menu title Accessible dark contrast option
include ${SYSDIR}drkmenu.cfg
label mainmenu
menu label ^Back..
......
......@@ -19,7 +19,7 @@ menu begin advanced
include ${SYSDIR}x86adspk.cfg
menu end
menu begin dark
menu label ^Dark theme option
menu label Accessible ^dark contrast option
include ${SYSDIR}x86drkm.cfg
menu end
label help
......
menu title Dark theme i386 installer menu
menu title Accessible dark contrast i386 installer menu
include ${SYSDIR}drkmenu.cfg
label mainmenu
menu label ^Back..
......
......@@ -18,8 +18,11 @@ SYSLINUX_CFG=standard
VIDEO_MODE="vga=788"
VIDEO_MODE_GTK="vga=788"
# Configuration for generating EFI images
GRUB_EFI=y
GRUB_PLATFORM=x86_64-efi
GRUB_EFI_NAME=x64
# We have support for UEFI Secure Boot on this arch
EFI_SIGNED=y
include config/x86.cfg
......@@ -7,7 +7,7 @@ GRUB_FONT = /usr/share/grub/ascii.pf2
.PHONY: arm_grub_efi
arm_grub_efi:
ifeq ($(GRUB_EFI),y)
efi-image $(TEMP_GRUB_EFI) $(GRUB_PLATFORM) $(GRUB_EFI_NAME) $(NETBOOT_PATH)
efi-image $(TEMP_GRUB_EFI) $(GRUB_PLATFORM) $(GRUB_EFI_NAME) $(NETBOOT_PATH) $(EFI_SIGNED)
endif
# Supply GRUB EFI configuration.
......
......@@ -5,9 +5,12 @@ KERNELMAJOR = 2.6
KERNELVERSION = $(LINUX_KERNEL_ABI)-arm64
KERNELNAME = vmlinuz
# Configuration for generating EFI images
GRUB_EFI=y
GRUB_PLATFORM=arm64-efi
GRUB_EFI_NAME=aa64
# We have support for UEFI Secure Boot on this arch
EFI_SIGNED=y
arch_boot_screens:
arch_tree:
......
MEDIA_TYPE = netboot image
NETBOOT_DIR_TARGETS = $(TEMP_INITRD) $(TEMP_KERNEL)
TARGET = $(NETBOOT_DIR) $(NETBOOT_TAR) $(MINIISO)
TARGET = $(NETBOOT_DIR) $(NETBOOT_TAR) $(MINIISO) netboot_images_concatenateable
EXTRANAME = $(MEDIUM)/
MANIFEST-NETBOOT_DIR = "PXE boot directory for tftp server"
MANIFEST-NETBOOT_TAR = "tarball of PXE boot directory"
MANIFEST-MINIISO = "tiny CD image that boots the netboot installer"
IMAGE_SIZE = 100000
.PHONY: netboot_images_concatenateable
netboot_images_concatenateable: $(TEMP_KERNEL) $(TEMP_INITRD) $(TEMP_DTBS)
-rm -rf $(TEMP)/netboot_images_concatenateable
mkdir $(TEMP)/netboot_images_concatenateable
cp $(TEMP_KERNEL) $(TEMP)/netboot_images_concatenateable/vmlinuz
cp $(TEMP_INITRD) $(TEMP)/netboot_images_concatenateable/initrd.gz
mkdir $(TEMP)/netboot_images_concatenateable/extlinux
cp boot/arm64/extlinux/extlinux.conf $(TEMP)/netboot_images_concatenateable/extlinux/
cp -r $(TEMP_DTBS) $(TEMP)/netboot_images_concatenateable/dtbs/
cp boot/README.device-tree $(TEMP)/netboot_images_concatenateable/dtbs/README
mkdir -p $(SOME_DEST)/$(EXTRANAME)/SD-card-images/$(CONCATENATEABLE_SUFFIX)
for target in a64-olinuxino nanopi_neo2 orangepi_zero_plus2 pine64_plus pinebook teres_i ; do \
echo "Providing u-boot binaries for $$target ..." ; \
gen-hd-image -v -s "$(IMAGE_SIZE)" -b firmware -o $(SOME_DEST)/$(EXTRANAME)/SD-card-images/$(CONCATENATEABLE_SUFFIX)/firmware.$${target}.img ; \
TARGET=/usr/lib/u-boot/$${target} u-boot-install-sunxi64 $(SOME_DEST)/$(EXTRANAME)/SD-card-images/$(CONCATENATEABLE_SUFFIX)/firmware.$${target}.img ; \
gzip -9n $(SOME_DEST)/$(EXTRANAME)/SD-card-images/$(CONCATENATEABLE_SUFFIX)/firmware.$${target}.img ; \
done
gen-hd-image -v -z -b firmware -s "$(IMAGE_SIZE)" -o "$(SOME_DEST)/$(EXTRANAME)/SD-card-images/$(CONCATENATEABLE_SUFFIX)/firmware.none.img"
gen-hd-image -v -z -b partition -s "$(IMAGE_SIZE)" -i "$(TEMP)/netboot_images_concatenateable" -o "$(SOME_DEST)/$(EXTRANAME)/SD-card-images/$(CONCATENATEABLE_SUFFIX)/partition.img"
cp boot/README.concatenateable_images "$(SOME_DEST)/$(EXTRANAME)/SD-card-images/$(CONCATENATEABLE_SUFFIX)/"
......@@ -6,7 +6,7 @@ EXTRANAME = $(MEDIUM)/
.PHONY: u-boot-binaries
u-boot-binaries:
mkdir -p $(SOME_DEST)/$(EXTRANAME)/
for target in pine64_plus pinebook ; do \
for target in a64-olinuxino nanopi_neo2 orangepi_zero_plus2 pine64_plus pinebook teres_i ; do \
echo "Providing u-boot binaries for $$target ..." ; \
gen-hd-image -v -b firmware -o $(SOME_DEST)/$(EXTRANAME)/$${target}.img ; \
TARGET=/usr/lib/u-boot/$${target} u-boot-install-sunxi64 $(SOME_DEST)/$(EXTRANAME)/$${target}.img ; \
......
MEDIA_TYPE = netboot image (SSH)
TARGET = $(TEMP_INITRD) $(TEMP_KERNEL) dns-320 ts21x ts41x lacie lschlv2 lsqvl lsvl lswsxl lswvl lswxl lsxhl
TARGET = $(TEMP_INITRD) $(TEMP_KERNEL) dns-320 lacie lschlv2 lsqvl lsvl lswsxl lswvl lswxl lsxhl
EXTRANAME = $(MEDIUM)/
TYPE = netboot/network-console
......@@ -19,39 +19,6 @@ dns-320:
mkdns323fw -k $(TEMP)/dns-320/kernel.uboot -i $(TEMP)/dns-320/initrd.uboot -t DNS-320 -o $(SOME_DEST)/$(EXTRANAME)d-link/dns-320/netboot.img
update-manifest $(SOME_DEST)/$(EXTRANAME)d-link/dns-320/netboot.img "installer image (dlink firmware) for D-Link DNS-320"
# QNAP TS-11x/TS-21x/HS-21x
ts21x: $(TEMP_INITRD_XZ)
mkdir -p $(SOME_DEST)/$(EXTRANAME)qnap/ts-21x
echo "TS-11x/TS-21x" > $(SOME_DEST)/$(EXTRANAME)qnap/ts-21x/model
cat $(TEMP_KERNEL) $(TEMP_DTBS)/kirkwood-ts219-6281.dtb > $(TEMP)/vmlinuz-ts219-6281
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n "Debian kernel" -d $(TEMP)/vmlinuz-ts219-6281 $(SOME_DEST)/$(EXTRANAME)qnap/ts-21x/kernel-6281
update-manifest $(SOME_DEST)/$(EXTRANAME)qnap/ts-21x/kernel-6281 "Linux kernel for QNAP TS-11x/TS-21x/HS-21x (MV88F6281 CPU)"
cat $(TEMP_KERNEL) $(TEMP_DTBS)/kirkwood-ts219-6282.dtb > $(TEMP)/vmlinuz-ts219-6282
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n "Debian kernel" -d $(TEMP)/vmlinuz-ts219-6282 $(SOME_DEST)/$(EXTRANAME)qnap/ts-21x/kernel-6282
update-manifest $(SOME_DEST)/$(EXTRANAME)qnap/ts-21x/kernel-6282 "Linux kernel for QNAP TS-11x/TS-21x/HS-21x (MV88F6282 CPU)"
cp $(TEMP_INITRD_XZ) $(SOME_DEST)/$(EXTRANAME)qnap/ts-21x/initrd
util/pad $(SOME_DEST)/$(EXTRANAME)qnap/ts-21x/initrd 9437184
update-manifest $(SOME_DEST)/$(EXTRANAME)qnap/ts-21x/initrd "initrd for QNAP TS-11x/TS-21x/HS-21x"
install -m 744 boot/arm/qnap-flash-debian $(SOME_DEST)/$(EXTRANAME)qnap/ts-21x/flash-debian
update-manifest $(SOME_DEST)/$(EXTRANAME)qnap/ts-21x/flash-debian "Script to flash debian-installer"
ln -s ts-21x $(SOME_DEST)/$(EXTRANAME)qnap/ts-11x
# QNAP TS-41x/TS-42x
ts41x: $(TEMP_INITRD_XZ)
mkdir -p $(SOME_DEST)/$(EXTRANAME)qnap/ts-41x
echo "TS-41x" > $(SOME_DEST)/$(EXTRANAME)qnap/ts-41x/model
cat $(TEMP_KERNEL) $(TEMP_DTBS)/kirkwood-ts419-6281.dtb > $(TEMP)/vmlinuz-ts419-6281
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n "Debian kernel" -d $(TEMP)/vmlinuz-ts419-6281 $(SOME_DEST)/$(EXTRANAME)qnap/ts-41x/kernel-6281
update-manifest $(SOME_DEST)/$(EXTRANAME)qnap/ts-41x/kernel-6281 "Linux kernel for QNAP TS-41x/TS-42x (MV88F6281 CPU)"
cat $(TEMP_KERNEL) $(TEMP_DTBS)/kirkwood-ts419-6282.dtb > $(TEMP)/vmlinuz-ts419-6282
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n "Debian kernel" -d $(TEMP)/vmlinuz-ts419-6282 $(SOME_DEST)/$(EXTRANAME)qnap/ts-41x/kernel-6282
update-manifest $(SOME_DEST)/$(EXTRANAME)qnap/ts-41x/kernel-6282 "Linux kernel for QNAP TS-41x/TS-42x (MV88F6282 CPU)"
cp $(TEMP_INITRD_XZ) $(SOME_DEST)/$(EXTRANAME)qnap/ts-41x/initrd
util/pad $(SOME_DEST)/$(EXTRANAME)qnap/ts-41x/initrd 9437184
install -m 744 boot/arm/qnap-flash-debian $(SOME_DEST)/$(EXTRANAME)qnap/ts-41x/flash-debian
update-manifest $(SOME_DEST)/$(EXTRANAME)qnap/ts-41x/initrd "initrd for QNAP TS-41x/TS-42x"
update-manifest $(SOME_DEST)/$(EXTRANAME)qnap/ts-41x/flash-debian "Script to flash debian-installer"
# LaCie NAS series: Network Space v2 (and parents), d2 Network v2 and *Big Network v2
lacie:
mkdir -p $(SOME_DEST)/$(EXTRANAME)lacie
......
MEDIA_TYPE = netboot image
TARGET = $(TEMP_INITRD) $(TEMP_KERNEL) kuroboxpro lschl lsgl lswsgl lswtgl mv2120
TARGET = $(TEMP_INITRD) $(TEMP_KERNEL) kuroboxpro lschl lsgl lswsgl lswtgl
EXTRANAME = $(MEDIUM)/
TYPE = netboot/network-console
......@@ -63,16 +63,3 @@ lsgl: lschl
update-manifest $(SOME_DEST)/$(EXTRANAME)buffalo/lspro_ls-gl/config-debian "Script to run debian-installer"
update-manifest $(SOME_DEST)/$(EXTRANAME)buffalo/lspro_ls-gl/uImage.buffalo "Linux kernel for Linkstation Pro/Live (LS-GL)"
update-manifest $(SOME_DEST)/$(EXTRANAME)buffalo/lspro_ls-gl/initrd.buffalo "initrd for Linkstation Pro/Live (LS-GL)"
# HP Media Vault mv2120
mv2120:
mkdir -p $(SOME_DEST)/$(EXTRANAME)hp/mv2120
mkdir -p $(TEMP)/mv2120
# Set machine id 1693 (0x069d)
devio > $(TEMP)/mv2120/kernel 'wl 0xe3a01c06,4' 'wl 0xe381109d,4'
cat $(TEMP_KERNEL) >> $(TEMP)/mv2120/kernel
mkimage -A arm -O linux -T kernel -C none -e 0x01600000 -a 0x01600000 -n "Debian kernel" -d $(TEMP)/mv2120/kernel $(TEMP)/mv2120/kernel.uboot
util/pad $(TEMP)/mv2120/kernel.uboot 2097152 # 2 MB
mkimage -A arm -O linux -T ramdisk -C none -n "Debian installer" -d $(TEMP_INITRD) $(TEMP)/mv2120/initrd.uboot
cat $(TEMP)/mv2120/kernel.uboot $(TEMP)/mv2120/initrd.uboot > $(SOME_DEST)/$(EXTRANAME)hp/mv2120/netboot.img
update-manifest $(SOME_DEST)/$(EXTRANAME)hp/mv2120/netboot.img "installer image for HP Media Vault mv2120/mv51x0"
......@@ -7,9 +7,12 @@ KERNELMAJOR = 2.6
KERNELVERSION = $(LINUX_KERNEL_ABI)-armmp
KERNELNAME = vmlinuz
# Configuration for generating EFI images
GRUB_EFI=y
GRUB_PLATFORM=arm-efi
GRUB_EFI_NAME=arm
# We do *NOT* have support for UEFI Secure Boot on this arch
EFI_SIGNED=n
arch_boot_screens:
arch_tree:
......
......@@ -15,14 +15,14 @@ u-boot-binaries:
echo "Providing u-boot binaries for $$1 ..."; \
cp "$$2" "$(SOME_DEST)/$(EXTRANAME)/$$1/"; \
dd 2>/dev/null if="$$2" of="$(SOME_DEST)/$(EXTRANAME)/$$1/$$1.sdcard.img" bs=512 seek="$$3"; \
gzip -9 "$(SOME_DEST)/$(EXTRANAME)/$$1/$$(basename $$2)"; \
gzip -9 -n "$(SOME_DEST)/$(EXTRANAME)/$$1/$$(basename $$2)"; \
fi; \
if [ -n "$$4" ]; then \
cp "$$4" "$(SOME_DEST)/$(EXTRANAME)/$$1/"; \
dd 2>/dev/null if="$$4" of="$(SOME_DEST)/$(EXTRANAME)/$$1/$$1.sdcard.img" bs=512 seek="$$5" conv=notrunc; \
gzip -9 "$(SOME_DEST)/$(EXTRANAME)/$$1/$$(basename $$4)"; \
gzip -9 -n "$(SOME_DEST)/$(EXTRANAME)/$$1/$$(basename $$4)"; \
fi; \
gzip -9 "$(SOME_DEST)/$(EXTRANAME)/$$1/$$1.sdcard.img"; \
gzip -9 -n "$(SOME_DEST)/$(EXTRANAME)/$$1/$$1.sdcard.img"; \
update-manifest "$(SOME_DEST)/$(EXTRANAME)$$1" "u-boot image for $$1"; \
fi ;\
done < boot/arm/u-boot-image-config
......@@ -11,7 +11,7 @@
# Default kernel ABI version to use. Append a kernel flavour to
# produce KERNELVERSION.
LINUX_KERNEL_ABI ?= 4.19.0-4
LINUX_KERNEL_ABI ?= 5.2.0-3
# Always "di" these days
KERNEL_FLAVOUR ?= di
......
......@@ -10,4 +10,8 @@ KERNELNAME = gnumach.gz ext2fs.static exec.static
# The codename of the Debian release that should be installed by default.
DEBIAN_RELEASE = unstable
KEYRING = /usr/share/keyrings/debian-ports-archive-keyring.gpg
USE_UNRELEASED = 1
include config/hurd.cfg
......@@ -20,7 +20,7 @@ define genext2fs
endef
# The image to use for a syslinux splash screen.
SPLASH_PNG=boot/hurd/pics/softwaves-hurd.png
SPLASH_PNG=boot/x86/pics/futurePrototype.png
SPLASH_SVG=$(patsubst %.png,%.svg,$(SPLASH_PNG))
# The font to load in GRUB
......
......@@ -20,8 +20,11 @@ SYSLINUX_CFG=standard
VIDEO_MODE="vga=788"
VIDEO_MODE_GTK="vga=788"
# Configuration for generating EFI images
GRUB_EFI=y
GRUB_PLATFORM=i386-efi
GRUB_EFI_NAME=ia32
# We have support for UEFI Secure Boot on this arch
EFI_SIGNED=y
include config/x86.cfg
# How big a floppy image should I make? (in kilobytes)
FLOPPY_SIZE = 32768
MEDIUM_SUPPORTED = cdrom netboot
# The version of the kernel to use.
......@@ -12,86 +9,97 @@ DEBIAN_RELEASE = unstable
KEYRING = /usr/share/keyrings/debian-ports-archive-keyring.gpg
INITRD_FS = initramfs
# Configuration for generating EFI images
GRUB_EFI=y
GRUB_PLATFORM=ia64-efi
GRUB_EFI_NAME=ia64
# We do *NOT* have support for UEFI Secure Boot on this arch
EFI_SIGNED=n
# The DOS volume id to use for DOS floppies. This is a 32 bit hexidecimal
# number.
DOS_VOLUME_ID = deb00001
# The DOS volume label to use for DOS floppies. This is a 11 character
# string.
DOS_VOLUME_LABEL = "Debian Inst"
arch_boot_screens:
arch_tree:
# The font to load in GRUB
GRUB_FONT = /usr/share/grub/ascii.pf2
arch_tree:
# Extract GRUB EFI files.
.PHONY: ia64_grub_efi
ia64_grub_efi:
ifeq ($(GRUB_EFI),y)
efi-image $(TEMP_GRUB_EFI) $(GRUB_PLATFORM) $(GRUB_EFI_NAME) $(NETBOOT_PATH) $(EFI_SIGNED)
endif
# Create a bootable floppy image.
# 1. make a dos filesystem image
# 2. copy over kernel, initrd
# 3. copy over elilo files
.PHONY: arch_boot
arch_boot:
dd if=/dev/zero of=$@.new bs=1k count=$(FLOPPY_SIZE)
mkfs.msdos --invariant -i $(DOS_VOLUME_ID) -n $(DOS_VOLUME_LABEL) -C $(TEMP_BOOT) $(FLOPPY_SIZE)
mmd -i$(TEMP_BOOT) ::/efi
mmd -i$(TEMP_BOOT) ::/efi/boot
mcopy -i$(TEMP_BOOT) $(TEMP_KERNEL) ::/linux
mcopy -i$(TEMP_BOOT) $(TEMP_INITRD) ::/initrd.gz
mcopy -i$(TEMP_BOOT) /usr/lib/elilo/elilo.efi ::/efi/boot/bootia64.efi
mcopy -i$(TEMP_BOOT) /usr/lib/elilo/elilo.efi ::/elilo.efi
cat boot/ia64/elilo.conf \
| ramdisk-size-subst $(TEMP_INITRD) \
| bootvars-subst MEDIA_TYPE "$(MEDIA_TYPE)" \
DEBIAN_VERSION "$(DEBIAN_VERSION)" \
BUILD_DATE "$(BUILD_DATE)" \
SYSDIR "/efi/boot/" \
KERNEL /linux INITRD /initrd.gz \
> $(TEMP)/elilo-cd.conf
mcopy -i$(TEMP_BOOT) $(TEMP)/elilo-cd.conf ::/elilo.conf
mcopy -i$(TEMP_BOOT) $(TEMP)/elilo-cd.conf ::/efi/boot/elilo.conf
$(foreach file,$(sort $(wildcard $(TEMP_BOOT_SCREENS)/*.msg)), \
mcopy -i$(TEMP_BOOT) $(file) ::/efi/boot/`basename $(file)`; \
)
echo "elilo linux" | mcopy -i$(TEMP_BOOT) - ::/install.nsh
# Supply GRUB EFI configuration.
.PHONY: arch_cd_info_dir
arch_cd_info_dir: ia64_grub_efi
-rm -f $(TEMP_CD_INFO_DIR)/*
mkdir -p $(TEMP_CD_INFO_DIR)
arch_boot_screens:
-rm -f $(TEMP_BOOT_SCREENS)/*
mkdir -p $(TEMP_BOOT_SCREENS)
$(foreach SCREEN,$(wildcard boot/ia64/*.msg), \
bootvars-subst MEDIA_TYPE "$(MEDIA_TYPE)" \
DEBIAN_VERSION "$(DEBIAN_VERSION)" \
BUILD_DATE "$(BUILD_DATE)" \
< $(SCREEN) > $(TEMP_BOOT_SCREENS)/`basename $(SCREEN)`\
;)
if [ "$(GRUB_EFI)" = y ]; then \
set -e; \
mkdir -p $(TEMP_CD_INFO_DIR)/grub/$(GRUB_PLATFORM); \
cp -a $(TEMP_GRUB_EFI)/efi.img $(TEMP_CD_INFO_DIR)/grub/; \
grub-gencfg \
KERNEL /%install%/vmlinuz \
INITRD /%install%/initrd.gz \
HEADER boot/$(ARCH)/grub/grub-efi.cfg \
> $(TEMP_CD_INFO_DIR)/grub/grub.cfg; \
cp -a $(GRUB_FONT) $(TEMP_CD_INFO_DIR)/grub/font.pf2; \
cp -a $(TEMP_GRUB_EFI)/boot/grub/$(GRUB_PLATFORM)/* \
$(TEMP_CD_INFO_DIR)/grub/$(GRUB_PLATFORM)/; \
fi
.PHONY: arch_miniiso
arch_miniiso: $(TEMP_BOOT)
-rm -rf $(TEMP_CD_TREE)/*
install -m 644 -D $(TEMP_BOOT) $(TEMP_CD_TREE)/boot/boot.img
arch_miniiso: ia64_grub_efi
-rm -f $(TEMP_CD_TREE)/*
mkdir -p $(TEMP_CD_TREE)
genisoimage -no-emul-boot -J -o $(TEMP_MINIISO) -b boot/boot.img \
-c boot/boot.catalog $(TEMP_CD_TREE)
ln -f $(TEMP_KERNEL) $(TEMP_CD_TREE)/linux
ln -f $(TEMP_INITRD) $(TEMP_CD_TREE)/initrd.gz
mkdir -p $(TEMP_CD_TREE)/.disk
echo "Debian GNU/Linux $(DEBIAN_VERSION) $(ARCH) - netboot mini.iso $(BUILD_DATE)"\
> $(TEMP_CD_TREE)/.disk/info
if [ "$(GRUB_EFI)" = y ]; then \
set -e; \
mkdir -p $(TEMP_CD_TREE)/boot/grub/$(GRUB_PLATFORM); \
cp -a $(TEMP_GRUB_EFI)/efi.img $(TEMP_CD_TREE)/boot/grub/; \
grub-gencfg \
KERNEL /linux \
INITRD /initrd.gz \
HEADER boot/$(ARCH)/grub/grub-efi.cfg \
> $(TEMP_CD_TREE)/boot/grub/grub.cfg; \
cp -a $(GRUB_FONT) $(TEMP_CD_TREE)/boot/grub/font.pf2; \
cp -a $(TEMP_GRUB_EFI)/boot/grub/$(GRUB_PLATFORM)/* \
$(TEMP_CD_TREE)/boot/grub/$(GRUB_PLATFORM)/; \
fi
if [ "$(GRUB_EFI)" = y ]; then \
xorriso -as mkisofs -r -J -c boot.cat \
-boot-load-size 4 -boot-info-table \
-eltorito-alt-boot \
--efi-boot boot/grub/efi.img -no-emul-boot \
-o $(TEMP_MINIISO) $(TEMP_CD_TREE); \
fi
.PHONY: arch_netboot_dir
arch_netboot_dir:
arch_netboot_dir: ia64_grub_efi
-rm -f $(TEMP_NETBOOT_DIR)
mkdir -p $(TEMP_NETBOOT_DIR)/$(NETBOOT_PATH)
cp $(TEMP_INITRD) $(TEMP_KERNEL) $(TEMP_NETBOOT_DIR)/$(NETBOOT_PATH)
cp /usr/lib/elilo/elilo.efi $(TEMP_NETBOOT_DIR)/$(NETBOOT_PATH)
cat boot/ia64/elilo.conf \
| ramdisk-size-subst $(TEMP_INITRD) \
| bootvars-subst MEDIA_TYPE "$(MEDIA_TYPE)" \
DEBIAN_VERSION "$(DEBIAN_VERSION)" \
BUILD_DATE "$(BUILD_DATE)" \
SYSDIR "$(BOOT_SCREEN_DIR)" \
KERNEL vmlinuz INITRD initrd.gz \
> $(TEMP_NETBOOT_DIR)/$(NETBOOT_PATH)/elilo.conf
mkdir -p $(TEMP_NETBOOT_DIR)/$(NETBOOT_PATH)/$(BOOT_SCREEN_DIR)
set -e; \
$(foreach file,$(wildcard $(TEMP_BOOT_SCREENS)/*.msg), \
cp $(file) $(TEMP_NETBOOT_DIR)/$(NETBOOT_PATH)/$(BOOT_SCREEN_DIR); \
)
cp $(TEMP_KERNEL) $(TEMP_NETBOOT_DIR)/$(NETBOOT_PATH)/linux
cp $(TEMP_INITRD) $(TEMP_NETBOOT_DIR)/$(NETBOOT_PATH)/initrd.gz
if [ "$(GRUB_EFI)" = y ]; then \
set -e; \
mkdir -p $(TEMP_NETBOOT_DIR)/$(NETBOOT_PATH)/grub/$(GRUB_PLATFORM); \
cp -a $(TEMP_GRUB_EFI)/*.efi $(TEMP_NETBOOT_DIR)/$(NETBOOT_PATH); \
cp -a $(GRUB_FONT) $(TEMP_NETBOOT_DIR)/$(NETBOOT_PATH)/grub/font.pf2; \
cp -a $(TEMP_GRUB_EFI)/boot/grub/$(GRUB_PLATFORM)/* \
$(TEMP_NETBOOT_DIR)/$(NETBOOT_PATH)/grub/$(GRUB_PLATFORM)/; \
grub-gencfg \
KERNEL /$(NETBOOT_PATH)/linux \
INITRD /$(NETBOOT_PATH)/initrd.gz \
HEADER boot/$(ARCH)/grub/grub-efi.cfg \
> $(TEMP_NETBOOT_DIR)/$(NETBOOT_PATH)/grub/grub.cfg; \
fi
MEDIA_TYPE = CD-ROM
TARGET = $(KERNEL) $(INITRD) $(BOOT)
TARGET = $(INITRD) $(KERNEL) $(DEBIAN_CD_INFO)
EXTRANAME = $(MEDIUM)/
MANIFEST-KERNEL = "kernel for use to build a CD"
MANIFEST-INITRD = "initrd for use to build a CD"
MANIFEST-BOOT = "CDROM image for Itanium systems"
MANIFEST-KERNEL = "kernel for use with mkisofs to build a CD"
MANIFEST-INITRD = "initrd for use with mkisofs to build a CD"
MANIFEST-DEBIAN_CD_INFO = "mkisofs config files for CD"
MEDIA_TYPE = netboot image
NETBOOT_DIR_TARGETS := $(TEMP_INITRD) $(TEMP_KERNEL)
NETBOOT_DIR_TARGETS = $(TEMP_INITRD) $(TEMP_KERNEL)
TARGET = $(NETBOOT_DIR) $(NETBOOT_TAR) $(MINIISO)
EXTRANAME = $(MEDIUM)/
BOOT_SCREEN_DIR = boot-screens/
MANIFEST-NETBOOT_DIR = "netboot directory for tftp server"
MANIFEST-NETBOOT_TAR = "tarball of netboot directory"
MANIFEST-MINIISO = "tiny CD image that boots the netboot installer"
MANIFEST-NETBOOT_DIR = "boot directory for tftp server"
MANIFEST-NETBOOT_TAR = "tarball of boot directory"
......@@ -5,7 +5,7 @@ DEBIAN_RELEASE = unstable
INITRD_FS = ufs1
# The image to use for a syslinux splash screen.
SPLASH_PNG=boot/kfreebsd/pics/softwaves-kbsd.png
SPLASH_PNG=boot/x86/pics/futurePrototype.png
SPLASH_SVG=$(patsubst %.png,%.svg,$(SPLASH_PNG))
# The font to load in GRUB
......
SUBARCH_SUPPORTED = powerpc powerpc64 # apus prep
MEDIUM_SUPPORTED = cdrom netboot
KERNELMAJOR = 2.6
BASEVERSION = $(LINUX_KERNEL_ABI)
KERNELVERSION = $(BASEVERSION)-powerpc
KERNELNAME = vmlinux
GRUB_CFG_CDROM = boot/powerpc/grub-cdrom.cfg
DEBIAN_RELEASE = unstable
KEYRING = /usr/share/keyrings/debian-ports-archive-keyring.gpg
# create the kernels with builtin initrd.
builtin_initrd: $(TEMP_KERNEL) $(TEMP_INITRD)
for subarch in $(SUBARCHES); do \
rm -f $(DEST)/vmlinuz-$$subarch.initrd; \
mkvmlinuz -v \
-a $$subarch \
-r $(KERNELVERSION) \
-k $(TEMP_KERNEL) \
-z -i $(TEMP_INITRD) \
-d $(TEMP)/lib \
-o $(DEST)/vmlinuz-$$subarch.initrd; \
done
# cd content for powerpc, includes yaboot for booting
# apple powerpc (newworld) computers
cd_content_common:
mkdir -p $(TEMP_CD_TREE)/$(dir install/$(TYPE))
cp $(TEMP_KERNEL) $(TEMP_CD_TREE)/install/$(TYPE)-linux
ln -f $(TEMP_INITRD) $(TEMP_CD_TREE)/install/$(TYPE)-initrd.gz
# New-world bootability
cp -f boot/powerpc/ofboot.b $(TEMP_CD_TREE)/install/
cp -f /usr/lib/yaboot/yaboot $(TEMP_CD_TREE)/install/
bootvars-subst MEDIA_TYPE "${MEDIA_TYPE}" \
DEBIAN_VERSION "${DEBIAN_VERSION}" \
BUILD_DATE "${BUILD_DATE}" \
< boot/powerpc/boot.msg > $(TEMP_CD_TREE)/install/boot.msg
ramdisk-size-subst $(TEMP_INITRD) \
< boot/powerpc/yaboot.conf \
| sed 's,\$${TYPE},$(TYPE),g' \
> $(TEMP_CD_TREE)/install/yaboot.conf
# CHRP bootability
mkdir -p $(TEMP_CD_TREE)/etc
mkdir -p $(TEMP_CD_TREE)/ppc/chrp
cp -f $(TEMP_CD_TREE)/install/yaboot.conf $(TEMP_CD_TREE)/etc
cp -f boot/powerpc/bootinfo.txt $(TEMP_CD_TREE)/ppc
# Adds yaboot to netboot dirs.
netboot_content_common:
cp -f /usr/lib/yaboot/yaboot $(DEST)
bootvars-subst MEDIA_TYPE "${MEDIA_TYPE}" \
DEBIAN_VERSION "${DEBIAN_VERSION}" \
BUILD_DATE "${BUILD_DATE}" \
< boot/powerpc/boot.msg > $(DEST)/boot.msg
ramdisk-size-subst $(TEMP_INITRD) \
< boot/powerpc/yaboot.conf.netboot \
| sed 's,\$${TYPE},$(TYPE),g' \
> $(DEST)/yaboot.conf
# creates a bootable cd image for powerpc
arch_miniiso_common: cd_content_common
genisoimage -r -T --netatalk -chrp-boot -hfs -probe -map boot/powerpc/hfs.map -part -no-desktop -hfs-bless $(TEMP_CD_TREE)/install -hfs-volid Debian-Installer/PPC -o $(TEMP_MINIISO) $(TEMP_CD_TREE)
# creates a bootable HFS filesystem, used for USB sticks
hd_media_common: $(TEMP_KERNEL) $(TEMP_INITRD)
mkdir -p $(dir $(TEMP_BOOT))
: | dd of=$(TEMP_BOOT) bs=1024 seek=$(FLOPPY_SIZE)
HOME=$(TEMP) hformat -l $(DISK_LABEL) $(TEMP_BOOT)
HOME=$(TEMP) hmount $(TEMP_BOOT)
HOME=$(TEMP) hcopy -r $(TEMP_KERNEL) :vmlinux
HOME=$(TEMP) hcopy -r $(TEMP_INITRD) :initrd.gz
cp -a /usr/lib/yaboot/yaboot $(TEMP)/yaboot # used later
HOME=$(TEMP) hcopy -r $(TEMP)/yaboot :yaboot
HOME=$(TEMP) hattrib -c UNIX -t tbxi :yaboot
bootvars-subst MEDIA_TYPE "${MEDIA_TYPE}" \
DEBIAN_VERSION "${DEBIAN_VERSION}" \
BUILD_DATE "${BUILD_DATE}" \
< boot/powerpc/boot.msg > $(TEMP)/boot.msg
ramdisk-size-subst $(TEMP_INITRD) \
< boot/powerpc/yaboot.conf.hd-media \
> $(TEMP)/yaboot.conf
HOME=$(TEMP) hcopy -r $(TEMP)/boot.msg :boot.msg
HOME=$(TEMP) hcopy -r $(TEMP)/yaboot.conf :yaboot.conf
HOME=$(TEMP) hattrib -b :
HOME=$(TEMP) humount
rm -f $(TEMP)/.hcwd # clean up after hfsutils
$(if $(GZIPPED),gzip -v9f $(TEMP_BOOT))
# GRUB modules
GRUB_MODULES = echo gzio linux minicmd normal
GRUB_MODULES_CDROM = iso9660
arch_boot_screens:
arch_tree:
# Miniature CD image using GRUB, with only an initrd, no udebs or debs.
.PHONY: arch_miniiso
arch_miniiso: $(TEMP_INITRD) $(TEMP_KERNEL) $(TREE)
-rm -f $(TEMP_CD_TREE)/*
mkdir -p $(TEMP_CD_TREE)/boot/grub/powerpc-ieee1275 \
$(TEMP_CD_TREE)/ppc/chrp \
$(TEMP_CD_TREE)/install
cp $(TEMP_KERNEL) $(TEMP_CD_TREE)/install/vmlinux
cp $(TEMP_INITRD) $(TEMP_CD_TREE)/install/initrd.gz
cp -a /usr/lib/grub/powerpc-ieee1275 $(TEMP_CD_TREE)/boot/grub
bootvars-subst \
KERNEL /install/vmlinux \
INITRD /install/initrd.gz \
< $(GRUB_CFG_CDROM) > $(TEMP_CD_TREE)/boot/grub/grub.cfg
cp -p /usr/lib/grub/powerpc-ieee1275/bootinfo.txt \
$(TEMP_CD_TREE)/ppc/
grub-mkrescue --output=$(TEMP_MINIISO) $(TEMP_CD_TREE)
# genisoimage CD info directory, including GRUB and configuration files.
.PHONY: arch_cd_info_dir
arch_cd_info_dir:
rm -rf $(TEMP_CD_INFO_DIR)
mkdir -p $(TEMP_CD_INFO_DIR)/boot/grub/powerpc-ieee1275 \
$(TEMP_CD_INFO_DIR)/ppc/chrp
cp -a /usr/lib/grub/powerpc-ieee1275 $(TEMP_CD_INFO_DIR)/boot/grub/
bootvars-subst \
KERNEL /install/vmlinux \
INITRD /install/initrd.gz \
< $(GRUB_CFG_CDROM) > $(TEMP_CD_INFO_DIR)/boot/grub/grub.cfg
grub-mkimage -O powerpc-ieee1275 -p '()/boot/grub' \
-o $(TEMP_CD_INFO_DIR)/boot/grub/powerpc.elf \
$(GRUB_MODULES) $(GRUB_MODULES_CDROM)
cp -p /usr/lib/grub/powerpc-ieee1275/bootinfo.txt \
$(TEMP_CD_INFO_DIR)/ppc/
# Netboot files
.PHONY: arch_netboot_dir
arch_netboot_dir:
-rm -f $(TEMP_NETBOOT_DIR)
mkdir -p $(TEMP_NETBOOT_DIR)/$(NETBOOT_PATH)
cp $(TEMP_INITRD) $(TEMP_NETBOOT_DIR)/$(NETBOOT_PATH)
cp $(TEMP_KERNEL) $(TEMP_NETBOOT_DIR)/$(NETBOOT_PATH)
MEDIUM_SUPPORTED = nativehd cdrom-apus netboot-apus
# The version of the kernel to use.
KERNELMAJOR = 2.4
KERNELVERSION = 2.4.27-apus
KERNELNAME = vmlinuz
INITRD_FS = ext2
MEDIA_TYPE = CD-ROM
# cd booting does not need floppy images on powerpc
TARGET = $(INITRD) $(KERNEL)
EXTRANAME = cdrom/
MANIFEST-BOOT = "CDROM image for most powerpc/apus amiga"
MANIFEST-INITRD = "initrd for use with powerpc/apus CDROM"
MANIFEST-KERNEL = "kernel for use with powerpc/apus CDROM"
arch_boot_screens:
MEDIA_TYPE = nativehd
# cd booting does not need floppy images on powerpc
TARGET = $(INITRD) $(KERNEL)
EXTRANAME = $(MEDIUM)/
MANIFEST-BOOT = "Native HD image for most powerpc/apus amiga"
MANIFEST-INITRD = "initrd for use with powerpc/apus nativehd"