Re: [U-Boot] [PATCH v2] mxs: fixed battery boot on imx233-olinuxino-micro

2014-06-19 Thread Marek Vasut
On Wednesday, June 18, 2014 at 08:17:05 PM, Peter Schumann wrote: Am 17.06.2014 18:00, schrieb Stefano Babic: Hi peter, ... On 17/06/2014 00:19, Marek Vasut wrote: Agree. Reason is that this change is for all boards, and without a proper testing I will avoid to merge it in the release.

Re: [U-Boot] [PATCH 0/5] Kbuild: sync with Linux 3.16-rc1

2014-06-19 Thread Masahiro Yamada
Hi Tom, On Wed, 18 Jun 2014 13:49:35 -0400 Tom Rini tr...@ti.com wrote: On Mon, Jun 16, 2014 at 06:56:35PM +0900, Masahiro Yamada wrote: The merge window for Linux 3.16 is closed and Linux 3.16-rc1 is out now. During the merge window, various Kbuild-related updates were merged into

[U-Boot] [PATCH] ARM: tegra: Disable VPR

2014-06-19 Thread Alexandre Courbot
From: Bryan Wu pe...@nvidia.com On Tegra114 and Tegra124 platforms, certain display-related registers cannot be accessed unless the VPR registers are programmed. For bootloader, we probably don't care about VPR, so we disable it (which counts as programming it, and allows those display-related

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

2014-06-19 Thread Heiko Schocher
Hello Tom, Scott, Am 18.06.2014 23:42, schrieb Tom Rini: On Wed, Jun 18, 2014 at 04:24:39PM -0500, Scott Wood wrote: On Wed, 2014-06-18 at 09:55 +0200, Heiko Schocher wrote: Hello Scott, [snip] history to see what Linux version corresponded to the last mtd sync, and generate a diff relative

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

2014-06-19 Thread Yegor Yefremov
On Thu, Jun 12, 2014 at 10:58 PM, Wolfgang Denk w...@denx.de wrote: 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

[U-Boot] [PATCH] am335x_evm: Only enable OF_CONTROL/OF_SEPARATE on VBOOT for now

2014-06-19 Thread Tom Rini
We don't make use of the device tree otherwise yet (and will need to think how to not break the current multi-board support) and this causes further breakage with additional changes. Signed-off-by: Tom Rini tr...@ti.com --- include/configs/am335x_evm.h |6 +++--- 1 file changed, 3

Re: [U-Boot] [PATCH 1/6] usb: ehci: mx6: Add support for i.MX6SL

2014-06-19 Thread Igor Grinberg
Hi Nikolay, On 06/17/14 20:49, Nikolay Dimitrov wrote: Hi Igor, On 6/17/2014 9:26 AM, Igor Grinberg wrote: That is exactly what we do already (code is on the way) and IMO what we should aim for. I really didn't knew this in the beginning before seeing your answers, this would be

Re: [U-Boot] ARM: fdt support: Add usbethaddr as an acceptable MAC

2014-06-19 Thread Tom Rini
On Wed, Oct 02, 2013 at 02:00:15PM -0500, Dan Murphy wrote: A board that has a USB ethernet device only may set the usbetheraddr and not the ethaddr. ethaddr will be the default MAC address that is chosen and if that is not populated then the usbethaddr is looked at. If neither are set then

Re: [U-Boot] m68k:correct io macros about endian

2014-06-19 Thread Tom Rini
On Fri, Dec 13, 2013 at 01:39:07PM +0800, Chao Fu wrote: From: Chao Fu b44...@freescale.com M68k is big endian cpu ,so use be_out and be_in in big endian. Signed-off-by: Chao Fu b44...@freescale.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 2/9] fdt_support: refactor with fdt_find_or_add_subnode helper func

2014-06-19 Thread Tom Rini
On Fri, Apr 18, 2014 at 05:40:58PM +0900, Masahiro Yamada wrote: Some functions in fdt_support.c do the same routine: search a node with a given name (chosen, memory, etc.) or newly create it if it does not exist. So this commit makes that routine to a helper function. Signed-off-by:

Re: [U-Boot] [U-Boot, v2] libfdt: Fix segfault when calling fit_check_format() on corrupt FIT images

2014-06-19 Thread Tom Rini
On Wed, Feb 26, 2014 at 11:32:21AM -0500, Tom Rini wrote: From: Jon Nalley li...@bluebot.org It has been observed that fit_check_format() will fail when passed a corrupt FIT image. This was tracked down to _fdt_string_eq(): return (strlen(p) == len) (memcmp(p, s, len) == 0); In the

Re: [U-Boot] [U-Boot, v2, 1/9] fdt_support: delete unnecessary DECLARE_GLOBAL_DATA_PTR

2014-06-19 Thread Tom Rini
On Fri, Apr 18, 2014 at 05:40:57PM +0900, Masahiro Yamada wrote: gd-bd is not used in fdt_support.c. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Acked-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 4/9] fdt_support: delete force argument of fdt_chosen()

