Re: [U-Boot] Low priority request for info about alternative to #ifdef

2017-04-07 Thread James Chargin
Did I make a mistake including "Low priority" in the subject? If anyone remembers this discussion, I'd appreciate a pointer. Thanks, Jim On 03/21/2017 07:08 AM, James Chargin wrote: Hi I've seen periodic discussion on the U-Boot mailing list of alternatives to #ifdef. I need

[U-Boot] Low priority request for info about alternative to #ifdef

2017-03-21 Thread James Chargin
Hi I've seen periodic discussion on the U-Boot mailing list of alternatives to #ifdef. I need a bit more information about one specific alternative, but in my searches of the source for 2017.03, I can't find examples that might help me. Also, my memory of this is a dim so I'm not sure I'm

Re: [U-Boot] [PATCH] net: use random ethernet address if invalid and not zero

2016-11-07 Thread James Chargin
Hi Joe, Thanks for your reply. On 11/07/2016 10:20 AM, Joe Hershberger wrote: Hi Jim, On Wed, Nov 2, 2016 at 8:21 AM, James Chargin <jimccr...@gmail.com> wrote: Hi, Regarding "invalid" Ethernet address. Is there a reliable way to set the default environment that will

Re: [U-Boot] dtc 1.4.2 warnings

2016-11-03 Thread James Chargin
On 11/03/2016 04:14 AM, Tom Rini wrote: On Thu, Nov 03, 2016 at 12:30:30PM +0800, Bin Meng wrote: Hi, After I switched to dtc 1.4.2, when building x86 boards, I got: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name [snip] Should we fix those

Re: [U-Boot] [PATCH] net: use random ethernet address if invalid and not zero

2016-11-02 Thread James Chargin
Hi, Regarding "invalid" Ethernet address. Is there a reliable way to set the default environment that will prevent Ethernet communications from being attempted. That is, when an Ethernet capable system is brand new and before an Ethernet MAC address has been assigned to that system during

Re: [U-Boot] [PATCH v2] fs:When 'go' run the program by 'fatload', added the cache flush to prevent cache mismatch.

2016-10-10 Thread James Chargin
Dear yoko, On 10/07/2016 08:20 PM, yoko wrote: Signed-off-by: yoko --- Changes for v2: - The commit message is changed. fs/fs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/fs.c b/fs/fs.c index 595ff1f..7607230 100644 --- a/fs/fs.c +++

Re: [U-Boot] A command to discard saved environments?

2016-08-03 Thread James Chargin
Dear Wolfgang, On 08/03/2016 12:59 PM, Wolfgang Denk wrote: Dear James, In message you wrote: I know my non-volatile copy of the environment is in NOR flash so I use the command protect all off;erase +1 But, of course this is specific to NOR

Re: [U-Boot] A command to discard saved environments?

2016-08-03 Thread James Chargin
I know my non-volatile copy of the environment is in NOR flash so I use the command protect all off;erase +1 But, of course this is specific to NOR flash. I'm not aware of a way to do this in the general case, independent of NV environment storage media and redundancy. I'd be supportive

Re: [U-Boot] ARMv7 Execution Flow

2016-06-06 Thread James Chargin
Hi James, On 06/05/2016 08:48 PM, Lokesh Vutla wrote: Hi James, On Saturday 04 June 2016 12:25 AM, James Pollard wrote: Hi, I'm a new U-Boot user. I'm trying to follow the flow of execution for the ARMv7 architecture, and have found myself running into confusion. ... I've found, in my

Re: [U-Boot] "make clean" not traversing into board-specific directories?

2016-05-18 Thread James Chargin
Dear Jörg, On 05/18/2016 02:06 AM, joerg.scheuerm...@continental-corporation.com wrote: Von: Masahiro Yamada <yamada.masah...@socionext.com> Datum: 14.05.2016 11:11 2016-05-14 7:41 GMT+09:00 James Chargin <jimccr...@gmail.com>: Hi, On 05/13/2016 01:50 PM, Fabio Estevam wrot

Re: [U-Boot] "make clean" not traversing into board-specific directories?

2016-05-13 Thread James Chargin
Hi, On 05/13/2016 01:50 PM, Fabio Estevam wrote: Hi Jörg, On Fri, May 13, 2016 at 1:57 PM, wrote: Hello, I am using u-boot 2015.04 and have a mechanism implemented in the board-specific Makefile for our board, which uses xsltproc to generate

