[U-Boot] [Question] [MMC] About the file load and booting command with MMC

2011-07-10 Thread 馬克泡
HI all, I have a question here maybe there is an answer, however, I just didn't found it in documents and in wiki. I have found that if I want to load a file from storage like USB storage or IDE disks into memory, we can do it by commands "fatload ... " or "ext2load ... " . These command will

Re: [U-Boot] [RESEND PATCH v2 2/5] Tegra2: Add microsecond timer functions

2011-07-10 Thread Graeme Russ
Hi Wolfgang, On 11/07/11 16:20, Wolfgang Denk wrote: > Dear Graeme Russ, > > In message <4e1937a6.7050...@gmail.com> you wrote: >> >> timer_get_us needs to be u64 (unsigned long long). Also, the new timer API >> will define this as time_now_us, would be great if you could use this >> naming conve

Re: [U-Boot] [RESEND PATCH v2 2/5] Tegra2: Add microsecond timer functions

2011-07-10 Thread Wolfgang Denk
Dear Graeme Russ, In message <4e1937a6.7050...@gmail.com> you wrote: > > timer_get_us needs to be u64 (unsigned long long). Also, the new timer API > will define this as time_now_us, would be great if you could use this > naming convention now to save me doing a mass of replaces later Um... thi

Re: [U-Boot] [RESEND PATCH v2 2/5] Tegra2: Add microsecond timer functions

2011-07-10 Thread Wolfgang Denk
Dear Graeme Russ, In message <4e1937a6.7050...@gmail.com> you wrote: > > On 06/07/11 02:49, Simon Glass wrote: > > These functions provide access to the high resolution microsecond timer > > and tidy up a global variable in the code. > > Excellent - Good to see microsecond timers making their wa

Re: [U-Boot] [RESEND PATCH v2 1/5] Tegra2: Add macros to calculate bitfield shifts and masks

2011-07-10 Thread Wolfgang Denk
Dear Simon Glass, In message you wrote: > > > Not sure I follow you: the added lines below do indeed add bitfield access > > macros, don't they? > > > > No these are just for defining the shifts and masks. There is no access But you write yourself in the comment: "...easily getting mask and sh

Re: [U-Boot] [RESEND PATCH v2 1/5] Tegra2: Add macros to calculate bitfield shifts and masks

2011-07-10 Thread Wolfgang Denk
Dear Simon Glass, In message <1309884558-7700-2-git-send-email-...@chromium.org> you wrote: > Signed-off-by: Simon Glass > --- > Changes in v2: > - Removed all bitfield access macros As Albert already pointed out, this is actually a misleading description. > + * You use these to reliably create

Re: [U-Boot] [PATCH 4/4] Armada100: Adds support for USB on gplugD

2011-07-10 Thread Ajay Bhargav
Hi Prafulla, > Avoid top posting > See my comments inlined. I will rather avoid quoting old message as suggested by Wolfgang. > Remember any driver here should be designed more generic way so that it can > be supported for other SoCs in that family Thank you for comments. I will keep that in m

Re: [U-Boot] [PATCH 4/4] Armada100: Adds support for USB on gplugD

2011-07-10 Thread Prafulla Wadaskar
> -Original Message- > From: Ajay Bhargav [mailto:ajay.bhar...@einfochips.com] > Sent: Monday, July 11, 2011 10:15 AM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Ashish Karkare; Prabhanjan Sarnaik > Subject: Re: [PATCH 4/4] Armada100: Adds support for USB on gplugD > > Hi Prafull

Re: [U-Boot] cpu/arm926ejs/start.S question

2011-07-10 Thread Andre Renaud
Hi Fabio, On 08/07/11 12:54, Fabio Estevam wrote: > Just to make sure I understand: you want to boot MX25 from internal > mode (from ROM), correct? > > We currently do this on the MX51 and we pass the DDR timings, IOMUX, > etc via the DCD (Device Configuration Data) mechanism. > > You can refer

Re: [U-Boot] [PATCH 4/4] Armada100: Adds support for USB on gplugD

