Re: [U-Boot] [RFC PATCH] usb: dfu: make nand upload working

2013-10-31 Thread Bo Shen
Hi Lukasz, On 10/16/2013 17:00, Bo Shen wrote: Hi Lukasz Majewski, On 10/14/2013 15:25, Bo Shen wrote: Hi Lukasz Majewski, On 10/13/2013 05:19, Lukasz Majewski wrote: On Sat, 12 Oct 2013 15:47:14 +0800 Bo Shen voice.s...@atmel.com wrote: If won't pass value to dfu-r_left, it always 0

[U-Boot] [RFC PATCH 3/7] arm: atmel: the offset of MULA is 18 in sama5d3

2013-10-30 Thread Bo Shen
The offset of MULA field in PLLA register in sama5d3 is 18, and the length only 7 bits. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/include/asm/arch-at91/at91_pmc.h |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/asm/arch-at91/at91_pmc.h b/arch/arm

[U-Boot] [RFC PATCH 0/7] arm: atmel: sama5d3: enable spl boot from SD card

2013-10-30 Thread Bo Shen
This patch series enable spl boot from SD card, it only can boot u-boot itself. Bo Shen (7): arm: atmel: sama5d3: early enable PIO peripherals arm: atmel: sama5d3: correct the ID for DBGU and PIT arm: atmel: the offset of MULA is 18 in sama5d3 arm: atmel: sama5: correct the error define

[U-Boot] [RFC PATCH 7/7] spl: mmc: FAT support boot u-boot

2013-10-30 Thread Bo Shen
Enable SPL support which can load u-boot from SD card in FAT format. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/armv7/Makefile|2 +- arch/arm/cpu/armv7/at91/u-boot-spl.lds | 50 + arch/arm/include/asm/arch-at91/spl.h | 17 + board/atmel

[U-Boot] [RFC PATCH 1/7] arm: atmel: sama5d3: early enable PIO peripherals

2013-10-30 Thread Bo Shen
Enable the PIO peripherals early that other peripherals. Signed-off-by: Bo Shen voice.s...@atmel.com --- board/atmel/sama5d3xek/sama5d3xek.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/board/atmel/sama5d3xek/sama5d3xek.c b/board/atmel/sama5d3xek/sama5d3xek.c index b0965ef..7fa3ae7

[U-Boot] [RFC PATCH 4/7] arm: atmel: sama5: correct the error define of DIV

2013-10-30 Thread Bo Shen
Correct the error define of DIV. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/include/asm/arch-at91/at91_pmc.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/arch-at91/at91_pmc.h b/arch/arm/include/asm/arch-at91/at91_pmc.h index

[U-Boot] [RFC PATCH 5/7] arm: atmel: add plla and mck initialize function

2013-10-30 Thread Bo Shen
Add plla and mck initialize function. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/armv7/at91/clock.c | 27 ++ arch/arm/include/asm/arch-at91/at91_common.h |2 ++ 2 files changed, 29 insertions(+) diff --git a/arch/arm/cpu/armv7/at91

[U-Boot] [RFC PATCH 2/7] arm: atmel: sama5d3: correct the ID for DBGU and PIT

2013-10-30 Thread Bo Shen
As the DBGU and PIT has its own ID on sama5d3 SoC, while not share with SYS ID. So, correct them. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/armv7/at91/sama5d3_devices.c |2 +- arch/arm/cpu/armv7/at91/timer.c |2 +- 2 files changed, 2 insertions(+), 2

[U-Boot] [RFC PATCH 6/7] arm: atmel: add ddr2 initialization function

2013-10-30 Thread Bo Shen
The MPDDRC supports different type of SDRAM This patch add ddr2 initialization function Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/armv7/at91/Makefile |1 + arch/arm/cpu/armv7/at91/mpddrc.c | 123 + arch/arm/include/asm

Re: [U-Boot] [RFC PATCH 1/3] at91: add new gpio pin macros

2013-10-30 Thread Bo Shen
/* CONFIG_ATMEL_LEGACY */ +#endif /* __ASM_ARCH_AT91_GPIO_H */ Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [RFC PATCH 7/7] spl: mmc: FAT support boot u-boot

2013-10-30 Thread Bo Shen
Bo Shen: snip code All this functions could be moved to a common file, I vote for: arch/arm/cpu/arm926ejs/at91/spl.c What do you think? That's not that easy ... sama5 is an armv7 SoC. So we need some special at91 library directory or something like this. Ah, armv7 and I work

Re: [U-Boot] [RFC PATCH 2/7] arm: atmel: sama5d3: correct the ID for DBGU and PIT

2013-10-30 Thread Bo Shen
Hi Andreas, On 10/30/2013 19:12, Andreas Bießmann wrote: Hi Bo, On 10/30/2013 10:15 AM, Bo Shen wrote: As the DBGU and PIT has its own ID on sama5d3 SoC, while not share with SYS ID. So, correct them. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/armv7/at91/sama5d3_devices.c

