[U-Boot] fw_printenv - 'Warning: Bad CRC, using default environment'

2014-04-30 Thread shobin b
hi, i'm using the uboot-tools (fw_printenv) to readout the env-settings of my toradex board uboot-toradex. unfortunately i always get the 'Warning: Bad CRC, using default environment' msg, Warning: Bad CRC, using default environment bootcmd=bootp; setenv bootargs root=/dev/nfs

Re: [U-Boot] [Ac100] [PATCH v2 5/6] ARM: tegra: paz00: add dtbindings for nvec

2014-04-30 Thread Marc Dietrich
Hi, Am Montag, 28. April 2014, 17:04:13 schrieb Stephen Warren: On 04/26/2014 07:14 PM, Andrey Danin wrote: This patch isn't adding DT bindings for NVEC, but rather add DT nodes. The binding is the schema, not the content. We need a DT binding document that's been reviewed by the DT

Re: [U-Boot] [PATCH v5 03/12] usb: dfu: fix boards wo USB cable detection

2014-04-30 Thread Marek Vasut
On Monday, April 28, 2014 at 09:13:23 PM, Mateusz Zalega wrote: Former usb_cable_connected() patch broke compilation of boards which do not support this feature. I've renamed usb_cable_connected() to g_dnl_usb_cable_connected() and added its default implementation to gadget downloader driver

Re: [U-Boot] [PATCH 04/12] spl: consolidate arch/arm/include/asm/arch-*/spl.h

2014-04-30 Thread Masahiro Yamada
Hi Tim, Cc : Stefano, Tom On Mon, 28 Apr 2014 13:17:30 -0700 Tim Harvey thar...@gateworks.com wrote: From: Masahiro Yamada yamad...@jp.panasonic.com arch/arm/include/asm/spl.h requires all SoCs to have arch/arm/include/asm/arch-*/spl.h. But many of them just define BOOT_DEVICE_* macros.

Re: [U-Boot] [PATCH v5 02/12] part: header fix

2014-04-30 Thread Lukasz Majewski
Hi Tom, Implementation made use of types defined in common.h, even though it wasn't #included. It worked in circumstances when .c files included every needed header (all). Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Tom Rini tr...@ti.com Cc: Minkyu Kang mk7.k...@samsung.com

Re: [U-Boot] [PATCH v5 01/12] mmc: mmc header fix

2014-04-30 Thread Lukasz Majewski
Hi Pantelis, Structure definition used type block_dev_desc_t, defined in part.h, which wasn't included in mmc.h. It worked only in circumstances when common.h, or another header using part.h was incuded in implementation files. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu

[U-Boot] [PATCH v4] qe: disable qe when qe-ucode fails to be uploaded for deep sleep

2014-04-30 Thread Zhao Qiang
when qe-ucode fails to be uploaded, deep sleep will hang. if there is no qe-ucode, disable qe module for platforms which support deep sleep Signed-off-by: Zhao Qiang b45...@freescale.com --- Changes for v2: - add #ifdef CONFIG_MPC85xx Changes for v3: - modify commit msg Changes

Re: [U-Boot] [PATCH V2] video: mxc_ipuv3_fb: stash frame buffer pointer in global data.

2014-04-30 Thread Anatolij Gustschin
On Tue, 29 Apr 2014 14:37:56 -0700 Eric Nelson eric.nel...@boundarydevices.com wrote: This patch updates the i.MX video driver to store the frame-buffer address in the fb_base field of the global data structure *gd. By doing this, you can find the frame buffer address using the 'bdinfo'

[U-Boot] [Question] Linux Boot with u-boot 2014.04 on Zynq board

2014-04-30 Thread Masahiro Yamada
Hi Michal, I am a user of Zynq ZC-706 board. On u-boot 2014.01 release, I put Kernel Image, Device Tree, Ramdisk into fit.itb and I could successfully boot Linux Kernel. But I don't know how to boot Kernel on u-boot 2014.04 release. Please help! The default boot sequence of Zynq on the

Re: [U-Boot] fw_printenv - 'Warning: Bad CRC, using default environment'

2014-04-30 Thread Wolfgang Denk
Dear shobin b, In message bay177-w24a6af38881ce02882f14eb2...@phx.gbl you wrote: hi, i'm using the uboot-tools (fw_printenv) to readout the env-settings of my toradex board uboot-toradex. unfortunately i always get the 'Warning: Bad CRC, using default environment' msg, Warning: Bad CRC,

Re: [U-Boot] [PATCH v5 01/12] mmc: mmc header fix

2014-04-30 Thread Pantelis Antoniou
Hi Lukasz, On Apr 30, 2014, at 11:35 AM, Lukasz Majewski wrote: Hi Pantelis, Structure definition used type block_dev_desc_t, defined in part.h, which wasn't included in mmc.h. It worked only in circumstances when common.h, or another header using part.h was incuded in implementation

Re: [U-Boot] [PATCH v4 4/5] samsung: misc: keys: fix gpio key bouncing by adding 50 ms delay

