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
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
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
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
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
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
>
> 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
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&
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
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
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,
> >>>
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:
> >>>
;
> 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
> ++
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
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
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
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
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
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 +++---
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
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
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
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
.@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
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
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
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
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(
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(
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>
--
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
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
.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_
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
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
.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 +
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
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
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 <
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
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
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 :
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
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
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>
> >
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
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
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
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
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
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:
> >
, 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.
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
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.
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&
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&
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
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 <
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
-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
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:
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>
. 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
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
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
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
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
, 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.
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
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
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.
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
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
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.
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
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>
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
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
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 <
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
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
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
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
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&
, 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.
-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
. 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
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>
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
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
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&
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&
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
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
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.
>
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
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 <
, 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.
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
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 - 100 of 604 matches
Mail list logo