Re: [U-Boot] [RFC PATCH 5/7] arm: atmel: add plla and mck initialize function

2013-10-30 Thread Bo Shen
Hi Andreas, On 10/30/2013 19:21, Andreas Bießmann wrote: Hi Bo, On 10/30/2013 10:15 AM, Bo Shen wrote: Add plla and mck initialize function. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/armv7/at91/clock.c | 27 ++ arch/arm/include/asm

Re: [U-Boot] [RFC PATCH 1/7] arm: atmel: sama5d3: early enable PIO peripherals

2013-10-30 Thread Bo Shen
Hi Andreas, On 10/30/2013 19:11, Andreas Bießmann wrote: Hi Bo, On 10/30/2013 10:15 AM, Bo Shen wrote: Enable the PIO peripherals early that other peripherals. Signed-off-by: Bo Shen voice.s...@atmel.com --- board/atmel/sama5d3xek/sama5d3xek.c |3 +++ 1 file changed, 3 insertions

Re: [U-Boot] [PATCH 3/6] at91sam9m10g45ek: remove unused CONFIG_AT91_LEGACY

2013-10-30 Thread Bo Shen
Hi Andreas, On 10/30/2013 10:18 PM, Andreas Bießmann wrote: Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com Acked-by: Bo Shen voice.s...@atmel.com --- include/configs/at91sam9m10g45ek.h |1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/at91sam9m10g45ek.h

Re: [U-Boot] [PATCH] arm: at91: support for the Calao USB-A9263 board (based on AT91SAM9263)

2013-10-28 Thread Bo Shen
Hi Mateusz Kulikowski, On 10/29/2013 05:30, Mateusz Kulikowski wrote: Hi Bo Shen, Thanks for the check, please see below. On 28.10.2013 05:57, Bo Shen wrote: Hi Mateusz Kulikowski, Add Andreas in loop. On 10/28/2013 03:34, Mateusz Kulikowski wrote: (...) +/* + * Disable pull-up

Re: [U-Boot] [PATCH] arm: at91: support for the Calao USB-A9263 board (based on AT91SAM9263)

2013-10-27 Thread Bo Shen
, 0x1000) + +#endif Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v1 1/3] at91: add defines for reset type

2013-10-27 Thread Bo Shen
Hi Heiko Schocher, On 10/22/2013 13:51, Heiko Schocher wrote: From: Roger Meier r.me...@siemens.com Signed-off-by: Roger Meier r.me...@siemens.com Reviewed-by: Heiko Schocher h...@denx.de Cc: Andreas Bießmann andreas.de...@googlemail.com Acked-by: Bo Shen voice.s...@atmel.com --- arch

Re: [U-Boot] [PATCH v1 2/3] arm, at91: add Siemens board taurus (based on AT91SAM9G20)

2013-10-27 Thread Bo Shen
+#define CONFIG_CMDLINE_EDITING +#define CONFIG_AUTO_COMPLETE + +/* + * Size of malloc() pool + */ +#define CONFIG_SYS_MALLOC_LEN \ + ROUND(3 * CONFIG_ENV_SIZE + 128*1024, 0x1000) + +#endif Best Regards, Bo Shen ___ U-Boot mailing list U-Boot

Re: [U-Boot] [PATCH v1 3/3] arm, at91: add siemens corvus board

2013-10-27 Thread Bo Shen
CONFIG_SYS_LONGHELP +#define CONFIG_CMDLINE_EDITING +#define CONFIG_AUTO_COMPLETE +#define CONFIG_SYS_HUSH_PARSER + +/* + * Size of malloc() pool + */ +#define CONFIG_SYS_MALLOC_LEN ROUND(3 * CONFIG_ENV_SIZE + \ + 128*1024, 0x1000) + +#endif Best Regards, Bo Shen

[U-Boot] [PATCH 1/2] arm: atmel: at91sam9n12ek: add usb host support

2013-10-21 Thread Bo Shen
Add usb host support for at91sam9n12ek board. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/include/asm/arch-at91/at91_pmc.h |2 ++ board/atmel/at91sam9n12ek/at91sam9n12ek.c | 11 +++ drivers/usb/host/ohci-at91.c | 11 +-- include/configs

[U-Boot] [PATCH 2/2] arm: atmel: get rid of too many ifdeffery

2013-10-21 Thread Bo Shen
Get rid of too many ifdeffery in usb ohci driver Add following two configuration for USB clock selecting - CONFIG_USB_ATMEL_CLK_SEL_PLLB: using PLLB as usb ohci input clock - CONFIG_USB_ATMEL_CLK_SEL_UPLL: using UPLL as usb ohci input clock Signed-off-by: Bo Shen voice.s...@atmel.com

Re: [U-Boot] [RFC PATCH] usb: dfu: make nand upload working

