Re: [U-Boot] Avoiding reload on ARM U-BOOT

2012-02-03 Thread Marek Vasut
> Hello Marek ALWAYS CC U-BOOT ML > > Thank you for your answer > > My SOC (Marvells Armada Controller) uses a bootrom code to copy to > initialize the DRAM and to copy the u-boot image. so the entire DRAM init > and copy sequence in u-boot is redundant. I see. I know about this soc's bootrom.

Re: [U-Boot] [PATCH 1/3] davinci: move clock related functions to new file

2012-02-03 Thread Sughosh Ganu
hi Manjunath, On Thu Feb 02, 2012 at 07:23:20PM +0530, Manjunath Hadli wrote: > Move the clock related function from cpu.c to new file > speed.c. Eliminate volatile keyword usage which made no > justification and also to keep checkpatch.pl happy. Replace > REG instructions by readl. > > Signed-of

Re: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-03 Thread Stefano Babic
On 03/02/2012 08:25, Dirk Behme wrote: > Hi, > Hi Dirk, > on i.MX6 devices, e.g. ARM2 or SabreLite, the ROM boot loader copies the > U-Boot image from the boot device, e.g. the SD card, to the main memory. > This does mean that U-Boot is started in RAM. > The same happens on MX5 and on several

Re: [U-Boot] [PATCH V6 - Part 3 - 0/2] SPI flash enhancements: allow default bus and chip-selects

2012-02-03 Thread Stefano Babic
On 02/02/2012 17:32, Mike Frysinger wrote: > to be clear, i'm not trying to "hoard" patches or anything ... Do not worry, I have never thought this... ;-) > i just can't see there being a hard requirement here between the > two sets. Agree, and the patches should be merged by the maintainer res

Re: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-03 Thread Dirk Behme
On 03.02.2012 09:51, Stefano Babic wrote: On 03/02/2012 08:25, Dirk Behme wrote: Hi, Hi Dirk, on i.MX6 devices, e.g. ARM2 or SabreLite, the ROM boot loader copies the U-Boot image from the boot device, e.g. the SD card, to the main memory. This does mean that U-Boot is started in RAM. Th

Re: [U-Boot] [PATCH 1/2] i.MX28: Fix ref_cpu clock setup

2012-02-03 Thread Robert Deliën
Hi Fabio, > Very good, Robert! I tested your patch and it fixes the reboot issue > on my mx28evk. You're most welcome! I'm glad to hear it fixes your problem too. > Also checked in the MX28 Reference Manual about the fact that > hw_clkctrl_frac0 can only be accessed as bytes. It's easy to overl

Re: [U-Boot] [PATCH 1/2] i.MX28: Fix ref_cpu clock setup

2012-02-03 Thread Robert Deliën
> You can write: > writeb(19 , &clkctrl_regs->hw_clkctrl_frac0); Yes, for the first byte I can (and do), but the three higher bytes would get ugly with this method: writeb(bitset >> 8, (unit8_t*)&clkctrl_regs->hw_clkctrl_frac0 + 1); ___ U-Boot mailing li

Re: [U-Boot] [PATCH 1/2] i.MX28: Fix ref_cpu clock setup

2012-02-03 Thread Robert Deliën
Hi, > you're only writing data to the register, not clearing them. So maybe some > bits > remain set? The assignment will work here. There're only 8 bits, of which 6 are the fractional divider, one is de read-only stable indicator (unaffected by writes) and the last one is the gating bit. The

Re: [U-Boot] [PATCH 2/2] i.MX28: Fix ref_cpu clock setup

2012-02-03 Thread Robert Deliën
Hi, > this is how the imx-bootlets does it though. It's likely that FSL wants the > PLL0 > to run from XTAL when doing power configuration? I was using the FLS bootlets as a reference too, but I have noticed a number of 'mistakes' in that code. For example: - Busy-indicators aren't considered wh

Re: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-03 Thread Stefano Babic
On 03/02/2012 11:18, Dirk Behme wrote: > > Ok, understood :) Do you have any pointers or hints how to implement a > board specific relocation skip? Just in case somebody wants us to > implement this for a specific i.MX6 board ... Not really - I think you have to dig into the git history, when we

Re: [U-Boot] [PATCH 1/2] i.MX28: Fix ref_cpu clock setup

2012-02-03 Thread Robert Deliën
Hi, > I was thinking of this and we might need to introduce either special accessor > for this particular register or rework include/regs-common.h and introduce > mx28_reg_8 (which I don't think is a good idea). I tend to agree with you about introducing mx28_reg_8. It doesn't 'feel right' becaus

Re: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?

2012-02-03 Thread Mike Frysinger
On Friday 03 February 2012 06:00:57 Stefano Babic wrote: > On 03/02/2012 11:18, Dirk Behme wrote: > > Ok, understood :) Do you have any pointers or hints how to implement a > > board specific relocation skip? Just in case somebody wants us to > > implement this for a specific i.MX6 board ... > > N

Re: [U-Boot] [PATCH] net: sh_eth: Fix build warnings and whitespace for sh_eth

