Re: [U-Boot] [PATCH V2 5/8] board:samsung:universal: add env variables describing platform

2014-01-23 Thread Przemyslaw Marczak
Hello Piotr, On 01/22/2014 03:54 PM, Piotr Wilczek wrote: This patch adds variables describing platform (soc, board, vendor) to default environment. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Przemyslaw Marczak

[U-Boot] POST in u-boot for P2020 process

2014-01-23 Thread pshambhu
Hi, I am interested in performing POST (Power On Self Test ) operation in u-boot. As soon as the system starts booting , it should perform some basic functionality Testing, - Cache test - Memory Test - RAM test - I2C test - SPI Test - Ethernet Test - UART test - Watch Dog Timer Test Please let

Re: [U-Boot] [PATCH V2 1/8] arm:exynos: add cpu revision

2014-01-23 Thread Wolfgang Denk
Dear Piotr Wilczek, In message 1390402477-24340-2-git-send-email-p.wilc...@samsung.com you wrote: This patch enables to read cpu revision on Exynos CPU. Sorry, you really need to refactor your patches. In this commit you add references to s5p_cpu_id: @@ -196,10 +198,12 @@ static inline void

Re: [U-Boot] POST in u-boot for P2020 process

2014-01-23 Thread Wolfgang Denk
Dear pshambhu, In message 1390469712091-172115.p...@n7.nabble.com you wrote: I am interested in performing POST (Power On Self Test ) operation in u-boot. As soon as the system starts booting , it should perform some basic functionality Testing, - Cache test - Memory Test - RAM test -

[U-Boot] [PATCH v4 2/2] boards.cfg: Delete the equivalent entries

2014-01-23 Thread Masahiro Yamada
There are some entries which produce the same binaries: - ep8248E is equivalent to ep8248 - MPC8360ERDK_66is equivalent to MPC8360ERDK - Adder87x/AdderUSB is equivalent to Adder - EVB64260_750CXis equivalent to EVB64260 I also notice - Lite5200 is equivalent to

[U-Boot] [PATCH v4 0/2] Refactoring of boards.cfg

2014-01-23 Thread Masahiro Yamada
Changes in v4: - Rebase on the current u-boot/master Changes in v3: - Rebase on the current u-boot/master - Fix a typo in commit log Changes in v2: - Do not delete Lite5200* Masahiro Yamada (2): boards.cfg: Place - in the 8th field if it is the same as 7th boards.cfg: Delete the

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

2014-01-23 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 v6 30/38] kbuild: refactor Makefile and spl/Makefile more

2014-01-23 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 v6: None Changes in

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

2014-01-23 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 v6: None Changes in v5: None Changes in v4: - Newly added Changes in v3:

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

2014-01-23 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v6: - Import from linux v3.13 Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None scripts/Kbuild.include | 278 + 1 file changed, 278

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

2014-01-23 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 v6 34/38] kbuild: support simultaneous board configuration and make all

2014-01-23 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 v6 14/38] Makefile: move more stuff to top Makefile

2014-01-23 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v6: None 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

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

2014-01-23 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 v6 16/38] Makefile: move some flags to examples makefiles

2014-01-23 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 v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None config.mk| 8

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

2014-01-23 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 v6 11/38] kbuild: Use Kbuild.include

2014-01-23 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 v6 27/38] Makefile: remove a cleaning target tidy

2014-01-23 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 v6: None

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

2014-01-23 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 v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None rules.mk | 47 -

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

2014-01-23 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 v6:

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

2014-01-23 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 v6: None Changes in v5: None

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

2014-01-23 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v6: None 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

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

2014-01-23 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 v6 0/38] Switch over to real Kbuild

2014-01-23 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 v6 04/38] board: samsung: refactor host programs

2014-01-23 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 v6 08/38] Makefile: move some variable definitions to the top Makefile

2014-01-23 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 v6 18/38] kbuild: add dummy obj-y to create built-in.o

