[U-Boot] [PATCH] fs/fat: add a parameter: allow_whole_dev to fat_register_device()

2014-06-12 Thread Josh Wu
For SPL in FAT and envrionment load/save in FAT, to support no partition table device (whole device is FAT partition). We need specify the partition number as 0. But in FAT SPL and environment case, when we specify the partition number as 1, it is reasonable to support the device has no partition

[U-Boot] [PATCH] arm, calimain: Add CONFIG_SYS_GENERIC_BOARD

2014-06-12 Thread Christian Riesch
Signed-off-by: Christian Riesch christian.rie...@omicron.at --- include/configs/calimain.h |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/configs/calimain.h b/include/configs/calimain.h index febee45..b27f973 100644 --- a/include/configs/calimain.h +++

Re: [U-Boot] [PATCH 2/4] Add ctrlc_ignore environment variable to ignore Ctrl-C

2014-06-12 Thread Wolfgang Denk
Dear Simon, In message CAPnjgZ3p20664FOc9vPaV=z3dEdv7T=mmlpwbsy8njifup2...@mail.gmail.com you wrote: - This buffering of data in this patch is intended to solve a specific problem that could be avoided by more clever test scripts. Instead of just dumping an endless stream of

Re: [U-Boot] [PATCH] fs/fat: add a parameter: allow_whole_dev to fat_register_device()

2014-06-12 Thread Wolfgang Denk
Dear Josh Wu, In message 1402552643-13297-1-git-send-email-josh...@atmel.com you wrote: For SPL in FAT and envrionment load/save in FAT, to support no partition table device (whole device is FAT partition). We need specify the partition number as 0. Sorry, I cannot parse this. What exactly

Re: [U-Boot] Refactoring of U-Boot directory structure

2014-06-12 Thread Masahiro Yamada
Hi Wolfgang, On Thu, 12 Jun 2014 06:41:45 +0200 Wolfgang Denk w...@denx.de wrote: Dear Masahiro, In message 20140612131050.963a.aa925...@jp.panasonic.com you wrote: [1] Do not split the similar SoC family to various directories at91 SoC directory exists under arm920t, arm926ejs,

[U-Boot] [PATCH][v2] driver/nand: Update SRAM initialize logic for IFC.

2014-06-12 Thread Prabhakar Kushwaha
IFC controller v1.1.0 requires internal SRAM initialize by reading NAND flash. Higher controller versions have provided SRAM init bit in NCFGR register space. update SRAM initialize logic to reflect the same. Also print error message in case of Page read error. Signed-off-by: Prabhakar Kushwaha

[U-Boot] [PATCH][v2] driver/nand: Add support of 16K SRAM for IFC 2.0

2014-06-12 Thread Prabhakar Kushwaha
Internal SRAM has been incresed from 8KB to 16KB for IFC cotroller ver 2.0. Update the page offset calculation logic to support the same. Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- Changes for v2: rebased the patch drivers/mtd/nand/fsl_ifc_nand.c | 25

Re: [U-Boot] [PATCH] fs/fat: add a parameter: allow_whole_dev to fat_register_device()

2014-06-12 Thread Josh Wu
Dear Wolfgang Thanks for the review. On 6/12/2014 2:26 PM, Wolfgang Denk wrote: Dear Josh Wu, In message 1402552643-13297-1-git-send-email-josh...@atmel.com you wrote: For SPL in FAT and envrionment load/save in FAT, to support no partition table device (whole device is FAT partition). We

Re: [U-Boot] [PATCH] dfu: fix some issues with reads/uploads

2014-06-12 Thread Lukasz Majewski
Hi Stephen, On 05/30/2014 02:28 AM, Lukasz Majewski wrote: Stephen Warren wrote: ... Wouldn't it be better to have the following separate backends to DFU: * MMC (raw IO only) * NAND (raw IO only) * RAM (raw IO only) * Filesystem (anything that fs/fat/ext* load/write can support)

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

2014-06-12 Thread Andreas Bießmann
Hi Tom, On 06/11/2014 05:26 PM, Tom Rini wrote: On Tue, May 27, 2014 at 04:07:30PM +0800, Josh Wu wrote: Hi, Dear Andreas On 5/27/2014 4:55 AM, Andreas Bießmann wrote: This also renames the CONFIG_SYS_MACB_xx defines. They are used just local and therefore don't need the CONFIG_SYS_

Re: [U-Boot] [ANN] U-Boot v2014.07-rc3 released

2014-06-12 Thread Lukasz Majewski
Hi Tom, Hey all, I've pushed v2014.07-rc3 out to the repository and tarballs should exist soon. We're getting better on the syncing up of things out of patchwork and I know there's still a few items to go (and some bigger ideas I need to come back to commenting on). As always, if

Re: [U-Boot] Refactoring of U-Boot directory structure

2014-06-12 Thread Andreas Bießmann
Hi all, On 06/12/2014 08:32 AM, Masahiro Yamada wrote: On Thu, 12 Jun 2014 06:41:45 +0200 Wolfgang Denk w...@denx.de wrote: In message 20140612131050.963a.aa925...@jp.panasonic.com you wrote: [1] Do not split the similar SoC family to various directories at91 SoC directory exists under

