Re: [U-Boot] [PATCH] test:dfu: Add test script for testing DFU regression

2014-05-26 Thread Lukasz Majewski
Hi Simon, Hi Lukasz, On 22 May 2014 00:43, Lukasz Majewski l.majew...@samsung.com wrote: This commit adds test script for testing if any commit has introduced regression to the DFU. It uses md5 to test if sent and received file is correct. The test detailed description is available

Re: [U-Boot] Standalone application issue.

2014-05-26 Thread mazen.e
Dear Wolfgang, Thank you very much. As per your request, I executed the following mkimage command: mkimage -A arm -O u-boot -T standalone -C none -a 0x0c10 -e 0x0c10 -n Hello World -d hello_world.bin Hello.img Than, I transferred to the board using uboot loadb (followed by the

Re: [U-Boot] [PATCH v2 07/12] exynos5: support tps65090 pmic

2014-05-26 Thread Minkyu Kang
Dear Simon, On 23/05/14 02:27, Simon Glass wrote: Hi Minkyu, On 21 May 2014 15:20, Minkyu Kang mk7.k...@samsung.com wrote: On 22/05/14 03:58, Simon Glass wrote: Hi Minkyu, On 21 May 2014 00:05, Minkyu Kang mk7.k...@samsung.com wrote: On 20/05/14 20:47, Simon Glass wrote: Hi Minkyu, On

[U-Boot] xilinx-u-boot:- NAND: no devices available

2014-05-26 Thread Uzair Zaidi
I am trying to run FALCON MODE on zynq-microzed board. I am following README-falcon.But when i run `nand read 8200 kernel` command, i get this error.. no devices available And when i run u-boot it shows.. ** NAND: zynq_nand_init: Unable detect NAND based on MIO settings ZYNQ

Re: [U-Boot] Standalone application issue.

2014-05-26 Thread Wolfgang Denk
Dear mazen.e, In message 1401086047300-180701.p...@n7.nabble.com you wrote: mkimage -A arm -O u-boot -T standalone -C none -a 0x0c10 -e 0x0c10 -n Hello World -d hello_world.bin Hello.img ... ARNDALE5250 # bootm 0x43E0 ## Booting kernel from Legacy Image at 43e0 ...

[U-Boot] pxa310 SDHC support.

2014-05-26 Thread aking_jin
Hi, marek I've seen on the Internet that pxa310 support SDHC up to 32GB, but I'm using u-boot 2014.01, It could initialize OK. Device: PXA MMC Manufacturer ID: 3 OEM: 5344 Name: SS08G Tran Speed: 2600 Rd Block Len: 512 SD version 3.0 High Capacity: Yes

[U-Boot] pxa310 SDHC support.

2014-05-26 Thread aking_jin
Hi, marek I've seen on the Internet that pxa310 support SDHC up to 32GB, but I'm using u-boot 2014.01, It could initialize OK. Device: PXA MMC Manufacturer ID: 3 OEM: 5344 Name: SS08G Tran Speed: 2600 Rd Block Len: 512 SD version 3.0 High Capacity: Yes

Re: [U-Boot] Standalone application issue.

2014-05-26 Thread mazen.e
Thanks Wolfgang, I will do and post the result. Many thanks. -- View this message in context: http://u-boot.10912.n7.nabble.com/Standalone-application-issue-tp180515p180707.html Sent from the U-Boot mailing list archive at Nabble.com. ___ U-Boot

[U-Boot] Fwd: xilinx-u-boot:- NAND: no devices available

2014-05-26 Thread Uzair Zaidi
-- Forwarded message -- From: Uzair Zaidi uzair.a...@gmail.com Date: Mon, May 26, 2014 at 1:05 PM Subject: xilinx-u-boot:- NAND: no devices available To: U-Boot@lists.denx.de I am trying to run FALCON MODE on zynq-microzed board. I am following README-falcon.But when i run `nand

Re: [U-Boot] Standalone application issue.

2014-05-26 Thread Jeroen Hofstee
Hello, On zo, 2014-05-25 at 23:34 -0700, mazen.e wrote: ARNDALE5250 # bootm 0x43E0 ## Booting kernel from Legacy Image at 43e0 ... Image Name: Hello World Image Type: ARM U-Boot Standalone Program (uncompressed) Data Size:594 Bytes = 594 Bytes Load Address:

Re: [U-Boot] mkimage: path behavior for FIT images

2014-05-26 Thread Yegor Yefremov
Hi Simon, On Sat, May 24, 2014 at 3:58 AM, Simon Glass s...@chromium.org wrote: Hi Yegor, On 20 May 2014 20:59, Yegor Yefremov yegorsli...@googlemail.com wrote: I have following folder structure: board/kernel_fdt.its output/images/zImage The kernel.its has following path for the zImage:

Re: [U-Boot] [PATCH] arm: Allow u-boot to run from offset base address

2014-05-26 Thread Albert ARIBAUD
Hi Wolfgang, Darwin, On Thu, 15 May 2014 21:19:57 +0200, Wolfgang Denk w...@denx.de wrote: Setting CONFIG_SYS_TEXT_BASE to something like 0x8820 is extremly fishy. If you want to add some header data to your image, you should not shift the text segment, but rather include your header in

Re: [U-Boot] pxa310 SDHC support.

2014-05-26 Thread Marek Vasut
On Monday, May 26, 2014 at 09:51:58 AM, aking_jin wrote: Hi, marek I've seen on the Internet that pxa310 support SDHC up to 32GB, but I'm using u-boot 2014.01, It could initialize OK. Device: PXA MMC Manufacturer ID: 3 OEM: 5344 Name: SS08G Tran Speed:

Re: [U-Boot] [RFC, PATCH v2 2/4] lib, rbtree: resync with Linux-3.14

2014-05-26 Thread Marek Vasut
On Monday, May 26, 2014 at 07:32:22 AM, Heiko Schocher wrote: Hello Marek, Am 24.05.2014 12:30, schrieb Marek Vasut: On Thursday, May 22, 2014 at 12:43:06 PM, Heiko Schocher wrote: resync with linux: commit 455c6fdbd219161bd09b1165f11699d6d73de11c Author: Linus

Re: [U-Boot] xilinx-u-boot:- NAND: no devices available

2014-05-26 Thread Michal Simek
On 05/26/2014 09:35 AM, Uzair Zaidi wrote: I am trying to run FALCON MODE on zynq-microzed board. I am following README-falcon.But when i run `nand read 8200 kernel` command, i get this error.. no devices available And when i run u-boot it shows.. ** NAND:

Re: [U-Boot] pxa310 SDHC support.

2014-05-26 Thread aking_jin
Hi, Marek On 2014/5/26 Mon 16:59, Marek Vasut wrote: On Monday, May 26, 2014 at 09:51:58 AM, aking_jin wrote: Hi, marek I've seen on the Internet that pxa310 support SDHC up to 32GB, but I'm using u-boot 2014.01, It could initialize OK. Device: PXA MMC Manufacturer ID: 3

Re: [U-Boot] pxa310 SDHC support.

2014-05-26 Thread aking_jin
Hi, Marek On 2014/5/26 Mon 16:59, Marek Vasut wrote: On Monday, May 26, 2014 at 09:51:58 AM, aking_jin wrote: Hi, marek I've seen on the Internet that pxa310 support SDHC up to 32GB, but I'm using u-boot 2014.01, It could initialize OK. Device: PXA MMC Manufacturer ID: 3

[U-Boot] [PATCH] boards.cfg: fix a configuration error of ep8248 board again

2014-05-26 Thread Masahiro Yamada
make ep8248_config fails with an error like this: $ make ep8248_config make: *** [ep8248_config] Error 1 Its cause is that there are two entries for ep8248. The first is around line 661 of boards.cfg. (as Active) The second appears around line 1242. (as Orphan) This bug was originally

[U-Boot] [PATCH] arm: fix a build error with CONFIG_USE_IRQ

2014-05-26 Thread Masahiro Yamada
Commit 41623c91 moved exception handling to arch/arm/lib/vectors.S, breaking CONFIG_USE_IRQ feature. If CONFIG_USE_IRQ is enabled, undefined reference error occurs. arch/arm/lib/built-in.o: In function `interrupt_init': arch/arm/lib/interrupts.c:37: undefined reference to `IRQ_STACK_START'

[U-Boot] [PATCH v2] fat: Define MAX_CLUSTSIZE only if not defined in config

2014-05-26 Thread Siva Durga Prasad Paladugu
Define the MAX_CLUSTSIZE to default of 65536 only if CONFIG_FS_FAT_MAX_CLUSTSIZE is not defined in board specific config file. Also please define your own MAX_CLUSTSIZE value if CONFIG_FS_FAT_MAX_CLUSTSIZE is defined. This option has been provided to save memory in some memory constrained cases.

Re: [U-Boot] Standalone application issue.

2014-05-26 Thread mazen.e
Hi, I am using the u-boot-arndale from https://github.com/virtualopensystems/u-boot-arndale and I am using the arm-linux-gnueabi- Linaro toolchain for compilation? I also tried u-boot-linaro-2013.03.01 but the issue persist? any suggestion please? Many thanks. -- View this message in

[U-Boot] Some powerpc cfgs fail to build on v2014.04

2014-05-26 Thread Vasili Galka
Hi, Are all boards supposed to build fine in v2014.04 release? I'm running ./MAKEALL -a powerpc and get build failure for 9 boards: Boards with errors: 9 ( ep8248 MPC8572DS MPC8572DS_36BIT PMC440 dlvision-10g io iocon neo ep8248 ) ep8248 -- /home/lab/dev/uboot/Makefile:501: *** System not

Re: [U-Boot] pxa310 SDHC support.

2014-05-26 Thread Marek Vasut
On Monday, May 26, 2014 at 12:28:49 PM, aking_jin wrote: Hi, Marek On 2014/5/26 Mon 16:59, Marek Vasut wrote: On Monday, May 26, 2014 at 09:51:58 AM, aking_jin wrote: Hi, marek I've seen on the Internet that pxa310 support SDHC up to 32GB, but I'm using u-boot 2014.01, It

Re: [U-Boot] Some powerpc cfgs fail to build on v2014.04

2014-05-26 Thread Masahiro Yamada
Hi Vasili, On Mon, 26 May 2014 13:51:52 +0300 Vasili Galka vvv...@gmail.com wrote: Hi, Are all boards supposed to build fine in v2014.04 release? I'm running ./MAKEALL -a powerpc and get build failure for 9 boards: Boards with errors: 9 ( ep8248 MPC8572DS MPC8572DS_36BIT PMC440

Re: [U-Boot] [PATCH v2] fat: Define MAX_CLUSTSIZE only if not defined in config

2014-05-26 Thread Michal Simek
On 05/26/2014 12:29 PM, Siva Durga Prasad Paladugu wrote: Define the MAX_CLUSTSIZE to default of 65536 only if CONFIG_FS_FAT_MAX_CLUSTSIZE is not defined in board specific config file. Also please define your own MAX_CLUSTSIZE value if CONFIG_FS_FAT_MAX_CLUSTSIZE is defined. This option has

Re: [U-Boot] pxa310 SDHC support.

2014-05-26 Thread aking
On 5/26/2014 Monday 6:56 PM, Marek Vasut wrote: On Monday, May 26, 2014 at 12:28:49 PM, aking_jin wrote: Hi, Marek On 2014/5/26 Mon 16:59, Marek Vasut wrote: On Monday, May 26, 2014 at 09:51:58 AM, aking_jin wrote: Hi, marek I've seen on the Internet that pxa310 support SDHC up to

Re: [U-Boot] pxa310 SDHC support.

2014-05-26 Thread aking
On 5/26/2014 Monday 6:56 PM, Marek Vasut wrote: On Monday, May 26, 2014 at 12:28:49 PM, aking_jin wrote: Hi, Marek On 2014/5/26 Mon 16:59, Marek Vasut wrote: On Monday, May 26, 2014 at 09:51:58 AM, aking_jin wrote: Hi, marek I've seen on the Internet that pxa310 support SDHC up to

Re: [U-Boot] Some powerpc cfgs fail to build on v2014.04

2014-05-26 Thread Vasili Galka
Hi Masahiro, On Mon, May 26, 2014 at 2:28 PM, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Vasili, On Mon, 26 May 2014 13:51:52 +0300 Vasili Galka vvv...@gmail.com wrote: Hi, Are all boards supposed to build fine in v2014.04 release? I'm running ./MAKEALL -a powerpc and get build

Re: [U-Boot] pxa310 SDHC support.

2014-05-26 Thread Marek Vasut
On Monday, May 26, 2014 at 01:54:54 PM, aking wrote: [...] Also, you didn't really answer my question with regards to porting U-Boot above. If you do that, use latest mainline, not 2014.01 . I just have to add SD support for my board, It's emergency. sorry for that. Can you please fix

Re: [U-Boot] pxa310 SDHC support.

2014-05-26 Thread Marek Vasut
On Monday, May 26, 2014 at 01:48:14 PM, aking wrote: On 5/26/2014 Monday 6:56 PM, Marek Vasut wrote: On Monday, May 26, 2014 at 12:28:49 PM, aking_jin wrote: Hi, Marek On 2014/5/26 Mon 16:59, Marek Vasut wrote: On Monday, May 26, 2014 at 09:51:58 AM, aking_jin wrote: Hi, marek

Re: [U-Boot] armv8 relocation questions

2014-05-26 Thread feng...@phytium.com.cn
hi Wolfgang, I am will glad to share my understanding. Dear David, In message 0579e649-f359-415b-a8ed-e1d4267f8...@phytium.com.cn you wrote: And if any text base alignment is less than the image's maximum alignment requirement, the load will fail, and then we likely scratch our

Re: [U-Boot] [PATCH v2 1/2] Exynos5420: Introduce support for the Peach-Pit board

2014-05-26 Thread Akshay Saraswat
Hi Simon, Hi Akshay, On 21 May 2014 23:23, Akshay Saraswat aksha...@samsung.com wrote: While the Exynos5420 chip is used in both Smdk5420 and in the Peach-Pit line of devices, there could be other boards using the same chip, so a common configuration file is being added (exynos5420.h) as well

[U-Boot] [PATCH v2] Prevent a buffer overflow in mkimage when signing with SHA256

2014-05-26 Thread Michael van der Westhuizen
Due to the FIT_MAX_HASH_LEN constant not having been updated to support SHA256 signatures one will always see a buffer overflow in fit_image_process_hash when signing images that use this larger hash. This is exposed by vboot_test.sh. Signed-off-by: Michael van der Westhuizen

Re: [U-Boot] [PATCH 2/4] Exynos5420: Remove code for enabling read leveling

2014-05-26 Thread Akshay Saraswat
Hi Simon, Hi Akshay, On 21 May 2014 23:33, Akshay Saraswat aksha...@samsung.com wrote: This patch intends to remove all code which enables hardware read leveling. All characterization environments may not cope up with h/w read leveling enabled, hence, we need to disable this. Also,

Re: [U-Boot] [PATCH] Exynos: Make sure ps_hold gets set in the SPL

2014-05-26 Thread Akshay Saraswat
Hi Simon, On 22 May 2014 01:53, Akshay Saraswat aksha...@samsung.com wrote: From: Doug Anderson diand...@chromium.org Setting ps_hold ought to be one of the first things we do when we first boot up. If we wait until the main u-boot runs we won't set it in time and the PMIC may power us back

[U-Boot] [PATCH v3 0/2] Introduction of new board Peach-Pit

2014-05-26 Thread Akshay Saraswat
This board is based on Exynos5420 and is similar to SMDK5420 board. Adding new and refactoring existing DT and config files to support both SMDK5420 and Peach-Pit. Changes since v1: - Added Acked-by. Changes since v2: - Changed order of the patches because 2/2 alone results in

[U-Boot] [PATCH v3 2/2] Exynos5420: Introduce support for the Peach-Pit board

2014-05-26 Thread Akshay Saraswat
While the Exynos5420 chip is used in both Smdk5420 and in the Peach-Pit line of devices, there could be other boards using the same chip, so a common configuration file is being added (exynos5420.h) as well as two common device tree files (exynos54xx.dtsi exynos5420.dtsi). The peach board as

[U-Boot] [PATCH v3 1/2] Exynos5420: Let macros be used for exynos5420

2014-05-26 Thread Akshay Saraswat
Macros defined in exynos5_setup.h specific to SMDK5420 are required for Peach-Pit too. Hence, replacing CONFIG_SMDK5420 with CONFIG_EXYNOS5420 to enable these macros for all the boards based on Exynos5420. Signed-off-by: Akshay Saraswat aksha...@samsung.com Acked-by: Simon Glass s...@chromium.org

[U-Boot] [PATCH v2 0/4] Exynos5: Update dmc init

2014-05-26 Thread Akshay Saraswat
This patch series intends to add few changes with respect to ddr3 init function definition and read leveling. Changes since v1: - Added Acked-by in patches 1/4, 2/4 and 3/4. - Removing only mem_iv_size argument now in patch 1/4. - Modified commit-msg for patch 4/4.

Re: [U-Boot] Booting armv8 kernel on uboot

2014-05-26 Thread feng...@phytium.com.cn
hi Tom, On Thu, May 22, 2014 at 10:26:17PM +0800, feng...@phytium.com.cn wrote: Hi , I have added mmc driver into the vexpress64 board file for uboot and tested it on FVP base model. I tried booting a kernel on that but it is aborting with the following message: Final value for argc=3

[U-Boot] [PATCH v3] fat: Define MAX_CLUSTSIZE using CONFIG_FS_FAT_MAX_CLUSTSIZE

2014-05-26 Thread Siva Durga Prasad Paladugu
Define the MAX_CLUSTSIZE to default of 65536 only if CONFIG_FS_FAT_MAX_CLUSTSIZE is not defined. This option has been provided to save memory in some memory constrained cases. Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com --- Changes in v3: -Used CONFIG_FS_FAT_MAX_CLUSTSIZE to

[U-Boot] [PATCH v2 1/4] Exynos5: DMC: Modify the definition of ddr3_mem_ctrl_init

2014-05-26 Thread Akshay Saraswat
Passing fewer arguments is better and mem_iv_size is never used. Let's keep only one argument and make it cleaner. Signed-off-by: Hatim Ali hatim...@samsung.com Signed-off-by: Akshay Saraswat aksha...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes since v1: - Added

[U-Boot] [PATCH v2 2/4] Exynos5420: Remove code for enabling read leveling

2014-05-26 Thread Akshay Saraswat
This patch intends to remove all code which enables hardware read leveling. All characterization environments may not cope up with h/w read leveling enabled, so we must disable this. Also, disabling h/w read leveling improves the MIF LVcc value (LVcc value is the value at which DDR will fail to

[U-Boot] [PATCH v2 3/4] DMC: exynos5420: Gate CLKM to when reading PHY_CON13

2014-05-26 Thread Akshay Saraswat
From: Doug Anderson diand...@chromium.org From experiments it appears that PHY_CON13 is glitchy if we sample it when CLKM is running. If we stop CLKM when sampling it the glitches all go away, so we'll do that as per Samsung suggestion. We also check the is it locked bits of PHY_CON13 and loop

[U-Boot] [PATCH v2 4/4] Exynos5420: DMC: Add software read leveling

2014-05-26 Thread Akshay Saraswat
Sometimes Read DQ and DQS are not in phase. Since, this phase shift differs from board to board, we need to calibrate it at DRAM init phase, that's read DQ calibration. This patch adds SW Read DQ calibration routine to compensate this skew. Signed-off-by: Alim Akhtar alim.akh...@samsung.com

[U-Boot] [PATCH v2] Exynos: Make sure ps_hold gets set in the SPL

2014-05-26 Thread Akshay Saraswat
From: Doug Anderson diand...@chromium.org Setting ps_hold ought to be one of the first things we do when we first boot up. If we wait until the main u-boot runs we won't set it in time and the PMIC may power us back off. Moving ps_hold setup into the generic power_init() which should contain

Re: [U-Boot] pxa310 SDHC support.

2014-05-26 Thread aking
On 5/26/2014 Monday 8:10 PM, Marek Vasut wrote: On Monday, May 26, 2014 at 01:48:14 PM, aking wrote: On 5/26/2014 Monday 6:56 PM, Marek Vasut wrote: On Monday, May 26, 2014 at 12:28:49 PM, aking_jin wrote: Hi, Marek On 2014/5/26 Mon 16:59, Marek Vasut wrote: On Monday, May 26, 2014 at

[U-Boot] [PATCH] Implement generalised RSA public exponents for verified boot

2014-05-26 Thread Michael van der Westhuizen
Remove the verified boot limitation that only allows a single RSA public exponent of 65537 (F4). This allows use with existing PKI infrastructure, and has been tested with HSM-based PKI. Change the configuration OF tree format to store the RSA public exponent as a 64 bit integer and implement

Re: [U-Boot] pxa310 SDHC support.

2014-05-26 Thread Marek Vasut
On Monday, May 26, 2014 at 03:55:58 PM, aking wrote: [...] The PXA27x controller works even with SDXC , that is tested. I suspect there might be some change in the PXA3xx controller, but I don't really know for sure. You'd have to check. Thank you for your answer. are you using SD

[U-Boot] [PATCH v2] env_eeprom: Assign default environment during board_init_f

2014-05-26 Thread Siva Durga Prasad Paladugu
Assign default environment and set env valid during board_init_f before relocation as the actual environment will be read from eeprom later. Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com --- Changes in v2: -Handled the same in redundant env case also as per review comment.

Re: [U-Boot] armv8 relocation questions

2014-05-26 Thread Wolfgang Denk
Dear David, In message cbdd3537-16f3-41c8-9929-6c30f56c3...@phytium.com.cn you wrote: I am will glad to share my understanding. Thanks. I wonder how adrp would work in any code that is supposed to be position-independent? In my understanding, with adrp the program is still

[U-Boot] [PATCH v2] Implement generalised RSA public exponents for verified boot

2014-05-26 Thread michael
From: Michael van der Westhuizen mich...@smart-africa.com Remove the verified boot limitation that only allows a single RSA public exponent of 65537 (F4). This allows use with existing PKI infrastructure, and has been tested with HSM-based PKI. Change the configuration OF tree format to store

Re: [U-Boot] [PATCH] arm: Allow u-boot to run from offset base address

2014-05-26 Thread Darwin Rambo
Hi Albert, The previous stage bootloader (which I had no control over) wanted it's header to be aligned to a 512 byte MMC block boundary, presumably since this allowed DMA operations without copy/shifting. At the same time, I didn't want to hack a header into start.S because I didn't want to

[U-Boot] [PATCH 0/3] EFI Partition handling

2014-05-26 Thread Steve Rae
This series focusses on the EFI Partition handling and provides: - fixes to endianness issues - cleanup of the lbaint_t handling - cleanup of a type that requires u64 - improved clarification of the code by cleaning up the casting - verified support of CONFIG_SYS_64BIT_LBA Also, added new feature:

[U-Boot] [PATCH 3/3] disk: part_efi: add get_partition_info_efi_by_name()

2014-05-26 Thread Steve Rae
Add function to find a GPT table entry by name. Tested on little endian ARMv7 and ARMv8 configurations Signed-off-by: Steve Rae s...@broadcom.com --- disk/part_efi.c | 21 - include/part.h | 11 +++ 2 files changed, 31 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 2/3] disk: part_efi: clarify lbaint_t usage

2014-05-26 Thread Steve Rae
- update the comments regarding lbaint_t usage - cleanup casting of values related to the lbaint_t type - cleanup of a type that requires a u64 Tested on little endian ARMv7 and ARMv8 configurations Signed-off-by: Steve Rae s...@broadcom.com --- disk/part_dos.c| 5 +++-- disk/part_efi.c

[U-Boot] [PATCH 1/3] disk: part_efi: resolve endianness issues

2014-05-26 Thread Steve Rae
Tested on little endian ARMv7 and ARMv8 configurations Signed-off-by: Steve Rae s...@broadcom.com --- disk/part_efi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/disk/part_efi.c b/disk/part_efi.c index c74b7b9..8c89740 100644 --- a/disk/part_efi.c +++

Re: [U-Boot] atngw100mkii: add missing CONFIG_SYS_TEXT_BASE

2014-05-26 Thread Andreas Bießmann
Dear Andreas Bießmann, Andreas Bießmann andreas.de...@googlemail.com writes: Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com Cc: Masahiro Yamada yamad...@jp.panasonic.com --- include/configs/atngw100mkii.h |1 + 1 file changed, 1 insertion(+) applied to u-boot-avr32/master,

[U-Boot] [PATCH] i2c: kona: Resolve Kona I2C driver issue

2014-05-26 Thread Steve Rae
- i2c mw command hangs (with some compilers) Signed-off-by: Steve Rae s...@broadcom.com --- drivers/i2c/kona_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/kona_i2c.c b/drivers/i2c/kona_i2c.c index 0b1715a..5eab338 100644 --- a/drivers/i2c/kona_i2c.c +++

[U-Boot] [PULL] u-boot-avr32/master - u-boot/master

2014-05-26 Thread Andreas Bießmann
Dear Tom Rini, Please pull the following changes from u-boot-avr32/master into u-boot/master. The following changes since commit 9665fa8f9e1488209d5e01d0792c243e0a220c5a: Merge branch 'master' of git://git.denx.de/u-boot-arm (2014-05-24 06:34:08 -0400) are available in the git repository

[U-Boot] [PATCH] mmc: free allocated memory on initialization errors

2014-05-26 Thread Darwin Rambo
Cleanup to balance malloc/free calls. Signed-off-by: Darwin Rambo dra...@broadcom.com Reviewed-by: Steve Rae s...@broadcom.com --- drivers/mmc/kona_sdhci.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/kona_sdhci.c b/drivers/mmc/kona_sdhci.c index

[U-Boot] [PATCH] macb: make checkpatch clean

2014-05-26 Thread Andreas Bießmann
This also renames the CONFIG_SYS_MACB_xx defines. They are used just local and therefore don't need the CONFIG_SYS_ prefix. Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com --- drivers/net/macb.c | 56 +++- 1 file changed, 29

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

2014-05-26 Thread Andreas Bießmann
Hi Josh, On 19.05.14 13:51, Josh Wu wrote: Add to code to flush the dcache after we writing in DMA buffer. Also we need invalidate the dcache before we check the status in the DMA buffer. Tested in SAMA5D3x-EK with gmac0. Tftp download speed shows in below: Disable DCache: 1.1 MiB/s

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

2014-05-26 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen voice.s...@atmel.com writes: 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 ---

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

2014-05-26 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen voice.s...@atmel.com writes: 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

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

2014-05-26 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen voice.s...@atmel.com writes: 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

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

2014-05-26 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen voice.s...@atmel.com writes: 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

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

2014-05-26 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen voice.s...@atmel.com writes: 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

Re: [U-Boot] gpio: at91: add sanity check for the NULL pointer

2014-05-26 Thread Andreas Bießmann
Dear Josh Wu, Josh Wu josh...@atmel.com writes: We need check the NULL pointer as at91_pio_get_port() may return NULL. Also print a error message when at91_pio_get_port() failed otherwise we cannot notice the failure. Signed-off-by: Josh Wu josh...@atmel.com --- drivers/gpio/at91_gpio.c |3

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

2014-05-26 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen voice.s...@atmel.com writes: 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

Re: [U-Boot] mmc: atmel_mci: fix print incorrect buffer content for debug

2014-05-26 Thread Andreas Bießmann
Dear Josh Wu, Josh Wu josh...@atmel.com writes: Signed-off-by: Josh Wu josh...@atmel.com [fix checkpatch line length warning] Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com --- drivers/mmc/gen_atmel_mci.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) applied to

