Re: [U-Boot] [PATCH] drivers/designware_i2c - add suppor of CONFIG_SYS_I2C_EEPROM_ADDR_OVERFLOW

2014-01-17 Thread Alexey Brodkin
On Fri, 2014-01-17 at 07:42 +0100, Heiko Schocher wrote: Hello Alexey, I picked it up, see: http://git.denx.de/?p=u-boot/u-boot-i2c.git;a=summary http://git.denx.de/?p=u-boot/u-boot-i2c.git;a=commit;h=32d041e218c6a22e92d91629902fd03a90934b6a Note this is not an enhancement - this is a

[U-Boot] U-boot memory test results

2014-01-17 Thread aryanlak
Hi all, I want to perform memory test (FLASH) during U-boot and read the results after the operating system (Linux) is booted up. Is it possible? If so, can anyone guide me to do so? Regards Lakshmi -- View this message in context:

Re: [U-Boot] [PATCH v5 03/12] samsung: common: Add misc file and common function misc_init_r().

2014-01-17 Thread Przemyslaw Marczak
On 01/17/2014 07:26 AM, Minkyu Kang wrote: On 15/01/14 17:18, Przemyslaw Marczak wrote: Hello Piotr, On 01/15/2014 09:08 AM, Piotr Wilczek wrote: Dear Przemyslaw, -Original Message- From: Przemyslaw Marczak [mailto:p.marc...@samsung.com] Sent: Wednesday, January 15, 2014 8:51 AM To:

[U-Boot] [PATCH v2 2/2] env_mmc: default to 0 if CONFIG_SYS_MMC_ENV_DEV not defined

2014-01-17 Thread Hector Palacios
Since function mmc_get_env_devno is __weak and can be overridden by board code, boards do not need to mandatory define CONFIG_SYS_MMC_ENV_DEV. If the constant is not defined, define it to 0 by default. Signed-off-by: Hector Palacios hector.palac...@digi.com --- Notes: Changes since v1: -

[U-Boot] [PATCH v2 1/2] env_mmc: make board configurable the partition for the environment

2014-01-17 Thread Hector Palacios
This complements commit 9404a5fc7cb58 env_mmc: allow environment to be in an eMMC partition by allowing boards to accommodate the partition to use for the environment in different scenarios (similarly to what is done with the mmc dev number). Depending on the detected boot media, boards may decide

[U-Boot] [PULL] : Please pull u-boot-imx

2014-01-17 Thread Stefano Babic
Hi Albert, Commit 022298278 (mx6: soc: Disable VDDPU regulator) does not let boot kernel with enabled GPU (i.MX6). It is unclear at the moment if the fix should be done in U-Boot or in kernel, so it is better to revert it for the release. Please pull from u-boot-imx, thanks ! The following

[U-Boot] Fwd: Re: Boot Linux kernel with initramfs fails

2014-01-17 Thread Jean-baptiste DURONEA
Dear Wolfgang Denk, I forgot some explanations, sorry about that. I refer to this problem : http://lists.denx.de/pipermail/u-boot/2013-July/159055.html First, I tried to boot linux with initramfs through u-boot, but I had the same problem explained in my first post. Here is a part of the

Re: [U-Boot] [PATCH 0/3] fix: Trats/Trats2 default envs adjustement for 2014.01 release

2014-01-17 Thread Lukasz Majewski
Hi Tom, Adjust default envs for Trats and Trats2 boards. Those changes are supposed to cleanup and improve things for v2014.01 u-boot release. Lukasz Majewski (3): config: Update envs for trats and trats2 - new entries for new partitions ARM: trats2: dfu: Enable default Poll

Re: [U-Boot] [PATCH v2 1/2] env_mmc: make board configurable the partition for the environment

2014-01-17 Thread Otavio Salvador
Hello Hector, On Fri, Jan 17, 2014 at 7:14 AM, Hector Palacios hector.palac...@digi.comwrote: This complements commit 9404a5fc7cb58 env_mmc: allow environment to be in an eMMC partition by allowing boards to accommodate the partition to use for the environment in different scenarios

Re: [U-Boot] [PATCH v2 2/2] env_mmc: default to 0 if CONFIG_SYS_MMC_ENV_DEV not defined

2014-01-17 Thread Otavio Salvador
Hello Hector, On Fri, Jan 17, 2014 at 7:14 AM, Hector Palacios hector.palac...@digi.comwrote: Since function mmc_get_env_devno is __weak and can be overridden by board code, boards do not need to mandatory define CONFIG_SYS_MMC_ENV_DEV. If the constant is not defined, define it to 0 by

[U-Boot] booting os 'Unknown OS' (1) is not supported

2014-01-17 Thread Alexander Khryukin
Hello guys! I faced with a strange behaviour of u-boot. Few months ago i bought an ARM development board from yicsystem it's based on exynos 5250 and very similar to arndale http://www.yicsystem.com/products/low-cost-board/yse5250/ And i can boot Android ICS but when i try to boot any linux i

