Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-21-2009, 12:45 PM   #1
Registered: Feb 2009
Location: Bangalore
Posts: 61

Rep: Reputation: 15
uboot fw_setenv error

I want to change one of the environmental variables.
I use fw-printenv to see all the variables.
When I want to change the serverip, I do
fw_setenv serverip a.b.c.d
fw_printenv also shows the new server ip.
But when I reboot the system, the serverip gets the default value
and printenv shows the default value.

What should I do to make the change non-volaile, so that it doesnt
gets changed after a reboot.

Jaya Dhanesh
Old 08-21-2009, 02:28 PM   #2
Senior Member
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Originally Posted by jayadhanesh View Post
What should I do to make the change non-volatile, so that it doesn't gets changed after a reboot?
You probably want to search the U-Boot mailing list first. If you don't find an answer, you will want to post to the U-Boot mailing list.
Old 08-21-2009, 04:19 PM   #3
LQ Newbie
Registered: Jul 2008
Posts: 19

Rep: Reputation: 0
Cool help reveals saveenv

If you type help from the u-boot prompt you will see a list of all available commands. You are looking for savenv or similiar.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
UBOOT porting to Blackfin (bf537-ezkit) IND Linux - Kernel 0 03-18-2009 06:45 AM
Where to find vivi, uBoot, kernel source? waqasdanish Linux - Laptop and Netbook 0 11-02-2007 09:49 AM
uboot unable to start arm embedded kernal kandhala Linux - Software 0 09-26-2007 05:12 AM
Is uboot generated by the bootloader of omap 2430 is specific to linux neenu19 Linux - General 3 03-30-2007 01:43 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration