[U-Boot] [PATCH] powerpc/CoreNet: Allow pbl images to take u-boot images != 512K

2013-05-26 Thread Chris Packham
From: Chris Packham chris.pack...@alliedtelesis.co.nz Instead of assuming that SYS_TEXT_BASE is 0xFFF8 calculate the initial pbl command offset by subtracting the image size from the top of the 24-bit address range. Also increase the size of the memory buffer to accommodate a larger output

Re: [U-Boot] [PATCH] powerpc/CoreNet: Allow pbl images to take u-boot images != 512K

2013-05-27 Thread Chris Packham
]; Best Regards, Shaohui Xie -Original Message- From: Chris Packham [mailto:judge.pack...@gmail.com] Sent: Monday, May 27, 2013 6:52 AM To: Fleming Andy-AFLEMING Cc: Xie Shaohui-B21989; u-boot@lists.denx.de; Chris Packham Subject: [PATCH] powerpc/CoreNet: Allow pbl images to take u-boot

[U-Boot] crash in usb_stor_get_info using pre-relocation address for ss-transport

2013-06-12 Thread Chris Packham
Hi, I've just found a crash in usb_stor_get_info (actually usb_inquiry which gets auto-inlined). The cause seems to be that ss-transport is set to the pre-relocation address of usb_stor_BBB_transport. Yet ss-transport_reset is set to the correct relocated address of. The difference between the

Re: [U-Boot] crash in usb_stor_get_info using pre-relocation address for ss-transport

2013-06-12 Thread Chris Packham
On Thu, Jun 13, 2013 at 12:02 PM, Chris Packham judge.pack...@gmail.com wrote: Hi, I've just found a crash in usb_stor_get_info (actually usb_inquiry which gets auto-inlined). The cause seems to be that ss-transport is set to the pre-relocation address of usb_stor_BBB_transport. Yet ss

Re: [U-Boot] crash in usb_stor_get_info using pre-relocation address for ss-transport

2013-06-13 Thread Chris Packham
Hi Albert, On 13/06/13 17:43, Albert ARIBAUD wrote: Hi Chris, On Thu, 13 Jun 2013 13:16:17 +1200, Chris Packham judge.pack...@gmail.com wrote: On Thu, Jun 13, 2013 at 12:02 PM, Chris Packham judge.pack...@gmail.com wrote: Hi, I've just found a crash in usb_stor_get_info (actually

Re: [U-Boot] crash in usb_stor_get_info using pre-relocation address for ss-transport

2013-06-13 Thread Chris Packham
On Thu, Jun 13, 2013 at 11:24 PM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Chris, On Thu, 13 Jun 2013 22:19:54 +1200, Chris Packham judge.pack...@gmail.com wrote: Hi Albert, On 13/06/13 17:43, Albert ARIBAUD wrote: Hi Chris, On Thu, 13 Jun 2013 13:16:17 +1200, Chris Packham

Re: [U-Boot] crash in usb_stor_get_info using pre-relocation address for ss-transport

2013-06-13 Thread Chris Packham
On Fri, Jun 14, 2013 at 10:48 AM, Chris Packham judge.pack...@gmail.com wrote: On Thu, Jun 13, 2013 at 11:24 PM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Chris, On Thu, 13 Jun 2013 22:19:54 +1200, Chris Packham judge.pack...@gmail.com wrote: Hi Albert, On 13/06/13 17:43, Albert

[U-Boot] [PATCH] mpc85xx: make gpio_direction_output respect value

2012-09-06 Thread Chris Packham
From: Chris Packham chris.pack...@alliedtelesis.co.nz Users of familiar with the Linux gpiolib API expect that value parameter to gpio_direction_output reflects the initial state of the output pin. gpio_direction_output was always driving the output low, now it drives it high or low according

Re: [U-Boot] powerpc/CoreNet: Allow pbl images to take u-boot images != 512K

2013-06-23 Thread chris packham
Hi Andy, On 6/22/2013 at 08:31 AM, Andy Fleming aflem...@freescale.com wrote: On Mon, May 27, 2013 at 10:51:46AM +1200, Chris Packham wrote: From: Chris Packham chris.pack...@alliedtelesis.co.nz Instead of assuming that SYS_TEXT_BASE is 0xFFF8 calculate the initial pbl command offset

Re: [U-Boot] P2041RDB fails to boot with master (and 2013.10-rc1)

2013-09-09 Thread Chris Packham
...@freescale.com wrote: Chris, Thanks a lot to bring this to our attention. A brief look at the log shows the SPD wasn't found, probably due to recent I2C change. We will address this issue as soon as possible. York Original Message From: Chris Packham Sent: Mon, 09

[U-Boot] P2041RDB fails to boot with master (and 2013.10-rc1)

2013-09-09 Thread Chris Packham
Hi, I was just looking at something else and found that my P2041RDB no longer boots from the master branch of u-boot.git (it hangs after DDR initialisation). I checked 2013.10-rc1, same problem. 2013.07 works. I haven't bisected further than that. I just thought I'd fire this off now since it

Re: [U-Boot] P2041RDB fails to boot with master (and 2013.10-rc1)

2013-09-10 Thread Chris Packham
On 10/09/13 18:15, Heiko Schocher wrote: Hello Chris, sun,york, Am 10.09.2013 07:52, schrieb sun york-R58495: Chris, Thanks for the debugging work. As I suspected, it's related to I2C change. It's probably a problem in the board header file. If you fix it, please submit a patch.

Re: [U-Boot] [PATCH] powerpc/p2041: fix I2C controller's offset