Re: [U-Boot] Fwd: Re: Boot Linux kernel with initramfs fails

2014-01-17 Thread Wolfgang Denk
Dear Jean-Baptiste, In message 52d8fbf8.2060...@gmail.com you wrote: I forgot some explanations, sorry about that. I refer to this problem : http://lists.denx.de/pipermail/u-boot/2013-July/159055.html And there you wrote: | When I boot Linux kernel with FIT Image, the kernel does not

[U-Boot] [PATCH v5 05/38] examples: Use scripts/Makefile.build

2014-01-17 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None Makefile | 5 + examples/api/Makefile| 21 +--- examples/standalone/Makefile | 46

[U-Boot] [PATCH v5 35/38] kbuild: check clean source and generate Makefile for out-of-tree build

2014-01-17 Thread Masahiro Yamada
For out-of-tree build - Check if the source tree is clean - Create a Makefile in the output directory Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - Newly added Makefile | 63

[U-Boot] [PATCH v5 37/38] kbuild: Do not generate .*.su files at the top directory

2014-01-17 Thread Masahiro Yamada
Without this workaround, you will see a lot of .*.su files at the top directory after building with a compiler which supports -fstack-usage option. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v5: None Changes in v4: - Newly added Changes in v3: None Changes in v2:

[U-Boot] [PATCH v5 29/38] examples: move api/ and standalone/ to examples/Makefile

2014-01-17 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None Makefile | 5 + examples/Makefile| 9 + examples/api/Makefile| 4 examples/standalone/Makefile |

[U-Boot] [PATCH v5 38/38] tools/env: cross-compile fw_printenv without setting HOSTCC

2014-01-17 Thread Masahiro Yamada
fw_printenv is a program which mostly runs on the target Linux. Before switching to Kbuild, we needed to set HOSTCC at the command line like this: make HOSTCC=your CC cross-compiler env Going forward we can cross compile it by specifying CROSS_COMPILE: make CROSS_COMPILE=your

[U-Boot] [PATCH v5 30/38] kbuild: refactor Makefile and spl/Makefile more

2014-01-17 Thread Masahiro Yamada
This commit refactors rules of directory descending and defines u-boot-dirs and u-boot-all-dirs. (We will need u-boot-all-dirs when using scripts/Makefile.clean) Additionally, rename LIBS-y to libs-y. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v5: None Changes in

[U-Boot] [PATCH v5 26/38] kbuild: generate {spl, tpl}-autoconf.mk only when it is necessary

2014-01-17 Thread Masahiro Yamada
Before this commit, {spl,tpl}-autoconf.mk was always generated at the top Makefile even if SPL(TPL) build was not selected. This commit moves the build rule of {spl,tpl}-autoconf.mk from the top Makefile to spl/Makefile. It prevents unnecessary {spl,tpl}-autoconf.mk from being generated.

[U-Boot] [PATCH v5 32/38] Makefile: refactor tools-all targets

2014-01-17 Thread Masahiro Yamada
- Move easylogo, gdb tagets to tools/Makefile - Delete gdbtools target (same as gdb) Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v5: - Revive env target Changes in v4: None Changes in v3: None Changes in v2: None Makefile | 8 +++- tools/Makefile | 8

[U-Boot] [PATCH v5 08/38] Makefile: move some variable definitions to the top Makefile

2014-01-17 Thread Masahiro Yamada
This commit moves some variable definitions from config.mk to the top Makefile: - HOSTCC, HOSTCFLAGS, HOSTLDFLAGS - AS, LD, CC, CPP, etc. - SHELL (renamed to CONFIG_SHELL) I'd like to slim down config.mk file because it is included from all recursive make. It is redundant to re-define the

[U-Boot] [PATCH v5 04/38] board: samsung: refactor host programs

2014-01-17 Thread Masahiro Yamada
Some Samsung boards have their own tools under board/samsung/board/tools/. This commit refactor more makefiles with hostprogs-y. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Note1: Samsung boards have tools under board/samsung/board/tools/ and have tools/mkexynosspl.c too. It is

[U-Boot] [PATCH v5 25/38] kbuild: move include directives of board configuration files

2014-01-17 Thread Masahiro Yamada
This commit changes the location of include directives of board configuration files. The purpose of this change is: - Slim down $(TOPDIR)/config.mk - Prevent $(TOPDIR)/Makefile from including the same configuration file twice - Do not include include/config.mk multiple times because

[U-Boot] [PATCH v5 09/38] Makefile: move BFD_ROOT_DIR to tools/gdb/Makefile

2014-01-17 Thread Masahiro Yamada
BFD_ROOT_DIR is used only in tools/gdb/Makefile Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None config.mk | 23 --- tools/gdb/Makefile | 21 + 2 files

[U-Boot] [PATCH v5 11/38] kbuild: Use Kbuild.include