Re: [U-Boot] [PATCH] Fix various typos, scattered over the code.

2016-05-04 Thread James Chargin
Hi Robert, I appreciate this work on typos. Thanks. On 05/04/2016 01:47 AM, Robert P. J. Day wrote: Spelling corrections for (among other things): * environment * override * variable * ftd (should be "fdt", for flattened device tree) * embedded * FTDI * emulation * controller --- the

Re: [U-Boot] SAMA5D2 xplained SD/eMMC boot

2016-04-18 Thread James Chargin
On 04/18/2016 09:54 AM, Andreas Bießmann wrote: Hi Marek, On 2016-04-18 17:30, Marek Vasut wrote: Hi! I've been playing around with latest mainline u-boot on sama5d2 xplained ultra. I noticed that if I want to boot the board from SD card (SDHCI1), the board will indeed load the SPL from it,

Re: [U-Boot] Missing flush_cache in do_load function

2016-04-04 Thread James Chargin
Hi, On 03/31/2016 11:24 PM, Borsodi Petr wrote: Hi all, I found a problem with load command on ARM based board. When I load hello_world standalone application using filesystem load command, the u-boot crashes. Loading with loads is OK. I think that the problem is caused by cache

Re: [U-Boot] Variable content dump to memory

2016-03-25 Thread James Chargin
Dear Nicolae, On 03/25/2016 02:12 AM, Nicolae Rosia wrote: On Thu, Mar 24, 2016 at 7:51 PM, James Chargin <jimccr...@gmail.com> wrote: [...] You weren't completely specific about your needs, but assuming you are wanting to write a U-Boot environment variable to memory, try somethin

Re: [U-Boot] Variable content dump to memory

2016-03-24 Thread James Chargin
On 03/24/2016 03:30 AM, Nicolae Rosia wrote: Hello, I'm trying to write the contents of a variable to a file using ext4write but it requires a memory address as input. Is there an easy way to get the contents of a variable to a particular mem address? You weren't completely specific about

Re: [U-Boot] [PATCH] Makefile: remove BUILD_TAG from KBUILD_CFLAGS

2016-02-09 Thread James Chargin
On 02/08/2016 05:32 PM, Stephen Warren wrote: From: Stephen Warren If BUILD_TAG is part of KBUILD_CFLAGS, then any time the value changes, all files get rebuilt. In a continuous integration environment, the value will change every build. This wastes time assuming that

Re: [U-Boot] Newbie to u-boot needs help! Please help if you can

2016-01-12 Thread James Chargin
Hello Kevin Alexander, On 01/11/2016 03:13 PM, Kevin Alexander wrote: Hello I am making a bigeffort to try to acquire knowledge regarding embedded Linux. A big effort is a great idea. A long association is also beneficial as a lot of stuff happens that is not documented well (or at all)

Re: [U-Boot] HUSH logical AND/OR expressions

2015-04-29 Thread James Chargin
Wolfgang, Thanks for your contributions. On 04/28/2015 03:51 PM, Wolfgang Denk wrote: Dear Joe, In message CANr=Z=YxsT-VOje5jA0k00BSxNROXBOPXMG-Q_8_7jAYN=f...@mail.gmail.com you wrote: I noticed you asked for a reference to the original hush code that is the origin for U-Boot's

Re: [U-Boot] HUSH logical AND/OR expressions

2015-04-28 Thread James Chargin
Dear Joe Hershberger, On 04/28/2015 11:00 AM, Joe Hershberger wrote: Hi Joakim, On Mon, Apr 27, 2015 at 8:39 AM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Trying to get a better handle of HUSH shell expressions, this does not work as I expect: = false true || echo ECHO = false

Re: [U-Boot] HUSH logical AND/OR expressions

2015-04-28 Thread James Chargin
Dear Joe, On 04/28/2015 11:35 AM, Joe Hershberger wrote: Hi James, On Tue, Apr 28, 2015 at 1:19 PM, James Chargin jimccr...@gmail.com wrote: Dear Joe Hershberger, On 04/28/2015 11:00 AM, Joe Hershberger wrote: Hi Joakim, On Mon, Apr 27, 2015 at 8:39 AM, Joakim Tjernlund joakim.tjernl

Re: [U-Boot] Question about board-specific Makefile actions

