Changeset View
Changeset View
Standalone View
Standalone View
tools/tools/nanobsd/embedded/common
Show First 20 Lines • Show All 295 Lines • ▼ Show 20 Lines | mkimg -a 1 ${fmtarg} ${bootmbr} -s mbr -p ${s1}:=${NANO_LOG}/_.s1 \ | ||||
-o ${out} | -o ${out} | ||||
;; | ;; | ||||
std-uefi) | std-uefi) | ||||
# s1 is boot, s2 is cfg, s3 is /, not sure how to make that | # s1 is boot, s2 is cfg, s3 is /, not sure how to make that | ||||
# boot (marked as active) with mkimg yet | # boot (marked as active) with mkimg yet | ||||
mkimg -a 2 ${fmtarg} ${bootmbr} -s mbr \ | mkimg -a 2 ${fmtarg} ${bootmbr} -s mbr \ | ||||
-p efi:=${NANO_WORLDDIR}/boot/boot1.efifat \ | -p efi:=${NANO_WORLDDIR}/boot/efiboot.img \ | ||||
-p ${s2}:=${NANO_LOG}/_.s2 \ | -p ${s2}:=${NANO_LOG}/_.s2 \ | ||||
-p ${s3}:=${NANO_LOG}/_.s3 \ | -p ${s3}:=${NANO_LOG}/_.s3 \ | ||||
-o ${out} | -o ${out} | ||||
;; | ;; | ||||
std-uefi-bios) | std-uefi-bios) | ||||
# p1 is boot for uefi, p2 is boot for gpt, p3 is cfg, p4 is / | # p1 is boot for uefi, p2 is boot for gpt, p3 is cfg, p4 is / | ||||
# and p5 is alt-root (after resize) | # and p5 is alt-root (after resize) | ||||
mkimg -a 2 ${fmtarg} ${bootmbr} -s gpt \ | mkimg -a 2 ${fmtarg} ${bootmbr} -s gpt \ | ||||
-p efi:=${NANO_WORLDDIR}/boot/boot1.efifat \ | -p efi:=${NANO_WORLDDIR}/boot/efiboot.img \ | ||||
-p freebsd-boot:=${NAANO_WORLDDIR}/boot/gptboot \ | -p freebsd-boot:=${NAANO_WORLDDIR}/boot/gptboot \ | ||||
-p ${p3}:=${NANO_LOG}/_.p3 \ | -p ${p3}:=${NANO_LOG}/_.p3 \ | ||||
-p ${p4}:=${NANO_LOG}/_.p4 \ | -p ${p4}:=${NANO_LOG}/_.p4 \ | ||||
-o ${out} | -o ${out} | ||||
;; | ;; | ||||
powerpc64-ibm) | powerpc64-ibm) | ||||
# A lie to make the boot loader work, it boots the first BSD partition | # A lie to make the boot loader work, it boots the first BSD partition | ||||
# it finds, regardless of the active flag. | # it finds, regardless of the active flag. | ||||
▲ Show 20 Lines • Show All 353 Lines • Show Last 20 Lines |