Re: [U-Boot] recommended place to add some custom settings to u-boot environment?

2016-09-14 Thread Robert P. J. Day
just work. If it's some other, more exotic format, you could > probably implement a custom import format? it needs to be done programatically, and i *believe* himport_r() can handle it, as the string is space-separated and null-terminated, so i'm about to test that. rday -- =

[U-Boot] really weird return codes in mcf5373l.c, misc_init_r()

2016-09-14 Thread Robert P. J. Day
[i].iface_fns = (void *)_fns; fpga_add(fpga_xilinx, _fpga[i]); } return 1; i've seen other strange examples like this. rday -- ============ Robert P. J. Day Ottaw

[U-Boot] eb_cpu5282.c board returns failure(?) from misc_init_r()

2016-09-14 Thread Robert P. J. Day
's invoked? it may be that that board doesn't define the watchdog or the use of misc_init_r(), but that just seems ... wrong? thoughts? rday -- ======== Robert P. J. Day Ottawa, Ontar

Re: [U-Boot] recommended place to add some custom settings to u-boot environment?

2016-09-14 Thread Robert P. J. Day
ional "environment" info is on the target board because of a legacy non-linux OS -- it's at a well-known address in flash, and we have no freedom to change it, we can only read it, make some adjustments, then incorporate it into the current environment. rday -- ==

[U-Boot] recommended place to add some custom settings to u-boot environment?

2016-09-14 Thread Robert P. J. Day
t, all of the normal environment will have been initialized, and i'll have access to "env_htab". thoughts? is there a better place to "adjust" the u-boot environment once u-boot has done its normal work? thanks. rday -- =============

[U-Boot] [PATCH] PWM: Correct misspellings of "module" in context of PWM

2016-09-13 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day <rpj...@crashcourse.ca> --- diff --git a/README b/README index f41a6af..30076bc 100644 --- a/README +++ b/README @@ -1405,7 +1405,7 @@ The following options need to be configured: - PWM Support: CONFIG_PWM_IMX - Support f

[U-Boot] question about himport_r() and possible separator

2016-09-12 Thread Robert P. J. Day
ere? rday -- ======== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com

[U-Boot] pedantry: is a FIT image really an enhanced type of uImage?

2016-09-09 Thread Robert P. J. Day
the legacy images. so what is the technically proper way to describe a FIT image? just another type of uImage? or a wholly new type of image? rday -- ================ Robert P. J. Day Ottawa, Ontario, CANAD

[U-Boot] [PATCH] search.h: Numerous grammatical fixes, comment updates

2016-09-09 Thread Robert P. J. Day
t;hash table" Signed-off-by: Robert P. J. Day <rpj...@crashcourse.ca> --- compile-tested, should be no functional changes. diff --git a/include/search.h b/include/search.h index 343dbc3..402dfd8 100644 --- a/include/search.h +++ b/include/search.h @@ -12,8 +12,8 @@ * Copyright (C) 2

[U-Boot] "_ENTRY" is both a struct and a typedef?

2016-09-08 Thread Robert P. J. Day
-- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday

[U-Boot] [PATCH] Various, accumulated typos collected from around the tree.

2016-09-07 Thread Robert P. J. Day
Fix various misspellings of: * deprecated * partition * preceding,preceded * preparation * its versus it's * export * existing * scenario * redundant * remaining * value * architecture Signed-off-by: Robert P. J. Day <rpj...@crashcourse.ca> --- just rebased against mas

Re: [U-Boot] why does only zynqmp check GD_FLG_ENV_DEFAULT?

2016-09-07 Thread Robert P. J. Day
l find out thread about it too. > > Thanks, > Michal ah, thanks. i guess it's just odd that no one else takes advantage of that, it seems like a reasonable thing to do. rday -- ================ Robert P. J. Day

[U-Boot] why does only zynqmp check GD_FLG_ENV_DEFAULT?

