[Sugar-devel] Testing images with SUgar 0.102

James Cameron quozl at laptop.org
Tue Jul 29 18:56:53 EDT 2014

On Tue, Jul 29, 2014 at 09:48:55AM -0300, Gonzalo Odiard wrote:
> On Tue, Jul 29, 2014 at 12:37 AM, James Cameron <quozl at laptop.org> wrote:
>     On Mon, Jul 28, 2014 at 11:08:36PM -0300, Gonzalo Odiard wrote:
>     > On Mon, Jul 28, 2014 at 7:36 PM, James Cameron <quozl at laptop.org> wrote:
>     > > Are there any patches in the SL102 branch [1] that you'd like to
>     > > push upstream?  I've looked at them.
>     >
>     > I would love to see official OLPC images with Sugr 0.102, in that
>     > case you can use everything you want :)
>     We're looking into the feasibility of Fedora 20 with Sugar 0.102 now,
>     so please continue to be involved.  ;-)
> These are great news! Maybe we can do  chat to coordinate?
> The next OLPC AU image will be based on F20 too,
> then we can join forces...

I've used qemu-arm with a Fedora 20 image to run olpc-os-builder to
make an XO-4 image without Sugar and Gnome, and have booted this
on XO-4.  Next task is to run olpc-os-builder on the XO-4 to achieve

apt-get install qemu-system-arm libguestfs-tools

wget http://mirror.aarnet.edu.au/pub/fedora/linux/releases/20/Images/armhfp/Fedora-Minimal-armhfp-20-1-sda.raw.xz

sudo virt-copy-out -a Fedora-Minimal-armhfp-20-1-sda.raw /boot/vmlinuz-3.11.10-301.fc20.armv7hl .
sudo virt-copy-out -a Fedora-Minimal-armhfp-20-1-sda.raw /boot/initramfs-3.11.10-301.fc20.armv7hl.img .

sudo qemu-system-arm -machine vexpress-a9 -m 1024 -nographic -net nic -net user  -append "console=ttyAMA0,115200n8 rw root=/dev/mmcblk0p3 rootwait physmap.enabled=0"  -kernel vmlinuz-3.11.10-301.fc20.armv7hl  -initrd initramfs-3.11.10-301.fc20.armv7hl.img  -sd Fedora-Minimal-armhfp-20-1-sda.raw

>     > The sugar rpms are the Fedora 20 rpms rebuilded in F18.  I just
>     > needed do a single change in the sugar rpm (I am working with
>     > pbrobinson to push it upstream) and needed remove libwebkit2gtk from
>     > the Requires on sugar-toolkit-gtk3
>     Thanks.  The OLPC RPM dropbox is available now on dev.laptop.org.
>     Should we use that or use yours in personal directory?  To use the
>     dropbox, place them in public_rpms/{f18,f20} (noarch) or
>     {f18,f20}-{xo1,xo1.5,xo1.75,xo4} (i686 and armv7hl).
> Ok, I need check how will work with the AU images, where we use
> patched rpms. I will try to make it work with the standard (dropbox)
> if possible.

Add an additional repository to the .ini file.

>     > > Can you also publish the 41001SL0.zd{,.md5} files for use with
>     > > external SD card?  If not, you might remove [sd_card_image] from
>     > > your .ini file and save some time.
>     >
>     > Ahh, that is the use of these files :)
>     > Uploading....
>     Thanks, I see them uploading.
> Uploaded now. There are info about how to install them, right?


Underlying problem is XO-1 firmware does not have fs-update support.

For signed builds, where the firmware contains the deployment key:

For unsigned builds, you may use fs-update on an XO-1.5, XO-1.75, or
XO-4, and then move the SD card.

Alternatively, this Open Firmware fragment:
http://dev.laptop.org/~quozl/z/1XCG63.txt can be added to the top of
the 41001SL0.zd.zsp file (generated by olpc-os-builder), and then
manually loaded from the ok prompt:

ok fl u:\41001SL0.zd.zsp

This will then read the 41001SL0.zd file and store it on an SD card.

Perhaps olpc-os-builder should add this fragment.

James Cameron

More information about the Devel mailing list