Re: SD Sugar boot for XO-1

2014-05-14 Thread James Cameron
Why exclude devel@?  Re-added.

On Wed, May 14, 2014 at 10:30:53PM -0400, Nathan C. Riddle wrote:
> TK,
> I have tried to follow the thread on "Boot Menu on XO".
> Have you gone beyond the boot int:x and boot ext:x   to use internal
> or external SD ?

Open Firmware will boot from any media present; it tries USB first,
then external SD card slot, then whatever the internal storage is.

> If this is still the simple case, I am missing why this is not
> possible on an unlocked XO-1 .

It is possible, but it does not work, because it was never completed
during development.

> The installation on the SD is same
> (?):
> devalias fsdisk ext:0
> fs-update u:\nameoftheimage.zd

No, the installation on SD card would have to be entirely different,
because an XO-1 lacks fsdisk and fs-update.

> Is boot ext:x not available in XO-1 firmware ?  (x is
> \boot\olpc.fth)

Manual boot from SD card is available on XO-1 firmware, but it is not
needed, because Open Firmware will boot from any media present.

> I have recently installed on XO-1.5 , 13.2.0 on  SD (class 10) with
> Firefox and Flash (per Jame's fine posts here).  (The erase step on
> SD appears to be almost twice as fast on this faster card versus
> internal card.)  Reasonable Flash performance.  These faster cards
> (8 GB) are under $10 at the local WalMart. :)

There is no erase step per se.  You're seeing the write step, and the
card may have been pre-erased.  Next time you do this it will be
slower.

Yes, modern cards can be quite fast.  Look for one with a specified
write speed designed for video recording, and it might increase the
performance of the whole system.

-- 
James Cameron
http://quozl.linux.org.au/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: XO 1.75 Slow to turn off

2014-05-14 Thread James Cameron
First please run the hardware diagnostic tests and report any
problems, see:

http://wiki.laptop.org/go/XO_Self_Test

I agree with Gonzalo, there is not enough problem description in your
mail, and there are two problems which may not be related.

I've seen Browse activity fail to download, and it is usually network
problems, which can be verified using Firefox in Gnome, or wget in
Terminal.  Sugar logs, as Gonzalo says, will help diagnosis.

I've seen five minute shutdown delay for various causes, and when it
happens there is ample evidence in /var/log/messages file or dmesg
command to find the cause.

However, keyboard may not respond, and /var/log is lost on reboot, so
you may temporarily remove /var/log from /etc/fstab, reboot, then
reproduce the problem.  Reboot again, and then look at
/var/log/messages file.  On recent builds you may edit
/etc/rsyslogd.conf to remove the automatic rotate when the file
reaches 1MB.

You may also attach a serial adapter to the serial console port inside
the laptop to diagnose shutdown delays.  See:

http://wiki.laptop.org/go/Serial_adapters

@Gonzalo, minor note, microSD and eMMC do not ever show bad blocks,
they are managed by the controller inside the device, so red blocks
are never shown.  Red blocks are XO-1 only.

-- 
James Cameron
http://quozl.linux.org.au/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: XO 1.75 Slow to turn off

2014-05-14 Thread Gonzalo Odiard
Please understand is difficult provide some help with so few information


On Wed, May 14, 2014 at 8:28 PM, Juan Carlos Garcés Mariño <
juancarlosgarc...@hotmail.com> wrote:

> Symtoms
> I have a laptop that is delayed to turn off at least five minutes
>

When this happen? Every time or in some case?
Happen only with one xo in particular?
There are flashing icons in the top frame?
Can you provide the sugar log file when this happen?
(/home/olpc/.sugar/default/log/shell.log)
If you can zip all the directory /home/olpc/.sugar/default/log/
could be better


> also the browse activity fail when download something or is slow and
> blocked
>
>
What Browse activity version are you using?
Again, is only with one device?
Can you point to a concrete example and add numbers?



> What I've done:
> Reinstalling of sugar to 0.100 version but the problem remains same
>
> help me
>
>
When you flashed the xo, did you see many red blocks?
(may be is a problem in the eMMC storage?)

Gonzalo


>
>
>
> *Juan Carlos Garcés M.Ing. ElectrónicoCel. 311 819 0835Bogotá - Colombia *
>
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
>


-- 
Gonzalo Odiard

SugarLabs - Software for children learning
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


XO 1.75 Slow to turn off

2014-05-14 Thread Juan Carlos Garcés Mariño
SymtomsI have a laptop that is delayed to turn off at least five minutesalso 
the browse activity fail when download something or is slow and blocked
What I've done:Reinstalling of sugar to 0.100 version but the problem remains 
same
help me