2016-09-07 Thread Robert P. J. Day
* Default variable flag */ $ it seems a bit odd that there is a u-boot-wide global data flag that is tested by only a single board. what exactly does that flag represent? rday -- ======== Robert P. J. Day

[U-Boot] is anyone using CONFIG_DELAY_ENVIRONMENT?

2016-09-07 Thread Robert P. J. Day
-- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http

[U-Boot] is it necessary to set "gd->env_valid = 0" in getenv_default()?

2016-09-06 Thread Robert P. J. Day
still wandering through the bowels of u-boot environment manipulation code, and i see this in common/env_common.c: /* * Look up the variable from the default environment */ char *getenv_default(const char *name) { char *ret_val; unsigned long really_valid =

[U-Boot] any value to XTRN_DECLARE_GLOBAL_DATA_PTR these days?

2016-09-02 Thread Robert P. J. Day
cro? rday -- ======== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjda

[U-Boot] [PATCH v2] global_data.h: Standardize tabs and alignment for comments

2016-09-01 Thread Robert P. J. Day
Line up comments for readibility. Signed-off-by: Robert P. J. Day <rpj...@crashcourse.ca> --- missed the last few lines with patch v1, and if i'm going to do it, i might as well do it properly. diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h index a

[U-Boot] [PATCH] AT91: Correct misspelling of "redundent" in partition names

2016-09-01 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day <rpj...@crashcourse.ca> --- given that this misspelling is being used for partition names, i won't treat it as a normal typo, so sending a separate patch just for this. diff --git a/include/configs/at91-sama5_common.h b/include/configs/at91-sama5_co

Re: [U-Boot] when does default env get written to flash on a new system?

2016-09-01 Thread Robert P. J. Day
On Thu, 1 Sep 2016, Robert P. J. Day wrote: > i'm sure i'll figure this out if i keep reading the code, but if i > have a new board where the env will be stored in flash, and i flash > a fresh build of u-boot with a default environment, at what point > will that default environmen

[U-Boot] when does default env get written to flash on a new system?

2016-09-01 Thread Robert P. J. Day
)? is this done automatically at some point when u-boot runs for the first time? or does it require me to, at some point, do an "env save"? thanks. rday -- ======== Robert P. J. Day Ottaw

[U-Boot] [PATCH] global_data.h: Format with proper tabs so comments line up.

2016-09-01 Thread Robert P. J. Day
Add tabs or replace spaces so that all comments line up for easier reading. Signed-off-by: Robert P. J. Day <rpj...@crashcourse.ca> --- just to make for easier reading, compile-tested for MPC8315ERDB. diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h

[U-Boot] what means "extra-" versus "obj-" in Makefiles

2016-08-31 Thread Robert P. J. Day
quot;? thanks. rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.li

[U-Boot] [PATCH] common/Kconfig: Fix various innocuous typos.

2016-08-31 Thread Robert P. J. Day
Correct a small number of spelling mistakes. Signed-off-by: Robert P. J. Day <rpj...@crashcourse.ca> --- noticed one typo in this file so figured i might as well just do the whole thing. diff --git a/common/Kconfig b/common/Kconfig index 46e7173..4494112 100644 --- a/common/Kconfig

[U-Boot] what's the proper use (if any) of [CONFIG_]ENV_IS_EMBEDDED?

2016-08-31 Thread Robert P. J. Day
gs/bf538f-ezkit.h:#ifdef ENV_IS_EMBEDDED $ what is the proper usage of this construct? rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA

[U-Boot] is there really a "CONFIG_RAMBOOT" config option?

2016-08-31 Thread Robert P. J. Day
valid, but it seems odd that there are so few references to that config option -- is it possible those should be CONFIG_SYS_RAMBOOT? rday -- Robert P. J. Day Ottawa, Ontario, CANADA

[U-Boot] what means the "CONFIG_SYS_USE_PPCENV" config setting?