2014-06-19 Thread Tom Rini
On Fri, Apr 18, 2014 at 05:41:00PM +0900, Masahiro Yamada wrote: After all, we have realized force argument is completely useless. fdt_chosen() was always called with force = 1. We should always want to do the same thing (set appropriate value to the property) even if the property already

Re: [U-Boot] [U-Boot, v2, 5/9] fdt_support: refactor fdt_fixup_stdout() function

2014-06-19 Thread Tom Rini
On Fri, Apr 18, 2014 at 05:41:01PM +0900, Masahiro Yamada wrote: - Do not use a deep indentation. We have only 80-character on each line and 1 indentation consumes 8 spaces. Before the code moves far to the right, you should consider to fix your code. See Linux

Re: [U-Boot] [U-Boot, v2, 3/9] fdt_support: delete force argument of fdt_initrd()

2014-06-19 Thread Tom Rini
On Fri, Apr 18, 2014 at 05:40:59PM +0900, Masahiro Yamada wrote: After all, we have realized force argument is completely useless. fdt_initrd() was always called with force = 1. We should always want to do the same thing (set appropriate value to the property) even if the property already

Re: [U-Boot] [U-Boot, v2, 7/9] fdt_support: fix an endian bug of fdt_fixup_memory_banks

2014-06-19 Thread Tom Rini
On Fri, Apr 18, 2014 at 05:41:03PM +0900, Masahiro Yamada wrote: Data written to DTB must be converted to big endian order. It is usually done by using cpu_to_fdt32(), cpu_to_fdt64(), etc. fdt_fixup_memory_banks() invoked write_cell(), which always swaps byte order. It means the function

Re: [U-Boot] [U-Boot, v2, 6/9] fdt_support: add 'const' qualifier for unchanged argument

2014-06-19 Thread Tom Rini
On Fri, Apr 18, 2014 at 05:41:02PM +0900, Masahiro Yamada wrote: In the next commit, I will add a new function, fdt_pack_reg() which uses get_cells_len(). Beforehand, this commit adds 'const' qualifier to get_cells_len(). Otherwise, a warning message will appear: warning: passing argument

Re: [U-Boot] [U-Boot, v2, 8/9] fdt_support: fix an endian bug of fdt_initrd()

2014-06-19 Thread Tom Rini
On Fri, Apr 18, 2014 at 05:41:04PM +0900, Masahiro Yamada wrote: Data written to DTB must be converted to big endian order. It is usually done by using cpu_to_fdt32(), cpu_to_fdt64(), etc. fdt_initrd() invoked write_cell(), which always swaps byte order. It means the function only worked on

Re: [U-Boot] [U-Boot, v2, 9/9] fdt_support: correct the return condition of fdt_initrd()

2014-06-19 Thread Tom Rini
On Fri, Apr 18, 2014 at 05:41:05PM +0900, Masahiro Yamada wrote: Before this commit, fdt_initrd() just returned if initrd start address is zero. But it is possible if the RAM is located at address 0. This commit makes the return condition more reasonable: Just return if the size of initrd

Re: [U-Boot] .gitignore: drop include/asm/proc from ignore pattern

2014-06-19 Thread Tom Rini
On Thu, Jun 12, 2014 at 02:37:35PM +0900, Masahiro Yamada wrote: Commit 7d89982b stopped creating symbolic link arch/${arch}/include/asm/proc. arch/.gitignore should be updated. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Vasili Galka vvv...@gmail.com Applied to

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

2014-06-19 Thread Tom Rini
On Thu, Jun 12, 2014 at 07:24:41AM -0600, Simon Glass wrote: This type is more readily available on the host compiler, so use it instead. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] fs: ext4: fix writing zero-length files

2014-06-19 Thread Tom Rini
On Wed, Jun 11, 2014 at 12:46:16PM -0600, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com ext4fs_allocate_blocks() always allocates at least one block for a file. If the file size is zero, this causes total_remaining_blocks to underflow, which then causes an apparent hang

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

2014-06-19 Thread Tom Rini
On Thu, Jun 12, 2014 at 07:24:42AM -0600, Simon Glass wrote: 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

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

2014-06-19 Thread Tom Rini
On Thu, Jun 12, 2014 at 07:24:45AM -0600, Simon Glass wrote: 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 Applied to u-boot/master, thanks! -- Tom signature.asc

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

2014-06-19 Thread Tom Rini
On Thu, Jun 12, 2014 at 07:24:43AM -0600, Simon Glass wrote: 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 Applied to u-boot/master, thanks! -- Tom signature.asc

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

2014-06-19 Thread Tom Rini
On Thu, Jun 12, 2014 at 07:24:44AM -0600, Simon Glass wrote: 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 Applied to u-boot/master, thanks! -- Tom signature.asc Description:

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

