Re: [U-Boot] [PATCH 0/5] USB RNDIS gadget support

2011-02-12 Thread Remy Bohmer
Hi, 2011/2/11 Vitaly Kuzmichev : > The patch series integrates RNDIS protocol support > into the current U-Boot USB gadget stack to talk with Windows host. > > Synced with linux-2.6.26 version (latest one that has simple, > non-composite gadget architecture), therefore I've kept checkpatch > warni

Re: [U-Boot] [PATCH 1/1] NAND Re: mtdparts fails with NAND >= 4GB - Second try

2011-02-12 Thread Albert ARIBAUD
Le 12/02/2011 08:57, Aaron Williams a écrit : >> The CFI query is normal for a x16 device: byte address 0xAA is word >> address 0x55, which is what is expected from a x16 device in x8 mode as >> in x16 mode. >> >> Can you try a 'md.b 0x1f400020 20' once in CFI QRY mode? >> >> Amicalement, > You m

Re: [U-Boot] [PATCH 1/1] NAND Re: mtdparts fails with NAND >= 4GB - Second try

2011-02-12 Thread Aaron Williams
On Saturday, February 12, 2011 12:49:24 am Albert ARIBAUD wrote: > Le 12/02/2011 08:57, Aaron Williams a écrit : > >> The CFI query is normal for a x16 device: byte address 0xAA is word > >> address 0x55, which is what is expected from a x16 device in x8 mode as > >> in x16 mode. > >> > >> Can you

Re: [U-Boot] u-boot sparc for leon3-altera-ep2s60-sdr working

2011-02-12 Thread Fabio Giovagnini
On Saturday 12 February 2011 08:13:08 Albert ARIBAUD wrote: > Hi Fabio, > > Le 11/02/2011 14:45, Fabio Giovagnini a écrit : > > Hi guys, I'd like to add the configuration for leon3-altera-ep2s60-sdr > > board. What could be the best working way to have an automatic patch > > generator? > > Make o

[U-Boot] Fw:kernel

2011-02-12 Thread nice
hello,i met a question when i use the device mpc8641d,the output from the serial port is as follows,can anyone help me U-Boot 2010.09 (Jan 20 2011 - 11:40:31) CPU: 8641D, Version: 2.1, (0x80900121) Core: E600 Core 0, Version: 2.2, (0x80040202) Clock Configuration: CPU:1200 MHz, MPX:400

Re: [U-Boot] [PATCH v3] mkimage: add "-V" option to print version information

2011-02-12 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message <4d562d0a.9060...@free.fr> you wrote: > > I might argue that this is kind of a hack, and that rather than trying > to prune the U_BOOT_VERSION string, one should define two macros, for > instance: > > #define PLAIN_VERSION "whatever" > #define U_BOOT_

Re: [U-Boot] u-boot sparc for leon3-altera-ep2s60-sdr working

2011-02-12 Thread Graeme Russ
On 12/02/11 20:23, Fabio Giovagnini wrote: > On Saturday 12 February 2011 08:13:08 Albert ARIBAUD wrote: >> Hi Fabio, >> >> Le 11/02/2011 14:45, Fabio Giovagnini a écrit : >>> Hi guys, I'd like to add the configuration for leon3-altera-ep2s60-sdr >>> board. What could be the best working way to hav

Re: [U-Boot] u-boot sparc for leon3-altera-ep2s60-sdr working

2011-02-12 Thread Fabio Giovagnini
Where could I find stg? and its documentation? Thanks On Saturday 12 February 2011 10:33:05 Graeme Russ wrote: > On 12/02/11 20:23, Fabio Giovagnini wrote: > > On Saturday 12 February 2011 08:13:08 Albert ARIBAUD wrote: > >> Hi Fabio, > >> > >> Le 11/02/2011 14:45, Fabio Giovagnini a écrit : > >

[U-Boot] [PATCH v4] mkimage: add "-V" option to print version information

2011-02-12 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk --- v2: fix missing argument to printf() call. v3: explain the magic "+ 7" offset into the version string v3: avoid offset into U_BOOT_VERSION string completely and define a new PLAIN_VERSION variable instead; this has the benefit that it can be used in other p

Re: [U-Boot] [PATCH v3] mkimage: add "-V" option to print version information