2016-08-31 Thread Robert P. J. Day
the rationale for that small selection of boards to put their environment in a separate section? if i keep reading, i'm sure it will become obvious. rday -- ================ Robert P. J. Day

[U-Boot] a fair bit of code that could use ARRAY_SIZE() macro

2016-08-26 Thread Robert P. J. Day
wise for u-boot to do the same? thoughts? rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter:

[U-Boot] how to combine new default env in new u-boot with current saved?

2016-08-16 Thread Robert P. J. Day
if the same variable appears in both places. i'd like to think that can't be hard, but i've been surprised before. rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA h

Re: [U-Boot] [PATCH 1/3] usb: add CONIFG_USB_OHCI_HCD in Kconfig

2016-07-31 Thread Robert P. J. Day
"CONIFG"? rday ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] should denx wiki page on bootcount mention "failbootcmd"?

2016-07-27 Thread Robert P. J. Day
ests that if you've configured POST support, then that will override the standard bootcount limit use of "altbootcmd" with the use of "failbootcmd", correct? is that worth mentioning? or is anyone actually taking advantage of that? rday -- =

Re: [U-Boot] a few questions about saving bootcount in the environment

2016-07-27 Thread Robert P. J. Day
ill writing a wiki page on this that i can use for future embedded linux classes, so ... onward. rday -- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter:

Re: [U-Boot] a few questions about saving bootcount in the environment

2016-07-26 Thread Robert P. J. Day
uot;bootlimit", 10, 0); > > #endif /* CONFIG_BOOTCOUNT_LIMIT */ > > This is only the equivalent of a "setenv", so you have a variable in > the environment which you can use in scripts or compare against > "bootlimit". > > There is NO automatic "s

Re: [U-Boot] a few questions about saving bootcount in the environment

2016-07-26 Thread Robert P. J. Day
rstanding this? it seems that no matter what boot counter storage mechanism i select, i'll be writing to the environment every time *anyway*. rday -- Robert P. J. Day Ottaw

Re: [U-Boot] confused by "upgrade_available=0\0" in include/configs/taurus.h

2016-07-26 Thread Robert P. J. Day
think it's cleaner to avoid creating whole new Kbuild variables if one can use existing ones that make Makefiles easier to understand. but now i admit i'm just being picky. rday -- ======== Robert P. J. Day

Re: [U-Boot] confused by "upgrade_available=0\0" in include/configs/taurus.h

2016-07-26 Thread Robert P. J. Day
directory drivers/bootcount/ contain *only* general bootcount functionality (generic, RAM, I2C, ...), and perhaps move the target-specific stuff to those target-specific source directories. but that's just me. rday -- ====

Re: [U-Boot] a few questions about saving bootcount in the environment

2016-07-25 Thread Robert P. J. Day
s another write). whoops, i missed that bit, just trying to catch up now. rday -- ======== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.c

Re: [U-Boot] a few questions about saving bootcount in the environment

2016-07-25 Thread Robert P. J. Day
count will have a value of zero each time, yes? so if user space code checks it and it's zero, then, you're done, no need to write. rday -- Robert P. J. Day Ottawa, Ontario, CANAD

Re: [U-Boot] [PATCH 1/3] cmd: bootz: make CMD_BOOTZ depend on CMD_BOOTM

2016-07-25 Thread Robert P. J. Day
; +++ b/cmd/Kconfig > @@ -162,6 +162,7 @@ config CMD_BOOTM > > config CMD_BOOTZ > bool "bootz" > + depends on CMD_BOOTM > help > Boot the Linux zImage if bootz already depends on bootm, why then do you need to select both? rday --

Re: [U-Boot] suggested/stealable setups for robustness with switchable partitions?