Re: [U-Boot] [ANN] U-Boot v2014.07-rc3 released

2014-06-12 Thread Masahiro Yamada
Hi Tom, On Tue, 10 Jun 2014 12:14:53 -0400 Tom Rini tr...@ti.com wrote: Hey all, I've pushed v2014.07-rc3 out to the repository and tarballs should exist soon. We're getting better on the syncing up of things out of patchwork and I know there's still a few items to go (and some bigger

Re: [U-Boot] enbw_cmc, da850evm_direct_nor, and calimain vectors table misaligned

2014-06-12 Thread Christian Riesch
On Wed, Jun 11, 2014 at 3:15 PM, Christian Riesch christian.rie...@omicron.at wrote: - test the same build with the 4-byte signature manually prepended (this may possibly require padding the image); No, this didn't work, I guess because the relocation offsets are wrong now. I tried to set

Re: [U-Boot] [PATCH 1/2] usb: ci_udc: allow multiple buffer allocs per ep

2014-06-12 Thread Jörg Krause
On 06/10/2014 09:34 PM, Stephen Warren wrote: On 06/02/2014 05:02 PM, Jörg Krause wrote: Sorry, my previous post was not shown correctly. The raw text was missing. I removed the annotation. Since this commit my Ethernet Gadget on a custom Freescale i.MX28 board is broken. Using tftp to

Re: [U-Boot] [RFC] Proposal to change include search model

2014-06-12 Thread Vasili Galka
Hi Jeroen, On Tue, Jun 10, 2014 at 11:40 PM, Jeroen Hofstee dasub...@myspectrum.nl wrote: This sounds way too complex if you ask me for what your are trying to fix. For one thing #include versus include is compiler specific and not defined in general. If I find some time I will see if I can

Re: [U-Boot] [PATCH] fs/fat: add a parameter: allow_whole_dev to fat_register_device()

2014-06-12 Thread Wolfgang Denk
Dear Josh Wu, In message 53995100.9080...@atmel.com you wrote: In U-Boot when we access a partition of a device, we use 'ifname dev:part' format. For instance: 'mmc 0:1' means the MMC card's #1 partition of the device #0. Don;t we also support plain ifname dev, i. e. without partition

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

2014-06-12 Thread Lukasz Majewski
Hi Simon, Hi Lukasz, On 3 June 2014 03:54, Lukasz Majewski l.majew...@samsung.com wrote: This commit adds test scripts for testing if any commit has introduced regression to the DFU subsystem. It uses md5 to test if sent and received file is correct. The test detailed description is

Re: [U-Boot] [PATCH v2] socfpga: Relocate arch common functions away from board

2014-06-12 Thread Detlev Zundel
Hi Chin, To move the arch common function away from board folder to arch/arm/cpu/armv7/socfpga folder. Its to avoid code duplication for other non Altera dev kit which is using socfpga device. This looks like a good first step. I'm sure that followup patches are neccessary to clean up the

[U-Boot] [i2c] Pull request

2014-06-12 Thread Heiko Schocher
Hello Tom, please pull from u-boot-i2c.git: The following changes since commit e153b13c8e300236e6d505bea629cc81fd0988cb: common/xyzModem.c: move empty statements to newline (2014-06-11 16:27:06 -0400) are available in the git repository at: git://git.denx.de/u-boot-i2c.git master for

[U-Boot] [PATCH v2 01/11] samsung: misc: fix soc revision setting in the set_board_info()

2014-06-12 Thread Przemyslaw Marczak
The byte order of soc revision was inverted, now it is fixed. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Piotr Wilczek p.wilc...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- board/samsung/common/misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH v2 02/11] exynos: pinmux: fix the gpio names for exynos4x12 mmc

2014-06-12 Thread Przemyslaw Marczak
This change fixes the bad gpio configuration for the exynos dwmmc. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Beomho Seo beomho@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com Cc: Jaehoon Chung jh80.ch...@samsung.com --- arch/arm/cpu/armv7/exynos/pinmux.c | 4 ++-- 1 file

[U-Boot] [PATCH v2 06/11] arm:reset: call the reset_misc() before the cpu reset

2014-06-12 Thread Przemyslaw Marczak
On an Odroid U3 board, the SOC is unable to reset an eMMC card in the DWMMC mode by the cpu software reset. Manual reset of the card by switching proper gpio pin - fixes this issue. Such solution needs to add a call to pre reset function. This is done by the reset_misc() function, which is called

[U-Boot] [PATCH v2 03/11] board:samsung: check the mmc boot device and init the right mmc driver.

2014-06-12 Thread Przemyslaw Marczak
It is possible to boot from a few media devices, especially using a micro SD or eMMC slots. In this situation, boot device should be registered as block device 0 in the MMC framework, because CONFIG_SYS_MMC_ENV_DEV is usually set to 0 in the most config cases. Signed-off-by: Przemyslaw Marczak

[U-Boot] [PATCH v2 05/11] samsung: misc: set the dfu bootloader setting at boot time