2013-10-16 Thread Bo Shen
Hi Lukasz Majewski, On 10/14/2013 15:25, Bo Shen wrote: Hi Lukasz Majewski, On 10/13/2013 05:19, Lukasz Majewski wrote: On Sat, 12 Oct 2013 15:47:14 +0800 Bo Shen voice.s...@atmel.com wrote: If won't pass value to dfu-r_left, it always 0, make no transfer, the dfu-util on host side report

[U-Boot] [RFC PATCH 1/2] usb: dfu: decrease dfu-r_left along with the transfer

2013-10-16 Thread Bo Shen
The value of dfu-r_left need decrease along with the transfer Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/dfu/dfu.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c index 56b21c7..65c6984 100644 --- a/drivers/dfu/dfu.c +++ b/drivers/dfu

[U-Boot] [RFC PATCH 2/2] usb: dfu: correct dfu buffer inited value

2013-10-16 Thread Bo Shen
After dfu buffer is initialized, the buffer should be all available, while not 0. Initialize its value to min(dfu_buf_size, dfu-r_left). Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/dfu/dfu.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dfu/dfu.c b

Re: [U-Boot] Question about dfu flash rootfs image

2013-10-14 Thread Bo Shen
Hi Heiko, On 10/14/2013 13:43, Heiko Schocher wrote: Hello Bo, Am 12.10.2013 09:18, schrieb Bo Shen: Hi All, Now I am implementing DFU support on Atmel sama5d3xek board, when try to download rootfs image to NAND flash through DFU, we need to drop ffs from rootfs image. Do you use ubi

Re: [U-Boot] [RFC PATCH] usb: dfu: make nand upload working

2013-10-14 Thread Bo Shen
Hi Lukasz Majewski, On 10/13/2013 05:19, Lukasz Majewski wrote: On Sat, 12 Oct 2013 15:47:14 +0800 Bo Shen voice.s...@atmel.com wrote: If won't pass value to dfu-r_left, it always 0, make no transfer, the dfu-util on host side report failed. So, before starting transfer, pass the value

Re: [U-Boot] [PATCH 1/3] sf: add missing Atmel at25df321 spi flash support

2013-10-14 Thread Bo Shen
Hi Jagan, On 10/14/2013 16:14, Jagan Teki wrote: On Sat, Oct 12, 2013 at 6:50 AM, Bo Shen voice.s...@atmel.com wrote: Hi Jagan, Cc Tom. On 10/11/2013 09:24, Bo Shen wrote: Hi Jagan, On 10/10/2013 22:14, Jagan Teki wrote: Thanks for this. On Thu, Oct 10, 2013 at 10:37 AM, Bo Shen

[U-Boot] Question about dfu flash rootfs image

2013-10-12 Thread Bo Shen
() with flags at least with WITH_DROP_FFS set. Till now, I don't find any good solution to pass the parameter, except hard code it or through #ifdef CONFIG_CMD_NAND_TRIMFFS to set it. Any suggestions for it and any other solution? Best Regards, Bo Shen ___ U

[U-Boot] [RFC PATCH] usb: dfu: make nand upload working

2013-10-12 Thread Bo Shen
If won't pass value to dfu-r_left, it always 0, make no transfer, the dfu-util on host side report failed. So, before starting transfer, pass the value, then nand uploading can work. Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/dfu/dfu.c |1 + 1 file changed, 1 insertion(+) diff

Re: [U-Boot] [PATCH 1/3] sf: add missing Atmel at25df321 spi flash support

2013-10-11 Thread Bo Shen
Hi Jagan, Cc Tom. On 10/11/2013 09:24, Bo Shen wrote: Hi Jagan, On 10/10/2013 22:14, Jagan Teki wrote: Thanks for this. On Thu, Oct 10, 2013 at 10:37 AM, Bo Shen voice.s...@atmel.com wrote: As the spi flash transfer to multiple parts, it is forgot to add Atmel AT25DF321 spi flash support

Re: [U-Boot] [PATCH 1/3] sf: add missing Atmel at25df321 spi flash support

2013-10-10 Thread Bo Shen
Hi Jagan, On 10/10/2013 22:14, Jagan Teki wrote: Thanks for this. On Thu, Oct 10, 2013 at 10:37 AM, Bo Shen voice.s...@atmel.com wrote: As the spi flash transfer to multiple parts, it is forgot to add Atmel AT25DF321 spi flash support, which broken several Atmel EK boards which this chip. So

[U-Boot] [PATCH 1/3] sf: add missing Atmel at25df321 spi flash support

2013-10-09 Thread Bo Shen
As the spi flash transfer to multiple parts, it is forgot to add Atmel AT25DF321 spi flash support, which broken several Atmel EK boards which this chip. So, add it Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/mtd/spi/sf_probe.c |1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH 2/3] sf: change indentation in sf_probe.c

2013-10-09 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/mtd/spi/sf_probe.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_probe.c index 6e19d79..9646914 100644 --- a/drivers/mtd/spi/sf_probe.c +++ b/drivers/mtd/spi/sf_probe.c

