Request for inclusion of below patch.
CC Joe Hershberger as listed maintainer for 'drivers/net/'.
Thanks,
Andreas
On Thu, 2018-11-29 at 20:04 +0100, Andreas Pretzsch wrote:
> For KSZ9021, all skew register fields are 4-bit wide.
> For KSZ9031, the clock skew register fields are 5-bi
results in 1860 (== +960ps) instead of the requested one.
Fix the check by using the bit width instead of hardcoded value(s).
Signed-off-by: Andreas Pretzsch
---
drivers/net/phy/micrel_ksz90x1.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/phy/micrel_ksz90x1
engineering
Ingenieurbuero fuer Hard- Software-Entwicklung Andreas Pretzsch
Dipl.-Ing. (FH) Andreas Pretzsch Tel. +49-(0)731-5521572
Hahnengasse 3 Fax: +49-(0)731-5521573
89073 Ulm, Germanyemail: a...@cn-eng.de
Am Montag, den 18.07.2011, 13:49 -0400 schrieb Mike Frysinger:
On Sat, Jul 16, 2011 at 13:32, Andreas Pretzsch wrote:
The sspi command writes the given data out on SPI and prints the data it
reads to the console. For write-only slaves (i.e. a SPI-connected latch
used as output expander
.
Opinions/decisions ?
--
carpe noctem engineering
Ingenieurbuero fuer Hard- Software-Entwicklung Andreas Pretzsch
Dipl.-Ing. (FH) Andreas Pretzsch Tel. +49-(0)731-5521572
Hahnengasse 3 Fax: +49-(0)731-5521573
89073 Ulm, Germanyemail
/README.update for more information.
Adhere to present coding style = checkpatch warnings discarded.
Changes for v2:
- void update_tftp() = int update_tftp(): return success/fail
Andreas Pretzsch (2):
automatic update from FIT image: add optional address parameter
add command fitupd to run
success/fail.
Signed-off-by: Andreas Pretzsch a...@cn-eng.de
---
Changes for v2:
- void update_tftp() = int update_tftp(): return success/fail
---
common/main.c |4 ++--
common/update.c | 20 ++--
2 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/common
Command calls update_tftp() analogous to automatic update described
in doc/README.update.
Usage:
fitupd [addr]
- run update from FIT image at addr
or from tftp 'updatefile'
Signed-off-by: Andreas Pretzsch a...@cn-eng.de
---
Changes for v2:
- void update_tftp() = int
compatible, previous sspi revisions
would simply ignore the flag (checked back to 2011.03).
Signed-off-by: Andreas Pretzsch a...@cn-eng.de
---
Data size (number of bits) are passed as separate parameter to sspi,
hence .w is free and not used as data size anyway.
---
common/cmd_spi.c | 16
://www.denx.de/wiki/DULG/CommandLineParsing General rules
--
carpe noctem engineering
Ingenieurbuero fuer Hard- Software-Entwicklung Andreas Pretzsch
Dipl.-Ing. (FH) Andreas Pretzsch Tel. +49-(0)731-5521572
Hahnengasse 3 Fax: +49-(0)731-5521573
89073 Ulm, Germany
Am Dienstag, den 05.07.2011, 13:44 -0400 schrieb Mike Frysinger:
On Tuesday, July 05, 2011 12:59:16 Andreas Pretzsch wrote:
As of today (2011.06), the generic gpio command (common/cmd_gpio.c)
gpio input|set|clear|toggle portpin
- input/set/clear/toggle the specified pin (e.g
Ingenieurbuero fuer Hard- Software-Entwicklung Andreas Pretzsch
Dipl.-Ing. (FH) Andreas Pretzsch Tel. +49-(0)731-5521572
Hahnengasse 3 Fax: +49-(0)731-5521573
89073 Ulm, Germanyemail: a...@cn-eng.de
- Software-Entwicklung Andreas Pretzsch
Dipl.-Ing. (FH) Andreas Pretzsch Tel. +49-(0)731-5521572
Hahnengasse 3 Fax: +49-(0)731-5521573
89073 Ulm, Germanyemail: a...@cn-eng.de
___
U-Boot mailing list
U
/README.update for more information.
Adhere to present coding style = checkpatch warnings discarded.
Andreas Pretzsch (2):
automatic update from FIT image: add optional address parameter
add command fitupd to run an update from a FIT image
common/Makefile |1 +
common/cmd_fitupd.c | 37
Current update_tftp() flow:
1.) fetch updatefile from defined TFTP server
2.) check if FIT format
3.) flash contained images
Add an address parameter to update_tftp(). If this address is non-zero,
skip the TFTP transfer and use the image at this address.
Signed-off-by: Andreas Pretzsch
Command calls update_tftp() analogous to automatic update described
in doc/README.update.
Usage:
fitupd [addr]
- run update from FIT image at addr
or from tftp 'updatefile'
Signed-off-by: Andreas Pretzsch a...@cn-eng.de
---
common/Makefile |1 +
common/cmd_fitupd.c
Am Mittwoch, den 13.04.2011, 21:47 +0200 schrieb Andreas Pretzsch:
Am Montag, den 11.04.2011, 23:11 +0200 schrieb Wolfgang Denk:
In message 1302554333.13241.158.ca...@ws-apr.office.loc you wrote:
Is there a way to manually trigger an automatic update using a FIT
image, based on the way
.) extend source command
--
carpe noctem engineering
Ingenieurbuero fuer Hard- Software-Entwicklung Andreas Pretzsch
Dipl.-Ing. (FH) Andreas Pretzsch Tel. +49-(0)731-5521572
Hahnengasse 3 Fax: +49-(0)731-5521573
89073 Ulm, Germanyemail
Am Dienstag, den 12.04.2011, 16:15 +0200 schrieb Wolfgang Denk:
Dear Andreas Pretzsch,
In message 1302614926.27200.12.ca...@ws-apr.office.loc you wrote:
True, but it would pollute the env with transient variables like
fileaddr, filesize and serveraddr. Nothing serious, of course.
Do
Am Montag, den 11.04.2011, 23:14 -0400 schrieb Mike Frysinger:
On Monday, April 11, 2011 15:34:17 Andreas Pretzsch wrote:
Am Sonntag, den 03.04.2011, 04:43 -0400 schrieb Mike Frysinger:
+ return port_base + simple_strtoul(name, NULL, 10);
Remark: Leads to an oom access when exceeding
Am Dienstag, den 12.04.2011, 03:03 -0400 schrieb Mike Frysinger:
Make sure the pin request passed before attempting to use it later on.
Signed-off-by: Mike Frysinger vap...@gentoo.org
Tested-by: Andreas Pretzsch a...@cn-eng.de
Verified on Blackfin BF561 with full port range.
--
carpe
the effort (or a good idea at all), but one
might think about a concept of transient variables (in standard parser,
not checked hush parser).
--
carpe noctem engineering
Ingenieurbuero fuer Hard- Software-Entwicklung Andreas Pretzsch
Dipl.-Ing. (FH) Andreas Pretzsch Tel. +49-(0)731-5521572
think, worth the effort, acceptable in mainline or
over-engineering ?
--
carpe noctem engineering
Ingenieurbuero fuer Hard- Software-Entwicklung Andreas Pretzsch
Dipl.-Ing. (FH) Andreas Pretzsch Tel. +49-(0)731-5521572
Hahnengasse 3 Fax: +49-(0)731-5521573
(think /proc/gpio)
Once these pieces are pulled out, we can relocate the cmd_gpio.c into the
common directory.
Signed-off-by: Mike Frysinger vap...@gentoo.org
Tested-by: Andreas Pretzsch a...@cn-eng.de
Verified on Blackfin BF561 with full port range.
--- a/arch/blackfin/include/asm/gpio.h
-Entwicklung Andreas Pretzsch
Dipl.-Ing. (FH) Andreas Pretzsch Tel. +49-(0)731-5521572
Hahnengasse 3 Fax: +49-(0)731-5521573
89073 Ulm, Germanyemail: a...@cn-eng.de
___
U-Boot mailing list
U-Boot
Am Montag, den 11.04.2011, 21:31 +0200 schrieb Albert ARIBAUD:
Le 11/04/2011 20:52, Andreas Pretzsch a écrit :
Objective: Skip an area in memory commands
Example use case: Skip over embedded environment when updating U-Boot
In case of an embedded environment, a complete U-Boot binary
called once during the
startup, but not referenced by any command.
Use case: Disaster recovery update via altbootcmd.
Thanks in advance,
A. Pretzsch
--
carpe noctem engineering
Ingenieurbuero fuer Hard- Software-Entwicklung Andreas Pretzsch
Dipl.-Ing. (FH) Andreas Pretzsch Tel. +49-(0
mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
--
carpe noctem engineering
Ingenieurbuero fuer Hard- Software-Entwicklung Andreas Pretzsch
Dipl.-Ing. (FH) Andreas Pretzsch Tel. +49-(0)731-5521572
Hahnengasse 3 Fax: +49-(0
Am Freitag, den 07.01.2011, 17:38 -0500 schrieb Mike Frysinger:
On Friday, January 07, 2011 15:50:30 Andreas Pretzsch wrote:
the Blackfin U-Boot GPIO command (see arch/blackfin/cpu/cmd_gpio.c)
specifies the port/pin naming in the form [p][port]#, e.g. PF11.
The pin portion of the specified
.
Attn.: Passing a # too high for the port will wrap over to the next
port(s), e.g. PA16 = PB0. Not a problem for correct scripts, though.
Signed-off-by: Andreas Pretzsch a...@cn-eng.de
---
arch/blackfin/cpu/cmd_gpio.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git
Am Montag, den 10.01.2011, 11:28 -0500 schrieb Mike Frysinger:
On Mon, Jan 10, 2011 at 10:59 AM, Andreas Pretzsch wrote:
As your code already uses the Linux GPIO conventions and naming (without
the gpio_chip stuff, which is not necessary for a bootloader IMHO), it'd
be a solid base
look at the portmux stuff.
Best regards,
A. Pretzsch
--
carpe noctem engineering
Ingenieurbuero fuer Hard- Software-Entwicklung Andreas Pretzsch
Dipl.-Ing. (FH) Andreas Pretzsch Tel. +49-(0)731-5521572
Hahnengasse 3 Fax: +49-(0)731-5521573
89073 Ulm, Germany
and in U-Boot. Admittedly, not a
real issue.
Thanks in advance,
A. Pretzsch
--
carpe noctem engineering
Ingenieurbuero fuer Hard- Software-Entwicklung Andreas Pretzsch
Dipl.-Ing. (FH) Andreas Pretzsch Tel. +49-(0)731-5521572
Hahnengasse 3 Fax: +49-(0)731
noctem engineering
Ingenieurbuero fuer Hard- Software-Entwicklung Andreas Pretzsch
Dipl.-Ing. (FH) Andreas Pretzsch Tel. +49-(0)731-5521572
Hahnengasse 3 Fax: +49-(0)731-5521573
89073 Ulm, Germanyemail: a...@cn-eng.de
, I'll have a look at your points again later. But
honestly, the stack on my desk piles up a bit too much right now...
Sorry.
Best regards,
Andreas
Am Montag, den 27.09.2010, 08:37 +0200 schrieb Albert ARIBAUD:
Hi Andreas,
Le 27/09/2010 07:15, Andreas Pretzsch a écrit :
In a nit-picking
!= CONFIG_SYS_FLASH_BASE)
- U-Boot on architectures not capable of a single jump forward
by e.g. 32kB or 64kB
- redundant environment
- mixed flash/external environment
- ...
--
carpe noctem engineering
Ingenieurbuero fuer Hard- Software-Entwicklung Andreas Pretzsch
Dipl.-Ing. (FH) Andreas
, just throwing in
another bit of confusion ;-)
--
carpe noctem engineering
Ingenieurbuero fuer Hard- Software-Entwicklung Andreas Pretzsch
Dipl.-Ing. (FH) Andreas Pretzsch Tel. 0731/98588-800
Marlene-Dietrich-Strasse 5 Fax: 0731/98588-801
89231 Neu-Ulm
not to port this code to U-Boot, given
that someone (which might be me) has some spare time for this ?
Thanks in advance,
A. Pretzsch
--
carpe noctem engineering
Ingenieurbuero fuer Hard- Software-Entwicklung Andreas Pretzsch
Dipl.-Ing. (FH) Andreas Pretzsch Tel. 0731/98588-800
Signed-off-by: Andreas Pretzsch a...@cn-eng.de
---
drivers/net/smc911x.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/net/smc911x.h b/drivers/net/smc911x.h
index 80d2ce0..c14003c 100644
--- a/drivers/net/smc911x.h
+++ b/drivers/net/smc911x.h
@@ -382,6 +382,7
39 matches
Mail list logo