2011-02-12 Thread Wolfgang Denk
Dear Kim Phillips, In message <20110211171117.b9b05b01.kim.phill...@freescale.com> you wrote: > On Fri, 11 Feb 2011 23:41:43 +0100 > Wolfgang Denk wrote: > > > + case 'V': > > + /* > > +* Skip the "U-Boot " part in > > +

Re: [U-Boot] u-boot sparc for leon3-altera-ep2s60-sdr working

2011-02-12 Thread Wolfgang Denk
Dear Graeme Russ, In message <4d5653d1.5070...@gmail.com> you wrote: > > I would recommend stg (stacked git) - It will allow you to mess around with > (and mess up) patches without polluting your git tree > > It is really just a wrapper around git commands, but for me, it makes like > a lot easie

Re: [U-Boot] [PATCH 1/1] NAND Re: mtdparts fails with NAND >= 4GB - Second try

2011-02-12 Thread Albert ARIBAUD
Le 12/02/2011 09:54, Aaron Williams a écrit : > Octeon ebb6300(ram)# mw.b 0x1f40 0xf0 > Octeon ebb6300(ram)# mw.b 0x1f40 0xf0 > Octeon ebb6300(ram)# mw.b 0x1f4000AA 0x98 > Octeon ebb6300(ram)# md.b 0x1f400020 20 > 1f400020: 51 51 52 52 59 59 02 02 00 00 40 40 00 00 00 00QQRRYY@@...

[U-Boot] in/out_le32, etc.

2011-02-12 Thread Aaron Williams
One thing that is getting confusing to me is that there seems to be many different methods for doing I/O. There's in_xxx/out_xxx, __raw_readx/__raw_writex and readx/writex. What exactly is the difference between all of these? It looks like the in/out was added recently and is not present in t

Re: [U-Boot] Is it possible to load the uboot.bin file to RAM area

2011-02-12 Thread zq_fan
yes at first, SDRAM should be initialized through JTAG by emulator secondly, adjust TEXT_BASE to the SDRAM address region then u can download the uboot image into SDRAM through JTAG by emulator ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.den

Re: [U-Boot] [PATCH 1/1] NAND Re: mtdparts fails with NAND >= 4GB - Second try

2011-02-12 Thread Aaron Williams
On Saturday, February 12, 2011 02:08:00 am Albert ARIBAUD wrote: > Le 12/02/2011 09:54, Aaron Williams a écrit : > > Octeon ebb6300(ram)# mw.b 0x1f40 0xf0 > > Octeon ebb6300(ram)# mw.b 0x1f40 0xf0 > > Octeon ebb6300(ram)# mw.b 0x1f4000AA 0x98 > > Octeon ebb6300(ram)# md.b 0x1f400020 20 > >

Re: [U-Boot] Atmel AT91 USB DFU and USB device port driver

2011-02-12 Thread Marcel
Hi Krishna, > I am currently developing a USB DFU feature for at91sam9263 board. I have > to develop the driver for USB device port. I looked the uboot-usb git cdc > branch it has a at91_udc.c driver it doesnt contain the udc_* api > implementations. I found a earlier post where it was discussed

[U-Boot] [PATCH 2/2] Add Atmel USBA UDC

2011-02-12 Thread Marcel Janssen
From: Marcel Signed-off-by: Marcel --- drivers/usb/gadget/Makefile |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/usb/gadget/Makefile b/drivers/usb/gadget/Makefile index 0846233..024844d 100644 --- a/drivers/usb/gadget/Makefile +++ b/drivers/usb/gadget/Makefile

Re: [U-Boot] [PATCH 1/1] Add Atmel USBA UDC

2011-02-12 Thread Remy Bohmer
Hi, 2011/2/12 Marcel Janssen : > From: Marcel > > Signed-off-by: Marcel > --- >  drivers/usb/gadget/atmel_usba_udc.c | 1586 > +++ >  include/usb/atmel_usba_udc.h        |  469 +++ >  2 files changed, 2055 insertions(+), 0 deletions(-) >  create mode 10064

Re: [U-Boot] [PATCH 1/1] Add Atmel USBA UDC

2011-02-12 Thread Marcel
Hi Remy, Sorry about this. Please forget the patches I send yesterday and also this one. It's the first time I create a patch for u-boot and something went wrong with git sending email. It should actually be a set of 4 patches. I will post all 4 of them within the next half hour I think. Best

[U-Boot] [PATCH 2/4] Add Atmel USBA UDC

2011-02-12 Thread Marcel Janssen
From: Marcel Signed-off-by: Marcel --- drivers/usb/gadget/Makefile |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/usb/gadget/Makefile b/drivers/usb/gadget/Makefile index 0846233..024844d 100644 --- a/drivers/usb/gadget/Makefile +++ b/drivers/usb/gadget/Makefile

[U-Boot] [PATCH 3/4] add USB DFU driver

2011-02-12 Thread Marcel Janssen
From: Marcel Signed-off-by: Marcel --- common/update_dfu.c | 90 +++ doc/README.dfu | 129 drivers/usb/gadget/Makefile | 10 +- drivers/usb/gadget/usbdfu.c | 1470 +++ 4 files changed, 1697 insertions(+), 2 deletions(-) cre

[U-Boot] [PATCH 4/4] add icnova sam9g45 board

2011-02-12 Thread Marcel Janssen
From: Marcel Signed-off-by: Marcel --- Makefile |4 + board/in-circuit/icnova/Makefile | 54 ++ board/in-circuit/icnova/at91_nand.c | 131 +++ board/in-circuit/icnova/config.mk|1 + board/in-circuit/icnova/flash2x8.c | 242 +

[U-Boot] [PATCH 2/3] add USB DFU driver

2011-02-12 Thread Marcel Janssen
From: Marcel Signed-off-by: Marcel --- common/update_dfu.c | 90 +++ doc/README.dfu | 129 drivers/usb/gadget/Makefile | 10 +- drivers/usb/gadget/usbdfu.c | 1470 +++ 4 files changed, 1697 insertions(+), 2 deletions(-) cre

[U-Boot] [PATCH 3/3] add icnova sam9g45 board

2011-02-12 Thread Marcel Janssen
From: Marcel Signed-off-by: Marcel --- Makefile |4 + board/in-circuit/icnova/Makefile | 54 ++ board/in-circuit/icnova/at91_nand.c | 131 +++ board/in-circuit/icnova/config.mk|1 + board/in-circuit/icnova/flash2x8.c | 242 +

Re: [U-Boot] [PATCH 4/4] add icnova sam9g45 board

2011-02-12 Thread Reinhard Meyer
Dear Marcel Janssen, > From: Marcel > > Signed-off-by: Marcel > --- Sorry, this patch has to be rejected for several reasond, see below. > Makefile |4 + Nope, boards must be added to boards.cfg. > board/in-circuit/icnova/Makefile | 54 ++ > board/i

Re: [U-Boot] Seperating MIPS processors

2011-02-12 Thread Daniel Schwierzeck
Hi, On 02/12/2011 07:19 AM, Aaron Williams wrote: > Hi, > > One thing that I have had to do in our Octeon port of U-Boot is to seperate > out the MIPS processors under /arch/mips/cpu much like has been done for ARM > and PowerPC. I'd appreciate this separation as it would help me too in supportin

Re: [U-Boot] P2020 SPL L2 clearing

2011-02-12 Thread Kumar Gala
On Feb 11, 2011, at 8:34 AM, Fabian Cenedese wrote: > 2. Why does the cache to be cleared at all? L2-SRAM is usually just used to copy in the second part of the u-boot image, so the 0s will be overwritten again anyway. >> >> This needs to be done because we enable ECC. > > I'm s

[U-Boot] [PATCH] Add support for dataflash to U-boot environment settings tool.

2011-02-12 Thread Remy Bohmer
* The sector size for SPI-dataflash (like AT45 flashes) are not always a power-of-2. So, the sector calculations are rewritten such that it works for either power-of-2 as any size sectors. * Make the flash sector size optional in case it is the same value as the environment size. Signed-off-

Re: [U-Boot] [PATCH 1/3] Add Atmel USBA UDC

2011-02-12 Thread Wolfgang Denk
Dear Marcel Janssen, In message <1297527588-21530-1-git-send-email-korg...@home.nl> you wrote: > From: Marcel > > Signed-off-by: Marcel > > Added Atmel USBA UDC to Makefile > > Signed-off-by: Marcel > --- > drivers/usb/gadget/Makefile |1 + > drivers/usb/gadget/atmel_usba_udc.c

Re: [U-Boot] [PATCH v3] mkimage: add "-V" option to print version information

2011-02-12 Thread Kim Phillips
On Sat, 12 Feb 2011 10:37:16 +0100 Wolfgang Denk wrote: > Dear Kim Phillips, > > In message <20110211171117.b9b05b01.kim.phill...@freescale.com> you wrote: > > On Fri, 11 Feb 2011 23:41:43 +0100 > > Wolfgang Denk wrote: > > > > > + case 'V': > > > + /* >

Re: [U-Boot] [PATCH v4] mkimage: add "-V" option to print version information

2011-02-12 Thread Kim Phillips
On Sat, 12 Feb 2011 10:37:11 +0100 Wolfgang Denk wrote: > - @( printf '#define U_BOOT_VERSION "U-Boot %s%s"\n' > "$(U_BOOT_VERSION)" \ > - '$(shell $(TOPDIR)/tools/setlocalversion $(TOPDIR))' ) > $@.tmp > + @( localvers='$(shell $(TOPDIR)/tools/setlocalversio

Re: [U-Boot] Seperating MIPS processors

2011-02-12 Thread Aaron Williams
On 02/12/2011 08:29 AM, Daniel Schwierzeck wrote: > Hi, > > On 02/12/2011 07:19 AM, Aaron Williams wrote: >> Hi, >> >> One thing that I have had to do in our Octeon port of U-Boot is to >> seperate >> out the MIPS processors under /arch/mips/cpu much like has been done >> for ARM >> and PowerPC. >

Re: [U-Boot] [PATCH v3] mkimage: add "-V" option to print version information

2011-02-12 Thread Wolfgang Denk
Dear Kim Phillips, In message <20110212161715.111c368f.kim.phill...@freescale.com> you wrote: > > > > I'd have done it without magic nor comments as ... > > Hm... I would have cleaned up such locations in U-Boot as part of my > > v4 patch that introduces PLAIN_VERSION - if I had found any such > >

Re: [U-Boot] [PATCH v4] mkimage: add "-V" option to print version information

2011-02-12 Thread Wolfgang Denk
Dear Kim Phillips, In message <20110212171349.f0f5d472.kim.phill...@freescale.com> you wrote: > > > - @( printf '#define U_BOOT_VERSION "U-Boot %s%s"\n' > > "$(U_BOOT_VERSION)" \ > > -'$(shell $(TOPDIR)/tools/setlocalversion $(TOPDIR))' ) > $@.tmp > > + @( localve

Re: [U-Boot] [PATCH v4] mkimage: add "-V" option to print version information

2011-02-12 Thread Kim Phillips
On Sun, 13 Feb 2011 00:35:08 +0100 Wolfgang Denk wrote: > Dear Kim Phillips, > > In message <20110212171349.f0f5d472.kim.phill...@freescale.com> you wrote: > > > > > - @( printf '#define U_BOOT_VERSION "U-Boot %s%s"\n' > > > "$(U_BOOT_VERSION)" \ > > > - '$(shell $(TOPDIR)/too

Re: [U-Boot] Pull request: u-boot-x86/master

2011-02-12 Thread Wolfgang Denk
Dear Graeme Russ, In message <4d560fd2.4000...@gmail.com> you wrote: > Wolfgang, > > I believe I missed the 2011.03 merge window - I'm happy for these to go into > 2011.06 > > The following changes since commit d1a79b71f7c5fd9e277e0feb35f049289df1ed0e: > > Merge branch 'master' of git://git.

Re: [U-Boot] [GIT PULL] MIPS patches

2011-02-12 Thread Wolfgang Denk
Dear Shinya Kuribayashi, In message <4d561628.6070...@pobox.com> you wrote: > Hi, > > Please pull the following MIPS patches, thanks. > > Daniel Schwierzeck (3): > MIPS: VCT: Fix enabling of unwanted options if networking or USB > support are disabled > MIPS: Purple: Fix multiple de

Re: [U-Boot] [PATCH v3] mkimage: add "-V" option to print version information

2011-02-12 Thread Kim Phillips
On Sat, 12 Feb 2011 07:47:38 +0100 Albert ARIBAUD wrote: > Le 12/02/2011 00:11, Kim Phillips a écrit : > > I'd have done it without magic nor comments as > > > > U_BOOT_VERSION[sizeof("U-Boot ") + 1] > > > > or even > > > > U_BOOT_VERSION[strlen("U-Boot ")] > > The second one calls strlen() at r

Re: [U-Boot] Is it possible to load the uboot.bin file to RAM area

2011-02-12 Thread zq_fan
yes at first, SDRAM should be initialized through JTAG by emulator secondly, adjust TEXT_BASE to the SDRAM address region then u can download the uboot image into SDRAM through JTAG by emulator ___ U-Boot mailing list U-Boot@lists.denx.de http://lists