[U-Boot] [PATCH 3/3] sf: using the same license header format

2013-10-09 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/mtd/spi/sf_probe.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_probe.c index 9646914..2086022 100644 --- a/drivers/mtd/spi/sf_probe.c +++ b/drivers/mtd/spi

[U-Boot] [PATCH] env: dataflash: fix env_init issue

2013-10-08 Thread Bo Shen
and import it. Signed-off-by: Bo Shen voice.s...@atmel.com --- common/env_dataflash.c | 50 +--- 1 file changed, 18 insertions(+), 32 deletions(-) diff --git a/common/env_dataflash.c b/common/env_dataflash.c index 5f21d5c..b53b87e 100644

[U-Boot] [PATCH] USB: gadget: atmel: disconnect before unbind

2013-09-23 Thread Bo Shen
When unbind the gadget driver, need call disconnect first. Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/usb/gadget/atmel_usba_udc.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/gadget/atmel_usba_udc.c b/drivers/usb/gadget/atmel_usba_udc.c

[U-Boot] [PATCH] net: macb: get DMA bus width from design config register

2013-09-18 Thread Bo Shen
Get DMA bus width from design config register Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/net/macb.c | 20 +++- drivers/net/macb.h | 11 +++ 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/drivers/net/macb.c b/drivers/net/macb.c index

Re: [U-Boot] [PATCH v4] at91: add support for CDU9G25 board

2013-09-13 Thread Bo Shen
No where define it, so no need this. +#endif -- 1.7.9.5 Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 0/3] USB: atmel: add atmel usba udc driver support

2013-09-11 Thread Bo Shen
Hi Marek Vasut, On 9/10/2013 22:27, Marek Vasut wrote: Dear Bo Shen, Add atmel usb udc driver support porting from Linux kernel. Using RNDIS gadget driver to test it. Test OK on at91sam9m10g45ek, at91sam9m10g45ek, and sama5d31ek boards. It need the patch from: Troy Kisky troy.ki

Re: [U-Boot] [PATCH v2 3/3] ARM: atmel: add RNDIS gadget support

2013-09-11 Thread Bo Shen
Hi Marek Vasut, On 9/10/2013 22:29, Marek Vasut wrote: Dear Bo Shen, Add RNDIS gadget support to test atmel usba udc driver Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - Add a common header to hold atmel usba udc information for different SoCs --- arch/arm/cpu

[U-Boot] [PATCH v3 0/4] USB: atmel: add atmel usba udc driver support

2013-09-11 Thread Bo Shen
for different SoCs Bo Shen (3): USB: gadget: add atmel usba udc driver ARM: atmel: correct UDPHS name ARM: atmel: add RNDIS gadget support Troy Kisky (1): usb: gadget: config: fix unaligned access issues arch/arm/cpu/armv7/at91/sama5d3_devices.c | 12 + arch/arm/include/asm/arch

[U-Boot] [PATCH v3 4/4] ARM: atmel: add RNDIS gadget support

2013-09-11 Thread Bo Shen
Add RNDIS gadget support to test atmel usba udc driver Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v3: - Move this header file along with USB device driver patch Changes in v2: - Add a common header to hold atmel usba udc information for different SoCs --- arch/arm/cpu

[U-Boot] [PATCH v3 1/4] usb: gadget: config: fix unaligned access issues

2013-09-11 Thread Bo Shen
-by: Troy Kisky troy.ki...@boundarydevices.com [voice.s...@atmel.com: add commit message] Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v3: - New drivers/usb/gadget/config.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/config.c b/drivers

[U-Boot] [PATCH v3 2/4] USB: gadget: add atmel usba udc driver

2013-09-11 Thread Bo Shen
() Use the wrapper function for retrieving the platform data instead of accessing dev-platform_data directly. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v3: - Move USB device endpoint info header file in this patch Changes in v2: - None --- arch/arm/include/asm/arch-at91

[U-Boot] [PATCH v3 3/4] ARM: atmel: correct UDPHS name

2013-09-11 Thread Bo Shen
Correct the UDPHS name from UDHPS Signed-off-by: Bo Shen voice.s...@atmel.com Acked-by: Marek Vasut ma...@denx.de --- Changes in v3: - Add Acked-by from Marek Vasut Changes in v2: - None arch/arm/include/asm/arch-at91/sama5d3.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[U-Boot] [PATCH v2 0/3] USB: atmel: add atmel usba udc driver support

2013-09-10 Thread Bo Shen
information: http://patchwork.ozlabs.org/patch/264151/ Changes in v2: - Add detail information of the orignal code - Add a common header to hold atmel usba udc information for different SoCs Bo Shen (3): USB: gadget: add atmel usba udc driver ARM: atmel: correct UDPHS name ARM: atmel: add

[U-Boot] [PATCH v2 2/3] ARM: atmel: correct UDPHS name

2013-09-10 Thread Bo Shen
Correct the UDPHS name from UDHPS Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - None --- arch/arm/include/asm/arch-at91/sama5d3.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-at91/sama5d3.h b/arch/arm/include/asm/arch