2013-09-10 Thread Chris Packham
CONFIG_SYS_FSL_I2C2_OFFSET 0x3100 +#define CONFIG_SYS_FSL_I2C2_OFFSET 0x118100 /* * RapidIO -- 1.7.0.4 Yes that appears to fix the problem. Thanks for the quick turn around. Tested-by: Chris Packham judge.pack...@gmail.com ___ U-Boot mailing list U

[U-Boot] [PPC] get_timer without CONFIG_INTERRUPTS

2013-09-30 Thread Chris Packham
Hi, Has anyone looked at a way of implementing get_timer for PowerPC without using interrupts. We appear to be having a problem with common/usb_hub.c where occasionally (1 in ~150 reboots) we seem to get stuck in the do/while loop in usb_hub_configure. It looks like this should timeout but

Re: [U-Boot] [PPC] get_timer without CONFIG_INTERRUPTS

2013-10-02 Thread Chris Packham
On 30/09/13 21:22, Chris Packham wrote: Hi, Has anyone looked at a way of implementing get_timer for PowerPC without using interrupts. We appear to be having a problem with common/usb_hub.c where occasionally (1 in ~150 reboots) we seem to get stuck in the do/while loop

[U-Boot] [RFC] Is anyone interested IPv6 support for u-boot

2013-01-09 Thread Chris Packham
u-boot tree (we have a couple of supported eval boards around). Thanks for reading, Chris Packham ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [RFC] Is anyone interested IPv6 support for u-boot

2013-01-10 Thread Chris Packham
On Fri, Jan 11, 2013 at 8:16 AM, Joe Hershberger joe.hershber...@gmail.comwrote: Hi Chris, On Wed, Jan 9, 2013 at 9:25 PM, Chris Packham judge.pack...@gmail.com wrote: Hi, Here at $dayjob we make embedded network devices (routers switches). Because we have an interest in getting

[U-Boot] Function prototype conflicts with standalone apps

2013-01-15 Thread Chris Packham
Hi, I've just run into something porting an existing out of tree board to u-boot 2012.10 but I think it points to a generic issue for standalone applications. Consider the following change diff --git a/examples/standalone/hello_world.c b/examples/standalone/hello_world.c index 067c390..d2e6a77

Re: [U-Boot] Function prototype conflicts with standalone apps

2013-01-15 Thread Chris Packham
Here is a patch for the latter option ---8--- From ece309850996e2347c54a9874dee5cc67e673402 Mon Sep 17 00:00:00 2001 From: Chris Packham judge.pack...@gmail.com Date: Wed, 16 Jan 2013 17:36:05 +1300 Subject: [PATCH] exports.h: add required definitions from common.h To avoid symbol namespace

[U-Boot] [RFC PATCH 1/2] Initial net6.h

2013-01-16 Thread Chris Packham
From: Chris Packham chris.pack...@alliedtelesis.co.nz Has the definition of an IPv6 address and IPv6 header. It may make sense to separate the v4 support from net.h (or to include this in net.h). Cc: Joe Hershberger joe.hershber...@gmail.com Signed-off-by: Chris Packham chris.pack

[U-Boot] [RFC PATCH 0/2] Initial IPv6 support

2013-01-16 Thread Chris Packham
Here's something simple to get started. IP6addr_t is added as a typedef (for consistency with IPaddr_t). I ended up borrowing and adapting the vsprintf code from Linux. Here is an example of the printf formatting With this code IP6addr_t addr6 = {.u6_addr16[0] = 0x3ffe,

[U-Boot] [RFC PATCH 2/2] lib/vsprintf.c: add IPv6 compressed format %pI6c

2013-01-16 Thread Chris Packham
From: Chris Packham chris.pack...@alliedtelesis.co.nz Add support for human friendly IPv6 address representations as specified in http://tools.ietf.org/html/draft-ietf-6man-text-addr-representation-00 This code has been adapted from Linux kernel with minimal modification. Cc: Joe Hershberger

Re: [U-Boot] [RFC PATCH 0/2] Initial IPv6 support

2013-01-16 Thread Chris Packham
On 01/16/2013 11:01 PM, Chris Packham wrote: snip # Scanned by MailMarshal - M86 Security's comprehensive email content security solution

Re: [U-Boot] Function prototype conflicts with standalone apps

2013-01-16 Thread Chris Packham
Hi Albert, On 01/16/2013 08:25 PM, Albert ARIBAUD (U-Boot) wrote: Hi Chris, On Wed, 16 Jan 2013 17:23:58 +1300, Chris Packham judge.pack...@gmail.com wrote: Hi, I've just run into something porting an existing out of tree board to u-boot 2012.10 but I think it points to a generic issue

Re: [U-Boot] Function prototype conflicts with standalone apps

2013-01-16 Thread Chris Packham
On Thu, Jan 17, 2013 at 1:57 AM, Albert ARIBAUD albert.u.b...@aribaud.netwrote: Hi Chris, On Wed, 16 Jan 2013 23:16:07 +1300, Chris Packham judge.pack...@gmail.com wrote: Hi Albert, On 01/16/2013 08:25 PM, Albert ARIBAUD (U-Boot) wrote: Hi Chris, On Wed, 16 Jan 2013 17:23:58

[U-Boot] [RFC PATCH v2 5/5] common.h: add getenv_IP6addr

2013-01-17 Thread Chris Packham
From: Chris Packham chris.pack...@alliedtelesis.co.nz Analogous to getenv_IPaddr but for IPv6. This allows the caller to get an IP6addr_t from an environment variable. Signed-off-by: Chris Packham chris.pack...@alliedtelesis.co.nz --- Changes in v2: None include/common.h | 6 ++ lib

