Re: Broken XO battery (battery LED flashes red)

2009-11-12 Thread Richard A. Smith

> > Interesting. I tried this by downloading batman.fth to USB and trying fload
> u:\batman.fth
> 
> I get the following errors:
> 
> fileih isn't unique
> bat-b@ isn't unique
> ok
> 
> Any ideas?

Those aren't errors you can ignore them and things should still work.  
batman.fth grew enough useful features that I started pulling in a lot of it 
into the shiping firmware. So there are duplicate names for some of the stuff.  
Thats Forth indicating that there were previously existing definitions for 
those that have now been overridden.  
 
-- 
Richard A. Smith  
One Laptop per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Broken XO battery (battery LED flashes red)

2009-11-12 Thread Dave Bauer
On Wed, Nov 11, 2009 at 2:22 AM, Richard A. Smith wrote:

> >
> > Can the battery be fixed?
>
> Yes.  You don't appear to have any of the multiple 0xffs in your banks so
> look like its just your pack status is 0x00 rather than 0x6a
>
> Grab the latest batman.fth  (As of 2 minutes ago, I just updated it)
> http://dev.laptop.org/pub/firmware/scripts/batman.fth
>
> ok fload u:\batman.fth
> ok bat-fix-error-2
> ok batman-stop
>
> Interesting. I tried this by downloading batman.fth to USB and trying fload
u:\batman.fth

I get the following errors:

fileih isn't unique
bat-b@ isn't unique
ok

Any ideas?

Thanks
Dave
Firmware Q2E41

> > How can a dump the output of bat-dump-banks in a file on a USB flash
> > drive? We had to copy it manually.
>
> Theres not a way to put bat-dump-banks on a file unless you have a serial
> console.  There is the ability to save a copy of the eeprom but thats
> binary.
>
> Rather than post up the whole output of bat-dump-banks I'll update the
> troubleshooting guide and include what to be looking for to determine if
> there are no other errors.  I'll also need to add the bit about
> bat-fix-error-2
>
> --
> Richard A. Smith  
> One Laptop per Child
> ___
> Devel mailing list
> Devel@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>



-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Broken XO battery (battery LED flashes red)

2009-11-11 Thread Philipp Kocher
The battery is fixed. Worked perfectly.
Thanks very much.

Regards,
Philipp

Richard A. Smith wrote:
>> Can the battery be fixed?
> 
> Yes.  You don't appear to have any of the multiple 0xffs in your banks so 
> look like its just your pack status is 0x00 rather than 0x6a
> 
> Grab the latest batman.fth  (As of 2 minutes ago, I just updated it)   
> http://dev.laptop.org/pub/firmware/scripts/batman.fth
> 
> ok fload u:\batman.fth
> ok bat-fix-error-2
> ok batman-stop
>  
>> How can a dump the output of bat-dump-banks in a file on a USB flash
>> drive? We had to copy it manually.
> 
> Theres not a way to put bat-dump-banks on a file unless you have a serial 
> console.  There is the ability to save a copy of the eeprom but thats binary.
> 
> Rather than post up the whole output of bat-dump-banks I'll update the 
> troubleshooting guide and include what to be looking for to determine if 
> there are no other errors.  I'll also need to add the bit about 
> bat-fix-error-2 
> 

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


Re: Broken XO battery (battery LED flashes red)

2009-11-10 Thread Richard A. Smith
> 
> Can the battery be fixed?

Yes.  You don't appear to have any of the multiple 0xffs in your banks so look 
like its just your pack status is 0x00 rather than 0x6a

Grab the latest batman.fth  (As of 2 minutes ago, I just updated it)   
http://dev.laptop.org/pub/firmware/scripts/batman.fth

ok fload u:\batman.fth
ok bat-fix-error-2
ok batman-stop
 
> How can a dump the output of bat-dump-banks in a file on a USB flash
> drive? We had to copy it manually.

Theres not a way to put bat-dump-banks on a file unless you have a serial 
console.  There is the ability to save a copy of the eeprom but thats binary.

Rather than post up the whole output of bat-dump-banks I'll update the 
troubleshooting guide and include what to be looking for to determine if there 
are no other errors.  I'll also need to add the bit about bat-fix-error-2 

-- 
Richard A. Smith  
One Laptop per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Broken XO battery (battery LED flashes red)

2009-11-10 Thread Philipp Kocher
Hi

The battery LED is flashing red and "ec-abnormal@ ." at the OFW prompt
gives back the value 2 (Wrong Pack setting).

As described in the battery troubleshooting guide we did a
bat-dump-banks and got the following result:

Regs
   8  9  a  b  c  d  e  f  0  1  2  3  4  5  6  7
ffb61e18 ff 00 ff ff ff ff ff 38 b8 ff ff ff 53 0c ff fe
ffb61e28 84 be ff ff ff ff ff ff 1d 9b 00 00 ff ff ff ff

Bank 0
   8  9  a  b  c  d  e  f  0  1  2  3  4  5  6  7
ffb61e18 00 00 00 00 00 00 70 74 01 18 21 5b 54 05 e6 e1
ffb61e28 d4 00 08 00 00 00 98 40 04 00 00 00 00 00 00 00

Bank 1
   8  9  a  b  c  d  e  f  0  1  2  3  4  5  6  7
ffb61e18 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffb61e28 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 22

Bank 2
   8  9  a  b  c  d  e  f  0  1  2  3  4  5  6  7
ffb61e18 08 07 02 02 00 00 a4 00 01 72 00 22 26 00 1e 1a
ffb61e28 00 e5 00 00 00 00 00 00 00 00 00 00 00 00 00 00


Can the battery be fixed?
How can a dump the output of bat-dump-banks in a file on a USB flash
drive? We had to copy it manually.

Best regards,
Philipp

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