2014-06-12 Thread Przemyslaw Marczak
This change adds new function: - set_dfu_boot_alt(bootmode) - where bootmode is the value of Exynos ompin[5:1] with proper bitmask using BOOT_MODE(x) macro. This change is useful for devices with more than one boot device, e.g. with a separated SD and eMMC slots.

[U-Boot] [PATCH v2 09/11] odroid: add board file for Odroid X2/U3 based on Samsung Exynos4412

2014-06-12 Thread Przemyslaw Marczak
This board file supports standard features of Odroid X2 and U3 boards: - Exynos4412 core clock set to 1000MHz and MPLL peripherial clock set to 800MHz, - MAX77686 power regulator, - USB PHY, - enable XCL205 - power for board peripherials - check board type: U3 or X2. - enable Odroid U3 FAN cooler

[U-Boot] [PATCH v2 07/11] samsung: misc: set_board_info: check the board type to set fdt file name

2014-06-12 Thread Przemyslaw Marczak
This change adds a call to the get_board_type_fdt() function before setting the fdtfile environment variable. For CONFIG_BOARD_TYPES below function is called: - const char *get_board_type_fdt(void) - should return a pointer to the board type string. This is useful in case of run many boards

[U-Boot] [PATCH v2 08/11] samsung: board: checkboard: call get_board_type() for CONFIG_BOARD_TYPES

2014-06-12 Thread Przemyslaw Marczak
For support of multiple board types in a one config - it is welcome to display the current board model. This is what get_board_type() should return. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Piotr Wilczek p.wilc...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com ---

[U-Boot] [PATCH v2 11/11] odroid: add odroid_config

2014-06-12 Thread Przemyslaw Marczak
This config is valid for two devices: - Odroid X2, - Odroid U3. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com Cc: Tom Rini tr...@ti.com --- Changes v2: - odroid config: add CONFIG_DFU_ALT_BOOTLOADER - odroid config: change name of

[U-Boot] [PATCH] Timeout for SDHCI commands

2014-06-12 Thread Eli Billauer
The patch in the following mail is a result of a problem I had using an eMMC device on a Xilinx Zynq ARM processor. It turned out that the waiting for a certain response from the SDIO interface was made with a plain loop, with no absolute time measurement. Since I'm using a relatively fast

[U-Boot] [PATCH v2 04/11] drivers:dfu: new feature: separated bootloader alt setting

2014-06-12 Thread Przemyslaw Marczak
This patch introduces new feature: initialization of the dfu bootloader entity from a separate environmental variable which can be set on a boot time. By default, DFU always check environmental variable: $dfu_alt_info. Changes: - DFU will also look for environmental variable: $dfu_alt_bootloader

[U-Boot] [PATCH v2 10/11] odroid: add odroid U3/X2 device tree description

2014-06-12 Thread Przemyslaw Marczak
This is a standard description for Odroid boards. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com Cc: Tom Rini tr...@ti.com --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/exynos4412-odroid.dts | 70 ++

[U-Boot] [PATCH] mmc: sdhci: Fixed timeout for sdhci_send_command()

2014-06-12 Thread Eli Billauer
The current wait loop just reads the status 1 times, which makes the actual timeout period platform-dependent. The udelay() call within the loop makes the new timeout ~100 ms. Signed-off-by: Eli Billauer eli.billa...@gmail.com --- drivers/mmc/sdhci.c |1 + 1 files changed, 1

Re: [U-Boot] error when building env

2014-06-12 Thread Luka Perkov
Hi Masahiro, On Mon, Jun 09, 2014 at 10:39:27PM +0900, Masahiro Yamada wrote: On Thu, 5 Jun 2014 14:25:47 -0400 Tom Rini tr...@ti.com wrote: On Mon, May 19, 2014 at 02:14:03PM +0200, Luka Perkov wrote: On Fri, May 16, 2014 at 01:58:05PM -0400, Tom Rini wrote: On Fri, May 16, 2014 at

Re: [U-Boot] [PATCH] test: dfu: script enhancements

2014-06-12 Thread Lukasz Majewski
Hi Stephen, From: Stephen Warren swar...@nvidia.com Various misc enhancements to dfu_gadget_test.sh: * After every write (download), perform a write to a different file with different data. This ensures that the DFU buffer's content is replaced, so that if the read (upload) succeeds,

Re: [U-Boot] [RFC, PATCH v3 0/3] mtd, ubi, ubifs: resync with Linux-3.14

2014-06-12 Thread Heiko Schocher
Hello all, Am 11.06.2014 09:20, schrieb Heiko Schocher: resync mtd, ubi and ubifs subsystem with linux: The patches in this patchserie are not marked as RFC , which is correct, so this cover-letter patch 0/3 shouldn't have been marked as RFC, so please ignore this, sorry for that. bye, Heiko

Re: [U-Boot] [PATCH V2] cmd_mmc.c: check mmc_init() during mmc dev

