Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
I no longer work on OpenRD base, so transfer the maintainership to
Prafulla at Marvell.
MAINTAINERS |5 +
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index f47fca5..ed07052 100644
On Thu, 10 Jun 2010 14:42:24 +0530
Tanmay Upadhyay tanmay.upadh...@einfochips.com wrote:
This patch modifies existing OpenRD-Base support to deal with all
the three OpenRD boards (OpenRD-Base, OpenRD-Client OpenRD-Ultimate).
Yes, that's a good change!
diff --git
On Thu, 10 Jun 2010 15:08:00 +0530
Tanmay Upadhyay tanmay.upadh...@einfochips.com wrote:
+#define MACH_TYPE_OPENRD_ULTIMATE 2884
I don't think this file is supposed to be edited in patches, but rather
synched from arm-linux by Wolfgang from time to time.
Sorry, I didn't know
On Tue, 30 Mar 2010 07:38:39 +0200
Heiko Schocher h...@denx.de wrote:
initialize mac address with the value from ethaddr, before
doing some network commands. This is not in line with u-boot
design principle not to initalize not used devices, and
maybe should go away, if there is a solution
On Tue, 30 Mar 2010 09:52:29 +0200
Detlev Zundel d...@denx.de wrote:
I also actively request the U-Boot community to give feedback here -
after all, this _is_ a community project and fixing real problems is one
of the main tasks of a bootloader.
Personally, I'd prefer using Heikos approach
On Tue, 30 Mar 2010 10:26:59 +0200
Wolfgang Denk w...@denx.de wrote:
Personally, I'd prefer using Heikos approach until Arm Linux has moved
to device trees. I know it's a deviation from how it's supposed to
work, but it also solves a real problem without introducing kludges
elsewhere.
On Thu, 25 Mar 2010 20:57:10 +0100
Norbert Wegener n...@wegener-net.de wrote:
While trying to learn about it, at the U-Boot prompt I issued a command
I'd better not issued:
nand erase
It seems, U-Boot did what I asked to do...
No U-Boot prompt any more and nothing else:-(
You can reflash it
(Sorry if this has already been taken up, I've not been following the
discussion closely)
On Thu, 11 Mar 2010 11:11:09 +0100
Martin Krause martin.kra...@tqs.de wrote:
Does this mean, my toolchain is broken? I use ELDK4.2 for ARM.
I belive so, how many bytes is in dirent.namelen? alloca
On Wed, 17 Mar 2010 09:53:36 -0500
Praveen G K praveen...@gmail.com wrote:
I had a similar problem a few months ago, which turned out to be a
stack alignment issue:
http://www.mail-archive.com/u-boot@lists.denx.de/msg23202.html
the behavior was pretty similar, with code built with
On Wed, 11 Nov 2009 18:21:25 +0800
Lv Terry-R65388 r65...@freescale.com wrote:
I'm trying to build a u-boot image for our arm board with ubifs
support.
[...]
fs/ubifs/libubifs.a(lpt.o):/home/r65388/uboot-v2009.08/uboot-imx/fs/ubif
s/lpt.c:87: more undefined references to `fls' follow
(Ping!)
On Thu, 29 Oct 2009 09:09:23 +0100
Simon Kagstrom simon.kagst...@netinsight.net wrote:
A watchdog command to enable the watchdog with a timeout from the CLI
can sometimes be useful. Add that. This also adds a common API for
enabling watchdogs. The API is simple:
int
Hi!
These two patches add a generic watchdog CLI command and a driver for
the watchdog on Marvell Kirkwood that uses it.
The command usage is
watchdog - Watchdog commands
Usage:
watchdog timeout- start the watchdog with `timeout' seconds timeout
ChangeLog:
v2: Adapt according to
return a negative value if the call failed.
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
ChangeLog:
v2:
* Passing zero as timeout is invalid (Prafulla)
* Add return value from watchdog_enable(), negative means failure
(Prafulla, Wolfgang)
* Remove watchdog_disable
Initialize by calling the generic API watchdog_enable() with the number
of seconds for the watchdog to timeout. It's not possible to disable the
watchdog once it's on.
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
ChangeLog:
v2:
* Remove watchdog_disable()
* Add
Hi again Prafulla and the list!
On Mon, 28 Sep 2009 09:06:26 +0200
Simon Kagstrom simon.kagst...@netinsight.net wrote:
Initialize by calling kw_watchdog_init() with the number of seconds for
the watchdog to timeout.
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
Were there any
Thanks for the comments!
On Wed, 28 Oct 2009 02:24:43 -0700
Prafulla Wadaskar prafu...@marvell.com wrote:
#define UBOOT_CNTR 0 /* counter to use for uboot timer */
+#define WATCHDOG_CNTR2
BTW, this declaration will not be required if you see struct kwtmr_register
On Wed, 28 Oct 2009 04:34:10 -0700
Prafulla Wadaskar prafu...@marvell.com wrote:
#define CNTMR_VAL_REG(tmrnum)
kwtmr_regs-tmr[tmrnum].val
and used for the regular timer support. I'm not sure I like that, but
at least the file should be internally consistent.
You can
On Wed, 28 Oct 2009 05:57:34 -0700
Prafulla Wadaskar prafu...@marvell.com wrote:
Sure, but WATCHDOG_RESET() will be called anyway (and probably before
my code), so it will be enabled anyhow in that case. My point is that
sometimes you don't want the watchdog to get started directly, hence
Hi!
These two patches add a generic watchdog CLI command and a driver for
the watchdog on Marvell Kirkwood that uses it.
The command usage is
watchdog - Watchdog commands
Usage:
watchdog timeout- start the watchdog with `timeout' seconds timeout
watchdog off - stop the
the watchdog might or might not be possible depending on the
hardware, and the timeout range can also vary in the same way.
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
common/Makefile |1 +
common/cmd_watchdog.c | 61
Initialize by calling the generic API watchdog_enable() with the number
of seconds for the watchdog to timeout. It's not possible to disable the
watchdog once it's on.
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
ChangeLog:
v2: (Some of the comments from Prafulla)
* Use
On Wed, 28 Oct 2009 07:29:35 -0700
Prafulla Wadaskar prafu...@marvell.com wrote:
+static int do_watchdog(cmd_tbl_t *cmdtp, int flag, int argc,
+ if (timeout 0)
+ goto usage;
How about passing zero value here, will it be a correct input for
watchdog_enable?
Good point,
Hi Tom and Wolfgang!
On Sun, 18 Oct 2009 17:58:48 -0500
Tom tom@windriver.com wrote:
[...]
The following changes since commit a380279b2abe130c2d3d2c8de36f8ff98bc6b3b0:
Daniel Gorsulowski (1):
at91: Update MEESC board support
are available in the git repository at:
On Wed, 14 Oct 2009 06:18:30 -0500
Tom Rix t...@bumblecow.com wrote:
Tom: Perhaps you could pick up [PATCH v3] arm926ejs: 8-byte align
stack to avoid LDRD/STRD problems for the ARM repo as well then?
I know it could go via Prafullas tree, but it's not really
Marvell-specific, just
On Tue, 13 Oct 2009 16:51:14 +0200
Wolfgang Denk w...@denx.de wrote:
I want to let you know that there will probably be some compilation
warnings. These are patches for these. These have been sent to the
list and ACK'ed by Tom and currently in my master. This will be part
of my next pull
On Sun, 11 Oct 2009 14:00:15 -0500
Tom Rix t...@bumblecow.com wrote:
I have merged arm/next into arm/master.
There are new warnings in
CPU9260 , CONFIG_SYS_64BIT_VSPRINTF
CPU9G20 , CONFIG_SYS_64BIT_VSPRINTF
GPUAT91 , CONFIG_NET_MULTI,
davinci_dm355evm , CONFIG_SYS_64BIT_VSPRINTF,
undefined behavior).
Tested on an OpenRD base board, where both printouts and ubifs stuff now
works.
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
ChangeLog:
v2: Update after Andrews comments
* Mask away the low address bits to get 16-byte alignment
v3: Update after Andrews
On Mon, 05 Oct 2009 13:37:36 -0500
Tom tom@windriver.com wrote:
Simon Kagstrom wrote:
U-boot for Marvell Kirkwood boards no longer work after the EABI changes
introduced in commit f772acf8a584067033eff1e231fcd1fb3a00d3d9. This
turns out to be caused by a stack alignment issue
undefined behavior), and start.S gave the stack a
12-byte alignment.
Tested on an OpenRD base board, where both printouts and ubifs stuff now
works.
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
cpu/arm926ejs/start.S |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff
On Mon, 5 Oct 2009 09:30:54 -0500
Andrew Dyer amd...@gmail.com wrote:
sub r0, r0, #(CONFIG_STACKSIZE_IRQ+CONFIG_STACKSIZE_FIQ)
#endif
- sub sp, r0, #12 /* leave 3 words for abort-stack
*/
+ sub sp, r0, #16 /* leave 3 words for
undefined behavior), and start.S gave the stack a
12-byte alignment.
Tested on an OpenRD base board, where both printouts and ubifs stuff now
works.
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
ChangeLog:
v2: Update after Andrews comments
* Mask away the low address bits to get
On Thu, 01 Oct 2009 20:27:11 +0200
Wolfgang Denk w...@denx.de wrote:
-PLATFORM_CPPFLAGS += -march=armv5te
+PLATFORM_CPPFLAGS += -march=armv5te -mabi=apcs-gnu
I have to admit that I really hesitate ifwe should add this - the
longer I think about it, the more I tend to say no.
I call
Using -mabi=apcs-gnu allows Marvell Kirkwood-based boards to boot with
the EABI changes introduced in commit
f772acf8a584067033eff1e231fcd1fb3a00d3d9.
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
Wolfgang can live with this change to make Kirkwood builds work again:
On Wed, 30
On Tue, 29 Sep 2009 17:16:42 +0200
Dieter Kiermaier dk-arm-li...@gmx.de wrote:
Hm, it looks like there is the whole nand system somewhat broken :(
Haven't seen it earlier, but:
U-Boot 2009.08-00208-g9ef0569-dirty (Sep 29 2009 - 15:42:42)
OpenRD_base
SoC: Kirkwood 88F6281_A0
DRAM:
On Wed, 30 Sep 2009 09:02:14 +0200
Dieter Kiermaier dk-arm-li...@gmx.de wrote:
arm-none-linux-gnueabi-ld: ERROR: Source object
/home/dieter/ArtistaNET-III/Software/trunk/SDK/tools/gcc/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.0/libgcc.a(_udivsi3.o)
has EABI version 4, but target u-boot has
-boards, but is there some way to isolate this
to kirkwood?
// Simon
From 29ff02ca77406e820203ad27369e0684aa1a098c Mon Sep 17 00:00:00 2001
From: Simon Kagstrom simon.kagst...@netinsight.net
Date: Fri, 4 Sep 2009 11:15:20 +0200
Subject: [PATCH] Make arm926ejs use -mabi=apcs-gnu and private libgcc
On Wed, 30 Sep 2009 10:15:35 +0200
Dieter Kiermaier dk-arm-li...@gmx.de wrote:
is there anywhere a document how to build open source u-boot for
sheevaplug which explains all these details?
(haven't found some documentation about this)
(Wearing my Prafulla hat): I guess this should
On Mon, 28 Sep 2009 19:16:16 -0700
Prafulla Wadaskar prafu...@marvell.com wrote:
But do you really need Watchdog support for u-boot?
Paranoia really has no limits :-). The main objective for me personally
is to have the watchdog on when Linux starts, but if there is a risk
(for whatever reason)
On Tue, 29 Sep 2009 06:45:44 -0700
Prafulla Wadaskar prafu...@marvell.com wrote:
The main objective for me personally is to have the watchdog on when Linux
starts,
but if there is a risk (for whatever reason) that U-boot hangs, it would
also help there.
Its good to have watchdog, it
Initialize by calling kw_watchdog_init() with the number of seconds for
the watchdog to timeout.
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
cpu/arm926ejs/kirkwood/timer.c | 29 +
include/asm-arm/arch-kirkwood/cpu.h |2 ++
2 files
On Mon, 28 Sep 2009 07:36:32 -0500
Tom tom@windriver.com wrote:
+void hw_watchdog_reset(void)
+{
+ unsigned long time = CONFIG_SYS_TCLK * watchdog_timeout;
diff --git a/include/asm-arm/arch-kirkwood/cpu.h
b/include/asm-arm/arch-kirkwood/cpu.h
index b3022a3..df49c3f 100644
-by: Simon Kagstrom simon.kagst...@netinsight.net
---
fs/ubifs/ubifs.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/ubifs/ubifs.c b/fs/ubifs/ubifs.c
index b03ed0b..286739c 100644
--- a/fs/ubifs/ubifs.c
+++ b/fs/ubifs/ubifs.c
@@ -439,7 +439,7 @@ static unsigned long
[PATCH] Reset sysrst count before restarting
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
cpu/arm926ejs/kirkwood/cpu.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/cpu/arm926ejs/kirkwood/cpu.c b/cpu/arm926ejs/kirkwood/cpu.c
index bab5faf..d0cdaf6 100644
On Thu, 24 Sep 2009 14:36:47 +0200
Stefan Roese s...@denx.de wrote:
On Monday 14 September 2009 11:02:15 Simon Kagstrom wrote:
Make arm926ejs use -march=armv5t to avoid problems with EABI
Using -march=armv5t instead of armv5te allows Marvell Kirkwood-based
boards to boot
Hi Prafulla!
Small reminder :-). Perhaps you missed this patch - and I also forgot
to add you under To:. It's a simple one-liner to get kirkwood/cpu.c to
build when CONFIG_SYS_HUSH_PARSER is set.
// Simon
On Thu, 17 Sep 2009 14:40:18 +0200
Simon Kagstrom simon.kagst...@netinsight.net wrote
The implementation is borrowed from the sheevaplug board and the Marvell
1.1.4 code. Unsupported (or untested) is the SD card, PCIe and SATA.
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
I get run-time problems when building for armv5te for OpenRD base
(apparently the same
On Wed, 16 Sep 2009 21:19:03 +0200
Stefan Roese s...@denx.de wrote:
include/asm-ppc/bitops.h:
@@ -230,6 +231,7 @@ extern __inline__ int ffs(int x)
{
return __ilog2(x -x) + 1;
}
+#define ffs
So after ffs() is define as an inline function, you define it to nothing. I
understand
On Thu, 17 Sep 2009 08:56:08 +0200
Yes, the patch should have contained something like that. Well, we'll
have to cook up a fix for this then. Sorry about that again.
Simon, could you do this please?
Yes, absolutely. I'll try to have it done by this afternoon.
And btw:
#ifndef
itself.
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
I've runtime tested on ARM (OpenRD base) and build-tested on MPC8536DS,
where __ilog2_u64 now at least is non-empty. It would be nice if (at
least!) some PowerPC people could test the patch.
include/asm-arm/bitops.h
arm: Correct build with CONFIG_SYS_HUSH_PARSER set
FLAG_PARSE_SEMICOLON is not defined without hush.h, so include that.
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
cpu/arm926ejs/kirkwood/cpu.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/cpu
itself.
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
I've runtime tested on ARM (OpenRD base) and build-tested on MPC8536DS,
where __ilog2_u64 now at least is non-empty. It would be nice if (at
least!) some PowerPC people could test the patch.
ChangeLog:
v2 - Make _all_ macros
ubifs: Add support for looking up directory and relative symlinks
This patch adds support for resolving symlinks to directories as well as
relative symlinks. Symlinks are now always resolved during file lookup,
so the load stage no longer needs to special-case them.
Signed-off-by: Simon Kagstrom
Hi List!
I have a slight problem with UBIFS on the OpenRD base board (an ARM
board very similar to sheevaplug). Loading files which have been
compressed with LZO by ubifs fails:
OpenRD ubi part root; ubifsmount rootfs
Creating 1 MTD partitions on nand0:
0x001e-0x2000 :
Support for the OpenRD base board
The implementation is borrowed from the sheevaplug board and the Marvell
1.1.4 code and likely to be a bit incomplete.
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
The configuration does not include UBIFS support, which still needs
Support for the OpenRD base board
The implementation is borrowed from the sheevaplug board and the Marvell
1.1.4 code and likely to be a bit incomplete.
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
The configuration does not include UBIFS support, which still needs
he
Thanks for the comments Prafulla!
I'll update the patch according to them, but have some questions:
On Fri, 11 Sep 2009 03:43:04 -0700
Prafulla Wadaskar prafu...@marvell.com wrote:
+#define CONFIG_ENV_SIZE 0x2 /* 128k */
+#define CONFIG_ENV_ADDR
On Fri, 11 Sep 2009 06:33:44 -0700
Prafulla Wadaskar prafu...@marvell.com wrote:
+#define CONFIG_ENV_SIZE 0x2 /* 128k */
+#define CONFIG_ENV_ADDR 0xa
+#define CONFIG_ENV_OFFSET0xa /* env
starts here */
Do you
Support for the OpenRD base board
The implementation is borrowed from the sheevaplug board and the Marvell
1.1.4 code and likely to be a bit incomplete.
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
The configuration does not include UBIFS support, which still needs
he
On Fri, 04 Sep 2009 22:05:45 +0200
Wolfgang Denk w...@denx.de wrote:
nand_bbt: Can't scan flash and build the RAM-based BBT
Net: egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot: 0
Marvell
The 4.1 version just hangs on the NAND printout. I've tested
Hi Justin!
On Fri, 4 Sep 2009 17:27:59 -0400
Justin Waters justin.wat...@timesys.com wrote:
I found a slight problem with this section of the patch:
On Mon, 2009-08-24 at 03:10 -0400, Simon Kagstrom wrote:
diff --git a/include/asm-arm/bitops.h b/include/asm-arm/bitops.h
index 854e225
On Mon, 07 Sep 2009 09:26:17 +0200
Daniel Gorsulowski daniel.gorsulow...@esd.eu wrote:
nack this will be done when u-boot will need to use the macb#
Just imagine: U-boot boots a Linux kernel from NAND flash. It does NOT need
the
ethernet interface, so it does NOT initialize ethernet, so the
On Mon, 7 Sep 2009 01:59:13 -0700
Prafulla Wadaskar prafu...@marvell.com wrote:
Well, I sent a patch [PATCH, RFC] Make arm926ejs use -march=armv5t to
avoid problems with EABI, which corrects this for me, although I'd
like some input on if it really makes any sense.
I have tested this with
On Thu, 3 Sep 2009 23:20:02 -0700
Prafulla Wadaskar prafu...@marvell.com wrote:
I just wanted to check if there has been any progress on the issue
below (4-bit ECC support to read for the kernel / U-boot) during the
summer.
I am restarting work on this issue for u-boot,
Does anybody
Hi Prafulla!
I see the complications and understand that it might be difficult to
get it running.
On Thu, 3 Sep 2009 07:15:48 -0700
Prafulla Wadaskar prafu...@marvell.com wrote:
I think it could also be useful to be able to produce just the boot
header without the U-boot image. For example
On Fri, 4 Sep 2009 00:17:57 -0700
Prafulla Wadaskar prafu...@marvell.com wrote:
I see the complications and understand that it might be difficult to
get it running.
So we can keep this complex enhancement for future updates, keeping this
patch simpler
I agree, let's merge this patch
On Fri, 04 Sep 2009 10:24:38 +0200
Wolfgang Denk w...@denx.de wrote:
Dear Simon Kagstrom,
In message 20090904083003.3f7f0...@marrow.netinsight.se you wrote:
Understandable. On the other hand, it should be possible to pad the
U-boot image to some specific size to keep the size constant
Make arm926ejs use -march=armv5t to avoid problems with EABI
Using -march=armv5t instead of armv5te allows Marvell Kirkwood-based
boards to boot with the EABI changes introduced in commit
f772acf8a584067033eff1e231fcd1fb3a00d3d9
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
On Fri, 04 Sep 2009 12:57:57 +0200
Wolfgang Denk w...@denx.de wrote:
Dear Simon Kagstrom,
In message 20090904103602.7a0ec...@marrow.netinsight.se you wrote:
Understandable. On the other hand, it should be possible to pad the
U-boot image to some specific size to keep the size
On Mon, 24 Aug 2009 23:03:59 +0530
Prafulla Wadaskar prafu...@marvell.com wrote:
This patch adds type kwbimabe support for new mkimage core
For more details refer docs/README.kwbimage
+Command syntax:
+--
+./tools/mkimage -l kwboot_file
+ to list the kwb image file
On Mon, 24 Aug 2009 12:01:54 +0200
Wolfgang Denk w...@denx.de wrote:
Dear Simon Kagstrom,
In message 20090824105935.038bd...@marrow.netinsight.se you wrote:
I updated my git tree today and got this patch (among other things). It
does not work very well for me, unfortunately. I've tried
Hi again!
I just wanted to check if there has been any progress on the issue
below (4-bit ECC support to read for the kernel / U-boot) during the
summer.
On Wed, 8 Jul 2009 15:59:27 +0200
Simon Kagstrom simon.kagst...@netinsight.net wrote:
Hi Prafulla (and the list)!
I'm wondering a bit how
Hi yet again!
This update to the patch series just cleans up the commit messages to
have the comments in the git comments section.
// Simon
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Define ffs/fls for all architectures
UBIFS requires fls(), which is not defined for arm (and some other
architectures) and this patch adds it. The implementation is taken from
Linux and is generic. ffs() is also defined for those that miss it.
Signed-off-by: Simon Kagstrom simon.kagst
-by: Simon Kagstrom simon.kagst...@netinsight.net
---
ChangeLog:
v2: Unify code style (newline between __set_bit and __clear_bit)
v3: Move BIT_MASK and BIT_WORD above the include of asm/bitops.h
v4: Move the definition to generic code (Mike Frysinger)
fs/ubifs/ubifs.h| 32
arm: Define test_and_set_bit and test_and_clear bit for ARM
Needed for (e.g.) ubifs support to work.
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
include/asm-arm/bitops.h | 28 +---
1 files changed, 25 insertions(+), 3 deletions(-)
diff --git
arm: Make arm bitops endianness-independent
Bring over the bitop implementations from the Linux
include/asm-generic/bitops/non-atomic.h to provide
endianness-independence.
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
ChangeLog:
v2: Use generic __set_bit and __clear_bit
Hi,
On Fri, 21 Aug 2009 23:12:45 +0200
Wolfgang Denk w...@denx.de wrote:
For some time there have been repeated reports about build problems
with some ARM (cross) tool chains. Especially issues about
(in)compatibility with the tool chain provided runtime support
library libgcc.a caused to
On Mon, 24 Aug 2009 12:01:54 +0200
Wolfgang Denk w...@denx.de wrote:
I updated my git tree today and got this patch (among other things). It
does not work very well for me, unfortunately. I've tried three
toolchains (4.3.3, 4.3.4, 4.4.1) built with crosstool-ng, and all of
them build an
On Mon, 24 Aug 2009 14:01:20 +0200
Wolfgang Denk w...@denx.de wrote:
Please re-run the tests with
$ USE_PRIVATE_LIBGCC=yes
$ export USE_PRIVATE_LIBGCC
$ make mrproper
$ make ..._config
$ make all
and with
$ unset USE_PRIVATE_LIBGCC
$ make
On Mon, 24 Aug 2009 05:41:59 -0700
Prafulla Wadaskar prafu...@marvell.com wrote:
I get following erro only if I execute following build command
make mrproper; make sheevaplug_config; make USE_PRIVATE_LIBGCC=no
CROSS_COMPILE=armv5tel-redhat-linux-gnueabi- 2 warn.txt
And cat warn.txt
On Thu, 20 Aug 2009 13:44:35 -0400
Mike Frysinger vap...@gentoo.org wrote:
On Thursday 20 August 2009 04:52:50 Simon Kagstrom wrote:
--- a/include/asm-sh/bitops.h
+++ b/include/asm-sh/bitops.h
@@ -146,6 +146,11 @@ static inline int ffs (int x)
}
return r;
}
+
+#define
On Fri, 21 Aug 2009 02:29:30 -0400
Mike Frysinger vap...@gentoo.org wrote:
this is just silly to put into every arch header. why not do in the
common code:
#ifndef __set_bit
# define __set_bit generice_set_bit
#endif
It's a function (static inline) in some architectures.
Hi yet again!
This patch series is an update to [PATCH 0/4]: bitops cleanup and fixes:
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/66184
and contains the patches which were not accepted. The patches are:
0001-Move-__set-clear_bit-from-ubifs.h-to-bitops.h.patch
- Code style
style (newline between __set_bit and __clear_bit)
v3: Move BIT_MASK and BIT_WORD above the include of asm/bitops.h
v4: Move the definition to generic code (Mike Frysinger)
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
fs/ubifs/ubifs.h| 32
arm: Make arm bitops endianness-independent
Bring over the bitop implementations from the Linux
include/asm-generic/bitops/non-atomic.h to provide
endianness-independence.
v2: Use generic __set_bit and __clear_bit for ARM
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
include
/fls)
v3: Move the definition to generic code (Mike Frysinger)
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
include/asm-i386/bitops.h |1 +
include/asm-m68k/bitops.h |1 +
include/asm-nios/bitops.h |1 +
include/asm-nios2/bitops.h |1 +
include/asm-ppc/bitops.h
arm: Define test_and_set_bit and test_and_clear bit for ARM
Needed for (e.g.) ubifs support to work.
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
include/asm-arm/bitops.h | 28 +---
1 files changed, 25 insertions(+), 3 deletions(-)
diff --git
On Thu, 20 Aug 2009 20:20:08 -0700
Prafulla Wadaskar prafu...@marvell.com wrote:
+#define KIRKWOOD_PHY_ADR_REQUEST 0xee
define this in header file
Basically this is needed in drivers/net/phy/mv88e61xx.c for
multi chip support
in this case we need to define this in
On Wed, 19 Aug 2009 09:55:46 -0700
Ben Warren biggerbadder...@gmail.com wrote:
My preference is for the drivers to handle alignment.
OK, I'm fine with that. I'd like to withdraw this patch then.
I like Dave's idea of creating a buffer (or multiple buffers) in
initialization(),
then
instead
v4: Correct alignment passed to memalign (should be 8!),
allocate buffer at initialization(), use PKTSIZE_ALIGN
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
drivers/net/kirkwood_egiga.c | 21 +
drivers/net/kirkwood_egiga.h |1 +
2 files
On Wed, 19 Aug 2009 10:08:02 -0700
Ben Warren biggerbadder...@gmail.com wrote:
- u16 phyadr;
- miiphy_read(dev-name, 0xEE, 0xEE, phyadr);
- if (!miiphy_link(dev-name, phyadr)) {
- printf(%s: No link on %s\n, __FUNCTION__, dev-name);
Please use __func__ instead. It's
instead
v4: Correct alignment passed to memalign (should be 8!),
allocate buffer at initialization(), use PKTSIZE_ALIGN
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
drivers/net/kirkwood_egiga.c | 21 +
drivers/net/kirkwood_egiga.h |1 +
2 files
printout
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
drivers/net/kirkwood_egiga.c | 20 ++--
1 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/drivers/net/kirkwood_egiga.c b/drivers/net/kirkwood_egiga.c
index 065e335..9f36633 100644
Hi!
Three patches to fix various network driver issues on kirkwood. Patch 3
is a repost of the patch sent earlier today which is rebased on top of
the other two.
// Simon
___
U-Boot mailing list
U-Boot@lists.denx.de
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
drivers/net/kirkwood_egiga.c | 14 ++
1 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/drivers/net/kirkwood_egiga.c b/drivers/net/kirkwood_egiga.c
index f31fefc..065e335 100644
--- a/drivers/net
On Thu, 20 Aug 2009 01:11:09 +0200
Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote:
On 11:13 Tue 18 Aug , Simon Kagstrom wrote:
Define ffs/fls for all architectures
UBIFS requires fls(), which is not defined for arm (and some other
architectures) and this patch adds
Hi again!
This patch series is an update to [PATCH 0/4]: bitops cleanup and fixes:
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/66184
and contains the patches which were not accepted. The patches are:
0001-Move-__set-clear_bit-from-ubifs.h-to-bitops.h.patch
- Code style
)
v3: Move BIT_MASK and BIT_WORD above the include of asm/bitops.h
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
fs/ubifs/ubifs.h | 32
include/asm-avr32/bitops.h |4
include/asm-m68k/bitops.h |4
include/asm-nios
Bring over the bitop implementations from the Linux
include/asm-generic/bitops/non-atomic.h to provide
endianness-independence.
Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net
---
include/asm-arm/bitops.h | 45 +++--
1 files changed, 27
UBIFS requires fls(), which is not defined for arm (and some other
architectures) and this patch adds it. The implementation is taken from
Linux and is generic. ffs() is also defined for those that miss it.
v2: Unify code style (empty line between ffs/fls)
Signed-off-by: Simon Kagstrom
1 - 100 of 160 matches
Mail list logo