Re: [U-Boot] [PATCH 1/4] [v2] nand_base: trivial: fix comment read/write comment

2011-05-24 Thread Detlev Zundel
Hi Ben, Replace an incorrect 'read' with 'write' in a comment. Signed-off-by: Ben Gardiner bengardi...@nanometrics.ca Acked-by: Detlev Zundel d...@denx.de -- Whenever you find yourself on the side of the majority it is time to pause and reflect

Re: [U-Boot] [PATCH 2/4] [v2] nand_util: convert nand_write_skip_bad() to flags

2011-05-24 Thread Detlev Zundel
...@nanometrics.ca CC: Detlev Zundel d...@denx.de --- Changes since v1: * rebased to HEAD of git://git.denx.de/u-boot-nand-flash.git : ff7b4a0 (env_nand: zero-initialize variable nand_erase_options) * renamed the flag from WITH_OOB to WITH_YAFFS_OOB (Detlev Zundel) * introduce

Re: [U-Boot] [PATCH 4/4] [v2] cmd_nand: add nand write.trimffs command

2011-05-24 Thread Detlev Zundel
this timming is the drop_ffs() function by Artem Bityutskiy, ported from the mtd-utils tree. [1] http://www.linux-mtd.infradead.org/doc/ubi.html#L_flasher_algo Signed-off-by: Ben Gardiner bengardi...@nanometrics.ca CC: Artem Bityutskiy dedeki...@gmail.com CC: Detlev Zundel d...@denx.de --- Detlev

Re: [U-Boot] [PATCH 3/4] [v2] nand_util: drop trailing all-0xff pages if requested

2011-05-24 Thread Detlev Zundel
Bityutskiy. This is as-per the reccomendations of the UBI FAQ [1] Signed-off-by: Ben Gardiner bengardi...@nanometrics.ca CC: Artem Bityutskiy dedeki...@gmail.com Acked-by: Detlev Zundel d...@denx.de Cheers Detlev -- Oh, didn't you know, the Lord did the original programming of the universe

Re: [U-Boot] [PATCH 0/4] Accurate boot time measurement

2011-05-23 Thread Detlev Zundel
: Why did the chicken cross the Moebius strip? A: To get to the other ... er, um ... -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de

Re: [U-Boot] [PATCH v3 1/5] TFTP: replace server with remote in local variable names

2011-05-19 Thread Detlev Zundel
Hi Luca, With the upcoming TFTP server implementation, the remote node can be either a client or a server, so avoid ambiguities. Signed-off-by: Luca Ceresoli luca.ceres...@comelit.it Cc: Wolfgang Denk w...@denx.de Acked-by: Detlev Zundel d...@denx.de Cheers Detlev -- Algebraists do

Re: [U-Boot] [PATCH v3 4/5] TFTP: add tftpsrv command

2011-05-19 Thread Detlev Zundel
Luca Ceresoli luca.ceres...@comelit.it writes: Signed-off-by: Luca Ceresoli luca.ceres...@comelit.it Cc: Wolfgang Denk w...@denx.de Acked-by: Detlev Zundel d...@denx.de Cheers Detlev -- -- Question authority! -- Yeah, says who? -- DENX Software Engineering GmbH, MD: Wolfgang Denk

Re: [U-Boot] [PATCH v3 2/5] TFTP: rename STATE_RRQ to STATE_SEND_RRQ

2011-05-19 Thread Detlev Zundel
Luca Ceresoli luca.ceres...@comelit.it writes: With the upcoming TFTP server implementation, requests can be either outgoing or incoming, so avoid ambiguities. Signed-off-by: Luca Ceresoli luca.ceres...@comelit.it Cc: Wolfgang Denk w...@denx.de Acked-by: Detlev Zundel d...@denx.de Cheers

Re: [U-Boot] [PATCH v3 3/5] TFTP: net/tftp.c: add server mode receive

2011-05-19 Thread Detlev Zundel
Hi Luca, Signed-off-by: Luca Ceresoli luca.ceres...@comelit.it Cc: Wolfgang Denk w...@denx.de Acked-by: Detlev Zundel d...@denx.de Just for the future: [...] diff --git a/net/tftp.h b/net/tftp.h index e3dfb26..3abdf7b 100644 --- a/net/tftp.h +++ b/net/tftp.h @@ -2,6 +2,8

Re: [U-Boot] [PATCH v3 5/5] net/tftp.c: fix typo

