[U-Boot] [PATCH] kconfig: fix another bug of savedefconfig

2014-09-03 Thread Masahiro Yamada
Commit 3ff291f371fa9858426774f3732924bacb61ed1c (kconfig: convert Kconfig helper script into a shell script) introduced another, serious bug. make saveconfig outputs # CONFIG_FOO is not set into: # CONFIG_FOO is not set Whitespaces should not be treated as separators. (Shell

Re: [U-Boot] [PATCH 4/5] iMX6Solo:SABRESD: Add the i.MX6Solo SABRESD board support

2014-09-03 Thread Li Ye-B37916
On 9/2/2014 10:06 PM, Fabio Estevam wrote: On Tue, Sep 2, 2014 at 3:11 AM, Ye.Li b37...@freescale.com wrote: #ifdef CONFIG_SUPPORT_EMMC_BOOT #define EMMC_ENV \ emmcdev=2\0 \ @@ -146,7 +155,8 @@ fi; \ fi\0 \ EMMC_ENV \

[U-Boot] [PATCH 1/4] iMX6Q:arm2: Add the kernel FDT Loading support

2014-09-03 Thread Ye . Li
To support loading FDT file for kernel, add the fdt address, file and loading script to arm2 board default environment. Signed-off-by: Ye.Li b37...@freescale.com --- include/configs/mx6qarm2.h | 41 ++--- 1 files changed, 38 insertions(+), 3 deletions(-)

[U-Boot] [PATCH 4/4] iMX6Q/DL:arm2: Add support for i.MX6Q/DL arm2 LPDDR2 boards

2014-09-03 Thread Ye . Li
Update the ddr scripts for LPDDR2 and add two build configs for LPDDR2 arm2 board. Since the LPDDR2 arm2 board has different DDR size, use CONFIG_DDR_MB in defconfig to replace the PHYS_SDRAM_SIZE. Signed-off-by: Ye.Li b37...@freescale.com --- board/freescale/mx6qarm2/imximage.cfg | 189

[U-Boot] [PATCH 3/4] iMX6DL:arm2: Add support for i.MX6DL arm2 DDR3 board

2014-09-03 Thread Ye . Li
This patch adds the i.MX6DL arm2 board support. The i.MX6DL ARM2 shared the same board with i.MX6Q ARM2 board since the i.MX6DL is pin-pin compatible with i.MX6Q. The patch also support the DDR 32-BIT mode option. Please define CONFIG_DDR_32BIT in the board configure file to enable DDR 32-BIT

[U-Boot] [PATCH 2/4] iMX6Q:arm2: Change the mmcroot and mmcpart env value

2014-09-03 Thread Ye . Li
1. Set the image load partition to the first FAT partition. 2. Set the kernel rootfs partition to the second partition. Signed-off-by: Ye.Li b37...@freescale.com --- include/configs/mx6qarm2.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/mx6qarm2.h

Re: [U-Boot] tools-only build broken

2014-09-03 Thread Marek Vasut
On Wednesday, September 03, 2014 at 03:44:35 AM, Otavio Salvador wrote: On Tue, Sep 2, 2014 at 8:14 PM, Simon Glass s...@chromium.org wrote: On 2 September 2014 15:44, Otavio Salvador ota...@ossystems.com.br wrote: On Tue, Sep 2, 2014 at 4:19 PM, Simon Glass s...@chromium.org wrote: ...

[U-Boot] [PATCH 2/2] iMX6SLEVK: Change to use generic board

2014-09-03 Thread Ye . Li
Enable CONFIG_SYS_GENERIC_BOARD for imx6slevk to use generic board. Signed-off-by: Ye.Li b37...@freescale.com --- include/configs/mx6slevk.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h index 3d05a64..194d7bd

[U-Boot] [PATCH 1/2] iMX6Q/DL:ARM2: Change to use generic board

2014-09-03 Thread Ye . Li
Enable the CONFIG_SYS_GENERIC_BOARD for imx6q/dl arm2 board to use generic board. Signed-off-by: Ye.Li b37...@freescale.com --- include/configs/mx6qarm2.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h index

[U-Boot] [PATCH] powerpc/b4860: Updated default hwconfig so as to enable only CPC2

2014-09-03 Thread Shaveta Leekha
CPC1 is not being enabled by default as powerpc is supposed to use only CPC2. Though by editing hwconfig en_cpc option, CPC1 can also be enabled Signed-off-by: Shaveta Leekha shav...@freescale.com Signed-off-by: Sandeep Singh sand...@freescale.com --- include/configs/B4860QDS.h | 11

Re: [U-Boot] uboot env in mmc partition

2014-09-03 Thread Naitik Amin
Hi Hannes, So I did as you had indicated and made some progress, so now, my #defines look as below. #define CONFIG_SYS_MMC_ENV_DEV 0 /* device 0 */ #define CONFIG_ENV_OFFSET 0x2190 I calculated the env offset from the block number it was on based on the first

Re: [U-Boot] uboot env in mmc partition

2014-09-03 Thread Hannes Petermaier
Hi Hannes, Hi, So I did as you had indicated and made some progress, so now, my #defines lookas below. #define CONFIG_SYS_MMC_ENV_DEV0/* device 0 */ #define CONFIG_ENV_OFFSET0x2190 okay, since we don't have a 'CONFIG_SYS_MMC_ENV_PART' no

