[Sugar-devel] ARM fork

Ryan Cunningham rvskmbrly3 at gmail.com
Sun Jun 22 15:32:10 EDT 2014


Here are all (or some of) the licenses I'm required to distribute with this
software. I recommend that you distribute them with the same software as
well, if you ever distribute the covered software.




On Sun, Jun 22, 2014 at 9:40 AM, Ryan Cunningham <rvskmbrly3 at gmail.com>
wrote:

> Here is a link to a new image with the same modifications (for file
> permissions I previously forgot to change).
>
>
>  32013o4.img
> <https://docs.google.com/file/d/0BykD1OG4zPMHSmlKZ0ZnQXdqMG8/edit?usp=drive_web>
>
> Also, here are links to some recursive listings for the contents of the
> new image.
>
> The first listing is of the contents of the image itself; the second
> listing is of the contents of the initial RAM file system Linux uses to
> boot the operating system contained in the image.
>
> The listings are modified with regard to path roots and to user and group
> names, to make them appear as if they were generated on the system listed.
>
>
>  initramfs-mod-ls-hlaR.txt
> <https://docs.google.com/file/d/0BykD1OG4zPMHWnQtT1dPblBCWnM/edit?usp=drive_web>
>
>  root-mod-ls-hlaR.txt
> <https://docs.google.com/file/d/0BykD1OG4zPMHendxZ2Uxa2M4Ym8/edit?usp=drive_web>
>
>
>
> On Sat, Jun 21, 2014 at 8:19 PM, Ryan Cunningham <rvskmbrly3 at gmail.com>
> wrote:
>
>> The ARM system on a chip should also have the Thumb and WMMX2 instruction
>> set extensions.
>>
>>
>> --
>> Sent from my iPad
>>
>> On Jun 21, 2014, at 8:14 PM, Ryan Cunningham <rvskmbrly3 at gmail.com>
>> wrote:
>>
>> Here is yet another version, updated to remove the factory tests.
>>
>> I accidentally deleted the README, so here is the list of required
>> equipment:
>>
>>
>>    - 1 ARM system on a chip, with 5 gigabytes of flash memory and 1 or 2
>>    gigabytes of system memory
>>    - At least 2 Micro USB ports (used for charging and connecting
>>    peripherals)
>>    - 1 battery pack
>>    - 1 display backlight unit
>>    - 1 embedded controller
>>    - 1 sunlight-readable display
>>    - 1 touch screen with support for multiple touch points
>>    - 1 headphone jack
>>    - 1 set of internal speakers
>>    - 1 microphone jack
>>    - 1 internal microphone
>>    - 1 Marvell 88w838X (series) wireless chip set
>>    - 1 Mesh button on front panel (F1)
>>    - 1 Group button on front panel (F2)
>>    - 1 Home button on front panel (F3)
>>    - 1 Activity button on front panel (F4)
>>    - 1 Journal button on front panel (F5)
>>    - 1 Frame button on front panel (F6)
>>
>>
>> Here is the list of optional equipment:
>>
>>
>>
>>    - 1 Volume Up key on left/right panel
>>    - 1 Volume Down key on left/right panel
>>    - 1 Mute key on left/right panel
>>    - 1 input/output volume switch on left/right panel
>>
>>
>> Here is the list of disallowed equipment:
>>
>>
>>
>>    - Any SIM card holder
>>    - Any rotation sensor
>>    - Any cellular signal scanner
>>
>>
>>  32013o4.img
>> <https://docs.google.com/file/d/0BykD1OG4zPMHMUEtZnhxd3JXcVU/edit?usp=drive_web>
>>
>> Attached is a shell script containing modifications I forgot to perform.
>>
>>
>>
>> On Sat, Jun 21, 2014 at 10:58 AM, Ryan Cunningham <rvskmbrly3 at gmail.com>
>> wrote:
>>
>>> I want to make sure you are responsible only for testing and not for
>>> packaging (except after testing).
>>>
>>> Also, I cannot test the software or make any modifications resulting
>>> from bugs, because of the hardware requirements. It is therefore up to you
>>> to perform said testing and to make said changes.
>>>
>>> --
>>> Sent from my iPad
>>>
>>> > On Jun 21, 2014, at 9:29 AM, Paul Fox <pgf at laptop.org> wrote:
>>> >
>>> > ryan wrote:
>>> >> Here is a link to an updated file system image, incorporating an
>>> updated
>>> >> RAM disk.
>>> >>
>>> >> This updated RAM disk incorporates changes to
>>> >> `/usr/lib/dracut/hooks/pre-mount/10-olpc-boot-premount.sh' and
>>> >> `/usr/lib/dracut/hooks/cmdline/20-olpc-boot-cmdline.sh', to remove
>>> >> XO-specific information.
>>> >
>>> > what's wrong with sending two simple patches instead?
>>> >
>>> > paul
>>> >
>>> >>
>>> >> 32013o4.img
>>> >> <
>>> https://docs.google.com/file/d/0BykD1OG4zPMHT0J1MVlxQV9hcDQ/edit?usp=drive_web
>>> >
>>> >>
>>> >>
>>> >>
>>> >> On Fri, Jun 20, 2014 at 7:41 PM, Ryan Cunningham <
>>> rvskmbrly3 at gmail.com>
>>> >> wrote:
>>> >>
>>> >>> Here is an updated initial RAM file system image and a file listing.
>>> >>>
>>> >>> It's up to you to merge the initial RAM file system into the root
>>> image I
>>> >>> gave you previously.
>>> >>>
>>> >>> The image is updated to remove some XO-specific content.
>>> >>>
>>> >>>
>>> >>> On Fri, Jun 20, 2014 at 5:35 PM, Ryan Cunningham <
>>> rvskmbrly3 at gmail.com>
>>> >>> wrote:
>>> >>>
>>> >>>> Here are some SVG icons that can be used by OEMs for the front panel
>>> >>>> buttons.
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>> On Fri, Jun 20, 2014 at 3:50 PM, Ryan Cunningham <
>>> rvskmbrly3 at gmail.com>
>>> >>>> wrote:
>>> >>>>
>>> >>>>> I have now updated the README to provide for the addition of a
>>> >>>>> requirement of a Power button, and to provide for the addition of a
>>> >>>>> statement disallowing any rotation sensor.
>>> >>>>>
>>> >>>>>
>>> >>>>> README.equipment
>>> >>>>> <
>>> https://docs.google.com/file/d/0BykD1OG4zPMHSzFaYkJGODRHOVk/edit?usp=drive_web
>>> >
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>> On Fri, Jun 20, 2014 at 3:32 PM, Ryan Cunningham <
>>> rvskmbrly3 at gmail.com>
>>> >>>>> wrote:
>>> >>>>>
>>> >>>>>> I will now post Google Drive links to my port of the OLPC OS for
>>> other
>>> >>>>>> ARM devices.
>>> >>>>>>
>>> >>>>>> Here is what I did to make this port:
>>> >>>>>>
>>> >>>>>> 1. I downloaded the file system tree for the XO-4 version of OLPC
>>> OS
>>> >>>>>> 13.2.0.
>>> >>>>>> 2. I then extracted the contents of that tree using `tar -xv
>>> --lzma'.
>>> >>>>>> 3. I then moved the runtime version to the root of the tree and
>>> deleted
>>> >>>>>> the ``pristine'' backup.
>>> >>>>>> 4. Then I copied the `olpc-dev-kernel' script from that tree into
>>> my
>>> >>>>>> home folder, changed the created copy appropriately, ran it, and
>>> deleted
>>> >>>>>> the original.
>>> >>>>>> 5. I then deleted some other device-specific executable files
>>> (whose
>>> >>>>>> names and paths I do not remember; Sugar should be able to launch
>>> without
>>> >>>>>> them).
>>> >>>>>> 6. After that, I removed (assuming BASH-style brace expansion) the
>>> >>>>>> files ``boot/{act,run}{os,rd}4.zip'' and ``boot/bootfw4.zip'',
>>> which are
>>> >>>>>> unnecessary for this platform.
>>> >>>>>> 7. I then moved `initrd.img.orig' to
>>> >>>>>> `initramfs-3.5.7_xo4-20130705.0203.olpc.e77de3d.img', and moved
>>> >>>>>> `vmlinuz.orig' to `vmlinuz-3.5.7_xo4-20130705.0203.olpc.e77de3d'.
>>> (The
>>> >>>>>> version numbers were copied from the name of the
>>> >>>>>> `config-3.5.7_xo4-20130705.0203.olpc.e77de3d.xz' file.)
>>> >>>>>> 8. Then I archived all of that into the Ext4 file system image
>>> linked
>>> >>>>>> here and created the README.
>>> >>>>>>
>>> >>>>>> (The Ext4 file system image is a 5-gigabyte download: client
>>> tablets
>>> >>>>>> are expected to have exactly 5 GB of NAND flash memory, plus
>>> enough storage
>>> >>>>>> space for the boot loader the manufacturer decides to use.)
>>> >>>>>>
>>> >>>>>>
>>> >>>>>>
>>> >>>>>>
>>> >>>>>> *(Note: The act of attaching these Google Drive links may have
>>> made
>>> >>>>>> this message an RTF or HTML message. If this message is an HTML
>>> message,
>>> >>>>>> and if your e-mail client instead gives you the source code for
>>> any HTML
>>> >>>>>> message it is asked to view, copy and paste the URL in the value
>>> of the
>>> >>>>>> "href" attribute of the "a" element containing these boxes. I do
>>> know that
>>> >>>>>> Google Drive is a proprietary service, however, this is the only
>>> option I,
>>> >>>>>> as a Gmail user, have seen so far for sending files this big:
>>> I've tried
>>> >>>>>> Sendspace with no luck. I am not liable for any damage Google
>>> Drive may
>>> >>>>>> cause to these files, whether done with or without my
>>> notification.) *
>>> >>>>>> README.equipment
>>> >>>>>> <
>>> https://docs.google.com/file/d/0BykD1OG4zPMHVmN1MUVGWHM2ajA/edit?usp=drive_web
>>> >
>>> >>>>>>  32013o4.img
>>> >>>>>> <
>>> https://docs.google.com/file/d/0BykD1OG4zPMHZ0NGbWtPeGF4eEU/edit?usp=drive_web
>>> >
>>> >>>>>>
>>> >>>>>> On Thu, Jun 19, 2014 at 9:31 AM, Ryan Cunningham <
>>> rvskmbrly3 at gmail.com>
>>> >>>>>> wrote:
>>> >>>>>>
>>> >>>>>>> I've now deleted my fork; similar software, as you have pointed
>>> out,
>>> >>>>>>> already exists.
>>> >>>>>>>
>>> >>>>>>>
>>> >>>>>>> --
>>> >>>>>>> Sent from my iPad
>>> >>>>>>>
>>> >>>>>>> On Jun 19, 2014, at 5:53 AM, Gonzalo Odiard <
>>> godiard at sugarlabs.org>
>>> >>>>>>> wrote:
>>> >>>>>>>
>>> >>>>>>> This is very a very interesting development.
>>> >>>>>>> Two comments:
>>> >>>>>>> * In xo-4, we define the env variable GTK_IM_MODULE=Maliit and
>>> Gtk
>>> >>>>>>> open the on screen keyboard
>>> >>>>>>> when needed, without need modify the code. I think you should
>>> explore
>>> >>>>>>> a similar solution.
>>> >>>>>>> If not, you will need modify, not only sugar, but every
>>> activity. In
>>> >>>>>>> the end will not be sustainable.
>>> >>>>>>>
>>> >>>>>>> * Please send patches for bin/sugar.in
>>> >>>>>>> and src/jarabe/view/keyhandler.py, and will be accepted,
>>> >>>>>>> other will need more analysis/testing.
>>> >>>>>>>
>>> >>>>>>> Gonzalo
>>> >>>>>>>
>>> >>>>>>>
>>> >>>>>>> On Wed, Jun 18, 2014 at 1:05 PM, Ryan Cunningham <
>>> rvskmbrly3 at gmail.com
>>> >>>>>>>> wrote:
>>> >>>>>>>
>>> >>>>>>>> I have forked your "sugarlabs/sugar" GitHub repository and made
>>> some
>>> >>>>>>>> changes necessary to enable Sugar to operate successfully on
>>> ARM tablets.
>>> >>>>>>>>
>>> >>>>>>>> The most important change is the requirement of installation of
>>> the
>>> >>>>>>>> onBoard on-screen keyboard from Ubuntu; it is to be
>>> automatically invoked
>>> >>>>>>>> on entry into any text field (except if onBoard is already
>>> running) and is
>>> >>>>>>>> to be automatically killed on departure from that field;
>>> therefore, some
>>> >>>>>>>> activities may have to be ported specifically for this
>>> architecture.
>>> >>>>>>>>
>>> >>>>>>>> The new repository branch is at <
>>> >>>>>>>> https://github.com/rcunning01/sugar/tree/arm>. It is public;
>>> >>>>>>>> however, only I have authorization to modify it.
>>> >>>>>>>>
>>> >>>>>>>> I am writing this e-mail to query for any results from testing
>>> this
>>> >>>>>>>> on any Android tablet (this version does not work with Android
>>> phones) you
>>> >>>>>>>> might have or desire to purchase. However, such a test causes
>>> /all/
>>> >>>>>>>> existing data on the tablet (including core OS data) to be
>>> erased, so
>>> >>>>>>>> deploy carefully. The software itself, however, is, and should
>>> continue to
>>> >>>>>>>> be, platform-independent.
>>> >>>>>>>>
>>> >>>>>>>> The results should be as follows, if any errors are generated:
>>> >>>>>>>>
>>> >>>>>>>> * Abnormal tracebacks from the Python interpreter (said
>>> tracebacks
>>> >>>>>>>> are accessed via the Log activity)
>>> >>>>>>>> * Abnormal exception reports from ADB (the Android Debugger)
>>> >>>>>>>> * Suggestions for correction
>>> >>>>>>>>
>>> >>>>>>>> This version continues to use GTK+. You will need to modify the
>>> >>>>>>>> resulting Android OS image, adding to it cross-compilations
>>> (for the ARM
>>> >>>>>>>> platform) of the following applications and libraries:
>>> >>>>>>>>
>>> >>>>>>>> * X11
>>> >>>>>>>> * The Metacity window manager
>>> >>>>>>>> * GTK+
>>> >>>>>>>> * Pango
>>> >>>>>>>> * GLib
>>> >>>>>>>> * GObject-Introspection
>>> >>>>>>>> * ATK
>>> >>>>>>>> * GDK-Pixbuf
>>> >>>>>>>> * PyGObject
>>> >>>>>>>> * Python 2.7
>>> >>>>>>>> * sugar-artwork
>>> >>>>>>>> * sugar-toolkit-gtk3
>>> >>>>>>>>
>>> >>>>>>>> Tell me if more are needed.
>>> >>>>>>>>
>>> >>>>>>>> (This version does not have cell phone network support. The
>>> Terminal
>>> >>>>>>>> activity, when ported to ARM, should require that the
>>> destination device
>>> >>>>>>>> have sufficient access privileges [on Android, this is obtained
>>> by
>>> >>>>>>>> rooting], and, with this port, should be a separate download.)
>>> >>>>>>>>
>>> >>>>>>>> --
>>> >>>>>>>> Sent from my iPad
>>> >>>>>>>> _______________________________________________
>>> >>>>>>>> Sugar-devel mailing list
>>> >>>>>>>> Sugar-devel at lists.sugarlabs.org
>>> >>>>>>>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>> >>>>>>>>
>>> >>>>>>>
>>> >>>>>>>
>>> >>>>>>>
>>> >>>>>>> --
>>> >>>>>>> Gonzalo Odiard
>>> >>>>>>>
>>> >>>>>>> SugarLabs - Software for children learning
>>> >>>>>>>
>>> >>>>>>>
>>> >>>>>>
>>> >>>>>>
>>> >>>>>> --
>>> >>>>>> Ryan Cunningham
>>> >>>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>> --
>>> >>>>> Ryan Cunningham
>>> >>>>>
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>> --
>>> >>>> Ryan Cunningham
>>> >>>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> --
>>> >>> Ryan Cunningham
>>> >>>
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Ryan Cunningham
>>> >> _______________________________________________
>>> >> Sugar-devel mailing list
>>> >> Sugar-devel at lists.sugarlabs.org
>>> >> http://lists.sugarlabs.org/listinfo/sugar-devel
>>> >
>>> > =---------------------
>>> > paul fox, pgf at laptop.org
>>>
>>
>>
>>
>> --
>> Ryan Cunningham
>>
>> <modscript.sh>
>>
>>
>
>
> --
> Ryan Cunningham
>



-- 
Ryan Cunningham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20140622/03503afd/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: COPYING.zip
Type: application/zip
Size: 34254 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20140622/03503afd/attachment-0001.zip>


More information about the Sugar-devel mailing list