[U-Boot] [PATCH v3 1/3] net: Adds Fast Ethernet Controller driver for Armada100

2011-08-25 Thread Ajay Bhargav
This patch adds support for Fast Ethernet Controller driver for Armada100 series. Signed-off-by: Ajay Bhargav --- Changes for v2: - removed random MAC generation - driver init function changed to register as per new naming convention - code cleanup (Thanks to Wolfgang, Mar

[U-Boot] [PATCH v3 2/3] Armada100: Enable Ethernet support for GplugD

2011-08-25 Thread Ajay Bhargav
This patch enables ethernet support for Marvell GplugD board. Network related commands works. Signed-off-by: Ajay Bhargav --- Changes for v2: - armada100_fec_initialize changed to armada100_fec_register Changes for v3: - fec base address as argument to armada100_fec_register arc

[U-Boot] [PATCH v3 3/3] Armada100: Enable 88E3015 PHY support for GplugD

2011-08-25 Thread Ajay Bhargav
This patch adds support for 88E3015 PHY for Marvell GplugD board. This patch depends on series of patch which adds support for Marvell GuruPlug-Display. Signed-off-by: Ajay Bhargav --- Changes for v2: - Not changed Changes for v3: - code cleanup; removed unwated cast board/Marve

Re: [U-Boot] mii_phy.h

2011-08-25 Thread Wolfgang Denk
Dear Michal Simek, In message <4e573aee.2060...@monstr.eu> you wrote: > > Who is responsible for ep8260 and rpxsuper boards? > > For ep8260: I cc'ed Frank Panno but his email address doesn't work. I guess it's safe to assume these boards are orphaned / unmaintained. Shall we remove them? Best

Re: [U-Boot] mii_phy.h

2011-08-25 Thread Michal Simek
Mike Frysinger wrote: > On Thursday, August 25, 2011 03:25:32 Michal Simek wrote: >> Can someone clear me purpose of mii_phy.h? It looks like that it is really >> ancient file which hasn't been touched from 2003. >> >> It is use for two files >> [monstr@monstr u-boot]$ grep -rn "mii_phy.h" * >> boa

Re: [U-Boot] [PATCH] ppc460: read get_sys_info from CPR registers instead of STRP registers

2011-08-25 Thread Stefan Roese
Marri, Mike On Thursday 25 August 2011 20:05:15 Tirumala Marri wrote: > >make[1]: *** [speed.o] Error 1 > >make[1]: *** Waiting for unfinished jobs > >make: *** [arch/powerpc/cpu/ppc4xx/libppc4xx.o] Error 2 > >make: *** Waiting for unfinished jobs > > > >Could you please check, if the 460S

Re: [U-Boot] [PATCH v2 1/3] net: Adds Fast Ethernet Controller driver for Armada100

2011-08-25 Thread Ajay Bhargav
- "Mike Frysinger" wrote: > On Thursday, August 25, 2011 01:10:30 Ajay Bhargav wrote: > > - "Mike Frysinger" wrote: > > > On Wednesday, August 24, 2011 09:07:18 Ajay Bhargav wrote: > > > > + /* Read mac from env if available */ > > > > + eth_getenv_enetaddr("ethaddr", dev->e

Re: [U-Boot] RFC: Testing U-Boot Part 1

2011-08-25 Thread Graeme Russ
Hi Simon, On Fri, Aug 26, 2011 at 1:32 PM, Simon Glass wrote: > Hi, > > Thanks all for comments. It sounds like people are keen on the idea so > far as it goes. I will work on a patch set complete enough to bring up > a U-Boot prompt, allowing typing of 'help' and with a special segfault > featur

Re: [U-Boot] RFC: Testing U-Boot Part 1

2011-08-25 Thread Simon Glass
Hi, Thanks all for comments. It sounds like people are keen on the idea so far as it goes. I will work on a patch set complete enough to bring up a U-Boot prompt, allowing typing of 'help' and with a special segfault feature for anything else. Before I do this, and to avoid me redoing work later:

[U-Boot] (no subject)

2011-08-25 Thread Ronny D
http://www.locksplususa.com/images/vfst.htm";>http://www.locksplususa.com/images/vfst.htm___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] RFC: Testing U-Boot Part 1

2011-08-25 Thread Graeme Russ
Hi Simon, Mike On Fri, Aug 26, 2011 at 1:01 AM, Mike Frysinger wrote: > On Thursday, August 25, 2011 08:58:00 Simon Glass wrote: >> Proposal >> > > for people who might be familiar with the barebox boot loader, Simon is > basically proposing the same thing as barebox's "sandbox" target.

[U-Boot] Why are have_console and env_valid not in gd->flags?

2011-08-25 Thread Graeme Russ
Does anyone know why have_console and env_valid are not part of gd->flags? I know env_valid is tri-state, but it could still be put in flags as a double-bit Regards, Graeme ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listin

Re: [U-Boot] standalone application export eth_receive: undefined index

2011-08-25 Thread Wolfgang Denk
Dear Robin Theunis, In message you wrote: > > I have a little problem. I need to access the eth_receive function in > my standalone application. The U-boot version is 1.3.3 (I know it is > old but it is a requirement). eth_receive is (intentionally) not an exported interface for standalone app

Re: [U-Boot] [PATCH 5/7] powerpc/mpc83xx: Migrate from spd_sdram to unified DDR driver

2011-08-25 Thread Wolfgang Denk
Dear York Sun, In message <1314308192.29220.29.camel@oslab-l1> you wrote: > > I am introducing it to this file as it is already being used somewhere > else. If you are trying to enforce this new policy, please start with > brand new files/typedefs, as you pointed out in my another patch. I will >

Re: [U-Boot] RFC: Testing U-Boot Part 1

2011-08-25 Thread Marek Vasut
On Thursday, August 25, 2011 04:56:39 PM Mike Frysinger wrote: > On Thursday, August 25, 2011 09:56:02 Andreas Bießmann wrote: > > Am 25.08.2011 14:58, schrieb Simon Glass: > > > Summary: I am quite keen on improving the test infrastructure in > > > U-Boot. I would like to have a test suite that ca

Re: [U-Boot] fw_env bug for multi-sector environments on NOR flash

2011-08-25 Thread Fei, Yiyang
Dear Mr. Denk, > Stupid question: why do you define an environment size of 128 kB? > I bet you use less than 10% of this, right? Correct > Are you aware that this has a lof of disadvantages, lile > significantly slowing down your boot process? I am now, but the first product is already released

[U-Boot] [PATCH] NAND: Add nand read.raw and write.raw commands

2011-08-25 Thread Marek Vasut
These commands should work around various "hardware" ECC and BCH methods. This is important for example in case where the user needs to write precisely what's in a buffer to a NAND page, with no interference of hardware ECC engine or such. Signed-off-by: Marek Vasut --- common/cmd_nand.c | 14

Re: [U-Boot] gcc-4.6 warnings

2011-08-25 Thread Mike Frysinger
On Thursday, August 25, 2011 17:44:58 Timur Tabi wrote: > Mike Frysinger wrote: > > if we let the optimizer do it instead of the preprocessor, we get better > > code coverage in the face of different config settings. > > Oh, I thought this was some new feature of U-Boot. > > Can you give me an ex

Re: [U-Boot] gcc-4.6 warnings

2011-08-25 Thread Timur Tabi
Timur Tabi wrote: > Oh, I thought this was some new feature of U-Boot. > I meant a new feature of gcc. Ugh. -- Timur Tabi Linux kernel developer at Freescale ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] gcc-4.6 warnings

2011-08-25 Thread Timur Tabi
Mike Frysinger wrote: > if we let the optimizer do it instead of the preprocessor, we get better code > coverage in the face of different config settings. Oh, I thought this was some new feature of U-Boot. Can you give me an example of where DCE could be used to eliminate an #ifdef? -- Timur T

[U-Boot] standalone application export eth_receive: undefined index

2011-08-25 Thread Robin Theunis
Hi all I have a little problem. I need to access the eth_receive function in my standalone application. The U-boot version is 1.3.3 (I know it is old but it is a requirement). Also I have seen that I need to enable #define CONFIG_API but building with this option fails. Current platfom is a AT91RM

Re: [U-Boot] [PATCH 5/7] powerpc/mpc83xx: Migrate from spd_sdram to unified DDR driver

2011-08-25 Thread York Sun
Wolfgang, On Thu, 2011-08-25 at 23:30 +0200, Wolfgang Denk wrote: > Dear York Sun, > > In message <1314307500.29220.24.camel@oslab-l1> you wrote: > > > > Fixing all existing reference to ccs_ddr is a lot of work, comparing > > with defining it for 83xx. There are many other typedefs in the very >

Re: [U-Boot] [PATCH 5/7] powerpc/mpc83xx: Migrate from spd_sdram to unified DDR driver

2011-08-25 Thread Wolfgang Denk
Dear York Sun, In message <1314307500.29220.24.camel@oslab-l1> you wrote: > > Fixing all existing reference to ccs_ddr is a lot of work, comparing > with defining it for 83xx. There are many other typedefs in the very > same files. Would we fix all of them? I don't think so. The bottom of well, i

Re: [U-Boot] [PATCH 5/7] powerpc/mpc83xx: Migrate from spd_sdram to unified DDR driver

2011-08-25 Thread York Sun
On Thu, 2011-08-25 at 23:20 +0200, Wolfgang Denk wrote: > Dear York Sun, > > In message <1314305821.29220.21.camel@oslab-l1> you wrote: > > > > > WARNING: do not add new typedefs > > > #408: FILE: arch/powerpc/include/asm/immap_83xx.h:289: > > > +typedef struct ccsr_ddr { > > > > > > Please fix.

Re: [U-Boot] [PATCH 5/7] powerpc/mpc83xx: Migrate from spd_sdram to unified DDR driver

2011-08-25 Thread Wolfgang Denk
Dear York Sun, In message <1314305821.29220.21.camel@oslab-l1> you wrote: > > > WARNING: do not add new typedefs > > #408: FILE: arch/powerpc/include/asm/immap_83xx.h:289: > > +typedef struct ccsr_ddr { > > > > Please fix. > > I can fix the new tyepdef. But this one isn't. It has been used for

Re: [U-Boot] RFC: Testing U-Boot Part 1

2011-08-25 Thread Mike Frysinger
On Thursday, August 25, 2011 16:21:51 Wolfgang Denk wrote: > Simon Glass wrote: > > For speed, debugging and convenience, it would be nice to run U-Boot > > under a generic Linux environment on a workstation, and test all the > > generic non-platform code. The basic problem with this is that the >

Re: [U-Boot] [PATCH 5/7] powerpc/mpc83xx: Migrate from spd_sdram to unified DDR driver

2011-08-25 Thread York Sun
Wolfgang, On Thu, 2011-08-25 at 00:36 +0200, Wolfgang Denk wrote: > Dear York Sun, > > In message <1312923045-2612-5-git-send-email-york...@freescale.com> you wrote: > > Unified DDR driver is maintained for better performance, robustness and bug > > fixes. Upgrading to use unified DDR driver for

Re: [U-Boot] fw_env bug for multi-sector environments on NOR flash

2011-08-25 Thread Wolfgang Denk
Dear "Fei, Yiyang", In message you wrote: > > # MTD device name Device offset Env. size Flash sector > size Number of sectors > /dev/mtd12 0x 0x2 0x1 > 2 Stupid question: why do you define an environment size of 128 kB? I bet you us

Re: [U-Boot] [PATCH v2] ns16550: change to allow 32 bit access to registers

2011-08-25 Thread Wolfgang Denk
Dear Dave Aldridge, In message <1314286215-29470-1-git-send-email-fovs...@gmail.com> you wrote: > > @@ -19,6 +19,12 @@ > #ifdef CONFIG_SYS_NS16550_PORT_MAPPED > #define serial_out(x,y) outb(x,(ulong)y) > #define serial_in(y) inb((ulong)y) > +#elif defined(CONFIG_SYS_NS16550_MEM32) && (CONF

Re: [U-Boot] gcc-4.6 warnings

2011-08-25 Thread Wolfgang Denk
Dear Kumar Gala, In message <7056f5b1-ad6c-459e-80f1-8ee436cc7...@kernel.crashing.org> you wrote: > > > well, that's the reason for the warnings showing up, it isn't the > > reason why we cannot fix these? > > :), Thus my query if we really wanted to try and fix them by adding more > #ifdef's or