Re: [U-Boot] uboot env in mmc partition

2014-09-03 Thread Peter A. Bigot
On 09/03/2014 07:54 AM, Naitik Amin wrote: Hi Hannes, So I did as you had indicated and made some progress, so now, my #defines look as below. #define CONFIG_SYS_MMC_ENV_DEV 0 /* device 0 */ #define CONFIG_ENV_OFFSET 0x2190 I calculated the env offset from the

Re: [U-Boot] uboot env in mmc partition

2014-09-03 Thread Hannes Petermaier
On 09/03/2014 07:54 AM, Naitik Amin wrote: Hi Hannes, So I did as you had indicated and made some progress, so now, my #defines look as below. #define CONFIG_SYS_MMC_ENV_DEV 0 /* device 0 */ #define CONFIG_ENV_OFFSET 0x2190 I calculated the env

Re: [U-Boot] uboot env in mmc partition

2014-09-03 Thread Peter A. Bigot
On 09/03/2014 09:14 AM, Hannes Petermaier wrote: On 09/03/2014 07:54 AM, Naitik Amin wrote: Hi Hannes, So I did as you had indicated and made some progress, so now, my #defines look as below. #define CONFIG_SYS_MMC_ENV_DEV 0 /* device 0 */ #define CONFIG_ENV_OFFSET

Re: [U-Boot] uboot env in mmc partition

2014-09-03 Thread Naitik Amin
Below is the layout of my partitions. [root@IM /root]# cat /proc/partitions major minor #blocks name 17903887104 mmcblk0 1791 20480 mmcblk0p1 1792 512000 mmcblk0p2 1793 1024 mmcblk0p3 1794 64 mmcblk0p4 Further explanation

[U-Boot] [PATCH v2 2/2] usb: eth: enable ASIX AX88179 DRIVER for Arndale5250 board

2014-09-03 Thread Rene Griessl
enable this driver for arndale5250 board Signed-off-by: Rene Griessl rgrie...@cit-ec.uni-bielefeld.de --- include/configs/arndale.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/arndale.h b/include/configs/arndale.h index 75f9933..9bdb66a 100644 ---

[U-Boot] [PATCH v2 1/2] usb: eth: add ASIX AX88179 DRIVER

2014-09-03 Thread Rene Griessl
changes in v2: -added usb_ether.h to change list -added 2nd patch to enable driver for arndale board Signed-off-by: Rene Griessl rgrie...@cit-ec.uni-bielefeld.de --- drivers/usb/eth/Makefile| 3 + drivers/usb/eth/asix88179.c | 641

Re: [U-Boot] [PATCH 6/8] ARMv8: PSCI: Fixup the device tree for PSCI v0.2

2014-09-03 Thread Mark Rutland
On Tue, Sep 02, 2014 at 04:21:24PM +0100, Stuart Yoder wrote: The idea here is that if there is no PSCI specific (most likely secure) memory allocated in the system, the macro CONFIG_ARMV8_SECURE_BASE will not be defined. In this case the PSCI vector table and its support code will be

[U-Boot] [PATCH] cmd_mem: add static to internally used functions

2014-09-03 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- common/cmd_mem.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/common/cmd_mem.c b/common/cmd_mem.c index 1febddb..bfca59e 100644 --- a/common/cmd_mem.c +++ b/common/cmd_mem.c @@ -215,7 +215,7 @@ static int

Re: [U-Boot] [PATCH 1/2] env_mmc: remove condition on call to mmc_switch_part

2014-09-03 Thread Stephen Warren
On 09/02/2014 05:31 PM, Peter A. Bigot wrote: Though it might be expected to do so, mmc_switch_part() does not change the part_num field of the device on which the partition has been changed. As such, checking to see whether the partition is already the target partition will fail to correctly

Re: [U-Boot] [PATCH 2/2] mmc: restore capacity when switching to partition 0

2014-09-03 Thread Stephen Warren
On 09/02/2014 05:31 PM, Peter A. Bigot wrote: The capacity and lba for an MMC device with part_num 0 reflects the whole device. When mmc_switch_part() successfully switches to a partition, the capacity is changed to that partition. As partition 0 does not physically exist, attempts to switch

Re: [U-Boot] uboot env in mmc partition

2014-09-03 Thread Stephen Warren
On 08/29/2014 11:21 AM, Naitik Amin wrote: HI there, I recently made changes to my system, where I created a new partition on my mmc. (mmcblk0p4) Then i dd'd a uboot env image into this partition, updated the fw_env.config to point to /dev/mmcblk0p4. At this point, my fw_printenv and fw_setenv

Re: [U-Boot] [PATCH 2/2] mmc: restore capacity when switching to partition 0

2014-09-03 Thread Peter A. Bigot
On 09/03/2014 10:48 AM, Stephen Warren wrote: On 09/02/2014 05:31 PM, Peter A. Bigot wrote: The capacity and lba for an MMC device with part_num 0 reflects the whole device. When mmc_switch_part() successfully switches to a partition, the capacity is changed to that partition. As partition 0

Re: [U-Boot] uboot env in mmc partition

2014-09-03 Thread Naitik Amin
Hi Sachin, My paritions are not laid out in the same order of 1-4 in memory. The address that computed came from below [root@IM mmcblk0p4]# ls alignment_offset holdersro stat devinflight size subsystem discard_alignment

