ttuuxxx wrote:
Ok here's a question how do I obtain a developers key if i'm not using wireless internet? It says it takes a day or two, I get that it needs to get one via online.
ttuuxxx
lower in the same page
BTW, soldering another microSD would not solve any of the booting problems. Actually the machine would be bricked because would not even have some OFW to start. So leave it alone
The SD slot is ok as soon as you wrestle the olpc.fth file
If you want a walk-through on how to install os802 to an SD card and boot from there let me know. Some relevant links were given in one of my previous page post.
Basically you download the ext3 image, mount and correct the initrd to load USB/SD devices first, correct the olpc.fth to boot from /dev/mmcblk0p1 (the first partition in the SD card) and the filesystem to ext2 or ext3 (depending on the card formatting), copy it to the Sdcard put in in the XO slot and power up. Should boot from the card fine.
PS: On a second thought, I'll just tell you (or any other interested)
So here we go installing and booting from USB/SD in a secure XO machine
Download
http://xs-dev.laptop.org/~cscott/xo-1/s ... t3.img.bz2
as "su" expand to the SDcard
Code: Select all
bunzip2 -c xo-1-olpc-stream-staging-devel_ext3.img.bz2 | dd of=/dev/sdX bs=1024
If you do that on the XO make sure your card does not automount (it will if is fat/vfat). Unmount from the Journal/frame NOT the terminal. The path of the card on the XO is /dev/mmcblk0.
Resize your partition with fdisk (make sure you add some swap partition here)
Resize the filesystem with fsck.ext3 (on the mounted partition)
Code: Select all
cd /SDcard_path/boot
mkdir initramfs
cd initramfs
gunzip -c ../olpcrd.img | cpio -i
nano initutil.py # or your favorite editor
Find "ohci-hcd", duplicate that line and change "ohci-hcd" to "ehci-hcd" on the second line, then save the file and exit from the editor
Code: Select all
find . -print | cpio -H newc -o | gzip -9 >../olpcrd-modified.img
cd ..
ln -sf olpcrd-modified.img olpcrd.img
rm -rf initramfs
Modify /etc/fstab to add the swap and see if any other paths need adjustment (they should not)
Modify /boot/olc.fth file of the card to
Code: Select all
\ boot script
" root=/dev/mmcblk0p1 rootfstype=ext3 console=tty0 fbcon=font:SUN12x22" to boot-file
" sd:\boot\vmlinuz" to boot-device
" sd:\boot\olpcrd.img" to ramdisk
setup-smbios
unfreeze
dcon-unfreeze
visible
boot
Note: The "setup-smbios" is not needed but is for future use. If you have problems booting remove this line.
If you do not have the developer's key yet, boot the XO from the NAND (if not already) and copy the /security folder from the NAND to the card
Copy also the /home/.devkey.html to the card
finally copy the /ofw to the card
If you have the key and inactivated security forget these 3 steps.
Reboot
Should boot from the card.
You'll end up in a home screen w/o activities! You can
download activities to a USB stick and follow
these instructions
Disclaimer is some time that I did not do that but looks
fine
PPS As I said before XO is known not to play well with many SDcards. Besides not booting from some of them, it also tends to corrupt them occasionally, particularly the bigger/high density ones. So after making a bootable SDcard I would give it a couple of days of "playing" time with several reboots (including hard ones) to make sure that it "likes" the card, before I put any kind of serious work on it. Needles to reiterate the need for often backup