Re: [U-Boot] [PATCH 7/8] x86: Probe pinctrl driver in cpu_init_r()

2016-06-10 Thread Bin Meng
Hi Simon, On Fri, Jun 10, 2016 at 8:35 AM, Simon Glass wrote: > On 8 June 2016 at 06:07, Bin Meng wrote: >> At present pinctrl driver gets probed in ich6_gpio driver's probe >> routine, which has two issues: >> >> - Pin's PADs only gets configured when

Re: [U-Boot] x86: acpi: Disabling SoC functions defined in ASL on a per board basis

2016-06-10 Thread Bin Meng
Hi George, +Simon, Stefan On Fri, Jun 10, 2016 at 1:17 AM, George McCollister wrote: > Does anyone have any ideas on how we might go about disabling > functions defined in arch/x86/include/asm/arch-*/acpi on a per board > basis? With DT it's trivial to define all

Re: [U-Boot] [RFC] x86: baytrail: azalia DT configuration mock-up

2016-06-10 Thread Bin Meng
Hi George, On Fri, Jun 10, 2016 at 4:57 AM, George McCollister wrote: > I'm looking for feedback on this mock-up of fsp,azalia-config DT > before I proceed to writing code. I included everything in fsp for > context. > > fsp { > compatible =

Re: [U-Boot] U-Boot on Minnowboard Max

2016-06-10 Thread Bin Meng
Hi George, On Fri, Jun 10, 2016 at 9:46 PM, George McCollister wrote: > On Fri, Jun 10, 2016 at 8:29 AM, vinoth eswaran wrote: >> On Fri, Jun 10, 2016 at 2:53 PM, George McCollister >> wrote: >>> On Thu, Jun 9,

Re: [U-Boot] [PATCH 5/5] autoboot: add CONFIG_AUTOBOOT to allow to not compile autoboot.c

2016-06-10 Thread Tom Rini
On Sat, Jun 11, 2016 at 12:38:25AM +0200, Soeren Moch wrote: > > > On 11.06.2016 00:19, Tom Rini wrote: > > On Fri, Jun 10, 2016 at 11:55:40PM +0200, Soeren Moch wrote: > >> > >> > >> On 10.06.2016 17:20, Masahiro Yamada wrote: > >>> Another mistake of commit bb597c0eeb7e ("common: bootdelay:

Re: [U-Boot] [PATCH 5/5] autoboot: add CONFIG_AUTOBOOT to allow to not compile autoboot.c

2016-06-10 Thread Soeren Moch
On 11.06.2016 00:19, Tom Rini wrote: > On Fri, Jun 10, 2016 at 11:55:40PM +0200, Soeren Moch wrote: >> >> >> On 10.06.2016 17:20, Masahiro Yamada wrote: >>> Another mistake of commit bb597c0eeb7e ("common: bootdelay: >>> move CONFIG_BOOTDELAY into a Kconfig option") is that >>>

[U-Boot] Support for GPIO in U-boot for Intel Edison

2016-06-10 Thread SANRIO ALVARES
Hi, Is there any support for GPIO in U-boot for Intel Edison Boards? Thanks salvares ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v6 01/10] drivers: i2c: mxc: Add early init

2016-06-10 Thread York Sun
On 06/08/2016 03:35 AM, Yuan Yao wrote: > From: Yuan Yao > > Add early i2c init function with conservative divider when the exact > clock rate is not available. > > Signed-off-by: Yuan Yao > --- With minor change to commit message, v6 patch set has been

Re: [U-Boot] [PATCH ] board: ls2080a: Add "mcinitcmd" env for MC & DPL deployment

2016-06-10 Thread York Sun
On 01/19/2016 10:59 PM, Pratiyush Mohan Srivastava wrote: > From: Pratiyush Mohan Srivastava > > Environment variable mcinitcmd is defined to initiate MC and DPL deployment > from the location where it is stored(NOR, NAND, SD, SATA, USB)during u-boot > booting.If

Re: [U-Boot] [PATCH 5/5] autoboot: add CONFIG_AUTOBOOT to allow to not compile autoboot.c

2016-06-10 Thread Soeren Moch
On 10.06.2016 17:20, Masahiro Yamada wrote: > Another mistake of commit bb597c0eeb7e ("common: bootdelay: move > CONFIG_BOOTDELAY into a Kconfig option") is that CONFIG_BOOTDELAY > is now defined for all the boards. > > Before that commit, it is allowed to unset CONFIG_BOOTDELAY to not >

Re: [U-Boot] [PATCH 5/5] autoboot: add CONFIG_AUTOBOOT to allow to not compile autoboot.c

2016-06-10 Thread Tom Rini
On Fri, Jun 10, 2016 at 11:55:40PM +0200, Soeren Moch wrote: > > > On 10.06.2016 17:20, Masahiro Yamada wrote: > > Another mistake of commit bb597c0eeb7e ("common: bootdelay: move > > CONFIG_BOOTDELAY into a Kconfig option") is that CONFIG_BOOTDELAY > > is now defined for all the boards. > > >

Re: [U-Boot] [PATCH v5] armv8/ls2080a: configure PMU's PCTBENR to enable WDT

2016-06-10 Thread York Sun
On 06/07/2016 07:42 PM, Yunhui Cui wrote: > From: Yunhui Cui > > The SP805-WDT module on LS2080A and LS2085A, requires configuration > of PMU's PCTBENR register to enable watchdog counter decrement and > reset signal generation. In order not to affect the sp805wdt driver >