2012-02-03 Thread Mike Frysinger
On Friday 03 February 2012 02:30:48 Nobuhiro Iwamatsu wrote: > @@ -564,8 +569,10 @@ static int sh_eth_bb_init(struct bb_miiphy_bus *bus) > > static int sh_eth_bb_mdio_active(struct bb_miiphy_bus *bus) > { > + int port; > struct sh_eth_dev *eth = bus->priv; > - int port = eth->port;

Re: [U-Boot] mx28: booting u-boot via USB

2012-02-03 Thread Matthias Fuchs
On 31.01.2012 15:03, Matthias Fuchs wrote: > Hi, > > I have a problem booting the current u-boot-imx version > on a MX28EVK via USB. The i.MX28 CPU supports a special boot mode > where the image (sb boot stream) is downloaded via USB device > (all DIP switches in position 'off' on the EVK). The >

Re: [U-Boot] [PATCH 1/5 v2] sandbox: add lseek helper

2012-02-03 Thread Mike Frysinger
On Wednesday 01 February 2012 18:37:27 Simon Glass wrote: > On Tue, Jan 31, 2012 at 11:53 AM, Mike Frysinger wrote: > > --- a/include/os.h > > +++ b/include/os.h > > > > +#define OS_SEEK_SET0 > > +#define OS_SEEK_CUR0 > > +#define OS_SEEK_END0 > > 0, 1, 2? see if you can guess what 1

[U-Boot] [PATCH 1/5 v2.1] sandbox: add lseek helper

2012-02-03 Thread Mike Frysinger
Follow up patches want to be able to seek fd's. Signed-off-by: Mike Frysinger --- v2.1 - fix thinko in os_seek_xxx defines arch/sandbox/cpu/os.c | 13 + include/os.h | 15 +++ 2 files changed, 28 insertions(+), 0 deletions(-) diff --git a/arch/sandb

Re: [U-Boot] [PATCH 00/28] Add link-local addressing support

2012-02-03 Thread Mike Frysinger
On Thursday 26 January 2012 04:21:21 Stefano Babic wrote: > On 26/01/2012 00:40, Joe Hershberger wrote: > >> I have a basic question about your patchset. RFC3927 requires that > >> addresses are continuosly checked to avoid conflicts - this is a strict > >> requirement. > > > > True. It cannot be

Re: [U-Boot] [PATCH 01/28] net: Remove volatile from all of net except the eth driver interface

2012-02-03 Thread Mike Frysinger
On Tuesday 24 January 2012 01:27:53 Joe Hershberger wrote: > On Tue, Jan 24, 2012 at 12:09 AM, Simon Glass wrote: > > On Fri, Jan 20, 2012 at 12:15 PM, Joe Hershberger wrote: > >> On Fri, Jan 20, 2012 at 10:22 AM, Simon Glass wrote: > >>> On Thu, Jan 19, 2012 at 4:53 PM, Joe Hershberger wrote: > >>

Re: [U-Boot] [PATCH 01/28] net: Remove volatile from all of net except the eth driver interface

2012-02-03 Thread Mike Frysinger
in general, i like this. my only concern would be the drivers that might break due to incorrect cache management (which the volatile markers happen to work around for them). having the API accept a volatile but then casting it away puts us in a worse place i think. on one hand, our API is say

Re: [U-Boot] [PATCH 02/28] net: cosmetic: checkpatch compliance

2012-02-03 Thread Mike Frysinger
i hope you ran a script on this and didn't do it by hand :). can you post the commands that you ran ? -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/l

Re: [U-Boot] [PATCH 03/28] net: Move mv64x6x_eth_initialize() to board_eth_init()

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:06 Joe Hershberger wrote: > Clears up checkpatch.pl complaint about extern in c file > Completes the effort started by Ben Warren in 2008 to generalize > eth init awesome. these boards have been around "forever", so if Stefan doesn't have any feedback, i'm good

Re: [U-Boot] [PATCH 04/28] net: Make the MAC-seeded random number generator available to /net

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:07 Joe Hershberger wrote: > --- a/net/bootp.c > +++ b/net/bootp.c > > +#ifdef CONFIG_BOOTP_RANDOM_DELAY > +#include "net_rand.h" > +#endif let's push this CONFIG_xxx check into net_rand.h so we don't have to check it every time we include the file -mike signatu

Re: [U-Boot] [PATCH 05/28] net: Move CDP out of net.c

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:08 Joe Hershberger wrote: > --- a/include/net.h > +++ b/include/net.h > > +int is_cdp_packet(const uchar *et_addr); seems like this would be better as a static inline since it's just a memcmp > --- /dev/null > +++ b/net/cdp.h > @@ -0,0 +1,18 @@ > +/* > + * Copi

Re: [U-Boot] [PATCH 06/28] net: Move ARP out of net.c

2012-02-03 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 07/28] net: Move PING out of net.c

2012-02-03 Thread Mike Frysinger
On Tuesday 24 January 2012 00:37:51 Simon Glass wrote: > On Thu, Jan 19, 2012 at 4:53 PM, Joe Hershberger wrote: > > include/configs/am3517_crane.h |2 +- > > include/configs/am3517_evm.h |2 +- > > include/configs/origen.h |2 +- > > Perhaps move these config changes to anothe