2014-04-30 Thread Przemyslaw Marczak
Hello Gerhard, On 04/28/2014 03:44 PM, Gerhard Sittig wrote: On Fri, 2014-04-25 at 12:20 +0200, Przemyslaw Marczak wrote: This change prevents gpio keys bouncing by adding 50 ms delay when key pressed condition met. [ ... ] @@ -105,6 +105,10 @@ static int check_keys(void) if

[U-Boot] [PATCH 0/2] fs:ext4: Fixes and code cleanup

2014-04-30 Thread Lukasz Majewski
This code fixes problem with storing file with the same name multiple times on the same ext4 fs (with different sizes). Code reorganization and cleanup is also included. Lukasz Majewski (2): fs:ext4:cleanup: Remove superfluous code fs:ext4:write:fix: Reinitialize global variables after

Re: [U-Boot] [Question] Linux Boot with u-boot 2014.04 on Zynq board

2014-04-30 Thread Michal Simek
Hi Masahiro, On 04/30/2014 11:54 AM, Masahiro Yamada wrote: Hi Michal, I am a user of Zynq ZC-706 board. On u-boot 2014.01 release, I put Kernel Image, Device Tree, Ramdisk into fit.itb and I could successfully boot Linux Kernel. But I don't know how to boot Kernel on u-boot 2014.04

[U-Boot] [PATCH 1/2] fs:ext4:cleanup: Remove superfluous code

2014-04-30 Thread Lukasz Majewski
Code responsible for handling situation when ext4 has block size of 1024B can be ordered to take less space. This patch does that for ext4 common and write files. Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- fs/ext4/ext4_common.c |6 ++ fs/ext4/ext4_write.c | 50

[U-Boot] [PATCH 2/2] fs:ext4:write:fix: Reinitialize global variables after updating a file

2014-04-30 Thread Lukasz Majewski
This bug shows up when file stored on the ext4 file system is updated. The ext4fs_delete_file() is responsible for deleting file's (e.g. uImage) data. However some global data (especially ext4fs_indir2_block), which is used during file deletion are left unchanged. The ext4fs_indir2_block pointer

Re: [U-Boot] [PATCH v5 09/12] arm: goni: Update configuration for Goni target

2014-04-30 Thread Lukasz Majewski
Hi Minkyu, Configuration file for GONI has been updated to support FAT file system, new mmc partitioning scheme and read linux kernel from eMMC instead of OneNAND. Signed-off-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com

[U-Boot] [PATCH v5 1/5] samsung: misc: allows using environmental macros as args in menu commands

2014-04-30 Thread Przemyslaw Marczak
Function cmd_process() runs commands with directly given list of arguments but it doesn't expand given environmental variables names as macros. Command gpt as one of arguments expects expanded macro e.g. $partitions so it needs to be called by function run_command(). Changes: - extend array

[U-Boot] [PATCH v5 2/5] samsung: misc: add gpt restore option to lcd menu

2014-04-30 Thread Przemyslaw Marczak
This menu option allows restore gpt. This is usefull and no needs access to the u-boot console. For proper operation: - each partition uuid should be set in environment or - CONFIG_RANDOM_UUID should be defined for automatically uuid setting After operation success device is going to be reset.

[U-Boot] [PATCH v5 3/5] samsung: misc: add env default option to lcd menu

2014-04-30 Thread Przemyslaw Marczak
From: Inha Song ideal.s...@samsung.com This change allows reset device environment to default without using u-boot console, which is useful for system developers. Signed-off-by: Inha Song ideal.s...@samsung.com Acked-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Minkyu Kang

[U-Boot] [PATCH v5 4/5] samsung: misc: menu: increase delay in menu main loop

2014-04-30 Thread Przemyslaw Marczak
Increase menu loop delay to 200 ms helps choose the right menu option by user. Before this, each time key was pressed the current menu option was changed few times. Now it changes only once and also changes few times if key is pressed for a longer time. Signed-off-by: Przemyslaw Marczak

[U-Boot] [PATCH v5 5/5] samsung: misc: remove download mode info screen

2014-04-30 Thread Przemyslaw Marczak
This change removes LCD menu download mode info screen. Now key press timeout is checked in function download_menu() and menu options are displayed directly after PWR + VOLUP keys. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes v4: - new

Re: [U-Boot] [Question] Linux Boot with u-boot 2014.04 on Zynq board

2014-04-30 Thread Masahiro Yamada
Hi Heshsham, Thanks for your offering help! On Wed, 30 Apr 2014 15:52:02 +0530 Heshsham Abdul Basit hf.ba...@gmail.com wrote: Hi Masahiro, Although this is not directed to me, but perhaps I can help you out. I am working on zc702 board. Can you copy paste the content of your bif file

Re: [U-Boot] [Question] Linux Boot with u-boot 2014.04 on Zynq board

2014-04-30 Thread Masahiro Yamada
Hi Michal. Thanks for your reply. Before you build u-boot you have to copy ps7_init.c/h from your hw design to the u-boot if you want to use SPL. Oops, I forgot to mention this. I did that. [1] Build u-boot [2] Convert spl/u-boot-spl.bin into boot.bin with BootGen tool

Re: [U-Boot] [RFC] Kconfig: MAINTAINERS file or not?

