Re: Update firmware with a custom image

2013-04-28 Thread James Cameron
The normal firmware upgrade method that Daniel describes occurs after
operating system install, but before first boot of the operating
system ... provided external power is available.  After the firmware
upgrade, the next boot occurs automatically and the operating system
takes control.

I can imagine situations where firmware should be updated before
operating system install, but we tried to avoid them during
development.  The scenarios include:

- use of fs0.zip and fs1.zip on same USB drive, (very old XO-1
  firmware does not look for fs0.zip); workaround is to copy fs0.zip
  to fs.zip,

- now fixed firmware bugs that prevent copy-nand or fs-update
  completion.

It doesn't include scenarios of USB drive incompatibility, since the
fixed bugs in that realm would also prevent automatic firmware upgrade
from a USB drive.

If you have scenario where operating system must have later firmware
version for successful use, then you must also ensure external power
is connected on first boot.

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


Re: Update firmware with a custom image

2013-04-28 Thread Daniel Drake
On Sun, Apr 28, 2013 at 2:08 PM,   wrote:
> I’ve created my own image using OS Builder and customized the bootloader.
>
> So I’ve got now an USB key that update the os image but I wonder if the key
> could update also the firmware version.
>
> I understand that the OS Image embed a new firmware. Is it the case?

Yes, check the packages.txt output file from olpc-os-builder, look for
the bootfw or olpc-firmware-q* package version. That firmware is
included in the image and laptops will auto-upgrade on first boot.

> Is there a way to upgrade the firmware easily from the customized
> bootloader?

It's possible, but it might be a little tricky since you would have to
put appropriate code in your olpc.fth boot script on the USB disk. For
simplicity I would stick with the OS-embedded firmware upgrade unless
that is going to be problematic.

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


Update firmware with a custom image

2013-04-28 Thread lionel
Hi all,

 

I’ve created my own image using OS Builder and customized the bootloader.

So I’ve got now an USB key that update the os image but I wonder if the key
could update also the firmware version.

I understand that the OS Image embed a new firmware. Is it the case?

Is there a way to upgrade the firmware easily from the customized
bootloader?

 

Best regards from France.

 

Lionel.

 

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