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

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 Signed-off-by: Sandeep Singh --- Tested on B4860QDS Changes in V2: Inserted "en_cpc:cpc2" at right place,

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

2014-09-03 Thread Stefan Roese
Hi Daniel, On 04.09.2014 01:34, Simon Glass 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 various sources like git log, wiki or boards

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

2014-09-03 Thread Wolfgang Denk
Dear Steve Rae, In message <1409763954-5494-4-git-send-email-s...@broadcom.com> you wrote: > - port dprintf() to debug() > - update formatting > > Signed-off-by: Steve Rae > --- > > Changes in v3: > - use original license text > > Changes in v2: > - use BSD-3-Clause > > common/aboot.c | 97

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

2014-09-03 Thread Wolfgang Denk
Dear Steve Rae, In message <1409763954-5494-2-git-send-email-s...@broadcom.com> you wrote: > Add original file (pristine) from : > > https://www.codeaurora.org/cgit/quic/la/kernel/lk/plain/app/aboot/aboot.c?h=master > [3b5092d20bd15a7a2879c13e9f64acc48d04af2d] ... > + * Redistribution and use i

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

2014-09-03 Thread Doug Anderson
Vadim, On Wed, Sep 3, 2014 at 4:00 PM, Vadim Bendebury wrote: > On Wed, Sep 3, 2014 at 3:14 PM, Doug Anderson wrote: >> Vadim, >> >> On Wed, Sep 3, 2014 at 12:16 PM, Vadim Bendebury >> wrote: >>> For an occasional user of patman some failures are not obvious: for >>> instance when checkpatch r

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

2014-09-03 Thread Nitin Garg
Hi Ye, On 09/03/2014 03:34 AM, Ye.Li wrote: > diff --git a/board/freescale/mx6qarm2/mx6qarm2.c > b/board/freescale/mx6qarm2/mx6qarm2.c > index f2e577d..090f3a8 100644 > --- a/board/freescale/mx6qarm2/mx6qarm2.c > +++ b/board/freescale/mx6qarm2/mx6qarm2.c > @@ -32,7 +32,11 @@ DECLARE_GLOBAL_DATA_P

[U-Boot] [PATCH v3] imx: Support i.MX6 High Assurance Boot authentication

2014-09-03 Thread Nitin Garg
When CONFIG_SECURE_BOOT is enabled, the signed images like kernel and dtb can be authenticated using iMX6 CAAM. The added command hab_auth_img can be used for HAB authentication of images. The command takes the image DDR location, IVT (Image Vector Table) offset inside image as parameters. Detailed

Re: [U-Boot] [PATCH] Support i.MX6 High Assurance Boot (HAB) authentication of images

2014-09-03 Thread Nitin Garg
On 09/03/2014 07:10 PM, Fabio Estevam wrote: > On Tue, Sep 2, 2014 at 10:55 PM, Nitin Garg wrote: > >> In the macros of HAB, like: >> hab_rvt_report_event_p >> >> The compiler generates bhi instead of bgt. > > hab_rvt_report_event_p exists prior to this patch. Is the issue > present in current c

[U-Boot] buildman fails if branch specifier contains a'/'

