Re: [U-Boot] at91sam9g20 MAC address in EEPROM?

2010-07-10 Thread Reinhard Meyer
Jim Sheldon wrote: > Hello everyone, > > I am working on a product based on Atmel's sam9g20. Atmel's flashing > procedure stores the MAC address as a u-boot environment variable (ethaddr). > > We are not comfortable with storing the MAC address this way, and would > rather keep it in EEPROM. Do

[U-Boot] Hi!

2010-07-10 Thread Мария Сергеева
Hi 2 all! Good subscrubtion, thx! http://stydentkam.ru , http://ekzameny.net , http://referat-na-5.ru , http://hellocafe.ru , http://home-happy.ru , http://samkon.ru , http://scouts-russia.ru , http://bestxenon.ru , http://harmonia-plus.ru , http:

Re: [U-Boot] at91sam9g20 MAC address in EEPROM?

2010-07-10 Thread Timur Tabi
On Sat, Jul 10, 2010 at 7:53 AM, Jim Sheldon wrote: > Hello everyone, > > I am working on a product based on Atmel's sam9g20.  Atmel's flashing > procedure stores the MAC address as a u-boot environment variable (ethaddr). > > We are not comfortable with storing the MAC address this way, and woul

Re: [U-Boot] [PATCH v3] fdt: Add function to alloc phandle values

2010-07-10 Thread Timur Tabi
On Sat, Jul 10, 2010 at 8:25 AM, Kumar Gala wrote: > If we are creating reference (handles) to nodes in a device tree we need > to first create a new phandle in node and this needs a new phandle > value.  So we search through the whole dtb to find the max phandle value > and return the next greate

Re: [U-Boot] [PATCH V2] kirkwood_egiga: bugfix: add DMA sequence points

2010-07-10 Thread Prafulla Wadaskar
> -Original Message- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Albert Aribaud > Sent: Saturday, July 10, 2010 7:11 PM > To: u-boot@lists.denx.de > Subject: [U-Boot] [PATCH V2] kirkwood_egiga: bugfix: add DMA > sequence points > > Insert

[U-Boot] [PATCH V2] kirkwood_egiga: bugfix: add DMA sequence points

2010-07-10 Thread Albert Aribaud
Insert isb() sequence points to ensure DMA descriptors are filled in and set up before actual DMA occurs. Signed-off-by: Albert Aribaud --- PATCHSET HISTORY V1: initial submit V2: fixed badly placed isb() drivers/net/kirkwood_egiga.c |9 - 1 files changed, 8 insertions(+), 1 deleti

Re: [U-Boot] [PATCH] kirkwood_egiga: bugfix: add DMA sequence points

2010-07-10 Thread Albert ARIBAUD
Le 10/07/2010 15:23, Prafulla Wadaskar a écrit : > When you repost the patch, you should change its version and change log, this > is standard procedure to be followed, now there are two patches on mailing > list with same subject, confusing for custodian to pick right one .. > > Regards.. >

Re: [U-Boot] [PATCH] libfdt: introduce function fdt_get_max_phandle

2010-07-10 Thread Kumar Gala
On May 26, 2010, at 9:38 PM, Jerry Van Baren wrote: > Wolfgang Denk wrote: >> Dear Timur Tabi, >> >> In message <1274308618-2974-1-git-send-email-ti...@freescale.com> you wrote: >>> Introduce function fdt_get_max_phandle(), which returns the largest value >>> of all phandles in a device tree. T

[U-Boot] [PATCH v3] fdt: Add function to alloc phandle values

2010-07-10 Thread Kumar Gala
If we are creating reference (handles) to nodes in a device tree we need to first create a new phandle in node and this needs a new phandle value. So we search through the whole dtb to find the max phandle value and return the next greater value for a new phandle allocation. Signed-off-by: Kumar

[U-Boot] [PATCH v2] fdt: Add function to alloc phandle values

2010-07-10 Thread Kumar Gala
If we are creating reference (handles) to nodes in a device tree we need to first create a new phandle in node and this needs a new phandle value. So we search through the whole dtb to find the max phandle value and return the next greater value for a new phandle allocation. Signed-off-by: Kumar

Re: [U-Boot] [PATCH] kirkwood_egiga: bugfix: add DMA sequence points

2010-07-10 Thread Prafulla Wadaskar
When you repost the patch, you should change its version and change log, this is standard procedure to be followed, now there are two patches on mailing list with same subject, confusing for custodian to pick right one .. Regards.. Prafulla . . __