2011-05-19 Thread Detlev Zundel
Luca Ceresoli luca.ceres...@comelit.it writes: Signed-off-by: Luca Ceresoli luca.ceres...@comelit.it Cc: Wolfgang Denk w...@denx.de Acked-by: Detlev Zundel d...@denx.de Cheers Detlev -- The mathematician's patterns, like the painter's or the poet's, must be beautiful; the ideas

Re: [U-Boot] [PATCH 0/4] Accurate boot time measurement

2011-05-19 Thread Detlev Zundel
unlearning as it is learning. -- Edsger Dijkstra -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de

Re: [U-Boot] [RFC] Duplicated string prefix

2011-05-19 Thread Detlev Zundel
offers, e.g. something like pr_err, pr_warning, etc. Cheers Detlev -- Perfecting oneself is as much unlearning as it is learning. -- Edsger Dijkstra -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office

Re: [U-Boot] [PATCH] phylib: Detect link on 10G devices correctly

2011-05-19 Thread Detlev Zundel
something more self-documenting, e.g. MDIO_DEVS_REPORT_LINK or such? Cheers Detlev -- Quantum physicists can either know how fast they do it, or where they do it, but not both. -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194

Re: [U-Boot] [PATCH 0/4] Accurate boot time measurement

2011-05-17 Thread Detlev Zundel
, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman

Re: [U-Boot] [PATCHv2] sntp: avoid use of uninitialized variable

2011-05-17 Thread Detlev Zundel
) { - printf(SNTP failed: host %s not responding\n, argv[1]); + printf(SNTP failed: host %pI4 not responding\n, + NetNtpServerIP); return 1; } Acked-by: Detlev Zundel d...@denx.de Cheers Detlev -- Is this a private fight or can anyone

Re: [U-Boot] [PATCH v2 3/6] TFTP: rename server to remote

2011-05-17 Thread Detlev Zundel
GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de

Re: [U-Boot] [PATCH v2 5/6] TFTP: net/tftp.c: add server mode receive

2011-05-17 Thread Detlev Zundel
encourage the copying. -- Richard M. Stallman -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d

Re: [U-Boot] [PATCH] Fix incorrect use of getenv() before relocation

2011-05-10 Thread Detlev Zundel
Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] boot-up time optimization. Where to start?

2011-05-09 Thread Detlev Zundel
can be a good starter for other people benchmarking their port. Thanks Detlev -- One of my most productive days was throwing away 1000 lines of code. - Ken Thompson. -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194

Re: [U-Boot] U-boot 2010.12 Ping failed on DP83849C

2011-05-09 Thread Detlev Zundel
Detlev Zundel -- Oh, didn't you know, the Lord did the original programming of the universe in COBOL. - That's why the world is the evil work of Satan. A true divine being would have used Scheme. - And, if so, Jesus would have been crucified on a big lambda symbol. -- K. Chafin, K. Schilling D

Re: [U-Boot] [U-Boot-Users] U-Boot WinCE booting support?

2011-05-04 Thread Detlev Zundel
: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u

Re: [U-Boot] [PATCH v2 3/6] TFTP: rename server to remote

2011-05-04 Thread Detlev Zundel
Hi Luca, Detlev Zundel wrote: I'll start a new thread to discuss this. Hopefully we then come up with a policy to stick into that wiki page. Now that the checkpatch policy is much more clear, I started to clean up the networking stuff, on top of which the TFTP server sits. Thanks a lot

Re: [U-Boot] [PATCH 3/3] arm: at91: ether: Prepare for mach-types.h changes

2011-05-02 Thread Detlev Zundel
: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo

Re: [U-Boot] [PATCH 3/7] JFFS2: Calculate buf_len before we read data from flash