2014-04-30 Thread Andreas Bießmann
Hi all, On 04/30/2014 07:31 AM, Masahiro Yamada wrote: On Mon, 28 Apr 2014 22:41:07 +0200 Wolfgang Denk w...@denx.de wrote: In message 20140428185854.b2b8.aa925...@jp.panasonic.com you wrote: Before I send Kconfig series v2, please let me cofirm our approach of maintainers info. Thanks

Re: [U-Boot] [PATCH] ARM: Samsung: s5p_goni: maintainer update

2014-04-30 Thread Minkyu Kang
On 30/04/14 03:16, Mateusz Zalega wrote: Because I'm leaving Samsung Electronics, I won't have access to their developer hardware anymore. Przemyslaw Marczak will take over my responsibilities. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Acked-by: Przemyslaw Marczak

Re: [U-Boot] [PATCH v5 09/12] arm: goni: Update configuration for Goni target

2014-04-30 Thread Minkyu Kang
On 30/04/14 20:24, Lukasz Majewski wrote: Hi Minkyu, Configuration file for GONI has been updated to support FAT file system, new mmc partitioning scheme and read linux kernel from eMMC instead of OneNAND. Signed-off-by: Arkadiusz Wlodarczyk a.wlodarc...@samsung.com Signed-off-by:

Re: [U-Boot] [Question] Linux Boot with u-boot 2014.04 on Zynq board

2014-04-30 Thread Michal Simek
Hi, On 04/30/2014 01:31 PM, Masahiro Yamada wrote: Hi Michal. Thanks for your reply. Before you build u-boot you have to copy ps7_init.c/h from your hw design to the u-boot if you want to use SPL. Oops, I forgot to mention this. I did that. ok. Then I expect you are able to see at

[U-Boot] [PATCH 5/8] kmp204x: complete the reset sequence and PRST configuration

2014-04-30 Thread Valentin Longchamp
This adds the reset support for the following devices that was until then not implemented: - BFTIC4 - QSFPs This also fixes the configuration of the prst behaviour for the other resets: Only the u-boot and kernel relevant subsystems are taken out of reset (pcie, ZL30158, and front eth phy). Most

[U-Boot] [PATCH 7/8] kmp204x: add workaround for A-004849

2014-04-30 Thread Valentin Longchamp
This should prevent the problems that the CCF can deadlock with certain traffic patterns. This also fixes the workaround for A-006559 that was not correctly implemented before. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com --- board/keymile/kmp204x/pbi.cfg | 43

[U-Boot] [PATCH 2/8] kmp204x: handle dip-switch for factory settings

2014-04-30 Thread Valentin Longchamp
From: Stefan Bigler stefan.big...@keymile.com Add readout of dip-switch to revert to factory settings. If one or more dip-switch are set, launch bank 0 that contains the bootloader to do the required action. Signed-off-by: Stefan Bigler stefan.big...@keymile.com Signed-off-by: Valentin Longchamp

[U-Boot] [PATCH 1/8] kmp204x: Add support for the unit LEDs

2014-04-30 Thread Valentin Longchamp
From: Stefan Bigler stefan.big...@keymile.com The unit LEDs are managed by the QRIO CPLD. This patch adds support for accessing these LEDs in the QRIO. The LEDs then are set to a correct boot state: - UNIT-LED is red - BOOT-LED is on. Signed-off-by: Stefan Bigler stefan.big...@keymile.com

[U-Boot] [PATCH 3/8] kmp204x: selftest/factory test pin support

2014-04-30 Thread Valentin Longchamp
This patch defines the post_hotkeys_pressed() function that is used for: - triggering POST memory regions test - starting the test application through the checktestboot command in a script by setting the active bank to testbank The post_hotkeys_pressed return the state of the SELFTEST pin. The

[U-Boot] [PATCH 6/8] kmp204x: update the RCW

2014-04-30 Thread Valentin Longchamp
Fix the IRQ/GPIO settings: all the muxed GPIO/external IRQs that are used as internal interrupts are defined as GPIOs to avoid confusion between the internal/external interrupts. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com --- board/keymile/kmp204x/rcw_kmp204x.cfg | 2 +- 1

[U-Boot] [PATCH 8/8] kmp204x: enable the errata command

2014-04-30 Thread Valentin Longchamp
Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com --- include/configs/km/kmp204x-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/km/kmp204x-common.h b/include/configs/km/kmp204x-common.h index c8af652..46e5e9f 100644 ---

[U-Boot] [PATCH 4/8] kmp204x: update the CONFIG_PRAM and CONFIG_KM_RESERVED_PRAM defines

2014-04-30 Thread Valentin Longchamp
This prevents u-boot from accessing into the reserved memory areas that we have for /var and the logbooks. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com --- include/configs/km/kmp204x-common.h | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH 0/8] kmp204x patches for 2014.07

2014-04-30 Thread Valentin Longchamp
Things have stabilized quite a lot on the u-boot front for the Keymile kmp204x/kmcoge4 board. There are a few remaining patches that should get merged to have a complete support of the architecture/board in u-boot. These include: - support for some additional functions of the QRIO board

[U-Boot] Getting started with SPL