2016-07-25 Thread Robert P. J. Day
On Mon, 25 Jul 2016, Stefano Babic wrote: > Hi Robert, > > On 25/07/2016 12:42, Robert P. J. Day wrote: > > p.s. i also noticed a few boards in u-boot that explicitly work with > > "partition sets": > > Do not let be confused by digging the environment into

Re: [U-Boot] suggested/stealable setups for robustness with switchable partitions?

2016-07-25 Thread Robert P. J. Day
"setenv ${partitionset_active} true;" \ include/configs/taurus.h: "partitionset_active=A\0" $ so i'm trying to collect all of this and write it up in one (public) place, so i can use it for an upcoming embedded linux class. -- ===

Re: [U-Boot] confused by "upgrade_available=0\0" in include/configs/taurus.h

2016-07-25 Thread Robert P. J. Day
le of CONFIG_BOOTCOUNT_AM33XX, so someone else can decide if anything should be renamed here. rday -- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter:

Re: [U-Boot] what does "CONFIG_U_QE" represent powerpc quicc engine?

2016-07-24 Thread Robert P. J. Day
On Sun, 24 Jul 2016, Robert P. J. Day wrote: > working with MPC83xx at the moment, i'm used to seeing "CONFIG_QE" > all over the place, but what means "CONFIG_U_QE"? it seems like some > sort of freescale special feature, but i can't figure it out. just to fol

[U-Boot] what does "CONFIG_U_QE" represent powerpc quicc engine?

2016-07-24 Thread Robert P. J. Day
working with MPC83xx at the moment, i'm used to seeing "CONFIG_QE" all over the place, but what means "CONFIG_U_QE"? it seems like some sort of freescale special feature, but i can't figure it out. rday -- ========

[U-Boot] a few questions about saving bootcount in the environment

2016-07-23 Thread Robert P. J. Day
; to zero once you boot successfully, but why would you also set "upgrade_available" to zero? don't you want to keep using that feature when you boot in the future? rday -- Robert P. J. Day Ottawa, Ontario, CANADA

Re: [U-Boot] confused by "upgrade_available=0\0" in include/configs/taurus.h

2016-07-23 Thread Robert P. J. Day
CONFIG_SYS_BOOTCOUNT_ADDR = i2c addr which is used for 3106 the bootcounter. 3107 CONFIG_BOOTCOUNT_ALEN = address len can these two sections not be combined? i can add that to my cleanup list as well. rday

[U-Boot] selecting CONFIG_BOOTCOUNT_RAM requires defining BOOTCOUNT_ADDR, yes?

2016-07-23 Thread Robert P. J. Day
onward ... rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http

Re: [U-Boot] confused by "upgrade_available=0\0" in include/configs/taurus.h

2016-07-23 Thread Robert P. J. Day
On Sat, 23 Jul 2016, Wolfgang Denk wrote: > Dear "Robert P. J. Day", > > In message <alpine.LFD.2.20.1607221529190.7337@localhost.localdomain> you > wrote: > > > > never embarrassed to make a fool of myself, i have to admit that, > > while crawling

Re: [U-Boot] confused by "upgrade_available=0\0" in include/configs/taurus.h

2016-07-22 Thread Robert P. J. Day
On Sat, 23 Jul 2016, Wolfgang Denk wrote: > Dear "Robert P. J. Day", > > In message <alpine.LFD.2.20.1607221529190.7337@localhost.localdomain> you > wrote: > > > > never embarrassed to make a fool of myself, i have to admit that, > > while crawling

[U-Boot] confused by "upgrade_available=0\0" in include/configs/taurus.h

2016-07-22 Thread Robert P. J. Day
what does it represent? am i just clueless for never having noticed this sort of thing before? rday -- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter:

[U-Boot] suggested/stealable setups for robustness with switchable partitions?

2016-07-22 Thread Robert P. J. Day
-- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http

[U-Boot] "uEnv.txt" versus "fw_setenv" -- a question about style

