From: Jean-Claude Gervais <jc.gervais@videotron.ca>
To: Gentoo-Embedded <gentoo-embedded@lists.gentoo.org>
Subject: [gentoo-embedded] Booting gentoo-sources-2.6.26 on OLPC hardware
Date: Mon, 11 Aug 2008 13:25:48 -0400 [thread overview]
Message-ID: <1218475548.10609.58.camel@localhost> (raw)
Hello,
I am trying to get Gentoo running on a GiveOneGetOne (G1G1) OLPC
laptop.
I started by installing Gentoo on a generic x86 machine in kvm. The
disk image size for the virtual machine is set to 8GB and formatted in
ext2 as this corresponds to how I have partitioned and formatted an 8GB
Kingston DataTraveler High Speed USB 2.0 Flash drive. I used the 'small'
filesystem setting.
I understand I could also have used chroot and bypassed the emulator,
but this way I could boot the system and check that all required
services start, customize the desktop, etc... The OLPC has very modest
and slow hardware, doing as much of these things as I could in the
emulator would save time.
Once a virtual machine was ready, I shut it down, mounted its disk
image as a regular directory and copied its files over to the 8GB flash
drive.
I was able to boot the '/' partition (but NOT the gentoo-sources
kernel, yet) by adapting the procedure detailed here:
http://icrontic.com/articles/ubuntu_net_remix_olpcxo
Basically, you
- copy a signed OLPC kernel into the /boot folder of the USB drive.
- copy the kernel's modules into the /lib folder of the USB drive.
- copy a special /security folder into the / folder of the USB drive.
- create a special text file (olpc.fth) in the /boot folder of the USB
drive.
Once all these things are in place, you insert the USB drive into the
OLPC, power the OLPC ON and hold down the 'check' button and your Gentoo
installation boots atop the signed OLPC kernel.
This works well. Gnome runs, sound works.
Once I was able to verify that given a signed kernel the installation
would boot, I moved on to getting the gentoo-sources-2.6.26 kernel to
boot.
To permit this, I had to put a developer key (a file) in the /security
folder. Once the key is in place, the OLPC's OpenFirmware sees it and
permits booting unsigned kernels.
Now my kernel does boot and initializes some of the hardware but it
never succeeds in mounting the '/' partition.
I have a detailed listing of the run here:
http://forums.gentoo.org/viewtopic-t-703724.html
If anyone has any idea at all, I would welcome it.
Thanks in advance
J
reply other threads:[~2008-08-11 17:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1218475548.10609.58.camel@localhost \
--to=jc.gervais@videotron.ca \
--cc=gentoo-embedded@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox