[U-Boot] [PATCH 2/2] ARM: atmel: sama5d3xek: enable NOR flash support

2014-06-20 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- include/configs/sama5d3xek.h | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/include/configs/sama5d3xek.h b/include/configs/sama5d3xek.h index da27180..63d6775 100644 --- a/include/configs/sama5d3xek.h +++ b/include

[U-Boot] [PATCH 1/2] ARM: atmel: sama5d3xek: add nor flash init function

2014-06-20 Thread Bo Shen
Add NOR flash hardware init function, including SMC and PIO configuration. Signed-off-by: Bo Shen voice.s...@atmel.com --- board/atmel/sama5d3xek/sama5d3xek.c | 58 + 1 file changed, 58 insertions(+) diff --git a/board/atmel/sama5d3xek/sama5d3xek.c b/board

Re: [U-Boot] Atmel SAMA5D31 NOR boot - sanity check required

2014-06-17 Thread Bo Shen
I mean, if any questions, please let me know. Many thanks, Andy. 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 1/2] ARM: at91sam9m10g45ek: enable mci0 support

2014-05-21 Thread Bo Shen
Hi Josh, On 05/21/2014 10:42 AM, Josh Wu wrote: Also we enable the mmc command in configuration file. As both CONFIG_CMD_MMC and CONFIG_CMD_USB use the CONFIG_DOS_PARTITION, so remove the redundant CONFIG_DOS_PARTITION definition. Signed-off-by: Josh Wu josh...@atmel.com Acked-by: Bo Shen

Re: [U-Boot] [PATCH v2 2/2] ARM: at91sam9m10g45ek: add mmc environment configuration support

2014-05-21 Thread Bo Shen
Hi Josh, On 05/21/2014 10:42 AM, Josh Wu wrote: In this configuration the environment will save in file: uboot.env of mmc card. Signed-off-by: Josh Wu josh...@atmel.com Acked-by: Bo Shen voice.s...@atmel.com --- v1 - v2: 1. remove mem=128m and roottype in bootargs. 2. default boot

Re: [U-Boot] [PATCH v2 1/3] ARM: at91sam9x5: define the AT91FAMILY and ARM926EJS in SoC header

2014-05-20 Thread Bo Shen
Hi Josh, On 05/20/2014 05:44 PM, Josh Wu wrote: Signed-off-by: Josh Wu josh...@atmel.com For the whole patch set. Acked-by: Bo Shen voice.s...@atmel.com --- v1 - v2: 1. split the patch alone. 2. add missed ARM926EJS macro. arch/arm/include/asm/arch-at91/at91sam9x5.h |3 +++ 1

Re: [U-Boot] [PATCH] ARM: at91: remove AT91X40 macro since it is not use any more

2014-05-20 Thread Bo Shen
Hi Josh, On 05/20/2014 05:27 PM, Josh Wu wrote: The at91x40.h is not exist. So we remove it. Signed-off-by: Josh Wu josh...@atmel.com Acked-by: Bo Shen voice.s...@atmel.com --- arch/arm/include/asm/arch-at91/hardware.h |2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm

Re: [U-Boot] [PATCH 1/2] ARM: at91sam9m10g45ek: enable mci0 support

2014-05-20 Thread Bo Shen
CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS2 -#define CONFIG_DOS_PARTITION #define CONFIG_USB_STORAGE #define CONFIG_SYS_LOAD_ADDR 0x2200 /* load address */ Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de

Re: [U-Boot] [PATCH 2/2] ARM: at91sam9m10g45ek: add mmc environment configuration support

2014-05-20 Thread Bo Shen
Can we switch to zImage? As we try to support multi-platform with single image in kernel. +#endif #define CONFIG_BAUDRATE 115200 Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de

Re: [U-Boot] [PATCH v2 2/3] arm:at91: enable ROM loadable atmel image

2014-05-19 Thread Bo Shen
Hi Andreas, On 05/19/2014 03:48 PM, Andreas Bießmann wrote: Hi Bo, On 05/19/2014 05:13 AM, Bo Shen wrote: On 05/16/2014 05:59 PM, Andreas Bießmann wrote: For sama5d3xek we need to modify the SPL image for correct detection by ROM code. Signed-off-by: Andreas Bießmann andreas.de

Re: [U-Boot] [PATCH v3 1/3] mkimage: add atmelimage

2014-05-19 Thread Bo Shen
set ---8--- A SPL binary modified with the atmelimage mkimage target was succesfully booted on a sama5d34ek via MMC and NAND. Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com Cc: Bo Shen voice.s...@atmel.com Cc: Heiko Schocher h...@denx.de Thanks for your great work. For the whole

Re: [U-Boot] [PATCH v2 1/3] net: macb: enable dcache in macb

2014-05-19 Thread Bo Shen
/s Enable DCache: 1.6 MiB/s Increase speed with about 40%. The code should have no impact with the boards which are not enable_dcache(). Tested in AT91SAM9M10G45EK. Signed-off-by: Josh Wu josh...@atmel.com For this patch set, tested ok on sama5d3xek board. Tested-by: Bo Shen voice.s

Re: [U-Boot] [PATCH v2 2/3] arm:at91: enable ROM loadable atmel image

2014-05-18 Thread Bo Shen
($(CONFIG_SYS_USE_NANDFLASH),y) +MKIMAGEFLAGS_boot.bin += -n $(subst $(space),,$(ATMEL_NAND_HEADER)) +endif +endif + +boot.bin: $(obj)/u-boot-spl.bin + $(call if_changed,mkimage) + ALL-y += $(obj)/$(SPL_BIN).bin ifdef CONFIG_SAMSUNG Best Regards, Bo Shen ___ U

Re: [U-Boot] [PATCH 2/2] ARMv7: at91: enable ICache and DCache.

2014-05-16 Thread Bo Shen
()) { sama5d3xek_lcd_hw_init(); + + /* Enable flushing as we enabled dcache */ + lcd_set_flush_dcache(1); Why not implement in driver, or else, each SoC enable dcache will need add this. + } #endif return 0; } Best Regards, Bo Shen

Re: [U-Boot] [PATCH 2/2] ARMv7: at91: enable ICache and DCache.

2014-05-16 Thread Bo Shen
, if there is really have issues, can make this condition with CONFIG_SYS_DCACHE_OFF? Best Regards, Josh Wu 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] at91: move CONFIG_AT91FAMILY from board config file to hardware.h

2014-05-16 Thread Bo Shen
not hardware.h). The other is to remove multiple times definition CONFIG_AT91FAMILY. Btw, can you add a little bit words into commit message. Best Regards, Bo Shen diff --git a/arch/arm/include/asm/arch-at91/at91sam9x5.h b/arch/arm/include/asm/arch-at91/at91sam9x5.h index a471038..36a5cdf 100644

Re: [U-Boot] [RFC PATCH 0/2] Add atmel ROM code image

2014-04-23 Thread Bo Shen
flash boot.bin to NAND flash won't work). So, do you plan to add following patch? 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 1/2] mkimage: add atmelimage

2014-04-23 Thread Bo Shen
it more strictly (e.g: sam9x5 only support up to 24k bytes). 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 2/2] arm:at91: enable ROM loadable atmel image

2014-04-23 Thread Bo Shen
Hi Andreas, On 04/23/2014 10:29 PM, Andreas Bießmann wrote: For sama5d3xek we need to modify the SPL image for correct detection by ROM code. Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com For whole series, Tested-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/armv7

[U-Boot] [PATCH 1/4] ARM: atmel: sama5d3xek: convert to generic board

2014-04-23 Thread Bo Shen
Enable CONFIG_SYS_GENERIC_BOARD, so that we get rid of the following warning on boot: Warning: Your board does not use generic board. Please read doc/README.generic-board and take action. Boards not upgraded by the late 2014 may break or be removed. Signed-off-by: Bo Shen voice.s...@atmel.com

[U-Boot] [PATCH 2/4] ARM: atmel: sama5d3_xplained: convert to generic board

2014-04-23 Thread Bo Shen
Enable CONFIG_SYS_GENERIC_BOARD, so that we get rid of the following warning on boot: Warning: Your board does not use generic board. Please read doc/README.generic-board and take action. Boards not upgraded by the late 2014 may break or be removed. Signed-off-by: Bo Shen voice.s...@atmel.com

[U-Boot] [PATCH 3/4] ARM: atmel: at91sam9m10g45ek: convert to generic board

2014-04-23 Thread Bo Shen
Enable CONFIG_SYS_GENERIC_BOARD, so that we get rid of the following warning on boot: Warning: Your board does not use generic board. Please read doc/README.generic-board and take action. Boards not upgraded by the late 2014 may break or be removed. Signed-off-by: Bo Shen voice.s...@atmel.com

[U-Boot] [PATCH 4/4] ARM: atmel: at91sam9x5ek: convert to generic board

2014-04-23 Thread Bo Shen
Enable CONFIG_SYS_GENERIC_BOARD, so that we get rid of the following warning on boot: Warning: Your board does not use generic board. Please read doc/README.generic-board and take action. Boards not upgraded by the late 2014 may break or be removed. Signed-off-by: Bo Shen voice.s...@atmel.com

Re: [U-Boot] [PATCH] lib/sha256: fix compile on some hosts