2011-05-02 Thread Detlev Zundel
Hi Baidu, Hi, Detlev : 2011/4/30 Detlev Zundel d...@denx.de: Hi Baidu, [...] diff --git a/fs/jffs2/jffs2_1pass.c b/fs/jffs2/jffs2_1pass.c index 8eb77b1..be6ac78 100644 --- a/fs/jffs2/jffs2_1pass.c +++ b/fs/jffs2/jffs2_1pass.c @@ -1643,6 +1643,8 @@ jffs2_1pass_build_lists(struct

Re: [U-Boot] [PATCH 6/7] JFFS2: scanning performance improvement

2011-05-02 Thread Detlev Zundel
to Swedish prime minister Goran Perrson, unaware that a live tv camera was still on -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d

Re: [U-Boot] [PATCH 0/5] introduce nand write.ubi, and drop ffs for jffs2 too

2011-05-02 Thread Detlev Zundel
Hi Artem, On Fri, 2011-04-29 at 13:58 +0200, Detlev Zundel wrote: Hi Ben, It was found that on da850evm, where the NAND ECC used does not map all 0xff data to 0xff ECC, that flashing UBI and JFFS2 image from U-boot with nand write[.e] command resulted in alot of ECC errors... for UBI

Re: [U-Boot] boot-up time optimization. Where to start?

2011-05-02 Thread Detlev Zundel
not. -- Linus Torvalds -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de

Re: [U-Boot] boot-up time optimization. Where to start?

2011-05-02 Thread Detlev Zundel
government bureaucrats. -- Richard Stallman e1mix3y-0005iz...@fencepost.gnu.org -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d

Re: [U-Boot] [PATCH v3] cosmetic: cmd_bdinfo.c: clean up by using checkpatch.pl

2011-04-29 Thread Detlev Zundel
Hi Macpaul, cmd_bdinfo.c: clean up with 2.6.38 checkpatch.pl Signed-off-by: Macpaul Lin macp...@andestech.com Looks sane to me, thanks! Acked-by: Detlev Zundel d...@denx.de -- Peace of mind isn't at all superficial to technical work. It's the whole thing. That which produces it is good

Re: [U-Boot] [PATCH v2] cmd_bdinfo.c: clean up with 2.6.38 checkpatch.pl

2011-04-29 Thread Detlev Zundel
Hi Macpaul, Hi Detlev, 2011/4/27 Detlev Zundel d...@denx.de: Hi Macpaul, clean up with 2.6.38 checkpatch.pl There is indeed only one non-whitespace hunk in there: It's ok that you do the line wrapping, but actually with such lists we require alphabetical sorting of the clauses, so can

Re: [U-Boot] Update and Cut down mach types

2011-04-29 Thread Detlev Zundel
by simply sending an email asking for it ;-) -- Stefan Monnier -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email

Re: [U-Boot] fw_setenv usage for multiple copies of U-Boot Environment Variables

2011-04-29 Thread Detlev Zundel
Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] strawman Fastboot in U-Boot Design Doc

2011-04-29 Thread Detlev Zundel
). Best wishes Detlev -- Is this a private fight or can anyone join in? -- Old Irish saying -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49

Re: [U-Boot] [PATCH] README: Clarify difference of CONFIG_WATCHDOG and CONFIG_HW_WATCHDOG

2011-04-29 Thread Detlev Zundel
Hi Mike, On Wed, Apr 27, 2011 at 11:25, Detlev Zundel wrote: Now that we have the documentation, the code should be changed to reflect it ;) Asd far as I can see, these are the places where HW_WATCHDOG is used instead of WATCHDOG: the trouble is that watchdog.h doesnt seem to match, nor

Re: [U-Boot] [PATCH v2] cmd_bdinfo.c: clean up with 2.6.38 checkpatch.pl

2011-04-29 Thread Detlev Zundel
? And what a vista! All you see as you look around your garden is a 60foot high brick wall -- Crosbie Fitch. -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80

Re: [U-Boot] [PATCH v2] cmd_bdinfo.c: clean up with 2.6.38 checkpatch.pl

2011-04-29 Thread Detlev Zundel
. And warfare involves massive death and destruction. When you see it, you'll know it. -- Bruce Schneier, Nov. 2007 -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49

Re: [U-Boot] [PATCH 2/5] nand_util: convert nand_write_skip_bad() to flags

2011-04-29 Thread Detlev Zundel
Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] [PATCH 4/5] cmd_nand: add nand write.ubi command

2011-04-29 Thread Detlev Zundel
no inherent eavesdropping capabilities are more secure than systems with those capabilities built in. -- Bruce Schneier -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone

Re: [U-Boot] [PATCH 0/5] introduce nand write.ubi, and drop ffs for jffs2 too

2011-04-29 Thread Detlev Zundel
smoothly, just as real-world swimming helps to keep programmers healthy. -- Donald Knuth, Fascicle 1 -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989

Re: [U-Boot] [PATCH] MX31: change return value of get_cpu_rev

