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
--
=
[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
'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
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
--
==
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
--
=============
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
ere?
rday
--
========
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com
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
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
--
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
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
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
*
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
--
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http
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 =
cro?
rday
--
========
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjda
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
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
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
)?
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
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
quot;?
thanks.
rday
--
================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.li
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
gs/bf538f-ezkit.h:#ifdef ENV_IS_EMBEDDED
$
what is the proper usage of this construct?
rday
--
================
Robert P. J. Day Ottawa, Ontario, CANADA
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
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
wise for u-boot to do the same?
thoughts?
rday
--
================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter:
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
"CONIFG"?
rday
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
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
--
=
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:
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
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
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
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
--
====
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
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
; +++ 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
--
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
"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.
--
===
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:
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
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
--
========
; 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
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
onward ...
rday
--
================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http
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
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
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:
--
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http
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
--
=============
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
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
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
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
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
> &
e to
avoid duplication but, beyond that, any style rules?
rday
--
========
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter:
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:
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
te the wiki page.
movin' on ...
rday
--
================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn:
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
/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?
--
=============
reas i'm
confortable with.
--
================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.li
y want to do anything about that.
rday
--
====
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitt
--
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
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
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
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
>
ot;)
* "ommitted" -> "omitted"
* "overriden" -> "overridden"
* "partiton" -> "partition"
* "propogate" -> "propagate"
* "resourse" -> "resource"
* "rest in
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
e differently?
rday
--
================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn:
recommendations for debuggers? is anyone using
the flyswatter debuggers successfully?
rday
--
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter
;flattened device tree")
* "ommitted" -> "omitted"
* "overriden" -> "overridden"
* "partiton" -> "partition"
* "propogate" -> "propagate"
* "resourse" -> "resource&
"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
hould i
try to break it into smaller, bite-size pieces?
rday
--
================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter:
would be appreciated. thank you kindly.
rday
--
================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn:
already on my list ... in my copious free time. :-(
rday
--
============
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter:
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
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
ent image types. thanks.
rday
--
================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: ht
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
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
"extra-" and "obj-" in
the above? those three lines look ... inconsistent?
anyway, what is going on there? thanks.
rday
--
================
Robert P. J. Day Ott
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
-
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.
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
keep reading the source.
--
================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://c
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
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
n not knowing that that means?
rday
--
================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn:
On Fri, 24 Jun 2016, Wolfgang Denk wrote:
> Dear Vinoth,
>
> In message
>
--
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http
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
--
=========
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
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 ---
>
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:
rday
--
====
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/
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
&
_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
() 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:
101 - 200 of 456 matches
Mail list logo