2014-06-19 Thread Tom Rini
On Thu, Jun 12, 2014 at 07:24:48AM -0600, Simon Glass wrote: A small change allows this to operate on sandbox. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

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

2014-06-19 Thread Tom Rini
On Thu, Jun 12, 2014 at 07:24:50AM -0600, Simon Glass wrote: This is not necessary and prevents using this header when building tools. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

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

2014-06-19 Thread Tom Rini
On Thu, Jun 12, 2014 at 07:24:49AM -0600, Simon Glass wrote: This typo makes the comment confusing. Fix it. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

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

2014-06-19 Thread Tom Rini
On Thu, Jun 12, 2014 at 07:24:47AM -0600, Simon Glass wrote: 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 Applied to u-boot/master, thanks! -- Tom signature.asc

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

2014-06-19 Thread Tom Rini
On Thu, Jun 12, 2014 at 07:24:54AM -0600, Simon Glass wrote: 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 Applied to u-boot/master, thanks!

Re: [U-Boot] [U-Boot, v2, 11/14] Allow compiling common/bootm.c on with HOSTCC

2014-06-19 Thread Tom Rini
On Thu, Jun 12, 2014 at 07:24:51AM -0600, Simon Glass wrote: We want to use some of the functionality in this file, so make it build on the host. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

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

2014-06-19 Thread Tom Rini
On Thu, Jun 12, 2014 at 07:24:52AM -0600, Simon Glass wrote: 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 Applied to u-boot/master, thanks!

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

2014-06-19 Thread Tom Rini
On Thu, Jun 12, 2014 at 10:27:12PM +0200, Jeroen Hofstee wrote: 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.

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

2014-06-19 Thread Tom Rini
On Thu, Jun 12, 2014 at 10:27:39AM -0600, Stephen Warren 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] fix: CONFIG_NETCONSOLE start/handle this stuff only outside SPL

2014-06-19 Thread Tom Rini
On Fri, Jun 13, 2014 at 06:25:29AM +0200, Hannes Petermaier wrote: SPL stage does not support various networking things, and therefore CONFIG_NETCONSOLE cannot be built within SPL. Signed-off-by: Hannes Petermaier oe5...@oevsv.at Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, v2, 06/14] bootm: Split out code from cmd_bootm.c

2014-06-19 Thread Tom Rini
On Thu, Jun 12, 2014 at 07:24:46AM -0600, Simon Glass wrote: This file has code in three different categories: - Command processing - OS-specific boot code - Locating images and setting up to boot Only the first category really belongs in a file called cmd_bootm.c. Leave the command

Re: [U-Boot] [U-Boot,3/3] m68k: eliminate a warning in cpu_init

2014-06-19 Thread Tom Rini
On Wed, Oct 16, 2013 at 01:53:04PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] pmic: tps65090: correct checking i2c bus

2014-06-19 Thread Tom Rini
On Sun, Jun 15, 2014 at 05:17:04PM +0200, Jeroen Hofstee wrote: The function tps65090_init checks the i2c bus of p-bus. However the pointer p is not intialiased at this point. Check the local variable bus instead. cc: Tom Wai-Hong Tam waih...@chromium.org cc: Simon Glass s...@chromium.org

Re: [U-Boot] freescale: m5253demo: fix unused-but-set-variable warnings

2014-06-19 Thread Tom Rini
On Tue, Apr 15, 2014 at 01:26:34PM +0900, Masahiro Yamada wrote: Fix the following warning messages: In function 'flash_erase': 180:21: warning: variable 'last' set but not used [-Wunused-but-set-variable] In function 'write_buff': 322:10: warning: variable 'port_width' set but not used

Re: [U-Boot] cosmetic: autoboot: update old style GNU struct init

2014-06-19 Thread Tom Rini
On Mon, Jun 16, 2014 at 12:17:33AM +0200, Jeroen Hofstee wrote: Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] Remove nios-32 arch remnants

2014-06-19 Thread Tom Rini
On Sun, Jun 15, 2014 at 06:42:09PM +0300, Vasili Galka wrote: nios-32 arch was removed back in 2010 (1117cbf). Code depending on its headers (nios.h, nios-io.h) can't possibly compile since then. As it wasn't fixed till now it is safe to remove. Signed-off-by: Vasili Galka vvv...@gmail.com

Re: [U-Boot] cmd_md5sum.c: remove dead code / fix warning

2014-06-19 Thread Tom Rini
On Mon, Jun 16, 2014 at 12:10:42AM +0200, Jeroen Hofstee wrote: commit ecd729500 Add parameter to md5sum to save the md5 sum adds support to build a string to be saved in the env and tries to zero end it with str_ptr = '\0'; This does actually set the pointer to the end of the buffer itself

Re: [U-Boot] [PATCH v2 06/14] bootm: Split out code from cmd_bootm.c