2014-01-23 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 v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in

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

2014-01-23 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 v6: None Changes in v5: - Revive env target Changes in v4: None Changes in v3: None Changes in v2: None Makefile | 8 +++-

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

2014-01-23 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 v6 15/38] Makefile: move some flags to spl/Makefile

2014-01-23 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 v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None config.mk| 19

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

2014-01-23 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 v6 03/38] tools: convert makefiles to kbuild style

2014-01-23 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 v6 31/38] Makefile: Do not pass MTD_VERSION from the top Makefile

2014-01-23 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 v6 09/38] Makefile: move BFD_ROOT_DIR to tools/gdb/Makefile

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

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

2014-01-23 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v6: None 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 v6 20/38] kbuild: import more build scripts from Linux v3.13 tag

2014-01-23 Thread Masahiro Yamada
This commit imports build scripts from Linux Kernel v3.13 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 v6: None Changes in v5: None Changes in v4: None Changes in v3: None

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

2014-01-23 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v6: None 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

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

2014-01-23 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 v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2:

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

2014-01-23 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v6: - Rebase on the current u-boot/master 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 | 66

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

2014-01-23 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 v6 12/38] Makefile: move more flags to the top Makefile

2014-01-23 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 v6 26/38] kbuild: generate {spl, tpl}-autoconf.mk only when it is necessary

2014-01-23 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 v6 35/38] kbuild: check clean source and generate Makefile for out-of-tree build

2014-01-23 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 v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - Newly added Makefile | 63

[U-Boot] U-Boot execution sequence

2014-01-23 Thread JYOTI DUBEY
Can anyone tell how to understand the flow of u-boot source code? I am working on ARM processor and the board used is Nitrogen6X. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/3] PPC 85xx: Detect e500v2 / e500mc during runtime

2014-01-23 Thread Alexander Graf
On 21.01.2014, at 03:25, Scott Wood scottw...@freescale.com wrote: On Sun, 2014-01-19 at 16:19 +0100, Alexander Graf wrote: With the qemu-ppce500 machine type we can run the same board with either an e500v2 or an e500mc core plugged in. This means that the IVOR setup can't be based on

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

2014-01-23 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] [PATCH v3 2/2] config_fallbacks: default CONFIG_SYS_MMC_ENV_DEV to 0

2014-01-23 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 Reviewed-by: Stephen Warren

Re: [U-Boot] U-Boot execution sequence

2014-01-23 Thread Abraham Varricatt
On Thu, Jan 23, 2014 at 3:48 PM, JYOTI DUBEY jyoti0...@gmail.com wrote: Can anyone tell how to understand the flow of u-boot source code? I am working on ARM processor and the board used is Nitrogen6X. Ideally, it would be best to have a JTAG debugger and step through the execution. A

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

2014-01-23 Thread Otavio Salvador
On Thu, Jan 23, 2014 at 10:39 AM, Hector Palacios hector.palac...@digi.com wrote: 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

Re: [U-Boot] [PATCH v3 2/2] config_fallbacks: default CONFIG_SYS_MMC_ENV_DEV to 0

2014-01-23 Thread Otavio Salvador
On Thu, Jan 23, 2014 at 10:39 AM, Hector Palacios hector.palac...@digi.com wrote: 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.

Re: [U-Boot] U-Boot execution sequence

2014-01-23 Thread Mj Embd
a) step 1 - compile and build the bin / etf b) step 2 - create an asm - objdump -DS c) find the lds file d) locate uboot.map start from __start. (keep an arm manual handy) begin. :) On 1/23/14, JYOTI DUBEY jyoti0...@gmail.com wrote: Can anyone tell how to understand the flow of u-boot source

Re: [U-Boot] [PATCH 3/3] PPC 85xx: Add qemu-ppce500 machine

