# --- T2-COPYRIGHT-BEGIN --- # t2/architecture/hppa/boot/boot.in # Copyright (C) 2006 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 # --- T2-COPYRIGHT-END --- arch_boot_cd_pre() { mkdir -p $isofsdir/boot cp -f $build_root/usr/share/palo/iplboot $isofsdir/boot/ palo_label=0 } arch_boot_cd_add() { # Note: palo only supports one config, one kernel/initrd :-/ [ $((palo_label++)) != 0 ] && echo_warning "Palo only support one config, skipped!" && return # ISO boot cat > $build_toolchain/palo.sh <<-EOT $build_toolchain/cross/bin/palo -f /dev/null \ --init-cdrom="\$2" \ -b $isofsdir/boot/iplboot \ -k $isofsdir/$4 -r $isofsdir/$5 \ -c "0/${4##*/} initrd=0/${5##*/}" EOT chmod +x $build_toolchain/palo.sh # Net boot $build_toolchain/cross/bin/palo -f /dev/null \ --init-tape=$isofsdir/boot/lifimage${4#*/vmlinu?} \ -b $isofsdir/boot/iplboot \ -k $isofsdir/$4 -r $isofsdir/$5 \ -c "0/${4##*/} initrd=0/${5##*/}" } arch_boot_cd_post() { echo_status "Creating isofs_arch.txt file .." cat > $build_toolchain/isofs_arch.txt <<- EOT DISK1 $isofsdir/ / SCRIPT $build_toolchain/palo.sh EOT }