Juan Carlos Garcés M.
Ing. Electrónico
Cel. 311 819 0835
Bogotá - Colombia ___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Announcing another early Android build for XO-4

2014-05-14 Thread ben

Thanks, SD boot will be in next release. :)

On 05/12/2014 05:58 PM, James Cameron wrote:

On Mon, May 12, 2014 at 11:35:12AM +1200, ben wrote:

On 05/12/2014 11:26 AM, James Cameron wrote:

but i thought mmcblk0 is always the device booted from, regardless of
whether it is internal or external.

Not on my XO-4. It maps external to mmcblk1 if booted from external.

Thanks, yes, that's what it looks like.  I don't think it is reliable
though, as it depends on the discovery order, which is not
predictable.  See commend in olpc-sd.rules in dracut-modules-olpc.

Looking at olpc-boot-cmdline.sh in dracut-modules-olpc, we use
/dev/disk/mmc references instead of the legacy /dev/mmcblk references.



___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: SD Sugar boot for XO-1

2014-05-14 Thread James Cameron
On Wed, May 14, 2014 at 11:57:31AM +, tkk...@nurturingasia.com wrote:
> Is there a complete step by setp quick instruction that I can create
> a SD card that will boot Sugar for XO-1 machines? I am happy SD card
> deployment running on XO 1.75 and felt maybe I could do the same for
> the older machines.

No, there is no such guide.

It is possible to do, but nobody has written a guide.

I did ask for help on this on 9th December on support-gang@, but no
material help emerged.  I include the posting below signature.  The
expertise required include Fedora operating system early boot and the
dracut initramfs builder.  devel@ mailing list contains this
expertise, support-gang@ has far fewer.

The external SD slot is not as reliable on the XO-1 as it is on later
models, so you might find some XO-1 that won't work with it.  A quick
demonstration of external SD slot booting can be made by copying the
boot folder from a Tiny Core Linux USB drive to an SD card.

-- 
James Cameron
http://quozl.linux.org.au/

Date: Mon, 9 Dec 2013 16:20:30 +1100
From: James Cameron 
To: support-g...@lists.laptop.org
Subject: Wanted: XO-1 boot from external SD

Hyoomin on IRC #olpc asked about installing OLPC OS on external SD
card on an XO-1.

This would allow easer re-use of still working XO-1 laptops for people
willing to put up with their low performance and old age cranky
habits.

I could be wrong, but as far as I know this doesn't work, but could be
made to work with some engineering effort.

If I am wrong, please say how you did it, so it can be documented on
the Wiki.

Technical stuff: the key to the problem seems to be the initramfs
which has a file olpc-boot-cmdline.sh that doesn't have an entry for
the XO-1 external SD slot.

http://dev.laptop.org/git/users/dsd/dracut-modules-olpc/tree/30olpc-boot/olpc-boot-cmdline.sh

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Minor changes to olpc-kbdshim and olpc-powerd

2014-05-14 Thread Peter Robinson
On Wed, May 14, 2014 at 2:20 PM, Martin Langhoff
 wrote:
> From bz traffic, I think these packages are in the process of changing
> to no longer auto-activate systemd services. Not sure which Fedora
> versions these updates will land in.

It's part of Fedora policy, will only be in F-20+

> olpc-os-builder should learn to activate them. I don't think F20
> images work completely these days, I just wanted to mention this as
> I'm sure it'll help.

That is in fact true of all services we depend on actually. The
standard Fedora policy now is to not activate installed services by
default.

> The changed packages are in QA, so they'll land in a few days in... F20? F21?

Already in F-21 but I'm happy the leave them languish in
updates-testing for as long as needed.

Just to reiterate this won't just be a problem with those two services.

Peter

>
>
>
> m
> --
>  martin.langh...@gmail.com
>  -  ask interesting questions
>  - don't get distracted with shiny stuff  - working code first
>  ~ http://docs.moodle.org/en/User:Martin_Langhoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Minor changes to olpc-kbdshim and olpc-powerd

2014-05-14 Thread Martin Langhoff
>From bz traffic, I think these packages are in the process of changing
to no longer auto-activate systemd services. Not sure which Fedora
versions these updates will land in.

olpc-os-builder should learn to activate them. I don't think F20
images work completely these days, I just wanted to mention this as
I'm sure it'll help.

The changed packages are in QA, so they'll land in a few days in... F20? F21?




m
-- 
 martin.langh...@gmail.com
 -  ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 ~ http://docs.moodle.org/en/User:Martin_Langhoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel