X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configs%2Fdebxo-awesome%2Folpc.fth-ext3;fp=configs%2Fdebxo-awesome%2Folpc.fth-ext3;h=58a5fec3076029d5b5d33cc35ca4c60985d55c0f;hb=327c21cdf7408afb43afb62b6cc7dda9806a540d;hp=0000000000000000000000000000000000000000;hpb=1b8908f7f5d529e47c6b23b40dad694563b6dffc;p=xodist diff --git a/configs/debxo-awesome/olpc.fth-ext3 b/configs/debxo-awesome/olpc.fth-ext3 new file mode 100644 index 0000000..58a5fec --- /dev/null +++ b/configs/debxo-awesome/olpc.fth-ext3 @@ -0,0 +1,25 @@ +\ OLPC boot script + +\ fetch the /chosen/bootpath property +" /chosen" find-package if ( phandle ) + " bootpath" rot get-package-property 0= if ( propval$ ) + get-encoded-string ( bootpath$ ) + [char] \ left-parse-string 2nip ( dn$ ) + + \ store the first part of bootpath (up to the '\') in $DN + dn-buf place ( ) + then +then + +" ro root=LABEL=DebXO video=lxfb fbcon=font:SUN12x22" to boot-file +game-key-mask h# 80 and if + \ boot from backup kernel + " ${DN}\vmlinuz.old" expand$ to boot-device + " ${DN}\initrd.img.old" expand$ to ramdisk +else + \ boot from regular kernel + " ${DN}\vmlinuz" expand$ to boot-device + " ${DN}\initrd.img" expand$ to ramdisk +then +dcon-unfreeze +boot