summaryrefslogtreecommitdiff
path: root/templates/yaboot
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-11-22 14:36:42 +0100
committerDaniel Baumann <daniel@debian.org>2009-11-22 14:38:00 +0100
commita62f12110b19a52a58d7eae871012202cfa16055 (patch)
tree0bd188079c808ee8956fb5304c46ce8266b49f75 /templates/yaboot
downloadvyos-live-build-a62f12110b19a52a58d7eae871012202cfa16055.tar.gz
vyos-live-build-a62f12110b19a52a58d7eae871012202cfa16055.zip
Renaming categories to archive areas (Closes: #519690).
Diffstat (limited to 'templates/yaboot')
-rw-r--r--templates/yaboot/boot.msg22
-rw-r--r--templates/yaboot/hfs.map12
-rw-r--r--templates/yaboot/ofboot.b64
-rw-r--r--templates/yaboot/pegasos90
-rw-r--r--templates/yaboot/yaboot.conf6
5 files changed, 194 insertions, 0 deletions
diff --git a/templates/yaboot/boot.msg b/templates/yaboot/boot.msg
new file mode 100644
index 000000000..98f5876f6
--- /dev/null
+++ b/templates/yaboot/boot.msg
@@ -0,0 +1,22 @@
+Welcome to Debian GNU/Linux!
+
+This is a Debian Live CDROM,
+built on LH_DATE.
+
+The default option is 'live'.
+
+If the system fails to boot at all (the typical
+symptom is a white screen which doesn't go away),
+append 'video=ofonly' or use 'live-failsafe'.
+
+The plain options are for the powerpc family of
+processors (from 601 to G4). The *64 options are for
+64bit powerpc processors, which include the IBM
+Power3, Power4, Power5, ... boxes, as well as the
+Apple G5 boxes. Press the tab key for a list of
+options, or type 'help' for help.
+
+************************************
+If in doubt, just press enter, and if that
+doesn't work, try 'live video=ofonly'.
+************************************
diff --git a/templates/yaboot/hfs.map b/templates/yaboot/hfs.map
new file mode 100644
index 000000000..0d8b4cfce
--- /dev/null
+++ b/templates/yaboot/hfs.map
@@ -0,0 +1,12 @@
+# 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"
diff --git a/templates/yaboot/ofboot.b b/templates/yaboot/ofboot.b
new file mode 100644
index 000000000..6aeb93d2d
--- /dev/null
+++ b/templates/yaboot/ofboot.b
@@ -0,0 +1,64 @@
+<CHRP-BOOT>
+<COMPATIBLE>
+MacRISC MacRISC3 MacRISC4
+</COMPATIBLE>
+<DESCRIPTION>
+GNU/Linux PPC bootloader
+</DESCRIPTION>
+<BOOT-SCRIPT>
+" screen" output
+load-base release-load-area
+boot cd:,\yaboot\yaboot
+</BOOT-SCRIPT>
+<OS-BADGE-ICONS>
+1010
+000000000000F8FEACF6000000000000
+0000000000F5FFFFFEFEF50000000000
+00000000002BFAFEFAFCF70000000000
+0000000000F65D5857812B0000000000
+0000000000F5350B2F88560000000000
+0000000000F6335708F8FE0000000000
+00000000005600F600F5FD8100000000
+00000000F9F8000000F5FAFFF8000000
+000000008100F5F50000F6FEFE000000
+000000F8F700F500F50000FCFFF70000
+00000088F70000F50000F5FCFF2B0000
+0000002F582A00F5000008ADE02C0000
+00090B0A35A62B0000002D3B350A0000
+000A0A0B0B3BF60000505E0B0A0B0A00
+002E350B0B2F87FAFCF45F0B2E090000
+00000007335FF82BF72B575907000000
+000000000000ACFFFF81000000000000
+000000000081FFFFFFFF810000000000
+0000000000FBFFFFFFFFAC0000000000
+000000000081DFDFDFFFFB0000000000
+000000000081DD5F83FFFD0000000000
+000000000081DDDF5EACFF0000000000
+0000000000FDF981F981FFFF00000000
+00000000FFACF9F9F981FFFFAC000000
+00000000FFF98181F9F981FFFF000000
+000000ACACF981F981F9F9FFFFAC0000
+000000FFACF9F981F9F981FFFFFB0000
+00000083DFFBF981F9F95EFFFFFC0000
+005F5F5FDDFFFBF9F9F983DDDD5F0000
+005F5F5F5FDD81F9F9E7DF5F5F5F5F00
+0083DD5F5F83FFFFFFFFDF5F835F0000
+000000FBDDDFACFBACFBDFDFFB000000
+000000000000FFFFFFFF000000000000
+0000000000FFFFFFFFFFFF0000000000
+0000000000FFFFFFFFFFFF0000000000
+0000000000FFFFFFFFFFFF0000000000
+0000000000FFFFFFFFFFFF0000000000
+0000000000FFFFFFFFFFFF0000000000
+0000000000FFFFFFFFFFFFFF00000000
+00000000FFFFFFFFFFFFFFFFFF000000
+00000000FFFFFFFFFFFFFFFFFF000000
+000000FFFFFFFFFFFFFFFFFFFFFF0000
+000000FFFFFFFFFFFFFFFFFFFFFF0000
+000000FFFFFFFFFFFFFFFFFFFFFF0000
+00FFFFFFFFFFFFFFFFFFFFFFFFFF0000
+00FFFFFFFFFFFFFFFFFFFFFFFFFFFF00
+00FFFFFFFFFFFFFFFFFFFFFFFFFF0000
+000000FFFFFFFFFFFFFFFFFFFF000000
+</OS-BADGE-ICONS>
+</CHRP-BOOT>
diff --git a/templates/yaboot/pegasos b/templates/yaboot/pegasos
new file mode 100644
index 000000000..1e1b24175
--- /dev/null
+++ b/templates/yaboot/pegasos
@@ -0,0 +1,90 @@
+\ FORTH is identifed by a forth comment at first line
+\
+\ terminal control stuff
+\
+: TTY.CSI d# 27 EMIT ASCII [ EMIT ;
+: TTY.HOME TTY.CSI ASCII H EMIT ;
+: TTY.CLR_EOS TTY.CSI ASCII J EMIT ;
+: TTY.HOME_CLR TTY.HOME TTY.CLR_EOS ;
+\
+\ boot menu stuff
+\
+: my-max-boot-num 4 ;
+: my-boot-default 1 ;
+: my-boot-delay d# 300 ; \ unit = 100 ms
+: my-print-menu ( -- )
+ TTY.HOME_CLR
+ ." " cr
+ ." Welcome to Debian GNU/Linux!" cr
+ ." " cr
+ ." This is a Debian Live CDROM," cr
+ ." built on LH_DATE." cr
+ ." " cr
+ ." The default option is 'live'." cr
+ ." " cr
+ ." ************************************" cr
+ ." If in doubt, just choose (1) 'live'" cr
+ ." ************************************" cr
+ ." " cr
+ ." 1: install" cr
+ ." 2: install" cr
+ ." 3: expert" cr
+ ." 4: rescue" cr
+ ." 5: return to OF prompt" cr
+ ." " cr
+;
+: my-boot-case ( num -- )
+ ." " cr
+ case
+ 1 of " cd live/vmlinuz-chrp.initrd --" endof
+ 2 of " cd install/powerpc/vmlinuz-chrp.initrd --" endof
+ 3 of " cd install/powerpc/vmlinuz-chrp.initrd DEBCONF_PRIORITY=low --" endof
+ 4 of " cd install/powerpc/vmlinuz-chrp.initrd rescue/enable=true --" endof
+ 5 of " none" endof
+ endcase
+ $boot
+;
+: my-input-num ( wait-period max-boot-num default-num -- boot-num )
+ 1 \ loop-inc = 1
+ 3 pick 0 do
+ 0d emit
+ ." press 1-"
+ ( wait-period max-boot-num default-num loop-inc )
+ 2 pick ascii 0 + emit
+ dup 1 = if
+ ." within "
+ 3 pick i - d# 10 / .d
+ ." seconds"
+ then
+ ." (default: "
+ over ascii 0 + emit
+ ." ) : "
+ d# 100 ms
+ key? if
+ key
+ ( wait-period max-boot-num default-num loop-inc key )
+ dup 0d = if \ return pressed
+ drop leave
+ then
+
+ ascii 0 -
+ ( wait-period max-boot-num default-num loop-inc num )
+ dup 1 5 pick
+ ( wait-period max-boot-num default-num loop-inc num num 1 max-boot-num )
+ between if
+ rot drop swap leave
+ then
+
+ ( wait-period max-boot-num default-num loop-inc num )
+ 2drop 0 \ loop-inc = 0
+ then
+ dup +loop
+ drop
+ ( wait-period max-boot-num boot-num )
+ nip nip
+;
+
+
+my-print-menu
+my-boot-delay my-max-boot-num my-boot-default my-input-num
+my-boot-case
diff --git a/templates/yaboot/yaboot.conf b/templates/yaboot/yaboot.conf
new file mode 100644
index 000000000..2755d8905
--- /dev/null
+++ b/templates/yaboot/yaboot.conf
@@ -0,0 +1,6 @@
+default=live
+message=/yaboot/boot.msg
+
+LINUX_LIVE
+
+LINUX_INSTALL