2014-01-23 Thread Alexander Graf
On 21.01.2014, at 03:25, Scott Wood scottw...@freescale.com wrote: On Sun, 2014-01-19 at 16:19 +0100, Alexander Graf wrote: For KVM we have a special PV machine type called ppce500. This machine is inspired by the MPC8544DS board, but implements a lot less features than that one. It also

[U-Boot] [ Uboot code understanding guide ]

2014-01-23 Thread Devarsh gadhia
Hi All, I have started working on uboot porting on beaglebone black. I want to learn the code flow of uboot code so that i can add necessary HOOKs for the porting and understanding the kernel and fs porting further. i am new to uboot and linux so could you please let me know the way to start

Re: [U-Boot] U-Boot execution sequence

2014-01-23 Thread Jagan Teki
Have some boot flow png's long back with previous version (not the current) [1] I thought it could be a starter - not equivalently same. If possible better take this as a reference and start tagging around the source. [1] http://jagannadhteki.blog.com/2014/01/23/u-boot-functional-flowarm/

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-23 Thread Detlev Zundel
Hi Bhupesh, -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of drambo Sent: Thursday, January 23, 2014 12:32 AM To: u-boot@lists.denx.de Subject: Re: [U-Boot] how to get u-boot code with arm64: core support Hi Bhupesh,

Re: [U-Boot] U-boot porting experiment -- which board or CPU will be good for doing it first time

2014-01-23 Thread Detlev Zundel
Hi Allan, I have been reading u-boot documentation for last few weeks. I hope it was fun :) I am looking forward to configure write my own u-boot for some board or CPU . I will be doing it first time. Please suggest some existing board for which we have opensource U-boot software

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-23 Thread Darwin Rambo
On 14-01-23 07:58 AM, Detlev Zundel wrote: Hi Bhupesh, -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of drambo Sent: Thursday, January 23, 2014 12:32 AM To: u-boot@lists.denx.de Subject: Re: [U-Boot] how to get u-boot code with

[U-Boot] implementation of generic distro options

2014-01-23 Thread Dennis Gilmore
In this set of patches I am adding a generic set of config options for Distros to work with. this enables for simplified support of systems by distros. I have left out any implementations in this set of patches. I am working to redo all the implementations based on the work done by Stephen Warren

[U-Boot] [PATCH 2/2] config: add config_distro_defaults.h

2014-01-23 Thread Dennis Gilmore
describe a set of default features that distros can rely on being available. having this common definition means that distros can easily support systems implementing them. Signed-off-by: Dennis Gilmore den...@ausil.us --- include/config_distro_defaults.h | 55

[U-Boot] [PATCH 1/2] cmd_pxe.c add any option for filesystem with sysboot uses generic load

2014-01-23 Thread Dennis Gilmore
Signed-off-by: Dennis Gilmore den...@ausil.us --- common/cmd_pxe.c | 22 +++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c index c27ec35..20569bb 100644 --- a/common/cmd_pxe.c +++ b/common/cmd_pxe.c @@ -11,6 +11,7 @@

Re: [U-Boot] T4QDS e6500 core and U-Boot 64-bit

2014-01-23 Thread Danny Gale
Hi Wolfgang, Thanks for your reply. My responses are inline below. On 1/22/2014 2:06 AM, Wolfgang Denk wrote: Dear Danny Gale, In message 52df18b3.1080...@coloradoengineeringinc.com you wrote: The T4240 on the T4QDS board is a PPC e6500 core (64 bit), but it is configured in U-Boot as an

[U-Boot] [PATCH V2] ARM: tegra: don't exceed AVP limits when configuring PLLP

2014-01-23 Thread Stephen Warren
From: Jimmy Zhang jimmzh...@nvidia.com Based on the Tegra TRM, the system clock (which is the AVP clock) can run up to 275MHz. On power on, the default sytem clock source is set to PLLP_OUT0. In function clock_early_init(), PLLP_OUT0 will be set to 408MHz which is beyond system clock's upper

Re: [U-Boot] T4QDS e6500 core and U-Boot 64-bit