2014-06-19 Thread Tom Rini
On Thu, Jun 12, 2014 at 07:24:46AM -0600, Simon Glass wrote: This file has code in three different categories: - Command processing - OS-specific boot code - Locating images and setting up to boot Only the first category really belongs in a file called cmd_bootm.c. Leave the command

Re: [U-Boot] [PATCH] am335x_evm: Only enable OF_CONTROL/OF_SEPARATE on VBOOT for now

2014-06-19 Thread Tom Rini
On Thu, Jun 19, 2014 at 08:48:08AM -0400, Tom Rini wrote: We don't make use of the device tree otherwise yet (and will need to think how to not break the current multi-board support) and this causes further breakage with additional changes. Signed-off-by: Tom Rini tr...@ti.com Applied to

Re: [U-Boot] [U-Boot, v2, 13/14] Enhance fit_check_sign to check all images

2014-06-19 Thread Tom Rini
On Thu, Jun 12, 2014 at 07:24:53AM -0600, Simon Glass wrote: 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

Re: [U-Boot] [U-Boot, v2, 06/14] bootm: Split out code from cmd_bootm.c

2014-06-19 Thread Tom Rini
On Thu, Jun 19, 2014 at 11:23:24AM -0400, Tom Rini wrote: On Thu, Jun 12, 2014 at 07:24:46AM -0600, Simon Glass wrote: This file has code in three different categories: - Command processing - OS-specific boot code - Locating images and setting up to boot Only the first category

Re: [U-Boot] m68k: Remove CONFIG_CMD_BEDBUG related code

2014-06-19 Thread Tom Rini
On Sun, Jun 15, 2014 at 06:41:16PM +0300, Vasili Galka wrote: This flag does not compile on m68k since 2003 (8bde7f7) when a required cmd_bedbug.h header was removed. Eleven years passed, lets clean up a little... Signed-off-by: Vasili Galka vvv...@gmail.com Applied to u-boot/master,

Re: [U-Boot] [PATCH] ARM: tegra: fix include guard

2014-06-19 Thread Stephen Warren
On 06/11/2014 01:55 PM, Stephen Warren wrote: On 06/11/2014 01:53 PM, Jeroen Hofstee wrote: diff --git a/include/configs/tegra-common-ums.h b/include/configs/tegra-common-ums.h #ifndef _TEGRA_COMMON_UMS_H_ -#define _TEGRA_COMMON_UMS_H +#define _TEGRA_COMMON_UMS_H_ Acked-by: Stephen

Re: [U-Boot] [PATCH] ARM: tegra: fix include guard

2014-06-19 Thread Tom Rini
On Thu, Jun 19, 2014 at 09:52:53AM -0600, Stephen Warren wrote: On 06/11/2014 01:55 PM, Stephen Warren wrote: On 06/11/2014 01:53 PM, Jeroen Hofstee wrote: diff --git a/include/configs/tegra-common-ums.h b/include/configs/tegra-common-ums.h #ifndef _TEGRA_COMMON_UMS_H_ -#define

Re: [U-Boot] [PATCH] ARM: tegra: Disable VPR

2014-06-19 Thread Stephen Warren
On 06/19/2014 12:58 AM, Alexandre Courbot wrote: From: Bryan Wu pe...@nvidia.com On Tegra114 and Tegra124 platforms, certain display-related registers cannot be accessed unless the VPR registers are programmed. For bootloader, we probably don't care about VPR, so we disable it (which counts

Re: [U-Boot] [PATCH 3/6] mmc: fsl_esdhc: Add CMD11 support to switch to 1.8V

2014-06-19 Thread Andy Fleming
On Sun, Jun 15, 2014 at 7:46 PM, Otavio Salvador ota...@ossystems.com.br wrote: This adds support to switch to 1.8V in case CMD11 succeeds. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- drivers/mmc/fsl_esdhc.c | 30 +++--- include/fsl_esdhc.h | 2

Re: [U-Boot] [PATCH] ARM: tegra: fix include guard

2014-06-19 Thread Tom Warren
Just got back from vacation - I'll put it in u-boot-tegra/next. Should I send a PR to Albert so it goes up the chain in the usual manner? Or would you like to pull it directly once it's in u-boot-tegra? -- nvpublic -Original Message- From: Tom Rini [mailto:tom.r...@gmail.com] On

Re: [U-Boot] [PATCH] ARM: tegra: fix include guard

2014-06-19 Thread Tom Rini
On Thu, Jun 19, 2014 at 09:08:08AM -0700, Tom Warren wrote: Just got back from vacation - I'll put it in u-boot-tegra/next. Should I send a PR to Albert so it goes up the chain in the usual manner? Or would you like to pull it directly once it's in u-boot-tegra? It's a trivial enough patch

[U-Boot] Consistently repeated TFTP timeouts (target directly connected to host PC)