2011-04-29 Thread Detlev Zundel
-- Man is a fool, and woman, for tolerating him, is a damned fool -- Mark Twain -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80

Re: [U-Boot] [PATCH 1/7] JFFS2: Bug fix for summary support

2011-04-29 Thread Detlev Zundel
-- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de ___ U-Boot mailing list U-Boot

Re: [U-Boot] [PATCH 3/7] JFFS2: Calculate buf_len before we read data from flash

2011-04-29 Thread Detlev Zundel
- ofs); The same question for this case. Cheers Detlev -- Those who do not understand Unix are condemned to reinvent it, poorly. - Henry Spencer, University of Toronto Unix hack -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr

Re: [U-Boot] [PATCH 4/7] JFFS2: Improve error checking

2011-04-29 Thread Detlev Zundel
Hinduismus friedlich dahinfließt wie der Ganges, dann ist das Christentum Toronto in der Rushhour.-- Yann Martel -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40

Re: [U-Boot] [PATCH 5/7] JFFS2: Change DEFAULT_EMPTY_SCAN_SIZE to 256 Bytes

2011-04-29 Thread Detlev Zundel
. -- pure-ftpd(8) -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de ___ U-Boot

Re: [U-Boot] [PATCH 6/7] JFFS2: scanning performance improvement

2011-04-29 Thread Detlev Zundel
Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] [PATCH V2] MX31: change return value of get_cpu_rev

2011-04-29 Thread Detlev Zundel
Hi Stefano, Drop warnings in get_cpu_rev and changes the return value (a u32 instead of char * is returned) of the function to be coherent with other processors. Signed-off-by: Stefano Babic sba...@denx.de CC: Detlev Zundel d...@denx.de CC: Fabio Estevam fabio.este...@freescale.com

Re: [U-Boot] [PATCH 1/7] JFFS2: Bug fix for summary support

2011-04-29 Thread Detlev Zundel
Hi Baidu, Hi, Detlev : 2011/4/29 Detlev Zundel d...@denx.de: Hi,  1/ Get the latest DIRENT  For example, if you create a file in linux jffs2 which config summary  support, then you delete the file , you will not see the file  in  linux jffs2. But you can also see this file in uboot

Re: [U-Boot] [PATCH 3/7] JFFS2: Calculate buf_len before we read data from flash

2011-04-29 Thread Detlev Zundel
-- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 4/7] JFFS2: Improve error checking

2011-04-29 Thread Detlev Zundel
it is bad work. -- Robert M. Pirsig -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de

Re: [U-Boot] Policy for checkpatch usage?

2011-04-27 Thread Detlev Zundel
Hi Andreas, Am Donnerstag, den 21.04.2011, 17:46 +0200 schrieb Detlev Zundel: Thanks for the input. Current base for discussion: Checkpatch is a tool that can help you find some style problems, but is imperfect, and the things it complains about are of varying importance. So use

Re: [U-Boot] [PATCH v5] ARM: mx31: Print the silicon version

2011-04-27 Thread Detlev Zundel
it actually is? Cheers Detlev -- Emacs is the way to purify your soul using garbage collection. -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80

Re: [U-Boot] [PATCH] MAKEALL: add -h/--help options

2011-04-27 Thread Detlev Zundel
Hi Mike, Convert all the comments at the top of the file into help text for people to easily get at with standard -h/--help options. Signed-off-by: Mike Frysinger vap...@gentoo.org Nice! Acked-by: Detlev Zundel d...@denx.de -- .. most of the finest products of an applied mathematician's

Re: [U-Boot] [PATCH V6 2/3] PMIC: Add dialog pmic support

2011-04-27 Thread Detlev Zundel
Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH,V2] JFFS2: accelerate scanning.

2011-04-27 Thread Detlev Zundel
Hi Baidu, Hi,Detlev : 2011/4/19 Detlev Zundel d...@denx.de: Hi Baidu,  Syncs up with jffs2 in the linux kernel:  1/ Change DEFAULT_EMPTY_SCAN_SIZE from 4KB to 256 Bytes.  2/ If the 1KB data is 0xFF after the cleanmarker, skip  and scan the next sector.  3/ Change the buffer size from

Re: [U-Boot] [PATCH V2] JFFS2: bug fix for summary support.

2011-04-27 Thread Detlev Zundel
... Cheers Detlev -- Wenn ein Kopf und ein Buch zusammenstossen und es klingt hohl; ist denn das allemal im Buche? - Lichtenberg -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell

