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
Hi Ralf,
Can you try 'Unsetenv [NAME]'?
Quoted 18 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Ralf Baechle
Sent: Monday, November 05, 2007 5:03 AM
To: [email protected]
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
Quoted 3 lines · Manoj Ekbote
Hi Ralf,
Can you try 'Unsetenv [NAME]'?
I'm getting an error message, something about the variable being read-only.
Thanks anyway,
Ralf
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).
Quoted 21 lines
-----Original Message-----
From: Ralf Baechle [mailto:[email protected]]
Sent: Tuesday, November 06, 2007 2:29 PM
To: Manoj Ekbote
Cc: [email protected]
Subject: Re: Deleting read-only environment variable on Sibyte board.Quoted 3 lines · Manoj Ekbote
Hi Ralf,
Can you try 'Unsetenv [NAME]'?
I'm getting an error message, something about the variable being read-only.
Thanks anyway,
Ralf
Quoted 4 lines · Manoj Ekbote
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