Re: [U-Boot] [PATCH 07/28] net: Move PING out of net.c

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:10 Joe Hershberger wrote: > --- a/net/net.c > +++ b/net/net.c > > +#if defined(CONFIG_CMD_PING) > +#include "ping.h" > +#endif please push ifdef down into ping.h header -mike signature.asc Description: This is a digitally signed message part. ___

Re: [U-Boot] [PATCH 08/28] net: Move RARP receive logic out of net.c

2012-02-03 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 03/28] net: Move mv64x6x_eth_initialize() to board_eth_init()

2012-02-03 Thread Stefan Roese
On Friday 03 February 2012 12:49:12 Mike Frysinger wrote: > On Thursday 19 January 2012 19:53:06 Joe Hershberger wrote: > > Clears up checkpatch.pl complaint about extern in c file > > Completes the effort started by Ben Warren in 2008 to generalize > > eth init > > awesome. these boards have bee

Re: [U-Boot] [PATCH 09/28] net: cosmetic: Un-typedef variables in net

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:12 Joe Hershberger wrote: > Un-typedef IP_t, Ethernet_t, VLAN_Ethernet_t, ARP_t, ICMP_t i'm not sure about this. i don't mind the typedefs myself and they have the advantage of already being done ... let's see what Wolfgang prefers. > The existing definition of

Re: [U-Boot] [PATCH 07/28] net: Move PING out of net.c

2012-02-03 Thread Mike Frysinger
hmm, thinking a bit more, i wonder if it makes more sense to split all of icmp out of net.c -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-b

Re: [U-Boot] [PATCH 14/28] net: Refactor ping recieve handler

2012-02-03 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 10/28] net: cosmetic: Improve variable names and code readability

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:13 Joe Hershberger wrote: > --- a/include/net.h > +++ b/include/net.h > > -#define E802_HDR_SIZE22 /* 802 ethernet header size > */ > + /* 802.2 + SNAP + ethernet header size */ > +#define E802_HDR_SIZE

Re: [U-Boot] [PATCH 10/28] net: cosmetic: Improve variable names and code readability

2012-02-03 Thread Mike Frysinger
On Tuesday 24 January 2012 01:19:14 Simon Glass wrote: > On Thu, Jan 19, 2012 at 4:53 PM, Joe Hershberger wrote: > > Rename parameter len to payload_len in NetSendUDPPacket: this name > > more explicitly claims that it does not include the header size > > Rename CDPHandler to CDPReceive: this is

Re: [U-Boot] [PATCH 11/28] net: Refactor IP, UPD, and ICMP header writing functions

2012-02-03 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 12/28] net: Refactor packet length computations

2012-02-03 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 13/28] net: Refactor bootp packet length computations

2012-02-03 Thread Mike Frysinger
On Tuesday 24 January 2012 02:15:41 Joe Hershberger wrote: > On Tue, Jan 24, 2012 at 1:05 AM, Simon Glass wrote: > > On Thu, Jan 19, 2012 at 4:53 PM, Joe Hershberger wrote: > >> - debug("Transmitting DHCPREQUEST packet: len = %d\n", pktlen); > >> #ifdef CONFIG_BOOTP_DHCP_REQUEST_DELAY > >>

Re: [U-Boot] [PATCH 15/28] net: Refactor to call NetSendPacket() instead of calling eth_send()

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:18 Joe Hershberger wrote: > Use this entry-point consistently across the net/ code i like this, but i'd like it even more if NetSendPacket() was a static inline in the header. all this func does is jump straight to eth_send(): 01fa2054 <_NetSendPacket>: 1fa205

Re: [U-Boot] [PATCH 16/28] net: Refactor to protect access to the NetState variable

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:19 Joe Hershberger wrote: > Changes to NetState now go through an accessor function called > NetSetState() i'm not sure i see the value here. all i see is overhead being added. if you really want this to be an improvement, there's two minor tweaks to make. > -

Re: [U-Boot] [PATCH 2/2] i.MX28: Fix ref_cpu clock setup

2012-02-03 Thread Marek Vasut
> Hi, > > > this is how the imx-bootlets does it though. It's likely that FSL wants > > the PLL0 to run from XTAL when doing power configuration? > > I was using the FLS bootlets as a reference too, but I have noticed a > number of 'mistakes' in that code. For example: > - Busy-indicators aren't

Re: [U-Boot] [PATCH 17/28] net: Refactor to separate the UDP handler from the ARP handler

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:20 Joe Hershberger wrote: > Only call the handlers if one was registered... don't require >protocols to register a handler (eliminating dummies) > NetConsole now uses the ARP handler when waiting on arp (instead of >needing a #define hack in arp.c) > Clear

Re: [U-Boot] [PATCH v7 4/4] EXYNOS: SMDK5250: Add MMC SPL support