2014-04-20 Thread Bo Shen
+#include string.h #endif /* USE_HOSTCC */ #include watchdog.h -#include linux/string.h #include sha256.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] [PATCH] config: remove platform CONFIG_SYS_HZ definition part 4

2014-04-18 Thread Bo Shen
Hi Masahiro Yamada, On 04/18/2014 04:46 PM, Masahiro Yamada wrote: Some new boards define CONFIG_SYS_HZ again! Remove. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Thanks. Acked-by: Bo Shen voice.s...@atmel.com --- include/configs/T208xRDB.h | 1 - include/configs

Re: [U-Boot] [PATCH] spl: consolidate arch/arm/include/asm/arch-*/spl.h

2014-04-16 Thread Bo Shen
...@samsung.com Cc: Dinh Nguyendingu...@altera.com --- arch/arm/cpu/arm720t/tegra-common/spl.c | 2 +- arch/arm/include/asm/arch-at91/spl.h | 24 Tested ok on sama5d3xek board for at91 part. Tested-by: Bo Shen voice.s...@atmel.com Best Regards, Bo Shen

Re: [U-Boot] [PATCH v3 4/5] usb/gadget: add the fastboot gadget

2014-04-13 Thread Bo Shen
Hi Rob, On 04/11/2014 08:55 PM, Rob Herring wrote: On Fri, Apr 11, 2014 at 2:14 AM, Bo Shen voice.s...@atmel.com wrote: Hi Rob Herring, I am just do a function testing on Atmel sama5d3xek board. And a small comment as following. Btw, do you test to transfer big size file. I try a file

Re: [U-Boot] [PATCH v3 4/5] usb/gadget: add the fastboot gadget

2014-04-11 Thread Bo Shen
, + .unbind = fastboot_unbind, + .setup = fastboot_setup, + .disconnect = fastboot_disconnect, +}; Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 1/2] ARM: atmel: switch to main crystal osc for SPL boot

2014-03-19 Thread Bo Shen
If without switch to main crystal oscillator, the sama5d3 SoC will use internal on chip RC oscillator. In order to get better accuracy, switch to main crystal oscillator. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/at91-common/spl.c| 39

[U-Boot] [PATCH 2/2] ARM: atmel: enable SPL on sama5d3_xplained board

2014-03-19 Thread Bo Shen
It supports boot from NAND and SD/MMC card. Signed-off-by: Bo Shen voice.s...@atmel.com --- board/atmel/sama5d3_xplained/sama5d3_xplained.c | 87 + include/configs/sama5d3_xplained.h | 50 ++ 2 files changed, 137 insertions(+) diff --git a/board

[U-Boot] [PATCH v2 0/3] arm: atmel: sama5d3: add spi and nand spl boot support

2014-03-03 Thread Bo Shen
This patch enable spi and nand spl boot support on sama5d3xek Changes in v2: - Address the comments from Scott Wood Bo Shen (3): arm: atmel: sama5d3: add spi spl boot support mtd: nand: atmel: prepare for nand spl boot support arm: atmel: sama5d3: add nand spl boot support arch/arm/cpu

[U-Boot] [PATCH v2 3/3] arm: atmel: sama5d3: add nand spl boot support

2014-03-03 Thread Bo Shen
Add NAND SPL boot support with hardware PMECC. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - NONE arch/arm/cpu/at91-common/spl.c | 2 ++ arch/arm/include/asm/arch-at91/spl.h | 2 ++ board/atmel/sama5d3xek/sama5d3xek.c | 2 ++ include/configs/sama5d3xek.h

[U-Boot] [PATCH v2 1/3] arm: atmel: sama5d3: add spi spl boot support

2014-03-03 Thread Bo Shen
Add SPI SPL boot support for sama5d3xek board. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - NONE arch/arm/cpu/at91-common/spl.c | 2 ++ arch/arm/include/asm/arch-at91/spl.h | 2 ++ board/atmel/sama5d3xek/sama5d3xek.c | 2 ++ include/configs/sama5d3xek.h

[U-Boot] [PATCH v2 2/3] mtd: nand: atmel: prepare for nand spl boot support

2014-03-03 Thread Bo Shen
Prepare for nand spl boot support. It supports nand software ECC and hardware PMECC. This patch is take drivers/mtd/nand/nand_spl_simple.c as reference. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - Address the comments from Scott Wood drivers/mtd/nand/atmel_nand.c | 208

Re: [U-Boot] [PATCH 2/3] mtd: nand: atmel: prepare for nand spl boot support

2014-03-03 Thread Bo Shen
Hi Scott, On 03/03/2014 10:41 AM, Bo Shen wrote: +#ifdef CONFIG_SPL_NAND_SOFTECC This symbol needs to be documented (I realize it isn't new). OK, I will document it. I see in README file, it uses CONFIG_SPL_NAND_ECC for software ecc selection. So, I will use this one while not add new