[U-Boot] [RFC PATCH v2 1/5] Initial net6.h

2013-01-17 Thread Chris Packham
From: Chris Packham chris.pack...@alliedtelesis.co.nz Has the definition of an IPv6 address and IPv6 header. It may make sense to separate the v4 support from net.h (or to include this in net.h). Signed-off-by: Chris Packham chris.pack...@alliedtelesis.co.nz --- Changes in v2: -use __be16

[U-Boot] [RFC PATCH v2 3/5] lib/net_utils.c: make string_to_ip stricter

2013-01-17 Thread Chris Packham
From: Chris Packham chris.pack...@alliedtelesis.co.nz Previously values greater than 255 were implicitly truncated. Add some stricter checking to reject addresses with components 255. With the input 1234192.168.1.1 the old behaviour would truncate the address to 192.168.1.1. New behaviour

[U-Boot] [RFC PATCH v2 0/5] Initial IPv6 support

2013-01-17 Thread Chris Packham
From: Chris Packham chris.pack...@alliedtelesis.co.nz This series so far covers the introduction of a IP6addr_t and printing/parsing of addresses. I have a patch for testing these basic things which I haven't included in this series yet. Is there a unittest facility for u-boot I should be using

[U-Boot] [RFC PATCH v2 2/5] lib/vsprintf.c: add IPv6 compressed format %pI6c

2013-01-17 Thread Chris Packham
From: Chris Packham chris.pack...@alliedtelesis.co.nz Add support for human friendly IPv6 address representations as specified in http://tools.ietf.org/html/draft-ietf-6man-text-addr-representation-00 This code has been adapted from Linux kernel with minimal modification. Signed-off-by: Chris

[U-Boot] [RFC PATCH v2 4/5] lib/net_utils.c: add string_to_ip6

2013-01-17 Thread Chris Packham
From: Chris Packham chris.pack...@alliedtelesis.co.nz string_to_ip6 parses an IPv6 address from a string. Parsing v6 addresses is a bit more complicated than parsing v4 because there are a number of different formats that can be used. Signed-off-by: Chris Packham chris.pack

Re: [U-Boot] [RFC PATCH v2 0/5] Initial IPv6 support

2013-01-18 Thread Chris Packham
On 01/18/2013 09:20 PM, Albert ARIBAUD wrote: Hi Chris, On Fri, 18 Jan 2013 14:35:27 +1300, Chris Packham judge.pack...@gmail.com wrote: From: Chris Packham chris.pack...@alliedtelesis.co.nz This series so far covers the introduction of a IP6addr_t and printing/parsing of addresses

Re: [U-Boot] [RFC PATCH v2 0/5] Initial IPv6 support

2013-01-20 Thread Chris Packham
On 01/18/2013 11:23 PM, Wolfgang Denk wrote: Dear Chris, In message 1358472932-32083-1-git-send-email-judge.pack...@gmail.com you wrote: This series so far covers the introduction of a IP6addr_t and printing/parsing of addresses. I have a patch for testing these basic things which I

Re: [U-Boot] [RFC PATCH v2 0/5] Initial IPv6 support

2013-01-20 Thread Chris Packham
On 01/18/2013 11:44 PM, Wolfgang Denk wrote: Dear Chris, In message 50f91851.5050...@gmail.com you wrote: Good question. Basically we have some out of tree code that implements a basic IPv6 stack. I'm drip feeding the code in pieces to avoid just dumping it on people and because the

Re: [U-Boot] [RFC PATCH v2 0/5] Initial IPv6 support

2013-01-20 Thread Chris Packham
On 01/19/2013 07:41 AM, Joe Hershberger wrote: On Fri, Jan 18, 2013 at 4:44 AM, Wolfgang Denk w...@denx.de wrote: Dear Chris, In message 50f91851.5050...@gmail.com you wrote: Personally I'm happy to have a long running series and periodically send updates to the list. I have a repository on

Re: [U-Boot] [RFC PATCH v2 0/5] Initial IPv6 support

2013-01-20 Thread Chris Packham
On Mon, Jan 21, 2013 at 10:00 AM, Albert ARIBAUD albert.u.b...@aribaud.netwrote: Hi Chris, On Sun, 20 Jan 2013 22:44:39 +1300, Chris Packham judge.pack...@gmail.com wrote: TFTP over IPv6 as well as PING6. Our use case is just static address configuration but using link-local addresses

Re: [U-Boot] [RFC PATCH v2 0/5] Initial IPv6 support

2013-01-20 Thread Chris Packham
Hi Wolfgang, A a few more specific answers to your questions On Sun, Jan 20, 2013 at 10:44 PM, Chris Packham judge.pack...@gmail.comwrote: On 01/18/2013 11:44 PM, Wolfgang Denk wrote: Dear Chris, Last time I checked (about 2 years ago) there was no officially agreed-on standard

[U-Boot] [RFC PATCH v3 0/7] Initial IPv6 support

2013-01-24 Thread Chris Packham
From: Chris Packham chris.pack...@alliedtelesis.co.nz Now we have something functional. With this you can do something like 'setenv ipaddr6 3ffe::2' and 'ping6 3ffe::1' should work. I seem to have a problem that when you send a ping6 for a non-existent address that ends up stuck and the next non

[U-Boot] [RFC PATCH v3 1/7] Initial net6.h

