Re: Anybody have a fw_env.config file for Sheeva Plug et al? use with uboot-envtools package?

2011-06-28 Thread Clint Adams
On Sun, Jun 26, 2011 at 04:40:04PM -0400, Daniel Kahn Gillmor wrote:
> if searching through the NAND is a reasonable way to solve this problem
> (i think it is, at least for some NAND layouts), perhaps it would be
> good to have a tool that knows how to do this automatically.

I don't think it's that useful in the general case; we know
which address is used by the image in the u-boot package, and
I don't see the value in developing tools to deal with forks
of dubious provenance.

> maybe it should be filed as a wishlist bug against uboot-envtools?

That's a transitional dummy package.


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110628184335.ga8...@scru.org



Re: Anybody have a fw_env.config file for Sheeva Plug et al? use with uboot-envtools package?

2011-06-26 Thread Daniel Kahn Gillmor
On 06/25/2011 06:18 PM, Clint Adams wrote:
> On Sat, Jun 25, 2011 at 04:14:30PM -0400, Rick Thomas wrote:
>> It does list a bunch of example files in
>>  /etc/share/doc/uboot-envtools/examples/
>> but it doesn't say which one (if any) of them are good
>> for use with the SheevaPlug (or any of it's relatives).
>>
>> Can anybody give me a clue?
> 
> If you're using mainline or the Debian U-Boot, this line
> should work:
> 
> /dev/mtd0   0x6 0x2 0x2
> 
> If you're using one of the wonky Marvell forks, it might be this:
> 
> /dev/mtd0  0xa 0x2 0x2
> 
> If it's neither, you can either find the source of your U-Boot
> version or search through the contents of NAND to find the correct
> offsets.

if searching through the NAND is a reasonable way to solve this problem
(i think it is, at least for some NAND layouts), perhaps it would be
good to have a tool that knows how to do this automatically.

I don't have the time to work on a new tool like this, but i don't think
it would be a huge project.  Anyone looking to cut their teeth on this
kind of stuff might consider doing this.

Is there a particular RFE-tracker (or a wiki page of "missing pieces",
etc) that this task could go on until someone picks it up to do it?

maybe it should be filed as a wishlist bug against uboot-envtools?

--dkg

--dkg



signature.asc
Description: OpenPGP digital signature


Re: Anybody have a fw_env.config file for Sheeva Plug et al? use with uboot-envtools package?

2011-06-25 Thread Rick Thomas


On Jun 25, 2011, at 6:18 PM, Clint Adams wrote:


If you're using one of the wonky Marvell forks, it might be this:

/dev/mtd0  0xa 0x2 0x2


Apparently that's what I'm using.  I installed that and then
(assuming that fw_printenv wouldn't do any harm -- I know: "Never  
assume!")
I tried fw_printenv and got output that got output that looks  
reasonable.


Thanks for your help!

Rick


--
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/c9292824-fff8-4713-a674-c07d13807...@pobox.com



Re: Anybody have a fw_env.config file for Sheeva Plug et al? use with uboot-envtools package?

2011-06-25 Thread Clint Adams
On Sat, Jun 25, 2011 at 04:14:30PM -0400, Rick Thomas wrote:
> It does list a bunch of example files in
>   /etc/share/doc/uboot-envtools/examples/
> but it doesn't say which one (if any) of them are good
> for use with the SheevaPlug (or any of it's relatives).
> 
> Can anybody give me a clue?

If you're using mainline or the Debian U-Boot, this line
should work:

/dev/mtd0   0x6 0x2 0x2

If you're using one of the wonky Marvell forks, it might be this:

/dev/mtd0  0xa 0x2 0x2

If it's neither, you can either find the source of your U-Boot
version or search through the contents of NAND to find the correct
offsets.


-- 
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110625221803.gb2...@scru.org



Anybody have a fw_env.config file for Sheeva Plug et al? use with uboot-envtools package?

2011-06-25 Thread Rick Thomas


The uboot-envtools package does not put a
/etc/fw_env.config
file in place when installed.

It does list a bunch of example files in
/etc/share/doc/uboot-envtools/examples/
but it doesn't say which one (if any) of them are good
for use with the SheevaPlug (or any of it's relatives).

Can anybody give me a clue?

Thanks!

Rick


--
To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/f7df891f-87a3-4c1d-bba7-9125df5d9...@pobox.com