2015-03-13 Thread James Chargin
Dear Masahiro, Your help has enabled me to make my board Makefile do what I want (except for the clean target, see below). On 03/12/2015 09:20 PM, Masahiro Yamada wrote: Hi James, 2015-03-13 3:35 GMT+09:00 James Chargin jimccr...@gmail.com: I could still use some help with this from

Re: [U-Boot] Question about board-specific Makefile actions

2015-03-12 Thread James Chargin
I could still use some help with this from someone who really knows how the make system works. Tom and Simon provided hints that were helpful, as I note below. On 03/09/2015 08:34 AM, James Chargin wrote: So, is no one willing to offer a hint? Thanks, Jim On 03/03/2015 01:39 PM, James

Re: [U-Boot] Question about board-specific Makefile actions

2015-03-09 Thread James Chargin
So, is no one willing to offer a hint? Thanks, Jim On 03/03/2015 01:39 PM, James Chargin wrote: I have a custom board in a git workspace for U-Boot 2014.07. I've copied most of this from the .../board/ti/beagle. My board directory Makefile looks like 8--- obj-y := board.o 8--- I'd like

[U-Boot] Question about board-specific Makefile actions

2015-03-03 Thread James Chargin
I have a custom board in a git workspace for U-Boot 2014.07. I've copied most of this from the .../board/ti/beagle. My board directory Makefile looks like 8--- obj-y := board.o 8--- I'd like to add a few files to this directory that are processed during make all and have any newly derived

[U-Boot] [off-topic] LinuxCon/ELCE 2014 presentation on Redundant booting with U-Boot

2014-10-31 Thread James Chargin
Hello Tom, I'm not sure that this question really belongs on the U-Boot mailing list but I thought others might have a similar question. I was not able to attend LinuxCon/ELCE 2014, but I was very interested in your presentation titled Redundant booting with U-Boot. Is a recording,

Re: [U-Boot] [off-topic] LinuxCon/ELCE 2014 presentation on Redundant booting with U-Boot

2014-10-31 Thread James Chargin
Dear Jagan Teki, On 10/31/2014 09:28 AM, Jagan Teki wrote: On 31 October 2014 21:06, James Chargin jimccr...@gmail.com wrote: Hello Tom, I'm not sure that this question really belongs on the U-Boot mailing list but I thought others might have a similar question. I was not able to attend

Re: [U-Boot] Newbies list?

2014-08-13 Thread James Chargin
On 08/12/2014 11:24 PM, Hannes Petermaier wrote: Hi Frank, Well I've got to say, as a User I'd surely like to learn some new tricks from time to time. I believe this new mailing list would be the right place for it. What is happening now: my Mailbox gets full of messages, that I barely

Re: [U-Boot] Standalone application on secondary cores

2014-06-02 Thread James Chargin
Dear Francesco Teodoro. On 05/30/2014 01:35 PM, Francesco Teodoro wrote: I'm using a SABRE SD board (from Freescale) based on i.MX6 and the u-boot version is the 2014.04 one. What I've been trying to do is to activate the secondary cores so that I would be able to use them. First of all I've

Re: [U-Boot] U-Boot Loop

2014-04-15 Thread James Chargin
- From: James Chargin [mailto:jimccr...@gmail.com] Sent: Monday, April 14, 2014 2:10 PM To: Tran, Dang; u-boot@lists.denx.de Subject: Re: [U-Boot] U-Boot Loop On 04/14/2014 01:11 PM, Tran, Dang wrote: Hi James, I'm using U-Boot 2010.06 (Jun 18 2013 - 14:03:16) This is a version of U-Boot

Re: [U-Boot] U-Boot Loop

2014-04-14 Thread James Chargin
-Original Message- From: James Chargin [mailto:jimccr...@gmail.com] Sent: Friday, April 11, 2014 9:46 AM To: u-boot@lists.denx.de; Tran, Dang Subject: Re: [U-Boot] U-Boot Loop Greetings, On 04/11/2014 09:23 AM, Tran, Dang wrote: Hi, I'm running a PowerPC board that uses U-Boot and I get

Re: [U-Boot] U-Boot Loop

2014-04-11 Thread James Chargin
Greetings, On 04/11/2014 09:23 AM, Tran, Dang wrote: Hi, I'm running a PowerPC board that uses U-Boot and I get into this loop (see terminal output below). It doesn't matter how I get into this loop. What I really care about is how to break out of it without manually resetting the board. Is