2013-01-24 Thread Chris Packham
From: Chris Packham chris.pack...@alliedtelesis.co.nz Has the definition of an IPv6 address and IPv6 header. It may make sense to separate the v4 support from net.h (or to include this in net.h). Signed-off-by: Chris Packham chris.pack...@alliedtelesis.co.nz --- Changes in v3: - add reviewed

[U-Boot] [RFC PATCH v3 5/7] common.h: add getenv_IP6addr

2013-01-24 Thread Chris Packham
From: Chris Packham chris.pack...@alliedtelesis.co.nz Analogous to getenv_IPaddr but for IPv6. This allows the caller to get an IP6addr_t from an environment variable. Signed-off-by: Chris Packham chris.pack...@alliedtelesis.co.nz --- Changes in v3: None Changes in v2: None include/common.h

[U-Boot] [RFC PATCH v3 2/7] lib/vsprintf.c: add IPv6 compressed format %pI6c

2013-01-24 Thread Chris Packham
From: Chris Packham chris.pack...@alliedtelesis.co.nz Add support for human friendly IPv6 address representations as specified in http://tools.ietf.org/html/draft-ietf-6man-text-addr-representation-00 This code has been adapted from Linux kernel with minimal modification. Signed-off-by: Chris

[U-Boot] [RFC PATCH v3 3/7] lib/net_utils.c: make string_to_ip stricter

2013-01-24 Thread Chris Packham
From: Chris Packham chris.pack...@alliedtelesis.co.nz Previously values greater than 255 were implicitly truncated. Add some stricter checking to reject addresses with components 255. With the input 1234192.168.1.1 the old behaviour would truncate the address to 192.168.1.1. New behaviour

[U-Boot] [RFC PATCH v3 4/7] lib/net_utils.c: add string_to_ip6

2013-01-24 Thread Chris Packham
From: Chris Packham chris.pack...@alliedtelesis.co.nz string_to_ip6 parses an IPv6 address from a string. Parsing v6 addresses is a bit more complicated than parsing v4 because there are a number of different formats that can be used. Signed-off-by: Chris Packham chris.pack

[U-Boot] [RFC PATCH v3 6/7] tsec: enable promiscuous mode for IPv6

2013-01-24 Thread Chris Packham
From: Chris Packham chris.pack...@alliedtelesis.co.nz For IPv6 neighbor discovery to operate correctly we need to register for various multicast groups (because some neighbor discovery packets are sent to various multicast addresses). Signed-off-by: Chris Packham chris.pack

[U-Boot] [RFC PATCH v3 7/7] net: ipv6 support

2013-01-24 Thread Chris Packham
From: Chris Packham chris.pack...@alliedtelesis.co.nz Adds basic support for IPv6. Neighbor discovery and ping6 are the only things supported at the moment. Stub code exists for UDP but it is untested and unlikely to work. Signed-off-by: Chris Packham chris.pack...@alliedtelesis.co.nz

[U-Boot] [PATCH] gpio: add driver for PCA9539 16-bit I2C gpio expander

2010-12-06 Thread Chris Packham
set the top or bottom 8 bits at a time. For example to set the 16 pins to be outputs you need to make the function calls pca9539_set_dir(PCA9539_ADDR, 0xff00, 0x); pca9539_set_dir(PCA9539_ADDR, 0x00ff, 0x); Signed-off-by: Chris Packham chris.pack...@alliedtelesis.co.nz --- Hi, I have

Re: [U-Boot] [PATCH] gpio: add driver for PCA9539 16-bit I2C gpio expander

2010-12-06 Thread Chris Packham
On Tue, Dec 7, 2010 at 1:13 PM, Peter Tyser pty...@xes-inc.com wrote: Hi Chris, On Tue, 2010-12-07 at 10:48 +1300, Chris Packham wrote: This adds support for the PCA9539 family of gpio devices which have 16 output pins. The devices are similar to chips that use the pca953x driver except

Re: [U-Boot] [PATCH] gpio: add driver for PCA9539 16-bit I2C gpio expander

2010-12-06 Thread Chris Packham
On Tue, Dec 7, 2010 at 2:34 PM, Peter Tyser pty...@xes-inc.com wrote: snip You could do the same thing to the U-Boot pca953x driver. Eg at the top you could add: #ifdef CONFIG_PCA953X_16BIT #define NGPIO = 16 #else #define NGPIO = 8 #endif I have a small problem with this due to

[U-Boot] [PATCHv2] pca953x: support 16-pin devices

2010-12-07 Thread Chris Packham
This adds support for for the PCA9535/PCA9539 family of gpio devices which have 16 output pins. To let the driver know which devices are 16-pin it is necessary to define CONFIG_SYS_I2C_PCA953X_WIDTH in your board config file. This is used to create an array of {chip, ngpio} tuples that are used

Re: [U-Boot] [PATCHv2] pca953x: support 16-pin devices

2010-12-08 Thread Chris Packham
On Thu, Dec 9, 2010 at 1:08 PM, Peter Tyser pty...@xes-inc.com wrote: The patch looks good.  I had a few minor nitpicky style comments below: As suggested by Peter I've implemented the 16-pin support in the existing pca953x driver. So this is pretty much a re-write of the v1 patch. Is the

[U-Boot] [PATCHv3] pca953x: support 16-pin devices

2010-12-09 Thread Chris Packham
to determine the width of a particular chip. For backwards compatibility it is assumed that any chip not defined in CONFIG_SYS_I2C_PCA953X_WIDTH has 8 pins. Signed-off-by: Chris Packham chris.pack...@alliedtelesis.co.nz --- Changes since v2: - I've addressed Peters style comments. - I've added