2016-07-22 Thread Robert P. J. Day
ironment that rarely (if ever) changes, rather than regularly changing things in the persistent storage, but i'm open to being persuaded otherwise; i'm just curious about what others prefer. rday -- =============

Re: [U-Boot] what is the *recommended* split between defconfig file and header file?

2016-07-21 Thread Robert P. J. Day
On Tue, 19 Jul 2016, Tom Rini wrote: > On Tue, Jul 19, 2016 at 04:15:47AM -0400, Robert P. J. Day wrote: > > > > kind of a style question but what is the preferred way to define a > > board in the sense of what belongs in the defconfig file and what > > belongs in the

Re: [U-Boot] [PATCH v2] common: fit: Allow U-Boot images to be booted

2016-07-21 Thread Robert P. J. Day
On Wed, 20 Jul 2016, Mario Six wrote: > On Wed, Jul 20, 2016 at 3:56 PM, Robert P. J. Day <rpj...@crashcourse.ca> > wrote: ... snip ... > > not really, since i always thought that the difficulty in loading > > and booting a second-stage u-boot was explained here: &g

Re: [U-Boot] [PATCH v2] common: fit: Allow U-Boot images to be booted

2016-07-20 Thread Robert P. J. Day
On Wed, 20 Jul 2016, Mario Six wrote: > On Wed, Jul 20, 2016 at 2:59 PM, Robert P. J. Day <rpj...@crashcourse.ca> > wrote: > > On Wed, 20 Jul 2016, Mario Six wrote: > > > >> In certain circumstances it comes in handy to be able to boot > >> into a secon

Re: [U-Boot] [PATCH v2] common: fit: Allow U-Boot images to be booted

2016-07-20 Thread Robert P. J. Day
t; }; > }; > }; i'm sure i'm about to embarrass myself, but the above represents loading a second version of u-boot into RAM, no? but i thought u-boot didn't support being run out of RAM (except in special circumstances). so what am i misunderstanding here? rday

Re: [U-Boot] what is the *recommended* split between defconfig file and header file?

2016-07-20 Thread Robert P. J. Day
On Tue, 19 Jul 2016, Tom Rini wrote: > On Tue, Jul 19, 2016 at 04:15:47AM -0400, Robert P. J. Day wrote: > > > > > kind of a style question but what is the preferred way to define a > > board in the sense of what belongs in the defconfig file and what > &

[U-Boot] what is the *recommended* split between defconfig file and header file?

2016-07-19 Thread Robert P. J. Day
e to avoid duplication but, beyond that, any style rules? rday -- ======== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter:

Re: [U-Boot] online wiki page for "fdt" commands full of FDT_ERR_BADMAGIC msgs

2016-07-19 Thread Robert P. J. Day
ssing those snippets are totally under the control of the folks at denx? or no? rday -- ==== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter:

Re: [U-Boot] is minicom still discouraged as the serial comms program?

2016-07-18 Thread Robert P. J. Day
ah, that makes sense. so far, i've used picocom almost exclusively and never had a problem. i am unaware of picocom issuing any AT commands. rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA

[U-Boot] supported image compression types?

2016-07-18 Thread Robert P. J. Day
te the wiki page. movin' on ... rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn:

[U-Boot] online wiki page for "fdt" commands full of FDT_ERR_BADMAGIC msgs

2016-07-17 Thread Robert P. J. Day
i'm sure i mentioned this before but the denx wiki page describing the "fdt" command is loaded with pretty much nothing but error messages: http://www.denx.de/wiki/view/DULG/UBootCmdFDT rday -- ======== Robert

[U-Boot] more "#if 0" pedantry related to moving macros in header files

2016-07-17 Thread Robert P. J. Day
/powerpc/include/asm/8xx_immap.h:#define PISCR_PIRQ_MASK ((ushort)0xff00) arch/powerpc/include/asm/immap_8260.h:#define PISCR_PIRQ_MASK ((ushort)0xff00) $ so what are they used for? -- =============