2014-06-12 Thread Pantelis Antoniou
Hi Stephen, On May 23, 2014, at 9:59 PM, Stephen Warren wrote: On 05/20/2014 10:57 AM, Stephen Warren wrote: From: Bryan Wu coolo...@gmail.com mmc dev ${devnum} will return 0 as success even if there is no card inserted. Booting script like tegra-common-post.h will call mmc dev ${devnum}

Re: [U-Boot] [PATCH 1/2] cmd_mmc: default to HW partition 0 if not specified

2014-06-12 Thread Pantelis Antoniou
Hi Stephen, On May 23, 2014, at 9:48 PM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Currently, mmc dev 0 does not change the selected HW partition. I think it makes more sense if mmc dev 0 is an alias for mmc dev 0 0, i.e. that HW partition 0 (main data area) is always

Re: [U-Boot] [PATCH 2/2] disk: default to HW partition 0 if not specified

2014-06-12 Thread Pantelis Antoniou
Hi Stephen, On May 23, 2014, at 9:48 PM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Currently, get_device()/get_dev_hwpart() for MMC devices does not select an explicit HW partition unless the user explicitly requests one, i.e. by requesting device mmc 0.0 rather than

Re: [U-Boot] [PATCH 1/3] cmd_mmc: add force_init parameter to init_mmc_device()

2014-06-12 Thread Pantelis Antoniou
Hi Stephen, On May 23, 2014, at 10:24 PM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com This allows callers to inject mmc-has_init = 0 between finding the MMC device, and calling mmc_init(), which forces mmc_init() to rescan the HW. Future changes will use this feature.

Re: [U-Boot] [PATCH 2/3] cmd_mmc: Use init_mmc_device() from do_mmc_rescan()

2014-06-12 Thread Pantelis Antoniou
Hi Stephen, On May 23, 2014, at 10:24 PM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com The body of init_mmc_device() is now identical to that of do_mmc_rescan() except for the error codes returned. Modify do_mmc_rescan() to simply call init_mmc_device() and convert the

Re: [U-Boot] [PATCH 3/3] cmd_mmc: make mmc dev always re-probe the HW

2014-06-12 Thread Pantelis Antoniou
Hi Stephen, On May 23, 2014, at 10:24 PM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Currently, U-Boot behaves as follows: - Begin with no SD card inserted in mmc 1 - Execute: mmc dev 1 - This fails, since there is no card - User plugs in an SD card - Execute: mmc

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

2014-06-12 Thread Pantelis Antoniou
Hi Darwin On May 26, 2014, at 11:31 PM, Darwin Rambo wrote: 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(-)

[U-Boot] Pull request: u-boot-mmc 12/06/2014

2014-06-12 Thread Pantelis Antoniou
Hi Tom, The following changes since commit e153b13c8e300236e6d505bea629cc81fd0988cb: common/xyzModem.c: move empty statements to newline (2014-06-11 16:27:06 -0400) are available in the git repository at: git://git.denx.de/u-boot-mmc.git master for you to fetch changes up to

Re: [U-Boot] Pull request: u-boot-mmc 12/06/2014

2014-06-12 Thread Igor Grinberg
Hi Pantelis, On 06/12/14 15:41, Pantelis Antoniou wrote: Hi Tom, The following changes since commit e153b13c8e300236e6d505bea629cc81fd0988cb: common/xyzModem.c: move empty statements to newline (2014-06-11 16:27:06 -0400) are available in the git repository at:

Re: [U-Boot] Pull request: u-boot-mmc 12/06/2014

2014-06-12 Thread Pantelis Antoniou
Hi Igor, On Jun 12, 2014, at 4:10 PM, Igor Grinberg wrote: Hi Pantelis, On 06/12/14 15:41, Pantelis Antoniou wrote: Hi Tom, The following changes since commit e153b13c8e300236e6d505bea629cc81fd0988cb: common/xyzModem.c: move empty statements to newline (2014-06-11 16:27:06 -0400)

[U-Boot] [PATCH v2 08/14] bootm: Support android boot on sandbox

2014-06-12 Thread Simon Glass
A small change allows this to operate on sandbox. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None common/bootm.c| 2 +- include/configs/sandbox.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common/bootm.c b/common/bootm.c index

[U-Boot] [PATCH v2 09/14] Fix small 'case' typo in image-fit.c

2014-06-12 Thread Simon Glass
This typo makes the comment confusing. Fix it. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None common/image-fit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/image-fit.c b/common/image-fit.c index c0d7b8c..83fac9a 100644 ---

[U-Boot] [PATCH v2 01/14] hash: Use uint8_t in preference to u8

2014-06-12 Thread Simon Glass
This type is more readily available on the host compiler, so use it instead. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None common/hash.c | 12 ++-- include/hash.h | 3 ++- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/common/hash.c

[U-Boot] [PATCH v2 05/14] Reverse the meaning of the fit_config_verify() return code

2014-06-12 Thread Simon Glass
It is more common to have 0 mean OK, and -ve mean error. Change this function to work the same way to avoid confusion. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None common/cmd_fdt.c | 2 +- common/image-fit.c | 2 +- common/image-sig.c | 4 ++--

[U-Boot] [PATCH v2 02/14] mkimage: Automatically expand FDT in more cases