Re: [U-Boot] [PATCH 2/3] mtd: nand: atmel: prepare for nand spl boot support

2014-03-03 Thread Bo Shen
Hi Scott, On 02/28/2014 08:35 AM, Scott Wood wrote: On Mon, 2013-12-02 at 11:24 +0800, Bo Shen wrote: Prepare for nand spl boot support. It supports nand software ECC and hardware PMECC. This patch is take drivers/mtd/nand/nand_spl_simple.c as reference. Signed-off-by: Bo Shen voice.s

[U-Boot] logo part Makefile doesn't work as expected

2014-03-03 Thread Bo Shen
),) LOGO_BMP= $(srctree)/$(src)/logos/$(BOARD).bmp else ifneq ($(wildcard logos/$(VENDOR).bmp),) LOGO_BMP= $(srctree)/$(src)/logos/$(VENDOR).bmp endif endif ---8--- Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de

Re: [U-Boot] [PATCH] kbuild: tools: fix a bug that always builds Denx logo

2014-03-03 Thread Bo Shen
Hi Masahiro Yamada, On 03/03/2014 05:40 PM, Masahiro Yamada wrote: LOGO_BMP was never overwritten by board-specific or vendor-specific logos. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Reported-by: Bo Shen voice.s...@atmel.com --- tools/Makefile | 4 ++-- 1 file changed, 2

[U-Boot] [PATCH] ARM: atmel: add sama5d3 Xplained board support

2014-02-09 Thread Bo Shen
Add sama5d3 Xplained board support which use Atmel SAMA5D36 SoC. Now it supports boot from NAND flash and SD/MMC card. Features support: - NAND flash - SD/MMC card - Two USB hosts - Ethernet (one GMAC, one EMAC) Signed-off-by: Bo Shen voice.s...@atmel.com --- board/atmel

Re: [U-Boot] [PATCH] ARM: atmel: add sama5d3 Xplained board support

2014-02-09 Thread Bo Shen
Hi Wolfgang Denk, On 02/09/2014 07:13 PM, Wolfgang Denk wrote: Dear Bo Shen, In message 1391932359-23520-1-git-send-email-voice.s...@atmel.com you wrote: Add sama5d3 Xplained board support which use Atmel SAMA5D36 SoC. Now it supports boot from NAND flash and SD/MMC card. Features support

[U-Boot] [PATCH v2 1/3] arm: atmel: at91sam9x5: cleanup cs configure for spi

2013-12-17 Thread Bo Shen
As the cs for spi is worked in gpio mode, so no need to configure it as peripheral and then configure to gpio. Configure it to gpio directly. Signed-off-by: Bo Shen voice.s...@atmel.com --- Change in v2: - only move line to configure it to peripheral --- board/atmel/at91sam9x5ek/at91sam9x5ek.c

Re: [U-Boot] [PATCH 0/3] arm: atmel: clean up for at91sam9x5ek board

2013-12-17 Thread Bo Shen
Hi Andreas, On 12/17/2013 05:07 PM, Andreas Bießmann wrote: Hi Bo, On 12/10/2013 09:13 AM, Bo Shen wrote: This patch series do a clean up for at91sam9x5ek board. I think this series is to fixup broken things, therefore could be applied for upcomming release. Can you please provide v1 for 1

Re: [U-Boot] [PATCH 0/3] arm: atmel: clean up for at91sam9x5ek board

2013-12-17 Thread Bo Shen
Hi Andreas, On 12/17/2013 05:07 PM, Andreas Bießmann wrote: Hi Bo, On 12/10/2013 09:13 AM, Bo Shen wrote: This patch series do a clean up for at91sam9x5ek board. I think this series is to fixup broken things, therefore could be applied for upcomming release. Can you please provide v1 for 1

Re: [U-Boot] booting issue with Atmel SAMA5D31 Evaluation kit

2013-12-15 Thread Bo Shen
this device. Thanks, Ron Best regards 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] booting issue with Atmel SAMA5D31 Evaluation kit

2013-12-15 Thread Bo Shen
but that's gone since the key combo Andreas had suggested and the screen just stays blank so I assume that the flash got completely erased... Any assistance to get that kit booting again is appreciated! Thanks, Ron Best Regards, Bo Shen ___ U-Boot

[U-Boot] [PATCH] Makefile: fix the typo error for mrproper

2013-12-15 Thread Bo Shen
Fix the typo error for mrproper from mkproper. Signed-off-by: Bo Shen voice.s...@atmel.com --- In Makefile, there is no object name is mkproper, so I think this is a typo error. Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7310c4e