2014-06-19 Thread Johnson Thomas
Hi all, I am facing an issue of repeated TFTP timeouts when downloading the kernel image in U-Boot with target directly connected to host PC. The download pattern almost 95% of the time looks like this TFTP from server 10.11.2.47; our IP address is 10.11.6.94 Filename 'uImage'. Load address:

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

2014-06-19 Thread Andy Fleming
On Thu, Jun 12, 2014 at 4:41 AM, Eli Billauer eli.billa...@gmail.com wrote: 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

[U-Boot] [PATCH 1/2] ARM: tegra: fix extlinux.conf search location

2014-06-19 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com extlinux.conf is stored in /boot/extlinux/extlinux.conf rather than /boot/extlinux.conf. Adjust Tegra's default boot scripts to use the correct location. This change aligns Tegra's boot scripts with rpi_b.h and also the location that the Fedora installer

[U-Boot] [PATCH 2/2] ARM: tegra: set initrd_high so boot scripts work

2014-06-19 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com During bootm/z, U-Boot relocates the DTB and initrd to high memory so they are out of the way of the kernel. On ARM at least, some parts of high memory are highmem and can't be accessed at early boot. To solve this, we need to restrict this relocation

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

2014-06-19 Thread Eli Billauer
On 19/06/14 19:43, Andy Fleming wrote: On Thu, Jun 12, 2014 at 4:41 AM, Eli Billauereli.billa...@gmail.com wrote: 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

Re: [U-Boot] [PATCH] driver/ddr: Fix DDR4 driver for ARM

2014-06-19 Thread York Sun
On 06/18/2014 07:57 AM, Jon Loeliger wrote: On Tue, Jun 17, 2014 at 5:07 PM, York Sun york...@freescale.com wrote: Previously the driver was only tested on Power SoCs. Minor fix is needed for ARM SoCs. Signed-off-by: York Sun york...@freescale.com Hi York! ---

[U-Boot] pull request for u-boot-tegra/master into ARM/master

2014-06-19 Thread Tom Warren
Albert, Please pull u-boot-tegra/master into ARM/master. Thanks! ./MAKEALL -s tegra AOK, checkpatch.pl is OK, and ./MAKEALL -a arm only shows failures that were already present in ARM/master. The following changes since commit 0a26e1d6c394aacbf1153977b7348d1dff85db3f: arm: fix a

Re: [U-Boot] [PATCH] driver/ddr: Fix DDR4 driver for ARM

2014-06-19 Thread York Sun
Noted. Maybe we can pull in part of barrier.h into io.h. It is easier but I am not sure if it is the cleanest way to go. York On 06/19/2014 11:01 AM, Jon Loeliger wrote: That might be a fine starting point. But I might point out that U-Boot has some notions down this line already too. For

[U-Boot] am335x: board.c: clang warning

2014-06-19 Thread Jeroen Hofstee
Hello Tom, The following clang warnings are not trivial to fix for me, And since the file in question has many contributers I am not sure who is responsible nowadays. Can you make sure this end up at someone who knows about the am335x, since this sound a bit fishy.. (but likely works somehow...)

[U-Boot] [RFC PATCH 0/3] Implement fastboot flash for eMMC

2014-06-19 Thread Steve Rae
This series implements the fastboot flash command for eMMC devices. It supports both raw and sparse images. NOTES: - the support for the fastboot flash command is enabled with CONFIG_FASTBOOT_FLASH - the support for eMMC is enabled with CONFIG_FASTBOOT_FLASH_MMC_DEV - (future) the support for

[U-Boot] [RFC PATCH 1/3] usb/gadget: fastboot: add sparse image definitions

2014-06-19 Thread Steve Rae
- to prepare for the support of fastboot sparse images Signed-off-by: Steve Rae s...@broadcom.com --- This file is ASIS from: https://raw.githubusercontent.com/AOSB/android_system_core/master/libsparse/sparse_format.h (commit 28fa5bc347390480fe190294c6c385b6a9f0d68b) except for the __UBOOT__

[U-Boot] [RFC PATCH 2/3] usb/gadget: fastboot: add eMMC support for flash command

2014-06-19 Thread Steve Rae
- add support for 'fastboot flash' command for eMMC devices Signed-off-by: Steve Rae s...@broadcom.com --- I suspect that the sparse image handling (ie. the while (remaining_chunks) loop) has been implemented elsewhere -- I need help finding the original code to determine any licensing

[U-Boot] [RFC PATCH 3/3] usb/gadget: fastboot: add support for flash command

2014-06-19 Thread Steve Rae
- implement 'fastboot flash' for eMMC devices Signed-off-by: Steve Rae s...@broadcom.com --- README | 10 ++ doc/README.android-fastboot | 5 +++-- drivers/usb/gadget/f_fastboot.c | 31 +++ 3 files changed, 44 insertions(+), 2

Re: [U-Boot] omap: Don't enable GPMC CS0 with nothing attached