Re: [U-Boot] corvus: remove unneeded CONFIG_AT91_LEGACY

2014-05-26 Thread Andreas Bießmann
Dear Andreas Devel, Andreas Devel andreas.de...@googlemail.com writes: Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com Cc: Heiko Schocher h...@denx.de --- include/configs/corvus.h |1 - 1 file changed, 1 deletion(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas

Re: [U-Boot] [U-Boot,v3,3/3] sama5d3xek: enable PMECC header generation

2014-05-26 Thread Andreas Bießmann
Dear Andreas Bießmann, Andreas Bießmann andreas.de...@googlemail.com writes: Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com Cc: Bo Shen voice.s...@atmel.com Tested-by: Bo Shen voice.s...@atmel.com --- Changes in v3: * use CONFIG_SPL_GENERATE_ATMEL_PMECC_HEADER Changes in v2: None

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

2014-05-26 Thread Andreas Bießmann
Dear Josh Wu, Josh Wu josh...@atmel.com writes: Signed-off-by: Josh Wu josh...@atmel.com --- v1 - v2: 1. split the patch alone. 2. add missed ARM926EJS macro. arch/arm/include/asm/arch-at91/at91sam9x5.h |3 +++ 1 file changed, 3 insertions(+) applied to u-boot-atmel/master, thanks!

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

2014-05-26 Thread Andreas Bießmann
Dear Andreas Bießmann, Andreas Bießmann andreas.de...@googlemail.com writes: The new atmelimage converts a machine code BLOB to bootable ROM image. Atmel ROM has no sophisticated image format, it only checks the first 7 ARM vectors. The vectors can contain valid B or LDR opcodes, the 6'th vector

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

2014-05-26 Thread Andreas Bießmann
Dear Andreas Bießmann, Andreas Bießmann andreas.de...@googlemail.com writes: 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 Tested-by: Bo Shen voice.s...@atmel.com --- Changes in v3: * add

Re: [U-Boot] [U-Boot, v2, 2/3] at91: remove redundant AT91FAMILY definition in board config file

2014-05-26 Thread Andreas Bießmann
Dear Josh Wu, Josh Wu josh...@atmel.com writes: Now the AT91FAMILY is already defined in the at91 SoC header. The at91 board config file will include the SoC header file. So we can remove the redundant AT91FAMILY definition in at91 board config files. Signed-off-by: Josh Wu josh...@atmel.com

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

2014-05-26 Thread Andreas Bießmann
Dear Josh Wu, Josh Wu josh...@atmel.com writes: The at91x40.h is not exist. So we remove it. Signed-off-by: Josh Wu josh...@atmel.com --- arch/arm/include/asm/arch-at91/hardware.h |2 -- 1 file changed, 2 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann

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

2014-05-26 Thread Andreas Bießmann
Dear Josh Wu, Josh Wu josh...@atmel.com writes: 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 --- v1 - v2: 1.

Re: [U-Boot] [U-Boot, v2, 3/3] ARM: at91: remove redundant ARM926EJS definition in board config files

2014-05-26 Thread Andreas Bießmann
Dear Josh Wu, Josh Wu josh...@atmel.com writes: As at91 board config file will include the SoC header, so we can remove the ARM926EJS definition in board config files. Signed-off-by: Josh Wu josh...@atmel.com --- include/configs/at91sam9n12ek.h |2 -- include/configs/ethernut5.h |1

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

2014-05-26 Thread Andreas Bießmann
Dear Josh Wu, Josh Wu josh...@atmel.com writes: In this configuration the environment will save in file: uboot.env of mmc card. Signed-off-by: Josh Wu josh...@atmel.com --- v1 - v2: 1. remove mem=128m and roottype in bootargs. 2. default boot command use zImage instead of uImage.

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

2014-05-26 Thread Andreas Bießmann
Dear Albert Aribaud, please pull the following changes from u-boot-atmel/master into u-boot-arm/master. The following changes since commit 49692c5f517d8e44ed9db0de778728fe7d2a300c: net/designware: Make DMA burst length configurable and reduce by default (2014-05-25 17:23:58 +0200) are

Re: [U-Boot] [PATCH] Exynos: Make sure ps_hold gets set in the SPL

2014-05-26 Thread Simon Glass
Hi Akshay, On 26 May 2014 03:40, Akshay Saraswat aksha...@samsung.com wrote: Hi Simon, On 22 May 2014 01:53, Akshay Saraswat aksha...@samsung.com wrote: From: Doug Anderson diand...@chromium.org Setting ps_hold ought to be one of the first things we do when we first boot up. If we wait

Re: [U-Boot] [PATCH v2 07/12] exynos5: support tps65090 pmic

2014-05-26 Thread Simon Glass
Hi Minkyu, On 25 May 2014 21:15, Minkyu Kang mk7.k...@samsung.com wrote: Dear Simon, On 23/05/14 02:27, Simon Glass wrote: Hi Minkyu, On 21 May 2014 15:20, Minkyu Kang mk7.k...@samsung.com wrote: On 22/05/14 03:58, Simon Glass wrote: Hi Minkyu, On 21 May 2014 00:05, Minkyu Kang

Re: [U-Boot] pxa310 SDHC support.

2014-05-26 Thread aking_jin
On 2014/5/26 Mon 22:15, Marek Vasut wrote: On Monday, May 26, 2014 at 03:55:58 PM, aking wrote: [...] The PXA27x controller works even with SDXC , that is tested. I suspect there might be some change in the PXA3xx controller, but I don't really know for sure. You'd have to check. Thank you

[U-Boot] [PATCH] arm: fix a double-definition error of _start symbol

2014-05-26 Thread Masahiro Yamada
The symbol _start is defined twice in arch/arm/lib/vectors.S: around line 48 and line 54. If CONFIG_SYS_DV_NOR_BOOT_CFG is defined (as on calimain board), build fails: arch/arm/lib/vectors.S: Assembler messages: arch/arm/lib/vectors.S:54: Error: symbol `_start' is already defined make[1]:

Re: [U-Boot] Unable to boot the new FIT image

2014-05-26 Thread Simon Glass
Hi, On 24 May 2014 20:15, Harsha Kiran harshakiran...@gmail.com wrote: Hi Simon. I am able to successfully load the FIT image now :) Thanks for the help. I applied Heiko's patch. If CONFIG_OF_CONTROL is defined, the behaviour of the board is same as i mentioned in my previous emails. I tried

Re: [U-Boot] mkimage: path behavior for FIT images

2014-05-26 Thread Simon Glass
Hi Yegor, On 25 May 2014 23:41, Yegor Yefremov yegorsli...@googlemail.com wrote: Hi Simon, On Sat, May 24, 2014 at 3:58 AM, Simon Glass s...@chromium.org wrote: Hi Yegor, On 20 May 2014 20:59, Yegor Yefremov yegorsli...@googlemail.com wrote: I have following folder structure:

Re: [U-Boot] mkimage: path behavior for FIT images

2014-05-26 Thread Simon Glass
On 26 May 2014 17:26, Simon Glass s...@chromium.org wrote: [snip[ I just wanted to know, if it was a desired behavior. Can it be the dtc is invoked from board/ and this is the cause of such behavior? Yes, it uses the current directly as the base. Sorry, I meant directory. - Simon

Re: [U-Boot] [PATCH v2 4/4] Exynos5420: DMC: Add software read leveling

2014-05-26 Thread Simon Glass
On 26 May 2014 03:50, Akshay Saraswat aksha...@samsung.com wrote: Sometimes Read DQ and DQS are not in phase. Since, this phase shift differs from board to board, we need to calibrate it at DRAM init phase, that's read DQ calibration. This patch adds SW Read DQ calibration routine to

Re: [U-Boot] [PATCH v2 1/2] Exynos5420: Introduce support for the Peach-Pit board

2014-05-26 Thread Simon Glass
Hi Akshay, On 26 May 2014 03:33, Akshay Saraswat aksha...@samsung.com wrote: Hi Simon, Hi Akshay, On 21 May 2014 23:23, Akshay Saraswat aksha...@samsung.com wrote: While the Exynos5420 chip is used in both Smdk5420 and in the Peach-Pit line of devices, there could be other boards using the

Re: [U-Boot] idirafter causes host sha256.h to be included

2014-05-26 Thread Simon Glass
Hi Jeroen, On 24 May 2014 11:09, Jeroen Hofstee dasub...@myspectrum.nl wrote: Hello Simon, On vr, 2014-05-23 at 15:37 -1000, Simon Glass wrote: On 9 May 2014 12:31, Jeroen Hofstee dasub...@myspectrum.nl wrote: Hello, tools/Makefile uses the following substitution HOST_EXTRACFLAGS

[U-Boot] bootfile environment variable

2014-05-26 Thread l3iggs .
Hello,I have a DHCP server set up to provide all of the environment variables listed at the bottom of this page: http://www.denx.de/wiki/view/DULG/UBootEnvVariablesSpecifically, I've configure my DHCP server to provide option #67, Bootfile name, as zImageu-boot picks up on this nicely and so

Re: [U-Boot] [U-Boot, v1, 3/3] ARM: omap: merge GPMC initialization code for all platform

2014-05-26 Thread Gupta, Pekon
From: Tom Rini [mailto:tom.r...@gmail.com] On Behalf Of Rini, Tom On Thu, May 08, 2014 at 09:43:47PM +0530, pekon gupta wrote: GPMC controller on TI's OMAP SoC is general purpose controller to interface with different types of external devices like; - parallel NOR flash - parallel NAND