Re: [U-Boot] [PATCH 1/2] env_mmc: remove condition on call to mmc_switch_part

2014-09-03 Thread Peter A. Bigot
On 09/03/2014 10:46 AM, Stephen Warren wrote: On 09/02/2014 05:31 PM, Peter A. Bigot wrote: Though it might be expected to do so, mmc_switch_part() does not change the part_num field of the device on which the partition has been changed. As such, checking to see whether the partition is

Re: [U-Boot] [Suspected Spam] Re: uboot env in mmc partition

2014-09-03 Thread Naitik Amin
HI Stephen, Yes, I do understand that its not a good idea at all to use hardcoded addresses like that, if you pls list some steps on how can I use the sw level partition. That be great. From: Stephen Warren swar...@wwwdotorg.org To: Naitik Amin naitik.a...@ametek.com,

Re: [U-Boot] [PATCH 2/2] mmc: restore capacity when switching to partition 0

2014-09-03 Thread Stephen Warren
On 09/03/2014 09:59 AM, Peter A. Bigot wrote: On 09/03/2014 10:48 AM, Stephen Warren wrote: On 09/02/2014 05:31 PM, Peter A. Bigot wrote: The capacity and lba for an MMC device with part_num 0 reflects the whole device. When mmc_switch_part() successfully switches to a partition, the capacity

Re: [U-Boot] [PATCH 2/2] iMX6SLEVK: Change to use generic board

2014-09-03 Thread Nitin Garg
On 09/03/2014 04:43 AM, Ye.Li wrote: Enable CONFIG_SYS_GENERIC_BOARD for imx6slevk to use generic board. Signed-off-by: Ye.Li b37...@freescale.com --- include/configs/mx6slevk.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/mx6slevk.h

Re: [U-Boot] [PATCH 1/2] iMX6Q/DL:ARM2: Change to use generic board

2014-09-03 Thread Nitin Garg
On 09/03/2014 04:43 AM, Ye.Li wrote: Enable the CONFIG_SYS_GENERIC_BOARD for imx6q/dl arm2 board to use generic board. Signed-off-by: Ye.Li b37...@freescale.com --- include/configs/mx6qarm2.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH] AM335x: igep0033: Convert to generic board and use ti_am335x_common.h.

2014-09-03 Thread Enric Balletbo i Serra
From: Enric Balletbo i Serra eballe...@iseebcn.com To reduce code duplication update am335x_igep0033.h to use ti_am335x_common.h and convert to generic board. Signed-off-by: Enric Balletbo i Serra eballe...@iseebcn.com --- include/configs/am335x_igep0033.h | 221

[U-Boot] Force check of RSA-Signature

2014-09-03 Thread Ulf Bartel
Hello. We are currently testing U-Boot on a PPC. Beside booting the system we like to use it do some system updates (e.g. Kernel, FDT and Initrd). I've compiled U-Boot with support for AES and RSA-Signatures. We are storing the RSA public keys using a Fit-Image for U-Boot configuration on

Re: [U-Boot] uboot env in mmc partition

2014-09-03 Thread Sachin Verma
Hi Naitik, On Wed, Sep 3, 2014 at 8:08 PM, Naitik Amin naitik.a...@ametek.com wrote: Below is the layout of my partitions. [root@IM /root]# cat /proc/partitions major minor #blocks name 17903887104 mmcblk0 1791 20480 mmcblk0p1 1792 512000

[U-Boot] [PATCH v2] env_mmc: correct fini partition to match init partition

2014-09-03 Thread Peter A. Bigot
The code to set the MMC partition uses an weak function to obtain the correct partition number. Use that instead of the compile-time default when deciding whether it needs to switch back. Signed-off-by: Peter A. Bigot p...@pabigot.com --- V2: * Preserve desired behavior of avoiding diagnostic

Re: [U-Boot] Call for participation in the U-Boot Mini Summit 2014

2014-09-03 Thread Detlev Zundel
Hi, [...] I will be in U-Boot mini summit 2014. Excellent! I am thinking about giving a talk on Kbuild and Kconfig. Kbuild - I think it is already stable enough, but I'd like to have a quick review of the big change we had in U-Boot in the past year. Kconfig - We have just switched to

Re: [U-Boot] [PATCH] kconfig: fix a bug of savedefconfig

2014-09-03 Thread Simon Glass
On 2 September 2014 21:51, Masahiro Yamada yamad...@jp.panasonic.com wrote: Commit 3ff291f371fa9858426774f3732924bacb61ed1c (kconfig: convert Kconfig helper script into a shell script) introduced a minor bug. make alldefconfig make savedefconfig should create an empty 'defconfig'.

Re: [U-Boot] [PATCH 2/2] mmc: restore capacity when switching to partition 0

2014-09-03 Thread Peter A. Bigot
On 09/03/2014 11:05 AM, Stephen Warren wrote: On 09/03/2014 09:59 AM, Peter A. Bigot wrote: On 09/03/2014 10:48 AM, Stephen Warren wrote: On 09/02/2014 05:31 PM, Peter A. Bigot wrote: The capacity and lba for an MMC device with part_num 0 reflects the whole device. When mmc_switch_part()

Re: [U-Boot] Call for participation in the U-Boot Mini Summit 2014