[U-Boot] what is with the "#if 0"ed part of ARP hdr in include/net.h?

2016-07-17 Thread Robert P. J. Day
reas i'm confortable with. -- ================ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.li

[U-Boot] file "doc/README.mpc83xxads" seems way obsolete

2016-07-16 Thread Robert P. J. Day
y want to do anything about that. rday -- ==== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitt

[U-Boot] is minicom still discouraged as the serial comms program?

2016-07-16 Thread Robert P. J. Day
-- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday

Re: [U-Boot] update u-boot BDM/JTAG debugger page?

2016-07-15 Thread Robert P. J. Day
On Fri, 15 Jul 2016, Tom Rini wrote: > On Fri, Jul 15, 2016 at 03:37:52PM -0400, Robert P. J. Day wrote: > > h ... https://tincantools.com/wiki/Flyswatter3_PIC32MX_How_To > > Well, it's not listed on the store yet, so I'd contact them > privately if I were you :) h

Re: [U-Boot] update u-boot BDM/JTAG debugger page?

2016-07-15 Thread Robert P. J. Day
On Fri, 15 Jul 2016, Tom Rini wrote: > On Fri, Jul 15, 2016 at 03:29:54PM -0400, Robert P. J. Day wrote: > > On Fri, 15 Jul 2016, Tom Rini wrote: > > > > > On Fri, Jul 15, 2016 at 08:38:57AM -0400, Robert P. J. Day wrote: > > > > > > > i am

Re: [U-Boot] update u-boot BDM/JTAG debugger page?

2016-07-15 Thread Robert P. J. Day
On Fri, 15 Jul 2016, Tom Rini wrote: > On Fri, Jul 15, 2016 at 08:38:57AM -0400, Robert P. J. Day wrote: > > > i am in no way a BDM/JTAG authority, but i notice that on this > > u-boot page: > > > > http://www.denx.de/wiki/DULG/UBootInstallUsingBDM >

[U-Boot] [PATCH v2] Various, unrelated tree-wide typo fixes.

2016-07-15 Thread Robert P. J. Day
ot;) * "ommitted" -> "omitted" * "overriden" -> "overridden" * "partiton" -> "partition" * "propogate" -> "propagate" * "resourse" -> "resource" * "rest in

Re: [U-Boot] Various, unrelated tree-wide typo fixes.

2016-07-15 Thread Robert P. J. Day
On Fri, 15 Jul 2016, Tom Rini wrote: > On Fri, Jul 15, 2016 at 07:17:36AM -0400, Robert P. J. Day wrote: > > > Fix a number of typos, including: > > > > * "comptible", "compatble" -> "compatible" > > * "eanbeld&quo

[U-Boot] curious about "#ifndef CONFIG_ENV_OVERWRITE" test in lsxl.c

2016-07-15 Thread Robert P. J. Day
e differently? rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn:

[U-Boot] update u-boot BDM/JTAG debugger page?

2016-07-15 Thread Robert P. J. Day
recommendations for debuggers? is anyone using the flyswatter debuggers successfully? rday -- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter

[U-Boot] Various, unrelated tree-wide typo fixes.

2016-07-15 Thread Robert P. J. Day
;flattened device tree") * "ommitted" -> "omitted" * "overriden" -> "overridden" * "partiton" -> "partition" * "propogate" -> "propagate" * "resourse" -> "resource&

Re: [U-Boot] does u-boot automatically determine valid command abbreviations?

2016-07-14 Thread Robert P. J. Day
"env set" ;-) i'm embarrassed to admit i didn't even know the "env" command existed. learn something new every day. rday -- Robert P. J. Day Ottawa, Ontario, CANADA

[U-Boot] best way to submit a patch for numerous, tree-wide typoz?

2016-07-14 Thread Robert P. J. Day
hould i try to break it into smaller, bite-size pieces? rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter:

