* Deleting read-only environment variable on Sibyte board.
@ 2007-11-05 13:02 Ralf Baechle
2007-11-06 20:18 ` Manoj Ekbote
0 siblings, 1 reply; 5+ messages in thread
From: Ralf Baechle @ 2007-11-05 13:02 UTC (permalink / raw)
To: linux-mips
I've got a read-only environment variable on my Sibyte/Broadcom Bigsur
system. Annoyingly it's the network address. Any help on how to
delete such an undeletable environment variable would be welcome.
Thanks,
Ralf
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Deleting read-only environment variable on Sibyte board.
2007-11-05 13:02 Deleting read-only environment variable on Sibyte board Ralf Baechle
@ 2007-11-06 20:18 ` Manoj Ekbote
2007-11-06 22:28 ` Ralf Baechle
0 siblings, 1 reply; 5+ messages in thread
From: Manoj Ekbote @ 2007-11-06 20:18 UTC (permalink / raw)
To: Ralf Baechle, linux-mips
Hi Ralf,
Can you try 'Unsetenv [NAME]'?
>-----Original Message-----
>From: linux-mips-bounce@linux-mips.org
>[mailto:linux-mips-bounce@linux-mips.org] On Behalf Of Ralf Baechle
>Sent: Monday, November 05, 2007 5:03 AM
>To: linux-mips@linux-mips.org
>Subject: Deleting read-only environment variable on Sibyte board.
>
>I've got a read-only environment variable on my
>Sibyte/Broadcom Bigsur system. Annoyingly it's the network
>address. Any help on how to delete such an undeletable
>environment variable would be welcome.
>
>Thanks,
>
> Ralf
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Deleting read-only environment variable on Sibyte board.
2007-11-06 20:18 ` Manoj Ekbote
@ 2007-11-06 22:28 ` Ralf Baechle
2007-11-07 19:36 ` Manoj Ekbote
0 siblings, 1 reply; 5+ messages in thread
From: Ralf Baechle @ 2007-11-06 22:28 UTC (permalink / raw)
To: Manoj Ekbote; +Cc: linux-mips
On Tue, Nov 06, 2007 at 12:18:51PM -0800, Manoj Ekbote wrote:
> Hi Ralf,
>
> Can you try 'Unsetenv [NAME]'?
I'm getting an error message, something about the variable being read-only.
Thanks anyway,
Ralf
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Deleting read-only environment variable on Sibyte board.
2007-11-06 22:28 ` Ralf Baechle
@ 2007-11-07 19:36 ` Manoj Ekbote
2007-11-07 19:42 ` Ralf Baechle
0 siblings, 1 reply; 5+ messages in thread
From: Manoj Ekbote @ 2007-11-07 19:36 UTC (permalink / raw)
To: Ralf Baechle; +Cc: linux-mips
It looks like the variable was set with 'setenv -ro' command. This will
need a manual delete.
Bad news - This would probably require a new firmware build. There is
no current command to remove -ro variables (non-existing feature).
>-----Original Message-----
>From: Ralf Baechle [mailto:ralf@linux-mips.org]
>Sent: Tuesday, November 06, 2007 2:29 PM
>To: Manoj Ekbote
>Cc: linux-mips@linux-mips.org
>Subject: Re: Deleting read-only environment variable on Sibyte board.
>
>On Tue, Nov 06, 2007 at 12:18:51PM -0800, Manoj Ekbote wrote:
>
>> Hi Ralf,
>>
>> Can you try 'Unsetenv [NAME]'?
>
>I'm getting an error message, something about the variable
>being read-only.
>
>Thanks anyway,
>
> Ralf
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Deleting read-only environment variable on Sibyte board.
2007-11-07 19:36 ` Manoj Ekbote
@ 2007-11-07 19:42 ` Ralf Baechle
0 siblings, 0 replies; 5+ messages in thread
From: Ralf Baechle @ 2007-11-07 19:42 UTC (permalink / raw)
To: Manoj Ekbote; +Cc: linux-mips
On Wed, Nov 07, 2007 at 11:36:38AM -0800, Manoj Ekbote wrote:
> It looks like the variable was set with 'setenv -ro' command. This will
> need a manual delete.
> Bad news - This would probably require a new firmware build. There is
> no current command to remove -ro variables (non-existing feature).
I ran over a bit of documentation regarding how variables are stored by
CFE. Looks easy enough to write a little app to convert those variables
to writeable.
Ralf
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-11-07 19:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-05 13:02 Deleting read-only environment variable on Sibyte board Ralf Baechle
2007-11-06 20:18 ` Manoj Ekbote
2007-11-06 22:28 ` Ralf Baechle
2007-11-07 19:36 ` Manoj Ekbote
2007-11-07 19:42 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox