Difference between revisions of "Debian/Raspberry Pi"

From Sugar Labs
Jump to navigation Jump to search
(change layout of fedora soas test method)
Line 26: Line 26:
 
Fedora SoaS does not include wireless firmware, see the [https://fedoraproject.org/wiki/Architectures/ARM/Raspberry_Pi?rd=Raspberry_Pi#Wifi: FAQ] for a fix.
 
Fedora SoaS does not include wireless firmware, see the [https://fedoraproject.org/wiki/Architectures/ARM/Raspberry_Pi?rd=Raspberry_Pi#Wifi: FAQ] for a fix.
  
=== 2017-07-02 ===
+
=== 2017-07-03 ===
====Suggested Installation====
 
*Using  [https://github.com/MartinBriza/MediaWriter/releases Fedora Media Writer]
 
download Fedora-SoaS-armhfp-26-1.3-sda.raw.xz
 
select and extract
 
start Fedora Media Writer (FMW)
 
select "Custom"
 
select Fedora-SoaS-armhfp-26-1.3-sda.raw
 
Insert micro SD in Mini Card Reader and insert in USB port
 
Choose rpi3 from drop-down in FMW
 
Write micro SD
 
Insert in rpi3 slot and power up
 
  
 
*[https://dl.fedoraproject.org/pub/alt/stage/26_RC-1.3/Spins/armhfp/images/Fedora-SoaS-armhfp-26-1.3-sda.raw.xz Fedora-SoaS-armhfp-26-1.3-sda.raw.xz] at Fedora Project.
 
*[https://dl.fedoraproject.org/pub/alt/stage/26_RC-1.3/Spins/armhfp/images/Fedora-SoaS-armhfp-26-1.3-sda.raw.xz Fedora-SoaS-armhfp-26-1.3-sda.raw.xz] at Fedora Project.
Line 50: Line 39:
  
 
My Settings, Network, Collaboration Server was set to jabber.sugarlabs.org before this screenshot.  The default in Sugar 0.110 is not to use jabber.sugarlabs.org unless configured.
 
My Settings, Network, Collaboration Server was set to jabber.sugarlabs.org before this screenshot.  The default in Sugar 0.110 is not to use jabber.sugarlabs.org unless configured.
 +
 +
Rishabh used Etcher but his rpi3 [http://lists.sugarlabs.org/archive/sugar-devel/2017-July/054458.html did not boot].  James and Rishabh confirmed four partitions on the card of the correct size.  James suggested checking for write corruption by reading back the exact number of blocks written and comparing md5sum.  Thomas suggested writing to microSD card using [https://github.com/MartinBriza/MediaWriter/releases Fedora Media Writer]; here are his test steps;
 +
 +
* download Fedora-SoaS-armhfp-26-1.3-sda.raw.xz
 +
* select and extract
 +
* start Fedora Media Writer (FMW)
 +
* select "Custom"
 +
* select Fedora-SoaS-armhfp-26-1.3-sda.raw
 +
* Choose rpi3 from drop-down in FMW
 +
* Insert micro SD in Mini Card Reader and insert in USB port
 +
* Choose rpi3 from drop-down in FMW
 +
* Write micro SD
 +
* Insert in rpi3 slot and power up
  
 
== Reproducing ==
 
== Reproducing ==

Revision as of 19:48, 3 July 2017

Download

Rishabh Thaney has made a build for Raspberry Pi using Debian;

See also: GSoC 2017 Project Ideas by Sugar Labs, GSoC 2017 Proposal by Rishabh, and GSoC 2017 Blog by Rishabh.

Testing

Report issues to https://github.com/sugarlabs/rpi23-gen-image

Select "sugar" in top right bar at login.

2017-06-26

Home View (F3 key).

RaspberryPiDebianStretchHomeView.png

Comparison

Please also compare against the Fedora 26 SoaS image, as it has many more working activities.

Fedora SoaS does not include wireless firmware, see the FAQ for a fix.

2017-07-03

Home View (F3 key).

Screenshot of Home .png

Neighborhood View (F1 key).

Screenshot of Mesh .png

My Settings, Network, Collaboration Server was set to jabber.sugarlabs.org before this screenshot. The default in Sugar 0.110 is not to use jabber.sugarlabs.org unless configured.

Rishabh used Etcher but his rpi3 did not boot. James and Rishabh confirmed four partitions on the card of the correct size. James suggested checking for write corruption by reading back the exact number of blocks written and comparing md5sum. Thomas suggested writing to microSD card using Fedora Media Writer; here are his test steps;

  • download Fedora-SoaS-armhfp-26-1.3-sda.raw.xz
  • select and extract
  • start Fedora Media Writer (FMW)
  • select "Custom"
  • select Fedora-SoaS-armhfp-26-1.3-sda.raw
  • Choose rpi3 from drop-down in FMW
  • Insert micro SD in Mini Card Reader and insert in USB port
  • Choose rpi3 from drop-down in FMW
  • Write micro SD
  • Insert in rpi3 slot and power up

Reproducing

This was reproduced on Debian stretch platform which was set up in an schroot shell on Ubuntu.

Setup Schroot

Set up a schroot environment like this:

  • Install the schroot and debootstrap packages,
sudo apt install schroot debootstrap
  • Create the stretch filesystem,
sudo mkdir -p /srv/chroot/stretch
sudo debootstrap stretch /srv/chroot/stretch
  • Make a file /etc/schroot/chroot.d/stretch,
[stretch]
type=directory
personality=linux
directory=/srv/chroot/stretch
  • Log into your schroot shell from the terminal,
sudo schroot -c stretch

See https://wiki.debian.org/Schroot for alternate methods.

Setup Builder

Setup the builder within the schroot shell like this;

  • Clone the repository
git clone https://github.com/sugarlabs/rpi23-gen-image
  • Install dependencies by going through the README.md file and executing the commands described,

Run Builder

  • Change your directory to the cloned repo and run this command to start the building process:
sh rpi23-gen-image.sh

This takes some time as the scripts start downloading and configuring packages to build an image.

  • Once the process is complete in the terminal, navigate to this directory:
~/rpi23-gen-image/images/stretch

to find the image that was built.

Some changes have been made to the original repo: https://github.com/drtyhlpr/rpi23-gen-image which can be viewed in the commit history.