2014-09-03 Thread Detlev Zundel
Hi Lukasz, [...] btw. Tom etc., do we have some list of talks for the minisummit or some program for it available somewhere ? When is the deadline for CFP ? I would also like to pose this question. Is there any ongoing work on the minisummit schedule? Yes, I'm collecting all information

Re: [U-Boot] Call for participation in the U-Boot Mini Summit 2014

2014-09-03 Thread Detlev Zundel
Hi Marek, [...] I got my talk, Secure and flexible boot with U-Boot bootloader, accepted for the main track it seems. It's mostly about use fitImage and use UBI on NAND kind of talk, which covers introduction to fitImage and storing system components on UBI/UBIFS to prevent problems like

Re: [U-Boot] Call for participation in the U-Boot Mini Summit 2014

2014-09-03 Thread Detlev Zundel
Hi Lukasz, [...] I'd like to share with the u-boot mailing list the proposal of my talk for u-boot's Mini summit in the ELCE2014. Thanks a lot for the proposal. __Mainline u-boot for Tizen 3.0 - “war story”__ Abstract: Utilization of u-boot bootloader at Samsung's Linux powered

Re: [U-Boot] [PATCH] cmd_mem: add static to internally used functions

2014-09-03 Thread Simon Glass
On 3 September 2014 08:38, Masahiro Yamada yamad...@jp.panasonic.com wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Would be nice to have a short commit message. Acked-by: Simon Glass s...@chromium.org ___ U-Boot mailing list

Re: [U-Boot] [PATCH v2] env_mmc: correct fini partition to match init partition

2014-09-03 Thread Stephen Warren
On 09/03/2014 10:32 AM, Peter A. Bigot wrote: The code to set the MMC partition uses an weak function to obtain the correct partition number. Use that instead of the compile-time default when deciding whether it needs to switch back. Yes, this clearly fixes a bug. Can you also please add a

Re: [U-Boot] Call for participation in the U-Boot Mini Summit 2014

2014-09-03 Thread Przemyslaw Marczak
Hello Detlev, On 08/11/2014 05:48 PM, Przemyslaw Marczak wrote: Hello Detlev, On 01/13/2014 06:12 PM, Detlev Zundel wrote: Hi, as already indicated, we are looking forward to our next U-Boot Mini Summit at Embedded Linux Conference Europe 2014 which will take place in Düsseldorf, Germany

Re: [U-Boot] mini summit talk proposal: Getting SoC vendors to work with upstream u-boot

2014-09-03 Thread Detlev Zundel
Hi Hans, I would to give a talk (more an intro to a group wide discussion) on how to get (more) manufacturers engaged in upstreaming their work / working directly with upstream from day one. This is very welcome indeed, thanks! My own experience in this lies with the Allwinner sunxi

[U-Boot] [PATCH v3 3/4] cleanup code which handles the Android sparse image format

2014-09-03 Thread Steve Rae
- port dprintf() to debug() - update formatting Signed-off-by: Steve Rae s...@broadcom.com --- Changes in v3: - use original license text Changes in v2: - use BSD-3-Clause common/aboot.c | 97 +- 1 file changed, 56 insertions(+), 41

[U-Boot] [PATCH v3 1/4] add code to handle Android sparse image format

2014-09-03 Thread Steve Rae
Add original file (pristine) from : https://www.codeaurora.org/cgit/quic/la/kernel/lk/plain/app/aboot/aboot.c?h=master [3b5092d20bd15a7a2879c13e9f64acc48d04af2d] Signed-off-by: Steve Rae s...@broadcom.com --- Changes in v3: None Changes in v2: None common/aboot.c | 2643

[U-Boot] [PATCH v3 0/4] Implement sparse format for fastboot

2014-09-03 Thread Steve Rae
This series implements the sparse format file handling for fastboot. - [1/4] brings in the pristine file aboot.c - [2/4] deletes all unnecessary functions in aboot.c - [3/4] is a simple cleanup of aboot.c - [4/4] provides the implementation of aboot.c suitable for U-Boot Changes in v3: - use

[U-Boot] [PATCH v3 4/4] implement the Android sparse image format

2014-09-03 Thread Steve Rae
update to provide usable implementation to U-Boot Signed-off-by: Steve Rae s...@broadcom.com --- Changes in v3: None Changes in v2: None common/aboot.c| 129 +- include/aboot.h | 28 +++ include/sparse_defs.h | 7 +++ 3

[U-Boot] [PATCH v3 2/4] update code which handles Android sparse image format

2014-09-03 Thread Steve Rae
- remove unnecessary functions Signed-off-by: Steve Rae s...@broadcom.com --- Changes in v3: None Changes in v2: None common/aboot.c | 2438 1 file changed, 2438 deletions(-) diff --git a/common/aboot.c b/common/aboot.c index

[U-Boot] [PATCH v3] env_mmc: correct fini partition to match init partition

2014-09-03 Thread Peter A. Bigot
The code to set the MMC partition uses an weak function to obtain the correct partition number. Use that instead of the compile-time default when deciding whether it needs to switch back. Fixes: 6e7b7df4df43574 (env_mmc: support env partition setup in runtime) Signed-off-by: Peter A. Bigot

Re: [U-Boot] [PATCH v2] env_mmc: correct fini partition to match init partition