Re: [U-Boot] [PATCHv3] pca953x: support 16-pin devices

2010-12-14 Thread Chris Packham
On Fri, Dec 10, 2010 at 6:08 AM, Peter Tyser pty...@xes-inc.com wrote: On Thu, 2010-12-09 at 22:11 +1300, Chris Packham wrote: This adds support for for the PCA9535/PCA9539 family of gpio devices which have 16 output pins. To let the driver know which devices are 16-pin it is necessary

[U-Boot] [PATCHv4] pca953x: support 16-pin devices

2010-12-19 Thread Chris Packham
to determine the width of a particular chip. For backwards compatibility it is assumed that any chip not defined in CONFIG_SYS_I2C_PCA953X_WIDTH has 8 pins. Acked-by: Peter Tyser pty...@xes-inc.com Tested-by: Peter Tyser pty...@xes-inc.com Signed-off-by: Chris Packham chris.pack

Re: [U-Boot] [U-Boot,PATCHv4] pca953x: support 16-pin devices

2011-01-12 Thread Chris Packham
On Mon, Jan 10, 2011 at 8:02 PM, Heiko Schocher h...@denx.de wrote: Hello Chris, Sorry for the late reply, but just looked in patchwork and found that I am responsible for your patch, so ... Chris Packham wrote: This adds support for for the PCA9535/PCA9539 family of gpio devices which

Re: [U-Boot] [PATCH 0/1] Fix hang trying to protect flash sectors

2010-05-19 Thread Chris Packham
Disclaimer: I'm workmate of Mark's Wolfgang Denk wd at denx.de writes: It's not a hardware bug, but a configuration error. f800-fbff 64M Flash fe00-fe0f1M Battery-backed RAM ff00-ff00 64K On-board logic ff70-ff7f1M CCSR

Re: [U-Boot] [PATCH 0/1] Fix hang trying to protect flash sectors

2010-05-20 Thread Chris Packham
Hi Wolfgang, On Thu, May 20, 2010 at 1:35 AM, Wolfgang Denk w...@denx.de wrote: Dear Chris Packham, In message loom.20100520t005209-...@post.gmane.org you wrote: While it would be possible to shuffle the memory map around there is one problem with the hardware design that I don't think can

[U-Boot] Handling dual die and single die flash on same board

2010-09-07 Thread Chris Packham
for it. Is there any existing way to make the cfi_flash driver handle this situation for me? Thanks, Chris Packham ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Handling dual die and single die flash on same board

2010-09-07 Thread Chris Packham
On 07/09/10 10:26, Stefan Roese wrote: Hi Chris, On Tuesday 07 September 2010 19:05:46 Chris Packham wrote: My u-boot config is currently setup for the 2x32MB case i.e. CONFIG_SYS_MAX_FLASH_BANKS = 2, CONFIG_SYS_FLASH_BANKS_LIST = {base, base+32MB}. The problem with this is that when

[U-Boot] [PATCHv2] bootp: add ntpserver option to bootp request

2011-05-15 Thread Chris Packham
From: Luuk Paulussen luuk.paulus...@alliedtelesis.co.nz Signed-off-by: Luuk Paulussen luuk.paulus...@alliedtelesis.co.nz Acked-by: Chris Packham chris.pack...@alliedtelesis.co.nz Cc: Ben Warren biggerbadder...@gmail.com --- Changes since v1: - fixed compile error in BootpVendorProcess when

Re: [U-Boot] [PATCHv2] bootp: add ntpserver option to bootp request

2011-05-16 Thread Chris Packham
Hi Sergei, On Mon, May 16, 2011 at 11:57 PM, Sergei Shtylyov sshtyl...@mvista.com wrote: Hello. On 16-05-2011 6:24, Chris Packham wrote: From: Luuk Paulussen luuk.paulus...@alliedtelesis.co.nz Signed-off-by: Luuk Paulussenluuk.paulus...@alliedtelesis.co.nz Acked-by: Chris

[U-Boot] [PATCHv2] rtc: add driver for internal RTC on kirkwood SoC

2011-05-16 Thread Chris Packham
From: Luuk Paulussen luuk.paulus...@alliedtelesis.co.nz Signed-off-by: Luuk Paulussen luuk.paulus...@alliedtelesis.co.nz Acked-by: Chris Packham chris.pack...@alliedtelesis.co.nz Cc: Prafulla Wadaskar prafu...@marvell.com --- Changes since v1: - run through checkpatch.pl and fix style issues

[U-Boot] [PATCHv2] sntp: avoid use of uninitialized variable

2011-05-16 Thread Chris Packham
Acked-by: Chris Packham chris.pack...@alliedtelesis.co.nz Cc: Ben Warren biggerbadder...@gmail.com --- Changes since v1: - run through checkpatch.pl, fix line 80 chars common/cmd_net.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/common/cmd_net.c b/common/cmd_net.c

[U-Boot] [PATCHv3] bootp: add ntpserver option to bootp request

2011-05-16 Thread Chris Packham
From: Luuk Paulussen luuk.paulus...@alliedtelesis.co.nz Signed-off-by: Luuk Paulussen luuk.paulus...@alliedtelesis.co.nz Acked-by: Chris Packham chris.pack...@alliedtelesis.co.nz Cc: Ben Warren biggerbadder...@gmail.com --- Changes since v1: - fixed compile error in BootpVendorProcess when

[U-Boot] [PATCH 2/3] sntp: avoid use of uninitialized variable