2014-04-30 Thread Heshsham Abdul Basit
*HI, * *OS:* petalinux https://github.com/Xilinx/u-boot-xlnx/tree/master-next *Board:* Xilinx z702 evaluation boardhttp://www.xilinx.com/products/boards-and-kits/EK-Z7-ZC702-G.htm having ARM Cortex A9 and FPGA on the zc700 SoC * Background:* I observed that first message on the console comes

[U-Boot] Unable to create BOOT.BIN using zynq-boot-bin.py

2014-04-30 Thread Heshsham Abdul Basit
Hi, I compiled U-boot source from master-next branch, after copying ps7_init.c and .h files from h/w project, Now I get u-boot-spl u-boot-spl.bin I wanted to get BOOT.BIN that I can put in SD card and boot my linux kernel. However I am unable to run the script for BOOT.BIn generation a can be

Re: [U-Boot] [Question] Linux Boot with u-boot 2014.04 on Zynq board

2014-04-30 Thread Heshsham Abdul Basit
Hi Masahiro, Although this is not directed to me, but perhaps I can help you out. I am working on zc702 board. Can you copy paste the content of your bif file that you use with bootgen to generate BOOT.BIN file? Thanks and regards, Heshsham On 30 April 2014 15:24, Masahiro Yamada

Re: [U-Boot] Unable to create BOOT.BIN using zynq-boot-bin.py

2014-04-30 Thread Michal Simek
Hi, first of all this is related to xilinx git repo that's why you shouldn't use this mainline mailing list for that. I will reply on this in private email. Thanks, Michal On 04/30/2014 01:08 PM, Heshsham Abdul Basit wrote: Hi, I compiled U-boot source from master-next branch, after

Re: [U-Boot] Getting started with SPL

2014-04-30 Thread Michal Simek
Hi On 04/30/2014 11:32 AM, Heshsham Abdul Basit wrote: *HI, * *OS:* petalinux https://github.com/Xilinx/u-boot-xlnx/tree/master-next it is not OS - it is just xilinx u-boot repo. And petalinux is using this repo too. *Board:* Xilinx z702 evaluation

[U-Boot] [PATCH v1 07/11] board: gdsys: Configure bridge on DP501 to support DDC only

2014-04-30 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc The I2C bridge on DP501 supports EDID, MCCS and HDCP by default. Allow EDID only to avoid I2C address conflicts. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- board/gdsys/common/dp501.c | 1 + include/configs/controlcenterd.h | 7 --- 2

[U-Boot] [PATCH v1 02/11] board: gdsys: Adapt sdhc_boot.c to mmc_get_env_addr API change

2014-04-30 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- board/gdsys/p1022/sdhc_boot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/gdsys/p1022/sdhc_boot.c b/board/gdsys/p1022/sdhc_boot.c index e432318..fd0e910 100644 ---

[U-Boot] [PATCH v1 10/11] board: iocon: Modify iocon hardware startup

2014-04-30 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc To avoid peer ChReceivePathStatus-messages on iocon startup, initialize PHYs as soon as possible. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- board/gdsys/405ep/iocon.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git

[U-Boot] [PATCH v1 06/11] board: gdsys: Increase iocon and dlv10g version string

2014-04-30 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- include/configs/dlvision-10g.h | 2 +- include/configs/iocon.h| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/dlvision-10g.h b/include/configs/dlvision-10g.h

[U-Boot] [PATCH v1 09/11] board: gdsys: Enable scrambling on DP501

2014-04-30 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc For proper displayport performance, scrambling has to be enabled, but is turned off on DP501 by default. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- board/gdsys/common/dp501.c | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH v1 04/11] board: iocon: Support DisplayPort hardware

2014-04-30 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc There is a new iocon hardware flavor, supporting DisplayPort finally. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- board/gdsys/405ep/iocon.c | 12 + board/gdsys/common/Makefile | 2 +- board/gdsys/common/dp501.c | 33 +

[U-Boot] [PATCH v1 05/11] board: gdsys: IHS I2C master driver

2014-04-30 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc IHS I2C master support was merely a hack in the osd driver. Now it is a proper u-boot I2C framework driver, supporting the v2.00 master features. Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- board/gdsys/common/Makefile| 4 +-

[U-Boot] [PATCH v1 08/11] board: gdsys: Make gdsys osd hardware detection more robust

2014-04-30 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- board/gdsys/405ep/iocon.c | 17 ++- board/gdsys/common/ihs_i2c.c | 1 - board/gdsys/common/osd.c | 113 +++-- include/configs/dlvision-10g.h | 2 -

[U-Boot] [PATCH v1 01/11] board: controlcenterd: Fix pci access

2014-04-30 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc readl was called with values instead of pointers to these values. Why this ever did work is a mystery... Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- board/gdsys/p1022/controlcenterd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[U-Boot] [PATCH v1 03/11] board: controlcenterd: Use new API for setting i2c bus

2014-04-30 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc Signed-off-by: Dirk Eibach dirk.eib...@gdsys.cc --- board/gdsys/p1022/controlcenterd-id.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/board/gdsys/p1022/controlcenterd-id.c b/board/gdsys/p1022/controlcenterd-id.c index

