Re: [U-Boot] [PATCH 1/2] Enable ROCKCHIP_SPL_BACK_TO_BROM for firefly-rk3288 board

2017-01-20 Thread Romain Perier
Hi, Le 21/01/2017 à 04:51, Simon Glass a écrit : > On 17 January 2017 at 02:32, Romain Perier > wrote: >> Like the rock2, this board has been tested with back to brom feature. >> This commits adjusts environment offset regarding if back_to_brom is >> enabled or not and uses this feature by defa

Re: [U-Boot] [PATCH] Nios2 altera: add reference to in_be32, out_be32

2017-01-20 Thread Thomas Chou
Hi Kostya, On 01/20/2017 09:58 AM, Kostya Belezko wrote: Fixing compilation problem u-boot-socfpga/drivers/serial/ns16550.c:144: undefined reference to `out_be32' The u-boot-socfpga branch you referred is old. Please follow the latest stable release tag v2017.01 . URL git://git.denx.de

Re: [U-Boot] [RFC PATCH 05/11] tools: mksunxiboot: allow larger SPL binaries

2017-01-20 Thread Siarhei Siamashka
On Fri, 20 Jan 2017 01:53:25 + Andre Przywara wrote: > mksunxiboot limits the size of the resulting SPL binaries to pretty > conservative values to cover all SoCs and all boot media (NAND). > In preparation for supporting modern SoCs without NAND, which may > require a really large SPL, intro

Re: [U-Boot] [RFC PATCH 08/11] sunxi: SPL: add FIT config selector for Pine64 boards

2017-01-20 Thread Siarhei Siamashka
On Fri, 20 Jan 2017 21:55:53 + André Przywara wrote: > On 20/01/17 21:35, Maxime Ripard wrote: > > Hi Maxime, > > thanks for having a look! > > > On Fri, Jan 20, 2017 at 01:53:28AM +, Andre Przywara wrote: > >> For a board or platform to support FIT loading in the SPL, it has to > >>

Re: [U-Boot] [PATCH 3/3] arc: use timer driver for ARC boards

2017-01-20 Thread Simon Glass
On 16 January 2017 at 06:49, Vlad Zakharov wrote: > This commit replaces legacy timer code with usage of arc timer > driver. > > It removes arch/arc/lib/time.c file and selects CONFIG_CLK, > CONFIG_TIMER and CONFIG_ARC_TIMER options for all ARC boards by default. > Therefore we remove CONFIG_CLK o

Re: [U-Boot] [PATCH] build: Always build the libfdt python module

2017-01-20 Thread Simon Glass
On 16 January 2017 at 00:07, Emmanuel Vadot wrote: > Do not rely on CONFIG_SPL_OF_PLATDATA to build the libfdt python module. > If swig is present, this will be build > > Signed-off-by: Emmanuel Vadot > --- > tools/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Si

Re: [U-Boot] [PATCH] spl: Add some missing newlines

2017-01-20 Thread Simon Glass
Hi Andrew, On 12 January 2017 at 09:19, Andrew F. Davis wrote: > Signed-off-by: Andrew F. Davis > --- > common/spl/spl.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/common/spl/spl.c b/common/spl/spl.c > index a76ea3a603..e43718de62 100644 > --- a/common/spl/spl.

Re: [U-Boot] [PATCH] x86: baytrail: Configure SPI BIOS parameters

2017-01-20 Thread Simon Glass
Hi Stefan, On 20 January 2017 at 07:26, Stefan Roese wrote: > Without configuring these registers in the SPI controller, the Linux > MTD device driver is not able to correctly read/write to the SPI > NOR chip at all. In fact, the chip is not detected at all. > > Signed-off-by: Stefan Roese > Cc:

Re: [U-Boot] [PATCH 1/2] rockchip: rename miniarm to tinker board

2017-01-20 Thread Simon Glass
On 17 January 2017 at 20:03, Eddie Cai wrote: > Miniarm is the internal project code. Now it is officially named Tinker board. > So rename it. > > Signed-off-by: Eddie Cai > --- > arch/arm/dts/Makefile | 2 +- > arch/arm/dts/{rk3288-miniarm.dts => rk32

Re: [U-Boot] [PATCH 2/3] arc: dts: separate single axs10x.dts file

2017-01-20 Thread Simon Glass
On 16 January 2017 at 06:49, Vlad Zakharov wrote: > We want to use the same device tree blobs in both Linux and U-Boot for > ARC boards. > > Earlier device tree sources in U-Boot were very simplified and hadn't been > updated for quite a long period of time. > > So this commit is the first step on

Re: [U-Boot] [PATCH] binman: add tools directory to the python path

2017-01-20 Thread Simon Glass
On 16 January 2017 at 00:14, Emmanuel Vadot wrote: > The built _libfdt.so is placed in the /tools dir and need to say here > as it contains relative paths. > Add the directory to the python path so binman can use this module. > > Signed-off-by: Emmanuel Vadot > --- > tools/binman/binman.py | 1 +

Re: [U-Boot] [PATCH 12/12] aspeed: Configuration for ast2500 eval board

2017-01-20 Thread Simon Glass
Hi Maxim, On 17 January 2017 at 12:46, Maxim Sloyko wrote: > > > On Sat, Jan 14, 2017 at 9:14 AM, Simon Glass wrote: >> >> Hi Maxim, >> >> On 4 January 2017 at 12:46, Maxim Sloyko wrote: >> > --- >> > >> >> Commit message? >> >> > --- >> > >> > Signed-off-by: Maxim Sloyko >> > --- >> > arch/a

Re: [U-Boot] [PATCH 05/12] aspeed/ast2500: Device Tree and bindings for some of the clocks

2017-01-20 Thread Simon Glass
Hi Maxim, On 17 January 2017 at 16:27, Maxim Sloyko wrote: > > > On Sat, Jan 14, 2017 at 9:13 AM, Simon Glass wrote: >> >> Hi Maxim, >> >> On 5 January 2017 at 15:20, Maxim Sloyko wrote: >> > On Wed, Jan 4, 2017 at 7:26 PM, Tom Rini wrote: >> >> On Wed, Jan 04, 2017 at 05:18:42PM -0800, Maxim

Re: [U-Boot] [U-boot] [PATCH 2/2] rockchip: firefly: configs: use spl back to brom

2017-01-20 Thread Simon Glass
On 16 January 2017 at 21:19, Jacob Chen wrote: > Keep it same with other boards otherwise i have to write special script for > it.. > > Signed-off-by: Jacob Chen > --- > > configs/firefly-rk3288_defconfig | 2 +- > include/configs/firefly-rk3288.h | 5 - > 2 files changed, 1 insertion(+), 6

Re: [U-Boot] [U-boot] [PATCH 1/2] rockchip: configs: move env offset to common header

2017-01-20 Thread Simon Glass
On 16 January 2017 at 21:19, Jacob Chen wrote: > To reduce redundant code. > > Signed-off-by: Jacob Chen > --- > > include/configs/evb_rk3288.h | 14 -- > include/configs/fennec_rk3288.h | 14 -- > include/configs/kylin_rk3036.h| 14 -- > include/co

Re: [U-Boot] [PATCH v2 3/4] api: FreeBSD: flush cache before starting loader/kernel

2017-01-20 Thread Simon Glass
Hi, On 17 January 2017 at 08:50, Emmanuel Vadot wrote: > From: Warner Losh > > FreeBSD loader(8) just loaded code to some random location that may > contain stale icache entries. > FreeBSD Kernel needs the icache and dcache flushed. > Before running either one of them, flush the icache and dcach

Re: [U-Boot] [PATCH v2 2/4] kconfig: Add a FREEBSD option

2017-01-20 Thread Simon Glass
Hi, On 17 January 2017 at 08:50, Emmanuel Vadot wrote: > Add a FreeBSD option that enable the API and enable the data cache > command as it is needed to boot the FreeBSD loader. > > Signed-off-by: Emmanuel Vadot > --- > common/Kconfig | 9 + > 1 file changed, 9 insertions(+) > > diff --

Re: [U-Boot] [PATCH 2/2] rockchip: Enable ETH address randomization for the firefly-rk3288

2017-01-20 Thread Simon Glass
On 17 January 2017 at 02:32, Romain Perier wrote: > This commit enables ethernet MAC address randomization on the > firefly-rk3288. It removes the error at startup 'ethernet@ff29 > address not set'. > > Signed-off-by: Romain Perier > --- > configs/firefly-rk3288_defconfig | 1 + > 1 file cha

Re: [U-Boot] [PATCH 1/3] drivers: timer: Introduce ARC timer driver

2017-01-20 Thread Simon Glass
On 16 January 2017 at 06:49, Vlad Zakharov wrote: > This commit introduces timer driver for ARC. > > ARC timers are configured via ARC AUX registers so we use special > functions to access timer control registers. > > This driver allows utilization of either timer0 or timer1 > depending on which o

Re: [U-Boot] [PATCH v2 1/4] kconfig: Add API kconfig file

2017-01-20 Thread Simon Glass
Hi, On 17 January 2017 at 08:50, Emmanuel Vadot wrote: > Add kconfig file to enable API support > > Signed-off-by: Emmanuel Vadot > --- > Kconfig | 2 ++ > api/Kconfig | 9 + > 2 files changed, 11 insertions(+) > create mode 100644 api/Kconfig > > diff --git a/Kconfig b/Kconfig > i

Re: [U-Boot] [PATCH 1/2] Enable ROCKCHIP_SPL_BACK_TO_BROM for firefly-rk3288 board

2017-01-20 Thread Simon Glass
On 17 January 2017 at 02:32, Romain Perier wrote: > Like the rock2, this board has been tested with back to brom feature. > This commits adjusts environment offset regarding if back_to_brom is > enabled or not and uses this feature by default. > > Signed-off-by: Romain Perier > --- > configs/fir

Re: [U-Boot] [PATCH v6 01/13] binman: Introduce binman, a tool for building binary images

2017-01-20 Thread Simon Glass
Hi, On 16 January 2017 at 13:25, Jörg Krause wrote: > Hi, > > On Fri, 2016-11-25 at 20:15 -0700, Simon Glass wrote: >> This adds the basic code for binman, including command parsing, >> processing >> of entries and generation of images. >> >> So far no entry types are supported. These will be add

Re: [U-Boot] [PATCH v2] i2c: mux: Allow muxes to work as children of i2c bus without i2c-parent

2017-01-20 Thread Simon Glass
On 16 January 2017 at 10:46, Moritz Fischer wrote: > For mux check if the parent is already a device of UCLASS_I2C and if yes > just use that. Otherwise see if someone specified an i2c-parent phandle. > This mimics the behavior found in the Kernel, as it removes the > requirement to explicitly spe

Re: [U-Boot] [PATCH] spl: Add missing line ending to SPL print

2017-01-20 Thread Simon Glass
On 16 January 2017 at 08:49, Michal Simek wrote: > On 16.1.2017 16:37, Lokesh Vutla wrote: >> >> >> On Monday 16 January 2017 05:36 PM, Michal Simek wrote: >>> One print requires line ending to be aligned with SW running >>> after it. Prints look weird without it. >>> >>> For example: >>> U-Boot S

Re: [U-Boot] [PATCH] MAINTAINERS: DFU: Change e-mail address of DFU maintanier

2017-01-20 Thread Simon Glass
On 15 January 2017 at 16:04, Lukasz Majewski wrote: > Signed-off-by: Lukasz Majewski > --- > MAINTAINERS | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.d

Re: [U-Boot] [PATCH 2/2] board_init.c: Always use memset()

2017-01-20 Thread Simon Glass
Hi Tom, On 19 January 2017 at 07:25, Tom Rini wrote: > > On Thu, Jan 19, 2017 at 06:57:51AM -0700, Simon Glass wrote: > > On 12 January 2017 at 11:16, Tom Rini wrote: > > > We can make the code read more easily here by simply using memset() > > > always as when we don't have an optimized version

Re: [U-Boot] [PATCH 1/1] cmd/host: add missing \n in help text

2017-01-20 Thread Simon Glass
On 19 January 2017 at 09:49, Sébastien Szymanski wrote: > Signed-off-by: Sébastien Szymanski > --- > cmd/host.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists

Re: [U-Boot] build: Always build the libfdt python module

2017-01-20 Thread Tom Rini
On Mon, Jan 16, 2017 at 08:07:15AM +0100, Emmanuel Vadot wrote: > Do not rely on CONFIG_SPL_OF_PLATDATA to build the libfdt python module. > If swig is present, this will be build > > Signed-off-by: Emmanuel Vadot Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital s

Re: [U-Boot] [PATCH] rockchip: rename miniarm to tinker board

2017-01-20 Thread Simon Glass
Hi Eddie, On 15 January 2017 at 07:36, Eddie Cai wrote: > Miniarm is the internal project code. Now it is officially named Tinker board. > So rename it. > > Signed-off-by: Eddie Cai > --- > arch/arm/dts/Makefile | 2 +- > arch/arm/dts/rk3288-miniarm.dts

Re: [U-Boot] [U-Boot,1/2] ARM: OMAP4: Fix compiler warning

2017-01-20 Thread Tom Rini
On Tue, Jan 17, 2017 at 08:52:58AM +0530, Lokesh Vutla wrote: > Latest gcc 6.2 compiler is throwing the below warning for > omap4_panda_defconfig > arch/arm/mach-omap2/omap4/hw_data.c:136:3: warning: > 'abe_dpll_params_sysclk_196608khz' defined but not used > [-Wunused-const-variable=] >abe

Re: [U-Boot] tools: mkimage: fix sizeof_mismatch found by coverity

2017-01-20 Thread Tom Rini
On Tue, Jan 17, 2017 at 07:36:51PM +0100, Sven Ebenfeld wrote: > Reported-by: Coverity (CID: 155214) > Signed-off-by: Sven Ebenfeld Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot

Re: [U-Boot] ARM: omap3_logic: Refactor Boot Environmental variables

2017-01-20 Thread Tom Rini
On Wed, Jan 04, 2017 at 11:51:24AM -0600, Adam Ford wrote: > Some scripts are calling the same functions, so these changes consolidate > common scripts together to reduce redundancy and shrink size a bit. This > also keeps the 'bootargs' variable from growing if manually called more > than one ti

Re: [U-Boot] [U-Boot, 2/2] ARM: OMAP5+: Remove unsed dpll structures

2017-01-20 Thread Tom Rini
On Tue, Jan 17, 2017 at 08:52:59AM +0530, Lokesh Vutla wrote: > Latest gcc compile strted complaining about defined structure definition > that are not used. Remove the unused sturctures. > > Reported-by: Dan Murphy > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom sig

Re: [U-Boot] [U-Boot, v2] serial, ns16550: bugfix: ns16550 fifo not enabled

2017-01-20 Thread Tom Rini
On Wed, Jan 18, 2017 at 08:05:49AM +0100, Heiko Schocher wrote: > commit: 65f83802b7a5b "serial: 16550: Add getfcr accessor" > breaks u-boot commandline working with long commands > sending to the board. > > Since the above patch, you have to setup the fcr register. > > For board/archs which ena

Re: [U-Boot] [PATCH] mx6saberesd_spl: Correct falcon mode addition

2017-01-20 Thread Tom Rini
On Fri, Jan 20, 2017 at 07:58:03PM -0500, Tom Rini wrote: > When falcon mode support was added, it was right around when SPL_OS_BOOT > was migrated to Kconfig. So first we must move the enablement to the > defconfig file. Next, it turned off EXT support rather than add the > information to allow

Re: [U-Boot] [U-Boot, RESEND] bootm: relocate ramdisk if CONFIG_SYS_BOOT_RAMDISK_HIGH set

2017-01-20 Thread Tom Rini
On Wed, Jan 18, 2017 at 05:12:24PM -0800, Rick Altherr wrote: > In 35fc84f, bootm was refactored so plain 'bootm' and > 'bootm ' shared a common implementation. > The 'bootm ramdisk' command implementation is now part of the common > implementation but not invoke by plain 'bootm' since the origina

Re: [U-Boot] bootm: qnx: Disable data cache before booting QNX image

2017-01-20 Thread Tom Rini
On Thu, Jan 19, 2017 at 10:23:56AM +0100, Emmanuel Vadot wrote: > Instead of disabling the data cache in the bootelf command, disabling > it in the do_bootm_qnxelf function. > Some ELF binary might want the cache enabled. > > Signed-off-by: Emmanuel Vadot Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot,1/1] cmd/host: add missing \n in help text

2017-01-20 Thread Tom Rini
On Thu, Jan 19, 2017 at 05:49:13PM +0100, Sébastien Szymanski wrote: > Signed-off-by: Sébastien Szymanski Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://list

Re: [U-Boot] binman: add tools directory to the python path

2017-01-20 Thread Tom Rini
On Mon, Jan 16, 2017 at 08:14:46AM +0100, Emmanuel Vadot wrote: > The built _libfdt.so is placed in the /tools dir and need to say here > as it contains relative paths. > Add the directory to the python path so binman can use this module. > > Signed-off-by: Emmanuel Vadot Applied to u-boot/mast

Re: [U-Boot] spl: Add missing line ending to SPL print

2017-01-20 Thread Tom Rini
On Mon, Jan 16, 2017 at 01:06:48PM +0100, Michal Simek wrote: > One print requires line ending to be aligned with SW running > after it. Prints look weird without it. > > For example: > U-Boot SPL 2017.01-01801-g1fb1292c7b9d (Jan 16 2017 - 12:50:53) > EL Level: EL3 > Trying to boot from SPINO

Re: [U-Boot] [U-Boot,v3] odroid-c2: Enable distro boot

2017-01-20 Thread Tom Rini
On Sun, Jan 15, 2017 at 08:22:30PM +0100, Andreas Färber wrote: > Use the generic "distro" boot framework to enable automatic DHCP boot. > MMC and USB are not yet implemented, so this is the only boot option. > > The fdt and kernel addresses are adopted from downstream; ramdisk and > scriptaddr a

Re: [U-Boot] MAINTAINERS: DFU: Change e-mail address of DFU maintanier

2017-01-20 Thread Tom Rini
On Mon, Jan 16, 2017 at 12:04:10AM +0100, Lukasz Majewski wrote: > Signed-off-by: Lukasz Majewski Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.d

Re: [U-Boot] meson: misc_init_r is board-specific

2017-01-20 Thread Tom Rini
On Sun, Jan 15, 2017 at 07:53:53PM +0100, Andreas Färber wrote: > Move it from meson-gxbb-common.h to odroid-c2.h to allow new boards not > to implement it. > > Signed-off-by: Andreas Färber Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] spl: Add some missing newlines

2017-01-20 Thread Tom Rini
On Thu, Jan 12, 2017 at 10:19:55AM -0600, Andrew F. Davis wrote: > Signed-off-by: Andrew F. Davis > Acked-by: Lokesh Vutla > Acked-by: Michal Simek Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [U-Boot,2/2] board_init.c: Always use memset()

2017-01-20 Thread Tom Rini
On Thu, Jan 12, 2017 at 01:16:03PM -0500, Tom Rini wrote: > We can make the code read more easily here by simply using memset() > always as when we don't have an optimized version of the function we > will still have a version of this function around anyhow. > > Cc: Simon Glass > Signed-off-by:

Re: [U-Boot] [U-Boot, 2/2] spl: Remove inline ifdef check for EXT and FAT support

2017-01-20 Thread Tom Rini
On Fri, Jan 06, 2017 at 01:35:45PM -0600, Andrew F. Davis wrote: > These files are only included for build by the make system > when CONFIG_SPL_{EXT,FAT}_SUPPORT is enabled, remove the unneed > checks for these in the source files. > > Signed-off-by: Andrew F. Davis > Reviewed-by: Tom Rini > Re

Re: [U-Boot] api: storage: Test all block device in dev_stor_get

2017-01-20 Thread Tom Rini
On Thu, Jan 05, 2017 at 06:40:21AM +0100, Emmanuel Vadot wrote: > In a config with one MMC at device id '1' and no MMC at device id '0' > (a BeagleBone Black with no sd inserted for example), the current code > will first test to access the MMC 0 (sd port), seeing that no device is > present it wi

Re: [U-Boot] mach-omap2: Fix secure boot media generation

2017-01-20 Thread Tom Rini
On Thu, Jan 12, 2017 at 10:21:58AM -0600, Andrew F. Davis wrote: > While moving OMAP related files to mach-omap2 the functionality > relating to generating secure boot files was modified. This change > prevents secure platforms other than AM33xx and OMAP54XX from > correctly building files for all

Re: [U-Boot] [U-Boot, 1/2] ARM: Default to using optimized memset and memcpy routines

2017-01-20 Thread Tom Rini
On Thu, Jan 12, 2017 at 01:16:02PM -0500, Tom Rini wrote: > We have long had available optimized versions of the memset and memcpy > functions that are borrowed from the Linux kernel. We should use these > in normal conditions as the speed wins in many workflows outweigh the > relatively minor si

Re: [U-Boot] [U-Boot, v2] api: Use hashtable function for API_env_enum

2017-01-20 Thread Tom Rini
On Mon, Dec 26, 2016 at 06:57:56PM +0100, Emmanuel Vadot wrote: > The current code can loop undefinitly as it doesn't parse > correctly the env data. > Since the env is an hashtable, use the hashtable function for > the API_ENV_ENUM api call. > > Signed-off-by: Emmanuel Vadot > Reviewed-by: Simo

Re: [U-Boot] [U-Boot, 1/1] common/image.c: prefixes for binary multiples

2017-01-20 Thread Tom Rini
On Wed, Jan 04, 2017 at 02:04:44PM +0100, xypron.g...@gmx.de wrote: > IEC 8-13:2008 Quantities and units > Part 13: Information science and technology > > defines the prefixes to use for binary multiples. > > Instead of writing > Data Size:6726132 Bytes = 6568.49 kB = 6.41 MB > in dumpi

Re: [U-Boot] [linux-sunxi] Re: [RFC PATCH 08/11] sunxi: SPL: add FIT config selector for Pine64 boards

2017-01-20 Thread Icenowy Zheng
21.01.2017, 05:56, "André Przywara" : > On 20/01/17 21:35, Maxime Ripard wrote: > > Hi Maxime, > > thanks for having a look! > >>  On Fri, Jan 20, 2017 at 01:53:28AM +, Andre Przywara wrote: >>>  For a board or platform to support FIT loading in the SPL, it has to >>>  provide a board_fit_con

Re: [U-Boot] [linux-sunxi] Re: [RFC PATCH 08/11] sunxi: SPL: add FIT config selector for Pine64 boards

2017-01-20 Thread Icenowy Zheng
21.01.2017, 05:56, "André Przywara" : > On 20/01/17 21:35, Maxime Ripard wrote: > > Hi Maxime, > > thanks for having a look! > >>  On Fri, Jan 20, 2017 at 01:53:28AM +, Andre Przywara wrote: >>>  For a board or platform to support FIT loading in the SPL, it has to >>>  provide a board_fit_con

Re: [U-Boot] [PATCH] armv8/fsl-layerscape: fdt: remove SYSCLK frequency fixup for ls1012a

2017-01-20 Thread york sun
On 01/20/2017 02:14 PM, Scott Wood wrote: > On Fri, 2017-01-20 at 21:38 +, york sun wrote: >> On 01/20/2017 01:36 PM, Scott Wood wrote: >>> >>> On Fri, 2017-01-20 at 16:28 +, york sun wrote: Why fixing up this clock causes incorect frequency value? The macro CONFIG_SY

[U-Boot] [PATCH] mx6saberesd_spl: Correct falcon mode addition

2017-01-20 Thread Tom Rini
When falcon mode support was added, it was right around when SPL_OS_BOOT was migrated to Kconfig. So first we must move the enablement to the defconfig file. Next, it turned off EXT support rather than add the information to allow for falcon mode from EXT. Add this information so that the board

Re: [U-Boot] [PATCH][RFT] sunxi: power: axp809.c: Fix aldo1-2 being disabled for mvolt != 0

2017-01-20 Thread Chen-Yu Tsai
Hi, On Thu, Jan 19, 2017 at 7:46 PM, Jaehoon Chung wrote: > Hi, > > On 01/19/2017 05:53 AM, Rask Ingemann Lambertsen wrote: >> The execution flow is currently like this for aldo_num == 1 or 2: >> >> int axp_set_aldo(int aldo_num, unsigned int mvolt) >> { >> ... >> if (mvolt == 0) >>

Re: [U-Boot] ERROR: can't get kernel image!

2017-01-20 Thread Stefan Bruens
On Freitag, 20. Januar 2017 11:30:47 CET Borisa Jevtic wrote: > Hi guys. > > I have come across a bulletin that blames the problem (described bellow) on > the U-Boot bootloader: > > https://e2e.ti.com/support/embedded/linux/f/354/t/73788 Please read the whole page, where it is stated: "Solution:

[U-Boot] [RFC PATCH] SPL: replace ctype implementation with tiny version

2017-01-20 Thread Andre Przywara
The ctype implementation (isdigit() & friends) works with an array of 256 Bytes - one for each character. This is pretty big in SPL terms, so let's replace this "bloated" implementation with a tiny version using C statements. This only implements the functions that the SPL requires and confines thi

Re: [U-Boot] [RFC PATCH 00/11] extend FIT loading support (plus Pine64/ATF support)

2017-01-20 Thread André Przywara
Hi, On 20/01/17 17:35, Andrew F. Davis wrote: > On 01/20/2017 11:17 AM, Andre Przywara wrote: >> Hi Andrew, >> >> thanks for the comments. >> >> On 20/01/17 17:02, Andrew F. Davis wrote: >>> On 01/19/2017 07:53 PM, Andre Przywara wrote: Currently the FIT format is not used to its full potenti

Re: [U-Boot] [PATCH] armv8/fsl-layerscape: fdt: remove SYSCLK frequency fixup for ls1012a

2017-01-20 Thread Scott Wood
On Fri, 2017-01-20 at 21:38 +, york sun wrote: > On 01/20/2017 01:36 PM, Scott Wood wrote: > > > > On Fri, 2017-01-20 at 16:28 +, york sun wrote: > > > > > > On 01/19/2017 07:34 PM, Yangbo Lu wrote: > > > > > > > > > > > > Generally SYSCLK frequency is dependent on on-board switch setti

Re: [U-Boot] [RFC PATCH 11/11] SPL: SPI: sunxi: add SPL FIT image support

2017-01-20 Thread André Przywara
On 20/01/17 21:37, Maxime Ripard wrote: > Hi, > > On Fri, Jan 20, 2017 at 01:53:31AM +, Andre Przywara wrote: >> The sunxi-specific SPI load routine only knows how to load a legacy >> U-Boot image. >> Teach it how to handle FIT images as well, simply by providing the >> existing SPL FIT loader

Re: [U-Boot] [RFC PATCH 09/11] sunxi: Pine64: defconfig: enable SPL FIT support

2017-01-20 Thread André Przywara
On 20/01/17 21:36, Maxime Ripard wrote: > On Fri, Jan 20, 2017 at 01:53:29AM +, Andre Przywara wrote: >> The Pine64 (as all 64-bit Allwinner boards so far) need to load an >> ARM Trusted Firmware image beside the actual U-Boot proper. >> This can now be easily achieved by using the just extende

Re: [U-Boot] [RFC PATCH 08/11] sunxi: SPL: add FIT config selector for Pine64 boards

2017-01-20 Thread André Przywara
On 20/01/17 21:35, Maxime Ripard wrote: Hi Maxime, thanks for having a look! > On Fri, Jan 20, 2017 at 01:53:28AM +, Andre Przywara wrote: >> For a board or platform to support FIT loading in the SPL, it has to >> provide a board_fit_config_name_match() routine, which helps to select >> one

Re: [U-Boot] [PATCH] armv8/fsl-layerscape: fdt: remove SYSCLK frequency fixup for ls1012a

2017-01-20 Thread york sun
On 01/20/2017 01:36 PM, Scott Wood wrote: > On Fri, 2017-01-20 at 16:28 +, york sun wrote: >> On 01/19/2017 07:34 PM, Yangbo Lu wrote: >>> >>> Generally SYSCLK frequency is dependent on on-board switch settings. >>> It may vary as per requirement, but this doesn't apply to ls1012a. >>> ls1012a

Re: [U-Boot] [RFC PATCH 11/11] SPL: SPI: sunxi: add SPL FIT image support

2017-01-20 Thread Maxime Ripard
Hi, On Fri, Jan 20, 2017 at 01:53:31AM +, Andre Przywara wrote: > The sunxi-specific SPI load routine only knows how to load a legacy > U-Boot image. > Teach it how to handle FIT images as well, simply by providing the > existing SPL FIT loader with the right loader routine to access the SPI >

Re: [U-Boot] [RFC PATCH 09/11] sunxi: Pine64: defconfig: enable SPL FIT support

2017-01-20 Thread Maxime Ripard
On Fri, Jan 20, 2017 at 01:53:29AM +, Andre Przywara wrote: > The Pine64 (as all 64-bit Allwinner boards so far) need to load an > ARM Trusted Firmware image beside the actual U-Boot proper. > This can now be easily achieved by using the just extended SPL FIT > loading support, so enable it in

Re: [U-Boot] [PATCH] armv8/fsl-layerscape: fdt: remove SYSCLK frequency fixup for ls1012a

2017-01-20 Thread Scott Wood
On Fri, 2017-01-20 at 16:28 +, york sun wrote: > On 01/19/2017 07:34 PM, Yangbo Lu wrote: > > > > Generally SYSCLK frequency is dependent on on-board switch settings. > > It may vary as per requirement, but this doesn't apply to ls1012a. > > ls1012a has its SYSCLK frequencies specified in the

Re: [U-Boot] [RFC PATCH 08/11] sunxi: SPL: add FIT config selector for Pine64 boards

2017-01-20 Thread Maxime Ripard
Hi, On Fri, Jan 20, 2017 at 01:53:28AM +, Andre Przywara wrote: > For a board or platform to support FIT loading in the SPL, it has to > provide a board_fit_config_name_match() routine, which helps to select > one of possibly multiple DTBs contained in a FIT image. > Provide a simple function

Re: [U-Boot] [U-Boot, 1/2] spl: Move check for SPL_LIBCOMMON support to header

2017-01-20 Thread Tom Rini
On Fri, Jan 20, 2017 at 10:38:41AM -0600, Andrew F. Davis wrote: > On 01/20/2017 10:25 AM, Tom Rini wrote: > > On Fri, Jan 06, 2017 at 01:35:44PM -0600, Andrew F. Davis wrote: > > > >> Print statements in SPL depend on lib/common support, so many such > >> statements are ifdef'd, move the check to

[U-Boot] [PATCH 7/7] STIH410-B2260: Add STiH410-B2260 defconfig

2017-01-20 Thread patrice.chotard
From: Patrice Chotard Signed-off-by: Patrice Chotard --- configs/stih410-b2260_defconfig | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 configs/stih410-b2260_defconfig diff --git a/configs/stih410-b2260_defconfig b/configs/stih410-b2260_defconfig new file mod

[U-Boot] [PATCH 5/7] STiH410: add STi pinctrl driver

2017-01-20 Thread patrice.chotard
From: Patrice Chotard Signed-off-by: Patrice Chotard --- drivers/pinctrl/Kconfig | 10 ++ drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-sti.c | 311 ++ 3 files changed, 322 insertions(+) create mode 100644 drivers/pinctrl/pinctrl-

[U-Boot] ERROR: can't get kernel image!

2017-01-20 Thread Borisa Jevtic
Hi guys. I have come across a bulletin that blames the problem (described bellow) on the U-Boot bootloader: https://e2e.ti.com/support/embedded/linux/f/354/t/73788 And this is a typical bootup sequence happening for us: U-Boot 1.3.4 (Feb 28 2012 - 20:31:25) - AT91SAM9260@200 MHz - DRAM: 64 MB

Re: [U-Boot] [PATCH 0/1] Distroboot support for DE0-nano-SoC board

2017-01-20 Thread Frank Kunz
Am 20.01.2017 um 18:18 schrieb Marek Vasut: > On 01/20/2017 05:45 PM, Frank Kunz wrote: > > Hi, > >> This patch adds common distribution boot environment variables for >> DE0-nanos-SoC board. It disables the watchdog enalbe in uboot since >> this is done by the OS. > > So if the board hangs in U

[U-Boot] [PATCH 1/7] arm: Add support for STMicroelectronics STiH410 soc

2017-01-20 Thread patrice.chotard
From: Patrice Chotard The STiH410 is an advanced multi-HD AVC processor with 3D graphics acceleration and 1.5-GHz ARM Cortex-A9 SMP CPU part of the stih407 family. It has wide connectivity including USB 3.0, PCI-e, SATA and gigabit ethernet. Signed-off-by: Patrice Chotard --- arch/arm/Kconfig

[U-Boot] [PATCH 6/7] STiH410-B2260: add device tree

2017-01-20 Thread patrice.chotard
From: Patrice Chotard This device tree has been extracted from v4.9 kernel Signed-off-by: Patrice Chotard --- arch/arm/dts/Makefile |3 + arch/arm/dts/st-pincfg.h | 71 ++ arch/arm/dts/stih407-clock.dtsi | 326 ++

[U-Boot] [PATCH 2/7] board: Add STMicroelectronics STiH410-B2260 support

2017-01-20 Thread patrice.chotard
From: Patrice Chotard This board is a 96Board based on STMicrolectronics STiH410 soc: - 1GB DDR - On-Board USB combo WiFi/Bluetooth RTL8723BU with PCB soldered antenna - Ethernet 1000-BaseT - Sata - HDMI - 2 x USB2 type A - micro USB2 type AB - SD card slot - High speed conn

[U-Boot] [PATCH 4/7] STiH410: Add STi SDHCI driver

2017-01-20 Thread patrice.chotard
From: Patrice Chotard Signed-off-by: Patrice Chotard --- arch/arm/Kconfig | 2 + arch/arm/include/asm/arch-stih410/sdhci.h | 69 +++ arch/arm/include/asm/arch-stih410/sti.h | 5 ++ board/st/stih410-b2260/board.c| 3 + drivers/mmc/Kconfig

[U-Boot] [PATCH 3/7] STiH410: Add STi serial driver

2017-01-20 Thread patrice.chotard
From: Patrice Chotard This patch adds support to ASC (asynchronous serial controller) driver, which is basically a standard serial driver. This IP is common across other STMicroelectronics SoCs Signed-off-by: Patrice Chotard --- arch/arm/Kconfig | 2 + arch/arm/inclu

[U-Boot] [PATCH 0/7] Add STMicroelectronics STiH410-B2260 board support

2017-01-20 Thread patrice.chotard
From: Patrice Chotard This boards is a 96boards based on STiH410 SoC. This series adds basic support with serial, mmc and pinctrl support. Patrice Chotard (7): arm: Add support for STMicroelectronics STiH410 soc board: Add STMicroelectronics STiH410-B2260 support STiH410: Add STi serial d

[U-Boot] Uboot: Problem when compiling old Uboot version with new gcc

2017-01-20 Thread Prasant J
(Sorry for posting about uboot on the eldk mailing list. I am now posting it on Uboot mailing list) Hi, For my Cortex-A5 based ARM Processor (from ADI), I'm trying to compile old uboot (2015.01) release with a new compiler (gcc6). Its giving the following error: arch/arm/cpu/armv7/sc58x/lowleve

[U-Boot] [PATCH v2] cros_ec: i2c: Add support for version 3 of the EC protocol

2017-01-20 Thread Moritz Fischer
Add support for version 3 of the ec protocol. It basically works by stitching some additional header in front (special command code), and having a result and packet_length stitched on for the reply. Signed-off-by: Moritz Fischer Cc: Simon Glass Cc: u-boot@lists.denx.de --- Changes from v1: - Ea

Re: [U-Boot] [PATCH 0/1] Distroboot support for DE0-nano-SoC board

2017-01-20 Thread Marek Vasut
On 01/20/2017 07:11 PM, Frank Kunz wrote: > Am 20.01.2017 um 18:18 schrieb Marek Vasut: >> On 01/20/2017 05:45 PM, Frank Kunz wrote: >> >> Hi, >> >>> This patch adds common distribution boot environment variables for >>> DE0-nanos-SoC board. It disables the watchdog enalbe in uboot since >>> this i

Re: [U-Boot] [linux-sunxi] Re: [RFC PATCH 00/11] extend FIT loading support (plus Pine64/ATF support)

2017-01-20 Thread Icenowy Zheng
21.01.2017, 01:47, "Andre Przywara" : > Hi, > > On 20/01/17 17:35, Andrew F. Davis wrote: >>  On 01/20/2017 11:17 AM, Andre Przywara wrote: >>>  Hi Andrew, >>> >>>  thanks for the comments. >>> >>>  On 20/01/17 17:02, Andrew F. Davis wrote:  On 01/19/2017 07:53 PM, Andre Przywara wrote:

Re: [U-Boot] ext4: crash when writing a file

2017-01-20 Thread Sébastien Szymanski
Hi, sorry for the late answer. > So to restate what you are doing: > > 1. You have a partitioned MMC, where the 2nd partition starts at block > 264192/0x40800 > 2. You load a 93958144 byte (~90 MB) file via TFTP to ${loadaddr} > 3. You write this partition image to 0x40800 using "mmc write" > 4

Re: [U-Boot] [RFC PATCH 00/11] extend FIT loading support (plus Pine64/ATF support)

2017-01-20 Thread Andre Przywara
Hi, On 20/01/17 17:35, Andrew F. Davis wrote: > On 01/20/2017 11:17 AM, Andre Przywara wrote: >> Hi Andrew, >> >> thanks for the comments. >> >> On 20/01/17 17:02, Andrew F. Davis wrote: >>> On 01/19/2017 07:53 PM, Andre Przywara wrote: Currently the FIT format is not used to its full potenti

Re: [U-Boot] [RFC PATCH 0/3] ARM: imx: mx6: Add plugin support for SPL

2017-01-20 Thread Tim Harvey
On Wed, Jan 18, 2017 at 11:01 AM, Fabio Estevam wrote: > Hi Tim, > > On Wed, Jan 18, 2017 at 4:49 PM, Tim Harvey wrote: > >> Did you document the 'IMX6 SPL to U-Boot over serial' setup anywhere, >> or can you talk me through what you did? > > It is available at doc/README.imx6 (2. Using imx_usb_l

Re: [U-Boot] [RFC PATCH 00/11] extend FIT loading support (plus Pine64/ATF support)

2017-01-20 Thread Andrew F. Davis
On 01/20/2017 11:17 AM, Andre Przywara wrote: > Hi Andrew, > > thanks for the comments. > > On 20/01/17 17:02, Andrew F. Davis wrote: >> On 01/19/2017 07:53 PM, Andre Przywara wrote: >>> Currently the FIT format is not used to its full potential in the SPL: >>> It only loads the first image from

Re: [U-Boot] [PATCH 0/1] Distroboot support for DE0-nano-SoC board

2017-01-20 Thread Marek Vasut
On 01/20/2017 05:45 PM, Frank Kunz wrote: Hi, > This patch adds common distribution boot environment variables for > DE0-nanos-SoC board. It disables the watchdog enalbe in uboot since > this is done by the OS. So if the board hangs in U-Boot, with this patch you're doomed. > The MMC boot mode

Re: [U-Boot] [PATCH] net: phy: dp83867: add support for MAC impedance configuration

2017-01-20 Thread Joe Hershberger
On Thu, Jan 19, 2017 at 4:33 PM, Grygorii Strashko wrote: > Sry Can you resend this to the list not as a reply? It's not in patchwork. > CC:u-boot@lists.denx.de > > On 01/19/2017 04:30 PM, Grygorii Strashko wrote: >> >> From: Mugunthan V N >> >> Add support for programmable MAC impedance config

Re: [U-Boot] [RFC PATCH 00/11] extend FIT loading support (plus Pine64/ATF support)

2017-01-20 Thread Andre Przywara
Hi Andrew, thanks for the comments. On 20/01/17 17:02, Andrew F. Davis wrote: > On 01/19/2017 07:53 PM, Andre Przywara wrote: >> Currently the FIT format is not used to its full potential in the SPL: >> It only loads the first image from the /images node and appends the >> proper FDT. >> Some boa

Re: [U-Boot] [RFC PATCH 00/11] extend FIT loading support (plus Pine64/ATF support)

2017-01-20 Thread Andrew F. Davis
On 01/19/2017 07:53 PM, Andre Przywara wrote: > Currently the FIT format is not used to its full potential in the SPL: > It only loads the first image from the /images node and appends the > proper FDT. > Some boards and platforms would benefit from loading more images before > starting U-Boot prop

Re: [U-Boot] [U-Boot, 1/2] spl: Move check for SPL_LIBCOMMON support to header

2017-01-20 Thread Andrew F. Davis
On 01/20/2017 10:25 AM, Tom Rini wrote: > On Fri, Jan 06, 2017 at 01:35:44PM -0600, Andrew F. Davis wrote: > >> Print statements in SPL depend on lib/common support, so many such >> statements are ifdef'd, move the check to the common.h header and >> remove these inline checks. >> >> Signed-off-by

Re: [U-Boot] [PATCH] armv8/fsl-layerscape: fdt: remove SYSCLK frequency fixup for ls1012a

2017-01-20 Thread york sun
On 01/19/2017 07:34 PM, Yangbo Lu wrote: > Generally SYSCLK frequency is dependent on on-board switch settings. > It may vary as per requirement, but this doesn't apply to ls1012a. > ls1012a has its SYSCLK frequencies specified in the RM. The fixup > for all 'fixed-clock' compatibles of ls1012a wou

Re: [U-Boot] [U-Boot, 1/2] spl: Move check for SPL_LIBCOMMON support to header

2017-01-20 Thread Tom Rini
On Fri, Jan 06, 2017 at 01:35:44PM -0600, Andrew F. Davis wrote: > Print statements in SPL depend on lib/common support, so many such > statements are ifdef'd, move the check to the common.h header and > remove these inline checks. > > Signed-off-by: Andrew F. Davis > Reviewed-by: Tom Rini Thi

[U-Boot] [PATCH] x86: baytrail: Configure SPI BIOS parameters

2017-01-20 Thread Stefan Roese
Without configuring these registers in the SPI controller, the Linux MTD device driver is not able to correctly read/write to the SPI NOR chip at all. In fact, the chip is not detected at all. Signed-off-by: Stefan Roese Cc: Simon Glass Cc: Bin Meng --- arch/x86/cpu/baytrail/cpu.c | 57 +++

[U-Boot] Driver not loaded by SPL

2017-01-20 Thread Felix Brack
Hello, I have written a pin controller driver for the TI AM335x SOC using U-Boot 2016.11-rc1. I use device tree to configure the board's hardware. The driver runs fine once u-boot.img is loaded. However it does not get loaded by the SPL code. Using the hang() routine for "debugging" I can tell

[U-Boot] [PATCH v4 16/17] dm: video: arm: rpi: Convert to use driver model for video

2017-01-20 Thread Simon Glass
Adjust the video driver to work with driver model and move over existing baords. There is no need to keep the old code. We can also drop setting of CONFIG_FB_ADDR since driver model doesn't have this problem. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None configs/rpi_2

[U-Boot] [PATCH v4 17/17] arm: rpi: Add a TODO to move all messages into the msg handler

2017-01-20 Thread Simon Glass
The board code should all move into msg.c for consistency. Add a TODO for this. Signed-off-by: Simon Glass --- Changes in v4: - Add patches to convert video and MMC to driver model also - Rebase to master Changes in v3: - Drop applied patches from series - Drop patch to introduce usbethaddr fo

[U-Boot] [PATCH v4 15/17] dm: video: Add driver-model support to lcd_simplefb

2017-01-20 Thread Simon Glass
Allow this to work with CONFIG_DM_VIDEO enabled. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None common/lcd_simplefb.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/common/lcd_simplefb.c b/common/lcd_simplefb.c index e479b492b88..d7e9fc9f65c 100

[U-Boot] [PATCH v4 14/17] dm: video: Refactor lcd_simplefb to prepare for driver model

2017-01-20 Thread Simon Glass
Adjust this function so that we can convert it to support CONFIG_DM_VIDEO without a lot of code duplication. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None common/lcd_simplefb.c | 33 ++--- 1 file changed, 22 insertions(+), 11 deletions(-) d

  1   2   >