From mboxrd@z Thu Jan 1 00:00:00 1970 From: Angad Date: Thu, 28 Jun 2007 07:43:37 -0700 (PDT) Subject: [U-Boot-Users] Set bootcmd through BDI2000 In-Reply-To: <92cac7300706272327t29e5c987u5fd932f1ecc7cff2@mail.gmail.com> References: <11335955.post@talk.nabble.com> <406A31B117F2734987636D6CCC93EE3CB05A32@ehost011-3.exch011.intermedia.net> <92cac7300706272327t29e5c987u5fd932f1ecc7cff2@mail.gmail.com> Message-ID: <11344420.post@talk.nabble.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Doing a setenv and saveenv write the variables to the eeprom. Erasing th eflash via the BDI does not reset those variables. Is there a way to erase the eeprom from the BDI. Thanks for the replies. nicky geerts wrote: > > I usually change the environment variables with setenv, saveenv and > printenv commands, and dump them to a file using the BDI2000 for > backup. If later on I need to restore those environment variables, I > just write the backup file back to the target flash. > > I don't think the BDI2000 is capable of changing the environment > variables in flash memory with just one command. > > Nicky Geerts > > 2007/6/28, Leonid : >> I don't exactly understand what you are trying to do. Can you please >> explain more clearly? If you have BDI2000 connected you can use it to >> re-image the board I think - why to change bootcmd? >> >> Anyway to change bootcmd you probably will need to re-burn entire u-boot >> environment: it has CRC and rewriting just one variable. It's possible >> based on u-boot sources write program which take as an input text >> script, generating u-boot environment, and makes binary image out of it >> which can be burned to u-boot environment area. >> >> Leonid. >> >> -----Original Message----- >> From: u-boot-users-bounces at lists.sourceforge.net >> [mailto:u-boot-users-bounces at lists.sourceforge.net] On Behalf Of Angad >> Sent: Wednesday, June 27, 2007 7:23 PM >> To: u-boot-users at lists.sourceforge.net >> Subject: [U-Boot-Users] Set bootcmd through BDI2000 >> >> >> Hi, >> >> Does anyone know if it is possible to set and env variable through the >> BDI2000 or set the bootcmd via the BDI2000? >> >> I am trying to download an image to an ppc board and want to be able to >> re-image the board by changing the bootcmd via the BDI programmer. >> >> Thanks >> -- >> View this message in context: >> http://www.nabble.com/Set-bootcmd-through-BDI2000-tf3992055.html#a113359 >> 55 >> Sent from the Uboot - Users mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------ >> - >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> U-Boot-Users mailing list >> U-Boot-Users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/u-boot-users >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> U-Boot-Users mailing list >> U-Boot-Users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/u-boot-users >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > U-Boot-Users mailing list > U-Boot-Users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/u-boot-users > > -- View this message in context: http://www.nabble.com/Set-bootcmd-through-BDI2000-tf3992055.html#a11344420 Sent from the Uboot - Users mailing list archive at Nabble.com.