2014-01-23 Thread Scott Wood
On Thu, 2014-01-23 at 11:13 -0700, Danny Gale wrote: Hi Wolfgang, Thanks for your reply. My responses are inline below. On 1/22/2014 2:06 AM, Wolfgang Denk wrote: Dear Danny Gale, In message 52df18b3.1080...@coloradoengineeringinc.com you wrote: The T4240 on the T4QDS board is a PPC

[U-Boot] [PATCH] pxe: implement fdtdir extlinux.conf tag

2014-01-23 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com People who write (or scripts that auto-generate) extlinux.conf don't want to know about HW-specific information such as FDT filenames. Create a new extlinux.conf tag fdtdir that specifies only the directory where FDT files are located, and defer all

Re: [U-Boot] [PATCH 2/2] config: add config_distro_defaults.h

2014-01-23 Thread Stephen Warren
On 01/23/2014 11:22 AM, Dennis Gilmore wrote: describe a set of default features that distros can rely on being available. having this common definition means that distros can easily support systems implementing them. The series, Tested-by: Stephen Warren swar...@nvidia.com Reviewed-by:

[U-Boot] [PATCH V2 4/5] ext4: implement exists() for ext4fs

2014-01-23 Thread Stephen Warren
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: Stephen Warren swar...@nvidia.com --- fs/ext4/ext4fs.c | 8 fs/fs.c | 2 +-

[U-Boot] [PATCH V2 5/5] fat: implement exists() for FAT fs

2014-01-23 Thread Stephen Warren
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: Stephen Warren swar...@nvidia.com --- v2: s/ext/fat/ in the commit subject --- fs/fat/fat.c | 18

[U-Boot] [PATCH V2 3/5] sandbox: implement fs_exists() and 'sb exists' shell function

2014-01-23 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com This hooks into the generic file exists support added in the previous patch, and provides an implementation for the sandbox test environment. Signed-off-by: Stephen Warren swar...@nvidia.com --- common/cmd_sandbox.c | 7 +++ fs/fs.c|

[U-Boot] [PATCH V2 1/5] fs: fix generic save command implementation

2014-01-23 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Fix a few issues with the generic save shell command, and fs_write() function. 1) fstypes[].write wasn't filled in for some file-systems, and isn't checked when used, which could cause crashes/... if executing save on e.g. fat/ext filesystems. 2)

[U-Boot] [PATCH V2 2/5] fs: implement infra-structure for an 'exists' function

2014-01-23 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com This could be used in scripts such as: if exists mmc 0:1 /boot/boot.scr; then load mmc 0:1 ${scriptaddr} /boot/boot.scr source ${scriptaddr} fi rather than: if load mmc 0:1 ${scriptaddr} /boot/boot.scr; then source ${scriptaddr} fi This

[U-Boot] [PATCH V2 5/5] ARM: tegra: clear $usb_need_init each boot

2014-01-23 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com $usb_need_init prevents usb start from being run multiple times for each boot attempt, i.e. once for USB storage, another for PXE, and another for DHCP. However, the flag that's used to determine when to run usb start is never cleared, so a subsequent boot

[U-Boot] [PATCH V2 1/5] ARM: tegra: set env vars to indicate Cardhu A04 support

2014-01-23 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com The U-Boot cardhu build supports only revision 4 of the Cardhu board and later compatible revisions. Hence, set $board_name in the default environment to cardhu-a04 rather than just cardhu. The Linux kernel has separate DTs for Cardhu A02 and A04, although

[U-Boot] [PATCH V2 3/5] ARM: tegra: rework boot scripts

2014-01-23 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Update the common Tegra boot scripts in the default environment to a) Make use of the new exists shell command to avoid some error messges. b) Allow booting using the sysboot command and extlinux.conf. This allows easy creation of boot menus, and

[U-Boot] [PATCH V2 4/5] ARM: tegra: implement bootcmd_pxe