2014-01-17 Thread Masahiro Yamada
This commit adjusts some files to use Kbuild.include. - Use cc-option defined in Kbuild.include (Delete cc-option in config.mk) - Use cc-version defined in (Delete cc-version in config.mk) - Move binutils-version and dtc-version to Kbuild.include by analogy to cc-version This

[U-Boot] [PATCH v5 14/38] Makefile: move more stuff to top Makefile

2014-01-17 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None Makefile | 20 +--- config.mk | 19 +-- 2 files changed, 18 insertions(+), 21 deletions(-) diff --git a/Makefile

[U-Boot] [PATCH v5 19/38] Makefile: rename scripts/Makefile.build to scripts/Makefile.build.tmp

2014-01-17 Thread Masahiro Yamada
Some build scripts including scripts/Makefile.build will be imported from Linux Kernel in the next commit. We need to adjust them for U-Boot in the following commits. To make it easier for reviewers to track the modification, this commit renames scripts/Makefile.build to

[U-Boot] [PATCH v5 20/38] kbuild: import more build scripts from Linux v3.12 tag

2014-01-17 Thread Masahiro Yamada
This commit imports build scripts from Linux Kernel v3.12 as they are. I know they include some trailing spaces but I keep intentionally them untouched. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v5 34/38] kbuild: support simultaneous board configuration and make all