[U-Boot] at91sam9g20 MAC address in EEPROM?

2010-07-10 Thread Jim Sheldon
Hello everyone, I am working on a product based on Atmel's sam9g20. Atmel's flashing procedure stores the MAC address as a u-boot environment variable (ethaddr). We are not comfortable with storing the MAC address this way, and would rather keep it in EEPROM. Does anyone have experience with

Re: [U-Boot] [PATCH] powerpc/85xx: Move p1022ds slot code into board file

2010-07-10 Thread Kumar Gala
On Jul 9, 2010, at 12:18 AM, Kumar Gala wrote: > The code to map SERDES configs to slot names is board specific and not > chip specific. Thus it should live in board/freescale/p1022ds/ and not > in arch/powerpc/cpu/. > > Signed-off-by: Kumar Gala > --- > arch/powerpc/cpu/mpc85xx/p1022_serdes.c

Re: [U-Boot] [PATCH] ppc/85xx: Convert MPC8536DS to using board common ICS307 code

2010-07-10 Thread Kumar Gala
On Jun 30, 2010, at 4:54 AM, Kumar Gala wrote: > Signed-off-by: Kumar Gala > --- > board/freescale/common/Makefile |1 + > board/freescale/mpc8536ds/mpc8536ds.c | 148 - > include/configs/MPC8536DS.h | 14 +-- > 3 files changed, 6 insertions(+)

Re: [U-Boot] [PATCH] ppc/85xx: Convert MPC8572DS to using board common ICS307 code

2010-07-10 Thread Kumar Gala
On Jun 30, 2010, at 4:54 AM, Kumar Gala wrote: > Signed-off-by: Kumar Gala > --- > board/freescale/common/Makefile |1 + > board/freescale/mpc8572ds/mpc8572ds.c | 145 + > include/configs/MPC8572DS.h | 14 +-- > 3 files changed, 7 insertions(+)

Re: [U-Boot] [PATCH] fdt: Add function to alloc phandle values

2010-07-10 Thread Sergei Shtylyov
Hello. Kumar Gala wrote: > If we are creating reference (handles) to nodes in a device tree we need > to first create a new phandle in node and this needs a new phandle > value. So we search through the whole dtb to find the max phandle value > and return the next greater value for a new phandle

[U-Boot] Error detecting CFI-compliant NOR flash on Orion5x (DNS323)

2010-07-10 Thread Rogan Dawes
Hi folks, I am trying to get a recent U-Boot working on my DNS323 (B1). Building on the work of Albert Aribaud, I have been able to get it to boot successfully from the existing U-Boot boot loader having defined CONFIG_SKIP_LOWLEVEL_INIT, and (with a tweak to the ORION5X_DEFADR_BOOTROM and OR

Re: [U-Boot] uboot redundancy.

2010-07-10 Thread Graeme Russ
On 10/07/10 00:03, Sagar Heroorkar wrote: > Hi All, > > I am planning to implement uboot redundancy. > This means having the following idea which we thought. > > Golden-Uboot which is flashed in the NOR-FLASH. This is not field > upgradable. > This golden uboot is going to have logic to pick the

[U-Boot] [PATCH] kirkwood_egiga: bugfix: add DMA sequence points

2010-07-10 Thread Albert Aribaud
Insert isb() sequence points to ensure DMA descriptors are filled in and set up before actual DMA occurs. Signed-off-by: Albert Aribaud --- drivers/net/kirkwood_egiga.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/drivers/net/kirkwood_egiga.c b/drivers/net/kir

Re: [U-Boot] [PATCH] kirkwood_egiga: bugfix: add DMA sequence points

2010-07-10 Thread Albert ARIBAUD
Please disregard. I have misplaced the second isb(). > @@ -536,6 +538,9 @@ static int kwgbe_send(struct eth_device *dev, volatile > void *dataptr, > p_txdesc->buf_ptr = (u8 *) p; > p_txdesc->byte_cnt = datasize; > > + /* ensure tx desc writes above are performed before we start Tx

[U-Boot] [PATCH] kirkwood_egiga: bugfix: add DMA sequence points

2010-07-10 Thread Albert Aribaud
Insert isb() sequence points to ensure DMA descriptors are filled in and set up before actual DMA occurs. Signed-off-by: Albert Aribaud --- drivers/net/kirkwood_egiga.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/net/kirkwood_egiga.c b/drivers/net/kirkwoo