Re: [U-Boot] Creating U-Boot env image

2013-12-11 Thread Bo Shen
once again, but I'm still getting this error. What should I do to flash environment values directly to the board's NAND? Best regards, Alexey Smishlayev Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman

[U-Boot] [PATCH 1/3] arm: atmel: at91sam9x5: cleanup cs configure for spi

2013-12-10 Thread Bo Shen
As the cs for spi is worked in gpio mode, so no need to configure it as peripheral and then configure to gpio. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c | 28 +- board/atmel/at91sam9x5ek/at91sam9x5ek.c |1

[U-Boot] [PATCH 3/3] arm: atmel: at91sam9x5: move CONFIG_SYS_NO_FLASH to proper position

2013-12-10 Thread Bo Shen
In config_cmd_default.h, it will use CONFIG_SYS_NO_FLASH to decide whether include CONFIG_CMD_FLASH and CONFIG_CMD_IMLS. So, move the CONFIG_SYS_NO_FLASH to proper position, then we don't need to undef these two commands. Signed-off-by: Bo Shen voice.s...@atmel.com --- include/configs

[U-Boot] [PATCH 0/3] arm: atmel: clean up for at91sam9x5ek board

2013-12-10 Thread Bo Shen
This patch series do a clean up for at91sam9x5ek board. Bo Shen (3): arm: atmel: at91sam9x5: cleanup cs configure for spi arm: atmel: at91sam9x5: cleanup unneeded undef arm: atmel: at91sam9x5: move CONFIG_SYS_NO_FLASH to proper position arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c

[U-Boot] [PATCH 2/3] arm: atmel: at91sam9x5: cleanup unneeded undef

2013-12-10 Thread Bo Shen
remove unneeded #undef for at91sam9x5ek board. Signed-off-by: Bo Shen voice.s...@atmel.com --- include/configs/at91sam9x5ek.h |5 - 1 file changed, 5 deletions(-) diff --git a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h index ea9a50e..4eeaf3b 100644 --- a/include

Re: [U-Boot] [PATCH 2/4] usb: dfu: f_dfu: Provide infrastructure to adjust DFU's Poll Timeout value

2013-12-10 Thread Bo Shen
, the bwPolTimeout field of DFU_GETSTATUS request has 3 bytes in size. Thanks for clarify this. Tested OK on sama5d3xek board. Tested-by: Bo Shen voice.s...@atmel.com #endif /* __F_DFU_H_ */ Best Regards, Bo Shen Best Regards, Bo Shen ___ U

Re: [U-Boot] [PATCH 1/3] arm: atmel: sama5d3: add spi spl boot support

2013-12-09 Thread Bo Shen
Hi Andreas, On 12/09/2013 06:28 PM, Andreas Bießmann wrote: Hi Bo, On 12/02/2013 04:24 AM, Bo Shen wrote: Add SPI SPL boot support for sama5d3xek board. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/at91-common/spl.c |2 ++ arch/arm/include/asm/arch-at91/spl.h

Re: [U-Boot] [PATCH 2/4] usb: dfu: f_dfu: Provide infrastructure to adjust DFU's Poll Timeout value

2013-12-09 Thread Bo Shen
wTransferSize; __le16 bcdDFUVersion; } __packed; + +#define DFU_POLL_TIMEOUT_MASK (0xFFUL) Why this value? How about (~0UL)? #endif /* __F_DFU_H_ */ Best Regards, Bo Shen ___ U

[U-Boot] [PATCH 0/3] arm: atmel: sama5d3: add spi and nand spl boot support

2013-12-01 Thread Bo Shen
This patch enable spi and nand spl boot support on sama5d3xek Bo Shen (3): arm: atmel: sama5d3: add spi spl boot support mtd: nand: atmel: prepare for nand spl boot support arm: atmel: sama5d3: add nand spl boot support arch/arm/cpu/at91-common/spl.c |4 + arch/arm/include/asm

[U-Boot] [PATCH 2/3] mtd: nand: atmel: prepare for nand spl boot support

2013-12-01 Thread Bo Shen
Prepare for nand spl boot support. It supports nand software ECC and hardware PMECC. This patch is take drivers/mtd/nand/nand_spl_simple.c as reference. Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/mtd/nand/atmel_nand.c | 206 + include/nand.h

[U-Boot] [PATCH 3/3] arm: atmel: sama5d3: add nand spl boot support

2013-12-01 Thread Bo Shen
Add NAND SPL boot support with hardware PMECC. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/at91-common/spl.c |2 ++ arch/arm/include/asm/arch-at91/spl.h |2 ++ board/atmel/sama5d3xek/sama5d3xek.c |2 ++ include/configs/sama5d3xek.h | 12