[U-Boot] [PATCH v2 1/3] USB: gadget: add atmel usba udc driver

2013-09-10 Thread Bo Shen
() Use the wrapper function for retrieving the platform data instead of accessing dev-platform_data directly. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - Add detail information of the orignal code --- drivers/usb/gadget/Makefile |1 + drivers/usb/gadget

[U-Boot] [PATCH v2 3/3] ARM: atmel: add RNDIS gadget support

2013-09-10 Thread Bo Shen
Add RNDIS gadget support to test atmel usba udc driver Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - Add a common header to hold atmel usba udc information for different SoCs --- arch/arm/cpu/armv7/at91/sama5d3_devices.c | 12 + arch/arm/include/asm/arch

Re: [U-Boot] [RFC PATCH 3/3] ARM: atmel: add RNDIS gadget support

2013-09-04 Thread Bo Shen
Hi Andreas, On 9/4/2013 15:32, Andreas Bießmann wrote: Hi Bo, Marek, On 09/04/2013 04:01 AM, Bo Shen wrote: Hi Marek Vasut, On 09/04/2013 09:55 AM, Marek Vasut wrote: I have considered to put this in driver, however, different Atmel SoC have different attributes for each endpoint

Re: [U-Boot] [PATCH] MTD: atmel_nand: support for software BCH ECC

2013-09-04 Thread Bo Shen
Hi Andreas, On 9/4/2013 6:23 PM, Andreas Bießmann wrote: Hi Bo, On 08/28/2013 04:54 PM, Bo Shen wrote: Add possible to use software BCH ECC for atmel nand driver Signed-off-by: Bo Shen voice.s...@gmail.com --- drivers/mtd/nand/atmel_nand.c |4 1 file changed, 4 insertions

Re: [U-Boot] [PATCH] MTD: atmel_nand: support for software BCH ECC

2013-09-04 Thread Bo Shen
Andreas Bießmann Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3] usb: gadget: Fix data aborts during USB ethernet boot

2013-09-04 Thread Bo Shen
); + #if defined(CONFIG_USB_ETH_CDC) || defined(CONFIG_USB_ETH_RNDIS) -static u8 status_req[STATUS_BYTECOUNT] __attribute__ ((aligned(4))); +DEFINE_CACHE_ALIGN_BUFFER(u8, status_req, STATUS_BYTECOUNT); #endif Best Regards, Bo Shen ___ U-Boot mailing

Re: [U-Boot] [RFC PATCH 1/3] USB: gadget: add atmel usba udc driver

2013-09-03 Thread Bo Shen
Hi Marek Vasut, On 09/04/2013 06:30 AM, Marek Vasut wrote: Dear Bo Shen, Add atmel usba udc driver support, porting from Linux kernel Signed-off-by: Bo Shen voice.s...@atmel.com Please see [1] , point 4. I miss the exact point in Linux kernel history (read commit hash) from which this code

Re: [U-Boot] [RFC PATCH 3/3] ARM: atmel: add RNDIS gadget support

2013-09-03 Thread Bo Shen
, if I put this in driver, there will be many #ifdef. If newly SoC added, maybe we will need to add #ifdef again. So, I put it here. Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [RFC PATCH 3/3] ARM: atmel: add RNDIS gadget support

2013-09-03 Thread Bo Shen
, Best regards, Marek Vasut Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PULL] u-boot-atmel/master - u-boot-arm/master

2013-09-02 Thread Bo Shen
is not dealt. Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [RFC PATCH 2/3] ARM: atmel: correct UDPHS name

2013-09-02 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/include/asm/arch-at91/sama5d3.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-at91/sama5d3.h b/arch/arm/include/asm/arch-at91/sama5d3.h index 49bd335..b9d574d 100644 --- a/arch/arm/include

[U-Boot] [RFC PATCH 0/3] USB: atmel: add atmel usba udc driver support

2013-09-02 Thread Bo Shen
Add atmel usb udc driver support porting from Linux kernel. Using RNDIS gadget driver to test it. Test it on sama5d31ek and sam9x5ek board. Bo Shen (3): USB: gadget: add atmel usba udc driver ARM: atmel: correct UDPHS name ARM: atmel: add RNDIS gadget support arch/arm/cpu/armv7/at91

[U-Boot] [RFC PATCH 3/3] ARM: atmel: add RNDIS gadget support

2013-09-02 Thread Bo Shen
Add RNDIS gadget support to test atmel usba udc driver Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/armv7/at91/sama5d3_devices.c| 12 ++ arch/arm/include/asm/arch-at91/at91_common.h |1 + board/atmel/sama5d3xek/sama5d3xek.c | 51

[U-Boot] [RFC PATCH 1/3] USB: gadget: add atmel usba udc driver