2014-01-23 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com This retrieves a PXE config file over the network, and executes it. This allows an extlinux config file to be retrieved over the network and executed, whereas the existing bootcmd_dhcp retrieves a U-Boot script. Signed-off-by: Stephen Warren

[U-Boot] [PATCH V2 2/5] ARM: tegra: convert tegra to use distro defaults

2014-01-23 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Modify all Tegra boards to include the distro defaults header, so that all the config options distros expect are enabled. Remove any #defines that enable the same options from the Tegra files. Signed-off-by: Stephen Warren swar...@nvidia.com --- v2: No

[U-Boot] [PATCH][v0] powerpc/mpc85xx: Update LIODNs for T1040

2014-01-23 Thread Poonam Aggrwal
Removed LIODNs for RMAN, RIO, 10G. T1040 has 10 QMAN portals so assigned LIODNs accordingly. Signed-off-by: Poonam Aggrwal poonam.aggr...@freescale.com --- arch/powerpc/cpu/mpc85xx/t1040_ids.c | 36 -- 1 files changed, 0 insertions(+), 36 deletions(-) diff

[U-Boot] [PATCH V2 02/13] ARM: tegra: misc cleanups triggered by Tegra124 review

2014-01-23 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Use a named constant for the PLL lock bit in enable_cpu_clocks(). Construct the complete value of pmc_pwrgate_toggle, rather than doing a read-modify-write; the register is simple enough and doesn't need to maintain state between operations.

[U-Boot] [PATCH V2 05/13] ARM: tegra: only build __pinmux_nand() when it's needed

2014-01-23 Thread Stephen Warren
From: Tom Warren twarren.nvi...@gmail.com __pinmux_nand() won't compile if PERIPH_ID_NDFLASH isn't defined. Prevent this from causing build problems on newer SoCs without NAND support (or without SW support for NAND yet), but preventing compilation unless the function will actually be used, i.e.

[U-Boot] [PATCH V2 01/13] mmc: tegra: support Tegra124

2014-01-23 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Tegra124's MMC controller is very similar to earlier SoC generations, and can be supported by the same driver. However, there are some non-backwards-compatible HW differences, and hence a new DT compatible value must be used to describe the HW. This patch

[U-Boot] [PATCH V2 04/13] ARM: tegra: remove a conditional for CSITE rate

2014-01-23 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com There's already an SoC-specific conditional in cpu.h to determine the PLLP rate. Define the CSITE clock rate inside the same conditional, so that we can remove a conditional from clock_enable_coresight(). This means one less place to update the code for new

[U-Boot] [PATCH V2 03/13] ARM: tegra: enable PLLX only once it's been fully configured

2014-01-23 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com This programming sequence is correct per Jimmy Zhang, and makes sense too! Signed-off-by: Stephen Warren swar...@nvidia.com --- v2: New patch, split out from the later Tegra124 changes. --- arch/arm/cpu/arm720t/tegra-common/cpu.c | 13 + 1

[U-Boot] [PATCH V2 06/13] ARM: tegra: fix a typo in the tegra114.dtsi

2014-01-23 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com The reg property for node spi@7000d800 was wrong. Fix it to match the HW. This change was verified against the Linux kernel. Signed-off-by: Stephen Warren swar...@nvidia.com --- arch/arm/dts/tegra114.dtsi | 2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] [PATCH V2 08/13] ARM: tegra: add SPL/AVP (arm720t) CPU files for Tegra124

2014-01-23 Thread Stephen Warren
From: Tom Warren twarren.nvi...@gmail.com This provides SPL support for Tegra124 boards - AVP early init, plus CPU (A15) init/jump to main U-Boot. Signed-off-by: Tom Warren twar...@nvidia.com Signed-off-by: Stephen Warren swar...@nvidia.com --- v2: * Convert to Kconfig-style make Makefiles. *

[U-Boot] [PATCH V2 09/13] ARM: tegra: Add CPU (armv7) files for Tegra124

