[Sugar-devel] GSoC project- Sugar on Raspberry Pi image build

Hrishi Patel hrishipatel99 at gmail.com
Fri Jul 7 09:47:32 EDT 2017


I have both Raspberry Pi 2 & 3. I have tested on RPI2 and 3, and here are the results for RPI2 : 

The Wi-Fi isn’t working like it should. It isn’t just connecting. Not sure if it is a driver problem. The Wi-Fi adapter I used is “Digisol dg-wn3150nu”
It showed the networks, but failed to connect to one. It lagged. 

I shouldn’t just yet tell it stable.

Note :  If you just switch off your RPI by pulling the plug, it will ask you for login after you start it again. So it’s a good practice to use Shutdown/restart function 





From: Rishabh Thaney
Sent: Friday, July 7, 2017 7:08 PM
To: James Cameron; sugar-devel at lists.sugarlabs.org
Subject: Re: [Sugar-devel] GSoC project- Sugar on Raspberry Pi image build

G'day everyone

The WiFi issue(RPi3) has been fixed and I've configured automatic login in the latest image build.
It also switches to Sugar session automatically.

The image builds for raspberry pi 2 & 3 can be found here: https://people.sugarlabs.org/rishabh/

The repository used to reproduce is this: https://github.com/Rishabh42/rpi23-gen-image

And I've also updated the Debian/Raspberry_Pi page with the method I used to configure automatic login, 
please refer to this page: https://wiki.sugarlabs.org/go/Debian/Raspberry_Pi

Please note: The RPi 2 image has not been tested by me because I don't have a raspberry pi 2, please share the test results
if anyone tests that image.

Warm regards
Rishabh

On Fri, Jul 7, 2017 at 9:55 AM, Rishabh Thaney <rishabhthaney at gmail.com> wrote:
G'day James

On Fri, 7 Jul 2017 at 3:58 AM James Cameron <quozl at laptop.org> wrote:
Please try the latest release candidate build 1.5 published yesterday,
see the edits by Thomas on the Wiki page.  This will test whether your
problem with booting was fixed.

If the problem persists, please verify the data on the microSD card
using the method that I described in IRC; using dd with bs=1024 and
count set to number of 1024 byte blocks in the original image, piped
to md5sum.  Compare the md5sum with that of the .raw file.

I had tried flashing my card using the method described on their website but even that didn't work. I'll try testing it with the new changes made by Thomas.

If the problem persists, please log a bug with Fedora.  Sugar Labs
needs Fedora SoaS to work well, as it has a good set of example
activities.

Thanks for adding automatic login feature, but I've no idea what you
did.

I will update the Debian/Raspberry_pi page with the method I used to add the automatic login feature. I basically configured the lightdm.conf file while the image was building, will share the configuration. 


Please also;

- update your GitHub repository; last update was 14 days ago therefore
  your build is no longer reproducible,

Okay

- update your blog; it is two weeks out of date, (lower the time cost
  of an update by reducing how much you write),

I was working on my next blog post currently, I wanted to include the method to add autologin feature in the post too which we added day before yesterday.


- update the Wiki page; by removing broken links and answering any
  ambiguities,


- don't delete old builds so quickly; on people.sugarlabs.org it is no
  longer possible to compare your previous build and the new build,

Okay, should I upload the build that I deleted?

- be more consistent with file names on your people.sugarlabs.org
  directory; the naming was inconsistent until you deleted an old
  build,

That file which I deleted wasn't an image build but a raw file of the build, I had uploaded that by mistake.

- always mail to sugar-devel@ any new build; don't expect people to go
  looking in your people.sugarlabs.org directory for changes.

Was thinking of including the method to add autologin feature with the image build I will publish on sugar-devel, will do both today.

Hope that helps!

Thanks for all the suggestions :)


On Mon, Jul 03, 2017 at 08:49:27PM +0530, Rishabh Thaney wrote:
> Thanks James for suggesting the Fedora SoAS, I did follow the instructions 
> on their page to flash it on my SD card but it still doesn't boot.
>
> Moreover we did arrive at a fix for automatic login today and it's working
> pretty well.
> I wil work on reproducing an image with the automatic login fix and upload it
> to my Sunjammer account.
>
> Warm regards
> Rishabh 
>
> On Mon, Jul 3, 2017 at 12:20 PM, James Cameron <[1]quozl at laptop.org> wrote:
>
>     Thanks to Thomas for testing and comparison of a recent Fedora SoaS
>     image, which has way more activities and has automatic login
>     configured.
>
>     [2]https://wiki.sugarlabs.org/go/Debian/Raspberry_Pi updated.
>
>     Given this, and the problems so far with rpi23-gen-image missing out
>     on recommended packages, and the two weeks it has taken to not fix the
>     automatic login, and their unfamiliarity with X server display manager
>     configuration, may I suggest the team switch to using Fedora SoaS?
>
>     This will set them forward on their task significantly, while still
>     meeting the original project idea.
>
>     There's also an issue with distributing the wireless firmware; Fedora
>     avoids it, but provides a FAQ explaining how to download it.  As
>     Fedora has a problem with distributing, so too may Sugar Labs.
>
>     [3]https://fedoraproject.org/wiki/Architectures/ARM/Raspberry_Pi?rd=
>     Raspberry_Pi#Wifi:
>
>     --
>     James Cameron
>     [4]http://quozl.netrek.org/
>     _______________________________________________
>     Sugar-devel mailing list
>     [5]Sugar-devel at lists.sugarlabs.org
>     [6]http://lists.sugarlabs.org/listinfo/sugar-devel
>
> References:
>
> [1] mailto:quozl at laptop.org
> [2] https://wiki.sugarlabs.org/go/Debian/Raspberry_Pi
> [3] https://fedoraproject.org/wiki/Architectures/ARM/Raspberry_Pi?rd=Raspberry_Pi#Wifi
> [4] http://quozl.netrek.org/
> [5] mailto:Sugar-devel at lists.sugarlabs.org
> [6] http://lists.sugarlabs.org/listinfo/sugar-devel

--
James Cameron
http://quozl.netrek.org/
_______________________________________________
Sugar-devel mailing list
Sugar-devel at lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20170707/1658cf2d/attachment.html>


More information about the Sugar-devel mailing list