2012-02-03 Thread Chander Kashyap
Hi Mike, On 3 February 2012 02:51, Mike Frysinger wrote: > On Thursday 02 February 2012 04:11:27 Chander Kashyap wrote: >> --- /dev/null >> +++ b/board/samsung/smdk5250/tools/mkexynos_image.c > > tools should be in tools/.  there are already plenty of examples in there (see > tools/msxboot.c as t

Re: [U-Boot] [PATCH 18/28] net: Add NetUpdateEther() to handle ARP or Ping replies (VLAN or SNAP)

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:21 Joe Hershberger wrote: > --- a/net/net.c > +++ b/net/net.c > > +int > +NetUpdateEther(struct Ethernet_t *et, uchar *addr, uint prot) > +{ > + ushort protlen; > + > + memcpy(et->et_dest, addr, 6); > + memcpy(et->et_src, NetOurEther, 6); > + protl

Re: [U-Boot] [PATCH 19/28] net: Don't write the "serverip" env var if told not to in the config

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:22 Joe Hershberger wrote: > --- a/common/cmd_net.c > +++ b/common/cmd_net.c > > +#if !defined(CONFIG_BOOTP_SERVERIP) > if (NetServerIP) { > ip_to_string (NetServerIP, tmp); > setenv ("serverip", tmp); > } > +#endif please ad

Re: [U-Boot] [PATCH 1/2] i.MX28: Fix ref_cpu clock setup

2012-02-03 Thread Marek Vasut
> Hi, > > > you're only writing data to the register, not clearing them. So maybe > > some bits remain set? > > The assignment will work here. There're only 8 bits, of which 6 are the > fractional divider, one is de read-only stable indicator (unaffected by > writes) and the last one is the gatin

Re: [U-Boot] [PATCH 20/28] net: Fix compile warning if CONFIG_BOOTP_SERVERIP is not defined

2012-02-03 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 21/28] net: Remove unneeded static allocation for MAC address in PingSend()

2012-02-03 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 22/28] net: Fix net buffer initialization

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:25 Joe Hershberger wrote: > --- a/include/net.h > +++ b/include/net.h > > -extern int NetLoop(enum proto_t); > +extern int NetLoop(enum proto_t protocol); explicit variable names are unnecessary when the type is self explanatory > --- a/net/net.c > +++ b/net/n

Re: [U-Boot] [PATCH 25/28] net: Add option CONFIG_BOOTP_CAN_FAIL

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:28 Joe Hershberger wrote: > --- a/README > +++ b/README > > + CONFIG_BOOTP_CAN_FAIL - If the DHCP server is not found > + after the configured retry count, the call will fail > + instead of starting over. This can be used to fai

Re: [U-Boot] [PATCH 26/28] net: Add link-local addressing support

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:29 Joe Hershberger wrote: > --- a/README > +++ b/README > > - CONFIG_CMD_PCMCIA * PCMCIA support > + CONFIG_CMD_PCMCIA * PCMCIA support please omit unrelated whitespace changes > --- a/common/cmd_net.c > +++ b/common/cm

Re: [U-Boot] [PATCH 27/28] net: Work-around for brain-damaged Cisco routers with arp-proxy

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:30 Joe Hershberger wrote: > Cisco's arp-proxy feature fails to ignore the link-local address range > This means that a link-local device on a network with this Cisco >equipment will reply to ARP requests for our device (in addition >to our reply) > ... > --

Re: [U-Boot] [PATCH 28/28] net: Allow filtering on debug traces in the net subsystem

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:31 Joe Hershberger wrote: > --- a/drivers/net/netconsole.c > +++ b/drivers/net/netconsole.c > > +#define DEBUG_DEV_PKT 0 wouldn't be better to move these to net.h by default rather than copying & pasting to all the source files ? -mike signature.asc Descriptio

Re: [U-Boot] [PATCH v2 1/4] ehci-omap: Clean up added ehci-omap.c

2012-02-03 Thread Govindraj
Hi Igor, Sorry for late reply, Was really busy with some other tasks. On Sun, Jan 29, 2012 at 3:12 PM, Igor Grinberg wrote: > Hi Govindraj, > > Put Remy on Cc. > Yes Sure, > Note: my new mail client for some reason, messes with white spaces... > (Thunderbird (9) just gets better and better...

Re: [U-Boot] mx28: booting u-boot via USB

2012-02-03 Thread Matthias Fuchs
Fixed! Patch follows. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] mx28: fix SPL code to make USB booting work

2012-02-03 Thread Matthias Fuchs
This patch fixes booting i.MX28 CPUs via USB download. In this mode the CPU's bootrom implements a USB HID device that accepts a bootstream. When downloading the bootstream via USB, first the SPL code is received and executed. Then the u-boot image is received and called. The USB bootmode is inte

Re: [U-Boot] [PATCH v2 1/4] ehci-omap: Clean up added ehci-omap.c

2012-02-03 Thread Govindraj
On Sun, Jan 29, 2012 at 5:12 PM, Stefano Babic wrote: > On 29/01/2012 10:42, Igor Grinberg wrote: >> Hi Govindraj, >> > > Hi all, > >> Put Remy on Cc. > > Remy resigned as USB maintainer - but Tom is aware about these patches... > >> >> Note: my new mail client for some reason, messes with white s