2014-06-12 Thread Simon Glass
The original code did not cover every case and there was a missing negative sign in one case. Expand the coverage and fix the bug. Signed-off-by: Simon Glass s...@chromium.org mkimage: Automatically make space in FDT when full When adding hashes or signatures, the target FDT may be full. Detect

[U-Boot] [PATCH v2 04/14] tools: Check arguments in fit_check_sign/fit_info

2014-06-12 Thread Simon Glass
These tools crash if no arguments are provided. Add checks to avoid this. Signed-off-by: Simon Glass s...@chromium.org Acked-by: Heiko Schocher h...@denx.de --- Changes in v2: None tools/fit_check_sign.c | 9 + tools/fit_info.c | 12 2 files changed, 21

[U-Boot] [PATCH v2 10/14] Avoid including config.h in command.h

2014-06-12 Thread Simon Glass
This is not necessary and prevents using this header when building tools. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None include/command.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/command.h b/include/command.h index d3f700f..6f06db1 100644 ---

[U-Boot] [PATCH v2 0/14] Enhance fit_check_sign add beaglebone black vboot docs

2014-06-12 Thread Simon Glass
The fit_check_sign tool checks that the configuration is correct, but does not check each image within that configuration. This series adds that feature, at least for uncompressed images. In order to arrange this, cmd_bootm.c is split up into three files, one for the command processing, one for

[U-Boot] [PATCH v2 14/14] Add documentation for verified boot on Beaglebone Black

2014-06-12 Thread Simon Glass
As an example of an end-to-end process for using verified boot in U-Boot, add a detailed description of the steps to be used for a Beaglebone Black. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None doc/uImage.FIT/beaglebone_vboot.txt | 608

[U-Boot] [PATCH v2 07/14] image: Remove the fit_load_image() property parameter

2014-06-12 Thread Simon Glass
This can be obtained by looking up the image type, so is redundant. It is better to centralise this lookup to avoid errors. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None common/bootm.c | 3 +-- common/image-fdt.c | 1 - common/image-fit.c | 29

[U-Boot] [PATCH v2 03/14] fdt: Rename the DEV_TREE_BIN Makefile flag to to EXT_DTB

2014-06-12 Thread Simon Glass
This seems like a better name. This is a patch-up to the earlier commit 63b4b5b, and also removes a redundant Makefile change. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None Makefile | 2 +- doc/README.fdt-control | 4 ++-- dts/Makefile | 4 ++-- 3

[U-Boot] [PATCH v2 12/14] bootm: Move decompression code into its own function

2014-06-12 Thread Simon Glass
This makes it possible to decompress an image without it being a kernel and without intending to boot it (as it needed for host tools, for example). Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None common/bootm.c | 75

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

