[U-Boot] [PATCH 2/2] cmd_bootm.c: Change interpretation of standalone image parameters.

2009-12-22 Thread Detlev Zundel
Current code uses the second argument to bootm for standalone images to override the load address specified in the image instead of passing all parameters as is to the application. This behaviour is not documented and not in line with how the go command works for standalone applications, so we

[U-Boot] [PATCH 1/2] cmd_bootm.c: Do not load a ramdisk when not booting a kernel.

2009-12-22 Thread Detlev Zundel
In case we boot an image marked as 'standalone' and 'linux', the current code erroneously tried to load a ramdisk. Signed-off-by: Detlev Zundel d...@denx.de --- common/cmd_bootm.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c

Re: [U-Boot] this page of wiki is lack of a cmd

2009-12-22 Thread Detlev Zundel
Hi IaMaPlAyEr, this page of wiki is lack of a cmd. http://www.denx.de/wiki/view/DULG/UBootCmdGroupExec can be converted into a U-Boot script image using the mkimage command like this: ??? Now you can load and execute this script image in U-Boot: This is a known shortcoming of the

[U-Boot] setting TEXT_BASE via make target name

2009-12-22 Thread Wolfgang Wegner
Hi, I am in the process of cleaning up my board code, and just noticed some strange (for me) behaviour when trying to set TEXT_BASE depending on the make target name. Here is what works: Makefile: astro_mcf5373l_config \ astro_mcf5373l_RAM_config : unconfig @$(MKCONFIG) -t

Re: [U-Boot] [PATCH] ppc: Don't use getenv_IPaddr() systems without network support

2009-12-22 Thread Matthias Fuchs
Hi Stefan, thanks for fixing this issue. Acked-by: Matthias Fuchs matthias.fu...@esd.eu On Tuesday 22 December 2009 13:04, Stefan Roese wrote: This patch disables the usage of getenv_IPaddr() in lib_ppc/board.c on systems that don't have network support enabled. This fixes the following

Re: [U-Boot] [PATCH] ppc/p4080: Add Corenet Platform Cache (CPC) registers

2009-12-22 Thread Kumar Gala
On Dec 17, 2009, at 3:22 PM, Wolfgang Denk wrote: Dear Kumar Gala, In message 1260980960-15351-1-git-send-email-ga...@kernel.crashing.org you wrote: From: Becky Bruce bec...@kernel.crashing.org Signed-off-by: Becky Bruce bec...@kernel.crashing.org Signed-off-by: Kumar Gala

[U-Boot] BUG_ON() uses macro unlikely(), which isn't defined

2009-12-22 Thread Matthias Kaehlcke
include/common.h defines the BUG_ON macro: #define BUG_ON(condition) do { if (unlikely((condition)!=0)) BUG(); } while(0) this macro isn't defined in common.h or its includes i'd submit a patch to fix this, but i wonder what kind of fix is preferred: a) eliminate the use of 'unlikely' in

Re: [U-Boot] [PATCH 0/4 v7] DA8xx: USB support

2009-12-22 Thread Remy Bohmer
Hi, 2009/12/22 Ajay Kumar Gupta ajay.gu...@ti.com: Hi, These patch set have been refreshed and created against mainline master branch. Changes from v6: Added missing drivers/usb/musb/da8xx.c/h files. Applied the series to u-boot-usb Thanks. Remy

Re: [U-Boot] BUG_ON() uses macro unlikely(), which isn't defined

2009-12-22 Thread Mike Frysinger
On Tuesday 22 December 2009 11:28:26 Matthias Kaehlcke wrote: b) define likely() and unlikely() in common.h c) define likely() and unlikely() elsewhere one of these please, presumably however linux does it -mike signature.asc Description: This is a digitally signed message part.

Re: [U-Boot] [PATCH 1/5] usb: musb: make sure the register layout is packed

2009-12-22 Thread Remy Bohmer
Hi, 2009/12/17 Mike Frysinger vap...@gentoo.org: Signed-off-by: Mike Frysinger vap...@gentoo.org ---  drivers/usb/musb/musb_core.h |    2 +-  1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/musb/musb_core.h b/drivers/usb/musb/musb_core.h index f9da3f0..5e01b98

Re: [U-Boot] [PATCH 3/5] usb: musb: make multipoint optional

2009-12-22 Thread Remy Bohmer
Hi, 2009/12/17 Mike Frysinger vap...@gentoo.org: From: Bryan Wu bryan...@analog.com The multipoint handling under MUSB is optional, and some parts (like the Blackfin processor) do not implement support for it. Signed-off-by: Bryan Wu bryan...@analog.com Signed-off-by: Cliff Cai

Re: [U-Boot] [PATCH 4/5] usb: musb: change rxcsr register from write to read/modify/write

2009-12-22 Thread Remy Bohmer
Hi, 2009/12/17 Mike Frysinger vap...@gentoo.org: From: Bryan Wu bryan...@analog.com The RX Control/Status register has bits that we want to preserve, so don't just write out a single bit.  Preserve the others bits in the process. The original code posted to the u-boot list had this

Re: [U-Boot] [PATCH 5/5] usb: musb: add support for Blackfin MUSB

2009-12-22 Thread Remy Bohmer
Hi, 2009/12/17 Mike Frysinger vap...@gentoo.org: From: Bryan Wu bryan...@analog.com Signed-off-by: Bryan Wu bryan...@analog.com Signed-off-by: Cliff Cai cliff@analog.com Signed-off-by: Mike Frysinger vap...@gentoo.org ---  drivers/usb/musb/Makefile                   |    1 +  

Re: [U-Boot] [PATCH 1/5] usb: musb: make sure the register layout is packed

2009-12-22 Thread Mike Frysinger
On Tuesday 22 December 2009 14:29:13 Remy Bohmer wrote: Applied to u-boot-usb with merge conflicts, please review the merge changes at: http://git.denx.de/?p=u-boot/u-boot-usb.git;a=commitdiff;h=b2178ae3c6770cb 3313b10e4be2df91230b5b3c4 after a quick look at each of the merged patches, i

Re: [U-Boot] [PATCH] ppc: Don't use getenv_IPaddr() systems without network support

2009-12-22 Thread Wolfgang Denk
Dear Stefan Roese, In message 1261483470-29255-1-git-send-email...@denx.de you wrote: This patch disables the usage of getenv_IPaddr() in lib_ppc/board.c on systems that don't have network support enabled. This fixes the following compilation problem: ./MAKEALL DP405 Configuring for

[U-Boot] [PATCH] move definition of macros likely and unlikely to compiler.h

2009-12-22 Thread Matthias Kaehlcke
the macros likely and unlikely were defined in include/linux/mtd/compat.h, but used in code not related to MTD. moved the macro definitions to compiler.h Signed-off-by: Matthias Kaehlcke matth...@kaehlcke.net --- include/compiler.h |3 +++ include/linux/mtd/compat.h |3 --- 2

Re: [U-Boot] [PATCH] ppc: Don't use getenv_IPaddr() systems without network support

2009-12-22 Thread Stefan Roese
Hi Wolfgang, On Tuesday 22 December 2009 23:02:54 Wolfgang Denk wrote: This patch disables the usage of getenv_IPaddr() in lib_ppc/board.c on systems that don't have network support enabled. This fixes the following compilation problem: ./MAKEALL DP405 Configuring for DP405 board...