All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Can i pass pass an environmental variable or argument from command line to build u-boot?
@ 2014-11-06 15:30 harsha kiran
  2014-11-06 15:58 ` Tom Rini
  0 siblings, 1 reply; 5+ messages in thread
From: harsha kiran @ 2014-11-06 15:30 UTC (permalink / raw)
  To: u-boot

Hi !

For our project, we are trying to build the Bootloader with a Software
partnumber. and i want it to be displayed on the first U-boot print..


U-Boot 2014.07 (Nov 05 2014 - 16:27:50) PN#12345678-001

I2C:   ready
DRAM:  256 MiB
WARNING: Caches not enabled
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment

I was able to do this by adding the following in the boards.cfg file..

Active  arm         armv7          am33xx      ti             
am335x_abb_uboot    am335x_abb_uboot_npa_dev				
am335x_abb_uboot:SERIAL4,CONS_INDEX=4,NPA_DEV,IDENT_STRING="PN#12345678-001" 

But i want to pass the IDENT_STRING from the command line to build the
u-boot..the command i use is 

sudo make ARCH=arm
CROSS_COMPILE=/abb/compilers/gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux/bin/arm-linux-gnueabihf-
-j8 -s am335x_abb_uboot_npa_dev_config

is there a way i can pass this argument while building the u-boot? 

Thanks,
Harsha






--
View this message in context: http://u-boot.10912.n7.nabble.com/Can-i-pass-pass-an-environmental-variable-or-argument-from-command-line-to-build-u-boot-tp194962.html
Sent from the U-Boot mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-11-06 17:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-06 15:30 [U-Boot] Can i pass pass an environmental variable or argument from command line to build u-boot? harsha kiran
2014-11-06 15:58 ` Tom Rini
2014-11-06 16:43   ` harsha kiran
2014-11-06 17:22     ` Masahiro YAMADA
2014-11-06 17:40       ` harsha kiran

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.