cannot be obtained.
>
> While on it, fix a spelling mistake in a comment introduced by the
> same commit.
Reviewed-by: Nikita Kiryanov
>
> Fixes: 62d6bac66038 ("ARM: board: cm_fx6: fixup mtd partitions in the fdt")
> Signed-off-by: Christopher Spinrath
> ---
>
Hi Christopher, Stefano,
Whole series:
Acked-by: Nikita Kiryanov
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 patch (2/4) touching include/f
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 t
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
>
> Signed-off-by: Christopher Spinrath
> ---
> include/configs/
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
One nit-pick below:
>
> Fixes: 41855186afd3 ("arm: mx6: cm-fx6: modify device tree for old
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
>
> Signed-off-by: Eran Matityahu
> Cc: Heiko Schocher
> Cc: Igor Grinberg
&g
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 S
devpart; /* Use the load command dev:part conventions */
> + u32 offset; /* Offset from start of storage */
> + char *devpart; /* Use the load command dev:part conventions */
The above two changes, as well as the header SDPX change, are unrelated
to the subject of the patch. The
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:
> >>>
this.
>
> Signed-off-by: Eran Matityahu
> Cc: Igor Grinberg
> Cc: Tom Rini
> Cc: Nikita Kiryanov
> ---
> common/splash_source.c | 50
> ++
> include/splash.h | 6 --
> 2 files changed, 50 insertions(+), 6 d
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 boards. It
types of
eeprom fields. Can be used for defining custom layouts.
Cc: Heiko Schocher
Cc: Marek Vasut
Cc: Simon Glass
Cc: Igor Grinberg
Cc: Tom Rini
Signed-off-by: Nikita Kiryanov
---
README| 1 +
cmd/eeprom.c | 148
-off-by: Nikita Kiryanov
---
cmd/eeprom.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/eeprom.c b/cmd/eeprom.c
index 571240a..75def98 100644
--- a/cmd/eeprom.c
+++ b/cmd/eeprom.c
@@ -68,7 +68,7 @@ void eeprom_init(int bus)
#endif
/* I2C EEPROM */
-#if defined
50
MAC address e6:00:ff:ff:01:02
Board Revision0304
Serial Number 0506
Board Configuration
�Tw8�
Reserved fields (176 bytes)
CM-T43 #
Cc: Heiko Schocher
Cc: Marek Vasut
Cc: Simon Glass
Cc: Igor Grinberg
Cc: T
Add layout definitions and implement functions for field printing/updating,
layout detection, layout assignment, and layout parsing.
Cc: Igor Grinberg
Cc: Tom Rini
Signed-off-by: Nikita Kiryanov
---
board/compulab/common/eeprom.c | 344 +
1 file changed
Glass
Cc: Igor Grinberg
Cc: Tom Rini
Signed-off-by: Nikita Kiryanov
---
cmd/eeprom.c | 117 +++
1 file changed, 53 insertions(+), 64 deletions(-)
diff --git a/cmd/eeprom.c b/cmd/eeprom.c
index cc973ca..b35f5f9 100644
--- a/cmd/eeprom.c
+++ b
Add support for EEPROM and EEPROM layout commands for CM-T335.
Cc: Igor Grinberg
Cc: Tom Rini
Signed-off-by: Nikita Kiryanov
---
include/configs/cm_t335.h | 11 +++
1 file changed, 11 insertions(+)
diff --git a/include/configs/cm_t335.h b/include/configs/cm_t335.h
index adf05b1
Update eeprom_execute_command() and related code to accommodate both layout
aware and layout unaware functions.
No functional changes.
Cc: Heiko Schocher
Cc: Marek Vasut
Cc: Simon Glass
Cc: Igor Grinberg
Cc: Tom Rini
Signed-off-by: Nikita Kiryanov
---
cmd/eeprom.c | 59
Add support for EEPROM and EEPROM layout commands for CM-T3517.
Cc: Igor Grinberg
Cc: Tom Rini
Signed-off-by: Nikita Kiryanov
---
include/configs/cm_t3517.h | 11 +++
1 file changed, 11 insertions(+)
diff --git a/include/configs/cm_t3517.h b/include/configs/cm_t3517.h
index d8a29f0
Add support for EEPROM and EEPROM layout commands for CM-T43.
Cc: Igor Grinberg
Cc: Tom Rini
Signed-off-by: Nikita Kiryanov
---
include/configs/cm_t43.h | 11 +++
1 file changed, 11 insertions(+)
diff --git a/include/configs/cm_t43.h b/include/configs/cm_t43.h
index 1c1951c..598e7c1
Grinberg
Cc: Tom Rini
Signed-off-by: Nikita Kiryanov
---
cmd/eeprom.c | 79
1 file changed, 53 insertions(+), 26 deletions(-)
diff --git a/cmd/eeprom.c b/cmd/eeprom.c
index 114d68f..27daf59 100644
--- a/cmd/eeprom.c
+++ b/cmd/eeprom.c
Add support for EEPROM and EEPROM layout commands for CM-T35.
Cc: Igor Grinberg
Cc: Tom Rini
Signed-off-by: Nikita Kiryanov
---
include/configs/cm_t35.h | 11 +++
1 file changed, 11 insertions(+)
diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h
index 3910b46..9496e24
Add support for EEPROM and EEPROM layout commands for CM-T54.
Cc: Igor Grinberg
Cc: Tom Rini
Signed-off-by: Nikita Kiryanov
---
include/configs/cm_t54.h | 11 +++
1 file changed, 11 insertions(+)
diff --git a/include/configs/cm_t54.h b/include/configs/cm_t54.h
index c8c67c4..8e48128
Add support for EEPROM and EEPROM layout commands for CM-FX6.
Cc: Igor Grinberg
Cc: Tom Rini
Signed-off-by: Nikita Kiryanov
---
include/configs/cm_fx6.h | 11 +++
1 file changed, 11 insertions(+)
diff --git a/include/configs/cm_fx6.h b/include/configs/cm_fx6.h
index b36ba14..3e6c228
config_distro_defaults.h (#define CONFIG_BOOTDELAY 2)
dance in cm_t43.h is no longer valid and in fact leads to CONFIG_BOOTDELAY
not being defined.
Adapt the config file to the new inclusion hierarchy.
Cc: Tom Rini
Cc: Albert Aribaud
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
NOTE: this
Define prompt for cm-t43.
Cc: Tom Rini
Cc: Albert Aribaud
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
configs/cm_t43_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/cm_t43_defconfig b/configs/cm_t43_defconfig
index 672117a..d1da759 100644
--- a/configs
CM-T43 does not have a vtt regulator. Remove the function that's supposed
to enable it.
Cc: Tom Rini
Cc: Albert Aribaud
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
board/compulab/cm_t43/spl.c | 12
1 file changed, 12 deletions(-)
diff --git a/board/compulab/c
Update U-Boot offset and size for raw mmc boot.
Cc: Tom Rini
Cc: Albert Aribaud
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
include/configs/cm_t43.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/configs/cm_t43.h b/include/configs/cm_t43.h
index 329a5ea..ae15095
: Nikita Kiryanov
---
drivers/power/pmic/pmic_tps65218.c | 56 ++
include/power/tps65218.h | 12
2 files changed, 68 insertions(+)
diff --git a/drivers/power/pmic/pmic_tps65218.c
b/drivers/power/pmic/pmic_tps65218.c
index dbc7a73..0fd0ad4
Set TPS65218 FSEAL bit to 1 so that RTC could be powered using on-board
3V battery. This is necessary so that time and date will survive reboots and
power offs.
Cc: Tom Rini
Cc: Albert Aribaud
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
board/compulab/cm_t43/cm_t43.c | 9
spl_board_init() is necessary for boot. Remove the #undef that keeps
it out of the boot sequence.
Cc: Tom Rini
Cc: Albert Aribaud
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
include/configs/cm_t43.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/configs/cm_t43.h b
This is a bugfix series for cm-t43 resolving issues with boot and power supply,
as well as some cleanups and minor adjustments. It also update raw mmc boot
parameters for cm-t43, and adds some useful features to the tps65218 driver.
Cc: Tom Rini
Cc: Albert Aribaud
Cc: Igor Grinberg
Nikita
Simplify the board file by splitting it to spl portion and u-boot portion.
Some unnecessary includes were identified and removed. No functional changes.
Cc: Tom Rini
Cc: Albert Aribaud
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
board/compulab/cm_t43/Makefile | 6 +-
board
Add full support for SPI flash chips to future-proof U-Boot for cm-t43.
Cc: Tom Rini
Cc: Albert Aribaud
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
configs/cm_t43_defconfig | 11 +++
include/configs/cm_t43.h | 2 --
2 files changed, 11 insertions(+), 2 deletions(-)
diff
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
Cc: Albert Aribaud
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
board/compulab/cm_t43/spl.c | 15 +++
include/configs/cm_t43
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
Cc: Albert Aribaud
Cc: Igor Grinberg
Signed-off-by: Nikita Kiryanov
---
configs/cm_t43_defconfig | 1 +
include/configs/cm_t43.h | 4 +++-
2 files changed, 4
ard 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
>
> Signed-off-by: Guillaume GARDET
> Cc: Tom Rini
> Cc: Nikita Kiryanov
> Cc: Igor Grinberg
> Cc: Paul Kocialkowsk
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
gt; > RAW and FS boot modes are now exclusive again. So, if MMCSD_MODE_RAW fails,
> > the
> > board hangs. This patch allows to try MMCSD_MODE_FS then, if available.
> >
> > It has been tested on a beaglebone black to boot on an EXT partition.
> >
> > Signe
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
>
> Signed-off-by:
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
>
> Signed-off-by: Simon Glass
> ---
>
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
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
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:
> >
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
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
Reviewed-by: Tom Rini
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
Cc: Igor Grinberg
Cc: Paul Kocialkowski
Cc: Pantelis Antoniou
Cc: Tom Rini
reak statements between the cases to make
the
function try only one boot mode.
Signed-off-by: Nikita Kiryanov
Cc: Igor Grinberg
Cc: Paul Kocialkowski
Cc: Pantelis Antoniou
Cc: Tom Rini
Cc: Simon Glass
Reviewed-by: Simon Glass
Reviewed-by: Tom Rini
---
Changes in V4:
- No changes.
, 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
Cc: Igor Grinberg
Cc: Tom Rini
Cc: Simon Glass
Cc: Ian Campbell
Cc: Hans De Goede
Cc: Albert
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
Cc: Igor Grinberg
Cc: Stefano Babic
Cc: Tom Rini
Reviewed-by: Tom Rini
Reviewed-by: Stefano Babic
---
Changes in V4:
- No changes.
Changes
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
Cc: Igor Grinberg
Cc: Paul
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
Cc: Igor Grinberg
Cc: Tom Rini
Cc: Simon Glass
Reviewed-by: Tom Rini
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
Cc
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
Cc: Igor Grinberg
Cc: Paul Kocialkowski
Cc: Pantelis Antoniou
Cc: Tom Rini
Cc: Simon Glass
Remove code duplication in spl_nand_load_image().
No functional changes.
Signed-off-by: Nikita Kiryanov
Cc: Scott Wood
Cc: Igor Grinberg
Acked-by: Scott Wood
Reviewed-by: Simon Glass
---
Changes in V4:
- No changes.
Changes in V3:
- No changes.
Changes in V2:
- No
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.
Nikita Kiryanov (13):
spl: nand: remove c
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
Cc: Igor Grinberg
Cc: Tom Rini
Cc: Simon Glass
Reviewed-by: Simon Glass
Reviewed-by: Tom Rini
---
Changes in V4
: Nikita Kiryanov
Cc: Igor Grinberg
Cc: Paul Kocialkowski
Cc: Pantelis Antoniou
Cc: Tom Rini
Cc: Simon Glass
Reviewed-by: Simon Glass
Reviewed-by: Tom Rini
---
Changes in V4:
- No changes.
Changes in V3:
- No changes.
Changes in V2:
- No changes.
common/spl/spl_mmc.c
this refactor, we fail
the moment there is an error.
Signed-off-by: Nikita Kiryanov
Cc: Igor Grinberg
Cc: Paul Kocialkowski
Cc: Pantelis Antoniou
Cc: Tom Rini
Cc: Simon Glass
Reviewed-by: Simon Glass
---
Changes in V4:
- s/puts/printf/
Changes in V3:
- No changes.
Changes
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
Cc: Igor Grinberg
Cc: Tom Rini
Cc: Simon Glass
---
Changes in V3
, 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
Cc: Igor Grinberg
Cc: Tom Rini
Cc: Simon Glass
Cc: Ian Campbell
Cc: Hans De Goede
Cc: Albert
On Thu, Oct 29, 2015 at 11:19:53AM -0600, Simon Glass wrote:
> Hi Nikita,
>
> On 28 October 2015 at 03:23, Nikita Kiryanov wrote:
> > Now that we support alternative boot devices, it can sometimes be
> > unclear which boot devices was actually used. Provide a function to
&g
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 wrote:
> > Make spl_*_load_image() functions return a value instead of
> > hanging if a problem is encountered. This enables main spl code
>
On Thu, Oct 29, 2015 at 11:19:51AM -0600, Simon Glass wrote:
> Hi Nikita,
>
> On 28 October 2015 at 03:23, 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 wil
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 wrote:
> > Simplify spl_mmc_load_image() code by moving the part that finds the mmc
> > device
> > into its own function spl_mmc_find
code so that #ifdefs are outside of
the functions. This affects patches 3 and 4.
Cc: Igor Grinberg
Cc: Tom Rini
Nikita Kiryanov (5):
splash_source: rename *_read() to *_read_raw()
splash_source: add support for filesystem formatted mmc
splash_source: add support for file
Rename raw read functions to *_read_raw() in preparation for supporting
read_fs() feature.
Cc: Igor Grinberg
Cc: Tom Rini
Signed-off-by: Nikita Kiryanov
Acked-by: Igor Grinberg
---
Changes in V2:
- No changes.
common/splash_source.c | 18 +-
1 file changed, 9
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
Cc: Tom Rini
Signed-off-by: Nikita Kiryanov
---
Changes in V2:
- Added "splashfile" env variable to select splash
Add the following splash locations to cm-fx6:
* filesystem formatted mmc
* filesystem formatted usb
* filesystem formatted sata
Cc: Igor Grinberg
Cc: Tom Rini
Signed-off-by: Nikita Kiryanov
Acked-by: Igor Grinberg
---
Changes in V2:
- No changes.
board/compulab/cm_fx6/cm_fx6.c | 18
Add support for loading splash image from USB drive formatted with a
filesystem.
Cc: Igor Grinberg
Cc: Tom Rini
Signed-off-by: Nikita Kiryanov
---
Changes in V2:
- Refactored device initialization code so that #ifdefs are outside of
the functions. This affects patches 3 and 4
Add support for loading splashimage from filesystem formatted sata
storage.
Cc: Igor Grinberg
Cc: Tom Rini
Signed-off-by: Nikita Kiryanov
---
Changes in V2:
- Refactored device initialization code so that #ifdefs are outside of
the functions.
common/splash_source.c | 20
, 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
Cc: Igor Grinberg
Cc: Tom Rini
Cc: Simon Glass
Cc: Ian Campbell
Cc: Hans De Goede
Cc: Albert
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
Cc: Hans De Goede
Cc: Tom
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
Cc: Igor Grinberg
Cc: Tom Rini
Cc: Simon Glass
---
Changes in V2:
- No changes.
common/spl/spl.c | 117
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
Cc: Igor Grinberg
Cc: Tom Rini
Cc: Simon Glass
---
Changes in V2
: Nikita Kiryanov
Cc: Igor Grinberg
Cc: Paul Kocialkowski
Cc: Pantelis Antoniou
Cc: Tom Rini
Cc: Simon Glass
---
Changes in V2:
- No changes.
common/spl/spl_mmc.c | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c
this refactor, we fail
the moment there is an error.
Signed-off-by: Nikita Kiryanov
Cc: Igor Grinberg
Cc: Paul Kocialkowski
Cc: Pantelis Antoniou
Cc: Tom Rini
Cc: Simon Glass
---
Changes in V2:
- No changes.
common/spl/spl_mmc.c | 77
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
Cc: Igor Grinberg
Cc: Stefano Babic
Cc: Tom Rini
---
Changes in V2:
- No changes.
board/compulab/cm_fx6/spl.c | 19
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
Cc: Igor Grinberg
Cc: Paul
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
Cc: Igor Grinberg
Cc: Paul Kocialkowski
Cc: Pantelis Antoniou
Cc: Tom Rini
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
Cc
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
Cc: Igor Grinberg
Cc: Paul Kocialkowski
Cc: Pantelis Antoniou
Cc: Tom Rini
Cc: Simon Glass
always working with mmc0. A hack 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
Remove code duplication in spl_nand_load_image().
No functional changes.
Signed-off-by: Nikita Kiryanov
Cc: Scott Wood
Cc: Igor Grinberg
Acked-by: Scott Wood
---
Changes in V2:
- No changes.
common/spl/spl_nand.c | 31 ---
1 file changed, 16 insertions
reak statements between the cases to make
the
function try only one boot mode.
Signed-off-by: Nikita Kiryanov
Cc: Igor Grinberg
Cc: Paul Kocialkowski
Cc: Pantelis Antoniou
Cc: Tom Rini
Cc: Simon Glass
---
Changes in V2:
- Removed hang() in default cases, moved default case into ifdef
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 image f
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
> > Cc: Tom Rini
&
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
> wrote:
> > This series has two parts: patches 1-7 perform refactors aimed at reducing
> > the
> > ifdef complexity of SPL mmc code (and
Hi,
On Thu, Oct 22, 2015 at 02:42:22PM +0200, Hans de Goede wrote:
> Hi,
>
> On 22-10-15 14:01, Nikita Kiryanov wrote:
> >Simplify spl_mmc_load_image() code by moving the part that finds the mmc
> >device
> >into its own function spl_mmc_find_device(), available in tw
Hi,
On Thu, Oct 22, 2015 at 03:23:21PM +0200, Hans de Goede wrote:
> Hi,
>
> On 22-10-15 15:08, Nikita Kiryanov wrote:
> >On Thu, Oct 22, 2015 at 02:37:11PM +0200, Hans de Goede wrote:
> >>Hi,
> >>
> >>On 22-10-15 14:01, Nikit
On Thu, Oct 22, 2015 at 02:47:29PM +0200, Hans de Goede wrote:
Hi Hans,
> Hi,
>
> On 22-10-15 14:01, Nikita Kiryanov wrote:
> >Implement defaults for the raw partition image loading so that the #ifdef
> >CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION in spl_mmc_load_image()
On Thu, Oct 22, 2015 at 02:37:11PM +0200, Hans de Goede wrote:
> Hi,
>
> On 22-10-15 14:01, Nikita Kiryanov wrote:
> >The original intention of the mmc load_image() function was to try multiple
> >boot modes before failing. This is evident by the lack of break statements
>
1 - 100 of 607 matches
Mail list logo