0002) {
> + clrbits_be32(&immr->im_clkrst.car_sccr, 0x0006);
> + setbits_be32(&immr->im_clkrst.car_sccr, 0x0002);
> + }
Like a few lines above, you could/should use a single call to
clrsetbits_be32() here. And as Heiko already commente
ry due to
hardware properties or such. In this case it is a decision of the
user whether he wants to clear the FB or not, thus no _SYS.
Thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Gr
ixit statement here how you are going to
> > handle this in the future? [And again, schedule is important, too.]
>
> My plan is to convert to the use of IO accessors during this week.
Thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director:
ADME.fsl-clk
626662e 2017-06-29 21:24:16 -0400 .travis.yml: All DENX boards are now
under Aries
...
BTW: Heiko reported the same issue, so it seems to be not only me
having this problem.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Den
amming standards).
Can you please make an explixit statement here how you are going to
handle this in the future? [And again, schedule is important, too.]
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.
Dear Christophe,
In message <20170629165215.9672c67...@pc13941vm.idsi0.si.c-s.fr> you wrote:
>
> This commit partially restores support for the 8xx, with the
> following limitations:
checkpatch complains about this patch like this:
total: 97 errors, 714 warnings, 87 checks, 6380 lines ch
instead.
To restore the original branch and stop patching, run "git am -i --abort".
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax:
quires continuous efforts.
> I have kept only the needed stuff in my soon-to come v5 version of the
> patch.
Good. Thanks!
> Your advices are welcome. Now you know my requirements, so your help is
> of course more than welcome.
I still don't have the information I asked for
s of the
many boards we had to support. Trust me, I know what I'm speaking
about.
To make this clear: I am in no way against continuing to support
mpc8xx. But we should not let him run into an unmaintainable mess
of code.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH
t; create mode 100644 examples/standalone/test_burst_lib.S
> create mode 100644 examples/standalone/timer.c
> create mode 100644 include/commproc.h
> create mode 100644 include/mpc823_lcd.h
> create mode 100644 include/usb/mpc8xx_udc.h
> create mode 100644 post/cpu/mpc8xx/Makefi
4 board/cssi/MCR3000/MCR3000.c
> create mode 100644 board/cssi/MCR3000/Makefile
> create mode 100644 board/cssi/MCR3000/nand.c
> create mode 100644 board/cssi/MCR3000/u-boot.lds
> create mode 100644 configs/MCR3000_defconfig
> create mode 100644 include/configs/MCR3000.h
Does not a
t needs to pass the correct value.
>
> Signed-off-by: Christophe Leroy
> ---
> arch/powerpc/cpu/mpc8xx/fdt.c | 2 ++
> 1 file changed, 2 insertions(+)
Does not apply: 'arch/powerpc/cpu/mpc8xx/fdt.c': No such file or directory
Naked-by: Wolfgang Denk
Best regards,
Wolf
pu/mpc8xx/cpu_init.c deleted in
431c66a3bad13e13c1d44ef4ec3638f95e72e11d and modified in powerpc, 8xx:
Implement GLL2 ERRATA. Version powerpc, 8xx: Implement GLL2 ERRATA of
arch/powerpc/cpu/mpc8xx/cpu_init.c left in tree.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing
phe Leroy
> ---
> arch/powerpc/cpu/mpc8xx/fec.c | 4
> 1 file changed, 4 insertions(+)
Otherwise:
Reviewed-by: Wolfgang Denk
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Gr
rry, I don't want to have that.
> No, that's not correct. I want to adapt it, but again, I don't think it
> is a good idea to do it in a few hours, in a hurry.
But that's exactly what you are pushing us for: we shall accept the
old crap in a hurry. No, take all the time
ease check your own board configuration and come up with a list
of needed features, and re-add only those, cleaning up file
hierarchy while you go. See .sig below (non-random today).
Thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165
also omit stuff like the 823 video support.
Sorry, but:
Nacked-by: Wolfgang Denk
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142
have to admit that it is kind of breaking my heart to see 8xx go,
as this is where it all started - this was the first code of this
project, long before the name U-Boot came up. But formally I'm
still maintainer of this code, and in it's current form I want to
see it removed and gone.
n a way that matches today's requirements. The code
needs cleanup everywhere: directory layout, Kconfig, DM support, I/O
accessors, etc.
NAK!
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194
d, we should search for a compromise.
We will have to do this now. But that should have been done before
upstreaming this code.
Thanks.
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone
that the behaviour is the _same_ is not strictly
correct.
atoi() returns "int", while strtol() returns "long int"...
Anyway, you are right that atoi() is not being used anywhere in
active U-Boot code.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH,
ed in simple_atoi() from
> lib/vsprintf.c, but assuredly that is an ugly solution.Does anyone have
> a better idea to solve this problem?
U-Boot should always be self-contained and not link regular library
code from the tool chain.
Best regards,
Wolfgang Denk
--
DENX Software Engineer
will never know if there really was a pair of names that was
swapped. Just a single rename of name1->name2 _or_ of name2->name1
will make the user think everything was fine.
[Note: I'm in the process of relocating and will be offline for the
next 2..3. days. Don't expect more co
back to
the ‘backup’ partition after a single boot attempt, but instead try
other things first, like booting another kernel or another device
tree blob?
I feel this should be not so much hardwired, but leave more freedom
for the user's creativity.
What do you think?
Best regards,
Wolfgang Den
3 (2.1%)
ST Microelectronics 2 (1.4%)
Konsulko Group 1 (0.7%)
...
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142
o
images... It my help to look for compression headers - strings does
not help on compressed images / compressed parts within an image.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell
ID
?
OK, this requires the code to be in a git repository, but should we
really care about people who don't use git? ;-)
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, German
nced that it's wise to touch such ancient, "stable" code for
an exotic feature that probably nobody else will ever need?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebe
So you attempt to switch between different settings?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.d
uot;switch" to a different location, i. e. to
alternative environment settings. If this is what you want to do I
wonder if it's not easier (at least it does not require code
changes) to switch "profiles" by using "env import" ?
Best regards,
Wolfgang Denk
--
DENX Soft
t these, and verify that the image layout does
not change for these with any such changes.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fa
am437x/am335x boards with
> CONFIG_USE_TINY_PRINTF(to reduce code size due to internal SRAM size
> constraint) and therefore need networking support in SPL.
So you need networking _and_ USB and still care about the printf()
size? Ouch...
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH,
with CONFIG_USE_TINY_PRINTF.
OTOH - what is the use case for CONFIG_USE_TINY_PRINTF in
combination with network related code? I would expect to
see this config option in memory restricted environments like SPL,
but there you don't include support for networking - or do you?
Best regards,
hex number?
Thanks.
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
Always borrow money from a pessimist; they d
at puts the image into
memory - all the rest is the responsibility of Linux.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w
gned to stop you from doing stupid things, because
that would also stop you from doing clever things." - Doug Gwyn
;-)
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germa
i Shtylyov
Date: Mon Aug 8 09:38:33 2011 +
fat: fix crash with big sector size
Sergei, do you agree that ret = 0 should be set before the "goto
exit" here?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Muni
ovide correct return code
from disk_{read|write} to upper layers
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80
3 (2.3%)
Socionext Inc. 3 (2.3%)
Samsung 2 (1.6%)
Collabora Ltd. 2 (1.6%)
...
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 G
care of it.
Also, if you notice any problems, please do not hesitate to contact
me.
Thanks!
Best regards,
Wolfgang Denk
--
Meet DENX at the Embedded World Trade Show
14 Mar - 16 Mar 2017, Nuremberg Trade Fair Centre, Hall 4, Booth 581
--
DENX Software Engineering GmbH, Managing Director
Dear brendan,
In message <1487107650642-281788.p...@n7.nabble.com> you wrote:
> I am storing some information regarding my board within EEPROM (in memory
> after I use the >eeprom read command) and I was wondering if it was possible
> for me to somehow read from memory and store the values into an
see [1].
>
> The configuration used for the U-Boot statistics is in the "u-boot"
> branch.
Here is the missing link:
[1] git://git.denx.de/gitdm
http://git.denx.de/gitdm.git
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
2017.01 ) | \
./gitdm -u -s -a -o /tmp/results -h /tmp/results.html
Hope this helps.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (
3 (2.2%)
Marvell 3 (2.2%)
CompuLab 2 (1.4%)
...
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10
0168:0001:0001" but the former triggers the ipv4 mapping
> logic.
Ah, I see. Makes sense.
Should we add error handling to TFTP and NFS, then?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-8
pt 192,168,1,2 as well.
Do we need to be so strict here - at the cost of added code size?
Also, at least crtitical parts of the network code (NFS, TFTP) do not
check the return value of string_to_ip() - so what is the benefit of
this change?
Best regards,
Wolfgang Denk
--
DENX Sof
poses of IP addresses can be
> considered an error.
Does code that calls string_to_ip() check for such an error
condition?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
nning the user
> > has no indication of what failed...
>
> Isn't it message above enough?
In the patch, I see only a "return 1;".
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office:
d, you can see at last where it crashed, i. e. what the
last running command was.
Your change breaks this - in the error path nothing gets printed.
This is even worse, as even though the system keeps running the user
has no indication of what failed...
I suggest to keep the printf() as bef
format with an older boot loader. The user space tools may be upgraded
> as part of a rootfs update, but the boot loader typically will not.
As of now, you can still read the environment of a 16 year old PPCBoot
:-)
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managin
ith "www" part please remove the same.
Done.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
Dear Jagan,
In message
you wrote:
>
> Unfortunately "Amarula Solutions" is not listed in Employers list [1]
> for this I sent a domain-map mail to Wolfgang Denk during MW, any edit
> for this?
Where should it show up?
You sent me an entry for a
www.amarulaso
Dear Robert,
In message you wrote:
>
> i'm going to assume other net-related commands have this behaviour
> as well, yes? like ping? which would explain why ping'ing even the
> alleged gateway didn't work in this context.
Yes. This is common network code.
B
what i use to add/modify a new env variable -- is this the
> correct approach, to add it to the "env_htab" hashtable?
>
> int
> add_entry_to_env(ENTRY* e)
> {
> ENTRY* ep;
>
> printf("Adding stuff k: [%s], d: [%s] to env.\n", e->key, e
tings through a setenv command.
It is obvious that the U-Boot design did not anticipate a situation
where an alternative hash table with different settings would be
created.
A quick but ugly workaround could be to re-set the variables to the
values stored in the environment by running something
plan to upgrade this
> "primary bootloader" u-boot.
Hm... this should still not show such behaviour. Check your board
config file thoroughly, especially your environment settings. Check
that environment definitions are explicitly terminated by NUL
characters, and that all string quo
gt; one time to construct the environment content.
This would be a bug. Whcih exact version of U-Boot are you talking
about?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Ger
s a bit fragile to me. Experience tells me
that very soon someone _will_ use a space in a variable.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989
h as a
space character is a legal part of the value of an environment
variable. You would need to tweak the import code.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Pho
made to work with "env import"
using this well-known address? I mean, if it's plain text, it should
just work. If it's some other, more exotic format, you could probably
implement a custom import format?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH,
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.
Why not simply putting this as text (or wrapped with an uImage header)
into some storage (
2 (1.5%)
Red Hat 1 (0.8%)
...
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
There is a
s added, there was just L1 cache around. There
were a very small number of systems with L2 cache, but IIRC this never
got used for other purposes than providing static RAM for U-Boot ;-)
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165
.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
It is not best to swap horses while crossing the river.
-
makes sense...
> As Tom pointed out, the latter can use CONFIG_ENV_IS_NOWHERE.
Of course. TIMTOWTDI...
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8
> of operation as a normal part of doing business.
Agreed. This should never be part of regular operation.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-
the result is that you will
use the default settings at next boot - and the samve effect can be
acchieved by using "env reset" + "env save" as already recommended.
[The only difference is that you will not see the "invalid CRC, using
the default env" warning then, bu
ral it is a good approach to consider an open CLI
interface in U-Boot as a mighty tool for all kinds of use.
"UNIX was not designed to stop you from doing stupid things, because
that would also stop you from doing clever things." - Doug Gwyn
Same holds for U-Boot...
Best regards,
f you
grand somebody access to the U-Boot command line interface, he owns
the system. If not directly, so by just pulling a few simple tricks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenze
em you are already
doomed. If it's in U-Boot, you lost.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w.
es, even with a complete example. See [3]
[1] http://catb.org/esr/faqs/smart-questions.html
[2] http://catb.org/esr/faqs/smart-questions.html#urgent
[2] http://www.denx.de/wiki/view/DULG/CommandLineParsing
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director:
e technique you select:
These methods access the persistent copy of the variable. The
setenv_ulong() just creates a transient work copy.
> it appears that, no matter what, the environment *is* updated every
> single time because of this line in the bootdelay_process() routine:
>
&g
s already a blank line which provides enough separation. No
need to have multiple consecutive blank lines.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66
ncluding commit ID, see [1] bullet 4
for details.
[1] http://www.denx.de/wiki/view/U-Boot/Patches#Attributing_Code_Copyrights_Sign
Thanks.
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
only the resetting is done
in user space (and requires another write).
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Emai
oot time it may be important, too.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
Some people marc
s. And even on other stoage
each write access includes the risk of errors.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80
obj-$(CONFIG_SOC_DA8XX) += bootcount_davinci.o
> obj-$(CONFIG_BOOTCOUNT_AM33XX) += bootcount_davinci.o
..this would make more sense to me if it was called
CONFIG_BOOTCOUNT_DAVINCI
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich
the number of writes to the
environment.
> now, i can see where one wants to reset "bootcount" 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
>
cause
unwanted side effects. This needs thorough checking and cleanup, if
it should turn out thatthese macros are used only to select specific
bootcount implementations - in that case, they should be renamed into
something like CONFIG_BOOTCOUNT_* or such.
Heiko, maybe you could have a look tat that
ailable"
925 and "bootcount" variable to 0, if a boot was successfully.
This is a special measure for boards where there was no good place to
store the boot counter variable in some hardware register, so it was
instead placed in the environment.
Adding Heiko on Cc: so
bably want to look at the
swupdate [1] project and read it's documentation...
[1] http://git.denx.de/?p=swupdate.git;a=summary
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germ
just a single environment
variable using fw_setenv than to edit a text file, or to manage a
number of alternative text files through copies, moves and/or links.
Others may tell you different stories...
I think this is one of the cases of "there is more than one way to do
it".
Best r
Dear atulkumar singh,
In message
you wrote:
>
> Could some one please let me know whether u-boot has its own dynamic linker?
It does not. The U-Boot image is linked statically, but relocatable.
Relocation is done manually, no linker or such is involved.
Best regards,
Wolfgan
FFF and wraps arount to
continue at 0x0 which cuses the huge image size. We have seen this
before with somme tool chain versions and some (usually sub-optimal)
optimizer settings.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 1652
u should add some error checking here? Each of the
getenv() calls may fail, as well as the malloc() - and then?
As is: NAK!!
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Ge
-boot.git;a=blob;f=include/image.h#l228
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
"Obviously,
test $board_name = B1 && test $board_rev = MX6DL ; then " \
Instead of adding to an ever growing list of names, would it not make
sense to solve this programmatically, like by concatenating "i" +
tolower($board_rev) + "-wandboard-rev" + tolower($board_name) + &
ata_%BOARD%.UBootFDTCmd* %INCLUDE files are broken.
Eventually Heiko might remember where this test case was run;
alternatively, someone could recreate these manually.
Let's wait for comment from Heiko when he's back from vacation in a
week.
Best regards,
Wolfgang Denk
--
DENX Softwa
the end, only a tiny
percentage of this will be used. We never tried to clean up such
files to include only used defines [which is probably a bad idea
anyway, as the next driver might need just the defines you remove
now.]
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Manag
e using "#if 0" was deemed to be easier to forward-port to new
versions of the code than deleting the whole block, where any changes
in this (uninteresting) code would cause conflicts.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
H
least in some
default installations issues a set of AT modem commands when
connecting to a serial line, which have caused funny effects with
U-Boot here and there...
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office:
attach to terminal servers
in the same way as to regular serial ports, which gives a single tool
and a common interface to all kinds of connections. That's _nice_.]
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office
were
scripts. The word was fine again.
You guess what happened? Right - then the command "setexpr" was
added, and again "sete" was no longer unique.
Moral of the stroy: use "env set" ;-)
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Mana
17 (12.4%)
Xilinx 14 (10.2%)
DENX Software Engineering4 (2.9%)
Linaro 3 (2.2%)
Novell 2 (1.5%)
Samsung 2 (1.5%)
Debian.org 2 (1.5%)
Red Hat 1 (0.7%)
...
Bes
more complicated initially, but they are also
much more flexible and allow for things like signed / encrypted images
and such...
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Ge
ARCH} -O linux -T ramdisk -C $2 -n ${IMAGE_NAME} \
-d ${DEPLOY_DIR_IMAGE}/$1 ${DEPLOY_DIR_IMAGE}/$1.u-boot
if [ x$3 = x"clean" ]; then
rm $1
fi
}
This would indeed mean that ".u-boot" is, from U-Boot's point of
view, a ramdisk image wrapped
Dear Vinoth,
In message
you wrote:
>
> Where can I check the heap configuration in U-Boot??
The REAME says:
- CONFIG_SYS_MALLOC_LEN:
Size of DRAM reserved for malloc() use.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Ma
f
> different image types. thanks.
"bootm" understands botht he (deprecated) legacy uImage format, plus
of course the (preferred) FIT images.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5,
;From the console output it is trivial - you will see
Warning: Bad CRC, using default environment
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-
701 - 800 of 16837 matches
Mail list logo