Re: [U-Boot] [PATCH RESEND 2/2 v2] lib: Add hexdump

2016-06-10 Thread Tom Rini
On Sat, Jun 11, 2016 at 12:58:14AM +0300, Алексей Бродкин wrote: > Hi Tom, > > 2016-06-11 0:39 GMT+03:00 Tom Rini : > > On Fri, Jun 10, 2016 at 11:51:20PM +0300, Alexey Brodkin wrote: > >> Hi Tom, > >> > >> On Fri, 2016-06-10 at 15:37 -0400, Tom Rini wrote: > >> > On Fri, Jun

[U-Boot] Please pull u-boot-fsl-qoriq master

2016-06-10 Thread York Sun
Tom, The following changes since commit 6b3943f1b04be60f147ee540fbd72c4c7ea89f80: siemens,am33x: add draco etamin board (2016-06-09 13:53:13 -0400) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git master for you to fetch changes up to

Re: [U-Boot] [PATCH RESEND 2/2 v2] lib: Add hexdump

2016-06-10 Thread Алексей Бродкин
Hi Tom, 2016-06-11 0:39 GMT+03:00 Tom Rini : > On Fri, Jun 10, 2016 at 11:51:20PM +0300, Alexey Brodkin wrote: >> Hi Tom, >> >> On Fri, 2016-06-10 at 15:37 -0400, Tom Rini wrote: >> > On Fri, Jun 10, 2016 at 03:31:30PM +, Langer, Thomas wrote: >> > >> > > >> > > Hello

Re: [U-Boot] [PATCH RESEND 2/2 v2] lib: Add hexdump

2016-06-10 Thread Tom Rini
On Fri, Jun 10, 2016 at 11:51:20PM +0300, Alexey Brodkin wrote: > Hi Tom, > > On Fri, 2016-06-10 at 15:37 -0400, Tom Rini wrote: > > On Fri, Jun 10, 2016 at 03:31:30PM +, Langer, Thomas wrote: > > > > > > > > Hello Alexey, > > > > > > This feature is already available in u-boot, please

Re: [U-Boot] [PATCH] warp7: Add README file

2016-06-10 Thread Fabio Estevam
On Fri, Jun 10, 2016 at 2:56 PM, Marco Franchi wrote: > Add a README file for helping users to install U-Boot into the eMMC. > > Signed-off-by: Marco Franchi Acked-by: Fabio Estevam

Re: [U-Boot] [PATCH] warp7: Fix watchdog reset

2016-06-10 Thread Fabio Estevam
On Fri, Jun 10, 2016 at 2:45 PM, Marco Franchi wrote: > The latest version of warp7 board provides the connection of the > WDOG1_B pin to the PMIC. > > Program the watchdog to enable the WDOG1_B output which causes > a POR reset. > > Based on the imx7dsabresd code. > >

Re: [U-Boot] [PATCH] pico-imx6ul: Add Ethernet support

2016-06-10 Thread Fabio Estevam
On Fri, Jun 10, 2016 at 12:07 PM, Diego Dorta wrote: > Pico-imx6ul has a KSZ8081 Ethernet PHY. > > Add support for it. > > Signed-off-by: Diego Dorta Acked-by: Fabio Estevam ___ U-Boot

Re: [U-Boot] [PATCH RESEND 2/2 v2] lib: Add hexdump

2016-06-10 Thread Alexey Brodkin
Hi Tom, On Fri, 2016-06-10 at 15:37 -0400, Tom Rini wrote: > On Fri, Jun 10, 2016 at 03:31:30PM +, Langer, Thomas wrote: > > > > > Hello Alexey, > > > > This feature is already available in u-boot, please look for 'print_buffer'. > > ... make this a candidate for moving over to the linux

Re: [U-Boot] [PATCH RESEND 2/2 v2] lib: Add hexdump

2016-06-10 Thread Alexey Brodkin
Hi Tom, On Fri, 2016-06-10 at 15:22 -0400, Tom Rini wrote: > On Fri, Jun 10, 2016 at 03:42:31PM +0300, Alexey Brodkin wrote: > > > > > Often during debugging session it's very interesting to see > > what data we were dealing with. For example what we write or read > > to/from memory or

[U-Boot] [PATCH] ARM: AM437x: Sync defconfig between GP and HS EVM

2016-06-10 Thread Madan Srinivas
Adds missing NAND option to CONFIG_SYS_EXTRA_OPTIONS for AM437x HS EVMs. This syncs up the config options between GP and HS EVMs. Signed-off-by: Madan Srinivas --- configs/am437x_hs_evm_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v2] ARM: AM437x: Enable FIT for hs platforms

2016-06-10 Thread Madan Srinivas
Adds FIT support to the SPL and u-boot for AM437x HS devices. Signed-off-by: Madan Srinivas --- Changes in v2: configs/am437x_hs_evm_defconfig: Removes NAND that was incorrectly added in v1 to CONFIG_SYS_EXTRA_OPTIONS configs/am437x_hs_evm_defconfig | 4 1

Re: [U-Boot] [PATCH RESEND 2/2 v2] lib: Add hexdump

2016-06-10 Thread Tom Rini
On Fri, Jun 10, 2016 at 03:31:30PM +, Langer, Thomas wrote: > Hello Alexey, > > This feature is already available in u-boot, please look for 'print_buffer'. ... make this a candidate for moving over to the linux kernel way? -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v3] sunxi: FEL - Add the ability to recognize and auto-import uEnv-style data