Re: [U-Boot] [PATCH 3/3] davinci: add clocks command

2012-02-03 Thread Hadli, Manjunath
Tom, On Thu, Feb 02, 2012 at 22:18:09, Tom Rini wrote: > On Thu, Feb 2, 2012 at 6:53 AM, Manjunath Hadli > wrote: > > Add 'clocks' command to print various frequencies such as ARM > > frequency, DSP core frequency and DDR frequency. Remove > > print_cpuinfo() function as it is no longer require

[U-Boot] [PATCH] usb: musb: fix printf warning

2012-02-03 Thread Mike Frysinger
musb_hcd.c: In function 'musb_submit_rh_msg': musb_hcd.c:827:2: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' Signed-off-by: Mike Frysinger --- drivers/usb/musb/musb_hcd.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dri

[U-Boot] [PATCH] Blackfin: pata_bfin: fix printf warning

2012-02-03 Thread Mike Frysinger
pata_bfin.c: In function 'bfin_ata_identify': pata_bfin.c:887:2: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'lbaint_t' Signed-off-by: Mike Frysinger --- drivers/block/pata_bfin.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/driv

Re: [U-Boot] [PATCH v2 1/4] ehci-omap: Clean up added ehci-omap.c

2012-02-03 Thread Igor Grinberg
On 02/03/12 14:50, Govindraj wrote: [...] >>> >>> COBJS := $(COBJS-y) >>> SRCS := $(COBJS:.o=.c) >>> diff --git a/drivers/usb/ulpi/omap-ulpi-viewport.c >>> b/drivers/usb/ulpi/omap-ulpi-viewport.c >>> new file mode 100644 >>> index 000..1718788 >>> --- /dev/null >>> +++ b/drivers/usb/ulpi/o

Re: [U-Boot] [PATCH] mx28: fix SPL code to make USB booting work

2012-02-03 Thread Marek Vasut
> This patch fixes booting i.MX28 CPUs via USB download. > In this mode the CPU's bootrom implements a USB HID device that > accepts a bootstream. > > When downloading the bootstream via USB, first the SPL code is > received and executed. Then the u-boot image is received and > called. > > The US

Re: [U-Boot] [PATCH 2/2] da850evm: read mac address from I2C EEPROM on AM18x EVM

2012-02-03 Thread Hadli, Manjunath
Wolfgang, On Fri, Feb 03, 2012 at 03:47:47, Wolfgang Denk wrote: > Dear Manjunath Hadli, > > In message <1328190138-5276-3-git-send-email-manjunath.ha...@ti.com> you > wrote: > > add support to read mac address for AM18x EVM manufactured from > > Spectrum digital which have mac address stored i

[U-Boot] [PATCH v3 6/7] usb: ulpi: Extend the existing ulpi framework.

2012-02-03 Thread Govindraj.R
From: "Govindraj.R" Extend the existing ulpi viewport framework to pass the port number information for any ulpi ops. Fix the usage of ulpi api's accordingly. Tested-by: Stefano Babic Signed-off-by: Govindraj.R --- board/efikamx/efikamx-usb.c | 24 ++-- drivers/usb/ulpi/ulp

[U-Boot] [PATCH v3 2/7] ehci-omap: Clean up added ehci-omap.c

2012-02-03 Thread Govindraj.R
From: "Govindraj.R" Clean up added ehci-omap.c and make it generic for re-use across omap-soc having same ehci ip block. Also pass the modes to be configured from board file and configure the ports accordingly. All usb layers are not cache aligned, till then keep cache off for usb ops as ehci wil

[U-Boot] [PATCH v3 7/7] usb: ulpi: Add omap-ulpi-view port support

2012-02-03 Thread Govindraj.R
From: "Govindraj.R" Based on discussion from this thread [1]. Adding omap-view port that helps us in using the generic ulpi framework for any ulpi phy ops using the INSNREG05_ULPI viewport reg available on omap platform. Currently ehci ports are available on omap3/4 platforms so enable the same

[U-Boot] [PATCH v3 0/7] Clean up ehci-omap and extend support for omap3/4 socs

2012-02-03 Thread Govindraj.R
From: "Govindraj.R" Clean up ehci-omap added and make it generic to extend support for omap4 socs. Adds omap-ulpi-viewport for ulpi access from ehci-omap. Adds ehci support for omap4-panda. Based on latest denx master branch commit: 137703b811502dfea364650fb3e17f20b4c21333 Changes from

[U-Boot] [PATCH v3 5/7] OMAP3+: ehci-omap: enable usb host ports for beagle/panda

2012-02-03 Thread Govindraj.R
From: "Govindraj.R" For beagle and panda enable and use the ehci-omap.c generic api's added to configure usb host ports based on data passed from board file to configure in modes as specified from board data. For panda initialise the mux pins for ehci usage. Signed-off-by: Govindraj.R --- boar

[U-Boot] [PATCH v3 4/7] OMAP4: clock-common: Move the usb dppl configuration to new func