2014-09-03 Thread Peter A. Bigot
On 09/03/2014 11:52 AM, Stephen Warren wrote: On 09/03/2014 10:32 AM, Peter A. Bigot wrote: The code to set the MMC partition uses an weak function to obtain the correct partition number. Use that instead of the compile-time default when deciding whether it needs to switch back. Yes, this

[U-Boot] [U-boot] [Patch 0/6] keystone2: add k2l SoC and k2l_evm board support

2014-09-03 Thread Ivan Khoronzhuk
This patch series adds Keystone II Lamar (K2L) SoC and k2l_evm board support. Based on [U-boot] [Patch] mtd: nand: davinci_nand: correct keystone RBL layout definition https://www.mail-archive.com/u-boot@lists.denx.de/msg146305.html Hao Zhang (6): ARM: keystone2: add K2L device

[U-Boot] [U-boot] [Patch 2/6] keystone2: clock: add K2L clock definitions and commands

2014-09-03 Thread Ivan Khoronzhuk
From: Hao Zhang hzh...@ti.com This patch adds clock definitions and commands to support Keystone II K2L SOC. Acked-by: Vitaly Andrianov vita...@ti.com Signed-off-by: Hao Zhang hzh...@ti.com Signed-off-by: Ivan Khoronzhuk ivan.khoronz...@ti.com --- arch/arm/cpu/armv7/keystone/Makefile

[U-Boot] [U-boot] [Patch 1/6] ARM: keystone2: add K2L device hardware definitions

2014-09-03 Thread Ivan Khoronzhuk
From: Hao Zhang hzh...@ti.com This patch adds hardware definitions specific to Keystone II Lamar (K2L) SoC. Acked-by: Vitaly Andrianov vita...@ti.com Signed-off-by: Hao Zhang hzh...@ti.com Signed-off-by: Ivan Khoronzhuk ivan.khoronz...@ti.com ---

[U-Boot] [U-boot] [Patch 5/6] keystone2: enable OSR clock domain for K2L SoC

2014-09-03 Thread Ivan Khoronzhuk
From: Hao Zhang hzh...@ti.com This patches enables the On-chip Shared Ram clock domain for K2L SoC. Signed-off-by: Hao Zhang hzh...@ti.com Signed-off-by: Ivan Khoronzhuk ivan.khoronz...@ti.com --- arch/arm/cpu/armv7/keystone/init.c| 49 +++

[U-Boot] [U-boot] [Patch 4/6] ARM: keystone2: spl: add K2L SoC support

2014-09-03 Thread Ivan Khoronzhuk
From: Hao Zhang hzh...@ti.com Add Keystone II Lamar (K2L) SoC support. Acked-by: Vitaly Andrianov vita...@ti.com Signed-off-by: Hao Zhang hzh...@ti.com Signed-off-by: Ivan Khoronzhuk ivan.khoronz...@ti.com --- arch/arm/cpu/armv7/keystone/spl.c | 7 +++ 1 file changed, 7 insertions(+) diff

[U-Boot] [U-boot] [Patch 6/6] keystone2: k2l-evm: add board support

2014-09-03 Thread Ivan Khoronzhuk
From: Hao Zhang hzh...@ti.com This patch adds Keystone II Lammar (K2L) EVM board support. Acked-by: Vitaly Andrianov vita...@ti.com Signed-off-by: Hao Zhang hzh...@ti.com Signed-off-by: Ivan Khoronzhuk ivan.khoronz...@ti.com --- arch/arm/Kconfig | 3 ++

[U-Boot] [U-boot] [Patch 3/6] keystone2: msmc: add MSMC cache coherency support for K2L SOC

2014-09-03 Thread Ivan Khoronzhuk
From: Hao Zhang hzh...@ti.com This patch adds Keystone II Lamar (K2L) SoC specific definitions to support MSMC cache coherency. Acked-by: Vitaly Andrianov vita...@ti.com Signed-off-by: Hao Zhang hzh...@ti.com Signed-off-by: Ivan Khoronzhuk ivan.khoronz...@ti.com ---

[U-Boot] [PATCH 0/2] Sync compiler*.h with Linux 3.16

2014-09-03 Thread Masahiro Yamada
Masahiro Yamada (2): compiler*.h: sync include/linux/compiler*.h with Linux 3.16 standalone: use GCC_VERSION defined in compiler-gcc.h examples/standalone/stubs.c| 7 +--- include/linux/compiler-clang.h | 12 ++ include/linux/compiler-gcc.h | 57 ++

[U-Boot] [PATCH 1/2] compiler*.h: sync include/linux/compiler*.h with Linux 3.16

2014-09-03 Thread Masahiro Yamada
Copy them from Linux v3.16 tag. My main motivation of this commit is to add compiler-clang.h. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Jeroen Hofstee jer...@myspectrum.nl --- I built all the supported board and compared MD5SUM. I confirmed this patch does not change the

[U-Boot] [PATCH 2/2] standalone: use GCC_VERSION defined in compiler-gcc.h

2014-09-03 Thread Masahiro Yamada
Now GCC_VERSION is defined in include/linux/compiler-gcc.h (with a little different definition). Use it and delete the one in examples/standlone/stub.c. This should work on Clang too because __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__ are also defined on Clang. Signed-off-by: Masahiro Yamada