[U-Boot] [PATCH v1 0/11] Fixes on gdsys boards and some new functionality

2014-04-30 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc Dirk Eibach (11): board: controlcenterd: Fix pci access board: gdsys: Adapt sdhc_boot.c to mmc_get_env_addr API change board: controlcenterd: Use new API for setting i2c bus board: iocon: Support DisplayPort hardware board: gdsys: IHS I2C master

[U-Boot] [PATCH v1 11/11] board: gdsys: Remove commands to reduce footprint

2014-04-30 Thread dirk . eibach
From: Dirk Eibach dirk.eib...@gdsys.cc Commit 2842c1c fit: add sha256 support badly increased memory footprint, so some of our boards did not build anymore. Since monitor base must not be changed I removed some commands to save memory. Maybe making sha256 optional for fit would be an option for

Re: [U-Boot] [PATCH v10 1/2] EXYNOS: Add GPIO pin numbering and rename definitions

2014-04-30 Thread Przemyslaw Marczak
Hello, On 04/29/2014 06:36 PM, Przemyslaw Marczak wrote: Hello, On 04/28/2014 03:59 PM, Akshay Saraswat wrote: This patch includes following changes : * Adds gpio pin numbering support for EXYNOS SOCs. To have consistent 0..n-1 GPIO numbering the banks are divided into different parts

Re: [U-Boot] [PATCH v1 03/11] board: controlcenterd: Use new API for setting i2c bus

2014-04-30 Thread Heiko Schocher
Hello Dirk, Am 30.04.2014 15:49, schrieb dirk.eib...@gdsys.cc: From: Dirk Eibachdirk.eib...@gdsys.cc Signed-off-by: Dirk Eibachdirk.eib...@gdsys.cc --- board/gdsys/p1022/controlcenterd-id.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [U-Boot] [PATCH v1 05/11] board: gdsys: IHS I2C master driver

2014-04-30 Thread Heiko Schocher
Hello Dirk, Am 30.04.2014 15:49, schrieb dirk.eib...@gdsys.cc: From: Dirk Eibachdirk.eib...@gdsys.cc IHS I2C master support was merely a hack in the osd driver. Now it is a proper u-boot I2C framework driver, supporting the v2.00 master features. Signed-off-by: Dirk Eibachdirk.eib...@gdsys.cc

Re: [U-Boot] [PATCH v1 11/11] board: gdsys: Remove commands to reduce footprint

2014-04-30 Thread Heiko Schocher
Hello Dirk, Am 30.04.2014 15:50, schrieb dirk.eib...@gdsys.cc: From: Dirk Eibachdirk.eib...@gdsys.cc Commit 2842c1c fit: add sha256 support badly increased memory footprint, so some of our boards did not build anymore. Since monitor base must not be changed I removed some commands to save

Re: [U-Boot] [RFC] Kconfig: MAINTAINERS file or not?

2014-04-30 Thread Wolfgang Denk
Dear Andreas, In message 5360e3ed.9090...@gmail.com you wrote: But I also think we need something like the MAINTAINERS approach sent by Daniel. It maybe won't scale for boards but I think it is a better solution than the Wiki page. It allows fine grained allocation of responsibility for the

Re: [U-Boot] [Ac100] [PATCH v2 5/6] ARM: tegra: paz00: add dtbindings for nvec

2014-04-30 Thread Stephen Warren
On 04/30/2014 01:52 AM, Marc Dietrich wrote: Hi, Am Montag, 28. April 2014, 17:04:13 schrieb Stephen Warren: On 04/26/2014 07:14 PM, Andrey Danin wrote: This patch isn't adding DT bindings for NVEC, but rather add DT nodes. The binding is the schema, not the content. We need a DT binding

Re: [U-Boot] [PATCH 2/8] kmp204x: handle dip-switch for factory settings

2014-04-30 Thread York Sun
On 04/30/2014 06:01 AM, Valentin Longchamp wrote: From: Stefan Bigler stefan.big...@keymile.com snip diff --git a/board/keymile/kmp204x/qrio.c b/board/keymile/kmp204x/qrio.c index 11949f4..c4f8dfd 100644 --- a/board/keymile/kmp204x/qrio.c +++ b/board/keymile/kmp204x/qrio.c @@ -158,3

Re: [U-Boot] [PATCH 1/8] kmp204x: Add support for the unit LEDs

2014-04-30 Thread York Sun
On 04/30/2014 06:01 AM, Valentin Longchamp wrote: From: Stefan Bigler stefan.big...@keymile.com snip diff --git a/board/keymile/kmp204x/qrio.c b/board/keymile/kmp204x/qrio.c index 49f9aa2..11949f4 100644 --- a/board/keymile/kmp204x/qrio.c +++ b/board/keymile/kmp204x/qrio.c @@ -144,3

[U-Boot] [PATCH 0/5] PPC 85xx QEMU: Additional fixes

2014-04-30 Thread Alexander Graf
After the initial round of the e500 QEMU machine patches got merged I realized that we were missing 2 pieces of the puzzle to make everything great: - KVM support - generic board file With this patch set I can successfully run u-boot inside of KVM on an e500v2 as well as an e500mc machine. I