2013-09-02 Thread Bo Shen
Add atmel usba udc driver support, porting from Linux kernel Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/usb/gadget/Makefile |1 + drivers/usb/gadget/atmel_usba_udc.c | 1305 +++ drivers/usb/gadget/atmel_usba_udc.h | 326 + include

[U-Boot] [PATCH] ARM: atmel: sama5d3: drop unused CONFIG_NET_MULTI

2013-08-28 Thread Bo Shen
Drop unused CONFIG_NET_MULTI Signed-off-by: Bo Shen voice.s...@gmail.com --- include/configs/sama5d3xek.h |1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/sama5d3xek.h b/include/configs/sama5d3xek.h index 4099198..76fa500 100644 --- a/include/configs/sama5d3xek.h +++ b

[U-Boot] [PATCH] MTD: atmel_nand: support for software BCH ECC

2013-08-28 Thread Bo Shen
Add possible to use software BCH ECC for atmel nand driver Signed-off-by: Bo Shen voice.s...@gmail.com --- drivers/mtd/nand/atmel_nand.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index 96aca00..52efbee 100644

Re: [U-Boot] [PATCH 1/4] gpio: atmel: fix code to use pointer for pio port

2013-08-22 Thread Bo Shen
testing for all Atmel EK board, I will send out the patch. If this series can go into this release will be better. As if without the common GPIO API patch applied, we can not use gpio command, software i2c support and etc. Best regards Andreas Bießmann Best Regards, Bo Shen

Re: [U-Boot] [PATCH 3/4] gpio: atmel: add gpio common API support

2013-08-22 Thread Bo Shen
Hi Andreas, On 8/22/2013 14:34, Andreas Bießmann wrote: I'm fine if you just send a v2 of the 1/4 patch. I can remove the cast in here and will_not_ apply 2/4 cause it breaks boards. OK, I will send out the v2 of the 1/4 patch. Best regards Andreas Bießmann Best Regards, Bo Shen

[U-Boot] [PATCH v2] gpio: atmel: fix code to use pointer for pio port

2013-08-22 Thread Bo Shen
fix code to use pointer for pio port as the warning message suggested remove the warning message Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - fix indention - change the return type of at91_pio_get_port() to avoid many cast drivers/gpio/at91_gpio.c | 250

Re: [U-Boot] [PATCH 1/4] gpio: atmel: fix code to use pointer for pio port

2013-08-21 Thread Bo Shen
Hi Andreas, On 8/21/2013 23:08, Andreas Bießmann wrote: Hi Bo, On 08/13/2013 08:38 AM, Bo Shen wrote: fix code to use pointer for pio port as the warning message suggested remove the warning message Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/gpio/at91_gpio.c | 232

Re: [U-Boot] [PATCH 3/4] gpio: atmel: add gpio common API support

2013-08-21 Thread Bo Shen
Hi Andreas, On 8/21/2013 23:14, Andreas Bießmann wrote: On 08/13/2013 08:38 AM, Bo Shen wrote: add gpio common API support for gpio command Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/gpio/at91_gpio.c | 43 +++ 1 file changed, 43

Re: [U-Boot] U-Boot Driver Development on Atmel's sama5d3xek

2013-08-20 Thread Bo Shen
were looking for more tutorial. Thank you for your help. With Best Regards. Steven. Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] U-Boot Driver Development on Atmel's sama5d3xek

2013-08-19 Thread Bo Shen
Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] U-Boot Driver Development on Atmel's sama5d3xek

2013-08-19 Thread Bo Shen
subsystem in uboot for more detail information. Thank you for the link to the patch With Best Regards Steven Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] net: macb: fix the following building warning

2013-08-18 Thread Bo Shen
fix the following building warning ---8--- macb.c: In function 'macb_init': macb.c:400:14: warning: 'phydev' may be used uninitialized in this function macb.c:377:21: note: 'phydev' was declared here ---8--- Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/net/macb.c | 12

[U-Boot] [PATCH] net: macb: fix the building warning

2013-08-15 Thread Bo Shen
fix the following building warning ---8--- macb.c: In function 'macb_init': macb.c:400:14: warning: 'phydev' may be used uninitialized in this function macb.c:377:21: note: 'phydev' was declared here ---8--- Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/net/macb.c |2 +- 1 file

Re: [U-Boot] [PATCH 2/3] net: macb: using phylib to configure phy device

2013-08-15 Thread Bo Shen
this. The fix patch has been sent out. More information at: http://patchwork.ozlabs.org/patch/267530/ (net: macb: fix the building warning) Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 0/4] gpio: atmel: fix code to use pointer for pio port

2013-08-13 Thread Bo Shen
atmel ek board Bo Shen (4): gpio: atmel: fix code to use pointer for pio port gpio: atmel: remove the at91_pio definition gpio: atmel: add gpio common API support gpio: atmel: add copyright and remove error header info arch/arm/include/asm/arch-at91/at91_pio.h | 15 -- drivers/gpio

[U-Boot] [PATCH 1/4] gpio: atmel: fix code to use pointer for pio port