2014-06-12 Thread Simon Glass
Hi Lukasz, On 12 June 2014 05:00, Lukasz Majewski l.majew...@samsung.com wrote: [snip] +COLOR_RED=\33[31m +COLOR_GREEN=\33[32m +COLOR_DEFAULT=\33[0m Which side of the pond are you? :-) I think it should be COLOUR in U-Boot. This script is run on the host. Could you be more specific.

[U-Boot] [PATCH v2 13/14] Enhance fit_check_sign to check all images

2014-06-12 Thread Simon Glass
At present this tool only checks the configuration signing. Have it also look at each of the images in the configuration and confirm that they verify. Signed-off-by: Simon Glass s...@chromium.org Acked-by: Heiko Schocher h...@denx.de (v1) --- Changes in v2: - Update test output in signature.txt

Re: [U-Boot] [PATCH] arm:board:h2200: Add CONFIG_SYS_GENERIC_BOARD

2014-06-12 Thread Marek Vasut
On Thursday, June 12, 2014 at 12:46:53 AM, Lukasz Dalek wrote: Signed-off-by: Lukasz Dalek luk0...@gmail.com A commit message would be nice. btw. do you think this would work on other PXA boards ? Best regards, Marek Vasut ___ U-Boot mailing list

Re: [U-Boot] [PATCH 1/2] usb: ci_udc: allow multiple buffer allocs per ep

2014-06-12 Thread Marek Vasut
On Thursday, June 12, 2014 at 10:36:55 AM, Jörg Krause wrote: On 06/10/2014 09:34 PM, Stephen Warren wrote: On 06/02/2014 05:02 PM, Jörg Krause wrote: Sorry, my previous post was not shown correctly. The raw text was missing. I removed the annotation. Since this commit my Ethernet

Re: [U-Boot] Pull request: u-boot-mmc 12/06/2014

2014-06-12 Thread Igor Grinberg
On 06/12/14 16:13, Pantelis Antoniou wrote: Hi Igor, On Jun 12, 2014, at 4:10 PM, Igor Grinberg wrote: Hi Pantelis, On 06/12/14 15:41, Pantelis Antoniou wrote: Hi Tom, The following changes since commit e153b13c8e300236e6d505bea629cc81fd0988cb: common/xyzModem.c: move empty

Re: [U-Boot] [ANN] U-Boot v2014.07-rc3 released

2014-06-12 Thread Simon Glass
+Masahiro Hi, On 10 June 2014 13:01, Stefan Roese s...@denx.de wrote: Hi Tom! On 10.06.2014 18:14, Tom Rini wrote: I've pushed v2014.07-rc3 out to the repository and tarballs should exist soon. We're getting better on the syncing up of things out of patchwork and I know there's still a

Re: [U-Boot] [PATCH] arm:board:h2200: Add CONFIG_SYS_GENERIC_BOARD

2014-06-12 Thread Łukasz Dałek
On 12.06.2014 14:58, Marek Vasut wrote: On Thursday, June 12, 2014 at 12:46:53 AM, Lukasz Dalek wrote: Signed-off-by: Lukasz Dalek luk0...@gmail.com A commit message would be nice. btw. do you think this would work on other PXA boards ? No idea. Best regards, Marek Vasut Lukasz D.

[U-Boot] Non-secure switch in U-boot

2014-06-12 Thread Shabbir Khan
Hi, I am working on Xilinx's zynq zc702 board on which i am trying to boot U-boot in Non-secure state, but unfortunately i am not making it boot, through ARM DS-5 debugger, i traced the code flow, once booting process enters into NS world abort is taking place. Do i need to set up any stacks for

[U-Boot] [PATCH] arm:board:h2200: Add CONFIG_SYS_GENERIC_BOARD

2014-06-12 Thread Lukasz Dalek
Enable 'generic board init' for H2200 palmtop. Signed-off-by: Lukasz Dalek luk0...@gmail.com --- include/configs/h2200.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/h2200.h b/include/configs/h2200.h index d026484..5d0b85e 100644 --- a/include/configs/h2200.h +++

Re: [U-Boot] Pull request: u-boot-mmc 12/06/2014

2014-06-12 Thread Tom Rini
On Thu, Jun 12, 2014 at 03:41:21PM +0300, Pantelis Antoniou wrote: Hi Tom, The following changes since commit e153b13c8e300236e6d505bea629cc81fd0988cb: common/xyzModem.c: move empty statements to newline (2014-06-11 16:27:06 -0400) are available in the git repository at:

Re: [U-Boot] [i2c] Pull request

2014-06-12 Thread Tom Rini
On Thu, Jun 12, 2014 at 11:44:32AM +0200, Heiko Schocher wrote: Hello Tom, please pull from u-boot-i2c.git: The following changes since commit e153b13c8e300236e6d505bea629cc81fd0988cb: common/xyzModem.c: move empty statements to newline (2014-06-11 16:27:06 -0400) are available

[U-Boot] [PATCH 3/4] trats2:config: add default dfu device environment setup

2014-06-12 Thread Przemyslaw Marczak
This change allows using DFU and THOR commands without passing command line arguments. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Piotr Wilczek p.wilc...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- include/configs/trats2.h | 3 +++ 1 file changed, 3 insertions(+) diff

[U-Boot] [PATCH 1/4] dfu:cmd: get the default command arguments from environment

2014-06-12 Thread Przemyslaw Marczak
This change adds support to store the default DFU cmd line arguments in the environment. This is useful for users who usually use the same arguments for dfu command and do the upgrade frequently. DFU command use cases: - dfu usb ctrl if dev [list] - use command line args - dfu [list] - take the

[U-Boot] [PATCH 2/4] thor:cmd: get the default command arguments from environment

2014-06-12 Thread Przemyslaw Marczak
This change adds support to getting the default DFU cmd line arguments from the environment. DFU and THOR uses the same command line arguments, so the DFU command environment setup can be used also with THOR. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Lukasz Majewski

[U-Boot] [PATCH 4/4] trats:config: add default dfu device environment setup

2014-06-12 Thread Przemyslaw Marczak
This change allows using DFU and THOR commands without passing command line arguments. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Lukasz Majewski l.majew...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- include/configs/trats.h | 3 +++ 1 file changed, 3 insertions(+)

Re: [U-Boot] [PATCH 2/3] env_mmc: support env partition setup in runtime

2014-06-12 Thread Pantelis Antoniou
Hi Dmitry, I took a good look at the patch and there's a problem. On Apr 27, 2014, at 1:18 PM, Dmitry Lifshitz wrote: Add callback with __weak annotation to allow setup of environment partition number in runtime from a board file. Signed-off-by: Dmitry Lifshitz lifsh...@compulab.co.il

Re: [U-Boot] Refactoring of U-Boot directory structure

2014-06-12 Thread Stephen Warren
On 06/11/2014 10:10 PM, Masahiro Yamada wrote: ... Tegra uses different CPU for SPL and Normal U-boot. That's why Tegra directories are sprinkled under arch/arm/: arch/arm/cpu/arm720t/tegra-common/ arch/arm/cpu/arm720t/tegra20/ arch/arm/cpu/arm720t/tegra30/ arch/arm/cpu/arm720t/tegra114/

Re: [U-Boot] Non-secure switch in U-boot

2014-06-12 Thread Thomas . Betker
Hello Shabir: I am working on Xilinx's zynq zc702 board on which i am trying to boot U-boot in Non-secure state, but unfortunately i am not making it boot, through ARM DS-5 debugger, i traced the code flow, once booting process enters into NS world abort is taking place. Do i need to set up

Re: [U-Boot] [PATCH] dfu: fix some issues with reads/uploads

2014-06-12 Thread Stephen Warren
On 06/12/2014 01:17 AM, Lukasz Majewski wrote: Stephen Warren wrote: ... Here's how I'd love to see the dfu command work. It would take a bit of refactoring of the code, and a change to the format of the dfu_alt_info variable and dfu command parameters. Perhaps we could have an option to the

Re: [U-Boot] [PATCH] test: dfu: script enhancements

2014-06-12 Thread Stephen Warren
On 06/12/2014 03:51 AM, Lukasz Majewski wrote: Hi Stephen, From: Stephen Warren swar...@nvidia.com Various misc enhancements to dfu_gadget_test.sh: * After every write (download), perform a write to a different file with different data. This ensures that the DFU buffer's content is

[U-Boot] [PATCH] arm: ethernut5: convert to generic board

2014-06-12 Thread Tim Schendekehl
Enable CONFIG_SYS_GENERIC_BOARD for the Ethernut 5 board. Signed-off-by: Tim Schendekehl tim.schendek...@egnite.de --- include/configs/ethernut5.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/ethernut5.h b/include/configs/ethernut5.h index c81fc44..4c69af6 100644 ---

Re: [U-Boot] [RFC, PATCH v3 0/3] mtd, ubi, ubifs: resync with Linux-3.14

2014-06-12 Thread Tom Rini
On Wed, Jun 11, 2014 at 09:20:10AM +0200, Heiko Schocher wrote: resync mtd, ubi and ubifs subsystem with linux: commit 455c6fdbd219161bd09b1165f11699d6d73de11c Author: Linus Torvalds torva...@linux-foundation.org Date: Sun Mar 30 20:40:15 2014 -0700 Linux 3.14 Main reason for

Re: [U-Boot] [PATCH 1/2] usb: ci_udc: allow multiple buffer allocs per ep

2014-06-12 Thread Stephen Warren
On 06/12/2014 02:36 AM, Jörg Krause wrote: On 06/10/2014 09:34 PM, Stephen Warren wrote: On 06/02/2014 05:02 PM, Jörg Krause wrote: Sorry, my previous post was not shown correctly. The raw text was missing. I removed the annotation. Since this commit my Ethernet Gadget on a custom

Re: [U-Boot] [PATCH 3/3] cmd_mmc: make mmc dev always re-probe the HW

2014-06-12 Thread Stephen Warren
On 06/12/2014 05:31 AM, Pantelis Antoniou wrote: On May 23, 2014, at 10:24 PM, Stephen Warren wrote: Currently, U-Boot behaves as follows: - Begin with no SD card inserted in mmc 1 - Execute: mmc dev 1 - This fails, since there is no card - User plugs in an SD card - Execute: mmc dev 1 -

Re: [U-Boot] [PATCH 3/3] cmd_mmc: make mmc dev always re-probe the HW

2014-06-12 Thread Pantelis Antoniou
Hi Stephen, On Jun 12, 2014, at 7:19 PM, Stephen Warren wrote: On 06/12/2014 05:31 AM, Pantelis Antoniou wrote: On May 23, 2014, at 10:24 PM, Stephen Warren wrote: Currently, U-Boot behaves as follows: - Begin with no SD card inserted in mmc 1 - Execute: mmc dev 1 - This fails, since

[U-Boot] [PATCH] test: vboot: explicitly request bash

2014-06-12 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com vboot_test.sh uses Bashisms. Explicitly use #!/bin/bash so the script doesn't fail if /bin/sh isn't Bash. Signed-off-by: Stephen Warren swar...@nvidia.com --- test/vboot/vboot_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH V3] sandbox: restore ability to access host fs through standard commands

2014-06-12 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Commit 95fac6ab4589 sandbox: Use os functions to read host device tree removed the ability for get_device_and_partition() to handle the host device type, and redirect accesses to it to the host filesystem. This broke some unit tests that use this feature.

Re: [U-Boot] [PATCH] tegra20: display: fix checking of return value

2014-06-12 Thread Stephen Warren
On 06/11/2014 03:12 PM, Jeroen Hofstee wrote: The calling code seems a bit in doubt about the return value of fdtdec_lookup_phandle. Since it returns a negative value on error (and fdt_node_offset_by_phandle as well), check for that. Tested-by: Stephen Warren swar...@nvidia.com (On

Re: [U-Boot] [PATCH 1/4] dfu:cmd: get the default command arguments from environment

2014-06-12 Thread Stephen Warren
On 06/12/2014 08:25 AM, Przemyslaw Marczak wrote: This change adds support to store the default DFU cmd line arguments in the environment. This is useful for users who usually use the same arguments for dfu command and do the upgrade frequently. DFU command use cases: - dfu usb ctrl if

Re: [U-Boot] [PATCH 1/2] usb: ci_udc: allow multiple buffer allocs per ep

2014-06-12 Thread Marek Vasut
On Thursday, June 12, 2014 at 05:55:40 PM, Stephen Warren wrote: [...] I'm slightly confused by this log. Do you have 2 boards running U-Boot, one running the USB controller in device mode, and this is the log from some other board that's talking to that first board? I have one board

Re: [U-Boot] [PATCH 1/2] usb: ci_udc: allow multiple buffer allocs per ep

2014-06-12 Thread Stephen Warren
On 06/12/2014 11:30 AM, Marek Vasut wrote: On Thursday, June 12, 2014 at 05:55:40 PM, Stephen Warren wrote: [...] I'm slightly confused by this log. Do you have 2 boards running U-Boot, one running the USB controller in device mode, and this is the log from some other board that's talking to

Re: [U-Boot] [PATCH] arm: bcm281xx: Add CONFIG_SYS_GENERIC_BOARD

2014-06-12 Thread Steve Rae
On 14-06-10 04:20 AM, Albert ARIBAUD wrote: Hi Steve, On Wed, 14 May 2014 14:18:09 -0700, Steve Rae s...@broadcom.com wrote: convert to generic board Signed-off-by: Steve Rae s...@broadcom.com --- include/configs/bcm28155_ap.h | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [U-Boot] [PATCH] test: vboot: explicitly request bash

2014-06-12 Thread Simon Glass
On 12 June 2014 10:27, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com vboot_test.sh uses Bashisms. Explicitly use #!/bin/bash so the script doesn't fail if /bin/sh isn't Bash. Signed-off-by: Stephen Warren swar...@nvidia.com Acked-by: Simon Glass

Re: [U-Boot] [PATCH V3] sandbox: restore ability to access host fs through standard commands

2014-06-12 Thread Simon Glass
On 12 June 2014 10:28, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com Commit 95fac6ab4589 sandbox: Use os functions to read host device tree removed the ability for get_device_and_partition() to handle the host device type, and redirect accesses to it to

[U-Boot] [PATCH] avr32: migrate cache functions

2014-06-12 Thread Andreas Bießmann
Unfortunately the avr32 cache implementation has another API than the one described in common.h. Migrate the flush/invalidate dcache functions to the common API to be usable in device drivers. Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com CC: Josh Wu josh...@atmel.com --- This

[U-Boot] [PATCH] fsl/pcie: Change 'no link' to 'undetermined' for pcie endpoint

2014-06-12 Thread Roy Zang
Even u-boot boots up, the pcie link may not setup correctly when Freescale SOC acts as endpoint. So change the link status from 'no link' to 'undetermined' to reduce the confusion. The link status can check from host side eventually. Signed-off-by: Roy Zang tie-fei.z...@freescale.com ---

[U-Boot] FIT: how to store MACs in a DTB

2014-06-12 Thread Yegor Yefremov
AFAIK one can store MACs in a DTB from u-boot via loading DTB in RAM and changing nodes values. How should this work with a FIT image? Is there any howto? System: am335x Yegor ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH] includes: move openssl headers to include/u-boot

2014-06-12 Thread Jeroen Hofstee
commit 18b06652cd tools: include u-boot version of sha256.h unconditionally forced the sha256.h from u-boot to be used for tools instead of the host version. This is fragile though as it will also include the host version. Therefore move it to include/u-boot to join u-boot/md5.h etc which were

[U-Boot] [PATCH] sf: Stop leaking memory

2014-06-12 Thread Marek Vasut
It's usually a common pattern to free() the memory that we allocated. Implement this here to stop leaking memory. Also, add a debug output when BAR configuration fails to follow suit. Signed-off-by: Marek Vasut ma...@denx.de Cc: Michal Simek michal.si...@xilinx.com Cc: Jagannadha Sutradharudu

Re: [U-Boot] [PATCH] arm:board:h2200: Add CONFIG_SYS_GENERIC_BOARD

2014-06-12 Thread Marek Vasut
On Thursday, June 12, 2014 at 03:53:47 PM, Lukasz Dalek wrote: Enable 'generic board init' for H2200 palmtop. Signed-off-by: Lukasz Dalek luk0...@gmail.com Acked-by: Marek Vasut ma...@denx.de Albert, can you please pick this one up directly ? Best regards, Marek Vasut

Re: [U-Boot] [PATCH] fsl/pcie: Change 'no link' to 'undetermined' for pcie endpoint

2014-06-12 Thread Wolfgang Denk
Dear Roy Zang, In message 1402602563-26705-1-git-send-email-tie-fei.z...@freescale.com you wrote: Even u-boot boots up, the pcie link may not setup correctly when Freescale SOC acts as endpoint. So change the link status from 'no link' to 'undetermined' to reduce the confusion. The link

Re: [U-Boot] FIT: how to store MACs in a DTB

2014-06-12 Thread Wolfgang Denk
Dear Yegor Yefremov, In message CAGm1_kucufez-F3+1YnaeofQq1QcE+yi2r=hdmngstpxybm...@mail.gmail.com you wrote: AFAIK one can store MACs in a DTB from u-boot via loading DTB in RAM and changing nodes values. How should this work with a FIT image? Is there any howto? DTB handling and image

  1   2   >