[U-Boot] does u-boot automatically determine valid command abbreviations?

2016-07-14 Thread Robert P. J. Day
would be appreciated. thank you kindly. rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn:

Re: [U-Boot] what are valid formats for initrd image downloaded and used by "bootm"

2016-07-08 Thread Robert P. J. Day
already on my list ... in my copious free time. :-( rday -- ============ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter:

Re: [U-Boot] what are valid formats for initrd image downloaded and used by "bootm"

2016-07-08 Thread Robert P. J. Day
On Fri, 8 Jul 2016, Wolfgang Denk wrote: > Dear Robert, > > In message you > wrote: > > > > ok, and one last (admittedly a bit off-topic) followup ... > > openembedded supplies a class, image_types_uboot.bbclass, that can > > generate

Re: [U-Boot] what are valid formats for initrd image downloaded and used by "bootm"

2016-07-08 Thread Robert P. J. Day
fs.cpio.gz.u-boot". so more an openembedded question, but am i correct in assuming that any of those OE "u-boot" files are usable as initrds? thanks. rday -- Robert P. J. Day

[U-Boot] what are valid formats for initrd image downloaded and used by "bootm"

2016-07-08 Thread Robert P. J. Day
ent image types. thanks. rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: ht

Re: [U-Boot] where *precisely* is u-boot's environment stored?

2016-07-06 Thread Robert P. J. Day
current environment from the persistent copy or from the default environment? i'm not sure i have a pressing need for that, i'm just curious. rday -- Robert P. J. Day

[U-Boot] "(ulong)_environment[0]" vs "(ulong)default_environment"?

2016-07-06 Thread Robert P. J. Day
sion in common/env_remote.c. :-( it all works, of course, it's just inconsistent. rday -- ==== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twit

[U-Boot] in Kbuild, what is the difference between "extra-" and "obj-"?

2016-07-06 Thread Robert P. J. Day
"extra-" and "obj-" in the above? those three lines look ... inconsistent? anyway, what is going on there? thanks. rday -- ================ Robert P. J. Day Ott

Re: [U-Boot] where *precisely* is u-boot's environment stored?

2016-07-06 Thread Robert P. J. Day
start, the memory copy gets initialized > from the persistent one, unless this turns out to be corrupt (or > uninitialized, the effect is the same), in which case the builtin > default environment is used to initialize the in memory copy. ok, i'm good with that, thanks. rday -

Re: [U-Boot] where *precisely* is u-boot's environment stored?

2016-07-06 Thread Robert P. J. Day
On Wed, 6 Jul 2016, Måns Rullgård wrote: > "Robert P. J. Day" <rpj...@crashcourse.ca> writes: > > > On Wed, 6 Jul 2016, Måns Rullgård wrote: > > > >> "Robert P. J. Day" <rpj...@crashcourse.ca> writes: > > > >> > p.

Re: [U-Boot] where *precisely* is u-boot's environment stored?

2016-07-06 Thread Robert P. J. Day
On Wed, 6 Jul 2016, Måns Rullgård wrote: > "Robert P. J. Day" <rpj...@crashcourse.ca> writes: > > p.s. how does the default environment get to the CONFIG_ENV_ADDR > > defined in the board header file? is that done automatically when > > u-boot starts to r

Re: [U-Boot] where *precisely* is u-boot's environment stored?

2016-07-06 Thread Robert P. J. Day
keep reading the source. -- ================ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://c

[U-Boot] where *precisely* is u-boot's environment stored?

2016-07-06 Thread Robert P. J. Day
uts it (0xfe04c920), as opposed to where fw-utils will (apparently) look for the environment (0xfe06). what's the connection here? rday -- Robert P. J. Day Ottawa, Onta

Re: [U-Boot] board/cirrus/edb93xx/edb93xx.c: "egpio" versus "epgio"?

2016-06-27 Thread Robert P. J. Day
On Mon, 27 Jun 2016, Robert P. J. Day wrote: > > possibly embarrassing myself here, but i just ran across this in > edb93xx.c, which looks ... weird, a mixture of "EGPIO" and "EPGIO" > toward the end of that source file: > > ... snip ... never mind

[U-Boot] board/cirrus/edb93xx/edb93xx.c: "egpio" versus "epgio"?

2016-06-27 Thread Robert P. J. Day
n not knowing that that means? rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn:

Re: [U-Boot] uImage load address and entry point with Minnowboard

2016-06-24 Thread Robert P. J. Day
On Fri, 24 Jun 2016, Wolfgang Denk wrote: > Dear Vinoth, > > In message >

Re: [U-Boot] [PATCH] Revert "image.h: Tighten up content using handy CONFIG_IS_ENABLED() macro."

2016-06-01 Thread Robert P. J. Day
-- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http

Re: [U-Boot] [PATCH] Revert "image.h: Tighten up content using handy CONFIG_IS_ENABLED() macro."

2016-05-31 Thread Robert P. J. Day
ng both tests; that is, once you write this: #define CONFIG_FOO 1 you have a tendency to start using both tests: #ifdef CONFIG_FOO #if CONFIG_FOO which is definitely messy. anyway, my fault for not looking at the above carefully enough before submitting. rday -- =========

[U-Boot] [PATCH v2] Remove unneeded remnants of bcopy().

2016-05-30 Thread Robert P. J. Day
Since bcopy() is no longer used, delete all remaining references to it. Signed-off-by: Robert P. J. Day <rpj...@crashcourse.ca> --- diff --git a/arch/microblaze/include/asm/string.h b/arch/microblaze/include/asm/string.h index 724f5bd..8f67ec7 100644 --- a/arch/microblaze/include/asm/st

Re: [U-Boot] [PATCH] Remove remaining remnants of unused "bcopy".

2016-05-30 Thread Robert P. J. Day
On Mon, 30 May 2016, Michal Simek wrote: > Hi, > > 2016-05-29 11:36 GMT+02:00 Robert P. J. Day <rpj...@crashcourse.ca>: >  $ git diff --stat >  arch/microblaze/include/asm/string.h |  2 -- >  arch/powerpc/lib/ppcstring.S         |  7 --- >

Re: [U-Boot] can the last traces of "bcopy" be removed?

2016-05-30 Thread Robert P. J. Day
On Mon, 23 May 2016, Michal Simek wrote: > Hi, > > 2016-05-22 20:54 GMT+02:00 Robert P. J. Day <rpj...@crashcourse.ca>: > >   just noticed that this is all that's left of "bcopy": > > $ grep -rw bcopy * > arch/powerpc/lib/ppcstring.S: 

[U-Boot] [PATCH] Remove remaining remnants of unused "bcopy".

2016-05-30 Thread Robert P. J. Day
rday -- ==== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/

Re: [U-Boot] wanting to confirm i'm setting the MAC address the right way

2016-05-25 Thread Robert P. J. Day
On Wed, 25 May 2016, Bin Meng wrote: > On Wed, May 25, 2016 at 12:31 AM, Robert P. J. Day > <rpj...@crashcourse.ca> wrote: > > > > i want to use the fdt_fixup_ethernet() routine to automate most > > of the work of setting the MAC address in the FDT before passing &

[U-Boot] wanting to confirm i'm setting the MAC address the right way

2016-05-24 Thread Robert P. J. Day
_setenv_enetaddr("ethaddr", ); is that about it? it *looks* like all i have to do, and fdt_fixup_etherhet() will do all the rest. rday -- ==== Robert P. J. Day

[U-Boot] why does fdt_fixup_ethernet() need to worry about an edited FDT?

2016-05-24 Thread Robert P. J. Day
() that needs to take extra care compared to every other function in that file? rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter:

<    1   2   3   4   5   >