2014-01-17 Thread Masahiro Yamada
This commit fixes two problems: [1] We could not do board configuration and make all in one command line. For example, the following did not work as we expect: $ make sandbox_config all Configuring for sandbox board... make: Nothing to be done for `all'. [2] mixed-target build did not

[U-Boot] [PATCH v5 31/38] Makefile: Do not pass MTD_VERSION from the top Makefile

2014-01-17 Thread Masahiro Yamada
$(MTD_VERSION) is used in tools/env/Makefile If you specify a variable at a command line like: $ make MTD_VERSION=old env or specify it thru an envrionment variable like: $ export MTD_VERSION=old $ make env it is inherited to the sub-make too. We do not need to pass it from the top Makefile

[U-Boot] [PATCH v5 36/38] board: sandburst: delete FORCEBUILD

2014-01-17 Thread Masahiro Yamada
We had switched to Kbuild, so we do not need to delete sandburst board files at every build. U-Boot conventional build system did not check the update of command line option, -DBUILDUSER. Kbuild can handle it nicely and re-builds object files when command line options are changed. (The file

[U-Boot] [PATCH v5 22/38] kbuild: delete temporary build scripts

2014-01-17 Thread Masahiro Yamada
We had switched to Kbuild. We do not need old build scripts any more. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None rules.mk | 47 - scripts/Makefile.build.tmp |

[U-Boot] [PATCH v5 0/38] Switch over to real Kbuild

2014-01-17 Thread Masahiro Yamada
We switched to Kbuild style makefiles at v2014.01-rc1 release. With that modification, we can write makefiles simpler. But it is NOT real Kbuild. We need more progress. As the next step, this series imports (+ adjusts) build scripts from Linux Kernel under scripts/ directory. By applying this

[U-Boot] [PATCH v5 06/38] nand-spl: Use scripts/Makefile.build

2014-01-17 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None Makefile | 2 +- nand_spl/board/amcc/acadia/Makefile | 8 nand_spl/board/amcc/bamboo/Makefile

[U-Boot] [PATCH v5 23/38] kbuild: move some lines to more suitable place

2014-01-17 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v5: None Changes in v4: - Move the line where U_BOOT_VERSION is defined Changes in v3: None Changes in v2: None Makefile | 65 1 file changed, 32

[U-Boot] [PATCH v5 12/38] Makefile: move more flags to the top Makefile

2014-01-17 Thread Masahiro Yamada
Before this commit, most of compiler flags were defined in config.mk. But it is redundant because config.mk is included from all recursive make. This commit moves many complier flags to the top Makefile and export them. And we use new vaiarables to store them: KBUILD_CPPFLAGS, KBUILD_CFLAGS,

[U-Boot] [PATCH v5 01/38] .gitignore: ingore files generated by Kbuild

2014-01-17 Thread Masahiro Yamada
Ignore generated files by Kbuild such as .*.cmd, *.order, etc. Besides above, - Ignore *.s files We do not need to ignore with file name, asm-offsets.s - Do not ignore *.rej (for quilt) - Ignore backup files, \#*# Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v5:

[U-Boot] [PATCH v5 28/38] kbuild: change the top Makefile to more Kbuild-ish structure

2014-01-17 Thread Masahiro Yamada
This commit changes the top Makefile to handle various targets nicely. Make targets are divided into four categories: - mixed-targets We can call a configuration target and build targets at one command line like follows: $ make board_name_config u-boot They are handled one

[U-Boot] [PATCH v5 15/38] Makefile: move some flags to spl/Makefile

2014-01-17 Thread Masahiro Yamada
Some flags are used for SPL (and TPL) build only. This commit moves them from config.mk to spl/Makefile. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None config.mk| 19 ---

[U-Boot] [PATCH v5 16/38] Makefile: move some flags to examples makefiles

2014-01-17 Thread Masahiro Yamada
This commit moves some flags which are used under examples/ directory only. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None config.mk| 8 examples/api/Makefile| 4

[U-Boot] [PATCH v5 27/38] Makefile: remove a cleaning target tidy

2014-01-17 Thread Masahiro Yamada
Before this commit, make tidy did make clean + delete *.depend* files. But, we do not have *.depend* files any more, which means make tidy is the same as make clean. This commit removes the redandant target tidy. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v5: None

[U-Boot] [PATCH v5 02/38] Makefile.host.tmp: add a new script to refactor tools

2014-01-17 Thread Masahiro Yamada
This commit adds scripts/Makefile.host.tmp which will be used in the next commit to convert makefiles under tools/ directory to Kbuild style. Notice this script, scripts/Makefile.host.tmp is temporary. When switching over to real Kbuild, it will be replaced with scripts/Makefile.host of Linux

[U-Boot] [PATCH v5 03/38] tools: convert makefiles to kbuild style

2014-01-17 Thread Masahiro Yamada
Before this commit, makefiles under tools/ directory were implemented with their own way. This commit refactors them by using hostprogs-y variable. Several C sources have been added to wrap other C sources to simplify Makefile. For example, tools/crc32.c includes lib/crc32.c Signed-off-by:

[U-Boot] [PATCH v5 10/38] kbuild: import Kbuild.include from linux v3.12 tag

2014-01-17 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None scripts/Kbuild.include | 278 + 1 file changed, 278 insertions(+) create mode 100644

[U-Boot] [PATCH v5 24/38] kbuild: convert some make rules to Kbuild style

2014-01-17 Thread Masahiro Yamada
We can get Kbuild-ish log style like this: GEN include/autoconf.mk GEN include/autoconf.mk.dep We do not need XECHO any more. And also change checkstack target like Linux Kernel. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v5: None Changes in v4: -

[U-Boot] [PATCH v5 18/38] kbuild: add dummy obj-y to create built-in.o

2014-01-17 Thread Masahiro Yamada
We are going to switch over to Kbuild in upcoming commits. Each makefile must have non-empty obj- or obj-y to generate built-in.o on Kbuild. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v5 07/38] Makfile: move suffix rules to Makefile.build

2014-01-17 Thread Masahiro Yamada
This commit moves suffix rules from config.mk to scripts/Makefile.build, which will allow us to switch smoothly to real Kbuild. Note1: post/lib_powerpc/fpu/Makefile has its own rule to compile C sources. We need to tweak it to keep the same behavior. Note2: There are two file2 with the same

[U-Boot] [PATCH v5 33/38] kbuild: use scripts/Makefile.clean

2014-01-17 Thread Masahiro Yamada
This commit refactors cleaning targets such as clean, clobber, mrpropper, distclean with scripts/Makefile.clean. By using scripts/Makefile.clean, we can recursively descend into subdirectories and delete generated files there. We do not need add a big list of generated files to the clean target.

[U-Boot] [PATCH v5 13/38] Makefile: refactor include path settings

2014-01-17 Thread Masahiro Yamada
This commit merges commonly-used header include paths to UBOOTINCLUDE and NOSTDINC_FLAGS variables, which are placed at the top Makefile. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None Makefile

Re: [U-Boot] Fwd: Re: Boot Linux kernel with initramfs fails

2014-01-17 Thread Jean-baptiste DURONEA
I'll try to have linux support so. Thank you. Regards, Le 17/01/2014 12:07, Wolfgang Denk a écrit : Dear Jean-Baptiste, In message 52d8fbf8.2060...@gmail.com you wrote: I forgot some explanations, sorry about that. I refer to this problem :

Re: [U-Boot] U-boot memory test results

2014-01-17 Thread Heiko Schocher
Hello aryanlak, Am 17.01.2014 09:11, schrieb aryanlak: Hi all, I want to perform memory test (FLASH) during U-boot and read the results after the operating system (Linux) is booted up. Is it possible? If so, can anyone guide me to do so? On which plattform do you want to try this? You can

Re: [U-Boot] [PATCH] board_r - fixup functions table after relocation

2014-01-17 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/16/2014 07:06 PM, Alexey Brodkin wrote: On Fri, 2014-01-17 at 00:40 +0400, Alexey Brodkin wrote: On Thu, 2014-01-16 at 21:27 +0100, Albert ARIBAUD wrote: Well, I've just realized that very similar thing is done in fixup_cmdtable. So I

Re: [U-Boot] [PATCH 0/11] Change some boards to use zImage in default environment

2014-01-17 Thread Marek Vasut
On Thursday, January 16, 2014 at 11:14:44 PM, Wolfgang Denk wrote: Dear Otavio Salvador, In message 1389909486-12880-1-git-send-email-ota...@ossystems.com.br you wrote: This patchset does as stated in the subject. It has been build tested as can be seen below: What is the motivation

Re: [U-Boot] Pull request: u-boot-arm/master - UPDATED

2014-01-17 Thread Tom Rini
On Thu, Jan 16, 2014 at 10:47:18AM +0100, Albert ARIBAUD wrote: Hello Tom, This is an update which replaces the previous PR which had only imx stuff. The following changes since commit 6ba2bc8fa9be4bd09ec43e39cb8e666480ef010c: arm: use canonical sub mnemonic (2014-01-14 12:38:47

Re: [U-Boot] [U-Boot, 1/3] config: Update envs for trats and trats2 - new entries for new partitions

2014-01-17 Thread Tom Rini
On Tue, Jan 14, 2014 at 08:02:24AM +0100, Łukasz Majewski wrote: This patch adds extra dfu_alt_info entries to support storing the whole BOOT , DATA and UMS partitions. This allows upgrade of uImage and device tree blob (dtb) files at once. Now it is also possible to store ext4 rootfs

Re: [U-Boot] [U-Boot, 2/3] ARM: trats2: dfu: Enable default Poll Timeout for Trats2 board

2014-01-17 Thread Tom Rini
On Tue, Jan 14, 2014 at 08:02:25AM +0100, Łukasz Majewski wrote: Provide default Poll Timeout value for Trats2 board. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Acked-by: Minkyu Kang mk7.k...@samsung.com Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot, v2] nand, gpmc: fix reading after switching ecc

2014-01-17 Thread Tom Rini
On Wed, Jan 15, 2014 at 05:58:54PM +0100, Jeroen Hofstee wrote: The omap_gpmc allows switching ecc at runtime. Since the NAND_SUBPAGE_READ flag is only set, it is kept when switching to hw ecc, which is not correct. This leads to calling chip-ecc.read_subpage which is not a valid pointer.

Re: [U-Boot] [U-Boot, 3/3] config: Update envs for trats and trats2 - Disable L2 cache

2014-01-17 Thread Tom Rini
On Tue, Jan 14, 2014 at 08:02:26AM +0100, Łukasz Majewski wrote: Disable L2 caches for Trats and Trats2 devices. It turns out that for data downloading with thordown command L2 cache disablement brings a significant speed improvement. rootfs - 400 MiB: - L2 cache enabled:

Re: [U-Boot] vexpress/armv8: Fix incorrect ethernet controller

2014-01-17 Thread Tom Rini
On Thu, Jan 16, 2014 at 09:47:40AM -0600, Bhupesh Sharma wrote: This patch enables ethernet support in ARMv8 foundation model. The ARMv8 foundation model supports a SMSC91C111 integrated MAC and PHY module which is present at base address 0x01A00. The previous implementation had enabled

Re: [U-Boot] cosmetic: uImage.FIT: fix documents

2014-01-17 Thread Tom Rini
On Thu, Jan 16, 2014 at 11:05:23AM +0900, Masahiro Yamada wrote: - Fix the path to source_file_format.txt - Fix a minor typo - Fix the type for FIT blob: it must be flat_dt Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom

[U-Boot] Help with USB keyboards: EHCI timeout error

2014-01-17 Thread John Donnelly
HI , I am investigating an issue where some keyboards fail to enumerate in u-boot but they are available when Linux enumerates them . USB0: USB EHCI 1.00 scanning bus 0 for devices... EHCI timed out on TD - token=0x80008c80. Any advice welcome . -- *Regards,* * John.* *--* *o*

Re: [U-Boot] Help with USB keyboards: EHCI timeout error

2014-01-17 Thread Wolfgang Denk
Dear John Donnelly, In message cagtoqbsq3yzpvqcb1bowr8unyfowwopxpx-epnremamgu58...@mail.gmail.com you wrote: I am investigating an issue where some keyboards fail to enumerate in u-boot but they are available when Linux enumerates them . Hardware (which exact board/ configuration) ?

Re: [U-Boot] [PATCH 1/3] config: Update envs for trats and trats2 - new entries for new partitions

2014-01-17 Thread Gerhard Sittig
On Thu, Jan 16, 2014 at 23:12 +0100, Wolfgang Denk wrote: Dear Gerhard Sittig, In message 20140116161026.gx20...@book.gsilab.sittig.org you wrote: write something more portable (and more readable?) like PARTS_BOOT part 0 5\0 What would the be needed for anyway? It wouldn't.

Re: [U-Boot] booting os 'Unknown OS' (1) is not supported

2014-01-17 Thread Detlev Zundel
Hi Alexander, I faced with a strange behaviour of u-boot. Expected behaviour for some people may seem strange to others ;) Few months ago i bought an ARM development board from yicsystem it's based on exynos 5250 and very similar to arndale

Re: [U-Boot] Compiling fw_printenv tool

2014-01-17 Thread Detlev Zundel
Hi Alexey, [...] I've googled it and sorted it out. The problem was that executable was dynamically linked and the *.so was not found on the embedded system. I compiled it with -static and it runs. I'm glad you solved the problem. I only like for such answers to show up in archives so that

Re: [U-Boot] Compiling fw_printenv tool

2014-01-17 Thread Detlev Zundel
Hi Masahiro-san, How do I cross compile it for my embedded system? Do I just set the HOSTCC environment variable in the Makefile? No changes in any makefiles are needed, just do make HOSTCC=arm-none-linuex-gnueabi-gcc env It looks weird to me. You're not alone actually :) In a land

Re: [U-Boot] Compiling fw_printenv tool

2014-01-17 Thread Detlev Zundel
Hi Gerhard, [...] Ok, thinking about your answer it kind of makes sense that fw_printenv can easily be used _out of tree_ without much hassle. On the other hand, as part of the build process, it is surely something to run on the target and thus something to compile with CC and not HOSTCC. Bu

[U-Boot] [PATCH 3/3] sf: Use shortcut names

2014-01-17 Thread Jagannadha Sutradharudu Teki
- SPI_FLASH - SF - ARRAY_SLOW - AS - ARRAY_FAST - AF - DUAL_OUTPUT_FAST - DOF - DUAL_IO_FAST - DIOF - QUAD_OUTPUT_FAST - QOF - QUAD_IO_FAST - QIOF Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com Cc: Marek Vasut ma...@denx.de --- drivers/mtd/spi/sf_internal.h | 44

[U-Boot] [PATCH 2/3] sf: Shrink spi_slave {}

2014-01-17 Thread Jagannadha Sutradharudu Teki
Combined spi flash stuff as minimum as possible. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com Cc: Marek Vasut ma...@denx.de --- drivers/mtd/spi/sf.c | 4 ++-- drivers/mtd/spi/sf_ops.c | 18 +- drivers/mtd/spi/sf_probe.c | 19 ---

[U-Boot] [PATCH 1/3] sf: ops: Squash the malloc+memset combo

2014-01-17 Thread Jagannadha Sutradharudu Teki
Squash the malloc()+memset() combo in favor of calloc(). Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com Cc: Marek Vasut ma...@denx.de --- drivers/mtd/spi/sf_ops.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mtd/spi/sf_ops.c

Re: [U-Boot] [PATCH 1/3] sf: ops: Squash the malloc+memset combo

2014-01-17 Thread Marek Vasut
On Friday, January 17, 2014 at 03:41:45 PM, Jagannadha Sutradharudu Teki wrote: Squash the malloc()+memset() combo in favor of calloc(). Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com Cc: Marek Vasut ma...@denx.de --- drivers/mtd/spi/sf_ops.c | 3 +-- 1 file changed, 1

Re: [U-Boot] A list of dead email addresses of board maintainers

2014-01-17 Thread Detlev Zundel
Hello Masahiro-san, When I CC board maintainers, it sometimes results in bounce mails. How should we modify boards.cfg? Delete the email? Or just mark as dead address ? This hooks into the recent discussion about when we can remove unsupported boards. The concensus there was to mark those

Re: [U-Boot] booting os 'Unknown OS' (1) is not supported

2014-01-17 Thread Alexander Khryukin
Thanks for your answer! So again, try loading the image somewhere else in RAM and let U-Boot do the copying to the correct place. It's not obvious for me how to do it. Might you have any guide or faq? 2014/1/17 Detlev Zundel d...@denx.de Hi Alexander, I faced with a strange behaviour of

Re: [U-Boot] [PATCH 1/3] sf: ops: Squash the malloc+memset combo

2014-01-17 Thread Jagan Teki
On Fri, Jan 17, 2014 at 8:13 PM, Marek Vasut ma...@denx.de wrote: On Friday, January 17, 2014 at 03:41:45 PM, Jagannadha Sutradharudu Teki wrote: Squash the malloc()+memset() combo in favor of calloc(). Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com Cc: Marek Vasut

Re: [U-Boot] Fat write problem

2014-01-17 Thread Detlev Zundel
Hi Ruud, This week I decided to do some further research and testing regarding this problem. With the image I had from the previous time, I could immediately reproduce it and by adding more and more debug prints, I tried to find the cause. Sofar, I have not succeeded in this yet.

Re: [U-Boot] [PATCH v4 0/8] Provide a mechanism to avoid using #ifdef everywhere

2014-01-17 Thread Detlev Zundel
Hi Simon, [...] I think the Linux code has two big advantages - for one, we increase the overlap with Linux kernel proper and secondly we keep the 'grep'ability of the names which I really missed in your proposal. Yes that seems reasonable. Ok, I'm glad we are in agreement. Many of

Re: [U-Boot] booting os 'Unknown OS' (1) is not supported

2014-01-17 Thread Detlev Zundel
Hello Alexander, Thanks for your answer! So again, try loading the image somewhere else in RAM and let U-Boot do the copying to the correct place. It's not obvious for me how to do it. Might you have any guide or faq? [...] ### main_loop: bootcmd=movi read kernel 0 40008000;movi read

Re: [U-Boot] Compiling fw_printenv tool

2014-01-17 Thread Alexey Smishlayev
On 2014.01.17. 16:30, Detlev Zundel wrote: Hi Alexey, [...] I've googled it and sorted it out. The problem was that executable was dynamically linked and the *.so was not found on the embedded system. I compiled it with -static and it runs. I'm glad you solved the problem. I only like for

Re: [U-Boot] booting os 'Unknown OS' (1) is not supported

2014-01-17 Thread Alexander Khryukin
Also if flashed 3.12_zImage (same kernel, same sources, just zImage) i see this reading kernel..device 0 Start 1063, Count 16384 MMC read: dev # 0, block # 1063, count 16384 ... 16384 blocks read: OK completed reading RFS..device 0 Count 17447, Start 2048 MMC read: dev # 0, block # 17447, count

Re: [U-Boot] Fat write problem

2014-01-17 Thread Ruud Commandeur
-Oorspronkelijk bericht- Van: Detlev Zundel [mailto:d...@denx.de] Verzonden: vrijdag 17 januari 2014 15:59 Aan: Ruud Commandeur CC: U-Boot list Onderwerp: Re: [U-Boot] Fat write problem Hi Ruud, This week I decided to do some further research and testing regarding this

[U-Boot] [PATCH] omap3_beagle: use omap3-beagle.dtb for the C4 revision

2014-01-17 Thread Robert Nelson
findftd is currently setting fdtfile to undefined for the beagle c4, select omap3-beagle.dtb instead Signed-off-by: Robert Nelson robertcnel...@gmail.com --- include/configs/omap3_beagle.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/omap3_beagle.h

Re: [U-Boot] booting os 'Unknown OS' (1) is not supported

2014-01-17 Thread Alexander Khryukin
Thanks. I changed env to baudrate=115200 *bootcmd=movi read kernel 0 4080;movi read rootfs 0 4100 10;bootm 4080 4100* bootdelay=3 emmcbootrecovery=mmc erase boot 1 0 0;emmc open 1;movi read fwbl1 0 4000;movi write zero fwbl1 1 4000;movi read bl2 0 40004000;movi write

Re: [U-Boot] Compiling fw_printenv tool

2014-01-17 Thread Detlev Zundel
Hi Alexey, [...] In case someone needs that (before the Makefile changes are accepted), I used the make HOSTCC='arm-none-linuex-gnueabi-gcc -static' env command to get it working. We usually do put options into the HOSTCC variable. Of course one can argue about that, but the make

Re: [U-Boot] [PATCH] omap3_beagle: use omap3-beagle.dtb for the C4 revision

2014-01-17 Thread Tom Rini
On Fri, Jan 17, 2014 at 09:51:28AM -0600, Robert Nelson wrote: findftd is currently setting fdtfile to undefined for the beagle c4, select omap3-beagle.dtb instead Signed-off-by: Robert Nelson robertcnel...@gmail.com Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] booting os 'Unknown OS' (1) is not supported

2014-01-17 Thread Detlev Zundel
Hi Alexander, [...] *ERROR: booting os 'Unknown OS' (1) is not supported* Hm, very strange. Looking up the code, the '1' is the image type contained in the uImage header. It is defined to be OpenBSD in include/image.h and if your U-Boot doesn't have support for that, you will get that

Re: [U-Boot] booting os 'Unknown OS' (1) is not supported

2014-01-17 Thread Alexander Khryukin
Can you do an 'mkimage -l image [fedya@discordy linux-linaro-tracking]$ mkimage -l arch/arm/boot/uImage Image Name: Linux-3.13.0-rc8 Created: Fri Jan 17 15:47:36 2014 Image Type: ARM Linux Kernel Image (uncompressed) Data Size:4737032 Bytes = 4626.01 kB = 4.52 MB Load Address:

Re: [U-Boot] booting os 'Unknown OS' (1) is not supported

2014-01-17 Thread Detlev Zundel
Hi Alexander, Also if flashed 3.12_zImage (same kernel, same sources, just zImage) Ok, zImage doesn't have the uImage header, so we will not see any information nor will U-Boot be able to verify a checksum there. reading kernel..device 0 Start 1063, Count 16384 MMC read: dev # 0, block #

Re: [U-Boot] booting os 'Unknown OS' (1) is not supported

2014-01-17 Thread Alexander Khryukin
Might i need a special arguments for mkimage to set up OS in headers of uImage? 2014/1/17 Alexander Khryukin alexan...@mezon.ru Can you do an 'mkimage -l image [fedya@discordy linux-linaro-tracking]$ mkimage -l arch/arm/boot/uImage Image Name: Linux-3.13.0-rc8 Created: Fri Jan 17

Re: [U-Boot] booting os 'Unknown OS' (1) is not supported

2014-01-17 Thread Alexander Khryukin
Do you have a kernel and ramdisk and kernel command line that works on your board? Yes, i have a working 3.0. kernel and ramdisk.img it is an android image. Linux version 3.0.15 (root@yicsystem) (gcc version 4.4.3 (GCC) ) #1 SMP PREEMPT Thu Apr 25 14:28:59 KST 2013 kernel command line # cat

Re: [U-Boot] booting os 'Unknown OS' (1) is not supported

2014-01-17 Thread Detlev Zundel
Hi Alexander, Might i need a special arguments for mkimage to set up OS in headers of uImage? One needs parameters for that, but the information looks ok: [...] [fedya@discordy linux-linaro-tracking]$ mkimage -l arch/arm/boot/uImage Image Name: Linux-3.13.0-rc8 Created: Fri Jan 17

Re: [U-Boot] booting os 'Unknown OS' (1) is not supported

2014-01-17 Thread Alexander Khryukin
You have any suggestion how i can fix or hack it? I really have no clue what's wrong and why it's working with android kernel and not with mainline. 2014/1/17 Detlev Zundel d...@denx.de Hi Alexander, Might i need a special arguments for mkimage to set up OS in headers of uImage? One

Re: [U-Boot] [PATCH 2/3] sf: Shrink spi_slave {}

2014-01-17 Thread Marek Vasut
On Friday, January 17, 2014 at 03:41:46 PM, Jagannadha Sutradharudu Teki wrote: Combined spi flash stuff as minimum as possible. Squashing the names of the flags only makes it unreadable :-( Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com Cc: Marek Vasut ma...@denx.de ---

Re: [U-Boot] [PATCH 3/3] sf: Use shortcut names

2014-01-17 Thread Marek Vasut
On Friday, January 17, 2014 at 03:41:47 PM, Jagannadha Sutradharudu Teki wrote: - SPI_FLASH - SF - ARRAY_SLOW - AS - ARRAY_FAST - AF - DUAL_OUTPUT_FAST - DOF - DUAL_IO_FAST - DIOF - QUAD_OUTPUT_FAST - QOF - QUAD_IO_FAST - QIOF Now this really makes the code impossible to understand :-(

Re: [U-Boot] [PATCH 5/5] ext4: implement exists for ext4fs

2014-01-17 Thread Stephen Warren
On 01/16/2014 10:54 PM, Stefan Roese wrote: Hi Stephen, On 16.01.2014 22:53, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com This hooks into the generic file exists support added in an earlier patch, and provides an implementation for the ext4 filesystem. Signed-off-by:

Re: [U-Boot] [PATCH 2/3] sf: Shrink spi_slave {}

2014-01-17 Thread Jagan Teki
On Fri, Jan 17, 2014 at 10:01 PM, Marek Vasut ma...@denx.de wrote: On Friday, January 17, 2014 at 03:41:46 PM, Jagannadha Sutradharudu Teki wrote: Combined spi flash stuff as minimum as possible. Squashing the names of the flags only makes it unreadable :-( Signed-off-by: Jagannadha

Re: [U-Boot] [PULL] : Please pull u-boot-imx

2014-01-17 Thread Fabio Estevam
Hi Tom, On Fri, Jan 17, 2014 at 7:26 AM, Stefano Babic sba...@denx.de wrote: Hi Albert, Commit 022298278 (mx6: soc: Disable VDDPU regulator) does not let boot kernel with enabled GPU (i.MX6). It is unclear at the moment if the fix should be done in U-Boot or in kernel, so it is better to

Re: [U-Boot] U-boot memory test results

2014-01-17 Thread Joe Kulikauskas
Hello aryanlak, Am 17.01.2014 09:11, schrieb aryanlak: Hi all, I want to perform memory test (FLASH) during U-boot and read the results after the operating system (Linux) is booted up. Is it possible? If so, can anyone guide me to do so? This could work by setting a u-boot environment

Re: [U-Boot] booting os 'Unknown OS' (1) is not supported

2014-01-17 Thread Detlev Zundel
Hi Alexander, Do you have a kernel and ramdisk and kernel command line that works on your board? Yes, i have a working 3.0. kernel and ramdisk.img it is an android image. Linux version 3.0.15 (root@yicsystem) (gcc version 4.4.3 (GCC) ) #1 SMP PREEMPT Thu Apr 25 14:28:59 KST 2013 kernel

Re: [U-Boot] booting os 'Unknown OS' (1) is not supported

2014-01-17 Thread Detlev Zundel
Hi Alexander, You have any suggestion how i can fix or hack it? I really have no clue what's wrong and why it's working with android kernel and not with mainline. Well, potentially, there can be worlds of differences between such kernels. I don't know your platform at all, but is it expected

Re: [U-Boot] [PATCH 2/3] sf: Shrink spi_slave {}

2014-01-17 Thread Gerhard Sittig
On Fri, Jan 17, 2014 at 22:42 +0530, Jagan Teki wrote: On Fri, Jan 17, 2014 at 10:01 PM, Marek Vasut ma...@denx.de wrote: Anyway, I feel we're sinking deeper and deeper into this sh*t, we should instead take a step back and re-think the whole approach until we break it even more. Yes

  1   2   >