[U-Boot] [PATCH 1/3] arm: atmel: sama5d3: add spi spl boot support

2013-12-01 Thread Bo Shen
Add SPI SPL boot support for sama5d3xek board. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/at91-common/spl.c |2 ++ arch/arm/include/asm/arch-at91/spl.h |2 ++ board/atmel/sama5d3xek/sama5d3xek.c |2 ++ include/configs/sama5d3xek.h | 11

Re: [U-Boot] [PATCH 1/4] at91: add new gpio pin definitions

2013-12-01 Thread Bo Shen
/arch-at91/gpio.h | 24 +++- drivers/gpio/at91_gpio.c |4 +--- 2 files changed, 24 insertions(+), 4 deletions(-) For this series, tested OK on at91sam9n12ek and at91sam9x5ek board. Thanks. Tested-by: Bo Shen voice.s...@atmel.com Best Regards, Bo Shen

Re: [U-Boot] [PATCH 2/2] ARM: at91: sama5d3: mmc: save enviroment as a fat file (uboot.env)

2013-11-22 Thread Bo Shen
0x2200 - 0x2100 Best Regards, Bo Shen ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] arm: atmel: sam9m10g45ek: let CONFIG_SYS_NO_FLASH at proper position

2013-11-19 Thread Bo Shen
position. Signed-off-by: Bo Shen voice.s...@atmel.com --- include/configs/at91sam9m10g45ek.h |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/configs/at91sam9m10g45ek.h b/include/configs/at91sam9m10g45ek.h index 2095fe6..eb86239 100644 --- a/include/configs

Re: [U-Boot] [PATCH v2] arm926ejs, at91: add common phy_reset function

2013-11-18 Thread Bo Shen
Hi Heiko, On 11/18/2013 03:07 PM, Heiko Schocher wrote: add common phy reset code into a common function. Signed-off-by: Heiko Schocher h...@denx.de Cc: Andreas Bießmann andreas.de...@googlemail.com Cc: Bo Shen voice.s...@atmel.com Cc: Jens Scharsig e...@bus-elektronik.de Cc: Sergey Lapin sla

Re: [U-Boot] tr

2013-11-15 Thread Bo Shen
it? Thank you! and greetings Frank 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 5/6] arm: atmel: add ddr2 initialization function

2013-11-14 Thread Bo Shen
Hi Andreas, On 11/14/2013 03:42 PM, Andreas Bießmann wrote: Hi Bo, On 11/14/2013 07:40 AM, Bo Shen wrote: On 11/13/2013 09:03 PM, Andreas Bießmann wrote: On 11/06/2013 06:29 AM, Bo Shen wrote: snip +static void atmel_mpddr_op(int mode, u32 ram_address) static inline, could give

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

2013-11-14 Thread Bo Shen
. Changes in v3: - Correct the clock enable code, the ID can not OR - Move to at91 common folder - Move plla and mck configure to spl.c file Changes in v2: - Move spl related code to at91-common folder Bo Shen (7): arm: atmel: sama5d3: correct the ID for DBGU and PIT arm: at91: pm9261: remove

[U-Boot] [PATCH v4 2/7] arm: at91: pm9261: remove undefined bit in mckr

2013-11-14 Thread Bo Shen
The PLLADIV2 bit is not defined in at91sam9261 SoC, so remove it. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v4: - New Changes in v3: - None Changes in v2: - None include/configs/pm9261.h |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include

[U-Boot] [PATCH v4 3/7] arm: atmel: sama5d3: correct the error define of DIV

2013-11-14 Thread Bo Shen
Correct the error define of DIV. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v4: - None Changes in v3: - None Changes in v2: - None 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

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

2013-11-14 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 --- Changes in v4: - None Changes in v3: - None Changes in v2: - None arch/arm/cpu/armv7/at91/sama5d3_devices.c |2 +- arch/arm/cpu/armv7/at91

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

2013-11-14 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 --- Changes in v4: - Using blank replace table after defined - Align the register define with datasheet - constify the ram_address and ddr configuration value

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

2013-11-14 Thread Bo Shen
Enable the PIO peripherals early than other peripherals. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v4: - None Changes in v3: - Correct the clock enable code, the ID can not OR Changes in v2: - None board/atmel/sama5d3xek/sama5d3xek.c |6 ++ 1 file changed, 6

[U-Boot] [PATCH v4 4/7] arm: atmel: sama5d3: the offset of MULA is 18

2013-11-14 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 --- Changes in v4: - None Changes in v3: - None Changes in v2: - None arch/arm/include/asm/arch-at91/at91_pmc.h |4 1 file changed, 4 insertions

[U-Boot] [PATCH v4 7/7] arm: atmel: sama5d3: spl boot from fat fs SD card

