Hi Adam,
On Wed, Oct 12, 2022 at 06:42:22AM -0500, Adam Ford wrote:
[snip]
> On my board the GPMC runs more than just NAND. I am hoping to get the
> GPMC driver working in U-Boot first then in SPL (assuming it fits). I
> have LTO enabled on my DM3730, so I am hoping it might help make some
> roo
IG_NET_RANDOM_ETHADDR=y
> +# CONFIG_NET is not set
> CONFIG_SYS_I2C_LEGACY=y
> CONFIG_SPL_SYS_I2C_LEGACY=y
> CONFIG_MMC_OMAP_HS=y
> @@ -81,9 +81,6 @@ CONFIG_SYS_NAND_PAGE_SIZE=0x800
> CONFIG_SYS_NAND_OOBSIZE=0x40
> CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
> CONFIG_MTD_UBI_FASTMAP=y
> -CONF
Hello Boris,
On Wed, Dec 12, 2018 at 10:32:51AM +0100, Boris Brezillon wrote:
> Hi Ladislav,
>
> On Tue, 11 Dec 2018 23:55:26 +0100
> Ladislav Michl wrote:
>
> > Hi Boris,
> >
> > On Mon, Dec 10, 2018 at 04:38:50PM +0100, Boris Brezillon wrote:
> > >
Hi Boris,
On Mon, Dec 10, 2018 at 04:38:50PM +0100, Boris Brezillon wrote:
> The only implementer of this function has been patched to use
> CONFIG_MTD{IDS,PARTS}_DEFAULT instead. Let's get rid of this function
> and the associated CONFIG_SYS_MTDPARTS_RUNTIME option.
the only implementer of this
On Fri, Sep 07, 2018 at 10:51:00AM +0200, Marek Vasut wrote:
> On 09/07/2018 08:24 AM, Ley Foon Tan wrote:
> > Change to use managed resource function devm_kcalloc(),
> > so it will auto free memory when driver is removed.
> >
> > Signed-off-by: Ley Foon Tan
> >
> > ---
> > v2:
> > - Remove free
On Tue, May 22, 2018 at 01:23:13PM +0200, Richard Weinberger wrote:
> Am Dienstag, 22. Mai 2018, 12:56:48 CEST schrieb Marek Vasut:
> > On 05/10/2018 10:57 PM, Marek Vasut wrote:
> > > On 04/27/2018 03:51 PM, Patrice Chotard wrote:
> > >> This patch solves assert failed displayed in the console dur
On Wed, May 16, 2018 at 04:39:42PM +0200, Marek Behún wrote:
> This can be used to detect whether the button is pressed or light the
> LED diode.
Well, I know it is annoying, but as patch is oneliner anyway, let's get
at least commit log right.
LED stands for Light-Emitting Diode, so Light-Emitti
: Ladislav Michl
---
Stefano,
if want this patch to be splitted, just let me know.
I didn't want to make it two fewliners...
board/technexion/twister/twister.c | 17 -
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/board/technexion/twister/twister.c
b/
On Mon, Nov 27, 2017 at 03:53:27PM +0100, jsanabria wrote:
> I could mount ubifs using ubifsmount command but there were a bit of
> warnings and then after trying to boot the spl did not find volume at all.
SPL is not supposed to load kernel from UBIFS (filesystem), but directly from
UBI volume. O
Dear Jose Miguel,
On Mon, Nov 27, 2017 at 11:45:11AM +0100, Jose Miguel Sanchez Sanabria wrote:
> Hi everyone.
>
> I was testing the booting process from NAND using an UBI/UBIFS image in an
> igepv2 board.
I'm happy to see someone from ISEE being interested in mainline support
for their own prod
On Wed, Nov 22, 2017 at 02:37:49PM +0100, Ladislav Michl wrote:
> On Wed, Nov 22, 2017 at 01:37:54PM +0100, Heinrich Schuchardt wrote:
[snip]
> > I agree that there is a memory leak. But we should put fixing that into a
> > separate patch so that we can test both modificat
On Wed, Nov 22, 2017 at 01:37:54PM +0100, Heinrich Schuchardt wrote:
> On 11/21/2017 11:40 PM, Ladislav Michl wrote:
> > On Tue, Nov 21, 2017 at 11:06:35PM +0100, Heinrich Schuchardt wrote:
> > > If 'file' cannot be allocated due to an out of memory
> >
On Wed, Nov 22, 2017 at 09:09:36AM +0100, Wolfgang Denk wrote:
> Dear Ladislav,
>
> In message <2017112121.ryicwv6tyh5rye2e@lenoch> you wrote:
> > > >
> > > > diff --git a/fs/ubifs/ubifs.c b/fs/ubifs/ubifs.c
> > > > index 4465523d5f..313dee0579 100644
> > > > --- a/fs/ubifs/ubifs.c
> > > > ++
this patch also avoids a misleading message
> "cannot find next direntry, error %d" in case of an out of
> memory situation. It is sufficent to write
> "%s: Error, no memory for malloc!\n" in this case.
>
> Reported-by: Ladislav Michl
> Reported-by: Alex Sado
On Tue, Nov 21, 2017 at 10:29:51PM +0100, Heinrich Schuchardt wrote:
>
>
> On 11/21/2017 09:23 PM, Ladislav Michl wrote:
> > On Tue, Nov 21, 2017 at 07:45:03PM +0100, Heinrich Schuchardt wrote:
> > > If 'file' cannot be allocated due to an out of memory
>
On Tue, Nov 21, 2017 at 10:16:40PM +0100, Wolfgang Denk wrote:
> Dear Heinrich,
>
> In message <20171121184503.3193-1-xypron.g...@gmx.de> you wrote:
> > If 'file' cannot be allocated due to an out of memory
> > situation, do not dereference it.
> >
> > When debugging this patch also avoids a misl
On Tue, Nov 21, 2017 at 07:45:03PM +0100, Heinrich Schuchardt wrote:
> If 'file' cannot be allocated due to an out of memory
> situation, do not dereference it.
>
> When debugging this patch also avoids a misleading message
> "cannot find next direntry, error %d" in case of an out of
> memory situ
On Thu, Nov 16, 2017 at 04:34:51PM -0200, Otavio Salvador wrote:
> On Thu, Nov 16, 2017 at 4:21 PM, Marek Vasut wrote:
> > On 11/16/2017 01:02 PM, Otavio Salvador wrote:
> >> On Thu, Nov 16, 2017 at 6:12 AM, Marek Vasut wrote:
> >>> On 11/15/2017 05:47 PM, Stefan Agner wrote:
> On 2017-11-14
On Mon, Nov 06, 2017 at 12:31:32PM -0500, Liam Beguin wrote:
> Hi,
>
> Thanks for taking the time to answer.
>
> On 11/05/2017 03:37 AM, Ladislav Michl wrote:
> > On Tue, Oct 31, 2017 at 11:01:21AM -0400, Liam Beguin wrote:
> > > Hi everyone,
> > >
>
On Tue, Oct 31, 2017 at 11:01:21AM -0400, Liam Beguin wrote:
> Hi everyone,
>
> I'm currently using a UBIFS root file system (stored on SPI-NOR flash)
> and would like to perform a full integrity check before booting it.
> The rootfs is read-only and until now, I've been computing an md5sum on
> t
board_rev environment variables display board and
revision informations
- Move dtb name selection from code to boot script
Signed-off-by: Pau Pajuelo
Signed-off-by: Ladislav Michl
---
Changes:
-v2: Move dtb name selection from code to boot script
Use board_rev to hold board revision
Avoid cluttering board file with CONFIG_SPL_BUILD ifdefs
by moving SPL related functions into separate file.
Signed-off-by: Ladislav Michl
---
board/isee/igep00x0/Makefile | 6 +-
board/isee/igep00x0/common.c | 80 ++
board/isee/igep00x0/igep00x0.c | 128
Hi Pau,
code with your patch "igep00x0: merge igep0020 and igep0030 defconfigs to
igep00x0_defconfig" applied no longer fits to sram (and patch even does
not apply anymore), so here's an update:
- move spl related functions to separate file
- update defconfig merge patch to current git
- use board
-by: Pau Pajuelo
Reviewed-by: Ladislav Michl
Btw, once here, it would be nice to detect also CPU family as OMAP3530
devices cannot boot with omap3-igep0020.dtb and patch bellow is needed
(unless there is a better solution, I'll provide patch):
diff --git a/arch/arm/boot/dts/omap3-igep.dtsi
Implement spl_start_uboot to let Falcon mode work.
Signed-off-by: Ladislav Michl
---
board/isee/igep003x/board.c | 8
configs/am335x_igep003x_defconfig | 1 +
2 files changed, 9 insertions(+)
diff --git a/board/isee/igep003x/board.c b/board/isee/igep003x/board.c
index 2d0ebbf5ef
Fastmap significantly reduces flash scan time, enable it by default.
Signed-off-by: Ladislav Michl
---
configs/igep0020_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/igep0020_defconfig b/configs/igep0020_defconfig
index 3856d3faec..a86a00997f 100644
--- a/configs
Fastmap was always enabled in ubispl, make it selectable by
CONFIG_MTD_UBI_FASTMAP.
Signed-off-by: Ladislav Michl
---
common/spl/spl_ubi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/spl/spl_ubi.c b/common/spl/spl_ubi.c
index 24633f4766..83089335a7 100644
--- a
bad.
Signed-off-by: Ladislav Michl
---
drivers/mtd/onenand/onenand_base.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/onenand/onenand_base.c
b/drivers/mtd/onenand/onenand_base.c
index 2e3d0e5c9a..8282f683a5 100644
--- a/drivers/mtd/onenand/onenand_base.c
Current implementation is unable to access second half of
DDP OneNAND flash (reads first half mirrored). Use block
and bufferram address calculations from onenand_base to
fix this.
Signed-off-by: Ladislav Michl
---
drivers/mtd/onenand/onenand_spl.c | 29 +
1 file
Do not call onenand_spl_get_geometry() for each block read.
Signed-off-by: Ladislav Michl
---
drivers/mtd/onenand/onenand_spl.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/onenand/onenand_spl.c
b/drivers/mtd/onenand/onenand_spl.c
index 1925f41d8a
nand_spl_load_image implementation was copied over into three
different drivers and now with nand_spl_read_block used for
ubispl situation gets even worse. For now use least intrusive
solution and #include the same implementation to nand drivers.
Signed-off-by: Ladislav Michl
Tested-by: Pau
From: Pau Pajuelo
netboot allows to boot an external image using TFTP and NFS protocols
Signed-off-by: Pau Pajuelo
Signed-off-by: Ladislav Michl
---
include/configs/am335x_igep003x.h | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/include/configs
/100/1000 Mbps and 10/100 Mbps controller on-board
o JTAG debug connector available
o Designed for industrial range purposes
Signed-off-by: Pau Pajuelo
Signed-off-by: Ladislav Michl
---
arch/arm/mach-omap2/am33xx/Kconfig | 1 +
board/isee/igep003x/board.c
Convert IGEP board to use UBI volumes for U-Boot, its environment and
kernel. With exception of first four sectors read by SoC BootROM whole
NAND is UBI managed.
Signed-off-by: Ladislav Michl
---
board/isee/igep003x/board.c | 17 +++
configs/am335x_igep0033_defconfig | 4
Rename igep0033 to igep003x as IGEP SMARC AM335x module (igep0034)
can use the same source files.
Signed-off-by: Ladislav Michl
---
arch/arm/Kconfig | 2 +-
arch/arm/mach-omap2/am33xx/Kconfig | 4 ++--
board/isee/{igep0033
nand_spl_load_image implementation was copied over into three
different drivers and now with nand_spl_read_block used for
ubispl situation gets even worse. For now use least intrusive
solution and #include the same implementation to nand drivers.
Signed-off-by: Ladislav Michl
---
drivers/mtd
am33xx does not support OneNAND, but we need this define anyway
to let UBI SPL code compile.
Signed-off-by: Ladislav Michl
---
arch/arm/include/asm/arch-am33xx/spl.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/include/asm/arch-am33xx/spl.h
b/arch/arm/include/asm/arch-am33xx
Signed-off-by: Ladislav Michl
---
arch/arm/include/asm/arch-am33xx/spl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/arch-am33xx/spl.h
b/arch/arm/include/asm/arch-am33xx/spl.h
index f744ab0782..9df7b4ac45 100644
--- a/arch/arm/include/asm/arch-am33xx
Hi there!
this series adds support for ISEE's IGEP SMARC AM335x module.
Patches 1, 2 and 4 are safe to apply, patch 3 is where a bit
of controversy lays. I'm fine with redoing it, whenever better
proposal appears, but note I'm not able to test all platforms
(that's why I did it this way). Patch 5
Currently nandecc returns zero even if underlaying
omap_nand_switch_ecc function fails. Fix that by
propagating error returned to command return value.
Signed-off-by: Ladislav Michl
---
Changes:
- v2: Add changelog text.
arch/arm/include/asm/arch-am33xx/sys_proto.h | 2 +-
arch/arm/include
Signed-off-by: Ladislav Michl
---
arch/arm/include/asm/arch-am33xx/sys_proto.h | 2 +-
arch/arm/include/asm/arch-omap3/sys_proto.h | 2 +-
arch/arm/mach-omap2/omap3/board.c| 32
3 files changed, 16 insertions(+), 20 deletions(-)
diff --git a/arch/arm
Leave only detected flash type enabled in FTD as otherwise GPMC CS is
claimed (and never freed) by Linux, causing 'concurent' flash type
not to be probed.
Signed-off-by: Ladislav Michl
---
board/isee/igep00x0/igep00x0.c | 19 +++
1 file changed, 19 insertions(+)
di
ror (which is also printed on
console).
So, until proper solution is developed, disable environment
alltogether.
Signed-off-by: Ladislav Michl
---
include/configs/omap3_igep00x0.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/omap3_igep00x0.h b/inclu
On Wed, Feb 08, 2017 at 06:03:33PM +0530, Lokesh Vutla wrote:
> To make SPL_OF_CONTROL work on OAP2+ SoCs, _image_binary_end must be
OMAP2+ ---> ^
Just a nitpick, but helps grepping for changes in git log.
Thank you,
ladis
> defined in the linker script along wit
On Tue, Jan 31, 2017 at 03:35:51AM +0100, Ladislav Michl wrote:
> To get Falcon mode working with zImage is currently non trivial as zImages
> do not fit into U-Boot's image concept too well. Fortunately at least for
> ARM boards it seems getting memory node right is quite sufficient
To get Falcon mode working with zImage is currently non trivial as zImages
do not fit into U-Boot's image concept too well. Fortunately at least for
ARM boards it seems getting memory node right is quite sufficient.
What about changing 'fdt memory' command to update memory node according to
detecte
, and AM3703 and correctly display their maximum speed.
Signed-off-by: Adam Ford
Tested-by: Ladislav Michl
---
Changes:
- v2: rebase on top of spelling fix
add Tested-by line
indent header file
arch/arm/include/asm/arch-omap3/omap.h | 8 +++
arch/arm/mach-omap2/omap3
Frequency is measured in Hz.
Signed-off-by: Ladislav Michl
---
arch/arm/mach-omap2/omap3/sys_info.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-omap2/omap3/sys_info.c
b/arch/arm/mach-omap2/omap3/sys_info.c
index 6818fab253..1f8b5ad77c 100644
--- a
Currently maximum volume size can be specified only if no other
arguments are used. Use '-' placeholder as volume size to allow
maximum volume size to be specified together with volume id and
type.
Signed-off-by: Ladislav Michl
---
cmd/ubi.c | 8 +---
1 file changed, 5 insert
SPL partition size depends on sector size and we want kernel to use
the same layout, so let U-Boot modify FDT accordingly.
Signed-off-by: Ladislav Michl
---
Changes:
-v2 rebased against current git as it no longer applies
board/isee/igep00x0/igep00x0.c | 17 +
configs
kit8000.c
> ./board/lg/sniper/sniper.c
> ./board/ti/beagle/beagle.c
> ./drivers/serial/serial_rockchip.c
Quick test shows igep00x0 also suffers from this issue.
Are you going to collect fixes and apply them as one patch or
shall I sent a separate patch?
Anyway, here's fix for igep00x
Signed-off-by: Ladislav Michl
---
lib/efi_loader/.gitignore | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/efi_loader/.gitignore b/lib/efi_loader/.gitignore
new file mode 100644
index 00..634a600f84
--- /dev/null
+++ b/lib/efi_loader/.gitignore
@@ -0,0 +1,2 @@
+*.efi
+*.so
Boards with NAND and OneNAND are supported by single configuration,
thus remove now obsolete IGEP0020_NAND BOARD entry.
Signed-off-by: Ladislav Michl
---
board/isee/igep00x0/MAINTAINERS | 6 --
1 file changed, 6 deletions(-)
diff --git a/board/isee/igep00x0/MAINTAINERS b/board/isee
SPL partition size depends on sector size and we want kernel to use
the same layout, so let U-Boot modify FDT accordingly.
Signed-off-by: Ladislav Michl
---
board/isee/igep00x0/igep00x0.c | 17 +
configs/igep0020_defconfig | 2 ++
configs/igep0030_defconfig | 2
fdt_fixup_mtdparts currently does nothing when partitin info is
runtime generated or compiled-in defaults are used.
Signed-off-by: Ladislav Michl
---
common/fdt_support.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/common/fdt_support.c b/common/fdt_support.c
index c9f7019e38
Replace hardcoded value with defined constant SECTOR_BYTES.
Signed-off-by: Ladislav Michl
---
drivers/mtd/nand/omap_gpmc.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/mtd/nand/omap_gpmc.c b/drivers/mtd/nand/omap_gpmc.c
index d1e1bdda28..f4f0de395b 100644
On Wed, Jan 04, 2017 at 12:06:48PM -0600, Adam Ford wrote:
> This patch adds scripts to burn the kernel, U-Boot, and MLO to NAND.
> The RootFS needs to be added and programmed from the kernel for now.
Do you really need this all in environment? What about making this u-boot
script and store it on
t.st_mode)) {
> + fclose(fp);
> return;
> + }
>
> do {
> r = fscanf(fp, "%x %x", ®init.address, ®init.data);
what about something like this?
Best regards,
ladis (bored waiting for the lunch ;-))
Signed-off-by
Hi Patrick,
On Thu, Nov 24, 2016 at 02:14:22PM +, Patrick DELAUNAY wrote:
> Hi Ladislav,
>
> >
> > Hi,
> >
> > On Tue, Nov 22, 2016 at 02:24:39PM +0100, Patrick Delaunay wrote:
> > >
> > > I have a request to support GPT over MTD to be able to have dynamic
> > > MTD informations without u-B
Hi,
On Tue, Nov 22, 2016 at 02:24:39PM +0100, Patrick Delaunay wrote:
>
> I have a request to support GPT over MTD to be able to have dynamic
> MTD informations without u-Boot environment(CONFIG_ENV_IS_NOWHERE
> is a other requirement of my project).
I'm just curious, could you provide some reas
On Fri, Nov 04, 2016 at 12:42:57PM -0300, Javier Martinez Canillas wrote:
> Hello Ladis,
>
> On 11/04/2016 08:55 AM, Ladislav Michl wrote:
> > As a single U-Boot binary can now run on various board modifications,
> > drop CONFIG_DISPLAY_BOARDINFO as it prints flash memor
Tested on IGEPv2 with Micron MT29F4G16ABBDA3W and
Hynix H27S4G6F2DKA-BM
Signed-off-by: Ladislav Michl
---
Changes in v2:
- None
diff --git a/board/isee/igep00x0/igep00x0.c b/board/isee/igep00x0/igep00x0.c
index 71688cc..669f3dd 100644
--- a/board/isee/igep00x0/igep00x0.c
+++ b/board/isee
Defconfigs should remain the same except CONFIG_SYS_EXTRA_OPTIONS.
Drop NAND specific defconfig as flash type is runtime detected.
Signed-off-by: Ladislav Michl
---
Changes in v2:
- fix screwup caused by mismerge
- update to current git
diff --git a/configs/igep0030_defconfig b/configs
As a single U-Boot binary can now run on various board modifications,
drop CONFIG_DISPLAY_BOARDINFO as it prints flash memory information
too early to give us chance to easily detect it. Also saves few bytes
as a bonus.
Signed-off-by: Ladislav Michl
---
Changes in v2:
- update to current git
Hi Enric,
On Tue, Sep 20, 2016 at 05:41:02PM +0200, Enric Balletbo Serra wrote:
[snip]
> I must NACK for now these series, meanwhile I don't find time to look
> at this deeply. I think this will break lots of things. For example,
> will this u-boot boot a non-device tree based kernel without break
On Wed, Oct 19, 2016 at 04:52:50PM +, Diego Dorta wrote:
[snip]
> Yes, all these commands works fine with uImage. I understood now.
> But, how do I do to use zImage instead of uImage?
I've never used spl export as I have fdt prepared during build time.
Looking at source, zImage support is not
Hi,
On Tue, Oct 18, 2016 at 04:36:54PM +, Diego Dorta wrote:
> Hi all,
>
> According to commit log:
>
> commit 431889d6ad9a39846636716478d504aa7ff976fc
> Author: Ladislav Michl
> Date: Tue Jul 12 20:28:14 2016 +0200
>
> spl: zImage support in Falcon mode
t; >>
> > >> 2016-09-21 11:39 GMT+02:00 Ladislav Michl :
> > >> > On Tue, Sep 20, 2016 at 08:26:36PM -0400, Tom Rini wrote:
> > >> >> On Wed, Sep 21, 2016 at 01:52:21AM +0200, Ladislav Michl wrote:
> > >> >> > On Tue, Sep 20, 2016
On Tue, Sep 20, 2016 at 08:26:36PM -0400, Tom Rini wrote:
> On Wed, Sep 21, 2016 at 01:52:21AM +0200, Ladislav Michl wrote:
> > On Tue, Sep 20, 2016 at 07:45:14PM -0400, Tom Rini wrote:
[snip]
> > > But why do we even need to set MACH_TYPE these days?
> >
> > Tha
On Tue, Sep 20, 2016 at 07:45:14PM -0400, Tom Rini wrote:
> On Wed, Sep 21, 2016 at 12:44:17AM +0200, Ladislav Michl wrote:
[snip]
> > Gah... I have to screw it up while resolving conflicts with upstream
> > changes.
> > Obviously MACH_TYPE has to remain the same. Will do v
--
>From 2f7c58982e7e58dae092e2db60385cb2448b9d31 Mon Sep 17 00:00:00 2001
From: Ladislav Michl
Date: Tue, 9 Aug 2016 12:46:07 +0200
Subject: [PATCH v2] igep00x0: consolidate defconfigs
Update defconfigs and drop NAND specific defconfig as flash type
is runtime detected.
Signed-off-by: L
On Tue, Sep 20, 2016 at 08:52:21AM -0400, Tom Rini wrote:
> On Tue, Sep 20, 2016 at 11:07:57AM +0200, Ladislav Michl wrote:
> > Update defconfigs and drop NAND specific defconfig as flash type
> > is runtime detected.
> >
> > Signed-off-by: Ladislav Michl
> > --
Tested on IGEPv2 with Micron MT29F4G16ABBDA3W and
Hynix H27S4G6F2DKA-BM
Signed-off-by: Ladislav Michl
---
board/isee/igep00x0/igep00x0.c | 20
1 file changed, 16 insertions(+), 4 deletions(-)
diff --git a/board/isee/igep00x0/igep00x0.c b/board/isee/igep00x0/igep00x0.c
Update defconfigs and drop NAND specific defconfig as flash type
is runtime detected.
Signed-off-by: Ladislav Michl
---
configs/igep0030_defconfig | 5 -
configs/igep0030_nand_defconfig | 30 --
configs/igep0032_defconfig | 4 +++-
3 files changed, 7
As a single U-Boot binary can now run on various board modifications,
drop CONFIG_DISPLAY_BOARDINFO as there's no known way to distinguish
between them. Also saves few bytes as a bonus.
Signed-off-by: Ladislav Michl
---
board/isee/igep00x0/igep00x0.c | 18 --
include/co
Signed-off-by: Ladislav Michl
---
diff --git a/cmd/ubi.c b/cmd/ubi.c
index 4a92d84..b66bc62 100644
--- a/cmd/ubi.c
+++ b/cmd/ubi.c
@@ -162,7 +162,7 @@ bad:
return err;
}
-static int ubi_create_vol(char *volume, int64_t size, int dynamic)
+static int ubi_create_vol(char *volume, int64_t
An attempt to write non block aligned data fails silently, add warning and
set result.
Signed-off-by: Ladislav Michl
---
cmd/onenand.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/cmd/onenand.c b/cmd/onenand.c
index feab01a..090f835 100644
--- a/cmd/onenand.c
+++ b/cmd/onenand.c
> > Tested on OMAP4 Pandaboard, OMAP3 Beagle xM
>
> Verified on AM437x-GP EVM.
>
> Tested-by: Lokesh Vutla
> Acked-by: Lokesh Vutla
Verified on IGEPv2.
Tested-by: Ladislav Michl
Also note, that this patch and CONFIG_SPL_SYS_MALLOC_SIMPLE is needed
for sucessfull build (with g
On Mon, Aug 22, 2016 at 08:22:17AM -0400, Tom Rini wrote:
[snip]
> diff --git a/include/configs/cm_t3517.h b/include/configs/cm_t3517.h
> index ea9983bc7d43..a89ccb73b178 100644
> --- a/include/configs/cm_t3517.h
> +++ b/include/configs/cm_t3517.h
> @@ -10,8 +10,6 @@
> #ifndef __CONFIG_H
> #defin
On Fri, Jul 29, 2016 at 05:57:58PM +0200, Petr Kubiz??ák wrote:
> Ok, I get it, then I'll have to deal with two defconfigs and reflashing for
> now.
>
> Anyway, at least a user feedback / feature request... I believe it would be
> useful for many users to have a manufacturing mode, which they woul
Signed-off-by: Ladislav Michl
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
board/isee/igep00x0/igep00x0.c | 18 ++
include/configs/omap3_igep00x0.h | 1 +
2 files changed, 19 insertions(+)
diff --git a/board/isee/igep00x0/igep00x0.c b
Implement spl_start_uboot to let Falcon mode work.
Signed-off-by: Ladislav Michl
Reviewed-by: Heiko Schocher
Acked-by: Enric Balletbo i Serra
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
board/isee/igep00x0/igep00x0.c | 12
1 file changed
CONFIG_SPL_EXT_SUPPORT to make it fit.
Signed-off-by: Ladislav Michl
Reviewed-by: Heiko Schocher
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
configs/igep0020_defconfig | 4 +-
configs/igep0020_nand_defconfig | 27 -
include/configs/omap3_igep00x0.h | 85
Signed-off-by: Ladislav Michl
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
board/isee/igep00x0/igep00x0.c | 71 +++---
1 file changed, 53 insertions(+), 18 deletions(-)
diff --git a/board/isee/igep00x0/igep00x0.c b
Signed-off-by: Ladislav Michl
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
board/isee/igep00x0/igep00x0.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/board/isee/igep00x0/igep00x0.h b/board/isee/igep00x0/igep00x0.h
index e47ee66..5698efa 100644
Signed-off-by: Ladislav Michl
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
board/isee/igep00x0/igep00x0.c | 41 +
1 file changed, 17 insertions(+), 24 deletions(-)
diff --git a/board/isee/igep00x0/igep00x0.c b
Signed-off-by: Ladislav Michl
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
board/isee/igep00x0/igep00x0.c | 8
1 file changed, 8 deletions(-)
diff --git a/board/isee/igep00x0/igep00x0.c b/board/isee/igep00x0/igep00x0.c
index 4baaee5..5dfb7d2
unless explicitely deleted or
redefined.
Signed-off-by: Ladislav Michl
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
cmd/mtdparts.c | 22 --
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/cmd/mtdparts.c b/cmd/mtdparts.c
block size. This patch adds support
for the latter option.
Signed-off-by: Ladislav Michl
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
cmd/mtdparts.c | 21 -
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/cmd/mtdparts.c b
Signed-off-by: Ladislav Michl
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
board/isee/igep00x0/igep00x0.c | 18 ++
board/isee/igep00x0/igep00x0.h | 18 --
2 files changed, 18 insertions(+), 18 deletions(-)
diff --git a
A private buffer is used to read mtdparts variable from non-relocated
environment. A pointer to that buffer is returned unconditionally,
confusing later test for variable presence in the environment.
Fix it by returning NULL when getenv_f fails.
Signed-off-by: Ladislav Michl
---
Changes in v5
Signed-off-by: Ladislav Michl
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
cmd/mtdparts.c | 42 --
1 file changed, 20 insertions(+), 22 deletions(-)
diff --git a/cmd/mtdparts.c b/cmd/mtdparts.c
index 995cb87
-off-by: Ladislav Michl
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
cmd/mtdparts.c | 23 +--
1 file changed, 13 insertions(+), 10 deletions(-)
diff --git a/cmd/mtdparts.c b/cmd/mtdparts.c
index 3a88a10..995cb87 100644
--- a/cmd
Signed-off-by: Ladislav Michl
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
board/micronas/vct/ebi_onenand.c | 4 +++-
board/samsung/goni/onenand.c | 4 +++-
board/samsung/smdkc100/onenand.c | 4 +++-
board/samsung/universal_c210
io_init checks this value and fails with "bad write buffer size 0 for
2048 min. I/O unit"
Signed-off-by: Ladislav Michl
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
drivers/mtd/onenand/onenand_base.c | 1 +
1 file changed, 1 insertion(+)
di
Add timeout to onenand_wait ready loop as it hangs here indefinitely
when chip not present. Once there, do the same for onenand_bbt_wait
as well (note: recent Linux driver code does the same)
Signed-off-by: Ladislav Michl
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes
Allow boards to runtime detect flash type.
Signed-off-by: Ladislav Michl
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/arm/cpu/armv7/omap-common/mem-common.c | 148 +---
arch/arm/include/asm/arch-omap3/sys_proto.h | 1
Use newly introduced function
Signed-off-by: Ladislav Michl
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/arm/cpu/armv7/omap3/spl_id_nand.c | 35 +++---
1 file changed, 11 insertions(+), 24 deletions(-)
diff --git a/arch
Signed-off-by: Ladislav Michl
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/arm/cpu/armv7/omap-common/mem-common.c | 8 +++-
arch/arm/include/asm/arch-omap3/sys_proto.h | 4 ++--
drivers/mtd/nand/omap_gpmc.c| 3 ++-
include/linux
timeout.
Signed-off-by: Ladislav Michl
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/arm/cpu/armv7/omap3/spl_id_nand.c | 32 +
arch/arm/include/asm/arch-omap3/sys_proto.h | 2 +-
2 files changed, 15 insertions(+), 19
1 - 100 of 256 matches
Mail list logo