2011-07-10 Thread Ajay Bhargav
Hi Prafulla, You mean file names should be like uad_u2h.c or armd_u2h.c? Thanks again. Regards, Ajay Bhargav - Original Message - From: "Prafulla Wadaskar" To: "Ajay Bhargav" Cc: u-boot@lists.denx.de, "Ashish Karkare" , "Prabhanjan Sarnaik" Sent: Friday, July 8, 2011 8:56:53 PM Subj

Re: [U-Boot] [PATCH 2/4] Armada100: SPI Flash support for Marvell gplugD

2011-07-10 Thread Ajay Bhargav
Hi Prafulla, Thanks, I will do that. Regards, Ajay Bhargav - Original Message - From: "Prafulla Wadaskar" To: "Ajay Bhargav" Cc: u-boot@lists.denx.de, "Ashish Karkare" , "Prabhanjan Sarnaik" Sent: Friday, July 8, 2011 8:51:37 PM Subject: RE: [PATCH 2/4] Armada100: SPI Flash support f

Re: [U-Boot] [PATCH 1/4] Armada100: Ethernet support for Marvell gplugD

2011-07-10 Thread Ajay Bhargav
Hi Prafulla, Thank you so much for comments. I am already working on it. Regards, Ajay Bhargav - Original Message - From: "Prafulla Wadaskar" To: "Ajay Bhargav" Cc: u-boot@lists.denx.de, "Ashish Karkare" , "Prabhanjan Sarnaik" Sent: Friday, July 8, 2011 8:49:00 PM Subject: RE: [PATCH

Re: [U-Boot] [RESEND PATCH v2 1/5] Tegra2: Add macros to calculate bitfield shifts and masks

2011-07-10 Thread Simon Glass
Hi Albert, On Sat, Jul 9, 2011 at 6:56 AM, Albert ARIBAUD wrote: > Hi Simon, > > Le 05/07/2011 18:49, Simon Glass a écrit : > > Signed-off-by: Simon Glass >> --- >> Changes in v2: >> - Removed all bitfield access macros >> > > Not sure I follow you: the added lines below do indeed add bitfield a

Re: [U-Boot] [PATCH] SMDKV310: Fix host compilation of mkv310_image

2011-07-10 Thread Mike Frysinger
On Sunday, July 10, 2011 03:01:54 Dirk Behme wrote: > --- u-boot.git.orig/mmc_spl/board/samsung/smdkv310/tools/mkv310_image.c > +++ u-boot.git/mmc_spl/board/samsung/smdkv310/tools/mkv310_image.c > @@ -26,6 +26,8 @@ > #include > #include > #include > +#define __KERNEL__ > +#include yikes, no

[U-Boot] [PATCH] usb: r8a66597: Fix argument mistake of inl

2011-07-10 Thread Nobuhiro Iwamatsu
Fail in build, because argument of inl used in r8a66597_read_fifo is wrong. r8a66597.h:441:35: error: macro "inl" passed 2 arguments, but takes just 1 In file included from r8a66597-hcd.c:25: r8a66597.h: In function ‘r8a66597_read_fifo’: r8a66597.h:441: error: ‘inl’ undeclared (first use in this f

Re: [U-Boot] [PATCH 2/2] sh: sh7757lcr: add supporting for MMCIF

2011-07-10 Thread Nobuhiro Iwamatsu
Applied, thanks. Best regards, Nobuhiro 2011/7/5 Yoshihiro Shimoda : > The sh7757lcr has 2GByte eMMC chip. This patch supports it. > > Signed-off-by: Yoshihiro Shimoda > --- >  board/renesas/sh7757lcr/sh7757lcr.c |    5 + >  doc/README.sh7757lcr                |    1 + >  include/configs/s

Re: [U-Boot] [PATCH] sh: add calling mmc_initialize in board.c

2011-07-10 Thread Nobuhiro Iwamatsu
Applied, thanks. Best regards, Nobuhiro 2011/7/5 Yoshihiro Shimoda : > Some SH have MMC controller. So, if we need it, we have to call > the mmc_initialize(). > > Signed-off-by: Yoshihiro Shimoda > --- >  arch/sh/lib/board.c |   12 >  1 files changed, 12 insertions(+), 0 deletion

Re: [U-Boot] [PATCH] sh: sh7757lcr: Add KEEP order to start.o section

2011-07-10 Thread Nobuhiro Iwamatsu
Applied, thanks. Best regards, Nobuhiro 2011/7/5 Yoshihiro Shimoda : > The sh7757lcr has a local u-boot.lds because the sh7757lcr is only > supported the SPI booting. > This patch refers from the commit "sh: Add KEEP order to start.o section" > (commit ID: b52da2aed8c2c388661f369052a97d5b5c9ed0

Re: [U-Boot] [PATCH] Add CONFIG_AT91FAMILY to AT91RM9200 arch

2011-07-10 Thread Jens Scharsig
This patch is obsolete since 2011.06 regards Jens Scharsig > * Add CONFIG_AT91FAMILY to AT91RM9200 arch > > > Signed-off-by: Jens Scharsig > --- > > This will also fix brocken EB+CPUx9k2 board in Version 2011.03 > > arch/arm/include/asm/arch-at91/at91rm9200.h |2 +- > 1 files changed,

Re: [U-Boot] [PATCH V2][ARM] eb_cpux9k2: add USB host support to board

2011-07-10 Thread Jens Scharsig
Am 10.07.2011 14:37, schrieb Albert ARIBAUD: Hi Jens, Le 10/07/2011 11:14, Jens Scharsig a écrit : * add USB host support to eb_cpux9k2 board Signed-off-by: Jens Scharsig --- include/configs/eb_cpux9k2.h | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) This fails to appl

Re: [U-Boot] [PATCH V2][ARM] eb_cpux9k2: add USB host support to board

2011-07-10 Thread Jens Scharsig
Am 2011-07-10 14:37, schrieb Albert ARIBAUD: > Hi Jens, > > Le 10/07/2011 11:14, Jens Scharsig a écrit : >> * add USB host support to eb_cpux9k2 board >> >> Signed-off-by: Jens Scharsig >> --- >> include/configs/eb_cpux9k2.h | 14 ++ >> 1 files changed, 14 insertions(+), 0 deletions(-)

Re: [U-Boot] [PATCH] ARM: versatile: fix board support

2011-07-10 Thread Jeroen Hofstee
Thanks Stefano, This works for me as well. Regards, Jeroen [jeroen@blue /usr/home/jeroen]$ qemu --version QEMU emulator version 0.14.0, Copyright (c) 2003-2008 Fabrice Bellard [jeroen@blue /usr/home/jeroen]$ arm-none-eabi-gcc -v Using built-in specs. COLLECT_GCC=arm-none-eabi-gcc COLLECT_LTO_WR

Re: [U-Boot] [PATCH V2][ARM] eb_cpux9k2: add USB host support to board

2011-07-10 Thread Albert ARIBAUD
Hi Jens, Le 10/07/2011 11:14, Jens Scharsig a écrit : > * add USB host support to eb_cpux9k2 board > > Signed-off-by: Jens Scharsig > --- > include/configs/eb_cpux9k2.h | 14 ++ > 1 files changed, 14 insertions(+), 0 deletions(-) This fails to apply properly on current u-boot/master o

[U-Boot] Pull request for sf patches (forward)

2011-07-10 Thread Simon Guinot
The following changes since commit 810cb19003ffe0115d10700fc512a2a743916f20: MPC83XX: Fix PCI express clock setup (2011-07-06 19:09:28 -0500) are available in the git repository at: git://lacie-nas.org/u-boot-lacie.git sf Macpaul Lin (1): sf: macronix: add MX25L4005 and MX25L8005 Mike

[U-Boot] [PATCH V2][ARM] eb_cpux9k2: add USB host support to board

2011-07-10 Thread Jens Scharsig
* add USB host support to eb_cpux9k2 board Signed-off-by: Jens Scharsig --- include/configs/eb_cpux9k2.h | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/include/configs/eb_cpux9k2.h b/include/configs/eb_cpux9k2.h index c4b1e65..b1fcec7 100644 --- a/includ

[U-Boot] [PATCH] SMDKV310: Fix host compilation of mkv310_image

2011-07-10 Thread Dirk Behme
From: Dirk Behme Fix compilation of mkv310_image host tool tools/mkv310_image.c: In function 'main': tools/mkv310_image.c:67: error: 'S_IRUSR' undeclared (first use in this function) tools/mkv310_image.c:67: error: (Each undeclared identifier is reported only once tools/mkv310_image.c:67: erro