2014-06-19 Thread Tom Rini
On Fri, Jun 06, 2014 at 11:27:28AM -0700, Ash Charles wrote: If CONFIG_(NAND|NOR|ONENAND) is not defined, no configuration is set for GPMC on chip select #0---size is 0. In this case, the GPMC configuration should be reset but not enabled. Enabling causes the Gumstix DuoVero board to hang

Re: [U-Boot] omap4: duovero: Correct name of default device tree

2014-06-19 Thread Tom Rini
On Fri, Jun 06, 2014 at 11:36:50AM -0700, Ash Charles wrote: Signed-off-by: Ash Charles ashchar...@gmail.com Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, U-boot, v3] ARM: keystone: aemif: move aemif driver to drivers/memory/ti-aemif.c

2014-06-19 Thread Tom Rini
On Sat, Jun 07, 2014 at 05:10:49AM +0300, Khoronzhuk, Ivan wrote: Move AEMIF driver to drivers/memory/ti-aemif.c along with AEMIF definitions collected in arch/arm/include/asm/ti-common/ti-aemif.h Acked-by: Vitaly Andrianov vita...@ti.com Signed-off-by: Ivan Khoronzhuk

Re: [U-Boot] [U-Boot, U-boot, v3] mtd: nand: davinci: add header file for driver definitions

2014-06-19 Thread Tom Rini
On Sat, Jun 07, 2014 at 04:22:52AM +0300, Khoronzhuk, Ivan wrote: The definitions inside emif_defs.h concern davinci nand driver and should be in it's header. So create header file for davinci nand driver and move definitions from emif_defs.h and nand_defs.h to it. Acked-by: Vitaly

Re: [U-Boot] [U-Boot, v3] omap3: overo: Select fdtfile for expansion board

2014-06-19 Thread Tom Rini
On Tue, Jun 10, 2014 at 12:02:36PM -0700, Ash Charles wrote: The u-boot Overo board actually supports both Overo (OMAP35xx) and Overo Storm (AM/DM37xx) COMs with a range of different expansion boards. This provides a mechanism to select the an appropriate device tree file based on the

Re: [U-Boot] [U-Boot, v2, 1/5] board: ti: am43xx: print unsupported board name

2014-06-19 Thread Tom Rini
On Tue, Jun 10, 2014 at 03:01:18PM -0500, Felipe Balbi wrote: when porting u-boot to a new am43xx board, it helps to know the name of the current unsupported board so we don't have to hunt for design documents to figure out what's written in the EEPROM. Signed-off-by: Felipe Balbi

Re: [U-Boot] omap3: board: trivial: add void for no args

2014-06-19 Thread Tom Rini
On Mon, Jun 16, 2014 at 11:22:23PM +0200, Jeroen Hofstee wrote: Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot, v2, 2/5] cpu: armv7: am33x: ddr: write emif ref_ctrl_shadow register

2014-06-19 Thread Tom Rini
On Tue, Jun 10, 2014 at 03:01:19PM -0500, Felipe Balbi wrote: Signed-off-by: Felipe Balbi ba...@ti.com Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, v2, 3/5] board: ti: am43xx: add support for AM43xx Starter Kit

2014-06-19 Thread Tom Rini
On Tue, Jun 10, 2014 at 03:01:20PM -0500, Felipe Balbi wrote: AM43xx Starter Kit is a new board based on AM437x line of SoCs. Being a low-cost EVM and small size EVM are intended to provide an entry level development platform on a full fledged Hardware System. Signed-off-by: Felipe Balbi

Re: [U-Boot] spi: davinci: Fix register address for SPI1_BUS

2014-06-19 Thread Tom Rini
On Wed, Jun 18, 2014 at 09:09:34AM +0800, Axel Lin wrote: Fix a trivial copy-paste bug. Signed-off-by: Axel Lin axel@ingics.com Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] OMAP: disable gpmc timeout safely for reenabling

2014-06-19 Thread Tom Rini
On Tue, Jun 17, 2014 at 04:47:40PM +0200, Stefano Babic wrote: gpmc timeout is disabled and the reset counter is set to 0. However, if later a driver activates the timeout setting the reset to a valid value, the old reset value with zero is still valid for the first access. In fact, the

Re: [U-Boot] [U-Boot, v2, 4/5] board: ti: am43xx: add AM437x SK PHY Address

2014-06-19 Thread Tom Rini
On Tue, Jun 10, 2014 at 03:01:21PM -0500, Felipe Balbi wrote: pass correct PHY Address when running on SK so that we have working ethernet with this board too. Signed-off-by: Felipe Balbi ba...@ti.com Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot, v2, 5/5] board: ti: am43xx: enable QSPI and Gbit Ethernet on AM437x SK

