Am Mittwoch 21 Dezember 2011, 00:35:46 schrieb Michael Walle:
The decompressor expects the L2 cache to be disabled. This fixes booting
some kernels, which have CONFIG_ARM_PATCH_PHYS_VIRT enabled.
Ping :)
--
Michael
___
U-Boot mailing list
U-Boot
Am Sonntag 18 Dezember 2011, 02:57:01 schrieb Prafulla Wadaskar:
-Original Message-
From: Michael Walle [mailto:mich...@walle.cc]
Sent: 17 December 2011 09:31
To: u-boot@lists.denx.de
Cc: Albert ARIBAUD; Prafulla Wadaskar; Wolfgang Denk
Subject: Re: [PATCH] kirkwood_spi: fix
This patchset adds support for both the Linkstation Live (LS-CHLv2) and
Linkstation Pro (LS-XHL) by Buffalo.
Signed-off-by: Michael Walle mich...@walle.cc
Cc: Prafulla Wadaskar prafu...@marvell.com
---
MAINTAINERS |4 +
board/Marvell/lsxl/Makefile | 50
directory?
I was just guessing. It is a Marvell SoC and marvell SoC boards of other
vendors are in the Marvell/ directory, too. But i'm also happy with Buffalo/
(or buffalo/?).
+Michael Walle mich...@walle.cc
+
+ lsxlARM926EJS (Kirkwood SoC)
You add two boards, so please also
On Tue, January 3, 2012 00:55, Wolfgang Denk wrote:
+#define CONFIG_ETHADDR 02:00:01:00:00:00
...
+#define CONFIG_IPADDR 192.168.11.150
+#define CONFIG_SERVERIP 192.168.11.1
+#define CONFIG_NETMASK 255.255.255.0
NAK. We do not allow such static
Hi Wolfgang,
On Tue, January 3, 2012 09:09, Wolfgang Denk wrote:
NAK. We do not allow such static network configurations.
i've already guessed that ;) you may remember our lengthy discussions
about
the board which don't have a dedicated NVRAM for the ethernet address.
Well,
this is such a
Am Dienstag 03 Januar 2012, 15:46:09 schrieb Wolfgang Denk:
Dear Michael,
In message b96abc7f27f132b4b00377ddd9ca632d.squir...@ssl.serverraum.org
you wrote:
The linkstations don't have a (populated) serial port. There is no way to
access an unmodified board other than using the
Hi Wolfgang,
Am Dienstag 03 Januar 2012, 00:55:41 schrieb Wolfgang Denk:
+#define CONFIG_ETHADDR 02:00:01:00:00:00
...
+#define CONFIG_IPADDR 192.168.11.150
+#define CONFIG_SERVERIP192.168.11.1
+#define CONFIG_NETMASK 255.255.255.0
NAK. We
Am Dienstag 03 Januar 2012, 15:46:09 schrieb Wolfgang Denk:
Dear Michael,
In message b96abc7f27f132b4b00377ddd9ca632d.squir...@ssl.serverraum.org
you wrote:
The linkstations don't have a (populated) serial port. There is no way to
access an unmodified board other than using the
Move actual script execution into a new function run_script(), which then
can be called from other modules.
Signed-off-by: Michael Walle mich...@walle.cc
Cc: Wolfgang Denk w...@denx.de
---
common/cmd_source.c | 71 --
include/common.h|1
On Wed, January 11, 2012 00:40, Mike Frysinger wrote:
On Tuesday 10 January 2012 18:04:19 Michael Walle wrote:
--- a/common/cmd_source.c
+++ b/common/cmd_source.c
+/*
+ * Run a series of commands, separated by '\n'.
+ * Beware, the contents of script may be modified while it is parsed
Am Mittwoch 11 Januar 2012, 00:40:04 schrieb Mike Frysinger:
although i wonder if it'd be possible to merge this into existing
run_commands2() ... do we allow newlines now in variables that get run ?
mh if the hush parser is enabled this seems to be true. eg. source() and
run_commands2() use
Am Donnerstag 12 Januar 2012, 22:51:48 schrieb Michael
Walle:
Am Mittwoch 11 Januar 2012, 00:40:04 schrieb Mike
Frysinger:
although i wonder if it'd be possible to merge this
into existing
run_commands2() ... do we allow newlines now in
variables that get run ?
mh if the hush parser
The decompressor expects the L2 cache to be disabled. This fixes booting
some kernels, which have CONFIG_ARM_PATCH_PHYS_VIRT enabled.
Signed-off-by: Michael Walle mich...@walle.cc
Cc: Albert ARIBAUD albert.u.b...@aribaud.net
Cc: Prafulla Wadaskar prafu...@marvell.com
---
This is a repost, because
[Sorry can't answer to the original message, because it was blocked by spam
filter]
Also, I'm missing something: you introduce two functions, for enabling
and disabling the cache, yet the code uses only the one for disabling.
So what enabled it in the first place?
The L2C is enabled in
Introduce source_commands() which incorporates run_command2() and parts of
source().
All command script are now treated the same, that is newlines are accepted
within a command script and variable.
Signed-off-by: Michael Walle mich...@walle.cc
Cc: Wolfgang Denk w...@denx.de
Cc: Mike Frysinger
Introduce source_commands() which incorporates run_command2() and parts of
source().
All command script are now treated the same, that is newlines are accepted
within a command script and variable.
Signed-off-by: Michael Walle mich...@walle.cc
Cc: Wolfgang Denk w...@denx.de
Cc: Mike Frysinger
Am Freitag 20 Januar 2012, 23:46:51 schrieb Michael Walle:
Introduce source_commands() which incorporates run_command2() and parts of
source().
All command script are now treated the same, that is newlines are accepted
within a command script and variable.
Signed-off-by: Michael Walle
Hi Simon,
Am Samstag 14 Januar 2012, 07:45:52 schrieb Simon Glass:
diff --git a/common/cmd_source.c b/common/cmd_source.c
index 481241c..32fff5c 100644
--- a/common/cmd_source.c
+++ b/common/cmd_source.c
@@ -179,7 +179,7 @@ source (ulong addr, const char *fit_uname)
Am Freitag 13 Januar 2012, 23:59:08 schrieb Michael Walle:
[Sorry can't answer to the original message, because it was blocked by spam
filter]
Also, I'm missing something: you introduce two functions, for enabling
and disabling the cache, yet the code uses only the one for disabling.
So
The decompressor expects the L2 cache to be disabled. This fixes booting
some kernels, which have CONFIG_ARM_PATCH_PHYS_VIRT enabled.
Signed-off-by: Michael Walle mich...@walle.cc
Cc: Albert ARIBAUD albert.u.b...@aribaud.net
Cc: Prafulla Wadaskar prafu...@marvell.com
Cc: Wolfgang Denk w
The decompressor expects the L2 cache to be disabled. This fixes booting
some kernels, which have CONFIG_ARM_PATCH_PHYS_VIRT enabled.
Signed-off-by: Michael Walle mich...@walle.cc
Acked-by: Prafulla Wadaskar prafu...@marvell.com
Cc: Albert ARIBAUD albert.u.b...@aribaud.net
Cc: Prafulla Wadaskar
Am Mittwoch 15 Februar 2012, 07:05:24 schrieb Simon Glass:
Unfortunately I think that this approach is a little broken. We are running
a command sequence from getenv(), but while processing it, we might update
the environment variable. Worse, we actually overwrite the newlines in the
variable
Am Mittwoch 15 Februar 2012, 23:23:19 schrieb Simon Glass:
Hi Michael,
On Wed, Feb 15, 2012 at 11:38 AM, Michael Walle mich...@walle.cc wrote:
Am Mittwoch 15 Februar 2012, 07:07:09 schrieb Simon Glass:
This new function runs a list of commands separated by semicolon. We
move this out
Am 2013-04-10 18:13, schrieb Joe Hershberger:
Hi Michael,
On Wed, Apr 10, 2013 at 5:07 AM, Michael Walle mich...@walle.cc
wrote:
On Wed, April 10, 2013 03:51, Joe Hershberger wrote:
Hi Michael,
I just tested this on my Zynq target and it worked. However, you
make
a good point
Am Mittwoch, 10. April 2013, 18:13:57 schrieb Joe Hershberger:
disabling the network console before control is handed over to an
operating system sounds reasonable.
If i understand you correctly, the network will only be halted once the
bootloader starts an operating system. Then what
Hi Joe, Hi Tom,
If i have the netconsole enabled i cannot boot linux using the bootm command.
This bug exists at least in 2013.01.01 and 2013.04-rc2 :/
Here is the output of the serial console of a successful startup:
## Booting kernel from Legacy Image at 0010 ...
Image Name:
On Wed, April 10, 2013 03:51, Joe Hershberger wrote:
Hi Michael,
I just tested this on my Zynq target and it worked. However, you make
a good point that it is possible for there to be more traces after the
eth_halt call. I can't imagine the stack would like that in all
situations (since
Hi Joe,
Am Mittwoch 10 April 2013, 18:13:57 schrieb Joe Hershberger:
If i understand you correctly, the network will only be halted once the
bootloader starts an operating system. Then what do you think about
making either the nc_send_packet() or nc_putc()/nc_puts() function a
noop when
Hi all,
Am Mittwoch 06 Juni 2012, 13:26:40 schrieb Prafulla Wadaskar:
u-boot-marvell.git is cloned from u-boot-arm.git, and I always sync with
this before any task. And just to keep it clean for pull requests I would
not like to pull any other repository in it.
Copying Albert on this, who
FreeBSD's ubldr. Without this patch it will just stop receiving
packets if the NIC receives more than PKTBUFSRX too large packets.
Signed-off-by: Michael Walle mich...@walle.cc
Cc: Joe Hershberger joe.hershber...@gmail.com
Cc: Rafal Jaworowski r...@semihalf.com
Cc: Piotr Kruszynski p...@semihalf.com
[removed Piotr Kruszynski from CC because mail address does not exist anymore]
Hi Joe,
Am Montag 25 Juni 2012, 22:25:56 schrieb Joe Hershberger:
Hi Michael,
On Fri, Jun 22, 2012 at 4:24 PM, Michael Walle mich...@walle.cc wrote:
If the requested length is too small to hold the received
Hi Prafulla,
u-boot-marvell.git is cloned from u-boot-arm.git, and I always sync with
this before any task. And just to keep it clean for pull requests I would
not like to pull any other repository in it.
i just got informed by albert, that he updated his tree. So hopefully the
patchset can
Am Donnerstag 05 Juli 2012, 20:18:12 schrieb Kim Phillips:
On Mon, 4 Jun 2012 15:10:55 -0500
Joe Hershberger joe.hershber...@gmail.com wrote:
On Fri, Jun 1, 2012 at 3:39 PM, Michael Walle mich...@walle.cc wrote:
Replace rand() with the functions from lib/. The link-local network
code
41768 327732 50034 ./u-boot
In file included from bootp.c:15:0:
net_rand.h: In function 'srand_mac':
net_rand.h:40:2: warning: implicit declaration of function 'srand'
[-Wimplicit-function-declaration]
adding this dependency fixes it.
Cc: Michael Walle mich...@walle.cc
Cc: Joe Hershberger
it
independent from calls to srand() in other modules.
Signed-off-by: Michael Walle mich...@walle.cc
Acked-by: Joe Hershberger joe.hershber...@ni.com
---
include/common.h |4 ++-
lib/Makefile |4 ++-
net/Makefile |2 -
net/link_local.c |7 +++--
net
Hi,
Am Dienstag 10 Juli 2012, 09:31:42 schrieb Wolfgang Denk:
Hi everybody,
this is to let you know that the v2012.07-rc1 prerelease is out.
Please help testing, so we can fix the remaining issues before the
release, which I decided to shift by a week, i. e. the new schedule
for the
Hi,
Am Dienstag 10 Juli 2012, 09:31:42 schrieb Wolfgang Denk:
Hi everybody,
this is to let you know that the v2012.07-rc1 prerelease is out.
Please help testing, so we can fix the remaining issues before the
release, which I decided to shift by a week, i. e. the new schedule
Hi Joe,
Am Montag 23 Juli 2012, 21:30:28 schrieb Joe Hershberger:
On Sat, Jul 21, 2012 at 1:04 PM, Michael Walle mich...@walle.cc wrote:
Mh i guess NetLoop isn't called and thus NetOurEther is never
initialized. Similar issue like
d7310c7e63ca9ffd42527dc9735cb505cbe908b7. Initializing
() is called (especially by nc_start()).
Signed-off-by: Joe Hershberger joe.hershber...@ni.com
Reported-by: Michael Walle mich...@walle.cc
---
net/net.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/net/net.c b/net/net.c
index 9de7d92..e8ff066 100644
--- a/net/net.c
.
Additionally, this patch fixes the board function set_led(LED_OFF).
Signed-off-by: Michael Walle mich...@walle.cc
Cc: Prafulla Wadaskar prafu...@marvell.com
---
board/buffalo/lsxl/lsxl.c | 22 +-
1 files changed, 21 insertions(+), 1 deletions(-)
diff --git a/board/buffalo/lsxl/lsxl.c
On Tue, July 31, 2012 07:59, Prafulla Wadaskar wrote:
-Original Message-
From: Michael Walle [mailto:mich...@walle.cc]
Sent: 31 July 2012 02:17
To: u-boot@lists.denx.de
Cc: Michael Walle; Prafulla Wadaskar
Subject: [PATCH] lsxl: support power switch
This patch restores
Am Dienstag 31 Juli 2012, 13:12:19 schrieb Prafulla Wadaskar:
-Original Message-
From: Michael Walle [mailto:mich...@walle.cc]
Sent: 31 July 2012 16:22
To: Prafulla Wadaskar
Cc: Michael Walle; u-boot@lists.denx.de
Subject: RE: [PATCH] lsxl: support power switch
On Tue
It's a PRNG using the simple and fast xorshift method.
Signed-off-by: Michael Walle mich...@walle.cc
---
include/common.h |4
lib/Makefile |1 +
lib/rand.c | 43 +++
3 files changed, 48 insertions(+), 0 deletions(-)
create mode
This patchset is a split-off from my patch series Kirkwood: add lschlv2
and lsxhl board support.
Changes:
v4:
- typo fixes (thanks Mike)
- seed all 46bits of the generated ethernet address (suggested by Mike)
v3, v2:
[contained only lsxhl board changes]
Michael Walle (3):
lib: add rand
Add new function eth_random_enetaddr() to generate a locally administered
ethernet address.
Signed-off-by: Michael Walle mich...@walle.cc
---
include/net.h | 15 +++
net/eth.c | 20
2 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/include
Signed-off-by: Michael Walle mich...@walle.cc
---
include/net.h | 12
net/eth.c |8
2 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/include/net.h b/include/net.h
index 0da5679..eec846b 100644
--- a/include/net.h
+++ b/include/net.h
@@ -119,6 +119,18
This patch adds support for both the Linkstation Live (LS-CHLv2) and
Linkstation Pro (LS-XHL) by Buffalo.
Signed-off-by: Michael Walle mich...@walle.cc
Cc: Prafulla Wadaskar prafu...@marvell.com
Cc: Wolfgang Denk w...@denx.de
---
This patch depends on PATCH v4 0/3] net: helper functions
Am Donnerstag 10 Mai 2012, 19:32:11 schrieb Michael Walle:
This patchset is a split-off from my patch series Kirkwood: add lschlv2
and lsxhl board support.
Hi Joe,
will you ack/nak these patch series and in case of an ack, Prafulla will fetch
these into his tree? Or how is it supposed to work
Am Freitag 11 Mai 2012, 21:18:50 schrieb Wolfgang Denk:
Dear Michael Walle,
In message 1336671134-16342-1-git-send-email-mich...@walle.cc you wrote:
This patchset is a split-off from my patch series Kirkwood: add lschlv2
and lsxhl board support.
Changes:
v4:
- typo fixes
Am Freitag 11 Mai 2012, 21:20:02 schrieb Wolfgang Denk:
Dear Michael Walle,
In message 1336671134-16342-2-git-send-email-mich...@walle.cc you wrote:
It's a PRNG using the simple and fast xorshift method.
...
+static unsigned int y = 2463534242U;
Hm... can we introduce at least
Am Freitag 11 Mai 2012, 22:43:16 schrieb Wolfgang Denk:
Keep these patches together, please. The responsible
custodians can
still ACK individual patches of the series.
The fact that only a single board ever needed these
functions makes me
wonder if these are really of any general use.
Am Freitag 11 Mai 2012, 21:25:27 schrieb Wolfgang Denk:
Dear Michael Walle,
In message 1336671134-16342-4-git-send-email-mich...@walle.cc you wrote:
Signed-off-by: Michael Walle mich...@walle.cc
How many boards will be using this code?
Hopefully more boars will use this function
please keep the ML on Cc: - thanks.
sorry wrong key
In message 201205112249.27871.mich...@walle.cc you wrote:
+static unsigned int y = 2463534242U;
Hm... can we introduce at least a little entropy somewhere?
Mh? A user is supposed to seed via srand().
Then why
Am Freitag 11 Mai 2012, 23:14:25 schrieb Wolfgang Denk:
Dear Michael Walle,
In message 201205112254.13896.mich...@walle.cc you wrote:
What about the rand function? I guess that should be two
compile time options
- CONFIG_RAND
- CONFIG_RANDOM_HWADDR
Any better names?
Please
Am Freitag 11 Mai 2012, 23:29:47 schrieb Wolfgang Denk:
Dear Michael Walle,
In message 201205112320.15462.mich...@walle.cc you wrote:
This is inconsequent. Either we assume that the user will seed
srand(), then y should not be initialized at all, so it goes to the
BSS segment
Am Freitag 11 Mai 2012, 23:30:59 schrieb Wolfgang Denk:
Well, you patch did not change this code.
And I have to admit that I doubt the increased code size would be
worth such a change, at this place.
Ok, can we agree on keeping the rand function in lib/ but using just one macro
Am Freitag 11 Mai 2012, 23:16:02 schrieb Wolfgang Denk:
Dear Michael Walle,
In message 201205112301.50311.mich...@walle.cc you wrote:
Eventually this should be made configurable?
Given the above, i would keep it non-configurable if youre fine with
that.
Only if the code size
mode
- add some convenience scripts
- small cleanups
Michael Walle (5):
lib: add rand() function
net: add helper to generate random mac address
net: fix potential compiler warning
net: add eth_setenv_enetaddr_by_index()
Kirkwood: add lschlv2 and lsxhl board support
MAINTAINERS
It's a PRNG using the simple and fast xorshift method.
Signed-off-by: Michael Walle mich...@walle.cc
Cc: Wolfgang Denk w...@denx.de
---
include/common.h |6 ++
lib/Makefile |1 +
lib/rand.c | 43 +++
3 files changed, 50 insertions
Signed-off-by: Michael Walle mich...@walle.cc
Cc: Joe Hershberger joe.hershber...@gmail.com
---
include/net.h | 16
net/eth.c | 15 +++
2 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/include/net.h b/include/net.h
index f6aeba2..bdc3da6 100644
Future compiler versions may generate a too many arguments for functions
warning.
Signed-off-by: Michael Walle mich...@walle.cc
Cc: Joe Hershberger joe.hershber...@gmail.com
---
net/eth.c | 14 --
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/net/eth.c b/net/eth.c
Add new function eth_random_enetaddr() to generate a locally administered
ethernet address.
Signed-off-by: Michael Walle mich...@walle.cc
Cc: Joe Hershberger joe.hershber...@gmail.com
---
include/net.h | 17 +
net/eth.c | 22 ++
2 files changed, 39
This patch adds support for both the Linkstation Live (LS-CHLv2) and
Linkstation Pro (LS-XHL) by Buffalo.
Signed-off-by: Michael Walle mich...@walle.cc
Cc: Prafulla Wadaskar prafu...@marvell.com
---
MAINTAINERS |5 +
board/buffalo/lsxl/Makefile | 50
Am Samstag 12 Mai 2012, 00:50:48 schrieb Michael Walle:
Signed-off-by: Michael Walle mich...@walle.cc
Cc: Joe Hershberger joe.hershber...@gmail.com
---
include/net.h | 16
net/eth.c | 15 +++
2 files changed, 31 insertions(+), 0 deletions(-)
diff
Hi Joe,
Am Mittwoch 16 Mai 2012, 02:56:39 schrieb Joe Hershberger:
Hi Michael,
On Fri, May 11, 2012 at 5:50 PM, Michael Walle mich...@walle.cc wrote:
Signed-off-by: Michael Walle mich...@walle.cc
Cc: Joe Hershberger joe.hershber...@gmail.com
---
include/net.h | 16
Am Freitag 11 Mai 2012, 18:51:09 schrieb Prafulla Wadaskar:
I will check on this patch in this week end since I am travelling.
Hi Prafulla,
did you find the time to review the arm/board specific patches in this series
(http://patchwork.ozlabs.org/patch/158627/)?
--
Michael
[sorry my first mail didn't have 'Kirkwood' in the subject]
This patch adds support for both the Linkstation Live (LS-CHLv2) and
Linkstation Pro (LS-XHL) by Buffalo.
Am Freitag 11 Mai 2012, 18:51:09 schrieb Prafulla Wadaskar:
I will check on this patch in this week end since I am travelling.
Am Mittwoch 16 Mai 2012, 02:56:39 schrieb Joe Hershberger:
You should synchronize with Rob Herring who is also trying to add this
eth_setenv_enetaddr_by_index() function.
http://patchwork.ozlabs.org/patch/152590/
Hi Rob,
Joe mentioned you have the same patch as me here:
Am Dienstag 22 Mai 2012, 23:41:55 schrieb Rob Herring:
On 05/22/2012 04:18 PM, Michael Walle wrote:
Am Mittwoch 16 Mai 2012, 02:56:39 schrieb Joe Hershberger:
You should synchronize with Rob Herring who is also trying to add this
eth_setenv_enetaddr_by_index() function.
http
Am Samstag 12 Mai 2012, 00:50:45 schrieb Michael Walle:
It's a PRNG using the simple and fast xorshift method.
Signed-off-by: Michael Walle mich...@walle.cc
Cc: Wolfgang Denk w...@denx.de
Hi Wolfgang,
can you ack this patch? In that case i could add the acked-by line in the next
version
Hi Prafulla,
thanks for the review.
On Thu, May 24, 2012 09:24, Prafulla Wadaskar wrote:
-Original Message-
From: Michael Walle [mailto:mich...@walle.cc]
Sent: 12 May 2012 04:21
To: u-boot@lists.denx.de
Cc: Prafulla Wadaskar; Wolfgang Denk; Mike Frysinger; Joe Hershberger
On Thu, May 24, 2012 06:32, Prafulla Wadaskar wrote:
Hi Wolfgang,
can you ack this patch? In that case i could add the acked-by line in
the next
version of this patch series to ease the picking by Prafulla. All your
previous comments should be addressed :)
---
include/common.h |6
Am Freitag 25 Mai 2012, 20:50:09 schrieb Joe Hershberger:
[..snip..]
That way you aren't adding a function that noone else uses and you
don't need a silly guard around it.
Hi Joe,
thanks for the review. I think i'll drop the dynamic ethernet variable name
support entirely. Two reasons:
- it
Am Donnerstag 24 Mai 2012, 09:24:40 schrieb Prafulla Wadaskar:
+/*
+ * Version number information
+ */
+#if defined(CONFIG_LSCHLV2)
+#define CONFIG_IDENT_STRING LS-CHLv2
+#define CONFIG_SYS_KWD_CONFIG $(SRCTREE)/$(CONFIG_BOARDDIR)/kwbimage-
lschl.cfg
+#define CONFIG_MACH_TYPE 3006
Add new function eth_random_enetaddr() to generate a locally administered
ethernet address.
Signed-off-by: Michael Walle mich...@walle.cc
Acked-by: Joe Hershberger joe.hershber...@gmail.com
---
include/net.h | 17 +
net/eth.c | 22 ++
2 files changed
- don't define values for feature macros
- use tab for vertical alignment
- remove static network configuration, instead introduce a rescue mode
- add some convenience scripts
- small cleanups
Michael Walle (3):
lib: add rand() function
net: add helper to generate random mac address
This patch adds support for both the Linkstation Live (LS-CHLv2) and
Linkstation Pro (LS-XHL) by Buffalo.
Signed-off-by: Michael Walle mich...@walle.cc
Cc: Prafulla Wadaskar prafu...@marvell.com
---
MAINTAINERS |5 +
board/buffalo/lsxl/Makefile | 44
Change the prototype of kirkwood_mpp_conf() from
void kirkwood_mpp_conf(u32 *mpp_list)
to
void kirkwood_mpp_conf(const u32 *mpp_list)
Now we can declare the kwmpp_config static and const where possible.
Signed-off-by: Michael Walle mich...@walle.cc
Cc: Prafulla Wadaskar prafu...@marvell.com
Hi Luka,
Am Sonntag 27 Mai 2012, 23:20:29 schrieb Luka Perkov:
NACK. At least in this version. Please double check all the kirkwood
boards (taken from boards.cfg):
ups sorry, actually my tree wasn't up to date :( pogo_e02 is missing, too.
diff --git a/board/raidsonic/ib62x0/ib62x0.c
Am Mittwoch 23 Mai 2012, 19:57:58 schrieb Joe Hershberger:
t_ran
--
Mit freundlichen Grüßen,
Michael Walle
In den Rohrwiesen 1a
66440 Blieskastel
mich...@walle.cc
---
Don't cry because it is over, smile because it happened.
___
U-Boot mailing
[sorry for my first mail.. wasn't intented to be send]
Sorry for being too late on this.
Am Mittwoch 23 Mai 2012, 19:57:58 schrieb Joe Hershberger:
Make the MAC-seeded random number generator available to /net in
general. MAC-seeded rand will be needed by link-local as well, so
give it an
Am Donnerstag 24 Mai 2012, 10:26:44 schrieb Prafulla Wadaskar:
+
+void kirkwood_mpp_save(void)
This should be
void kirkwood_mpp_save(unsigned int *mpp_ctrl, int len)
+{
+ int i;
+
+ for (i = 0; i MPP_NR_REGS; i++)
+ mpp_regs[i] = readl(MPP_CTRL(i));
+}
+
Am Dienstag 29 Mai 2012, 14:42:08 schrieb Prafulla Wadaskar:
And const will be a problem since mpp_ctrl will be array that will be
dynamically modified.
But not within kirkwood_mpp_restore(), right? So an mpp_ctrl array would be
implicitly casted from u32* to const u32*.
so we would have the
Hi Joe,
Am Dienstag 29 Mai 2012, 23:08:23 schrieb Joe Hershberger:
Hi Michael,
On Tue, May 29, 2012 at 1:23 PM, Michael Walle mich...@walle.cc wrote:
Hi Joe,
Am Dienstag 29 Mai 2012, 20:08:26 schrieb Joe Hershberger:
If you can verify that the functionality
Hi Joe,
Am Mittwoch 30 Mai 2012, 00:40:18 schrieb Joe Hershberger:
Ah now i get it. But which other code may run and seed the NG with the
timer only, while we are in the link local netloop? Shouldn't it be safe
to first call srand(mac+timer) and then rand() multiple times? No other
code
Add new function eth_random_enetaddr() to generate a locally administered
ethernet address.
Signed-off-by: Michael Walle mich...@walle.cc
Acked-by: Joe Hershberger joe.hershber...@gmail.com
---
include/net.h | 17 +
net/eth.c | 22 ++
2 files changed
It's a PRNG using the simple and fast xorshift method.
Signed-off-by: Michael Walle mich...@walle.cc
Cc: Wolfgang Denk w...@denx.de
---
include/common.h |8
lib/Makefile |1 +
lib/rand.c | 48
3 files changed, 57
Replace rand() with the functions from lib/. The link-local network code
stores its own seed, derived from the MAC address. Thus making it
independent from calls to srand() in other modules.
Signed-off-by: Michael Walle mich...@walle.cc
Cc: Joe Hershberger joe.hershber...@ni.com
---
include
directory instead of Marvell
- add both boards to MAINTAINERS
- don't define values for feature macros
- use tab for vertical alignment
- remove static network configuration, instead introduce a rescue mode
- add some convenience scripts
- small cleanups
Michael Walle (4):
lib: add rand
This patch adds support for both the Linkstation Live (LS-CHLv2) and
Linkstation Pro (LS-XHL) by Buffalo.
Signed-off-by: Michael Walle mich...@walle.cc
Cc: Prafulla Wadaskar prafu...@marvell.com
---
MAINTAINERS |5 +
board/buffalo/lsxl/Makefile | 44
Hi Joe,
Am Donnerstag 31 Mai 2012, 21:04:03 schrieb Joe Hershberger:
On Thu, May 31, 2012 at 1:12 PM, Michael Walle mich...@walle.cc wrote:
Replace rand() with the functions from lib/. The link-local network code
stores its own seed, derived from the MAC address. Thus making
Hi Luka,
On Fri, June 1, 2012 01:07, Luka Perkov wrote:
+#ifdef CONFIG_RESET_PHY_R
+/* Configure and enable MV88E1118 PHY */
+void reset_phy(void)
+{
+u16 devadr;
+char *name = egiga1;
+
+if (miiphy_set_current_dev(name))
+return;
+
+/* command to read PHY
Add new function eth_random_enetaddr() to generate a locally administered
ethernet address.
Signed-off-by: Michael Walle mich...@walle.cc
Acked-by: Joe Hershberger joe.hershber...@gmail.com
---
include/net.h | 17 +
net/eth.c | 22 ++
2 files changed
:
- add to buffalo vendor directory instead of Marvell
- add both boards to MAINTAINERS
- don't define values for feature macros
- use tab for vertical alignment
- remove static network configuration, instead introduce a rescue mode
- add some convenience scripts
- small cleanups
Michael Walle (4
It's a PRNG using the simple and fast xorshift method.
Signed-off-by: Michael Walle mich...@walle.cc
Cc: Wolfgang Denk w...@denx.de
---
include/common.h |8
lib/Makefile |1 +
lib/rand.c | 48
3 files changed, 57
This patch adds support for both the Linkstation Live (LS-CHLv2) and
Linkstation Pro (LS-XHL) by Buffalo.
Signed-off-by: Michael Walle mich...@walle.cc
Cc: Prafulla Wadaskar prafu...@marvell.com
---
MAINTAINERS |5 +
board/buffalo/lsxl/Makefile | 44
Replace rand() with the functions from lib/. The link-local network code
stores its own seed, derived from the MAC address. Thus making it
independent from calls to srand() in other modules.
Signed-off-by: Michael Walle mich...@walle.cc
Cc: Joe Hershberger joe.hershber...@ni.com
---
include
Hi Luka,
Am Dienstag 17 April 2012, 21:22:17 schrieb Luka Perkov:
+/*
+ * Machine type
+ */
+#define CONFIG_MACH_TYPE MACH_TYPE_NAS6210
btw i guess this will break in about half a year. because:
- uboot follows mach-types.h from the kernel
- the kernel will only keep mach-types for
mode
- add some convenience scripts
- small cleanups
Michael Walle (4):
lib: add rand() function
net: use common rand()/srand() functions
net: add helper to generate random mac address
Kirkwood: add lschlv2 and lsxhl board support
MAINTAINERS |5 +
board
1 - 100 of 1147 matches
Mail list logo