[U-Boot] [PATCH 3/5] powerpc/mpc85xx: Update TLB CAMs in relocated mode

2014-04-30 Thread Alexander Graf
We want to use the TLB mapping helpers in relocated mode as well. These helpers need to have awareness of already occupied TLB entries. We already had them in sync in non-relocated mode, but need to resync them when we move into relocated. Signed-off-by: Alexander Graf ag...@suse.de ---

[U-Boot] [PATCH 2/5] PPC 85xx QEMU: Don't use HID1

2014-04-30 Thread Alexander Graf
For the QEMU machine type, we can plug in either e500v2, e500mc, e5500 or e6500 style cores into the system. U-boot has to work with all of them. So avoid using HID1 which is not available on e500mc systems to make sure we don't trap on it. Signed-off-by: Alexander Graf ag...@suse.de ---

[U-Boot] [PATCH 5/5] PPC 85xx QEMU: Make a generic board file

2014-04-30 Thread Alexander Graf
This patch enables the E500 QEMU board to use the generic cross-arch board infrastructure. Signed-off-by: Alexander Graf ag...@suse.de --- include/configs/qemu-ppce500.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/qemu-ppce500.h b/include/configs/qemu-ppce500.h index

[U-Boot] [PATCH 1/5] PPC 85xx QEMU: Always assume 1 core

2014-04-30 Thread Alexander Graf
We only need u-boot to bother about a single core in the QEMU machine. Everything that would require additional knowledge of more cores gets handled by QEMU and passed straight into the payload we execute. Because of this setup, it would be counterproductive to enable SMP support in u-boot. We

[U-Boot] [PATCH 4/5] powerpc/mpc85xx: Pass 0 flags to board_init_f

2014-04-30 Thread Alexander Graf
The new generic board_init_f has an argument now that takes a number of prepopulated gd-flags bits. We don't have any, so let's set this to 0. Signed-off-by: Alexander Graf ag...@suse.de --- arch/powerpc/cpu/mpc85xx/start.S |1 + 1 file changed, 1 insertion(+) diff --git

Re: [U-Boot] [PATCH 4/5] powerpc/mpc85xx: Pass 0 flags to board_init_f

2014-04-30 Thread York Sun
On 04/30/2014 10:21 AM, Alexander Graf wrote: The new generic board_init_f has an argument now that takes a number of prepopulated gd-flags bits. We don't have any, so let's set this to 0. Signed-off-by: Alexander Graf ag...@suse.de --- arch/powerpc/cpu/mpc85xx/start.S |1 + 1 file

Re: [U-Boot] [PATCH 1/2] common/board_f: Add back gd init

2014-04-30 Thread York Sun
On 04/28/2014 03:51 PM, York Sun wrote: For powerpc SoCs, the initial gd is in INIT_RAM, in most cases, resideing in locked D-cache. At the time the function baord_inti_f() runs, no other RAM is available as a stack. This technique has been used in arch/powerpc/lib/board.c and should be added

Re: [U-Boot] [PATCH 4/5] powerpc/mpc85xx: Pass 0 flags to board_init_f

2014-04-30 Thread Alexander Graf
On 30.04.14 19:28, York Sun wrote: On 04/30/2014 10:21 AM, Alexander Graf wrote: The new generic board_init_f has an argument now that takes a number of prepopulated gd-flags bits. We don't have any, so let's set this to 0. Signed-off-by: Alexander Graf ag...@suse.de ---

Re: [U-Boot] [PATCH 4/5] powerpc/mpc85xx: Pass 0 flags to board_init_f

2014-04-30 Thread York Sun
On 04/30/2014 10:38 AM, Alexander Graf wrote: On 30.04.14 19:28, York Sun wrote: On 04/30/2014 10:21 AM, Alexander Graf wrote: The new generic board_init_f has an argument now that takes a number of prepopulated gd-flags bits. We don't have any, so let's set this to 0. Signed-off-by:

Re: [U-Boot] [PATCH 1/2] common/board_f: Add back gd init

2014-04-30 Thread Scott Wood
On Wed, 2014-04-30 at 10:33 -0700, York Sun wrote: On 04/28/2014 03:51 PM, York Sun wrote: For powerpc SoCs, the initial gd is in INIT_RAM, in most cases, resideing in locked D-cache. At the time the function baord_inti_f() runs, no other RAM is available as a stack. This technique has been

Re: [U-Boot] [PATCH] common: image: Allow mkimage to build a uImage for extensa

2014-04-30 Thread Fabio Estevam
On Tue, Apr 29, 2014 at 10:57 PM, Michael Ellerman m...@ellerman.id.au wrote: It just runs make. The decision about building a uImage must be in the .config somewhere. This failure is for allnoconfig, so presumably there is something like a CONFIG_DONT_BUILD_UIMAGE which is getting set to n

Re: [U-Boot] [PATCH v4 4/5] mtd: nand: omap: add CONFIG_SYS_NAND_DEVICE_WIDTH to determine NAND device bus-width