2014-06-19 Thread Tom Rini
On Tue, Jun 10, 2014 at 03:01:22PM -0500, Felipe Balbi wrote: AM437x Starter Kit has a qspi flash and gbit ethernet support. By muxing those signals, we can use those interfaces from u-boot. Signed-off-by: Felipe Balbi ba...@ti.com Applied to u-boot-ti/master, thanks! -- Tom

Re: [U-Boot] omap: Don't enable GPMC CS0 with nothing attached

2014-06-19 Thread Ash Charles
Thanks for the correction Tom. --Ash On Thu, Jun 19, 2014 at 3:01 PM, Tom Rini tr...@ti.com wrote: On Fri, Jun 06, 2014 at 11:27:28AM -0700, Ash Charles wrote: If CONFIG_(NAND|NOR|ONENAND) is not defined, no configuration is set for GPMC on chip select #0---size is 0. In this case, the GPMC

Re: [U-Boot] [U-Boot, U-boot, v3] mtd: nand: davinci: add header file for driver definitions

2014-06-19 Thread Ivan Khoronzhuk
On 06/20/2014 01:01 AM, Tom Rini wrote: On Sat, Jun 07, 2014 at 04:22:52AM +0300, Khoronzhuk, Ivan wrote: The definitions inside emif_defs.h concern davinci nand driver and should be in it's header. So create header file for davinci nand driver and move definitions from emif_defs.h and

[U-Boot] Please pull u-boot-ti/master

2014-06-19 Thread Tom Rini
Hey, The following changes since commit 0a26e1d6c394aacbf1153977b7348d1dff85db3f: arm: fix a double-definition error of _start symbol (2014-06-09 10:36:40 +0200) are available in the git repository at: git://git.denx.de/u-boot-ti.git master for you to fetch changes up to

Re: [U-Boot] [U-Boot, v2, 06/14] bootm: Split out code from cmd_bootm.c

2014-06-19 Thread Simon Glass
Hi Tom, On 19 June 2014 09:31, Tom Rini tr...@ti.com wrote: On Thu, Jun 19, 2014 at 11:23:24AM -0400, Tom Rini wrote: On Thu, Jun 12, 2014 at 07:24:46AM -0600, Simon Glass wrote: This file has code in three different categories: - Command processing - OS-specific boot code - Locating

Re: [U-Boot] m68k: Fix warnings with gcc 4.6

2014-06-19 Thread Simon Glass
Hi Tom, On 18 June 2014 11:53, Tom Rini tr...@ti.com wrote: On Tue, Jun 17, 2014 at 08:52:09PM -0700, Simon Glass wrote: Hi Masahiro, On 17 June 2014 01:34, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, On Wed, 11 Jun 2014 18:19:28 -0400 Tom Rini tr...@ti.com wrote:

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

2014-06-19 Thread Scott Wood
On Thu, 2014-06-19 at 12:34 +0200, Heiko Schocher wrote: Hello Tom, Scott, Am 18.06.2014 23:42, schrieb Tom Rini: On Wed, Jun 18, 2014 at 04:24:39PM -0500, Scott Wood wrote: On Wed, 2014-06-18 at 09:55 +0200, Heiko Schocher wrote: Hello Scott, [snip] history to see what Linux version

Re: [U-Boot] U-boot hangs on imx6 pci driver

2014-06-19 Thread Marek Vasut
On Tuesday, June 17, 2014 at 04:14:20 PM, Fabio Estevam wrote: Hi Tim, On Fri, Jun 6, 2014 at 1:35 AM, Tim Harvey thar...@gateworks.com wrote: Fabio, Good catch, but that doesn't resolve the issue i'm seeing here. Any other ideas? Do you still have issues after applying David's

Re: [U-Boot] U-boot hangs on imx6 pci driver

