From: Grahame J. <gb...@th...> - 2008-11-28 01:10:36
|
Hi, Is there a way to set bootargs from a linux login session? Will mtdtools do it? Thanks Grahame Jordan |
From: Frank A. <ft...@ya...> - 2008-12-01 15:00:04
|
Grahame Jordan wrote: > Hi, > > Is there a way to set bootargs from a linux login session? Will mtdtools > do it? > Grahame, The utility fw_printenv will display u-boot variables and fw_setenv can create and modify u-boot variables. The source code for the utilities can be found in the u-boot tree, in directory "tools/env". The fw_printenv binary also contains the code for fw_setenv. The functions of fw_setenv are run when the program is invoked with the name "fw_setenv". This is most easily accomplished by creating a symbolic link from fw_printenv to fw_setenv. frank agius |
From: Grahame J. <gb...@th...> - 2008-12-02 06:35:17
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Frank Agius wrote: <blockquote cite="mid:gh0u53$ll7$1...@ge..." type="cite"> <pre wrap="">Grahame Jordan wrote: </pre> <blockquote type="cite"> <pre wrap="">Hi, Is there a way to set bootargs from a linux login session? Will mtdtools do it? </pre> </blockquote> <pre wrap=""><!---->Grahame, The utility fw_printenv will display u-boot variables and fw_setenv can create and modify u-boot variables. The source code for the utilities can be found in the u-boot tree, in directory "tools/env". The fw_printenv binary also contains the code for fw_setenv. The functions of fw_setenv are run when the program is invoked with the name "fw_setenv". This is most easily accomplished by creating a symbolic link from fw_printenv to fw_setenv. frank agius ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world <a class="moz-txt-link-freetext" href="http://moblin-contest.org/redirect.php?banner_id=100&url=/">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a> _______________________________________________ gumstix-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:gum...@li...">gum...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/gumstix-users">https://lists.sourceforge.net/lists/listinfo/gumstix-users</a> </pre> </blockquote> Hi Frank,<br> <br> This works great thanks.<br> I can build fw_printenv, fw_setenv in BuildRoot but I cannot get u-boot to build in OE?<br> <br> bitbake u-boot results in:<br> | NOTE: make CROSS_COMPILE=arm-angstrom-linux-uclibcgnueabi- gumstix-custom-basix_config<br> | make: *** No rule to make target `gumstix-custom-basix_config'. Stop.<br> | FATAL: oe_runmake failed<br> <br> Cheers<br> <br> Grahame Jordan<br> <br> <br> <br> <br> <br> <br> <br> </body> </html> |