Re: [U-Boot] SPI flash protection

2011-01-30 Thread Albert ARIBAUD
Hi Simon :) Le 29/01/2011 18:00, Simon Guinot a écrit : Hi, I am looking to add U-Boot support for the LaCie Network Space v2 board. The SoC is a Kirkwood 88F6281_A0 and the boot device is a Macronix SPI flash (MX25L4005A). My problem is that the embedded stock U-Boot (1.1.4 version

[U-Boot] [PATCH v2] Adds general Freescale external debugger support

2011-01-30 Thread Roy Zang
This patch adds general Freescale powerpc external debugger support. Patch is tested on 85xx/QorIQ platforms in u-boot with CodeWarrior. CONFIG_EXT_DEBUGGER should be defined if the u-boot needs to be debugged by external debugger. To use the external debug funciton, the make command can be just

Re: [U-Boot] SPI flash protection

2011-01-30 Thread Simon Guinot
Hi Albert, On Sun, Jan 30, 2011 at 10:36:17AM +0100, Albert ARIBAUD wrote: Hi Simon :) Le 29/01/2011 18:00, Simon Guinot a écrit : Hi, I am looking to add U-Boot support for the LaCie Network Space v2 board. The SoC is a Kirkwood 88F6281_A0 and the boot device is a Macronix SPI

Re: [U-Boot] SPI flash protection

2011-01-30 Thread Albert ARIBAUD
Le 30/01/2011 15:56, Simon Guinot a écrit : So, if SPI Flash protection is possible on block or sector levels, protect the blocks/sectors where U-Boot is located, including the environment. For a Macronix SPI flash, the status register export 3 bits (or 4 depending the model and size) to

Re: [U-Boot] [PATCH] Add support for AX88183 ethernet chip

2011-01-30 Thread stefano babic
Am 29.01.2011 03:03, schrieb Joe Xue: Hi Joe, Signed-off-by: Joe Xue lg...@hotmail.com modified: README modified: drivers/net/Makefile new file: drivers/net/ax88183.c new file: drivers/net/ax88183.h modified: include/netdev.h You do not need to add

Re: [U-Boot] [PATCH 6/8] Add board support for TS-7800

2011-01-30 Thread Wolfgang Denk
Dear Michael Spang, In message 1296262841-8819-6-git-send-email-msp...@csclub.uwaterloo.ca you wrote: The TS-7800 is an Orion5x implementation by Technologic Systems. Signed-off-by: Michael Spang msp...@csclub.uwaterloo.ca --- MAKEALL |1 +

Re: [U-Boot] [PATCH 7/8] Add NAND support for TS-7800

2011-01-30 Thread Wolfgang Denk
Dear Michael Spang, In message 1296262841-8819-7-git-send-email-msp...@csclub.uwaterloo.ca you wrote: The NAND control functions were written by Alexander Clouter and copied here from Linux. Signed-off-by: Michael Spang msp...@csclub.uwaterloo.ca --- drivers/mtd/nand/Makefile |1

Re: [U-Boot] [PATCH v2] Adds general Freescale external debugger support

2011-01-30 Thread Wolfgang Denk
Dear Roy Zang, In message 1296381492-31346-1-git-send-email-tie-fei.z...@freescale.com you wrote: This patch adds general Freescale powerpc external debugger support. Patch is tested on 85xx/QorIQ platforms in u-boot with CodeWarrior. CONFIG_EXT_DEBUGGER should be defined if the u-boot needs

[U-Boot] calling pci_init before relocation?

2011-01-30 Thread Michael Schwingen
Hi, ist it allowed to call pci_init before relocation? The code looks like this is not supposed to happen. However, on ARM, arm_pci_init (which calls pci_init in turn) is called from init_sequence, which happens before relocation. Am I overlooking some way in which this can actually work? Are

Re: [U-Boot] calling pci_init before relocation?

2011-01-30 Thread Albert ARIBAUD
Hi Michael, Le 30/01/2011 22:39, Michael Schwingen a écrit : Hi, ist it allowed to call pci_init before relocation? The code looks like this is not supposed to happen. However, on ARM, arm_pci_init (which calls pci_init in turn) is called from init_sequence, which happens before

Re: [U-Boot] calling pci_init before relocation?

2011-01-30 Thread Michael Schwingen
Am 01/30/2011 11:07 PM, schrieb Albert ARIBAUD: Hi Michael, Le 30/01/2011 22:39, Michael Schwingen a écrit : Hi, ist it allowed to call pci_init before relocation? The code looks like this is not supposed to happen. However, on ARM, arm_pci_init (which calls pci_init in turn) is called

Re: [U-Boot] [PATCH v2] Adds general Freescale external debugger support

2011-01-30 Thread Michael Schwingen
Am 01/30/2011 08:43 PM, schrieb Wolfgang Denk: I don't see where this is specific to the Power architecture either - expect that you only tested it there. My understanding is that you enable debug settings for the GNU debugger. Do these need to be architecture specific? Probably not. I do

Re: [U-Boot] calling pci_init before relocation?