2014-06-19 Thread Marek Vasut
On Thursday, June 05, 2014 at 12:13:39 PM, Tim Harvey wrote: On Wed, Jun 4, 2014 at 11:30 PM, David Müller (ELSOFT AG) d.muel...@elsoft.ch wrote: Tim Harvey wrote: When enabling PCI support in u-boot my 3.14 kernel hangs somewhere during PCI init or enumeration (can't tell as uart is not

Re: [U-Boot] [U-Boot, v2] mtd: nand: Fix address cycle problem with NAND_CMD_RNDOUT

2014-06-19 Thread Scott Wood
On Tue, May 06, 2014 at 11:15:35AM +0200, Stefan Roese wrote: diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index 1ce55fd..f11fce4 100644 --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c @@ -674,7 +674,7 @@ static void nand_command_lp(struct

Re: [U-Boot] [U-Boot, U-boot, 1/2] common: cmd_nand: add nand ecclayout command

2014-06-19 Thread Scott Wood
On Fri, May 16, 2014 at 09:26:36PM +0300, Khoronzhuk, Ivan wrote: From: WingMan Kwok w-kw...@ti.com This commit adds a nand ecclayout command that allows the ecclayout of the current nand device to be changed during run time. This feature is useful when using u-boot to write something to

Re: [U-Boot] [U-Boot, U-boot, 2/2] mtd: nand: davinci: allow to change ecclayout by ecclayout command

2014-06-19 Thread Scott Wood
On Fri, May 16, 2014 at 09:26:37PM +0300, Khoronzhuk, Ivan wrote: From: WingMan Kwok w-kw...@ti.com This patch adds opportunity to change ecclayout of current nand device during runtime. So we can change the current nand device ecclayout using the nand ecclayout set command before writing

Re: [U-Boot] [U-Boot, v8] nand/denali: Adding Denali NAND driver support

2014-06-19 Thread Scott Wood
On Tue, Jun 10, 2014 at 12:42:19AM -0500, Chin Liang See wrote: To add the Denali NAND driver support into U-Boot. It required information such as register base address from configuration header file within include/configs folder. This is hard to parse. What exactly is required from

Re: [U-Boot] [PATCH 2/5] kbuild: sync mixed targets handling with Linux 3.16-rc1

2014-06-19 Thread Masahiro Yamada
Hi Jeroen, On Tue, 17 Jun 2014 20:45:05 +0200 Jeroen Hofstee dasub...@myspectrum.nl wrote: There is some issue with this in current master I guess. I haven't bothered too much, but I think the one liner cause gcc to be called even if both compilers are set to clang. With a separate config

Re: [U-Boot] [PATCH 2/5] kbuild: sync mixed targets handling with Linux 3.16-rc1

2014-06-19 Thread Masahiro Yamada
Hi Jeroen, On Tue, 17 Jun 2014 20:45:05 +0200 Jeroen Hofstee dasub...@myspectrum.nl wrote: [jeroen@freebsd /usr/home/jeroen/u-boot]$ gmake CC=cc HOSTCC=cc V=1 NO_SDL=1 sandbox_config tools set -e; \ for i in sandbox_config tools; do \ gmake -f /usr/home/jeroen/u-boot/Makefile $i; \

Re: [U-Boot] [PATCH v4 0/6] Introduction of new board Peach-Pit

2014-06-19 Thread Simon Glass
Hi Akshay, On 18 June 2014 06:23, Akshay Saraswat aksha...@samsung.com wrote: This board is based on Exynos5420 and is similar to SMDK5420 board. Adding new and refactoring existing DT and config files to support both SMDK5420 and Peach-Pit. This patch set also intends to place env at the

Re: [U-Boot] [PATCH v4 1/6] Exynos5420: Let macros be used for exynos5420

2014-06-19 Thread Simon Glass
On 18 June 2014 06:23, Akshay Saraswat aksha...@samsung.com wrote: Macros defined in exynos5_setup.h specific to SMDK5420 are required for Peach-Pit too. Hence, replacing CONFIG_SMDK5420 with CONFIG_EXYNOS5420 to enable these macros for all the boards based on Exynos5420. Signed-off-by:

Re: [U-Boot] [PATCH 01/10] exynos_fb: Remove usage of static defines

2014-06-19 Thread Simon Glass
On 17 June 2014 03:06, Ajay Kumar ajaykumar...@samsung.com wrote: Previously, we used to statically assign values for vl_col, vl_row and vl_bpix using #defines like LCD_XRES, LCD_YRES and LCD_COLOR16. Introducing the function exynos_lcd_early_init() would take care of this assignment on the

Re: [U-Boot] [PATCH 02/10] arm: exynos: Add RPLL for Exynos5420

2014-06-19 Thread Simon Glass
On 17 June 2014 03:06, Ajay Kumar ajaykumar...@samsung.com wrote: RPLL is needed to drive the LCD panel on Exynos5420 based boards. Signed-off-by: Ajay Kumar ajaykumar...@samsung.com Acked-by: Simon Glass s...@chromium.org Tested-by: Simon Glass s...@chromium.org

Re: [U-Boot] [PATCH 03/10] arm: exynos: Add get_lcd_clk and set_lcd_clk callbacks for Exynos5420

2014-06-19 Thread Simon Glass
On 17 June 2014 03:06, Ajay Kumar ajaykumar...@samsung.com wrote: Add get_lcd_clk and set_lcd_clk callbacks for Exynos5420 needed by exynos video driver. Also, configure ACLK_400_DISP1 as the parent for MUX_ACLK_400_DISP1_SUB_SEL. Signed-off-by: Ajay Kumar ajaykumar...@samsung.com Acked-by:

Re: [U-Boot] [PATCH 04/10] video: exynos_fimd: Add framework to disable FIMD sysmmu

2014-06-19 Thread Simon Glass
On 17 June 2014 03:06, Ajay Kumar ajaykumar...@samsung.com wrote: On Exynos5420 and newer versions, the FIMD sysmmus are in on state by default. We have to disable them in order to make FIMD DMA work. This patch adds the required framework to exynos_fimd driver, and disables FIMD sysmmu on

  1   2   >