2016-06-10 Thread Hans de Goede
Hi, On 09-06-16 07:37, Bernhard Nortmann wrote: The patch converts one of the "reserved" fields in the sunxi SPL header to a fel_uEnv_length entry. When booting over USB ("FEL mode"), this enables the sunxi-fel utility to pass the string length of uEnv.txt compatible data; at the same time

Re: [U-Boot] [PATCH v2] sunxi: Support booting from SPI flash

2016-06-10 Thread Hans de Goede
Hi, On 07-06-16 13:28, Siarhei Siamashka wrote: Allwinner devices support SPI flash as one of the possible bootable media type. The SPI flash chip needs to be connected to SPI0 pins (port C) to make this work. More information is available at: https://linux-sunxi.org/Bootable_SPI_flash

Re: [U-Boot] [PATCH RESEND 2/2 v2] lib: Add hexdump

2016-06-10 Thread Tom Rini
On Fri, Jun 10, 2016 at 03:42:31PM +0300, Alexey Brodkin wrote: > Often during debugging session it's very interesting to see > what data we were dealing with. For example what we write or read > to/from memory or peripherals. > > This change introduces functions that allow to dump binary > data

[U-Boot] Please pull u-boot-sunxi master

2016-06-10 Thread Hans de Goede
Hi Tom, Here is the second sunxi pull-req for v2016.07, it contains a few improvements and fixes, nothing special. The following changes since commit 6b3943f1b04be60f147ee540fbd72c4c7ea89f80: siemens,am33x: add draco etamin board (2016-06-09 13:53:13 -0400) are available in the git

Re: [U-Boot] [PATCH 1/2] sunxi: Downclock AHB1 to 100MHz on Allwinner A64