Re: [U-Boot] [PATCH v2] cmd_nvedit.c: clean up with checkpatch

2011-04-27 Thread Detlev Zundel
-- Computer scientists do it depth-first. -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de

Re: [U-Boot] [PATCH v2 1/2] MX31: mx31pdk: Add watchdog support

2011-04-27 Thread Detlev Zundel
be all I need. -- David Kastrup, emacs-devel.gnu.org 87hbj37v4x@lola.goethe.zz -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de

Re: [U-Boot] [PATCH 1/2] MX31: mx31pdk: Add watchdog support

2011-04-27 Thread Detlev Zundel
-- The Speedo3 is very similar to other Intel network chips, that is to say apparently designed on a different planet. -- drivers/net/eepro100.c in Linux source -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office

Re: [U-Boot] Update and Cut down mach types

2011-04-27 Thread Detlev Zundel
, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman

Re: [U-Boot] [PATCH v3] cmd_nvedit.c: clean up with checkpatch

2011-04-27 Thread Detlev Zundel
: code cleanup of cmd_nvedit.c using checkpatch.pl. As this is very new, I won't insists, so Acked-by: Detlev Zundel d...@denx.de Thanks! Detlev -- Q: Does that mean we also shouldn't be using IRQF_SAMPLE_RANDOM on interrupt [sources]? A: Yes. The flag needs to be taken out and shot

Re: [U-Boot] 回覆: [PATCH v2] cmd_nvedit.c: clean up with checkpatch

2011-04-27 Thread Detlev Zundel
Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] [PATCH v2] cmd_bdinfo.c: clean up with 2.6.38 checkpatch.pl

2011-04-27 Thread Detlev Zundel
. -- George Mikes -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de

Re: [U-Boot] [PATCH v5] ARM: mx31: Print the silicon version

2011-04-27 Thread Detlev Zundel
Hi Stefano, On 04/27/2011 11:11 AM, Detlev Zundel wrote: This is due to the usage of the const in the mx3_cpu_type: struct mx3_cpu_type { u8 srev; const char *v; Do you agree if I drop myself the const attribute on u-boot-imx before pulling your patch to the arm tree

[U-Boot] [PATCH] README: Clarify difference of CONFIG_WATCHDOG and CONFIG_HW_WATCHDOG

2011-04-27 Thread Detlev Zundel
-by: Detlev Zundel d...@denx.de Cc: Mike Frysinger vap...@gentoo.org Cc: TsiChungLiew tsi-chung.l...@freescale.com --- README | 17 - 1 files changed, 12 insertions(+), 5 deletions(-) diff --git a/README b/README index cdbb9de..63f5647 100644 --- a/README +++ b/README @@ -1,5 +1,5

Re: [U-Boot] Policy for checkpatch usage?

2011-04-21 Thread Detlev Zundel
for children), unusual humor (which may be unsuitable for adults), and ad- vanced mathematics (which may be unsuitable for liberal-arts majors). /xkcd.org -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

Re: [U-Boot] Policy for checkpatch usage?

2011-04-21 Thread Detlev Zundel
but not code. [...] I'd rather read good poetry written in very bad hand writing than bad poetry written in beautiful handwriting, and I think the same is true of code. -- Alan Cox 20090701130018.115ce...@lxorguk.ukuu.org.uk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev

Re: [U-Boot] Policy for checkpatch usage?

2011-04-21 Thread Detlev Zundel
Hi Fabi, At 10:49 21.04.2011 -0400, Eric Cooper wrote: On Thu, Apr 21, 2011 at 04:29:17PM +0200, Detlev Zundel wrote: What about the problem with checkpatch errors in current code, i.e. the origin of this sentence: Also warnings produced for context lines (i.e. existing code) rather

Re: [U-Boot] Policy for checkpatch usage?

2011-04-21 Thread Detlev Zundel
is only a cosmetic change ret=0 fi git reset --hard exit ${ret} Cheers Detlev -- Question: If you were redesigning UNIX, what would you do differently? Ken Thompson: I'd spell creat with an e. -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich

Re: [U-Boot] Policy for checkpatch usage?

2011-04-21 Thread Detlev Zundel
Hi Eric, On Thu, Apr 21, 2011 at 04:29:17PM +0200, Detlev Zundel wrote: What about the problem with checkpatch errors in current code, i.e. the origin of this sentence: Also warnings produced for context lines (i.e. existing code) rather than actual changes can also be ignored. How