2013-08-13 Thread Bo Shen
fix code to use pointer for pio port as the warning message suggested remove the warning message Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/gpio/at91_gpio.c | 232 ++ 1 file changed, 134 insertions(+), 98 deletions(-) diff --git

[U-Boot] [PATCH 2/4] gpio: atmel: remove the at91_pio definition

2013-08-13 Thread Bo Shen
the at91_pio definition is no longer needed, so remove it Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/include/asm/arch-at91/at91_pio.h | 15 --- 1 file changed, 15 deletions(-) diff --git a/arch/arm/include/asm/arch-at91/at91_pio.h b/arch/arm/include/asm/arch-at91

[U-Boot] [PATCH 3/4] gpio: atmel: add gpio common API support

2013-08-13 Thread Bo Shen
add gpio common API support for gpio command Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/gpio/at91_gpio.c | 43 +++ 1 file changed, 43 insertions(+) diff --git a/drivers/gpio/at91_gpio.c b/drivers/gpio/at91_gpio.c index 15f396f..3de0844

[U-Boot] [PATCH 4/4] gpio: atmel: add copyright and remove error header info

2013-08-13 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/gpio/at91_gpio.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/at91_gpio.c b/drivers/gpio/at91_gpio.c index 3de0844..72161dc 100644 --- a/drivers/gpio/at91_gpio.c +++ b/drivers/gpio/at91_gpio.c @@ -1,5

[U-Boot] [PATCH] arm: atmel: remove the config.mk file

2013-08-13 Thread Bo Shen
remove the config.mk file move text base define to board config file for following boards - at91sam9m10g45ek - at91sam9x5ek Signed-off-by: Bo Shen voice.s...@atmel.com --- board/atmel/at91sam9m10g45ek/config.mk |1 - board/atmel/at91sam9x5ek/config.mk |1 - include/configs

Re: [U-Boot] [RFC PATCH] env: add default env size for CONFIG_ENV_IS_NOWHERE

2013-08-12 Thread Bo Shen
Hi Wolfgang Denk, On 8/11/2013 10:50 PM, Wolfgang Denk wrote: Dear Bo Shen, In message 1376230503-25331-1-git-send-email-voice.s...@gmail.com you wrote: when CONFIG_ENV_IS_NOWHERE is enabled, it is still need to define CONFIG_ENV_SIZE. So, add a default size (1024 Bytes) to avoid compile

[U-Boot] [RFC PATCH] env: add default env size for CONFIG_ENV_IS_NOWHERE

2013-08-11 Thread Bo Shen
when CONFIG_ENV_IS_NOWHERE is enabled, it is still need to define CONFIG_ENV_SIZE. So, add a default size (1024 Bytes) to avoid compile error if not define CONFIG_ENV_SIZE Signed-off-by: Bo Shen voice.s...@gmail.com --- The default value for CONFIG_ENV_SIZE (1024 Bytes) maybe not the better

[U-Boot] [PATCH] arm: atmel: sama5d3: fix typo error for CONFIG_ENV_IS_NOWHERE

2013-08-11 Thread Bo Shen
fix typo error for CONFIG_ENV_IS_NOWHERE from CONIG_ENV_IS_NOWHERE Signed-off-by: Bo Shen voice.s...@gmail.com --- include/configs/sama5d3xek.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/sama5d3xek.h b/include/configs/sama5d3xek.h index 10697d6

[U-Boot] [PATCH] arm: sama5d3: fix smc cs related registers offset

2013-08-09 Thread Bo Shen
the smc cs related registers start at 0x600 and loop with 5 registers so the reserved register should be in at91_smc structure while no in at91_cs structure. So fix it Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/include/asm/arch-at91/sama5d3_smc.h |2 +- 1 file changed, 1

[U-Boot] [PATCH] arm: sama5d3: remove unused define

2013-08-09 Thread Bo Shen
The CONFIG_MAX_NAND_CHIPS never used, remove it No where define LCD_TEST_PATTERN, so no need undefine Signed-off-by: Bo Shen voice.s...@atmel.com --- include/configs/sama5d3xek.h |2 -- 1 file changed, 2 deletions(-) diff --git a/include/configs/sama5d3xek.h b/include/configs/sama5d3xek.h

Re: [U-Boot] [PATCH] arm: at91sam9n12: change EBI IO to high drive mode

2013-07-21 Thread Bo Shen
Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] arm: at91sam9n12: change EBI IO to high drive mode

2013-07-18 Thread Bo Shen
Hi Albert, On 07/17/2013 06:42 PM, Albert ARIBAUD wrote: Hi Bo, On Wed, 17 Jul 2013 18:27:29 +0800, Bo Shen voice.s...@atmel.com wrote: Hi Albert, On 07/17/2013 06:10 PM, Albert ARIBAUD wrote: Hi Bo, On Wed, 17 Jul 2013 17:14:17 +0800, Bo Shen voice.s...@atmel.com wrote: As both the DDR