2016-06-10 Thread Hans de Goede
Hi, On 31-05-16 00:55, Siarhei Siamashka wrote: On Tue, 31 May 2016 01:48:05 +0300 Siarhei Siamashka wrote: Currently the AHB1 clock speed is configured as 200MHz by the SPL, but this causes a subtle and hard to reproduce data corruption in SRAM C (for example,

Re: [U-Boot] [PATCH RESEND 1/2 v2] linux-compat: Use original kern_levels.h for kernel debug levels

2016-06-10 Thread Tom Rini
On Fri, Jun 10, 2016 at 03:42:30PM +0300, Alexey Brodkin wrote: > Even currently in U-Boot we don't really use kernel debug levels > we do have quite a lot of code that was copy-pasted from Linux kernel > and so contains symbols like KERN_DEBUG and alike. > > We used to just define those symbols

[U-Boot] [PATCH 1/2] tinyprintf: Add vprintf implementation

2016-06-10 Thread Hans de Goede
vprintf is used by panic() which is used in various SPL paths on some boards. Signed-off-by: Hans de Goede --- lib/tiny-printf.c | 5 + 1 file changed, 5 insertions(+) diff --git a/lib/tiny-printf.c b/lib/tiny-printf.c index 3c65fc9..451f4f7 100644 ---

[U-Boot] [PATCH 2/2] sunxi: Select USE_TINY_PRINTF

2016-06-10 Thread Hans de Goede
This gives us a bit more breathing room wrt our SPL size. Signed-off-by: Hans de Goede --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index e75c4c0..4aeb4d2 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@

[U-Boot] [PATCH v3 2/4] tools: moveconfig: New color used for changed defconfig

2016-06-10 Thread Joe Hershberger
The old color blends in with similar messages and makes them not stand out. Signed-off-by: Joe Hershberger --- Changes in v3: None Changes in v2: None tools/moveconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/moveconfig.py

[U-Boot] [PATCH v3 4/4] tools: moveconfig: Add a new --git-ref option

2016-06-10 Thread Joe Hershberger
This option allows the 'make autoconf.mk' step to run against a former repo state, while the savedefconfig step runs against the current repo state. This is convenient for the case where something in the Kconfig has changed such that the defconfig is no longer complete with the new Kconfigs. This

[U-Boot] [PATCH v3 3/4] tools: moveconfig: Fix bug in make Slot.poll()...

2016-06-10 Thread Joe Hershberger
When this was moved out of add(), it should have started using 'self.' Signed-off-by: Joe Hershberger --- Changes in v3: None Changes in v2: None tools/moveconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/moveconfig.py

Re: [U-Boot] [PATCH 4/5] autoboot: fix a bunch of misconversion of CONFIG_BOOTDELAY

2016-06-10 Thread Tom Rini
On Sat, Jun 11, 2016 at 12:48:54AM +0900, Masahiro Yamada wrote: > 2016-06-11 0:43 GMT+09:00 Tom Rini : > > On Sat, Jun 11, 2016 at 12:37:49AM +0900, Masahiro Yamada wrote: > >> 2016-06-11 0:28 GMT+09:00 Tom Rini : > >> > On Sat, Jun 11, 2016 at 12:20:20AM

[U-Boot] [PATCH v3 1/4] tools: moveconfig: Fix another typo

2016-06-10 Thread Joe Hershberger
Signed-off-by: Joe Hershberger --- Changes in v3: None Changes in v2: None tools/moveconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/moveconfig.py b/tools/moveconfig.py index d9e88f2..2fdc331 100755 --- a/tools/moveconfig.py +++

Re: [U-Boot] [PATCH 7/8] x86: Probe pinctrl driver in cpu_init_r()

2016-06-10 Thread George McCollister
On Wed, Jun 8, 2016 at 7:07 AM, Bin Meng wrote: > At present pinctrl driver gets probed in ich6_gpio driver's probe > routine, which has two issues: > > - Pin's PADs only gets configured when GPIO driver is probed, which >is not done by default. This leaves the board in a

[U-Boot] [PATCH v2 2/2] board: amlogic: Rename folder for Amlogic boards

2016-06-10 Thread Carlo Caione
From: Carlo Caione s/hardkernel/amlogic/ to have a single place for all the amlogic-based boards. Reviewed-by: Simon Glass Signed-off-by: Carlo Caione --- arch/arm/mach-meson/Kconfig | 2 +- board/{hardkernel

[U-Boot] [PATCH v2 1/2] configs: gxbb: Introduce a common config header file

2016-06-10 Thread Carlo Caione
From: Carlo Caione Introduce a meson-gxbb-common.h header file and derive the configuration for Hardkernel Odroid-C2 board from that. Reviewed-by: Simon Glass Signed-off-by: Carlo Caione --- include/configs/meson-gxbb-common.h | 45

[U-Boot] [PATCH v2 0/2] Prepare U-Boot for more Amlogic boards

2016-06-10 Thread Carlo Caione
From: Carlo Caione Refactor the Odroid-C2 support code to prepare U-Boot for more Amlogic board submissions. The goal is to reduce the redundancy of the configuration files and unify all the board support files onto a single amlogic directory. Changelog: v2: - Added

[U-Boot] [PATCH] ARM: AM437x: Enable FIT for hs platforms

2016-06-10 Thread Srinivas, Madan
Adding FIT support to the SPL and u-boot for AM437x HS devices. Signed-off-by: Madan Srinivas --- configs/am437x_hs_evm_defconfig | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configs/am437x_hs_evm_defconfig b/configs/am437x_hs_evm_defconfig index

[U-Boot] [PATCH] pico-imx6ul: Add Ethernet support

2016-06-10 Thread Diego Dorta
Pico-imx6ul has a KSZ8081 Ethernet PHY. Add support for it. Signed-off-by: Diego Dorta --- board/technexion/pico-imx6ul/pico-imx6ul.c | 84 ++ include/configs/pico-imx6ul.h | 10 2 files changed, 94 insertions(+) diff --git

Re: [U-Boot] [PATCH 4/5] autoboot: fix a bunch of misconversion of CONFIG_BOOTDELAY

2016-06-10 Thread Masahiro Yamada
2016-06-11 0:43 GMT+09:00 Tom Rini : > On Sat, Jun 11, 2016 at 12:37:49AM +0900, Masahiro Yamada wrote: >> 2016-06-11 0:28 GMT+09:00 Tom Rini : >> > On Sat, Jun 11, 2016 at 12:20:20AM +0900, Masahiro Yamada wrote: >> > >> >> Commit bb597c0eeb7e ("common:

[U-Boot] [PATCH] warp7: Add README file

2016-06-10 Thread Marco Franchi
Add a README file for helping users to install U-Boot into the eMMC. Signed-off-by: Marco Franchi --- board/warp7/README | 63 ++ 1 file changed, 63 insertions(+) create mode 100644 board/warp7/README diff --git

[U-Boot] [RFC PATCH V2] common: image: minimal android image iminfo support

2016-06-10 Thread Michael Trimarchi
We already support iminfo for other images. The idea of this patch is start to have a minimal support for android image format. We still need to print id[] array Signed-off-by: Michael Trimarchi --- Changes V1 -> V2: - remove 0x on hex print - fix

[U-Boot] [PATCH] warp7: Fix watchdog reset

2016-06-10 Thread Marco Franchi
The latest version of warp7 board provides the connection of the WDOG1_B pin to the PMIC. Program the watchdog to enable the WDOG1_B output which causes a POR reset. Based on the imx7dsabresd code. Signed-off-by: Marco Franchi --- board/warp7/warp7.c | 21

Re: [U-Boot] [PATCH 2/2] board: amlogic: Rename folder for Amlogic boards

2016-06-10 Thread Simon Glass
Hi Carlo, On 10 June 2016 at 02:19, Carlo Caione wrote: > On 10/06/16 09:03, Ben Dooks wrote: >> do you have git rename-detection enabled? > > I simply forgot to pass '-M' to git-format-patch. I can submit a v2 if > requested. Yes please. Also you can use patman which does

Re: [U-Boot] [PATCH v2] sunxi: Support booting from SPI flash

2016-06-10 Thread Simon Glass
On 9 June 2016 at 22:28, Siarhei Siamashka wrote: > On Thu, 9 Jun 2016 19:42:55 -0700 > Simon Glass wrote: > >> Hi, >> >> On 9 June 2016 at 18:33, Siarhei Siamashka >> wrote: >> > Hi Simon, >> > >> > On Thu, 9 Jun

Re: [U-Boot] [RFC PATCH] common: image: minimal android image iminfo support

2016-06-10 Thread Simon Glass
On 10 June 2016 at 08:23, Michael Trimarchi wrote: > > Signed-off-by: Michael Trimarchi Commit message? > --- > cmd/bootm.c| 6 ++ > common/image-android.c | 28 > include/image.h

Re: [U-Boot] [PATCH] libfdt: Add option to disable arch_fixup_fdt() calls

2016-06-10 Thread Simon Glass
Hi Michal, On 9 June 2016 at 08:23, Michal Simek wrote: > Disable arch_fixup_fdt() calls for cases where U-Boot shouldn't update > memory setup in DTB file. > One example of usage of this option is to boot OS with different memory > setup than U-Boot use. > >

Re: [U-Boot] [PATCH] ARM: AM437x: Enable FIT for hs platforms

2016-06-10 Thread Dannenberg, Andreas
Hi Madan, comments inlined... On Fri, Jun 10, 2016 at 11:32:31AM -0500, Srinivas, Madan wrote: > Adding FIT support to the SPL and u-boot for AM437x HS devices. > > > > Signed-off-by: Madan Srinivas > > --- > > configs/am437x_hs_evm_defconfig | 6 +- > > 1 file changed,

Re: [U-Boot] [PATCH] net: Allow setenv to set net global variables

2016-06-10 Thread Joe Hershberger
On Thu, Jun 9, 2016 at 8:40 PM, Matthew Bright wrote: > The patch fd3056337e6fcc introduces env callbacks to several of the net > related env variables. These callbacks are responsible for updating the > corresponding global variables internal to the net source

Re: [U-Boot] [PATCH RESEND 2/2 v2] lib: Add hexdump

2016-06-10 Thread Langer, Thomas
Hello Alexey, This feature is already available in u-boot, please look for 'print_buffer'. Best regards, Thomas > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Alexey > Brodkin > Sent: Friday, June 10, 2016 2:43 PM > To: u-boot@lists.denx.de > Cc:

Re: [U-Boot] [PATCH 4/5] autoboot: fix a bunch of misconversion of CONFIG_BOOTDELAY

2016-06-10 Thread Tom Rini
On Sat, Jun 11, 2016 at 12:37:49AM +0900, Masahiro Yamada wrote: > 2016-06-11 0:28 GMT+09:00 Tom Rini : > > On Sat, Jun 11, 2016 at 12:20:20AM +0900, Masahiro Yamada wrote: > > > >> Commit bb597c0eeb7e ("common: bootdelay: move CONFIG_BOOTDELAY into > >> a Kconfig option") is

Re: [U-Boot] [PATCH 4/5] autoboot: fix a bunch of misconversion of CONFIG_BOOTDELAY

2016-06-10 Thread Masahiro Yamada
2016-06-11 0:28 GMT+09:00 Tom Rini : > On Sat, Jun 11, 2016 at 12:20:20AM +0900, Masahiro Yamada wrote: > >> Commit bb597c0eeb7e ("common: bootdelay: move CONFIG_BOOTDELAY into >> a Kconfig option") is wrong in multiple ways. >> >> First of all, it made tons of misconversion.

Re: [U-Boot] [PATCH RESEND 2/2 v2] lib: Add hexdump

2016-06-10 Thread Alexey Brodkin
Hi Thomas, I was pretty sure I saw it before but today having no idea how that thing might be called I grepped for something like "dump", "buffer" etc but within tons of unrelated things I failed to find that "print_buffer"... such a shame... -Alexey 10 июня 2016 г. 18:32 пользователь

Re: [U-Boot] [PATCH 4/5] autoboot: fix a bunch of misconversion of CONFIG_BOOTDELAY

2016-06-10 Thread Tom Rini
On Fri, Jun 10, 2016 at 10:34:13AM -0500, Joe Hershberger wrote: > Hi Tom, > > On Fri, Jun 10, 2016 at 10:28 AM, Tom Rini wrote: > > On Sat, Jun 11, 2016 at 12:20:20AM +0900, Masahiro Yamada wrote: > > > >> Commit bb597c0eeb7e ("common: bootdelay: move CONFIG_BOOTDELAY into >

Re: [U-Boot] [PATCH 4/5] autoboot: fix a bunch of misconversion of CONFIG_BOOTDELAY

2016-06-10 Thread Joe Hershberger
Hi Tom, On Fri, Jun 10, 2016 at 10:28 AM, Tom Rini wrote: > On Sat, Jun 11, 2016 at 12:20:20AM +0900, Masahiro Yamada wrote: > >> Commit bb597c0eeb7e ("common: bootdelay: move CONFIG_BOOTDELAY into >> a Kconfig option") is wrong in multiple ways. >> >> First of all, it made

Re: [U-Boot] [PATCH 4/5] autoboot: fix a bunch of misconversion of CONFIG_BOOTDELAY

2016-06-10 Thread Tom Rini
On Sat, Jun 11, 2016 at 12:20:20AM +0900, Masahiro Yamada wrote: > Commit bb597c0eeb7e ("common: bootdelay: move CONFIG_BOOTDELAY into > a Kconfig option") is wrong in multiple ways. > > First of all, it made tons of misconversion. > > [1] CONFIG_BOOTDELAY=-1 all gone > [2] CONFIG_BOOTDELAY=1

[U-Boot] [PATCH 0/5] Urgent fixes for misconverted CONFIG_BOOTDELAY

2016-06-10 Thread Masahiro Yamada
Masahiro Yamada (5): ARM: stm32: remove unused CONFIG_AUTOBOOT autoboot: follow-up cleanup after CONFIG_BOOTDELAY moves tools: fix define2mk.sed to not add quotes around negative integers autoboot: fix a bunch of misconversion of CONFIG_BOOTDELAY autoboot: add CONFIG_AUTOBOOT to allow

Re: [U-Boot] [PATCH 2/4] mmc: send STOP command when the READ/WIRTE commands fail

2016-06-10 Thread York Sun
On 05/20/2016 03:20 AM, Yangbo Lu wrote: > The STOP command should be sent to stop data transfer when the > READ/WRITE commands fail. Otherwise, any subsequent command will > fail to be sent. > > Signed-off-by: Yangbo Lu > --- > drivers/mmc/mmc.c | 28

[U-Boot] [PATCH 5/5] autoboot: add CONFIG_AUTOBOOT to allow to not compile autoboot.c

2016-06-10 Thread Masahiro Yamada
Another mistake of commit bb597c0eeb7e ("common: bootdelay: move CONFIG_BOOTDELAY into a Kconfig option") is that CONFIG_BOOTDELAY is now defined for all the boards. Before that commit, it is allowed to unset CONFIG_BOOTDELAY to not compile common/autoboot.c This is apparent from the code in

Re: [U-Boot] [PATCH] configs: Fixup after BOOTDELAY migration

2016-06-10 Thread Masahiro Yamada
Hi Tom, What a coincidence! I've just sent my series. You revived CONFIG_BOOTDELAY=2, but did not =-1 and =1. Please see my series (5 patches). The commit made tons of mistakes. 2016-06-11 0:19 GMT+09:00 Tom Rini : > A number of config files were not correctly migrated for

Re: [U-Boot] [PATCH v2 9/9] tests: Introduce DT overlay tests

2016-06-10 Thread Pantelis Antoniou
> On May 27, 2016, at 12:13 , Maxime Ripard > wrote: > > This adds a bunch of unit tests for the "fdt apply" command. > > They've all been run successfully in the sandbox. However, as you still > require an out-of-tree dtc with overlay support, this is

[U-Boot] [PATCH] axs103: Bump CPU frequency from 50MHz to 100MHz

2016-06-10 Thread Alexey Brodkin
In the upcoming release of axs103 v1.1 CPU will run @100MHz which we support with that change. Signed-off-by: Alexey Brodkin --- configs/axs103_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/axs103_defconfig

[U-Boot] [PATCH 2/5] autoboot: follow-up cleanup after CONFIG_BOOTDELAY moves

2016-06-10 Thread Masahiro Yamada
Tidy up garbage left by commit bb597c0eeb7e ("common: bootdelay: move CONFIG_BOOTDELAY into a Kconfig option"). Signed-off-by: Masahiro Yamada --- include/configs/bfin_adi_common.h | 5 - include/configs/mx6_common.h | 3 --- include/configs/mx7_common.h

[U-Boot] [PATCH 1/5] ARM: stm32: remove unused CONFIG_AUTOBOOT

2016-06-10 Thread Masahiro Yamada
At this point, this is not referenced from anywhere, so remove it (but I will re-add it soon for a different meaning). Signed-off-by: Masahiro Yamada --- include/configs/stm32f429-discovery.h | 2 -- 1 file changed, 2 deletions(-) diff --git

[U-Boot] [PATCH 3/5] tools: fix define2mk.sed to not add quotes around negative integers

2016-06-10 Thread Masahiro Yamada
The sed script, tools/scripts/define2mk.sed, converts config defines from C headers into include/autoconf.mk for the use in Makefiles. I found the tool adds quotes around negative integer values. For example, at the point of the v2016.07-rc1 tag, include/configs/microblaze-generic.h defines

[U-Boot] [PATCH] configs: Fixup after BOOTDELAY migration

2016-06-10 Thread Tom Rini
A number of config files were not correctly migrated for BOOTDELAY moving in to Kconfig. Update these configs and remove a few instances of empty Signed-off-by: Tom Rini --- configs/A10-OLinuXino-Lime_defconfig | 1 + configs/A10s-OLinuXino-M_defconfig

Re: [U-Boot] [PATCH v2 6/9] libfdt: Add max phandle retrieval function

2016-06-10 Thread Pantelis Antoniou
> On May 27, 2016, at 12:13 , Maxime Ripard > wrote: > > Add a function to retrieve the highest phandle in a given device tree. > > Signed-off-by: Maxime Ripard > --- > include/libfdt.h| 13 + >

Re: [U-Boot] [PATCH v2 7/9] libfdt: Add overlay application function

2016-06-10 Thread Pantelis Antoniou
Hi Maxime, > On May 27, 2016, at 12:13 , Maxime Ripard > wrote: > > The device tree overlays are a good way to deal with user-modifyable > boards or boards with some kind of an expansion mechanism where we can > easily plug new board in (like the BBB, the

[U-Boot] [RFC PATCH] common: image: minimal android image iminfo support

2016-06-10 Thread Michael Trimarchi
Signed-off-by: Michael Trimarchi --- cmd/bootm.c| 6 ++ common/image-android.c | 28 include/image.h| 1 + 3 files changed, 35 insertions(+) diff --git a/cmd/bootm.c b/cmd/bootm.c index 1bca6fa..eb4e904 100644

Re: [U-Boot] [PATCH v2 5/9] libfdt: Add iterator over properties

2016-06-10 Thread Pantelis Antoniou
> On May 27, 2016, at 12:13 , Maxime Ripard > wrote: > > Implement a macro based on fdt_first_property_offset and > fdt_next_property_offset that provides a convenience to iterate over all > the properties of a given node. > > Signed-off-by: Maxime Ripard

Re: [U-Boot] [PATCH v2 4/9] libfdt: Add new headers and defines

2016-06-10 Thread Pantelis Antoniou
Hi Maxime, > On May 27, 2016, at 12:13 , Maxime Ripard > wrote: > > The libfdt overlay support introduces a bunch of new includes and > functions. > > Make sure we are able to build it by adding the needed glue. > > Signed-off-by: Maxime Ripard

Re: [U-Boot] [PATCH v2 3/9] vsprintf: Include stdarg for va_list

2016-06-10 Thread Pantelis Antoniou
> On May 27, 2016, at 12:13 , Maxime Ripard > wrote: > > vsprintf.h doesn't include the stdarg.h file, which means that it relies on > the files that include vsprintf.h to include stdarg.h as well. > > Add an explicit include to avoid build errors when simply

Re: [U-Boot] [PATCH v2 2/9] scripts: Makefile.lib: Sanitize DTB names

2016-06-10 Thread Pantelis Antoniou
> On May 27, 2016, at 12:13 , Maxime Ripard > wrote: > > Having dashes as a separator in the DTB name is a quite common practice. > > However, the current code to generate objects from DTBs assumes the > separator is an underscore, leading to a compilation

Re: [U-Boot] [PATCH v2 8/9] cmd: fdt: add fdt overlay application subcommand

2016-06-10 Thread Pantelis Antoniou
> On May 27, 2016, at 12:13 , Maxime Ripard > wrote: > > The device tree overlays are a good way to deal with user-modifyable > boards or boards with some kind of an expansion mechanism where we can > easily plug new board in (like the BBB or the raspberry

Re: [U-Boot] [PATCH v2 1/9] cmd: fdt: Narrow the check for fdt addr

2016-06-10 Thread Pantelis Antoniou
> On Jun 10, 2016, at 03:34 , Simon Glass wrote: > > On 27 May 2016 at 03:13, Maxime Ripard > wrote: >> The current code only checks if the fdt subcommand is fdt addr by checking >> whether it starts with 'a'. >> >> Since this is a pretty

Re: [U-Boot] U-Boot on Minnowboard Max

2016-06-10 Thread vinoth eswaran
On Fri, Jun 10, 2016 at 2:53 PM, George McCollister wrote: > On Thu, Jun 9, 2016 at 11:01 PM, Bin Meng wrote: >> Hi, >> >> +Simon, ML and Stefan. >> >> On Wed, Jun 8, 2016 at 11:58 PM, vinoth eswaran >> wrote: >>> Hello

Re: [U-Boot] U-Boot on Minnowboard Max

2016-06-10 Thread George McCollister
On Fri, Jun 10, 2016 at 8:29 AM, vinoth eswaran wrote: > On Fri, Jun 10, 2016 at 2:53 PM, George McCollister > wrote: >> On Thu, Jun 9, 2016 at 11:01 PM, Bin Meng wrote: >>> Hi, >>> >>> +Simon, ML and Stefan. >>> >>> On

Re: [U-Boot] [PATCH v3 11/11] sunxi: Add PSCI implementation in C

2016-06-10 Thread Hans de Goede
Hi, On 07-06-16 04:54, Chen-Yu Tsai wrote: To make the PSCI backend more maintainable and easier to port to newer SoCs, rewrite the current PSCI implementation in C. Some inline assembly bits are required to access coprocessor registers. PSCI stack setup is the only part left completely in

Re: [U-Boot] [PATCH] verified-boot: Minimal support for booting U-Boot proper from SPL

2016-06-10 Thread Tom Rini
On Thu, Jun 09, 2016 at 06:45:58AM +, Sumit Garg wrote: > Hi Teddy, > > Can you please rebase this patch on upstream? > > Tom, > > I have sent patches [1] and [2] upstream which are dependent on this patch. > Also I have to add support for spl verified boot on our ARM based platforms >

[U-Boot] [PATCH 1/2] mx7: Place MX7_SEC option in Kconfig

2016-06-10 Thread Fabio Estevam
MX7_SEC is an existing configuration option that allows booting the kernel in secure mode. Place this option in Kconfig, so that boards can select this option in their defconfig files. Selecting this option is necessary when booting a kernel provided by NXP, such as 3.14_GA and 4.1.15_GA.

Re: [U-Boot] U-Boot on Minnowboard Max

2016-06-10 Thread George McCollister
On Thu, Jun 9, 2016 at 11:01 PM, Bin Meng wrote: > Hi, > > +Simon, ML and Stefan. > > On Wed, Jun 8, 2016 at 11:58 PM, vinoth eswaran wrote: >> Hello Bin, >> >> Sorry that I don't know how not to reply without top-posting. I >> don't know which

[U-Boot] [PATCH 2/2] mx7dsabresd: Fix the boot of a NXP kernel

2016-06-10 Thread Fabio Estevam
Booting a NXP kernel with mainline U-boot leads to the following kernel crash: caam: probe of 3090.caam failed with error -11 Unable to handle kernel NULL pointer dereference at virtual address 0004 pgd = 80004000

[U-Boot] [PATCH RESEND 1/2 v2] linux-compat: Use original kern_levels.h for kernel debug levels

2016-06-10 Thread Alexey Brodkin
Even currently in U-Boot we don't really use kernel debug levels we do have quite a lot of code that was copy-pasted from Linux kernel and so contains symbols like KERN_DEBUG and alike. We used to just define those symbols which is fine if it is used in constructions like:

[U-Boot] [PATCH RESEND 2/2 v2] lib: Add hexdump

2016-06-10 Thread Alexey Brodkin
Often during debugging session it's very interesting to see what data we were dealing with. For example what we write or read to/from memory or peripherals. This change introduces functions that allow to dump binary data with one simple function invocation like:

[U-Boot] [PATCH RESEND 0/2 v2] Introduce hexdump

2016-06-10 Thread Alexey Brodkin
(Resending with real patches tagged bing v2) This tiny series introduces functionality for either convertion a blob of data to "hex ASCII" in memory or direct printing in stdout. The first patch is required to safe existing users of dummy blobs (as of today) that will become a real functions.

[U-Boot] [PATCH 2/2] lib: Add hexdump

2016-06-10 Thread Alexey Brodkin
Often during debugging session it's very interesting to see what data we were dealing with. For example what we write or read to/from memory or peripherals. This change introduces functions that allow to dump binary data with one simple function invocation like:

[U-Boot] [PATCH 1/2] linux-compat: Use original kern_levels.h for kernel debug levels

2016-06-10 Thread Alexey Brodkin
Even currently in U-Boot we don't really use kernel debug levels we do have quite a lot of code that was copy-pasted from Linux kernel and so contains symbols like KERN_DEBUG and alike. We used to just define those symbols which is fine if it is used in constructions like:

[U-Boot] [PATCH 0/2 v2] Introduce hexdump

2016-06-10 Thread Alexey Brodkin
This tiny series introduces functionality for either convertion a blob of data to "hex ASCII" in memory or direct printing in stdout. The first patch is required to safe existing users of dummy blobs (as of today) that will become a real functions. Note even though entire series is tagges as v2

Re: [U-Boot] [PATCH 2/2] board: amlogic: Rename folder for Amlogic boards

2016-06-10 Thread Ben Dooks
do you have git rename-detection enabled? On 10 June 2016 at 01:36, Simon Glass wrote: > On 9 June 2016 at 08:45, Carlo Caione wrote: > > From: Carlo Caione > > > > s/hardkernel/amlogic/ to have a single place for all the amlogic-based

Re: [U-Boot] U-Boot on Minnowboard Max

2016-06-10 Thread vinoth eswaran
Hello Bin, >> Now I am seeing another issue , the USB3.0 port (bottom) is not >> working. I am sure that both ports are working fine with UEFI >> Firmware. I tested by connecting a mouse to the USB port , in the >> USB2.0 port (upper) it is working fine but in the USB3.0 port the >> mouse is not

[U-Boot] [PATCH] net: Allow setenv to set net global variables

2016-06-10 Thread Matthew Bright
The patch fd3056337e6fcc introduces env callbacks to several of the net related env variables. These callbacks are responsible for updating the corresponding global variables internal to the net source code. However this behavior will be skipped if the source of the callbacks originated from

Re: [U-Boot] [PATCH] libfdt: Add option to disable arch_fixup_fdt() calls

2016-06-10 Thread Alexander Graf
On 10.06.16 14:31, Michal Simek wrote: > On 10.6.2016 14:12, Alexander Graf wrote: >> >> >> On 10.06.16 13:51, Michal Simek wrote: >>> On 10.6.2016 13:13, Alexander Graf wrote: On 10.06.16 13:07, Michal Simek wrote: > On 9.6.2016 16:40, Alexander Graf wrote: >> On

Re: [U-Boot] [PATCH] libfdt: Add option to disable arch_fixup_fdt() calls

2016-06-10 Thread Michal Simek
On 10.6.2016 14:12, Alexander Graf wrote: > > > On 10.06.16 13:51, Michal Simek wrote: >> On 10.6.2016 13:13, Alexander Graf wrote: >>> >>> >>> On 10.06.16 13:07, Michal Simek wrote: On 9.6.2016 16:40, Alexander Graf wrote: > On 06/09/2016 04:32 PM, Michal Simek wrote: >> On

Re: [U-Boot] [PATCH] libfdt: Add option to disable arch_fixup_fdt() calls

2016-06-10 Thread Alexander Graf
On 10.06.16 13:51, Michal Simek wrote: > On 10.6.2016 13:13, Alexander Graf wrote: >> >> >> On 10.06.16 13:07, Michal Simek wrote: >>> On 9.6.2016 16:40, Alexander Graf wrote: On 06/09/2016 04:32 PM, Michal Simek wrote: > On 9.6.2016 16:29, Alexander Graf wrote: >> On 06/09/2016

Re: [U-Boot] [PATCH] libfdt: Add option to disable arch_fixup_fdt() calls

2016-06-10 Thread Michal Simek
On 10.6.2016 13:13, Alexander Graf wrote: > > > On 10.06.16 13:07, Michal Simek wrote: >> On 9.6.2016 16:40, Alexander Graf wrote: >>> On 06/09/2016 04:32 PM, Michal Simek wrote: On 9.6.2016 16:29, Alexander Graf wrote: > On 06/09/2016 04:23 PM, Michal Simek wrote: >> Disable

Re: [U-Boot] [PATCH] libfdt: Add option to disable arch_fixup_fdt() calls

2016-06-10 Thread Alexander Graf
On 10.06.16 13:07, Michal Simek wrote: > On 9.6.2016 16:40, Alexander Graf wrote: >> On 06/09/2016 04:32 PM, Michal Simek wrote: >>> On 9.6.2016 16:29, Alexander Graf wrote: On 06/09/2016 04:23 PM, Michal Simek wrote: > Disable arch_fixup_fdt() calls for cases where U-Boot shouldn't

  1   2   >