Re: [U-Boot] Update and Cut down mach types

2011-04-20 Thread Detlev Zundel
-- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de ___ U-Boot mailing list U-Boot

Re: [U-Boot] [PATCH v2 3/6] TFTP: rename server to remote

2011-04-20 Thread Detlev Zundel
so that checkpatch does not complain. So I proceeded along that way. Now Detlev Zundel wrote: ... Hm, I see. Still, can we have one commit (with cosmetic in the changelog) that silences checkpatch but does not have any functional changes? We really try hard to separate cosmetic from

Re: [U-Boot] UEC phy not working on first try

2011-04-20 Thread Detlev Zundel
algorithms that are already packaged in a plug-in way, using a trendy language, should buy other people's books. -- Donald Knuth, Fascicle 1 -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194

Re: [U-Boot] [PATCH v2 3/6] TFTP: rename server to remote

2011-04-20 Thread Detlev Zundel
Hi Luca, Il 19/04/2011 16:18, Detlev Zundel ha scritto: Hi Luca, With the upcoming TFTP server implementation, the remote node can be either a client or a server, so avoid ambiguities. Signed-off-by: Luca Ceresoliluca.ceres...@comelit.it Cc: Wolfgang Denkw...@denx.de --- Changes in v2

[U-Boot] Policy for checkpatch usage?

2011-04-20 Thread Detlev Zundel
: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] UEC phy not working on first try

2011-04-20 Thread Detlev Zundel
policies about what changes to install. To do a good job of maintaining Emacs doesn't require acting like government bureaucrats. -- Richard Stallman e1mix3y-0005iz...@fencepost.gnu.org -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office

[U-Boot] checkpatch - theory and practice [was: [PATCH v2 3/6] TFTP: rename server to remote]

2011-04-20 Thread Detlev Zundel
of all evil. -- Douglas Hofstadter -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de

Re: [U-Boot] Policy for checkpatch usage?

2011-04-20 Thread Detlev Zundel
Hi Graeme, On Wednesday, April 20, 2011, Detlev Zundel d...@denx.de wrote: Hi, As a base for discussion, what about this:  Use common sense in interpreting the results of checkpatch. Warnings  that clearly only make sense in the Linux kernel can be ignored.  Also  warnings produced

Re: [U-Boot] Policy for checkpatch usage?

2011-04-20 Thread Detlev Zundel
Hi Graeme, On Wednesday, April 20, 2011, Graeme Russ graeme.r...@gmail.com wrote: On Wednesday, April 20, 2011, Detlev Zundel d...@denx.de wrote: Hi, As a base for discussion, what about this:   Use common sense in interpreting the results of checkpatch. Warnings   that clearly only

Re: [U-Boot] TFTP - check for len == 0 before storing

2011-04-20 Thread Detlev Zundel
previously impossible thoughts. - Edsger W. Dijkstra -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de

Re: [U-Boot] [PATCH v2 0/6] TFTP server

2011-04-19 Thread Detlev Zundel
.-- Yann Martel -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de

Re: [U-Boot] [PATCH v2 1/6] README: remove spurious line

2011-04-19 Thread Detlev Zundel
+1299,6 @@ The following options need to be configured: driver in use must provide a function: mcast() to join/leave a multicast group. - CONFIG_BOOTP_RANDOM_DELAY - BOOTP Recovery Mode: CONFIG_BOOTP_RANDOM_DELAY Acked-by: Detlev Zundel d

Re: [U-Boot] [PATCH v2 2/6] NET: pass source IP address to packet handlers

2011-04-19 Thread Detlev Zundel
, 6); This second hunk is not related to the patch at hand, so strictly speaking it should not be in here. It's not enough to NAK the patch however, just something to look out for in the future. Apart from that the changes look good, so Acked-by: Detlev Zundel d...@denx.de -- LISP has jokingly

Re: [U-Boot] [PATCH v2 3/6] TFTP: rename server to remote

2011-04-19 Thread Detlev Zundel
); + TftpRemoteIP = string_to_ip(BootFile); Whitespace fix. Apart from that, patch looks simple enough, so Acked-by: Detlev Zundel d...@denx.de -- 14474011154664524427946373126085988481573677491474835889066354349131199152128 If you know why this number is perfect - you're probably