Re: [U-Boot] [PATCH v2] env_mmc: correct fini partition to match init partition

2014-09-03 Thread Stephen Warren
On 09/03/2014 11:30 AM, Peter A. Bigot wrote: On 09/03/2014 11:52 AM, Stephen Warren wrote: On 09/03/2014 10:32 AM, Peter A. Bigot wrote: The code to set the MMC partition uses an weak function to obtain the correct partition number. Use that instead of the compile-time default when deciding

Re: [U-Boot] [PATCH v2] env_mmc: correct fini partition to match init partition

2014-09-03 Thread Peter A. Bigot
On 09/03/2014 12:46 PM, Stephen Warren wrote: On 09/03/2014 11:30 AM, Peter A. Bigot wrote: On 09/03/2014 11:52 AM, Stephen Warren wrote: On 09/03/2014 10:32 AM, Peter A. Bigot wrote: The code to set the MMC partition uses an weak function to obtain the correct partition number. Use that

Re: [U-Boot] [PATCH v6] mx6: add support of multi-processor command

2014-09-03 Thread York Sun
On 07/28/2014 08:15 AM, Stefano Babic wrote: Hi Gabriel, On 26/07/2014 20:35, Gabriel Huau wrote: This allows u-boot to load different OS or Bare Metal application on different cores of the i.MX6 SoC. For example: running Android on cpu0 and a RT OS like QNX/FreeRTOS on cpu1.

Re: [U-Boot] [PATCH v6] mx6: add support of multi-processor command

2014-09-03 Thread York Sun
On 09/03/2014 11:26 AM, Gabriel Huau wrote: Hi York, On 09/03/2014 11:00 AM, York Sun wrote: On 07/28/2014 08:15 AM, Stefano Babic wrote: Hi Gabriel, On 26/07/2014 20:35, Gabriel Huau wrote: This allows u-boot to load different OS or Bare Metal application on different cores of the i.MX6

Re: [U-Boot] [PATCH v6] mx6: add support of multi-processor command

2014-09-03 Thread Gabriel Huau
On 09/03/2014 11:36 AM, York Sun wrote: On 09/03/2014 11:26 AM, Gabriel Huau wrote: Hi York, On 09/03/2014 11:00 AM, York Sun wrote: On 07/28/2014 08:15 AM, Stefano Babic wrote: Hi Gabriel, On 26/07/2014 20:35, Gabriel Huau wrote: This allows u-boot to load different OS or Bare Metal

Re: [U-Boot] [PATCH v6] mx6: add support of multi-processor command

2014-09-03 Thread Gabriel Huau
Hi York, On 09/03/2014 11:00 AM, York Sun wrote: On 07/28/2014 08:15 AM, Stefano Babic wrote: Hi Gabriel, On 26/07/2014 20:35, Gabriel Huau wrote: This allows u-boot to load different OS or Bare Metal application on different cores of the i.MX6 SoC. For example: running Android on cpu0 and a

[U-Boot] U-boot-arm/master (and next) fast-forwarded to u-boot/master

2014-09-03 Thread Albert ARIBAUD
Hello, FYI; subject says all. Amicalement, -- Albert. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] uboot env in mmc partition

2014-09-03 Thread Naitik Amin
More info.. Below is what I see on bootup. My env is at 0x10 from base of sd card. It seems something happened on the hash insert. Boot Log U-Boot SPL 2013.01.01 (May 02 2014 - 11:49:21) BOARD : Altera SOCFPGA Cyclone V Board SDRAM: Initializing MMR registers SDRAM: Calibrating PHY

[U-Boot] [PATCH] patman: make run results better visible

2014-09-03 Thread Vadim Bendebury
For an occasional user of patman some failures are not obvious: for instance when checkpatch reports warnings, the dry run still reports that the email would be sent. If it is not dry run, the warnings are shown on the screen, but it is not clear that the email was not sent. Add some code to

[U-Boot] [RFC] mainline u-boot on socfpga

2014-09-03 Thread Pavel Machek
Hi! I know coding style leaves something to be desired. But.. it recognizes MMC/ethernet, and can load linux kernel. Unfortunately, linux kernel then fails to mount / filesystem (or fails to launch init if filesystem is clean); same kernel works with rocketboards u-boot. Ideas what could be a

[U-Boot] [PATCH v2 0/4] Kconfig: Fix various bugs

2014-09-03 Thread Masahiro Yamada
Commit 3ff291f371fa9858426774f3732924bacb61ed1c (kconfig: convert Kconfig helper script into a shell script) introduced various bugs. We are trying to be user-friendly, not developer-friendly, but it causes my headache... Masahiro Yamada (4): kconfig: fix savedefconfig to output empty

[U-Boot] [PATCH v2 1/4] kconfig: fix savedefconfig to output empty defconfig

2014-09-03 Thread Masahiro Yamada
Commit 3ff291f371fa9858426774f3732924bacb61ed1c (kconfig: convert Kconfig helper script into a shell script) introduced a minor regression. make alldefconfig; make savedefconfig should create an empty 'defconfig'. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Acked-by: Simon Glass

[U-Boot] [PATCH v2 2/4] kconfig: fix whitespace handling bug of savedefconfig