Re: [U-Boot] [STATUS] ARM: board removal

2011-08-25 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message <4e564825.8080...@aribaud.net> you wrote: > > Well, to the first question the answer is "all boards in the patch set > for which an action is still required in patchwork" and to the second That would be: [U-Boot,46/52] ARM: remove broken "at91rm9200dk" board [U

Re: [U-Boot] gcc-4.6 warnings

2011-08-25 Thread Mike Frysinger
On Thursday, August 25, 2011 15:50:57 Tabi Timur-B04825 wrote: > On Thu, Aug 25, 2011 at 9:51 AM, Mike Frysinger wrote: > > i feel like some (many?) #ifdef's in the tree could be done without > > ifdefs (by relying on gcc's DCE) thus improving overall code quality > > What's DCE? dead code elimi

Re: [U-Boot] RFC: Testing U-Boot Part 1

2011-08-25 Thread Wolfgang Denk
Dear Simon Glass, In message you wrote: > > Summary: I am quite keen on improving the test infrastructure in > U-Boot. I would like to have a test suite that can run in a minute or > two on a Linux PC and test all non-platform code. I highly appreaciate such efforts! > For speed, debugging an

Re: [U-Boot] gcc-4.6 warnings

2011-08-25 Thread Tabi Timur-B04825
On Thu, Aug 25, 2011 at 9:51 AM, Mike Frysinger wrote: > i feel like some (many?) #ifdef's in the tree could be done without ifdefs (by > relying on gcc's DCE) thus improving overall code quality What's DCE? -- Timur Tabi Linux kernel developer at Freescale

[U-Boot] Get a Legitimate Business offer

2011-08-25 Thread Mr. Ma Guang Lu
Business Mail I am Mr. Ma Guang Lu; with a business deal worth $17.3Million, for us to transact from my bank. please reply for details. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] fw_env bug for multi-sector environments on NOR flash