2011-05-12 Thread Chris Packham
Acked-by: Chris Packham chris.pack...@alliedtelesis.co.nz Cc: Ben Warren biggerbadder...@gmail.com --- common/cmd_net.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/cmd_net.c b/common/cmd_net.c index 8c6f5c8..e0d7d23 100644 --- a/common/cmd_net.c +++ b/common

[U-Boot] [PATCH 1/3] rtc: add driver for internal RTC on kirkwood SoC

2011-05-12 Thread Chris Packham
From: Luuk Paulussen luuk.paulus...@alliedtelesis.co.nz Signed-off-by: Luuk Paulussen luuk.paulus...@alliedtelesis.co.nz Acked-by: Chris Packham chris.pack...@alliedtelesis.co.nz Cc: Prafulla Wadaskar prafu...@marvell.com --- arch/arm/include/asm/arch-kirkwood/kirkwood.h |2 + drivers/rtc

[U-Boot] [PATCH 3/3] bootp: add ntpserver option to bootp request

2011-05-12 Thread Chris Packham
From: Luuk Paulussen luuk.paulus...@alliedtelesis.co.nz Signed-off-by: Luuk Paulussen luuk.paulus...@alliedtelesis.co.nz Acked-by: Chris Packham chris.pack...@alliedtelesis.co.nz Cc: Ben Warren biggerbadder...@gmail.com --- net/bootp.c | 13 + 1 files changed, 13 insertions(+), 0

[U-Boot] [PATCH 1/3] rtc: add driver for internal RTC on kirkwood SoC

2011-05-12 Thread Chris Packham
From: Luuk Paulussen luuk.paulus...@alliedtelesis.co.nz Signed-off-by: Luuk Paulussen luuk.paulus...@alliedtelesis.co.nz Acked-by: Chris Packham chris.pack...@alliedtelesis.co.nz Cc: Prafulla Wadaskar prafu...@marvell.com --- arch/arm/include/asm/arch-kirkwood/kirkwood.h |2 + drivers/rtc

[U-Boot] [PATCH 3/3] bootp: add ntpserver option to bootp request

2011-05-12 Thread Chris Packham
From: Luuk Paulussen luuk.paulus...@alliedtelesis.co.nz Signed-off-by: Luuk Paulussen luuk.paulus...@alliedtelesis.co.nz Acked-by: Chris Packham chris.pack...@alliedtelesis.co.nz Cc: Ben Warren biggerbadder...@gmail.com --- net/bootp.c | 13 + 1 files changed, 13 insertions(+), 0

Re: [U-Boot] [PATCH 1/3] rtc: add driver for internal RTC on kirkwood SoC

2011-05-12 Thread Chris Packham
On Fri, May 13, 2011 at 1:29 PM, Chris Packham judge.pack...@gmail.com wrote: From: Luuk Paulussen luuk.paulus...@alliedtelesis.co.nz Signed-off-by: Luuk Paulussen luuk.paulus...@alliedtelesis.co.nz Acked-by: Chris Packham chris.pack...@alliedtelesis.co.nz Cc: Prafulla Wadaskar prafu

Re: [U-Boot] [PATCH 3/3] bootp: add ntpserver option to bootp request

2011-05-12 Thread Chris Packham
On Fri, May 13, 2011 at 1:29 PM, Chris Packham judge.pack...@gmail.com wrote: From: Luuk Paulussen luuk.paulus...@alliedtelesis.co.nz Signed-off-by: Luuk Paulussen luuk.paulus...@alliedtelesis.co.nz Acked-by: Chris Packham chris.pack...@alliedtelesis.co.nz Cc: Ben Warren biggerbadder

Re: [U-Boot] [PATCH 2/3] sntp: avoid use of uninitialized variable

2011-05-12 Thread Chris Packham
On Fri, May 13, 2011 at 1:29 PM, Chris Packham judge.pack...@gmail.com wrote: From: Luuk Paulussen luuk.paulus...@alliedtelesis.co.nz When we use the ntpserverip environment variable argv[1] may not be set. Printing the error message using the NetNtpServerIP variable ensures the correct

[U-Boot] [PATCH 2/3] sntp: avoid use of uninitialized variable

2011-05-12 Thread Chris Packham
Acked-by: Chris Packham chris.pack...@alliedtelesis.co.nz Cc: Ben Warren biggerbadder...@gmail.com --- common/cmd_net.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/cmd_net.c b/common/cmd_net.c index 8c6f5c8..e0d7d23 100644 --- a/common/cmd_net.c +++ b/common

Re: [U-Boot] arm builds fail with with CONFIG_USE_IRQ

2014-07-13 Thread Chris Packham
On Mon, Jul 14, 2014 at 3:29 PM, Chris Packham judge.pack...@gmail.com wrote: Hi, (apologies in advance for whatever the gmail web client does to this email). In commit 41623c91 (arm: move exception handling out of start.S files) code was moved to arch/arm/lib/vectors.S which wrapped symbols

Re: [U-Boot] arm builds fail with with CONFIG_USE_IRQ