2014-04-30 Thread Scott Wood
On Wed, 2014-04-30 at 05:12 +, Gupta, Pekon wrote: Hi Scott, From: Scott Wood [mailto:scottw...@freescale.com] On Mon, 2014-04-28 at 17:11 +0530, Pekon Gupta wrote: + CONFIG_SYS_NAND_DEVICE_WIDTH + Specifies bus-width of the default NAND device connected to SoC. + This config is

Re: [U-Boot] [PATCH 1/2] common/board_f: Add back gd init

2014-04-30 Thread York Sun
On 04/30/2014 10:57 AM, Scott Wood wrote: On Wed, 2014-04-30 at 10:33 -0700, York Sun wrote: On 04/28/2014 03:51 PM, York Sun wrote: For powerpc SoCs, the initial gd is in INIT_RAM, in most cases, resideing in locked D-cache. At the time the function baord_inti_f() runs, no other RAM is

Re: [U-Boot] [RFC] RFC: convert MPC8536DS to use generic board

2014-04-30 Thread York Sun
On 04/29/2014 04:12 PM, Scott Wood wrote: On Sat, 2014-04-26 at 09:36 -0700, York Sun wrote: On 04/26/2014 02:22 AM, Wolfgang Denk wrote: +#ifdef CONFIG_PPC + gd = (gd_t *) (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_GBL_DATA_OFFSET); + __asm__ __volatile__(:::memory); +#endif Again, this is

Re: [U-Boot] [PATCH 1/2] common/board_f: Add back gd init

2014-04-30 Thread Scott Wood
On Wed, 2014-04-30 at 11:14 -0700, York Sun wrote: On 04/30/2014 10:57 AM, Scott Wood wrote: On Wed, 2014-04-30 at 10:33 -0700, York Sun wrote: On 04/28/2014 03:51 PM, York Sun wrote: For powerpc SoCs, the initial gd is in INIT_RAM, in most cases, resideing in locked D-cache. At the time

Re: [U-Boot] [PATCH 1/2] common/board_f: Add back gd init

2014-04-30 Thread York Sun
On 04/30/2014 11:24 AM, Scott Wood wrote: Before this change, we have #ifndef CONFIG_X86 gd_t data; gd = data; #endif This is overriding the gd. Yes, as I said, If PPC needs gd before board_init_f(), then add PPC (or some other relevant symbol if it's not all PPC) to the #ifndef X86.

Re: [U-Boot] [PATCH 1/2] fs:ext4:cleanup: Remove superfluous code

2014-04-30 Thread Simon Glass
On 30 April 2014 03:39, Lukasz Majewski l.majew...@samsung.com wrote: Code responsible for handling situation when ext4 has block size of 1024B can be ordered to take less space. This patch does that for ext4 common and write files. Signed-off-by: Lukasz Majewski l.majew...@samsung.com

Re: [U-Boot] [PATCH 04/11] kconfig: add basic Kconfig files

2014-04-30 Thread Simon Glass
Hi Masahiro, On 29 April 2014 21:22, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, + +config SPL_BUILD + bool + depends on BUILD_MODE=SPL || BUILD_MODE=TPL What is the TPL term for? Please note that both CONFIG_SPL_BUILD and CONFIG_TPL_BUILD must be defined

Re: [U-Boot] [PATCH 2/2] fs:ext4:write:fix: Reinitialize global variables after updating a file

2014-04-30 Thread Simon Glass
Hi Lukasz, On 30 April 2014 03:39, Lukasz Majewski l.majew...@samsung.com wrote: This bug shows up when file stored on the ext4 file system is updated. The ext4fs_delete_file() is responsible for deleting file's (e.g. uImage) data. However some global data (especially ext4fs_indir2_block),

Re: [U-Boot] [PATCH] sandbox: set sandbox's vendor as null

2014-04-30 Thread Simon Glass
On 29 April 2014 21:08, Masahiro Yamada yamad...@jp.panasonic.com wrote: Because sandbox is not a real hardware, setting vendor=sandbox is almost meaningless. This commit sets sandbox's vendor field to '-'. It is a good thing that it reduces one level directory hierarchy. The files

Re: [U-Boot] [PATCH 1/2] common/board_f: Add back gd init

2014-04-30 Thread York Sun
On 04/30/2014 11:24 AM, Scott Wood wrote: Before this change, we have #ifndef CONFIG_X86 gd_t data; gd = data; #endif This is overriding the gd. Yes, as I said, If PPC needs gd before board_init_f(), then add PPC (or some other relevant symbol if it's not all PPC) to the #ifndef X86.

Re: [U-Boot] [Ac100] [PATCH v2 5/6] ARM: tegra: paz00: add dtbindingsfor nvec

2014-04-30 Thread Marc Dietrich
On Wed, 30 Apr 2014 10:21:07 -0600 Stephen Warren swar...@wwwdotorg.org wrote: On 04/30/2014 01:52 AM, Marc Dietrich wrote: Am Montag, 28. April 2014, 17:04:13 schrieb Stephen Warren: On 04/26/2014 07:14 PM, Andrey Danin wrote: This patch isn't adding DT bindings for NVEC, but rather add

[U-Boot] [PATCH 3/3] usb: tegra: support device mode