2014-09-03 Thread Steve Rae
example: $ tools/buildman/buildman -b dev/to_denx broadcom No section: 'make-flags' boards.cfg is up to date. Nothing to do. Building 1 commit for 4 boards (4 threads, 2 jobs per thread) Traceback (most recent call last): File "tools/buildman/buildman", line 139, in control.DoBuildman(opti

Re: [U-Boot] [PATCH] Support i.MX6 High Assurance Boot (HAB) authentication of images

2014-09-03 Thread Fabio Estevam
On Tue, Sep 2, 2014 at 10:55 PM, Nitin Garg wrote: > In the macros of HAB, like: > hab_rvt_report_event_p > > The compiler generates bhi instead of bgt. hab_rvt_report_event_p exists prior to this patch. Is the issue present in current code then? If so, it should be handled on a separate patch.

Re: [U-Boot] [PATCH v3 5/6] arm: debug: add Kconfig entries for lowlevel debug

2014-09-03 Thread Simon Glass
Hi Masahiro, On 31 August 2014 20:06, Masahiro Yamada wrote: > We have not had a good method to debug the early boot stage such as > lowlevel_init function. I guess developers generally use dedicated > debuggers for that, but it is difficult in some cases. > (For example, my debugger cannot conn

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

2014-09-03 Thread Simon Glass
On 3 September 2014 17:51, Simon Glass wrote: > On 3 September 2014 14:41, Masahiro Yamada wrote: >> Since 3ff291f371fa9858426774f3732924bacb61ed1c >> (kconfig: convert Kconfig helper script into a shell script), >> "make savedefconfig" of TPL boards has not been working. >> >> Signed-off-by: Mas

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

2014-09-03 Thread Simon Glass
On 3 September 2014 14:41, Masahiro Yamada wrote: > 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/multicon

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

2014-09-03 Thread Simon Glass
On 3 September 2014 14:41, Masahiro Yamada wrote: > 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 Acked-by: Simon Glass http://lists.denx

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

2014-09-03 Thread Simon Glass
Hi Masahiro, On 3 September 2014 14:41, Masahiro Yamada wrote: > Commit 3ff291f371fa9858426774f3732924bacb61ed1c > (kconfig: convert Kconfig helper script into a shell script) > introduced another regression. > > Shell usually handles whitespaces as separators, > so "make saveconfig" outputs > >

[U-Boot] [PATCH v7 04/13] dm: tegra: Set up a pre-reloc malloc()

2014-09-03 Thread Simon Glass
Allocate 1KB so that driver model can operate before relocation. Signed-off-by: Simon Glass --- Changes in v7: - Add new patch to enable pre-reloc malloc() for tegra Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None include/configs/tegra-commo

[U-Boot] [PATCH v7 03/13] dm: Make driver model available before board_init()

2014-09-03 Thread Simon Glass
For some boards board_init() will change GPIOs, so we need to have driver model available before then. Adjust the board init to arrange this, but enable it for driver model only, just to be safe. This does create additional #ifdef logic, but it is safer than trying to make a pervasive change which

[U-Boot] [PATCH v7 07/13] exynos: Bring in pinctrl dts files from Linux kernel

2014-09-03 Thread Simon Glass
Bring in required device tree files for pinctrl from Linux v3.14. These are initially unchanged and have a number of pieces not needed by U-Boot. Note that exynos5420 is renamed to exynos54xx here since we want to support exynos5422 also. Signed-off-by: Simon Glass --- Changes in v7: None Chang

[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 --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: Non

[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 na

[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 --- Changes in v7: None Changes in v6: None Chang

[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 --- Changes in v7: None Changes in v6: None Changes

[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 a

[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. Signed-o

[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 --- Changes in v7: None Changes in v6: None Changes in v5: - Put this patch before the others to avoid breaking

[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 --- Changes in v7: - Bring in patches from the SPI series to move post-reloc DM init earlier Changes in v6: None Changes in v5: - Re

[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 --- Changes in v7: - Add new patch to init driver mod

[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 --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/c

[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

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 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 > various sources like git l

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 wrote: > Vadim, > > On Wed, Sep 3, 2014 at 12:16 PM, Vadim Bendebury 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.

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 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 > shown on the screen,

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 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 buffers, > which addresses the

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 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 the > first NAND Flash page fr

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 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 the > first NAND Flash page fr

[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 ac

[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] 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 Cc: Tom Rini Cc: York Sun --- common/board_f

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: G

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 li

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

[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 --- scripts/multiconfig.sh | 7 +++ 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: envir

[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 Whitespace

[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 --- Changes in v2: - Newly added scripts/multiconfig.sh | 6 +++--- 1 file changed, 3 insertion

[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 Acked-by: Simon Glass --- Changes in v2: - Rese

[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 defconf

[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 pr

[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 repor

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 S

[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] [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

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 applic

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 differe

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 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 inst

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 w

[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 C

[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 Cc: Jeroen Hofstee --- I built all the supported board and compared MD5SUM. I confirmed this patch does not change the produced binaries. include/linux/compiler-clang.

[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 ++ inclu

[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 This patch adds Keystone II Lamar (K2L) SoC specific definitions to support MSMC cache coherency. Acked-by: Vitaly Andrianov Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/init.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/a

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

2014-09-03 Thread Ivan Khoronzhuk
From: Hao Zhang This patch adds Keystone II Lammar (K2L) EVM board support. Acked-by: Vitaly Andrianov Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/Kconfig | 3 ++ arch/arm/include/asm/arch-keystone/clock-k2l.h | 6 +++ board/ti/ks2_evm

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

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

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

2014-09-03 Thread Ivan Khoronzhuk
From: Hao Zhang This patches enables the On-chip Shared Ram clock domain for K2L SoC. Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/init.c| 49 +++ arch/arm/include/asm/arch-keystone/hardware-k2l.h | 25

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

2014-09-03 Thread Ivan Khoronzhuk
From: Hao Zhang This patch adds hardware definitions specific to Keystone II Lamar (K2L) SoC. Acked-by: Vitaly Andrianov Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/include/asm/arch-keystone/hardware-k2hk.h | 2 - arch/arm/include/asm/arch-keystone/hardware-k2l.h |

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

2014-09-03 Thread Ivan Khoronzhuk
From: Hao Zhang This patch adds clock definitions and commands to support Keystone II K2L SOC. Acked-by: Vitaly Andrianov Signed-off-by: Hao Zhang Signed-off-by: Ivan Khoronzhuk --- arch/arm/cpu/armv7/keystone/Makefile | 1 + arch/arm/cpu/armv7/keystone/clock-k2l.c| 139 +

[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 hard

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 cle

[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 ---

[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 --- 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 3b5092d..a302c92 100644 ---

[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 --- Changes in v3: None Changes in v2: None common/aboot.c| 129 +- include/aboot.h | 28 +++ include/sparse_defs.h | 7 +++ 3 files changed, 111

[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: -

[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 --- Changes in v3: None Changes in v2: None common/aboot.c | 2643 ++

[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 --- Changes in v3: - use original license text Changes in v2: - use BSD-3-Clause common/aboot.c | 97 +- 1 file changed, 56 insertions(+), 41 deletions(-) diff --g

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 supp

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 from

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 Fi

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 wrote: > Signed-off-by: Masahiro Yamada Would be nice to have a short commit message. Acked-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

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 pl

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

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 inf

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() succ

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

2014-09-03 Thread Simon Glass
On 2 September 2014 21:51, Masahiro Yamada 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'. > > Signed-off-by: Masahiro

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 switc

[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 --- V2: * Preserve desired behavior of avoiding diagnostic when no HW partiti

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 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 mmcblk0p2 > 179

[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 Flash

[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 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 --- include/configs/am335x_igep0033.h | 221 -- 1 file changed, 43 insertions(+), 1

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 > --- > include/configs/mx6slevk.h |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/include/configs/mx6slevk.h b/include/configs/mx6s

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 > --- > include/configs/mx6qarm2.h |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/include/configs/mx6qarm2.h b/incl

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] [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 To: Naitik Amin , u-boot@lists.denx.de, u-boot-requ...@lists.denx.de, Date:

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 already

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 parti

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 d

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 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 ba

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] cmd_mem: add static to internally used functions

2014-09-03 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- 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 do_mem_mw(cmd_tbl_t *cmdtp

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 > > >

  1   2   >