I'm reading this file over and well its a bit confusing when thinking img's, puppy doesn't do img by default it uses iso files, do you have a script that would work with puppy, say like for a frugal sd install ?mavrothal wrote:No BIOSttuuxxx wrote:Thanks for the images Raffy, I managed to get it 50% apart and then came across mavrothal input, lol
Ok mavrothal how to I change the bios so it boot with SD card under the monitor. I don't see any bios options when booting.
ttuuxxx
XO is using OFW (see previous page).
Basically the OFW looks in order to the USB, SDcard, Internal NAND to find a /boot folder and an olpc.fth file within this folder and does whatever this olpc.fth file is telling it. Basically 3 things, what is the root partition and its file system, the path to vmlinuz and the path to initrd (if used).
Here is my olpc.fth located in the SDcard that will boot Ubuntu from the SDcard if the "O" game key is pressed, and Fedora/Suagr from the NAND if not.
/boot/olpc.fth (in the SDcard)The commented out "original version" is for booting F9-based/os802 (the one that came with the XO). The other is for F11-based system.Code: Select all
\ Boot script \ \ overclock first \ 7de009e 5dd 4c000014 wrmsr \ \ end of overclock \ \ boot option \ game-key-mask h# 80 and if " ro root=/dev/mmcblk0p1 rootfstype=ext2 console=tty0 fbcon=font:SUN12x22 video=fb:1200x900 loglevel=3 splash" to boot-file " sd:\boot\vmlinuz" to boot-device " sd:\boot\olpcrd.img" to ramdisk else \ original teapot's version \ \ " ro root=mtd0 rootfstype=jffs2 console=tty0 fbcon=font:SUN12x22" to boot-file \ " nand:\boot\vmlinuz" to boot-device \ " nand:\boot\olpcrd.img" to ramdisk \ \ f11-xo1 vesion \ " root=/dev/mtdblock0 rootfstype=jffs2 console=ttyS0,115200 console=tty0 fbcon=font:SUN12x22 selinux=0" to boot-file " nand:\boot\vmlinuz" to boot-device " nand:\boot\initrd.img" to ramdisk setup-smbios unfreeze dcon-unfreeze visible then boot
Now, the "setup-smbios" you need to simulate a "normal" BIOS. The unfreeze etc is so you get to see the console during boot.
Setting console, fonts, etc is not nessecary but good to have before you know you do not need...
( I hope you noticed the "overclock" )
look here for more OFW and here for a booting specifically
PS: If you copy/paste my olpc.fth file make sure there is no <return> in the long lines that look-like they are braking. The lines that end with: to boot-file. Should be in one line.
these are the files that are in 2.14X
boot.cat
boot.msg
f2
initrd.gz
isolinux.bin
isolinux.cfg
pup_214X.sfs
vmlinuz
zdrv_214X.sfs
ttuuxxx