2014-01-23 Thread Stephen Warren
From: Tom Warren twarren.nvi...@gmail.com These files are for code that runs on the CPU (A15) on Tegra124 boards. At this time, there is no A15-specific code here. The warmboot/LP0 files aren't included as that code hasn't been ported yet. Signed-off-by: Tom Warren twar...@nvidia.com

[U-Boot] [PATCH V2 11/13] ARM: tegra: add DT files for Tegra124 and Venice2

2014-01-23 Thread Stephen Warren
From: Tom Warren twarren.nvi...@gmail.com These are fairly complete, and near-clones of Tegra114 Venice, with an additional I2C port, and MMC address changes for Tegra124. Signed-off-by: Tom Warren twar...@nvidia.com Signed-off-by: Stephen Warren swar...@nvidia.com --- v2: * Added aliases for

[U-Boot] [PATCH V2 12/13] ARM: tegra: add Venice2 (Tegra124) board

2014-01-23 Thread Stephen Warren
From: Tom Warren twarren.nvi...@gmail.com These are the board files for Venice2 (Tegra124), plus the AS3722 PMIC files. PMIC init will be moved to pmic_common_init later. This builds/boots on Venice2, SPI/MMC/USB/I2C all work. Audio, display and WB/LP0 are not supported yet. Signed-off-by: Tom

[U-Boot] [PATCH V2 10/13] ARM: tegra: add common (shared) CPU files

2014-01-23 Thread Stephen Warren
From: Tom Warren twarren.nvi...@gmail.com These files are used by both SPL and main U-Boot. Signed-off-by: Tom Warren twar...@nvidia.com Signed-off-by: Stephen Warren swar...@nvidia.com --- v2: * Fixed incorrect brace placement in tegra_get_chip_sku(), and allow any SKU on Tegra124 just like

[U-Boot] [PATCH V2 13/13] ARM: tegra: fix bootp issue for Tegra124 too