2011-08-25 Thread Fei, Yiyang
Hi, I am storing u-boot environment variables on a NOR flash using two sectors. I encountered an error when writing changes using fw_setenv. /etc # cat fw_env.config # Configuration file for fw_(printenv/saveenv) utility. # Up to two entries are valid, in this case the redundand # environment

Re: [U-Boot] RFC: Testing U-Boot Part 1

2011-08-25 Thread Anton Staaf
On Thu, Aug 25, 2011 at 8:01 AM, Mike Frysinger wrote: > On Thursday, August 25, 2011 08:58:00 Simon Glass wrote: >> Proposal >> > > for people who might be familiar with the barebox boot loader, Simon is > basically proposing the same thing as barebox's "sandbox" target. > > to avoid con

Re: [U-Boot] [PATCH] ppc460: read get_sys_info from CPR registers instead of STRP registers

2011-08-25 Thread Tirumala Marri
Mike and Stefan, >Thanks. Unfortunately this patch introduces compile errors for 460SX boards >(e.g. redwood): >[stefan@kubuntu u-boot-ppc4xx (master)]$ ./MAKEALL redwood >Configuring for redwood board... >speed.c: In function 'get_sys_info': >speed.c:339: error: 'PLLD_FWDVA_MASK' undeclared (f

Re: [U-Boot] [PATCH] ppc460: read get_sys_info from CPR registers instead of STRP registers

2011-08-25 Thread Tirumala Marri
Hi Wolfgang, Stefan asked before, but you did not reply yet, so here I ask again: What exactly are your plans? You did not respond to the Eiger patches for the last 9 months, so I somewhat doubt you are going to submit usable patches within the next couple of days, or are you? [marri] I will hav

Re: [U-Boot] [PATCH 1/1] mmc: omap: config VMMC, MMC1_PBIAS

2011-08-25 Thread T Krishnamoorthy, Balaji
On Thu, Aug 25, 2011 at 8:25 PM, Marek Vasut wrote: > > On Thursday, August 25, 2011 04:48:25 PM Balaji T K wrote: > > Config VMMC voltage to 3V for MMC/SD card slot > > and PBIAS settings needed for OMAP4 > > Fixes MMC/SD detection on boot from eMMC. > > > > Signed-off-by: Balaji T K > > Signed-

[U-Boot] [PATCH v2] ns16550: change to allow 32 bit access to registers

2011-08-25 Thread Dave Aldridge
If CONFIG_SYS_NS16550_MEM32 is defined then 32 bit memory mapped access will be used to read/write the uart registers. This is especially useful for SoC devices that implement 16550 compatible uarts but that have peripheral access width constraints. Signed-off-by: Dave Aldridge --- Changes for v

[U-Boot] [PATCH] OMAP3: DIG297: Use generic MMC driver

2011-08-25 Thread Tom Rini
Switch from the legacy omap3 mmc driver to the new generic omap hsmmc driver. This patch is based on the work done for Beagle, etc. Tested-by: Luca Ceresoli Signed-off-by: Tom Rini --- V2 changes: Follow board config format, just use #define CONFIG_GENERIC_MMC, etc) --- board/comelit/dig297/

Re: [U-Boot] RFC: Testing U-Boot Part 1

2011-08-25 Thread Mike Frysinger
On Thursday, August 25, 2011 08:58:00 Simon Glass wrote: > Proposal > for people who might be familiar with the barebox boot loader, Simon is basically proposing the same thing as barebox's "sandbox" target. to avoid confusion/fragmentation in this area, and since the name is a large p

Re: [U-Boot] RFC: Testing U-Boot Part 1

2011-08-25 Thread Mike Frysinger
On Thursday, August 25, 2011 09:56:02 Andreas Bießmann wrote: > Am 25.08.2011 14:58, schrieb Simon Glass: > > Summary: I am quite keen on improving the test infrastructure in > > U-Boot. I would like to have a test suite that can run in a minute or > > two on a Linux PC and test all non-platform co

Re: [U-Boot] [PATCH 1/1] mmc: omap: config VMMC, MMC1_PBIAS

2011-08-25 Thread Marek Vasut
On Thursday, August 25, 2011 04:48:25 PM Balaji T K wrote: > Config VMMC voltage to 3V for MMC/SD card slot > and PBIAS settings needed for OMAP4 > Fixes MMC/SD detection on boot from eMMC. > > Signed-off-by: Balaji T K > Signed-off-by: Aneesh V > --- > arch/arm/include/asm/arch-omap4/omap4.h |

Re: [U-Boot] gcc-4.6 warnings

2011-08-25 Thread Mike Frysinger
On Thursday, August 25, 2011 10:27:42 Kumar Gala wrote: > On Aug 25, 2011, at 12:52 AM, Wolfgang Denk wrote: > > Kumar Gala wrote: > >>> If the variable is not used, why don't we remove it, then? > >> > >> In the vast number of cases it because of some #ifdef case not be > >> defined in the given

[U-Boot] [PATCH 1/1] mmc: omap: config VMMC, MMC1_PBIAS

2011-08-25 Thread Balaji T K
Config VMMC voltage to 3V for MMC/SD card slot and PBIAS settings needed for OMAP4 Fixes MMC/SD detection on boot from eMMC. Signed-off-by: Balaji T K Signed-off-by: Aneesh V --- arch/arm/include/asm/arch-omap4/omap4.h |1 + drivers/mmc/omap_hsmmc.c| 28 +++

[U-Boot] [PATCH 1/1] mmc: omap: enable high capacity

2011-08-25 Thread Balaji T K
Enable high capacity to host capability. Fixes eMMC detection on boot from MMC/SD card. Signed-off-by: Balaji T K Signed-off-by: Aneesh V --- drivers/mmc/omap_hsmmc.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c i

Re: [U-Boot] RFC: Testing U-Boot Part 1

2011-08-25 Thread Marek Vasut
On Thursday, August 25, 2011 02:58:00 PM Simon Glass wrote: > Hi, > > Summary: I am quite keen on improving the test infrastructure in > U-Boot. I would like to have a test suite that can run in a minute or > two on a Linux PC and test all non-platform code. > > Detail > == > We can break the

Re: [U-Boot] gcc-4.6 warnings

2011-08-25 Thread Kumar Gala
On Aug 25, 2011, at 12:52 AM, Wolfgang Denk wrote: > Dear Kumar Gala, > > In message <348935c0-0c2d-4a7a-8abe-9d09e2904...@kernel.crashing.org> you > wrote: >> >>> If the variable is not used, why don't we remove it, then? >> >> In the vast number of cases it because of some #ifdef case not b

Re: [U-Boot] mii_phy.h

2011-08-25 Thread Mike Frysinger
On Thursday, August 25, 2011 03:25:32 Michal Simek wrote: > Can someone clear me purpose of mii_phy.h? It looks like that it is really > ancient file which hasn't been touched from 2003. > > It is use for two files > [monstr@monstr u-boot]$ grep -rn "mii_phy.h" * > board/ep8260/mii_phy.c:2:#includ

Re: [U-Boot] phylib + mii + _parse_status

2011-08-25 Thread Mike Frysinger
On Thursday, August 25, 2011 03:56:50 Michal Simek wrote: > Then will be good to synchronize FULL/HALF and DUPLEX_FULL/DUPLEX_HALF. > > miiphy.h > #define HALF22 > #define FULL44 > > include/linux/ethtool.h > #define DUPLEX_HALF 0x00 > #define D

Re: [U-Boot] [PATCH v2 1/3] net: Adds Fast Ethernet Controller driver for Armada100

2011-08-25 Thread Mike Frysinger
On Thursday, August 25, 2011 01:10:30 Ajay Bhargav wrote: > - "Mike Frysinger" wrote: > > On Wednesday, August 24, 2011 09:07:18 Ajay Bhargav wrote: > > > + /* Read mac from env if available */ > > > + eth_getenv_enetaddr("ethaddr", dev->enetaddr); > > > > you shouldnt need to do this. the h

Re: [U-Boot] [PATCH] Error : Not finding asm/arch/gpio.h

2011-08-25 Thread Mike Frysinger
On Thursday, August 25, 2011 02:29:12 Faisal H wrote: > While building with omap3_beagle_config configuration, > getting an error about not finding asm/arch/gpio.h (which does not exist). > Found that header files are moved to arch/arm/include/asm/arch-. > Fixed the includes to find the file.. NAK

Re: [U-Boot] RFC: Testing U-Boot Part 1

2011-08-25 Thread Andreas Bießmann
Dear Simon, Am 25.08.2011 14:58, schrieb Simon Glass: > Hi, > > Summary: I am quite keen on improving the test infrastructure in > U-Boot. I would like to have a test suite that can run in a minute or > two on a Linux PC and test all non-platform code. > To get around this I propose that we cr

Re: [U-Boot] [STATUS] ARM: board removal

2011-08-25 Thread Albert ARIBAUD
Hi Wolfgang, Le 24/08/2011 20:11, Wolfgang Denk a écrit : > Dear Albert ARIBAUD, > > In message<4e553288.9000...@aribaud.net> you wrote: >> >> Wolfgang, did you by any chance use some kind of script to produce your >> patchset, and if so, could you regenerate the set of patches for the >> remaini

Re: [U-Boot] [PATCH v2 2/3] Armada100: Enable Ethernet support for GplugD

2011-08-25 Thread Marek Vasut
On Thursday, August 25, 2011 02:09:46 PM Ajay Bhargav wrote: > - "Marek Vasut" wrote: > > On Thursday, August 25, 2011 07:15:17 AM Ajay Bhargav wrote: > > > - "Marek Vasut" wrote: > > > [...] > > > > > > > > +/* Disable DCACHE */ > > > > > +#define CONFIG_SYS_DCACHE_OFF > > > > > > > >

[U-Boot] RFC: Testing U-Boot Part 1

2011-08-25 Thread Simon Glass
Hi, Summary: I am quite keen on improving the test infrastructure in U-Boot. I would like to have a test suite that can run in a minute or two on a Linux PC and test all non-platform code. Detail == We can break the U-Boot code base into two parts: 1. Platform code, which is SOC-specifc. At

Re: [U-Boot] [PATCH v2 1/3] net: Adds Fast Ethernet Controller driver for Armada100

2011-08-25 Thread Ajay Bhargav
- "Marek Vasut" wrote: > On Thursday, August 25, 2011 01:07:32 PM Ajay Bhargav wrote: > > - "Marek Vasut" wrote: > > > > [...] > > > > > > +static void abortdma(struct eth_device *dev) > > > > +{ > > > > + struct armdfec_device *darmdfec = to_darmdfec(dev); > > > > + struc

Re: [U-Boot] [PATCH v2 2/3] Armada100: Enable Ethernet support for GplugD

2011-08-25 Thread Ajay Bhargav
- "Marek Vasut" wrote: > On Thursday, August 25, 2011 07:15:17 AM Ajay Bhargav wrote: > > - "Marek Vasut" wrote: > > [...] > > > > > > +/* Disable DCACHE */ > > > > +#define CONFIG_SYS_DCACHE_OFF > > > > > > ARMADA100 is still ARMv5? Then maybe you can try Hong Xu's patches > for > >

Re: [U-Boot] [PATCH v2 1/3] net: Adds Fast Ethernet Controller driver for Armada100

2011-08-25 Thread Marek Vasut
On Thursday, August 25, 2011 01:07:32 PM Ajay Bhargav wrote: > - "Marek Vasut" wrote: > > [...] > > > > +static void abortdma(struct eth_device *dev) > > > +{ > > > + struct armdfec_device *darmdfec = to_darmdfec(dev); > > > + struct armdfec_reg *regs = darmdfec->regs; > > > + int delay; > >

Re: [U-Boot] [PATCH v2 1/3] net: Adds Fast Ethernet Controller driver for Armada100

2011-08-25 Thread Marek Vasut
On Thursday, August 25, 2011 07:21:25 AM Ajay Bhargav wrote: > - "Marek Vasut" wrote: > > On Wednesday, August 24, 2011 03:07:18 PM Ajay Bhargav wrote: > > > This patch adds support for Fast Ethernet Controller driver for > > > Armada100 series. > > > > > > Signed-off-by: Ajay Bhargav > > >

Re: [U-Boot] [PATCH v2 1/3] net: Adds Fast Ethernet Controller driver for Armada100

2011-08-25 Thread Marek Vasut
On Thursday, August 25, 2011 07:24:22 AM Ajay Bhargav wrote: > - "Marek Vasut" wrote: > > On Wednesday, August 24, 2011 05:42:06 PM Mike Frysinger wrote: > > > On Wednesday, August 24, 2011 09:07:18 Ajay Bhargav wrote: > > > > + darmdfec->p_rxdesc = (struct rx_desc *) > > > > memalign(P

Re: [U-Boot] [PATCH v2 2/3] Armada100: Enable Ethernet support for GplugD

2011-08-25 Thread Marek Vasut
On Thursday, August 25, 2011 07:15:17 AM Ajay Bhargav wrote: > - "Marek Vasut" wrote: > [...] > > > > +/* Disable DCACHE */ > > > +#define CONFIG_SYS_DCACHE_OFF > > > > ARMADA100 is still ARMv5? Then maybe you can try Hong Xu's patches for > > dcache on > > armv5. You'll have to modify the e

Re: [U-Boot] [PATCH V3 4/8] omap-common/spl: Add linux boot to SPL

2011-08-25 Thread Andreas Bießmann
Dear Simon, Am 25.08.2011 10:33, schrieb Simon Schwarz: > This adds Linux booting to the SPL > > Related CONFIGs: > CONFIG_SPL_OS_BOOT > Activates/Deactivates the OS booting feature > CONFIG_SPL_OS_BOOT_KEY > defines the IO-pin number u-boot switch - if pressed u-boot is booted > CONF

Re: [U-Boot] [PATCH V3 0/8] SPL Linux boot

2011-08-25 Thread Simon Schwarz
Dear Wolfgang Denk, On 08/25/2011 12:17 PM, Wolfgang Denk wrote: > Dear Simon Schwarz, > > In message<1314261196-23197-1-git-send-email-simonschwarz...@gmail.com> you > wrote: >> Adds direct Linux boot to SPL. It implements a savebp command to save >> ATAGS or FDT to NAND flash. The kernel image

Re: [U-Boot] [PATCH v2 1/3] net: Adds Fast Ethernet Controller driver for Armada100

2011-08-25 Thread Ajay Bhargav
- "Marek Vasut" wrote: [...] > > +static void abortdma(struct eth_device *dev) > > +{ > > + struct armdfec_device *darmdfec = to_darmdfec(dev); > > + struct armdfec_reg *regs = darmdfec->regs; > > + int delay; > > + int maxretries = 40; > > + > > + do { > > + writel(SDMA_

Re: [U-Boot] [PATCH V3 8/8] savebp: added Readme

2011-08-25 Thread Andreas Bießmann
Dear Simon, Am 25.08.2011 10:33, schrieb Simon Schwarz: > Adds a Readme for the savebp command This patch should be merged with 'Add savebp command' > > Signed-off-by: Simon Schwarz > --- > > V2 changes: > ADDED in V2 > > V3 changes: > nothing > --- > doc/README.commands.savebp | 28 ++

Re: [U-Boot] [PATCH V3 3/8] arm: Add savebp implementation for arm

2011-08-25 Thread Andreas Bießmann
Dear Simon, Am 25.08.2011 10:33, schrieb Simon Schwarz: > This adds the savebp implementation to the arm platform. please reorder your series and let this come before 'Add savebp command' cause that patch uses functionality from this one. > Related CONFIGs: > CONFIG_CMD_SAVEBP_WRITE_SIZE defines

[U-Boot] [RFC] himport_r() with the first call malloc() (with bin relocation) problem in NDS32 architecture

2011-08-25 Thread 馬克泡
Hi all, I'm doing the relocation work for NDS32 architecture. Currently I've encountered bin relocation problem on malloc(). I've called malloc_bin_reloc() in my lib/board.c however the malloc for env_relocate still get problem. Hope someone whom has experience could help me and give me some sugge

Re: [U-Boot] [PATCH V3 2/8] Add savebp command

2011-08-25 Thread Andreas Bießmann
Dear Simon, Am 25.08.2011 10:33, schrieb Simon Schwarz: > This adds a savebp command to the u-boot. > > Related config: > CONFIG_CMD_SAVEBP > activate/deactivate the command > CONFIG_CMD_SAVEBP_NAND_OFS > Offset in NAND to use > CONFIG_SYS_NAND_SPL_KERNEL_OFFS > Offset in NAND o

Re: [U-Boot] [PATCH V3 0/8] SPL Linux boot

2011-08-25 Thread Wolfgang Denk
Dear Simon Schwarz, In message <1314261196-23197-1-git-send-email-simonschwarz...@gmail.com> you wrote: > Adds direct Linux boot to SPL. It implements a savebp command to save > ATAGS or FDT to NAND flash. The kernel image has to be in place for this! Thanks for this work. It is highly appre

Re: [U-Boot] [PATCH] xilinx_emaclite.c ping-pong macro names

2011-08-25 Thread Wolfgang Denk
Dear Michal Simek, In message <4e561eb2.1010...@monstr.eu> you wrote: > > 1. Wolfgang if you see any patches for xilinx fpga and microblaze and I don't > reply > that posts for a while, please ping me. I am more focus on other things and > not checking > u-boot malling list so often - it will be

Re: [U-Boot] [PATCH] xilinx_emaclite.c ping-pong macro names

2011-08-25 Thread Michal Simek
Wolfgang Denk wrote: > Dear alain.pet...@space.unibe.ch, > > In message <20110415144908.16476jnz1wxcp...@mail.unibe.ch> you wrote: >> Please find attached the checked patch. Sorry for the inconvenience. > > Please send patches inline. No attachments! > > And please stick to the rules with update

Re: [U-Boot] [PATCH V3 1/8] arm: Add Prep subcommand support to bootm

2011-08-25 Thread Andreas Bießmann
Dear Simon, Am 25.08.2011 10:33, schrieb Simon Schwarz: > Adds prep subcommand to bootm implementation of ARM. When bootm is called with > the subcommand prep the function stops right after ATAGS creation and before > announce_and_cleanup. > > This is used in savebp command > > Signed-off-by: Si

Re: [U-Boot] [PATCH] dcache: Dcache line size aligned stack buffer allocation

2011-08-25 Thread Wolfgang Denk
Dear Lukasz Majewski, In message <1314261435-29789-1-git-send-email-l.majew...@samsung.com> you wrote: > This commit is defining new include/cache.h file, which defines macro > needed for cache aligned buffers. > ALLOC_CACHE_ALIGN_BUFFER shall be used in functions, which are using > stack allocate

[U-Boot] [PATCH V2 8/9] ColdFire:Define the DM9000 byteswap for M5253 board.

2011-08-25 Thread Jason Jin
The M5253DEMO board swapped the io pins which make the standard IO function did not work for dm9000. Define the byte swap to use raw io for dm9000. Signed-off-by: Jason Jin --- Changes for V2: rename the DM9000_BYTE_SWAPPED to CONFIG_DM9000_BYTE_SWAPPED include/configs/M5253DEMO.h |1 + 1 f

[U-Boot] [PATCH V4 7/9] DM9000:Add a byte swap macro for dm9000 io operation.

2011-08-25 Thread Jason Jin
commit a45dde2293c816138e53c26eca6fd0322583f9a6 changed the dm9000 direct register access to standard IO. This should work on the ColdFire platform as there are corresponding macros for the LE devices. But the hardware settings on some ColdFire boards had swapped the byte order which make the origi

[U-Boot] [PATCH] dcache: Dcache line size aligned stack buffer allocation

2011-08-25 Thread Lukasz Majewski
This commit is defining new include/cache.h file, which defines macro needed for cache aligned buffers. ALLOC_CACHE_ALIGN_BUFFER shall be used in functions, which are using stack allocated buffers for DMA transfers. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park CC: Albert ARIBAUD

[U-Boot] [PATCH V3 7/8] omap-common: fixes BSS overwriting problem

2011-08-25 Thread Simon Schwarz
spl_nand overwrote BSS section because it reads a whole block everytime. Now loads the block to spare area and just copy the needed junk to destination. Whole block read is necessary for ecc check! Signed-off-by: Simon Schwarz --- V2 changes: nothing V3 changes: nothing --- arch/arm/cpu/armv7/

[U-Boot] [PATCH V3 8/8] savebp: added Readme

2011-08-25 Thread Simon Schwarz
Adds a Readme for the savebp command Signed-off-by: Simon Schwarz --- V2 changes: ADDED in V2 V3 changes: nothing --- doc/README.commands.savebp | 28 1 files changed, 28 insertions(+), 0 deletions(-) create mode 100644 doc/README.commands.savebp diff --git a/d

[U-Boot] [PATCH V3 6/8] omap-common: Add NAND SPL linux booting

2011-08-25 Thread Simon Schwarz
This implements booting of Linux from NAND in SPL Signed-off-by: Simon Schwarz --- V2 changes: nothing V3 changes: nothing --- arch/arm/cpu/armv7/omap-common/spl_nand.c | 48 +++- 1 files changed, 32 insertions(+), 16 deletions(-) diff --git a/arch/arm/cpu/armv7/omap

[U-Boot] [PATCH V3 5/8] devkit8000/spl: init GPMC for dm9000 in SPL

2011-08-25 Thread Simon Schwarz
Linux crashes if the GPMC isn't configured for the dm9000. Signed-off-by: Simon Schwarz --- V2 changes: nothing V3 changes: nothing --- arch/arm/cpu/armv7/omap-common/spl.c |1 + arch/arm/include/asm/omap_common.h |2 ++ board/timll/devkit8000/devkit8000.c | 33 +++

[U-Boot] [PATCH V3 4/8] omap-common/spl: Add linux boot to SPL

2011-08-25 Thread Simon Schwarz
This adds Linux booting to the SPL Related CONFIGs: CONFIG_SPL_OS_BOOT Activates/Deactivates the OS booting feature CONFIG_SPL_OS_BOOT_KEY defines the IO-pin number u-boot switch - if pressed u-boot is booted CONFIG_SYS_SPL_MACHID Machine ID of the used board CONFIG_SYS_NAN

[U-Boot] [PATCH V3 3/8] arm: Add savebp implementation for arm

2011-08-25 Thread Simon Schwarz
This adds the savebp implementation to the arm platform. Related CONFIGs: CONFIG_CMD_SAVEBP_WRITE_SIZE defines the size of the image to write Signed-off-by: Simon Schwarz --- V2 changes: DEL _cosmetic_ old comment V3 changes: nothing --- arch/arm/include/asm/savebp.h | 27 arch

[U-Boot] [PATCH V3 2/8] Add savebp command

2011-08-25 Thread Simon Schwarz
This adds a savebp command to the u-boot. Related config: CONFIG_CMD_SAVEBP activate/deactivate the command CONFIG_CMD_SAVEBP_NAND_OFS Offset in NAND to use CONFIG_SYS_NAND_SPL_KERNEL_OFFS Offset in NAND of direct boot kernel image to use in SPL CONFIG_SYS_SPL_ARGS_ADDR

[U-Boot] [PATCH V3 1/8] arm: Add Prep subcommand support to bootm

2011-08-25 Thread Simon Schwarz
Adds prep subcommand to bootm implementation of ARM. When bootm is called with the subcommand prep the function stops right after ATAGS creation and before announce_and_cleanup. This is used in savebp command Signed-off-by: Simon Schwarz V2 changes: nothing V3 changes: nothing --- arch/a

[U-Boot] [PATCH V3 0/8] SPL Linux boot

2011-08-25 Thread Simon Schwarz
Adds direct Linux boot to SPL. It implements a savebp command to save ATAGS or FDT to NAND flash. The kernel image has to be in place for this! checkpatch whines about not using strict_strtoull - since this is not available - I can't change this. V2 changes: FIX FDT creation ADD Readme

[U-Boot] phylib + mii + _parse_status

2011-08-25 Thread Michal Simek
Hi, I have done some experiments with phylib and Xilinx ethernet drivers and I found that mii code show different values for speed and duplex. I think that the main problem is that there are called miiphy_speed and miiphy_duplex functions instead of phy parsing functions. I think that it will be

[U-Boot] mii_phy.h

2011-08-25 Thread Michal Simek
Hi, Can someone clear me purpose of mii_phy.h? It looks like that it is really ancient file which hasn't been touched from 2003. It is use for two files [monstr@monstr u-boot]$ grep -rn "mii_phy.h" * board/ep8260/mii_phy.c:2:#include board/rpxsuper/mii_phy.c:2:#include + different numbers of a

Re: [U-Boot] [PATCH] Error : Not finding asm/arch/gpio.h

2011-08-25 Thread Stefano Babic
On 08/25/2011 08:29 AM, Faisal H wrote: > While building with omap3_beagle_config configuration, > getting an error about not finding asm/arch/gpio.h (which does not exist). > Found that header files are moved to arch/arm/include/asm/arch-. "make _config" sets a link for asm/arch to arch/arm/inclu