joyride-1563 broken, olpc.fth missing, fails to boot [FIX]
Mitch Bradley
wmb at laptop.org
Mon Jan 21 03:53:18 EST 2008
You don't really need the entire olpc.fth - the following lines should
suffice:
ok setenv ramdisk n:\boot\olpcrd.img
ok boot n:\boot\vmlinuz root=mtd0 rootfstype=jffs2
Those lines are short enough to type manually.
The rest of olpc.fth is just automated reflash and support for boot-alt.
Most of the cmdline arguments (ro, console=, fbcon=) are unnecessary -
the only required ones are the root specifiers.
Mitch
James Cameron wrote:
> If you do this, and need to fix it, here is how I did it ... only valid
> for developer machines without write-protect, of course:
>
> 1. boot into OFW and enable the wireless and telnetd,
>
> ok essid quozl.linux.org.au
> ok telnetd
>
> (naturally you will use a different essid).
>
> 2. note the IP address and telnet to it from another system,
>
> % telnet 10.0.0.147
>
> 3. on this other system, obtain a copy of /boot/olpc.fth from build
> joyride-1551 and display it on your screen, without any line-wraps,
>
> rsync \
> rsync://updates.laptop.org/build-joyride-1551/root/boot/olpc.fth \
> .
> cat olpc.fth
>
> 4. cut and paste the FORTH definitions one at a time,
>
> 5. type the last command and press enter,
>
> ok olpc-fth-boot-me
>
> If you cut and paste this, some letters may not echo, because USB is
> turned off at this point, which stops the telnet reasonably quickly.
> Your telnet session on the other system will hang. Not important.
>
> 6. wait for a few seconds, and the Linux kernel boot log should appear,
> on the screen of the XO,
>
> 7. on the XO, as root, copy the olpc.fth file from where it is in
> /versions to where it should be in the new pristine tree,
>
> 8. reboot, problem solved.
>
>
More information about the Devel
mailing list