2014-04-30 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com A few changes are made to the Tegra EHCI driver so that it can set everything up for device-mode operation on the first USB controller. This can be used in conjunction with ci_udc.c to operate as a USB device. Detailed changes are: * Rename

[U-Boot] [PATCH 2/3] usb: tegra: refactor PHY type selection

2014-04-30 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Both init_{utmi,ulpi}_usb_controller() have nearly identical code for PHY type selection. Pull this out into a common function to remove the duplication. Cc: Jim Lin ji...@nvidia.com Cc: Stefan Agner ste...@agner.ch Signed-off-by: Stephen Warren

[U-Boot] [PATCH 1/3] usb: tegra: fix PHY selection code

2014-04-30 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com The TRM for Tegra30 and later all state that USBMODE_CM_HC must be set before writing to hostpc1_devlc to select which PHY to use for a USB controller. However, neither init_{utmi,ulpi}_usb_controller() do this today, so the register writes they perform for

[U-Boot] [PATCH] ums: respect CONFIG_USB_CABLE_CHECK

2014-04-30 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Not all boards support usb_cable_connected(). CONFIG_USB_CABLE_CHECK is used elsewhere to indicate whether a board does support that function. Enhance cmd_usb_mass_storage.c to honor that config variable. Cc: Przemyslaw Marczak p.marc...@samsung.com Cc:

[U-Boot] [PATCH 3/8] ums: remove error-checking of MMC device size

2014-04-30 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com There's no reason to believe that an MMC device will incorrectly report its capacity. Remove error checking of this value from ums_disk_init() to simplify it. Cc: Przemyslaw Marczak p.marc...@samsung.com Cc: Lukasz Majewski l.majew...@samsung.com

[U-Boot] [PATCH 4/8] ums: remove ums_disk_init()

2014-04-30 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Now that ums_disk_init() is so simple, there's no need for it to be a separate function. Instead, just add it to the tail end of ums_init(). Cc: Przemyslaw Marczak p.marc...@samsung.com Cc: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Stephen

[U-Boot] [PATCH 5/8] ums: move IO support code to common location

2014-04-30 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com There's nothing Samsung-/board-specfic about the implementation of ums_init(). Move the code into cmd_usb_mass_storage.c, so that it can be shared by any user of that command. Cc: Przemyslaw Marczak p.marc...@samsung.com Cc: Lukasz Majewski

[U-Boot] [PATCH 2/8] ums: remove UMS_{NUM, START}_SECTORS + UMS_START_SECTOR

2014-04-30 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com These values aren't set anywhere at present, and hence have no effect. The concept of a single global offset/number of sectors to expose through USB Mass Storage doesn't even make sense in the face of multiple storage devices. Remove these defines to

[U-Boot] [PATCH 6/8] ums: use get_device() not find_mmc_device();

2014-04-30 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com get_device() is a generic routine that will support any type of block device. Use this instead of the type-specific find_mmc_device(), for future flexibility. Cc: Przemyslaw Marczak p.marc...@samsung.com Cc: Lukasz Majewski l.majew...@samsung.com

[U-Boot] [PATCH 1/8] ums: support block devices not MMC devices

2014-04-30 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com The USB Mass Storage function could equally well support a SATA device as support an MMC device. Update struct ums to contain a block device descriptor, not an MMC device descriptor. Cc: Przemyslaw Marczak p.marc...@samsung.com Cc: Lukasz Majewski

[U-Boot] [PATCH 7/8] ums: move all variable declarations to the start of the block

2014-04-30 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com It's easier to assign values to the variables inside an if statement body if the assignment and declaration are separate. Cc: Przemyslaw Marczak p.marc...@samsung.com Cc: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Stephen Warren

[U-Boot] [PATCH 8/8] ums: allow the user to specify the device type

2014-04-30 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Allow an optional devtype parameter to the ums command, which specifies the type of the device to be exported. This could allow exporting a SATA or even another USB device. Cc: Przemyslaw Marczak p.marc...@samsung.com Cc: Lukasz Majewski

[U-Boot] [Patch v2 1/2] common/board_f: Preserve global data for mpc85xx and mpc86xx

2014-04-30 Thread York Sun
For powerpc SoCs (including mpc85xx, mpc86xx), global data is used for initializing LAWs, before calling function baord_inti_f(). This data should not be cleared later. Signed-off-by: York Sun york...@freescale.com --- Change log v2: Instead of adding back gd init for all PPC, preserve gd for

[U-Boot] [Patch v2 2/2] common/board_f: Fix size variable

2014-04-30 Thread York Sun
DRAM size should use 64-bit variable when the size could be more than 4GB. Caught and verified on P4080DS with 4GB DDR. Signed-off-by: York Sun york...@freescale.com --- Change log v2: no change since v1 common/board_f.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [Patch v2 4/5] powerpc/mpc86xx: Fix boot_flag for calling board_init_f()

2014-04-30 Thread York Sun
The argument boot_flag of board_inti_f() hasn't been used for powerpc until recent changing to use generic board. Set it to 0 as a proper value. Signed-off-by: York Sun york...@freescale.com --- change log v2: This is a new change. arch/powerpc/cpu/mpc86xx/start.S |1 + 1 file changed, 1

  1   2   >