Difference between revisions of "Sugar Creation Kit/sck/Advanced Topics"

From Sugar Labs
Jump to navigation Jump to search
Line 281: Line 281:
 
*http://www.raspbian.org/RaspbianImages
 
*http://www.raspbian.org/RaspbianImages
 
*http://www.memetic.org/pre-compiled-xbmc-for-raspbian/
 
*http://www.memetic.org/pre-compiled-xbmc-for-raspbian/
 +
*http://michael.gorven.za.net/blog/2012/08/06/xbmc-packages-raspberry-pi-running-raspbian
 
*http://elinux.org/R-Pi_Hub
 
*http://elinux.org/R-Pi_Hub
 
*http://elinux.org/RPi_config.txt - How to set Overclocking / Video on RPi
 
*http://elinux.org/RPi_config.txt - How to set Overclocking / Video on RPi

Revision as of 10:16, 15 September 2012


Sweets Distribution

Sugar Network Tutorial

  • Annotated screen shots with Links

Sweets-Getting Started

Click on title ^ to go to topic
  • Some ideas on how to present SWEETS. (Inkyfingers)
  • look at Infrastructure for an overview.

Sweets Distribution

Click on title ^ to go to topic
(Sweets Distribution is easier to use for Ubuntu' and its Derivatives (Adding an additional Repository to apt) as the packages are pre-configured, ready to use.)
(Developed for Trisquel-sugar-Toast )

Sweets

Click on title ^ to go to topic
(Advanced)
Debian, Ubuntu, Fedora, Mandriva, openSUSE, and Gentoo
(This guide describes how to run Sugar using Sugar Packaging Management System, Sweets.)
Request for better Documentation of installs
Log of Installation of sugar-sweets 0.88 and 0.94 on f16-GNOME3-shell
Installing_Sugar_via_sweets_-_in_Mint-12
Installing_Sugar_via_sweets_-_in_Debian_testing_Wheezy
(For developers)

Sugar Network

Click on title ^ to go to topic
Collaboration support for Internet-less environments (but not only)
Tests of which activities start by page

Harmonic Distribution

* The possibility to launch Base Software in heterogeneous
  software and hardware environments.
* Using Base Software, provide access to various Content
  (Sugar activities, artifacts created by Sugar activities, books, etc.)
  created within the Sugar community.
* Using Base Software, provide collaborative functionality to
  support Social activity around the Content.
* Instruments and workflows to adapt Content and Base Software
  to specific needs that Sugar Deployment might face,
  including extreme ones like off-line environments and restricting
  hardware.
  • [Sugar-devel] [SWEETS] Testing collaboration related fixes 05/07/2012
Hi all!
Following the plan for Harmonic Distribution v0.2 (which will be a basis
for Sugar Distribution to use in peruvian pilot), in Sugar Shell code
were made fixes that are intended to make Telepathy (everything related to
Neighbourhood view and Sugar Activities sharing/joining) more stable
(that was broken since global redesign started after 0.88 release).
Fixes are accessible from SweetsDistribution:Factory repository. Follow
regular Sweets Distribution installation instructions[1] to install
fixed Sugar Shell on all supported platforms[2].
Some visible changes in F1 view:
* the number of buddies should be increased from ~20 to 70-90
  some Sugar versions (maybe 0.90-0.92) don't publish information about
  nickname/colors on regular basis; this information are being stored on
  disk for now
* for some buddies, server still don't have information about colors
  (replaced by gray) and nick names (jabber ids)
If you have a time and want to help Puno deployment pilot, please,
consider possibility to install sweets-desktop from Factory repository
and do some testing of collaboration functionality.

Some tips:

* while interacting with another buddies, make sure that all
  participants use Sweets Distribution (some F1 buddies might misbehave)
* the good criteria of stability level of new Sugar is comparing with
  how collaboration happen in 0.88 Sugar.
Source code, for interested in people, can be found in top commits from:

* http://git.sugarlabs.org/desktop/sugar
* http://git.sugarlabs.org/desktop/sugar-toolkit
* http://git.sugarlabs.org/server/prosody-sugar
[1] Sweets_Distribution#Installation
[2] Harmonic_Distribution/Supported_platforms

-- Aleksey
Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

BoxGrinder

BoxGrinder Build is an easy to use command line tool to create appliances (virtual images) from simple plaintext appliance definition files. BoxGrinder can produce appliances for a variety of virtual and cloud platforms using plugins supporting technologies such as VMware or EC2.

Pungi

Advanced
  • used to build non-live CD/DVD isos
Pungi needs to run on the arch it is composing, as root, and with an install of what it is composing, eg if you are composing Fedora 8, you need to be running Fedora 8.
This is so that the correct userland tools are used to create the images and such used by anaconda.
The eventual usage of pungi will most likely be in mock chroots to facilitate this.
It needs to run on the arch it is composing due to how anaconda-runtime determines what files to put in the boot images at this time.
Currently the releases of pungi are designed to run on an updated Rawhide system. Development of pungi always tracks Rawhide.

Koji

Click on title ^ to go to topic
(Very Advanced)
Koji is the software that builds RPM packages for the Fedora project

How to create an RPM package

  • How to create an RPM package in Fedora
https://fedoraproject.org/wiki/How_to_create_an_RPM_package

Git

Advanced - Used by Sugar Developers

Tutorials

L10n Translations

There is a git user named "pootle" that acts as the proxy by which all
PO file translations are committed from the Pootle server.  Please
make pootle a committer on the repo and I will make the connections
between git and the Pootle server.
Some "best practices" about working with git and Pootle are described here.
 Translation Team Best Practices

groupthink

Click on title ^ to go to topic
  • Very Advanced
"Groupthink is a library of self-sharing data structures written in python and shared over dbus.
Together with the D-Bus Tubes provided by the Telepathy framework, this enables data structures to be shared over a network."

OLPC XO-1 and XO-1.5 links and Notes

Click on title ^ to go to topic

Testing Dextrose in a virtual machine

  • Download Image; KVM; VirtualBox

Dextrose Building

Dextrose uses olpc-os-builder, a tool create by OLPC to build official and customized system images.
The Dextrose git repository contains, olpc-os-builder, local customizations specific to Dextrose,
and fixes and enhancements waiting to be pushed upstream. 

XS Schoolserver 0.7

Click on title ^ to go to topic

Manuals

OLPC Manual
Help Activity Refresh
Manuals Info

Kernel Userspace Interfaces

ARM

References
http://elinux.org/RPi_Distributions
http://en.wikipedia.org/wiki/List_of_ARM_microprocessor_cores

TrimSlice

Firmware Updater

Ubuntu on a TrimSlice

  • Testing of TrimSlicePro
TrimSlicePro-Update
  • Testing of TrimSlice H250
Install of Ubuntu to 320 GB HD
Install of Ubuntu to a SDXC Card

TS SDXC.JPG

  • TrimSlicePro Setup Booted from 64 GB SDXC Card in front slot
(SDXC card is expanded to 30 GB with gparted)

TS with Sugar.JPG

  • TrimSlicePro Running KDE-Desktop -plus sugar-emulator (0.90.1)
Beautiful Display on Samsung SyncMaster S20B350 HDMI 1600x900 @60Hz PP

Fedora on a TrimSlice

Fedora with XFCE
References
http://scotland.proximity.on.ca/arm-nightlies/vault/f17arm-latest-arm-rpi-xfce-mmcblk0.img.xz
http://fedoraproject.org/wiki/Architectures/ARM
http://fedoraproject.org/wiki/Architectures/ARM/Fedora_17_Beta
https://fedoraproject.org/wiki/Architectures/ARM/Fedora17_rawhide
http://dl.fedoraproject.org/pub/fedora-secondary/releases/test/17-Beta/Images/armhfp/
f17-arm RC-1: http://scotland.proximity.on.ca/arm-nightlies/vault/to-mirrors/RC1/armhfp/
Boot from CD: http://www.trimslice.com/forum/viewtopic.php?f=25&t=412
Tegra
http://developer.nvidia.com/tegra-2-technical-reference-manual
http://www.trimslice.com/wiki/index.php/OS_Installation_and_update
http://www.trimslice.com/wiki/index.php/Trim-Slice_Linux_Kernel
http://lists.linux-foundation.org/pipermail/ksummit-2012-discuss/2012-June/000304.html

f17-fedora-arm

f17 Nightly Images
live media creator on arm
http://fedoraproject.org/wiki/Anaconda/Features/ReworkLiveCD
http://www.redhat.com/archives/anaconda-devel-list/2011-November/msg00081.html
http://lists.fedoraproject.org/pipermail/arm/2012-May/003358.html
Trimslice Pro and H250
Serial interface ONLY
  • Mac-Trimslice Pro Connections:
Nice Terminal Emulator for Mac:http://www.macupdate.com/app/mac/31352/coolterm
  • Connection Diagram:
[MacBookPro USB port]---[usb to serial adapter (&)]---[null modem]--[serial cable]--(TrimSlice serial to mini cable]--[TrimSlice serial port]
(&) DYNEX USB_PDA/Serial Adapter (Dynex DX-UD889)
  • Console Speed 115200 bps, 8n1,
  • root password: -Displays in serial terminal-
root=fedoraarm
  • Note these are experimental FOR TESTING ONLY - Still in development; use with caution
  • The kernel used does not support startx
No graphical interfaces are available at this time for TrimSlicePro and TrimSlice -h
  • dd will write a live USB but it will not boot in arm devices.
works in intel PC's
  • livecd-tools does not work
SD Card Install
This is a Fedora 17 Hard Float Trimslice Image suitable for writing to an SD card and placed in the Trimslice's Full Size SD slot (Front slot)
and booting without further modification.
Write with xzcat file.xz > /dev/mmcblkX, put in the device, and you're ready to go. Boots to a serial console.
Most of the SD card images can be used with a USB storage device drive using the following method:
Write the image to both the USB storage device and an SD card. IE, write the image using xzcat file.xz > /dev/sdX then xzcat file.xz > /dev/mmcblkX.
Once written, use a partition editor such as fdisk to delete the VFAT partition from the USB drive and the Linux partition from SD card.
Plug the SD and USB storage into your ARM device and power up. 
The ARM system will load any applicable bootloader pieces, kernel, and initramfs from the SD card, but use the USB storage for the root filesystem.

Nearly images are self-sufficient, but a kernel tarball is optionally available with the contents of the image's /boot and /lib/modules directories.
These can be used in conjunction with the tarball root filesystems to create your own images.
Resizer
  • Resizer Script and systemd file
http://scotland.proximity.on.ca/fedora-arm/rootfs-resize/rootfs-resize-0.3/
expects 2 partitions on SD card; will not work if a 3rd exists
http://scotland.proximity.on.ca/arm-nightlies/vault/mknightly.tar.xz

Archlinux-TrimSlice

RPi

Good overview of RaspberryPi
Order Page: http://www.newark.com/jsp/search/productdetail.jsp?SKU=83T1943
http://zenit.senecac.on.ca/wiki/index.php/Raspberry_Pi_Fedora_Remix
http://elinux.org/RaspberryPiBoard#Software_.26_OS_Distribution
http://elinux.org/RPi_Distributions#What_is_armhf
RPi resolution fix:"disable_overscan=1"
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=24&t=4691
  • Chromium Browser for RPi (beta)
http://hexxeh.net/?p=328117859
  • Update and install software before flashing .img using chroot
http://raspberrypi.stackexchange.com/questions/855/is-it-possible-to-update-upgrade-and-install-software-before-flashing-an-image

Kernel Testing

raspberry-pi-root-fs-on-usb-drive
Xorg and LXDE
http://www.raspbian.org/PiscesImages
Mate on RPi
http://www.raspbian.org/RaspbianMate
DL: http://www.raspbian.org/PiscesMATEImages

Testing Pages

List of Test Pages

Testing Introductory Page

Help/Info Wiki Page

Tests of f17-fedora-remix; Raspbian-PiscesMATE; and rasbian debian on RPi

http://scotland.proximity.on.ca/raspberrypi/test-releases/rpfr17/
http://www.raspbian.org/PiscesMATEImages
http://downloads.raspberrypi.org/images/raspbian/2012-07-15-wheezy-raspbian/2012-07-15-wheezy-raspbian.zip

Testing Sweets on a RPi armhf

  • Install of Sweets Sugar 0.94 on a RPi

xmbc

Gentoo

Mageia-arm

This ARM port supports the Kirkwood series from Marvell.
Most frequent are: Open-RD, computer plugs (SheevaPlug, GuruPlug).
It runs also in qemu as a virtual machine.
Install to QEMU: http://packages.rtp-net.org/mageia/1/armv5tl/docs/README.ARMv5TL
Prebuilt Images: http://packages.rtp-net.org/mageia/1/imgs/

PPC

Power PC
Doing builds again for fedora 16
  • IRC: #fedora-ppc on irc.freenode.net

SoaS in Parallels for OS X

(experimental)
(Not very current)

Sugar Patches

http://patchwork.sugarlabs.org/project/sugar/list/