2014-07-13 Thread Chris Packham
On Mon, Jul 14, 2014 at 3:35 PM, Chris Packham judge.pack...@gmail.com wrote: On Mon, Jul 14, 2014 at 3:29 PM, Chris Packham judge.pack...@gmail.com wrote: Hi, (apologies in advance for whatever the gmail web client does to this email). In commit 41623c91 (arm: move exception handling out

[U-Boot] arm builds fail with with CONFIG_USE_IRQ

2014-07-13 Thread Chris Packham
Hi, (apologies in advance for whatever the gmail web client does to this email). In commit 41623c91 (arm: move exception handling out of start.S files) code was moved to arch/arm/lib/vectors.S which wrapped symbols like IRQ_STACK_START and FIQ_STACK_START using the config flag CONFIG_USE_IRQ. As

Re: [U-Boot] [PATCH v1] arm: include config.h in vectors.S

2014-07-13 Thread Chris Packham
On Mon, Jul 14, 2014 at 4:53 PM, Chris Packham judge.pack...@gmail.com wrote: In order to use configuration flags it is necessary to include config.h. Without this arm targets that use CONFIG_USE_IRQ or CONFIG_SPL_BUILD won't get the correct code. Signed-off-by: Chris Packham judge.pack

[U-Boot] [PATCH v1] arm: include config.h in vectors.S

2014-07-13 Thread Chris Packham
In order to use configuration flags it is necessary to include config.h. Without this arm targets that use CONFIG_USE_IRQ or CONFIG_SPL_BUILD won't get the correct code. Signed-off-by: Chris Packham judge.pack...@gmail.com --- arch/arm/lib/vectors.S | 1 + 1 file changed, 1 insertion(+) diff

[U-Boot] [PATCH v1] arm: include config.h in vectors.S

2014-07-13 Thread Chris Packham
In order to use configuration flags it is necessary to include config.h. Without this arm targets that use CONFIG_USE_IRQ or CONFIG_SPL_BUILD won't get the correct code. Signed-off-by: Chris Packham judge.pack...@gmail.com --- Resent without corporate disclaimer arch/arm/lib/vectors.S |1

[U-Boot] [PATCH] Makefile: use $(shell ...) for determining file_size

2014-07-22 Thread Chris Packham
file_size was being calculated using back-ticks but map_size uses $(shell ...). Update the file_size calculation to use $(shell ...). Signed-off-by: Chris Packham judge.pack...@gmail.com --- The back ticks didn't work in my environment (GNU Make 3.81). Updating to use $(shell ...) makes sense

[U-Boot] [PATCH v2] Makefile: use $(shell ...) for determining file_size

2014-07-23 Thread Chris Packham
. Use wc instead. Signed-off-by: Chris Packham judge.pack...@gmail.com --- The back ticks didn't work in my environment (GNU Make 3.81). Updating to use $(shell ...) makes sense from a consistency view even if the problem is my environment. Changes in v2: - Restore the missing

Re: [U-Boot] [PATCH] Makefile: use $(shell ...) for determining file_size

2014-07-23 Thread Chris Packham
Hi Simon, On Wed, Jul 23, 2014 at 10:27 PM, Simon Glass s...@chromium.org wrote: On 22 July 2014 18:08, Chris Packham judge.pack...@gmail.com wrote: file_size was being calculated using back-ticks but map_size uses $(shell ...). Update the file_size calculation to use $(shell ...). Signed

[U-Boot] [PATCH] Makefile: use u-boot.map for binary_size_check

2014-07-23 Thread Chris Packham
u-boot.map is generated automatically by the compiler and more importantly can handle addresses 4GB. --- On Thu, Jul 24, 2014 at 5:14 PM, Chris Packham judge.pack...@gmail.com wrote: Hi Simon, On Wed, Jul 23, 2014 at 10:27 PM, Simon Glass s...@chromium.org wrote: On 22 July 2014 18:08, Chris

Re: [U-Boot] [PATCH] Makefile: use u-boot.map for binary_size_check

2014-07-24 Thread Chris Packham
Hi Wolfgang, Tom, On Fri, Jul 25, 2014 at 1:50 AM, Tom Rini tr...@ti.com wrote: On Thu, Jul 24, 2014 at 10:31:14AM +0200, Wolfgang Denk wrote: Dear Chris Packham, In message 1406179627-9496-1-git-send-email-judge.pack...@gmail.com you wrote: u-boot.map is generated automatically

Re: [U-Boot] [PATCH v1] arm: include config.h in vectors.S

2014-08-05 Thread Chris Packham
On 14/07/14 17:01, Chris Packham wrote: In order to use configuration flags it is necessary to include config.h. Without this arm targets that use CONFIG_USE_IRQ or CONFIG_SPL_BUILD won't get the correct code. Signed-off-by: Chris Packham judge.pack...@gmail.com --- Resent without

[U-Boot] Any interest in support for BCM5718 (a.k.a Tigon3) PCIe Ethernet chipset?

2014-06-05 Thread Chris Packham
Hi, (Joe, Simon, I'm not sure if this counts as networking or driver model but figured it was close enough to warrant an Cc). We're looking at a new board design and are planning on using a BCM5718 to provide a couple of Ethernet ports. The chipset is supported in Linux using the tg3.c driver. I

[U-Boot] [PATCH] docs: driver-model: Fix spelling

2014-06-06 Thread Chris Packham
Signed-off-by: Chris Packham judge.pack...@gmail.com --- On 07/06/14 08:48, Simon Glass wrote: Hi Chris, On 5 June 2014 21:24, Chris Packham judge.pack...@gmail.com wrote: Hi, (Joe, Simon, I'm not sure if this counts as networking or driver model but figured it was close enough to warrant

Re: [U-Boot] [PATCH] common: fix compiler warning on wrong printf format

2014-08-26 Thread Chris Packham
On Wed, Aug 27, 2014 at 2:02 AM, Alexey Brodkin alexey.brod...@synopsys.com wrote: bounce_buffer-len_aligned is of type size_t, but on some arches/compilers size_t might be an alias to whether int, long or their signed/unsigned flavors. So to make compiler happy we explicitly cast to int

[U-Boot] relocation problem on powerpc

2014-09-07 Thread Chris Packham
Hi All, I have come across what I think is a relocation problem for powerpc. I've added the following to ArpTimeoutCheck + printf(NetArpWaitTimerStart = %ld\n, NetArpWaitTimerStart); + printf(NetArpWaitTimerStart = %p\n, NetArpWaitTimerStart); + printf(NetArpWaitTry = %d\n,

Re: [U-Boot] relocation problem on powerpc

2014-09-07 Thread Chris Packham
On Mon, Sep 8, 2014 at 4:32 PM, Chris Packham judge.pack...@gmail.com wrote: Hi All, I have come across what I think is a relocation problem for powerpc. I've added the following to ArpTimeoutCheck + printf(NetArpWaitTimerStart = %ld\n, NetArpWaitTimerStart); + printf

Re: [U-Boot] relocation problem on powerpc

2014-09-07 Thread Chris Packham
There are some disadvantages to living in a weird timezone, mostly that you end up having conversations with yourself. On Mon, Sep 8, 2014 at 4:32 PM, Chris Packham judge.pack...@gmail.com wrote: Hi All, I have come across what I think is a relocation problem for powerpc. I've added

Re: [U-Boot] relocation problem on powerpc

2014-09-08 Thread Chris Packham
On Mon, Sep 8, 2014 at 9:04 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: There are some disadvantages to living in a weird timezone, mostly that you end up having conversations with yourself. On Mon, Sep 8, 2014 at 4:32 PM, Chris Packham judge.pack...@gmail.com wrote: Hi All

Re: [U-Boot] relocation problem on powerpc

2014-09-08 Thread Chris Packham
Hi Wolfgang, On Tue, Sep 9, 2014 at 8:21 AM, Wolfgang Denk w...@denx.de wrote: Dear Chris, In message CAFOYHZASBbTctq4fRJNX2e8=r_ocwosodnq5r80wga1gfzg...@mail.gmail.com you wrote: ... Which yields the following output NetArpWaitTimerStart = 0 NetArpWaitTimerStart = f0d0

Re: [U-Boot] relocation problem on powerpc

2014-09-08 Thread Chris Packham
Hi Jocke, On Tue, Sep 9, 2014 at 12:22 AM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: There are some disadvantages to living in a weird timezone, mostly that you end up having conversations with yourself. On Mon, Sep 8, 2014 at 4:32 PM, Chris Packham judge.pack...@gmail.com

[U-Boot] [RFC PATCH v1] powerpc: Fix off-by-one error in relocation

2014-09-08 Thread Chris Packham
the __got2_entries calculation. Cc: Joakim Tjernlund joakim.tjernl...@transmode.se Signed-off-by: Chris Packham judge.pack...@gmail.com --- So here's a patch that addresses the issue. I've tested it on a P2041RDB (mpc85xx/QorIq). I am aware that I'm touching a lot of platforms so I need some help testing

Re: [U-Boot] relocation problem on powerpc

2014-09-09 Thread Chris Packham
Hi Jocke On Wed, Sep 10, 2014 at 1:20 AM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Joakim Tjernlund/Transmode wrote on 2014/09/09 14:30:13: From: Joakim Tjernlund/Transmode To: Cc: Chris Packham judge.pack...@gmail.com, u-boot u-boot@lists.denx.de Date: 2014/09/09 14:30

Re: [U-Boot] [RFC PATCH v1] powerpc: Fix off-by-one error in relocation

2014-09-09 Thread Chris Packham
Hi All, On Tue, Sep 9, 2014 at 12:22 PM, Chris Packham judge.pack...@gmail.com wrote: When the got2 pointers were adjusted after relocation the last entry was missed. For most builds was something innocuous and there was no observable problem but at least for the P2041RDB board this ended up

[U-Boot] [RFC PATCH v1] powerpc: add --bss-plt to LDFLAGS

2014-09-09 Thread Chris Packham
the ARP packets to timeout immediately. Helped-by: Joakim Tjernlund joakim.tjernl...@transmode.se Signed-off-by: Chris Packham judge.pack...@gmail.com --- Technically this is v2 of http://lists.denx.de/pipermail/u-boot/2014-September/188365.html but the solution is so different that I'm treating

[U-Boot] Policy for porting drivers from Linux

2014-09-10 Thread Chris Packham
Hi List, This has probably come up before but I did a quick search and couldn't find anything. If it exists please point me at it. So at $dayjob we're looking at adding support for the BCM5718 Ethernet chipset to u-boot. We've actually got things working and I'm looking at preparing the code for

[U-Boot] FDT specification documents

2013-11-03 Thread Chris Packham
Hi List, I was looking at the u-boot wiki page on FDT[1] and found that a number of the links to specifications are dead. I assume because of the whole Oracle/Sun acquisition and bridge burning. I've done a bit of searching but it would seem terms like FDT spec are a bit too generic to yield

Re: [U-Boot] IPv6 in U-BOOT

2014-04-28 Thread chris packham
Hi, On 29/4/2014 at 05:01 AM, Jean-Pierre TOSONI jp.tos...@acksys.fr wrote: Hello Chris, I am looking for IPv6 support in U-Boot. I saw that you made some work about it last year. Did you obtain a working IPv6 ? Is it available somewhere ? I've got it to a point where it is possible

  1   2   3   4   5   6   7   8   9   10   >