[U-Boot] [PATCH] arm: at91sam9n12: change EBI IO to high drive mode

2013-07-17 Thread Bo Shen
address Signed-off-by: Bo Shen voice.s...@atmel.com --- board/atmel/at91sam9n12ek/at91sam9n12ek.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/atmel/at91sam9n12ek/at91sam9n12ek.c b/board/atmel/at91sam9n12ek/at91sam9n12ek.c index 3013a42..66c4c1f 100644 --- a/board

Re: [U-Boot] [PATCH] arm: at91sam9n12: change EBI IO to high drive mode

2013-07-17 Thread Bo Shen
Hi Albert, On 07/17/2013 06:10 PM, Albert ARIBAUD wrote: Hi Bo, On Wed, 17 Jul 2013 17:14:17 +0800, Bo Shen voice.s...@atmel.com wrote: As both the DDR SDRAM and NAND flash connect to EBI on at91sam9n12 and share the lower 8 bits data line. If use low drive of the data line, it will cause

Re: [U-Boot] [RFC PATCH] arm: arm926ejs: flush cache before disable it

2013-07-07 Thread Bo Shen
Hi Albert, 于 7/6/2013 5:02 AM, Albert ARIBAUD 写道: Hi Bo, On Tue, 2 Jul 2013 12:35:54 +, Bo Shen voice.s...@gmail.com wrote: flush cache before disable it Signed-off-by: Bo Shen voice.s...@gmail.com --- arch/arm/cpu/arm926ejs/cpu.c |5 ++--- 1 file changed, 2 insertions(+), 3

Re: [U-Boot] : MACB TX timeout

2013-07-05 Thread Bo Shen
Hi Jagan, On 7/5/2013 10:48, Jagan Teki wrote: Hi Bo Shen, Thanks for your info. On Fri, Jul 5, 2013 at 7:04 AM, Bo Shen voice.s...@atmel.com wrote: Hi Jagan Teki, On 7/5/2013 03:36, Jagan Teki wrote: Hi, Did anyone find this TX timeout issue on macb(gmac)? I observed this issue when i

Re: [U-Boot] : MACB TX timeout

2013-07-04 Thread Bo Shen
be enabled. Any help.! -- Thanks, Jagan. Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [RFC PATCH] arm: arm926ejs: flush cache before disable it

2013-07-02 Thread Bo Shen
flush cache before disable it Signed-off-by: Bo Shen voice.s...@gmail.com --- arch/arm/cpu/arm926ejs/cpu.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/cpu.c b/arch/arm/cpu/arm926ejs/cpu.c index 626384c..10aa165 100644 --- a/arch/arm/cpu

[U-Boot] Build error of u-boot mater branch

2013-06-27 Thread Bo Shen
for mcf5441x) And lib/rsa/rsa-sign.c commit id is: 19c402afa2e1190f596f35a84ac049b10d814f1f (image: Add RSA support for image signing) Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Build error of u-boot mater branch

2013-06-27 Thread Bo Shen
Hi Enric, 于 6/27/2013 10:55 PM, Enric Balletbo Serra 写道: Hi Bo, 2013/6/27 Bo Shen voice.s...@gmail.com: Hi All, When build u-boot master branch, I meet the following of error. ---8--- lib/rsa/rsa-sign.c:26:25: fatal error: openssl/rsa.h: No such file or directory ---8--- The master git

[U-Boot] u-boot can boot Linux in zImage format while not in uImage format

2013-06-26 Thread Bo Shen
possible reason will cause this issue? Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] u-boot can boot Linux in zImage format while not in uImage format

2013-06-26 Thread Bo Shen
Hi Fabio, On 06/27/2013 11:19 AM, Fabio Estevam wrote: On Wed, Jun 26, 2013 at 11:47 PM, Bo Shen voice.s...@atmel.com wrote: Hi All, I am meeting a strange issue. The u-boot can boot device tree supported Linux in zImage format and can not boot in uImage format. The detail information

Re: [U-Boot] u-boot can boot Linux in zImage format while not in uImage format

2013-06-26 Thread Bo Shen
Hi Wolfgang Denk, On 06/27/2013 01:39 PM, Wolfgang Denk wrote: Dear Bo Shen, In message 51cbb1c0.2090...@atmel.com you wrote: ## Booting kernel from Legacy Image at 2200 ... Image Name: Linux-3.10.0-rc7+ Image Type: ARM Linux Kernel Image (uncompressed) Data Size

Re: [U-Boot] Help with Glomation GESBC-9G20

2013-06-25 Thread Bo Shen
Hi Larry Baker, On 06/26/2013 02:02 AM, Larry Baker wrote: On 24 Jun 2013, at 1:22 AM, Bo Shen wrote: Hi Larry Baker, On 6/24/2013 16:02, Larry Baker wrote: I have found why the latest U-Boot does not work on my Glomation GESBC-9G20 board. Two causes: a bad code text segment address

<    1   2   3   4   5   6   >