2011-01-30 Thread Albert ARIBAUD
Le 30/01/2011 23:46, Michael Schwingen a écrit : Am 01/30/2011 11:07 PM, schrieb Albert ARIBAUD: Hi Michael, Le 30/01/2011 22:39, Michael Schwingen a écrit : Hi, ist it allowed to call pci_init before relocation? The code looks like this is not supposed to happen. However, on ARM,

Re: [U-Boot] SPI flash protection

2011-01-30 Thread Simon Guinot
On Sun, Jan 30, 2011 at 06:19:20PM +0100, Albert ARIBAUD wrote: Le 30/01/2011 15:56, Simon Guinot a écrit : So, if SPI Flash protection is possible on block or sector levels, protect the blocks/sectors where U-Boot is located, including the environment. For a Macronix SPI flash, the

Re: [U-Boot] [PATCH 1/2] README: add description of sh_eth driver

2011-01-30 Thread Nobuhiro Iwamatsu
Acked-by: Nobuhiro Iwamatsu iwama...@nigauri.org Ben's -net tree is not working for a long time. Wolfgang, can I merge these patches to -sh tree? Best regards, Nobuhiro On Thu, Jan 27, 2011 at 10:06:03AM +0900, Yoshihiro Shimoda wrote: Signed-off-by: Yoshihiro Shimoda

Re: [U-Boot] [PATCH v2 2/2] net: sh_eth: add cache handling

2011-01-30 Thread Nobuhiro Iwamatsu
Acked-by: Nobuhiro Iwamatsu iwama...@nigauri.org Best regards, Nobuhiro On Thu, Jan 27, 2011 at 10:06:08AM +0900, Yoshihiro Shimoda wrote: Some CPU needs cache handling. So this patch add the config of CONFIG_SH_ETHER_CACHE_WRITEBACK, and it calls wback function. Signed-off-by: Yoshihiro

Re: [U-Boot] [PATCH v2] add checking the CONFIG_ENV_IS_IN_SPI_FLASH in Enbedded env

2011-01-30 Thread Nobuhiro Iwamatsu
Acked-by: Nobuhiro Iwamatsu iwama...@nigauri.org Best regards, Nobuhiro On Tue, Jan 25, 2011 at 09:28:19AM +0900, Yoshihiro Shimoda wrote: Fix the problem which cannot build the U-boot, if we only set the CONFIG_ENV_IS_IN_SPI_FLASH. Signed-off-by: Yoshihiro Shimoda

Re: [U-Boot] [PATCH v3] spi: add support SuperH SPI module

2011-01-30 Thread Nobuhiro Iwamatsu
Hi, Please add description of CONFIG_SH_SPI to README. Best regards, Nobuhiro On Fri, Jan 28, 2011 at 05:22:26PM +0900, Yoshihiro Shimoda wrote: SH7757 has SPI module. This patch supports it. Signed-off-by: Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com --- about v3: - keep

Re: [U-Boot] SPI flash protection

2011-01-30 Thread Albert ARIBAUD
Le 31/01/2011 01:31, Simon Guinot a écrit : On Sun, Jan 30, 2011 at 06:19:20PM +0100, Albert ARIBAUD wrote: Le 30/01/2011 15:56, Simon Guinot a écrit : So, if SPI Flash protection is possible on block or sector levels, protect the blocks/sectors where U-Boot is located, including the

Re: [U-Boot] SPI flash protection

2011-01-30 Thread Reinhard Meyer
Dear Albert ARIBAUD, Simon Guinot, Here is the protect area map for a MX25L4005A 4Mb flash: bit 2 1 0 | protect level |___ 0 0 0 | none 0 0 1 | block 7 0 1 0 | block 6-7 0 1 1 | block 4-7 1 * * | all Block size

Re: [U-Boot] [PATCH] i2c: Fix chip address.0

2011-01-30 Thread Heiko Schocher
Hello Joakim, Joakim Tjernlund write: According to the i2c command alen 0 should be allowed but this is not allowed in the implementation, fix. Also cleanup all cmd_usage cases while at it. It is cleaner to return cmd_usage(cmdtp); instead of { cmd_usage(cmdtp); return 1; }

Re: [U-Boot] [PATCH] i2c: Fix chip address.0

2011-01-30 Thread Joakim Tjernlund
Heiko Schocher h...@denx.de wrote on 2011/01/31 08:18:56: Hello Joakim, Joakim Tjernlund write: According to the i2c command alen 0 should be allowed but this is not allowed in the implementation, fix. Also cleanup all cmd_usage cases while at it. It is cleaner to return

Re: [U-Boot] [PATCH v3] spi: add support SuperH SPI module

2011-01-30 Thread Yoshihiro Shimoda
Hi, Iwamatsu-san, 2011/01/31 10:21, Nobuhiro Iwamatsu wrote: Hi, Please add description of CONFIG_SH_SPI to README. Thank you for your point. I will add it. Best regards, Yoshihiro Shimoda ___ U-Boot mailing list U-Boot@lists.denx.de