2013-11-14 Thread Bo Shen
Enable Atmel sama5d3xek boart spl boot support, which can load u-boot from SD card with FAT file system. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v4: - Add comments to DDR refresh timing register. Changes in v3: - Move plla and mck configure to spl.c file Changes in v2

Re: [U-Boot] [RFC] arm926ejs, at91: add common phy_reset function

2013-11-13 Thread Bo Shen
Hi Heiko, On 11/13/2013 01:04 PM, Heiko Schocher wrote: Hello Bo, Am 13.11.2013 02:35, schrieb Bo Shen: Hi Heiko, On 11/12/2013 09:50 PM, Heiko Schocher wrote: Hello Andreas, Am 12.11.2013 13:56, schrieb Andreas Bießmann: Hello Heiko, On 11/12/2013 11:21 AM, Heiko Schocher wrote: add

Re: [U-Boot] [PATCH v3 2/6] arm: atmel: sama5d3: correct the error define of DIV

2013-11-13 Thread Bo Shen
Hi Andreas, On 11/13/2013 08:20 PM, Andreas Bießmann wrote: Hi Bo, On 11/06/2013 06:29 AM, Bo Shen wrote: Correct the error define of DIV. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v3: - None Changes in v2: - None arch/arm/include/asm/arch-at91/at91_pmc.h |4

Re: [U-Boot] [PATCH v3 5/6] arm: atmel: add ddr2 initialization function

2013-11-13 Thread Bo Shen
Hi Andreas, On 11/13/2013 09:03 PM, Andreas Bießmann wrote: Hi Bo, On 11/06/2013 06:29 AM, Bo Shen wrote: The MPDDRC supports different type of SDRAM This patch add ddr2 initialization function Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v3: - Move to at91 common folder

Re: [U-Boot] [PATCH v3 6/6] arm: atmel: sama5d3: spl boot from fat fs SD card

2013-11-13 Thread Bo Shen
Hi Andreas, On 11/14/2013 02:28 PM, Andreas Bießmann wrote: Hello Heiko, On 14.11.13 06:52, Heiko Schocher wrote: Am 13.11.2013 14:34, schrieb Andreas Bießmann: Hi Bo, On 11/06/2013 06:29 AM, Bo Shen wrote: Enable Atmel sama5d3xek boart spl boot support, which can load u-boot from SD card

Re: [U-Boot] [RFC] arm926ejs, at91: add common phy_reset function

2013-11-12 Thread Bo Shen
on the spl patchset from Bo Shen (as I want to collect this function in at91-common directory), see: http://lists.denx.de/pipermail/u-boot/2013-November/166272.html (reworked this against newest Kconfig Makefile changes ... @Bo: Do you plan an update for this patchset for the Kconfig changes

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

2013-11-11 Thread Bo Shen
-by for this patch, see: http://lists.denx.de/pipermail/u-boot/2013-November/166552.html without this patch nand upload didn;t worked on the rut board, with this patch it worked :-) Thanks for testing it. bye, Heiko Best Regards, Bo Shen ___ U-Boot mailing

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

2013-11-06 Thread Bo Shen
Nowhere pass a value to len, which always 0, make no transfer which cause uploading failed. This patch make nand upload working. However it needs enough malloc buffer to store read data, that means the buffer at least equal to the upload partition size, or else it doesn't work. Signed-off-by: Bo

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

2013-11-05 Thread Bo Shen
Hi Andreas, On 11/1/2013 15:56, Bo Shen wrote: Enable the PIO peripherals early than other peripherals. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - None board/atmel/sama5d3xek/sama5d3xek.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/board/atmel

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

2013-11-05 Thread Bo Shen
Hi Lukasz, On 11/4/2013 18:17, Lukasz Majewski wrote: Hi Bo, 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

Re: [U-Boot] [PATCH] ARM: at91: sama5d3: add support for sama5d36 chip

2013-11-05 Thread Bo Shen
|4 +++- arch/arm/include/asm/arch-at91/sama5d3.h |3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) Acked-by: Bo Shen voice.s...@atmel.com diff --git a/arch/arm/cpu/armv7/at91/sama5d3_devices.c b/arch/arm/cpu/armv7/at91/sama5d3_devices.c index 51f0a6d..7ebee87 100644 --- a/arch

[U-Boot] [PATCH v3 4/6] arm: atmel: sama5d3: early enable PIO peripherals

2013-11-05 Thread Bo Shen
Enable the PIO peripherals early than other peripherals. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v3: - Correct the clock enable code, the ID can not OR Changes in v2: - None board/atmel/sama5d3xek/sama5d3xek.c |6 ++ 1 file changed, 6 insertions(+) diff --git

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