2014-09-03 Thread Masahiro Yamada
Commit 3ff291f371fa9858426774f3732924bacb61ed1c (kconfig: convert Kconfig helper script into a shell script) introduced another regression. Shell usually handles whitespaces as separators, so make saveconfig outputs # CONFIG_FOO is not set into: # CONFIG_FOO is not set Whitespaces

[U-Boot] [PATCH v2 3/4] kconfig: fix savedefconfig to handle TPL correctly

2014-09-03 Thread Masahiro Yamada
Since 3ff291f371fa9858426774f3732924bacb61ed1c (kconfig: convert Kconfig helper script into a shell script), make savedefconfig of TPL boards has not been working. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v2: - Newly added scripts/multiconfig.sh | 6 +++--- 1

[U-Boot] [PATCH v2 4/4] kconfig: fix a bug of make config

2014-09-03 Thread Masahiro Yamada
Since 3ff291f371fa9858426774f3732924bacb61ed1c (kconfig: convert Kconfig helper script into a shell script), make config is not working because of a missing '$' before '(Q)'. Besides, make config should be invoked via scripts/multiconfig.sh to avoid a warning message: Kconfig:11:warning:

[U-Boot] [PATCH] kconfig: show an error message when defconfig is not found

2014-09-03 Thread Masahiro Yamada
When a non-existing defconfig is specified, display an easy-to-understand message (fake the error message on Linux Kernel): $ make foo_defconfig *** *** Can't find default configuration confis/foo_defconfig! *** Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com ---

Re: [U-Boot] [PATCH] kconfig: show an error message when defconfig is not found

2014-09-03 Thread Stephen Warren
On 09/03/2014 02:48 PM, Masahiro Yamada wrote: When a non-existing defconfig is specified, display an easy-to-understand message (fake the error message on Linux Kernel): $ make foo_defconfig *** *** Can't find default configuration confis/foo_defconfig! *** Echo to stderr rather

Re: [U-Boot] [PATCH v3 1/6] vexpress64: kconfig: consolidate CONFIG_TARGET_VEXPRESS_AEMV8A_SEMI

2014-09-03 Thread Masahiro YAMADA
Tom, (or Albert if he is ready) Could you apply these two, please? http://patchwork.ozlabs.org/patch/384614/ http://patchwork.ozlabs.org/patch/384616/ This kind of patches tend to cause conflicts. -- Best Regards Masahiro Yamada ___ U-Boot mailing

Re: [U-Boot] [PATCH] common: fix include guards for CONFIG_MP

2014-09-03 Thread York Sun
On 09/03/2014 01:57 PM, Gabriel Huau wrote: This was breaking the build for some boards: MPC8536DS MPC8536DS_36BIT MPC8536DS_SDCARD MPC8536DS_SPIFLASH qemu-ppce500 Include only these features for some PPC boards if the configuration for MultiProcessor is enabled. Signed-off-by: Gabriel

[U-Boot] [PATCH] common: fix include guards for CONFIG_MP

2014-09-03 Thread Gabriel Huau
This was breaking the build for some boards: MPC8536DS MPC8536DS_36BIT MPC8536DS_SDCARD MPC8536DS_SPIFLASH qemu-ppce500 Include only these features for some PPC boards if the configuration for MultiProcessor is enabled. Signed-off-by: Gabriel Huau cont...@huau-gabriel.fr Cc: Tom Rini

[U-Boot] [PATCH 2/2] arm: Fix _start for CONFIG_SYS_DV_NOR_BOOT_CFG

2014-09-03 Thread Benoît Thébaudeau
The boards using CONFIG_SYS_DV_NOR_BOOT_CFG (i.e. calimain, da850evm_direct_nor and enbw_cmc) had the _start symbol defined after the CONFIG_SYS_DV_NOR_BOOT_CFG word rather than before it in arch/arm/lib/vectors.S. Because of that, if by lack of luck 'gd-mon_len = (ulong)__bss_end - (ulong)_start'

[U-Boot] [PATCH 1/2] arm: Make reset position-independent

2014-09-03 Thread Benoît Thébaudeau
Some boards, like mx31pdk and tx25, require the beginning of the SPL code to be position-independent. For these two boards, this is because they use the i.MX external NAND boot, which starts by executing the first NAND Flash page from the NFC page buffer. The SPL then needs to copy itself to its

Re: [U-Boot] [PATCH 1/2] arm: Make reset position-independent

2014-09-03 Thread Benoît Thébaudeau
On Wed, Sep 3, 2014 at 11:32 PM, Benoît Thébaudeau benoit.thebaudeau@gmail.com wrote: Some boards, like mx31pdk and tx25, require the beginning of the SPL code to be position-independent. For these two boards, this is because they use the i.MX external NAND boot, which starts by executing

Re: [U-Boot] [PATCH 1/2] arm: Make reset position-independent

2014-09-03 Thread Benoît Thébaudeau
On Wed, Sep 3, 2014 at 11:32 PM, Benoît Thébaudeau benoit.thebaudeau@gmail.com wrote: Some boards, like mx31pdk and tx25, require the beginning of the SPL code to be position-independent. For these two boards, this is because they use the i.MX external NAND boot, which starts by executing

Re: [U-Boot] [PATCH v7 1/2] net: fec_mxc: Adjust RX DMA alignment for mx6solox