Re: [U-Boot] How can I save U-Boot env vars to HUSH shell vars.

2014-04-10 Thread James Chargin
Dear Wolfgang, With your help, I have satisfied my need. On 04/09/2014 11:52 PM, Wolfgang Denk wrote: Dear James, In message 5345d493.4080...@gmail.com you wrote: Heh. As soon as you have to change _any_ code, you can as well upgrade. I was hoping (in vain perhaps) to do my work

[U-Boot] How can I save U-Boot env vars to HUSH shell vars.

2014-04-09 Thread James Chargin
I'd like to store the values of environment variables in HUSH shell variables and then restore them later. My ultimate goal is to preserve a few environment variables through a env default -f. I'm working with U-Boot 2010.12. Changing to a newer version is not possible at this time. I

Re: [U-Boot] How can I save U-Boot env vars to HUSH shell vars.

2014-04-09 Thread James Chargin
Dear Wolfgang, Thank you for your reply. On 04/09/2014 02:50 PM, Wolfgang Denk wrote: Dear James, In message 5345b6ec.6050...@gmail.com you wrote: I'd like to store the values of environment variables in HUSH shell variables and then restore them later. My ultimate goal is to preserve a few

Re: [U-Boot] u-boot - timestamp

2014-02-10 Thread James Chargin
I have used information from the following to get a timestamped log of each message output by U-Boot. I imagine there is more discussion of this on the U-Boot wiki, http://www.denx.de/wiki/U-Boot/WebHome. http://u-boot.10912.n7.nabble.com/U-Boot-Users-decrease-boot-time-td91840.html Good luck

Re: [U-Boot] Stack size

2013-12-27 Thread James Chargin
: Hello James, Thank you for the detailed explanations On Thu, Dec 26, 2013 at 8:13 PM, James Chargin jimccr...@gmail.com mailto:jimccr...@gmail.com wrote: I work with Freescale e300 and e500 SOCs, other processors may do things a bit differently. U-Boot places several things in very

Re: [U-Boot] Stack size

2013-12-26 Thread James Chargin
Dear Parimala Baggiri, To add a bit of context to Wolfgang Denk's reply... I work with Freescale e300 and e500 SOCs, other processors may do things a bit differently. U-Boot places several things in very high RAM. leaving the lower areas of RAM available for loading the OS and/or

Re: [U-Boot] u-boot gerrit server

2013-11-15 Thread James Chargin
Is there an existing mailing list for some other open source project that uses a gerrit server in something like what would be a model for the way U-Boot would use it? It might be instructive to watch that list to see how the interaction with the developers goes. Thanks, Jim On 11/14/2013

Re: [U-Boot] [PATCH] cmd_nvedit.c: Add env exists command

2013-10-23 Thread James Chargin
Dear Andrew Ruder, On 10/22/2013 05:07 PM, Andrew Ruder wrote: env exists is a way to test (in hush) if an environment variable exists. A workaround existed using printenv but this new command doesn't require all the stdout/stderr redirection to prevent printing information to the screen. I

Re: [U-Boot] Problem with stand-alone apps

2013-08-28 Thread James Chargin
On 08/28/2013 08:07 AM, ANDY KENNEDY wrote: All, In an effort to play by the rules, we created a stand alone app that handles breaking the boot process with bootdelay set to 0. We require a special key sequence to break into the boot process to ensure security, and to ensure we do not

[U-Boot] Documentation review request: Cache management and stand alone application

2013-08-23 Thread James Chargin
Based on some recent mailing list discussions about cache management for stand alone applications, and on my own recent experience, I've made two small additions to the documentation wiki. Since I can't find any procedure for having this work reviewed, I'm asking for a review here. Please see

Re: [U-Boot] [U-boot] shell script syntax

2013-07-22 Thread James Chargin
Try something like = for i in a b c; do echo $i done a b c = Regards, Jim On 07/22/2013 04:44 AM, tiger...@viatech.com.cn wrote: Hi, Albert: Did you try the commands live in your U-Boot console? Did you make sure hush shell is enabled in your U-boot? I am sure I have enabled hush shell.

Re: [U-Boot] u-boot script test

2012-01-25 Thread James Chargin
In message 1327404627.60813.yahoomail...@web120202.mail.ne1.yahoo.com For now i got around this problem with a negative test set x if test $x != 1 then echo No; else echo Yes; fi with this if x is not present i get No, even in the case when x is present and set any other value (not 1)