2013-11-05 Thread Bo Shen
This patch series enable spl boot from SD card, it only can boot u-boot itself. Changes in v3: - Correct the clock enable code, the ID can not OR - Move to at91 common folder - Move plla and mck configure to spl.c file Changes in v2: - Move spl related code to at91-common folder Bo Shen

[U-Boot] [PATCH v3 3/6] arm: atmel: sama5d3: the offset of MULA is 18

2013-11-05 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 --- Changes in v3: - None Changes in v2: - None arch/arm/include/asm/arch-at91/at91_pmc.h |4 1 file changed, 4 insertions(+) diff --git a/arch/arm

[U-Boot] [PATCH v3 1/6] arm: atmel: sama5d3: correct the ID for DBGU and PIT

2013-11-05 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 --- Changes in v3: - None Changes in v2: - None arch/arm/cpu/armv7/at91/sama5d3_devices.c |2 +- arch/arm/cpu/armv7/at91/timer.c

[U-Boot] [PATCH v3 6/6] arm: atmel: sama5d3: spl boot from fat fs SD card

2013-11-05 Thread Bo Shen
Enable Atmel sama5d3xek boart spl boot support, which can load u-boot from SD card with FAT file system. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v3: - Move plla and mck configure to spl.c file Changes in v2: - Move spl related code to at91-common folder arch/arm/cpu

[U-Boot] [PATCH v3 5/6] arm: atmel: add ddr2 initialization function

2013-11-05 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 --- Changes in v3: - Move to at91 common folder Changes in v2: - None arch/arm/cpu/at91-common/Makefile | 32 +++ arch/arm/cpu/at91-common

[U-Boot] [PATCH v3 2/6] arm: atmel: sama5d3: correct the error define of DIV

2013-11-05 Thread Bo Shen
Correct the error define of DIV. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v3: - None Changes in v2: - None 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

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

2013-11-01 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 --- Changes in v2: - None arch/arm/include/asm/arch-at91/at91_pmc.h |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/asm/arch-at91

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

2013-11-01 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 --- Changes in v2: - Move spl related code to at91-common folder arch/arm/cpu/armv7/Makefile |2 +- arch/arm/cpu/at91-common/Makefile| 32

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

2013-11-01 Thread Bo Shen
Correct the error define of DIV. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - None 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

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

2013-11-01 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 --- Changes in v2: - None arch/arm/cpu/armv7/at91/Makefile |1 + arch/arm/cpu/armv7/at91/mpddrc.c | 123

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

2013-11-01 Thread Bo Shen
Enable the PIO peripherals early than other peripherals. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - None board/atmel/sama5d3xek/sama5d3xek.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/board/atmel/sama5d3xek/sama5d3xek.c b/board/atmel/sama5d3xek

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

2013-11-01 Thread Bo Shen
This patch series enable spl boot from SD card, it only can boot u-boot itself. Changes in v2: - Move spl related code to at91-common folder Bo Shen (7): arm: atmel: sama5d3: correct the ID for DBGU and PIT arm: atmel: sama5: correct the error define of DIV arm: atmel: the offset of MULA

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

2013-11-01 Thread Bo Shen
Add plla and mck initialize function. Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - None 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

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

2013-11-01 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 --- Changes in v2: - None arch/arm/cpu/armv7/at91/sama5d3_devices.c |2 +- arch/arm/cpu/armv7/at91/timer.c |2 +- 2 files changed, 2

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

2013-11-01 Thread Bo Shen
Hi Wolfgang Denk, On 11/1/2013 17:18, Wolfgang Denk wrote: Dear Bo Shen, In message 1383292590-4308-8-git-send-email-voice.s...@atmel.com you wrote: Enable SPL support which can load u-boot from SD card in FAT format. I am sorry, but both the Subject: and the commit message are totally

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

2013-10-31 Thread Bo Shen
Hi Heiko, On 10/31/2013 15:42, Heiko Schocher wrote: Hello Bo, Am 30.10.2013 10:15, schrieb Bo Shen: Enable SPL support which can load u-boot from SD card in FAT format. Signed-off-by: Bo Shenvoice.s...@atmel.com --- arch/arm/cpu/armv7/Makefile|2 +- arch/arm/cpu/armv7

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

2013-10-31 Thread Bo Shen
Hi Lukasz, On 10/22/2013 10:42, Marek Vasut wrote: Hi Lukasz, Hi Marek, Hi, The value of dfu-r_left need decrease along with the transfer Signed-off-by: Bo Shen voice.s...@atmel.com Lucasz/Heiko , can you ACK/NAK this and 2/2 ? Thanks! For me it looks like a more difficult problem

<    1   2   3   4   5   6   >