Re: [U-Boot] [PATCH v2 4/6] TFTP: rename STATE_RRQ to STATE_SEND_RRQ

2011-04-19 Thread Detlev Zundel
Hi Luca, With the upcoming TFTP server implementation, requests can be either outgoing or incoming, so avoid ambiguities. Signed-off-by: Luca Ceresoli luca.ceres...@comelit.it Cc: Wolfgang Denk w...@denx.de --- Changes in v2: none. Acked-by: Detlev Zundel d...@denx.de -- We can forgive

Re: [U-Boot] [PATCH v2 5/6] TFTP: net/tftp.c: add server mode receive

2011-04-19 Thread Detlev Zundel
. -- Salman Rushdie -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de

Re: [U-Boot] [PATCH v2 6/6] TFTP: add tftpsrv command

2011-04-19 Thread Detlev Zundel
Hi Luca, Signed-off-by: Luca Ceresoli luca.ceres...@comelit.it Cc: Wolfgang Denk w...@denx.de --- Changes in v2: none. Acked-by: Detlev Zundel d...@denx.de -- I have always observed that the pretensions of all people are in exact inverse ratio to their merits; this is one of the axioms

Re: [U-Boot] [PATCH V2] JFFS2: bug fix for summary support.

2011-04-19 Thread Detlev Zundel
the chicken cross the Moebius strip? A: To get to the other ... er, um ... -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de

Re: [U-Boot] [PATCH,V2] JFFS2: accelerate scanning.

2011-04-19 Thread Detlev Zundel
Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] [PATCH v5] MX31: Introduce get_reset_cause()

2011-04-19 Thread Detlev Zundel
deletions(-) Thanks, this looks good. Now all i.MX31 boards profit! Acked-by: Detlev Zundel d...@denx.de -- config LGUEST If unsure, say N. If curious, say M. If masochistic, say Y. -- linux/drivers/lguest/Kconfig -- DENX Software Engineering GmbH

Re: [U-Boot] UEC phy not working on first try

2011-04-19 Thread Detlev Zundel
and if it really is an information that the phy provides, if the physical path to the phy is stable. Best wishes Detlev Zundel -- Those who do not understand Unix are condemned to reinvent it, poorly. - Henry Spencer, University of Toronto Unix hack -- DENX Software Engineering GmbH, MD

Re: [U-Boot] [PATCH v2 3/6] TFTP: rename server to remote

2011-04-19 Thread Detlev Zundel
Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 2/3] MX31: Introduce get_reset_cause()

2011-04-18 Thread Detlev Zundel
. -- The UNIX Haters Handbook -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de

Re: [U-Boot] [PATCH V3 1/2] MX5: factor out boot cause funciton to common code

2011-04-18 Thread Detlev Zundel
: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo

Re: [U-Boot] [PATCH v2 2/2] MX31: mx31pdk: Print the cause of reset

2011-04-13 Thread Detlev Zundel
Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] [PATCH 2/3] Initialize second PHY on OpenRD-Client and OpenRD-Ultimate.

2011-04-13 Thread Detlev Zundel
in ELisp ((lambda (l) (prin1-to-string (list l (list (quote quote) l (quote (lambda (l) (prin1-to-string (list l (list (quote quote) l)) -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone

Re: [U-Boot] [PATCH] JFFS2: bug fix for summary support.

2011-04-13 Thread Detlev Zundel
Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] JFFS2: accelerate scanning.

2011-04-13 Thread Detlev Zundel
GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de

Re: [U-Boot] [PATCH v2] MX51: mx51evk: Use struct to access SRSR register instead of offset

2011-04-13 Thread Detlev Zundel
: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo

Re: [U-Boot] [PATCH v5 0/9] Universal PHY Infrastructure

2011-04-13 Thread Detlev Zundel
the possibility of ease and security for all; we have chosen, instead, to have overwork for some and starvation for others. -- Bertrand Russell -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194

Re: [U-Boot] [PATCH v5 8/9] fsl: Change fsl_phy_enet_if to phy_interface_t

2011-04-13 Thread Detlev Zundel
). Instead, we switch all clients of fsl_phy_enet_if over to phy_interface_t, which should become the standard, anyway. Signed-off-by: Andy Fleming aflem...@freescale.com Looks good, so Acked-by: Detlev Zundel d...@denx.de Cheers Detlev -- Ich glaube, daß die Weltanschauung, die aus der

<    1   2   3   4   5   6   7   8   9   >