Re: [U-Boot] [PATCH] ARM: board: cm_fx6: fix mtd partition fixup

2016-08-28 Thread Nikita Kiryanov
ns are fixed up even if the board > revision cannot be obtained. > > While on it, fix a spelling mistake in a comment introduced by the > same commit. Reviewed-by: Nikita Kiryanov <nik...@compulab.co.il> > > Fixes: 62d6bac66038 ("ARM: board: cm_fx6: fixup mtd

Re: [U-Boot] [PATCH v2 0/4] ARM: imx: enhance support for the cm-fx6 module

2016-07-14 Thread Nikita Kiryanov
Hi Christopher, Stefano, Whole series: Acked-by: Nikita Kiryanov <nik...@compulab.co.il> On Tue, Jul 12, 2016 at 11:37:33PM +0200, christopher.spinr...@rwth-aachen.de wrote: > Hi, > > this is v2 of the series. To address the review comments of v1, v2 has an > addtional pa

Re: [U-Boot] [PATCH 2/3] ARM: board: cm_fx6: fixup mtd partitions in the fdt

2016-07-10 Thread Nikita Kiryanov
Hi Christopher, On Thu, Jul 07, 2016 at 03:30:25PM +0200, Christopher Spinrath wrote: > Hi Nikita, > > On 07/07/2016 10:53 AM, Nikita Kiryanov wrote: > > On Wed, Jun 22, 2016 at 07:17:53PM +0300, Igor Grinberg wrote: > >> On 06/19/2016 06:44 PM, Christopher Spinrath

Re: [U-Boot] [PATCH 2/3] ARM: board: cm_fx6: fixup mtd partitions in the fdt

2016-07-07 Thread Nikita Kiryanov
On Wed, Jun 22, 2016 at 07:17:53PM +0300, Igor Grinberg wrote: > On 06/19/2016 06:44 PM, Christopher Spinrath wrote: > > The cm-fx6 module has an on-board st,m25p compatible spi flash chip > > used for u-boot (binary & environment). Overwrite the partitions in > > the device tree by the partition

Re: [U-Boot] [PATCH 1/3] ARM: configs: cm_fx6: improve default environment

2016-07-07 Thread Nikita Kiryanov
ossible boot device. > > Introduce new variables for kernel image locations and boot device > independent kernel parameters to make it easier to change these > settings. Reviewed-by: Nikita Kiryanov <nik...@compulab.co.il> > > Signed-off-by: Christopher Spinrath

Re: [U-Boot] [PATCH] ARM: board: cm-fx6: fix mmc for old revisions of utilite

2016-06-16 Thread Nikita Kiryanov
Hi Christopher, On Wed, Jun 15, 2016 at 05:38:10PM +0200, Christopher Spinrath wrote: > Hi Nikita, > > On 06/15/2016 05:15 PM, Nikita Kiryanov wrote: > > Hi CHristopher, > > > > On Wed, Jun 08, 2016 at 09:02:36PM +0200, Christopher Spinrath wrote: > >> Old

Re: [U-Boot] [PATCH] ARM: board: cm-fx6: fix mmc for old revisions of utilite

2016-06-15 Thread Nikita Kiryanov
> > Add the broken-cd property to the mmc device tree instead of the > non-removable property to make card detection possible if polling > is supported. Acked-by: Nikita Kiryanov <nik...@compulab.co.il> One nit-pick below: > > Fixes: 41855186afd3 ("arm: mx6: cm-fx6

Re: [U-Boot] [PATCH v3] splash_source: add support for ubifs formatted nand

2016-06-09 Thread Nikita Kiryanov
Hi Eran, On Tue, Jun 07, 2016 at 10:38:37AM +0300, Eran Matityahu wrote: > Add support for loading splash image from NAND Flash formatted with a (UBI) > filesystem. Acked-by: Nikita Kiryanov <nik...@compulab.co.il> > > Signed-off-by: Eran Matityahu <era...@variscite.com&

[U-Boot] SPI-flash write problem with SST25VF016B

2016-06-09 Thread Nikita Kiryanov
We assembled a CM-T43 module with the SST25VF016B SPI-flash, and the write command does not work. Reads and erases execute without reporting an error, but the write command fails and appears to place the chip into some undefined state. The chip works in Linux, and if I program SPL/U-Boot to the

Re: [U-Boot] [PATCH v2] splash_source: add support for ubifs formatted nand

2016-06-01 Thread Nikita Kiryanov
elated to the subject of the patch. These are cleanup changes, and should be done in a separate patch. Aside from this, Acked-by: Nikita Kiryanov <nik...@compulab.co.il> > + char *mtdpart; /* MTD partition for ubi part */ > + char *ubivol; /* UBI

Re: [U-Boot] [PATCH 00/12] Introduce layout aware eeprom commands

2016-05-11 Thread Nikita Kiryanov
this be applied? On Mon, Apr 18, 2016 at 01:21:30PM +0200, Marek Vasut wrote: > On 04/18/2016 10:22 AM, Nikita Kiryanov wrote: > > On Sun, Apr 17, 2016 at 11:00:09PM +0200, Marek Vasut wrote: > >> On 04/17/2016 12:33 PM, Nikita Kiryanov wrote: > >>> Hi Marek, > >>>

Re: [U-Boot] [PATCH 00/12] Introduce layout aware eeprom commands

2016-04-18 Thread Nikita Kiryanov
On Sun, Apr 17, 2016 at 11:00:09PM +0200, Marek Vasut wrote: > On 04/17/2016 12:33 PM, Nikita Kiryanov wrote: > > Hi Marek, > > > > On Sun, Apr 17, 2016 at 11:47:23AM +0200, Marek Vasut wrote: > >> On 04/16/2016 04:55 PM, Nikita Kiryanov wrote: > >>>

Re: [U-Boot] [PATCH] splash_source: add support for ubifs formatted nand

2016-04-17 Thread Nikita Kiryanov
; > Signed-off-by: Eran Matityahu <era...@variscite.com> > Cc: Igor Grinberg <grinb...@compulab.co.il> > Cc: Tom Rini <tr...@konsulko.com> > Cc: Nikita Kiryanov <nik...@compulab.co.il> > --- > common/splash_source.c | 50 > ++

Re: [U-Boot] [PATCH 00/12] Introduce layout aware eeprom commands

2016-04-17 Thread Nikita Kiryanov
Hi Marek, On Sun, Apr 17, 2016 at 11:47:23AM +0200, Marek Vasut wrote: > On 04/16/2016 04:55 PM, Nikita Kiryanov wrote: > > This series introduces eeprom layout aware capabilities to the existing > > eeprom > > command, and then enables this feature on Compulab bo

[U-Boot] [PATCH 02/12] cmd: eeprom: add support for layout aware commands

2016-04-16 Thread Nikita Kiryanov
types of eeprom fields. Can be used for defining custom layouts. Cc: Heiko Schocher <h...@denx.de> Cc: Marek Vasut <ma...@denx.de> Cc: Simon Glass <s...@chromium.org> Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr...@konsulko.com> Signe

[U-Boot] [PATCH 01/12] cmd: eeprom: add bus switching support for all i2c drivers

2016-04-16 Thread Nikita Kiryanov
gt; Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr...@konsulko.com> Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> --- cmd/eeprom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/eeprom.c b/cmd/eeprom.c index 571240a..75def98 10064

[U-Boot] [PATCH 00/12] Introduce layout aware eeprom commands

2016-04-16 Thread Nikita Kiryanov
n Glass <s...@chromium.org> Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr...@konsulko.com> Nikita Kiryanov (12): cmd: eeprom: add bus switching support for all i2c drivers cmd: eeprom: add support for layout aware commands compulab: add support for layout awar

[U-Boot] [PATCH 03/12] compulab: add support for layout aware eeprom commands

2016-04-16 Thread Nikita Kiryanov
Add layout definitions and implement functions for field printing/updating, layout detection, layout assignment, and layout parsing. Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr...@konsulko.com> Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> --- boa

[U-Boot] [PATCH 12/12] eeprom: merge cmdline parsing of eeprom commands

2016-04-16 Thread Nikita Kiryanov
Vasut <ma...@denx.de> Cc: Simon Glass <s...@chromium.org> Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr...@konsulko.com> Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> --- cmd/eeprom.c | 117 +++---

[U-Boot] [PATCH 05/12] arm: cm-t335: add support for eeprom layout comands

2016-04-16 Thread Nikita Kiryanov
Add support for EEPROM and EEPROM layout commands for CM-T335. Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr...@konsulko.com> Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> --- include/configs/cm_t335.h | 11 +++ 1 file changed, 11 inserti

[U-Boot] [PATCH 11/12] eeprom: use eeprom_execute_command for all eeprom functions

2016-04-16 Thread Nikita Kiryanov
b.co.il> Cc: Tom Rini <tr...@konsulko.com> Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> --- cmd/eeprom.c | 59 +++ 1 file changed, 39 insertions(+), 20 deletions(-) diff --git a/cmd/eeprom.c b/cmd/eeprom.c index 27daf5

[U-Boot] [PATCH 07/12] arm: cm-t3517: add support for eeprom layout comands

2016-04-16 Thread Nikita Kiryanov
Add support for EEPROM and EEPROM layout commands for CM-T3517. Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr...@konsulko.com> Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> --- include/configs/cm_t3517.h | 11 +++ 1 file changed, 11 inserti

[U-Boot] [PATCH 09/12] arm: cm-t43: add support for eeprom layout comands

2016-04-16 Thread Nikita Kiryanov
Add support for EEPROM and EEPROM layout commands for CM-T43. Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr...@konsulko.com> Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> --- include/configs/cm_t43.h | 11 +++ 1 file changed, 11 insertions(+) di

[U-Boot] [PATCH 10/12] eeprom: refactor i2c bus and devaddr parsing

2016-04-16 Thread Nikita Kiryanov
.@denx.de> Cc: Simon Glass <s...@chromium.org> Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr...@konsulko.com> Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> --- cmd/eeprom.c | 79 1 file cha

[U-Boot] [PATCH 08/12] arm: cm-t35: add support for eeprom layout comands

2016-04-16 Thread Nikita Kiryanov
Add support for EEPROM and EEPROM layout commands for CM-T35. Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr...@konsulko.com> Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> --- include/configs/cm_t35.h | 11 +++ 1 file changed, 11 insertions(+) di

[U-Boot] [PATCH 06/12] arm: cm-t54: add support for eeprom layout comands

2016-04-16 Thread Nikita Kiryanov
Add support for EEPROM and EEPROM layout commands for CM-T54. Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr...@konsulko.com> Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> --- include/configs/cm_t54.h | 11 +++ 1 file changed, 11 insertions(+) di

[U-Boot] [PATCH 04/12] arm: cm-fx6: add support for eeprom layout comands

2016-04-16 Thread Nikita Kiryanov
Add support for EEPROM and EEPROM layout commands for CM-FX6. Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr...@konsulko.com> Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> --- include/configs/cm_fx6.h | 11 +++ 1 file changed, 11 insertions(+) di

[U-Boot] [PATCH] arm: am437x: cm-t43: bring back BOOTDELAY feature

2016-02-21 Thread Nikita Kiryanov
gor Grinberg <grinb...@compulab.co.il> Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> --- NOTE: this patch depends on the cm-t43 maintenance series: https://www.mail-archive.com/u-boot@lists.denx.de/msg204112.html include/configs/cm_t43.h | 2 -- 1 file changed, 2 deletions(

[U-Boot] [PATCH 04/10] arm: am437x: cm-t43: define prompt

2016-02-19 Thread Nikita Kiryanov
Define prompt for cm-t43. Cc: Tom Rini <tr...@konsulko.com> Cc: Albert Aribaud <albert.u.b...@aribaud.net> Cc: Igor Grinberg <grinb...@compulab.co.il> Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> --- configs/cm_t43_defconfig | 1 + 1 file changed, 1 insertion(

[U-Boot] [PATCH 08/10] arm: am437x: cm-t43: get rid of enable_vtt_regulator()

2016-02-19 Thread Nikita Kiryanov
CM-T43 does not have a vtt regulator. Remove the function that's supposed to enable it. Cc: Tom Rini <tr...@konsulko.com> Cc: Albert Aribaud <albert.u.b...@aribaud.net> Cc: Igor Grinberg <grinb...@compulab.co.il> Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> --

[U-Boot] [PATCH 10/10] arm: am437x: cm-t43: update parameters for raw mmc boot

2016-02-19 Thread Nikita Kiryanov
Update U-Boot offset and size for raw mmc boot. Cc: Tom Rini <tr...@konsulko.com> Cc: Albert Aribaud <albert.u.b...@aribaud.net> Cc: Igor Grinberg <grinb...@compulab.co.il> Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> --- include/configs/cm_t43.h | 4 1 fi

[U-Boot] [PATCH 06/10] pmic: tps65218: add useful functions and defines

2016-02-19 Thread Nikita Kiryanov
lbert.u.b...@aribaud.net> Cc: Igor Grinberg <grinb...@compulab.co.il> Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> --- drivers/power/pmic/pmic_tps65218.c | 56 ++ include/power/tps65218.h | 12 2 files changed, 68 i

[U-Boot] [PATCH 07/10] arm: am437x: cm-t43: set tps fseal bit

2016-02-19 Thread Nikita Kiryanov
.il> Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> --- board/compulab/cm_t43/cm_t43.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/board/compulab/cm_t43/cm_t43.c b/board/compulab/cm_t43/cm_t43.c index 445b609..0d5da6f 100644 --- a/board/compulab/cm_

[U-Boot] [PATCH 01/10] arm: am437x: cm-t43: fix cm-t43 boot

2016-02-19 Thread Nikita Kiryanov
spl_board_init() is necessary for boot. Remove the #undef that keeps it out of the boot sequence. Cc: Tom Rini <tr...@konsulko.com> Cc: Albert Aribaud <albert.u.b...@aribaud.net> Cc: Igor Grinberg <grinb...@compulab.co.il> Signed-off-by: Nikita Kiryanov <nik...@compula

[U-Boot] [PATCH 00/10] cm-t43 maintenance

2016-02-19 Thread Nikita Kiryanov
lbert.u.b...@aribaud.net> Cc: Igor Grinberg <grinb...@compulab.co.il> Nikita Kiryanov (10): arm: am437x: cm-t43: fix cm-t43 boot arm: am437x: cm-t43: migrate CONFIG_DM_SERIAL to config file arm: am437x: cm-t43: support all available SPI flash chips arm: am437x: cm-t43: define pr

[U-Boot] [PATCH 05/10] arm: am437x: cm-t43: split board file

2016-02-19 Thread Nikita Kiryanov
.il> Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> --- board/compulab/cm_t43/Makefile | 6 +- board/compulab/cm_t43/board.c | 272 - board/compulab/cm_t43/cm_t43.c | 144 ++ board/compulab/cm_t43/spl.c| 134 +

[U-Boot] [PATCH 03/10] arm: am437x: cm-t43: support all available SPI flash chips

2016-02-19 Thread Nikita Kiryanov
Add full support for SPI flash chips to future-proof U-Boot for cm-t43. Cc: Tom Rini <tr...@konsulko.com> Cc: Albert Aribaud <albert.u.b...@aribaud.net> Cc: Igor Grinberg <grinb...@compulab.co.il> Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> --- confi

[U-Boot] [PATCH 09/10] arm: am437x: cm-t43: set MPU and CORE voltages on boot

2016-02-19 Thread Nikita Kiryanov
a reboot and the module will likely hang once U-Boot raises the CPU frequency back up. Set both CORE and MPU regulators to to 1.1V on boot. Cc: Tom Rini <tr...@konsulko.com> Cc: Albert Aribaud <albert.u.b...@aribaud.net> Cc: Igor Grinberg <grinb...@compulab.co.il> Signed-off-by: Ni

[U-Boot] [PATCH 02/10] arm: am437x: cm-t43: migrate CONFIG_DM_SERIAL to config file

2016-02-19 Thread Nikita Kiryanov
Move CONFIG_DM_SERIAL to cm_t43_defconfig. This forces us to update the CONFIG_SYS_NS16550_REG_SIZE value for SPL. Cc: Tom Rini <tr...@konsulko.com> Cc: Albert Aribaud <albert.u.b...@aribaud.net> Cc: Igor Grinberg <grinb...@compulab.co.il> Signed-off-by: Nikita Kiryanov <

Re: [U-Boot] [PATCH V2] spl: if MMCSD_MODE_RAW fails, try MMCSD_MODE_FS

2016-02-19 Thread Nikita Kiryanov
gt; board hangs. This patch allows to try MMCSD_MODE_FS then. > > It has been tested on a beaglebone black to boot on an EXT partition. Acked-by: Nikita Kiryanov <nik...@compulab.co.il> > > Signed-off-by: Guillaume GARDET <guillaume.gar...@free.fr> > Cc: Tom Rini <t

Re: [U-Boot] [PATCH] spl: if MMCSD_MODE_RAW fails, try MMCSD_MODE_FS, if available

2016-02-18 Thread Nikita Kiryanov
On Thu, Feb 18, 2016 at 05:11:46PM +0100, Guillaume Gardet wrote: > > > Le 18/02/2016 17:07, Nikita Kiryanov a écrit : > >On Thu, Feb 18, 2016 at 09:36:01AM -0500, Tom Rini wrote: > >>On Thu, Feb 18, 2016 at 04:25:29PM +0200, Nikita Kiryanov wrote: > >>>On T

Re: [U-Boot] [PATCH] spl: if MMCSD_MODE_RAW fails, try MMCSD_MODE_FS, if available

2016-02-18 Thread Nikita Kiryanov
On Thu, Feb 18, 2016 at 09:36:01AM -0500, Tom Rini wrote: > On Thu, Feb 18, 2016 at 04:25:29PM +0200, Nikita Kiryanov wrote: > > On Thu, Feb 18, 2016 at 02:31:08PM +0100, Guillaume Gardet wrote: > > > > > > > > > Le 18/02/2016 14:07, Nikita Kiryanov a écrit :

Re: [U-Boot] [PATCH] spl: if MMCSD_MODE_RAW fails, try MMCSD_MODE_FS, if available

2016-02-18 Thread Nikita Kiryanov
On Thu, Feb 18, 2016 at 02:31:08PM +0100, Guillaume Gardet wrote: > > > Le 18/02/2016 14:07, Nikita Kiryanov a écrit : > >On Thu, Feb 18, 2016 at 11:06:32AM +0100, Guillaume Gardet wrote: > >>Hi Tom, Nikita , > >> > >>Le 18/02/2016 10:19, Nikita

Re: [U-Boot] [PATCH] spl: if MMCSD_MODE_RAW fails, try MMCSD_MODE_FS, if available

2016-02-18 Thread Nikita Kiryanov
On Thu, Feb 18, 2016 at 11:06:32AM +0100, Guillaume Gardet wrote: > Hi Tom, Nikita , > > Le 18/02/2016 10:19, Nikita Kiryanov a écrit : > >Hi Tom, Guillaume, > > > >On Wed, Feb 17, 2016 at 03:27:22PM -0500, Tom Rini wrote: > >>On Wed, Feb 17, 2016 at 09:0

Re: [U-Boot] [PATCH] spl: if MMCSD_MODE_RAW fails, try MMCSD_MODE_FS, if available

2016-02-18 Thread Nikita Kiryanov
d-off-by: Guillaume GARDET <guillaume.gar...@free.fr> > > Cc: Tom Rini <tr...@konsulko.com> > > Cc: Nikita Kiryanov <nik...@compulab.co.il> > > Cc: Igor Grinberg <grinb...@compulab.co.il> > > Cc: Paul Kocialkowski <cont...@paulk.fr> > >

Re: [U-Boot] [PATCH v3 1/3] spl: mmc: Fix compiler warning with CONFIG_DM_MMC

2015-12-03 Thread Nikita Kiryanov
ock_read(0, sector, 1, header); > ^ > common/spl/spl_mmc.c:251:14: note: ‘mmc’ was declared here > struct mmc *mmc; > > Correct this by move the variable init earlier. Acked-by: Nikita Kiryanov <nik...@compulab.co.il> > > Signed-off-by: Simon

Re: [U-Boot] [PATCH 1/3] spl: mmc: Fix compiler warning with CONFIG_DM_MMC

2015-12-01 Thread Nikita Kiryanov
Hi Simon, On Mon, Nov 30, 2015 at 10:19:06AM -0700, Simon Glass wrote: > Since commit 4188ba3 we get the following warning on rockchip boards: > > common/spl/spl_mmc.c:111:10: error: 'mmc' undeclared (first use in this > function) > > Correct this by move the variable init earlier. This looks

Re: [U-Boot] [PATCH 2/3] spl: mmc: Rename 'mmc' variable to 'mmcp'

2015-12-01 Thread Nikita Kiryanov
On Mon, Nov 30, 2015 at 10:19:07AM -0700, Simon Glass wrote: > The 'p' suffix makes it more obvious that we are dealing with a pointer > to a (pointer) value that will be returned to its caller. Acked-by: Nikita Kiryanov <nik...@compulab.co.il> > > Signed-off-by: Simon Glass

Re: [U-Boot] [U-Boot, V4, 10/13] spl: add support for alternative boot device

2015-11-19 Thread Nikita Kiryanov
Hi Tom, On Wed, Nov 18, 2015 at 05:33:20PM -0500, Tom Rini wrote: > On Sun, Nov 08, 2015 at 05:11:51PM +0200, Nikita Kiryanov wrote: > > > Introduce spl_boot_list array, which defines a list of boot devices > > that SPL will try before hanging. By default this list will c

Re: [U-Boot] [PATCH V2 0/5] Add support for additional splash screen locations

2015-11-15 Thread Nikita Kiryanov
Ping^2! On Sun, Nov 08, 2015 at 10:27:16AM +0200, Nikita Kiryanov wrote: > Ping! > > On Thu, Oct 29, 2015 at 11:54:39AM +0200, Nikita Kiryanov wrote: > > This series adds the following functionality to the splash_source library: > > - load splash image from filesystem

Re: [U-Boot] [PATCH V2 0/5] Add support for additional splash screen locations

2015-11-15 Thread Nikita Kiryanov
Adding Stefano to CC. On Sun, Nov 15, 2015 at 10:14:37AM +0200, Nikita Kiryanov wrote: > Ping^2! > > On Sun, Nov 08, 2015 at 10:27:16AM +0200, Nikita Kiryanov wrote: > > Ping! > > > > On Thu, Oct 29, 2015 at 11:54:39AM +0200, Nikita Kiryanov wrote: > >

[U-Boot] [PATCH V4 08/13] spl: change return values of spl_*_load_image()

2015-11-08 Thread Nikita Kiryanov
, they return normally and SPL proceeds to boot the contents of the load address. This is considered a bug and is rectified by hanging on error for these devices as well. Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr.

[U-Boot] [PATCH V4 02/13] spl: mmc: add break statements in spl_mmc_load_image()

2015-11-08 Thread Nikita Kiryanov
statements between the cases to make the function try only one boot mode. Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Paul Kocialkowski <cont...@paulk.fr> Cc: Pantelis Antoniou <pa...@antoniou-consulting.com> Cc: Tom R

[U-Boot] [PATCH V4 12/13] arm: mx6: cm-fx6: define fallback boot devices for spl

2015-11-08 Thread Nikita Kiryanov
Use spl alternate boot device feature to define fallback to the main boot device as it is defined by hardware. Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Stefano Babic <sba...@denx.de> Cc: Tom Rini <tr...@konsulko.

[U-Boot] [PATCH V4 07/13] spl: mmc: get rid of emmc boot code duplication

2015-11-08 Thread Nikita Kiryanov
Get rid of emmc boot code duplication in spl_mmc_load_image() using a switch case fallthrough into MMCSD_MODE_RAW. Since the #ifdef CONFIG_SUPPORT_EMMC_BOOT check is not really necessary, remove it in the process. No functional changes. Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il&

[U-Boot] [PATCH V4 04/13] spl: mmc: remove #ifdef CONFIG_SPL_OS_BOOT check

2015-11-08 Thread Nikita Kiryanov
Implement default versions of falcon mode functions to make the CONFIG_SPL_OS_BOOT check in spl_mmc_load_image() unnecessary, thus reducing its #ifdef complexity. No functional changes. Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> Cc: Igor Grinberg <grinb...@compulab.co.il&

[U-Boot] [PATCH V4 11/13] spl: announce boot devices

2015-11-08 Thread Nikita Kiryanov
Now that we support alternative boot devices, it can sometimes be unclear which boot devices was actually used. Provide a function to announce which boot devices are attempted during boot. Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> Cc: Igor Grinberg <grinb...@compulab.co.il

[U-Boot] [PATCH V4 10/13] spl: add support for alternative boot device

2015-11-08 Thread Nikita Kiryanov
Introduce spl_boot_list array, which defines a list of boot devices that SPL will try before hanging. By default this list will consist of only spl_boot_device(), but board_boot_order() can be overridden by board code to populate the array with custom values. Signed-off-by: Nikita Kiryanov <

[U-Boot] [PATCH V4 13/13] spl: mmc: add support for BOOT_DEVICE_MMC2

2015-11-08 Thread Nikita Kiryanov
Currently the mmc device that SPL looks at is always mmc0, regardless of the BOOT_DEVICE_MMCx value. This forces some boards to implement hacks in order to boot from other mmc devices. Make SPL take into account the correct mmc device. Signed-off-by: Nikita Kiryanov <nik...@compulab.co

[U-Boot] [PATCH V4 05/13] spl: mmc: get rid of #ifdef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION check

2015-11-08 Thread Nikita Kiryanov
-by: Nikita Kiryanov <nik...@compulab.co.il> Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Paul Kocialkowski <cont...@paulk.fr> Cc: Pantelis Antoniou <pa...@antoniou-consulting.com> Cc: Tom Rini <tr...@konsulko.com> Cc: Simon Glass <s...@chromium.org> Reviewed-by: Simo

[U-Boot] [PATCH V4 00/13] SPL mmc refactor and alternate boot device feature

2015-11-08 Thread Nikita Kiryanov
ck in sunxi boards that attempted to circumvent this issue is thus removed. - Rebased over current mainline. Nikita Kiryanov (13): spl: nand: remove code duplication spl: mmc: add break statements in spl_mmc_load_image() spl: mmc: refactor device location code to its own function spl: mmc:

[U-Boot] [PATCH V4 09/13] common: spl: move image load to its own function

2015-11-08 Thread Nikita Kiryanov
Refactor spl image load code out of board_init_r and into its own function. This is a preparation for supporting alternative boot devices. Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr...@konsulko.com>

[U-Boot] [PATCH V4 03/13] spl: mmc: refactor device location code to its own function

2015-11-08 Thread Nikita Kiryanov
. With this refactor, we fail the moment there is an error. Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Paul Kocialkowski <cont...@paulk.fr> Cc: Pantelis Antoniou <pa...@antoniou-consulting.com> Cc: Tom Rini <tr...@konsu

[U-Boot] [PATCH V4 01/13] spl: nand: remove code duplication

2015-11-08 Thread Nikita Kiryanov
Remove code duplication in spl_nand_load_image(). No functional changes. Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> Cc: Scott Wood <scottw...@freescale.com> Cc: Igor Grinberg <grinb...@compulab.co.il> Acked-by: Scott Wood <scottw...@freescale.com> Rev

[U-Boot] [PATCH V4 06/13] spl: mmc: move fs boot into its own function

2015-11-08 Thread Nikita Kiryanov
Move the code that handles fs boot out of spl_mmc_load_image() and into its own function to reduce the #ifdef complexity of spl_mmc_load_image(). No functional changes. Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Paul Kocial

Re: [U-Boot] [PATCH V2 0/5] Add support for additional splash screen locations

2015-11-08 Thread Nikita Kiryanov
Ping! On Thu, Oct 29, 2015 at 11:54:39AM +0200, Nikita Kiryanov wrote: > This series adds the following functionality to the splash_source library: > - load splash image from filesystem formatted usb storage > - load splash image from filesystem formatted mmc storage > - load splas

[U-Boot] [PATCH V3 11/13] spl: announce boot devices

2015-11-03 Thread Nikita Kiryanov
Now that we support alternative boot devices, it can sometimes be unclear which boot devices was actually used. Provide a function to announce which boot devices are attempted during boot. Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> Cc: Igor Grinberg <grinb...@compulab.co.il

[U-Boot] [PATCH V3 08/13] spl: change return values of spl_*_load_image()

2015-11-03 Thread Nikita Kiryanov
, they return normally and SPL proceeds to boot the contents of the load address. This is considered a bug and is rectified by hanging on error for these devices as well. Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr.

Re: [U-Boot] [PATCH V2 11/13] spl: announce boot devices

2015-11-03 Thread Nikita Kiryanov
On Thu, Oct 29, 2015 at 11:19:53AM -0600, Simon Glass wrote: > Hi Nikita, > > On 28 October 2015 at 03:23, Nikita Kiryanov <nik...@compulab.co.il> wrote: > > Now that we support alternative boot devices, it can sometimes be > > unclear which boot devices was actual

Re: [U-Boot] [PATCH V2 03/13] spl: mmc: refactor device location code to its own function

2015-10-31 Thread Nikita Kiryanov
Hi Simon, On Thu, Oct 29, 2015 at 11:19:16AM -0600, Simon Glass wrote: > Hi Nikita, > > On 28 October 2015 at 03:23, Nikita Kiryanov <nik...@compulab.co.il> wrote: > > Simplify spl_mmc_load_image() code by moving the part that finds the mmc > > devic

Re: [U-Boot] [PATCH V2 08/13] spl: change return values of spl_*_load_image()

2015-10-31 Thread Nikita Kiryanov
Hi Simon, On Thu, Oct 29, 2015 at 11:19:38AM -0600, Simon Glass wrote: > Hi Nikita, > > On 28 October 2015 at 03:23, Nikita Kiryanov <nik...@compulab.co.il> wrote: > > Make spl_*_load_image() functions return a value instead of > > hanging if a problem is encountered.

Re: [U-Boot] [PATCH V2 10/13] spl: add support for alternative boot device

2015-10-31 Thread Nikita Kiryanov
On Thu, Oct 29, 2015 at 11:19:51AM -0600, Simon Glass wrote: > Hi Nikita, > > On 28 October 2015 at 03:23, Nikita Kiryanov <nik...@compulab.co.il> wrote: > > Introduce spl_boot_list array, which defines a list of boot devices > > that SPL will try before hanging. By def

[U-Boot] [PATCH V2 0/5] Add support for additional splash screen locations

2015-10-29 Thread Nikita Kiryanov
code so that #ifdefs are outside of the functions. This affects patches 3 and 4. Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr...@konsulko.com> Nikita Kiryanov (5): splash_source: rename *_read() to *_read_raw() splash_source: add support for filesystem fo

[U-Boot] [PATCH V2 1/5] splash_source: rename *_read() to *_read_raw()

2015-10-29 Thread Nikita Kiryanov
Rename raw read functions to *_read_raw() in preparation for supporting read_fs() feature. Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr...@konsulko.com> Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> Acked-by: Igor Grinberg <grinb...@compulab.co.

[U-Boot] [PATCH V2 4/5] splash_source: add support for filesystem formatted sata

2015-10-29 Thread Nikita Kiryanov
Add support for loading splashimage from filesystem formatted sata storage. Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr...@konsulko.com> Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> --- Changes in V2: - Refactored device initialization co

[U-Boot] [PATCH V2 2/5] splash_source: add support for filesystem formatted mmc

2015-10-29 Thread Nikita Kiryanov
Add support for loading splash image from an SD card formatted with a filesystem. Update boards to maintain original behavior where needed. Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr...@konsulko.com> Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il>

[U-Boot] [PATCH V2 3/5] splash_source: add support for filesystem formatted usb

2015-10-29 Thread Nikita Kiryanov
Add support for loading splash image from USB drive formatted with a filesystem. Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr...@konsulko.com> Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> --- Changes in V2: - Refactored device initialization co

[U-Boot] [PATCH V2 5/5] arm: mx6: cm-fx6: add splash locations to cm-fx6

2015-10-29 Thread Nikita Kiryanov
Add the following splash locations to cm-fx6: * filesystem formatted mmc * filesystem formatted usb * filesystem formatted sata Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr...@konsulko.com> Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> Acked-by: Ig

[U-Boot] [PATCH V2 10/13] spl: add support for alternative boot device

2015-10-28 Thread Nikita Kiryanov
Introduce spl_boot_list array, which defines a list of boot devices that SPL will try before hanging. By default this list will consist of only spl_boot_device(), but board_boot_order() can be overridden by board code to populate the array with custom values. Signed-off-by: Nikita Kiryanov <

[U-Boot] [PATCH V2 06/13] spl: mmc: move fs boot into its own function

2015-10-28 Thread Nikita Kiryanov
Move the code that handles fs boot out of spl_mmc_load_image() and into its own function to reduce the #ifdef complexit of spl_mmc_load_image(). No functional changes. Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Paul Kocial

[U-Boot] [PATCH V2 00/13] SPL mmc refactor and alternate boot device feature

2015-10-28 Thread Nikita Kiryanov
G to avoid compiler complaints if LIBCONFIG support not compiled in. - Patch 13 is a new patch which makes SPL look at the value of BOOT_DEVICE_MMCx instead of always working with mmc0. A hack in sunxi boards that attempted to circumvent this issue is thus removed. - Rebased over current mainline

[U-Boot] [PATCH V2 02/13] spl: mmc: add break statements in spl_mmc_load_image()

2015-10-28 Thread Nikita Kiryanov
statements between the cases to make the function try only one boot mode. Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Paul Kocialkowski <cont...@paulk.fr> Cc: Pantelis Antoniou <pa...@antoniou-consulting.com> Cc: Tom R

[U-Boot] [PATCH V2 01/13] spl: nand: remove code duplication

2015-10-28 Thread Nikita Kiryanov
Remove code duplication in spl_nand_load_image(). No functional changes. Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> Cc: Scott Wood <scottw...@freescale.com> Cc: Igor Grinberg <grinb...@compulab.co.il> Acked-by: Scott Wood <scottw...@freescale.c

[U-Boot] [PATCH V2 04/13] spl: mmc: remove #ifdef CONFIG_SPL_OS_BOOT check

2015-10-28 Thread Nikita Kiryanov
Implement default versions of falcon mode functions to make the CONFIG_SPL_OS_BOOT check in spl_mmc_load_image() unnecessary, thus reducing its #ifdef complexity. No functional changes. Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> Cc: Igor Grinberg <grinb...@compulab.co.il&

[U-Boot] [PATCH V2 08/13] spl: change return values of spl_*_load_image()

2015-10-28 Thread Nikita Kiryanov
, they return normally and SPL proceeds to boot the contents of the load address. This is considered a bug and is rectified by hanging on error for these devices as well. Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr.

[U-Boot] [PATCH V2 05/13] spl: mmc: get rid of #ifdef CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION check

2015-10-28 Thread Nikita Kiryanov
-by: Nikita Kiryanov <nik...@compulab.co.il> Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Paul Kocialkowski <cont...@paulk.fr> Cc: Pantelis Antoniou <pa...@antoniou-consulting.com> Cc: Tom Rini <tr...@konsulko.com> Cc: Simon Glass <s...@chromium.org> --- Changes in V2

[U-Boot] [PATCH V2 03/13] spl: mmc: refactor device location code to its own function

2015-10-28 Thread Nikita Kiryanov
. With this refactor, we fail the moment there is an error. Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Paul Kocialkowski <cont...@paulk.fr> Cc: Pantelis Antoniou <pa...@antoniou-consulting.com> Cc: Tom Rini <tr...@konsu

[U-Boot] [PATCH V2 09/13] common: spl: move image load to its own function

2015-10-28 Thread Nikita Kiryanov
Refactor spl image load code out of board_init_r and into its own function. This is a preparation for supporting alternative boot devices. Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr...@konsulko.com>

[U-Boot] [PATCH V2 11/13] spl: announce boot devices

2015-10-28 Thread Nikita Kiryanov
Now that we support alternative boot devices, it can sometimes be unclear which boot devices was actually used. Provide a function to announce which boot devices are attempted during boot. Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> Cc: Igor Grinberg <grinb...@compulab.co.il

[U-Boot] [PATCH V2 12/13] arm: mx6: cm-fx6: define fallback boot devices for spl

2015-10-28 Thread Nikita Kiryanov
Use spl alternate boot device feature to define fallback to the main boot device as it is defined by hardware. Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Stefano Babic <sba...@denx.de> Cc: Tom Rini <tr...@konsulko.c

[U-Boot] [PATCH V2 13/13] spl: mmc: add support for BOOT_DEVICE_MMC2

2015-10-28 Thread Nikita Kiryanov
Currently the mmc device that SPL looks at is always mmc0, regardless of the BOOT_DEVICE_MMCx value. This forces some boards to implement hacks in order to boot from other mmc devices. Make SPL take into account the correct mmc device. Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il&

[U-Boot] [PATCH V2 07/13] spl: mmc: get rid of emmc boot code duplication

2015-10-28 Thread Nikita Kiryanov
Get rid of emmc boot code duplication in spl_mmc_load_image() using a switch case fallthrough into MMCSD_MODE_RAW. Since the #ifdef CONFIG_SUPPORT_EMMC_BOOT check is not really necessary, remove it in the process. No functional changes. Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il&

Re: [U-Boot] [PATCH 3/5] splash_source: add support for filesystem formatted usb

2015-10-26 Thread Nikita Kiryanov
On Fri, Oct 23, 2015 at 04:12:01PM +0300, Igor Grinberg wrote: > On 10/23/15 13:23, Nikita Kiryanov wrote: > > On Wed, Oct 21, 2015 at 04:01:46PM +0300, Igor Grinberg wrote: > >> On 08/30/15 11:42, Nikita Kiryanov wrote: > >>> Add support for loading splash

Re: [U-Boot] [PATCH 00/12] SPL mmc refactor and alternate boot device feature

2015-10-23 Thread Nikita Kiryanov
Hi Otavio, On Thu, Oct 22, 2015 at 10:24:57AM -0200, Otavio Salvador wrote: > On Thu, Oct 22, 2015 at 10:01 AM, Nikita Kiryanov <nik...@compulab.co.il> > wrote: > > This series has two parts: patches 1-7 perform refactors aimed at reducing > > the > > ifdef comple

Re: [U-Boot] [PATCH 2/5] splash_source: add support for filesystem formatted mmc

2015-10-23 Thread Nikita Kiryanov
On Wed, Oct 21, 2015 at 03:25:58PM +0300, Igor Grinberg wrote: > Hi Nikita, > > On 08/30/15 11:42, Nikita Kiryanov wrote: > > Add support for loading splash image from an SD card formatted with > > a filesystem. Update boards to maintain original behavior where needed. >

Re: [U-Boot] [PATCH 3/5] splash_source: add support for filesystem formatted usb

2015-10-23 Thread Nikita Kiryanov
On Wed, Oct 21, 2015 at 04:01:46PM +0300, Igor Grinberg wrote: > On 08/30/15 11:42, Nikita Kiryanov wrote: > > Add support for loading splash image from USB drive formatted with a > > filesystem. > > > > Cc: Igor Grinberg <grinb...@compulab.co.il> > > Cc: T

[U-Boot] [PATCH 10/12] spl: add support for alternative boot device

2015-10-22 Thread Nikita Kiryanov
Introduce spl_boot_list array, which defines a list of boot devices that SPL will try before hanging. By default this list will consist of only spl_boot_device(), but board_boot_order() can be overridden by board code to populate the array with custom values. Signed-off-by: Nikita Kiryanov <

[U-Boot] [PATCH 08/12] spl: change return values of spl_*_load_image()

2015-10-22 Thread Nikita Kiryanov
, they return normally and SPL proceeds to boot the contents of the load address. This is considered a bug and is rectified by hanging on error for these devices as well. Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Tom Rini <tr.

[U-Boot] [PATCH 12/12] arm: mx6: cm-fx6: define fallback boot devices for spl

2015-10-22 Thread Nikita Kiryanov
Use spl alternate boot device feature to define fallback to the main boot device as it is defined by hardware. Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> Cc: Igor Grinberg <grinb...@compulab.co.il> Cc: Stefano Babic <sba...@denx.de> Cc: Tom Rini <tr...@kon

[U-Boot] [PATCH 01/12] spl: nand: remove code duplication

2015-10-22 Thread Nikita Kiryanov
Remove code duplication in spl_nand_load_image(). No functional changes. Signed-off-by: Nikita Kiryanov <nik...@compulab.co.il> Cc: Scott Wood <scottw...@freescale.com> Cc: Igor Grinberg <grinb...@compulab.co.il> --- common/spl/spl_nand.c | 31 ---

  1   2   3   4   5   6   7   >