2012-02-03 Thread Govindraj.R
From: "Govindraj.R" usb dpll configuration is done only part of non-essential dppl configuration however if CONFIG_USB_EHCI_OMAP is defined we may have to configure usb dpll's for proper functioning of usb modules. So move the usb dppl configuration to a new func. and utilise the same during esse

[U-Boot] [PATCH v3 3/7] OMAP3+: Clock: Adding ehci clock enabling

2012-02-03 Thread Govindraj.R
From: "Govindraj.R" Adding ehci clock enabling mechanism part of clock framework. When essential clocks are enabled during init phase usb host clocks can also be enabled from clock framework. Signed-off-by: Govindraj.R --- arch/arm/cpu/armv7/omap3/board.c|4 arch/arm/cpu/a

[U-Boot] [PATCH v3 1/7] ehci-omap: driver for EHCI host on OMAP3

2012-02-03 Thread Govindraj.R
From: Ilya Yanok Taken from Beagle code. Tested on mcx board (AM3517-based). Signed-off-by: Ilya Yanok --- board/ti/beagle/beagle.c | 101 -- drivers/usb/host/Makefile |1 + drivers/usb/host/ehci-omap.c | 156

Re: [U-Boot] [PATCH 1/2] i.MX28: Fix ref_cpu clock setup

2012-02-03 Thread Robert Deliën
> Awesome. So after reading your replies, let's just rename mx28_reg to > mx28_reg_32 and introduce mx28_reg_8 for this particular problem. You were probably already foreseeing this when you made your suggestion to use accessors, but now I'm working it I see introducing mx28_reg_8 may get too mess

Re: [U-Boot] [PATCH 1/2] i.MX28: Fix ref_cpu clock setup

2012-02-03 Thread Marek Vasut
> > Awesome. So after reading your replies, let's just rename mx28_reg to > > mx28_reg_32 and introduce mx28_reg_8 for this particular problem. > > You were probably already foreseeing this when you made your > suggestion to use accessors, but now I'm working it I see introducing > mx28_reg_8 may

Re: [U-Boot] [PATCH 1/2] i.MX28: Fix ref_cpu clock setup

2012-02-03 Thread Robert Deliën
> Make it an array? If that works for you, it works for me. Thanks! #define __mx28_reg_8(name) \ uint8_t name##[4]; \ uint8_t name##[4]_set; \ uint8_t name##[4]_clr; \ uint8_t name##[4]_tog; __

Re: [U-Boot] [PATCH] mx28: fix SPL code to make USB booting work

2012-02-03 Thread Matthias Fuchs
On 03.02.2012 14:22, Marek Vasut wrote: >> This patch fixes booting i.MX28 CPUs via USB download. >> In this mode the CPU's bootrom implements a USB HID device that >> accepts a bootstream. >> >> When downloading the bootstream via USB, first the SPL code is >> received and executed. Then the u-boo

Re: [U-Boot] [PATCH 1/2] i.MX28: Fix ref_cpu clock setup

2012-02-03 Thread Marek Vasut
> > Make it an array? > > If that works for you, it works for me. Thanks! > > #define __mx28_reg_8(name) \ > uint8_t name##[4]; \ > uint8_t name##[4]_set; \ > uint8_t name##[4]_clr; \ > uint8_t name##[4]_tog; Might be __

Re: [U-Boot] [PATCH] mx28: fix SPL code to make USB booting work

2012-02-03 Thread Marek Vasut
> On 03.02.2012 14:22, Marek Vasut wrote: > >> This patch fixes booting i.MX28 CPUs via USB download. > >> In this mode the CPU's bootrom implements a USB HID device that > >> accepts a bootstream. > >> > >> When downloading the bootstream via USB, first the SPL code is > >> received and executed.

Re: [U-Boot] [PATCH 1/2] da850evm: add support to read mac address from spi flash