2014-01-23 Thread Stephen Warren
From: Jim Lin ji...@nvidia.com Fix the timeout issue after running bootp command in U-Boot console. TXFIFOTHRES bits of TXFILLTUNING register should be set to 0x10 after a controller reset and before RUN bit is se, (per technical reference manual. Signed-off-by: Jim Lin ji...@nvidia.com

Re: [U-Boot] [PATCH 3/3] PPC 85xx: Add qemu-ppce500 machine

2014-01-23 Thread Scott Wood
On Thu, 2014-01-23 at 14:08 +0100, Alexander Graf wrote: On 21.01.2014, at 03:25, Scott Wood scottw...@freescale.com wrote: On Sun, 2014-01-19 at 16:19 +0100, Alexander Graf wrote: For KVM we have a special PV machine type called ppce500. This machine is inspired by the MPC8544DS board,

Re: [U-Boot] U-boot for 64bit ARMv8

2014-01-23 Thread FengHua
-Original Messages- From: tiger...@viatech.com.cn Sent Time: 2014-01-23 14:44:36 (Thursday) To: u-boot@lists.denx.de Cc: Subject: [U-Boot] U-boot for 64bit ARMv8 Hi, experts: I found ARMv8/Exceptions.S only created a 8 items vector table. But based on ARMv8 Arch Ref

Re: [U-Boot] [PATCH v15 07/10] arm64: core support

2014-01-23 Thread FengHua
Hi Scott, -Original Messages- From: Scott Wood scottw...@freescale.com Sent Time: 2014-01-23 08:28:06 (Thursday) To: FengHua feng...@phytium.com.cn Cc: bhupesh.sha...@freescale.com bhupesh.sha...@freescale.com, 'tr...@ti.com' tr...@ti.com, 'u-boot@lists.denx.de'

Re: [U-Boot] [PATCH 3/3] PPC 85xx: Add qemu-ppce500 machine

2014-01-23 Thread Alexander Graf
On 24.01.2014, at 01:49, Scott Wood scottw...@freescale.com wrote: On Thu, 2014-01-23 at 14:08 +0100, Alexander Graf wrote: On 21.01.2014, at 03:25, Scott Wood scottw...@freescale.com wrote: On Sun, 2014-01-19 at 16:19 +0100, Alexander Graf wrote: For KVM we have a special PV machine type

Re: [U-Boot] [PATCH 3/3] PPC 85xx: Add qemu-ppce500 machine

2014-01-23 Thread Scott Wood
On Fri, 2014-01-24 at 02:25 +0100, Alexander Graf wrote: On 24.01.2014, at 01:49, Scott Wood scottw...@freescale.com wrote: On Thu, 2014-01-23 at 14:08 +0100, Alexander Graf wrote: On 21.01.2014, at 03:25, Scott Wood scottw...@freescale.com wrote: On Sun, 2014-01-19 at 16:19 +0100,

[U-Boot] Nand Erase/Write Fails with mtd error -5

2014-01-23 Thread mks
Hello, Im getting a trouble with mtd on my imx27 27 board, I can't write or erase it on U-Boot-1.3.4, here is the log : U-Boot run update_all FEC ETHERNET: Autonegotiation timeout FEC ETHERNET:

Re: [U-Boot] U-Boot execution sequence

2014-01-23 Thread JYOTI DUBEY
while compiling I got an error System not configured - see README. SO how can I configure it for NItrogen6x board? On Thu, Jan 23, 2014 at 8:38 PM, Jagan Teki jagannadh.t...@gmail.comwrote: Have some boot flow png's long back with previous version (not the current) [1] I thought it could be

Re: [U-Boot] U-Boot execution sequence

2014-01-23 Thread Jagan Teki
On Fri, Jan 24, 2014 at 11:44 AM, JYOTI DUBEY jyoti0...@gmail.com wrote: while compiling I got an error System not configured - see README. SO how can I configure it for NItrogen6x board? Please elaborate the steps what you did? On Thu, Jan 23, 2014 at 8:38 PM, Jagan Teki

[U-Boot] [PATCH 2/4] SPL: P2020RDB: fix the problem booting from spi flash

2014-01-23 Thread ying.zhang
From: Ying Zhang b40...@freescale.com There was no enough stack in SPL, so the buffer needed in SPL is to malloc from memory pool and to repalce the temporary variable. Signed-off-by: Ying Zhang b40...@freescale.com --- common/env_sf.c| 7 ++- include/configs/p1_p2_rdb_pc.h

[U-Boot] [PATCH 3/4] SPL: P2020RDB: fix the problem booting from spi flash

2014-01-23 Thread ying.zhang
From: Ying Zhang b40...@freescale.com There was no enough stack in SPL, so the buffer needed in SPL is to malloc from memory pool and to repalce the temporary variable. Signed-off-by: Ying Zhang b40...@freescale.com --- include/configs/P1022DS.h | 6 +++--- include/configs/p1_p2_rdb_pc.h |

[U-Boot] [PATCH 4/4] powerpc: p1010rdb: Enable p1010rdb to start from NAND/SD/SPI flash with SPL

2014-01-23 Thread ying.zhang
From: Ying Zhang b40...@freescale.com In the previous patches, we introduced the SPL/TPL fraamework. For SD/SPI flash booting way, we introduce the SPL to enable a loader stub. The SPL was loaded by the code from the internal on-chip ROM. The SPL initializes the DDR according to the SPD and loads

[U-Boot] [PATCH 1/4] SPL: powerpc: expand SPL's length to 128K

2014-01-23 Thread ying.zhang
From: Ying Zhang b40...@freescale.com 1. The SPL's length of SDCARD boot has not enough,expand the SPL's length to 128K. 2. deleted unused symbol: CONFIG_SYS_RUN_INDDR Signed-off-by: Ying Zhang b40...@freescale.com --- include/configs/P1022DS.h | 12 ++--

  1   2   >