2014-09-03 Thread Fabio Estevam
Hi Stefano, On Mon, Aug 25, 2014 at 1:34 PM, Fabio Estevam fabio.este...@freescale.com wrote: mx6solox has a requirement for 64 bytes alignment for RX DMA transfer. Other SoCs work with the standard 32 bytes alignment. Adjust it accordingly by using 64 bytes aligment in the FEC RX DMA

Re: [U-Boot] [PATCH] patman: make run results better visible

2014-09-03 Thread Doug Anderson
Vadim, On Wed, Sep 3, 2014 at 12:16 PM, Vadim Bendebury vben...@chromium.org wrote: For an occasional user of patman some failures are not obvious: for instance when checkpatch reports warnings, the dry run still reports that the email would be sent. If it is not dry run, the warnings are

Re: [U-Boot] [PATCH] patman: make run results better visible

2014-09-03 Thread Vadim Bendebury
On Wed, Sep 3, 2014 at 3:14 PM, Doug Anderson diand...@chromium.org wrote: Vadim, On Wed, Sep 3, 2014 at 12:16 PM, Vadim Bendebury vben...@chromium.org wrote: For an occasional user of patman some failures are not obvious: for instance when checkpatch reports warnings, the dry run still

Re: [U-Boot] [PATCH v3 0/4] introduce get_maintainer.pl

2014-09-03 Thread Simon Glass
Hi Daniel, On 31 July 2014 18:24, Daniel Schwierzeck daniel.schwierz...@gmail.com wrote: This series imports get_maintainer.pl from kernel and reintroduce the MAINTAINERS file in the according format. Currently one have to manually grep all infos about board maintainers or custodians from

[U-Boot] [PATCH v7 0/13] Enable driver model for GPIOs on Tegra and Exynos

2014-09-03 Thread Simon Glass
Now that driver model is part of U-Boot, the task of converting drivers over to it begins. GPIO is one of the easiest to convert, since it already has a sandbox driver and a uclass driver. The Tegra GPIO driver is relatively simple since it has a linear numbering and already uses the generic GPIO

[U-Boot] [PATCH v7 10/13] exynos: Tidy up GPIO headers

2014-09-03 Thread Simon Glass
The wrong header is being included, thus requiring the code to re-declare the generic GPIO interface in each GPIO header. Fix this. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2:

[U-Boot] [PATCH v7 13/13] exynos: gpio: Convert to driver model

2014-09-03 Thread Simon Glass
Convert the exynos GPIO driver to driver model. This implements the generic GPIO interface but not the extra Exynos-specific functions. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v7: - Bring in patches from the SPI series to move post-reloc DM init earlier Changes in v6: None

[U-Boot] [PATCH v7 01/13] dm: Move pre-reloc init earlier to cope with board_early_init_f()

2014-09-03 Thread Simon Glass
In order to support GPIO access in board_early_init_f() we must set up driver model before this function is called. In any case, earlier is better since driver model is (or will become) a key function for most init. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v7: - Add new patch

[U-Boot] [PATCH v7 09/13] exynos: dts: Adjust device tree files for U-Boot

2014-09-03 Thread Simon Glass
The pinctrl bindings used by Linux are an incomplete description of the hardware. It is possible in most cases to determine the register address of each, but not in all cases. By adding an additional property we can fix this, and avoid adding a table to U-Boot for every single Exynos SOC.

[U-Boot] [PATCH v7 06/13] exynos: dts: Convert /include/ to #include

2014-09-03 Thread Simon Glass
We should be consistent about this. The kernel has moved to #include which breaks error reporting to some extent but does allow us to include binding files. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v7: None Changes in v6: None Changes in v5: - Put this patch before the others

[U-Boot] [PATCH v7 02/13] Set up stdio earlier when using driver model

2014-09-03 Thread Simon Glass
Since driver model registers itself with the stdio subsystem, and we want to avoid delayed registration and other complexity associated with the current serial console, move the stdio subsystem init earlier when driver model is used for serial. This simplifies the implementation. Should there be

[U-Boot] [PATCH v7 12/13] exynos: Make sure that GPIOs are requested

2014-09-03 Thread Simon Glass
With driver model GPIOs must be requested before use. Make sure this is done correctly. (Note that the soft SPI part of universal is omitted, since this driver is about to be replaced with a driver-model-aware version) Signed-off-by: Simon Glass s...@chromium.org --- Changes in v7: None Changes

[U-Boot] [PATCH v7 08/13] exynos: dts: Remove unused pinctrl information to save space

2014-09-03 Thread Simon Glass
We don't include the pinctrl functions for U-Boot as they use up quite a bit of space and are not used. We could instead perhaps eliminate this material with fdtgrep, but so far this tool has not made it to upstream. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v7: None Changes

[U-Boot] [PATCH v7 05/13] tegra: Convert tegra GPIO driver to use driver model

2014-09-03 Thread Simon Glass
This is an implementation of GPIOs for Tegra that uses driver model. It has been tested on trimslice and also using the new iotrace feature. The implementation uses a top-level GPIO device (which has no actual GPIOS). Under this all the banks are created as separate GPIO devices. The GPIOs are

[U-Boot] [PATCH v7 11/13] exynos: Tidy up GPIO defines

2014-09-03 Thread Simon Glass
The defines at the top of the GPIO driver use single-character names for parameters which are not very descriptive. Improve these to use descriptive parameter names. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None

  1   2   >