2012-02-03 Thread Mike Frysinger
On Thursday 02 February 2012 08:42:17 Manjunath Hadli wrote: > --- a/board/davinci/da8xxevm/da850evm.c > +++ b/board/davinci/da8xxevm/da850evm.c > > int misc_init_r(void) > { > dspwake(); > + > +#ifdef CONFIG_MAC_ADDR_IN_SPIFLASH > + uchar buff[8]; > + int ret; > + > + if (!eth_

Re: [U-Boot] [PATCH v3 0/7] Clean up ehci-omap and extend support for omap3/4 socs

2012-02-03 Thread Tom Rini
On Fri, Feb 3, 2012 at 6:38 AM, Govindraj.R wrote: > From: "Govindraj.R" > > Clean up ehci-omap added and make it generic to extend support for omap4 socs. > Adds omap-ulpi-viewport for ulpi access from ehci-omap. > Adds ehci support for omap4-panda. > > Based on latest denx master branch commit:

Re: [U-Boot] [PATCH 2/2] da850evm: read mac address from I2C EEPROM on AM18x EVM

2012-02-03 Thread Wolfgang Denk
Dear "Hadli, Manjunath", In message you wrote: > > > NAK. This has been discussed a thousand times before, so please look it > up in the archives. > > > > The environment always has precedence. If there are several places to sto > re tha MAC address, and the values don;t match, a warning must

[U-Boot] [PATCH v8 0/4] Add SMDK5250 board support

2012-02-03 Thread Chander Kashyap
This patchset add support for Samsung's SMDK5250 board based on EXYNOS5250 based SoC. It also adds support for MMC SPL booting. The porting is done by Samsung engineers at HQ in System LSI Team. I am contributing in upstreaming the code for the board. Based upon discussions following patches are

[U-Boot] [PATCH v8 1/4] Exynos: Clock.c: Use CONFIG_SYS_CLK_FREQ macro

2012-02-03 Thread Chander Kashyap
CONFIG_SYS_CLK_FREQ_C210 macro giving notion of S5PC2XX (Exynos4) architecture. Replace CONFIG_SYS_CLK_FREQ_C210 with CONFIG_SYS_CLK_FREQ to make it generic for exynos architecture. Signed-off-by: Chander Kashyap --- Changes for v2: - None Changes for v3: - None Changes for V4:

[U-Boot] [PATCH v8 2/4] ARM: EXYNOS: Add support for Exynos5 based SoCs

2012-02-03 Thread Chander Kashyap
Samsung's ARM Cortex-A15 based SoCs are known as Exynos5 series of SoCs. This patch adds the support for Exynos5. Signed-off-by: Chander Kashyap --- Changes for v2: - This patch was part of "EXYNOS: Add SMDK5250 board support" - Now it is seprated as SoC support. Changes for v3:

[U-Boot] [PATCH v8 4/4] EXYNOS: SMDK5250: Add MMC SPL support

2012-02-03 Thread Chander Kashyap
This patch adds support for MMC SPL booting. Signed-off-by: Chander Kashyap --- Changes for v2: - None Changes for v3: - None Changes for v4: - None Changes for v5: - None Changes for v6: - None Changes for v7: - None Changes for v8: - Moved

[U-Boot] [PATCH v8 3/4] EXYNOS: Add SMDK5250 board support

2012-02-03 Thread Chander Kashyap
SMDK5250 board is based on Samsungs EXYNOS5250 SoC. Signed-off-by: Chander Kashyap --- Changes for v2: - This patch is bifurcated into borad support and SoC support - Fixed typo: s/EEYNOS/EXYNOS - Squashed patch "SMDK5250: enable device tree support" in this. Changes for v

Re: [U-Boot] [PATCH 00/28] Add link-local addressing support

2012-02-03 Thread Stefano Babic
On 03/02/2012 12:34, Mike Frysinger wrote: > On Thursday 26 January 2012 04:21:21 Stefano Babic wrote: >> On 26/01/2012 00:40, Joe Hershberger wrote: I have a basic question about your patchset. RFC3927 requires that addresses are continuosly checked to avoid conflicts - this is a st

Re: [U-Boot] [PATCH v5 08/18] tegra: fdt: Add additional USB binding

2012-02-03 Thread Simon Glass
Hi Stephen, On Thu, Feb 2, 2012 at 1:55 PM, Stephen Warren wrote: > On 01/24/2012 04:21 PM, Simon Glass wrote: >> This adds a property to indicate a port which can switch between host and >> device >> mode. > ... >> diff --git a/doc/device-tree-bindings/usb/tegra-usb.txt >> b/doc/device-tree-bi

Re: [U-Boot] [PATCH v5 10/18] tegra: usb: fdt: Add additional device tree definitions for USB ports

2012-02-03 Thread Simon Glass
Hi Stephen, On Thu, Feb 2, 2012 at 2:07 PM, Stephen Warren wrote: > On 01/24/2012 04:21 PM, Simon Glass wrote: >> This adds clock references to the USB part of the device tree for U-Boot. >> >> The USB timing information may vary between boards sometimes, but for >> now we hard-code it in C. This

Re: [U-Boot] [PATCH v5 18/18] tegra: fdt: Enable FDT support for Seaboard

2012-02-03 Thread Simon Glass
Hi Stephen, On Thu, Feb 2, 2012 at 2:17 PM, Stephen Warren wrote: > On 01/24/2012 04:21 PM, Simon Glass wrote: >> This switches Seaboard over to use FDT for run-time config instead of >> CONFIG options. USB is the only user at present. >> >> Signed-off-by: Simon Glass > > Aside from the issues I

[U-Boot] [PATCH v6 10/18] tegra: usb: fdt: Add additional device tree definitions for USB ports

2012-02-03 Thread Simon Glass
This adds clock references to the USB part of the device tree for U-Boot, and marks USB1 as supporting legacy mode (which we disable in the driver). The USB timing information may vary between boards sometimes, but for now we hard-code it in C. This is because all current T2x boards use the same v

[U-Boot] [PATCH v6 11/18] tegra: usb: fdt: Add USB definitions for Tegra2 Seaboard

2012-02-03 Thread Simon Glass
We set up two USB ports, one of which can be host or device. For some reason the kernel version does enable both ports. Signed-off-by: Simon Glass --- Changes in v2: - Remove 0x from fdt aliases - Use "okay" instead of "ok" for fdt node status Changes in v3: - Disable USB2 which is not used on S

Re: [U-Boot] ARM ld: .bss overlaps section .rel.dyn

2012-02-03 Thread Albert ARIBAUD
Hi Amit, Le 03/02/2012 07:57, Amit Virdi a écrit : Adding Albert now... ... but the wrong (old) address though :) On 2/3/12, Amit Virdi wrote: Albert, Any suggestions? Thanks Amit Virdi On 2/1/12, Amit Virdi wrote: Hi All, I'm in the process of updating platform support for spear ser

Re: [U-Boot] Please pull u-boot-ti/master

2012-02-03 Thread Albert ARIBAUD
Hi Tom, Le 02/02/2012 19:10, Tom Rini a écrit : Hello, The following changes since commit 78936e6d110bbcfe6db3406456c16a7a174ae031: Tom Rini (1): OMAP3: Correct get_sdr_cs_offset mask are available in the git repository at: git://git.denx.de/u-boot-ti.git master Dechesne, Nico

Re: [U-Boot] [PATCH v4] Add 'patman' patch generation, checking and submission script

2012-02-03 Thread Albert ARIBAUD
Hi Simon, Le 15/01/2012 02:20, Simon Glass a écrit : Hi, Hmmm patman found a tag in this commit and tried to send it to Fred Bloggs. I have added the line below - sorry for the confusion. On Sat, Jan 14, 2012 at 5:12 PM, Simon Glass wrote: What is this? = This tool is a Python s

Re: [U-Boot] [PATCH v4] Add 'patman' patch generation, checking and submission script

2012-02-03 Thread Simon Glass
Hi Albert, On Fri, Feb 3, 2012 at 11:00 AM, Albert ARIBAUD wrote: > Hi Simon, > > Le 15/01/2012 02:20, Simon Glass a écrit : > >> Hi, >> >> Hmmm patman found a tag in this commit and tried to send it to Fred >> Bloggs. I have added the line below - sorry for the confusion. >> >> On Sat, Jan 14, 2

Re: [U-Boot] [PING] Re: [PATCH] ARM: activate DISPLAY_CPUINFO for VCMA9 + SMDK2410 board

2012-02-03 Thread Albert ARIBAUD
Hi David, Le 09/01/2012 08:23, "David Müller (ELSOFT AG)" a écrit : Hello Any news? Adding Minkyu. Amicalement, -- Albert. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v4] Add 'patman' patch generation, checking and submission script

2012-02-03 Thread Albert ARIBAUD
Hi Simon, Le 03/02/2012 20:30, Simon Glass a écrit : Hi Albert, On Fri, Feb 3, 2012 at 11:00 AM, Albert ARIBAUD wrote: Hi Simon, Le 15/01/2012 02:20, Simon Glass a écrit : Hi, Hmmm patman found a tag in this commit and tried to send it to Fred Bloggs. I have added the line below - sorry

Re: [U-Boot] [PATCH v6 11/18] tegra: usb: fdt: Add USB definitions for Tegra2 Seaboard

2012-02-03 Thread Stephen Warren
Simon Glass wrote at Friday, February 03, 2012 10:08 AM: > We set up two USB ports, one of which can be host or device. > For some reason the kernel version does enable both ports. > > Signed-off-by: Simon Glass Acked-by: Stephen Warren -- nvpublic ___

Re: [U-Boot] [PATCH v6 10/18] tegra: usb: fdt: Add additional device tree definitions for USB ports

2012-02-03 Thread Stephen Warren
Simon Glass wrote at Friday, February 03, 2012 10:08 AM: > This adds clock references to the USB part of the device tree for U-Boot, > and marks USB1 as supporting legacy mode (which we disable in the driver). > > The USB timing information may vary between boards sometimes, but for > now we hard-

Re: [U-Boot] [PATCH V4] nand_spl_simple: store ecc data on the stack

2012-02-03 Thread Albert ARIBAUD
Hi, I am slowly catching up on my e-mail, so... Le 11/01/2012 00:24, Tom Rini a écrit : A hawkboard conversion is pending Albert ack'ing/commenting on a generic ARM fixup. Can you point me to this patch series? I'll look it up as soon as possible. Amicalement, -- Albert.

Re: [U-Boot] compile the u-boot

2012-02-03 Thread Albert ARIBAUD
Sorry for the late answer, Jilin. Le 13/01/2012 01:18, Jilin Zhou a écrit : Hi Albert, Thanks for the reply. My host environment is Mac. Our company has a cross compiler toolchain for armv7. The commands I run are as follows: 1. export CROSS_COMPILE=ntoarmv7- 2. make omap4_panda_config 3. ma

Re: [U-Boot] [PATCH v2] skat91: add support for SK-AT91SAM9/SIM508 board

2012-02-03 Thread Albert ARIBAUD
Hi Vladimir, Le 12/01/2012 00:12, Vladimir Zapolskiy a écrit : This change adds complete support for Starterkit SK-AT91SAM9/SIM508 board. Signed-off-by: Vladimir Zapolskiy Cc: Albert ARIBAUD Cc: Wolfgang Denk --- Changes from v1 to v2: * make use of setbits_le32() and similar helpers * phy addr

  1   2   >