> Hi Shyam,
>
> On 8/13/19 3:40 PM, Shyam Saini wrote:
> > Hi Parthiban,
> >
> > Thanks a lot for working on this.
>
> Still enabling SECURE_BOOT fails to boot. Am yet to figure out this.
> Do you have secure boot working from NAND?
I haven't tried secur
t; - memcpy(fcb_raw_page + 12, fcb, sizeof(struct fcb_block));
> - encode_hamming_13_8(fcb_raw_page + 12, fcb_raw_page + 12 + 512, 512);
> + if (is_mx6ul() || is_mx6ull()) {
> + /* 40 bit BCH, for i.MX6UL(L) */
> + encod
Hello Everyone,
I tried to run "nand erase.part" and "nand erase.chip" on imx6ul isiot
board and it hangs up and after some time it starts to give this error
message:
MXS NAND: DMA read error
MXS NAND: Error sending command
I printed error number which was -110, did anybody else face this proble
> On Tue, 18 Jun 2019 13:27:13 +0530
> Shyam Saini wrote:
>
> > Hi Lukasz,
> >
> >
> > > Hi Shyam,
> > >
> > > > Signed-off-by: Shyam Saini
> > > > ---
> > > > doc/imx/common/imx6.txt | 74
> > >
Hi Lukasz,
> Hi Shyam,
>
> > Signed-off-by: Shyam Saini
> > ---
> > doc/imx/common/imx6.txt | 74
> > + 1 file changed, 74
> > insertions(+)
> >
> > diff --git a/doc/imx/common/imx6.txt b/doc/imx/
Hi Igor,
> Hi Shyam,
>
> On Fri, Jun 14, 2019 at 10:37 AM Shyam Saini
> wrote:
> >
> > Writing/updating boot image in nand device is not
> > straight forward in i.MX6 platform and it requires
> > boot control block(BCB) to be configured.
> >
> >
imx6ul-isiot-mmc.dts was removed in uboot version v2018.03 and from then
onwards IMX6UL isiot uses imx6ul-isiot-emmc.dts for mmc, so remove
unnecessary check for mmc.
Signed-off-by: Shyam Saini
---
board/engicam/common/board.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/board/engicam
Signed-off-by: Shyam Saini
---
doc/imx/common/imx6.txt | 74 +
1 file changed, 74 insertions(+)
diff --git a/doc/imx/common/imx6.txt b/doc/imx/common/imx6.txt
index eab88353f6..0b5061128c 100644
--- a/doc/imx/common/imx6.txt
+++ b/doc/imx/common
This also enables mtd configs which are required by nandbcb command.
This command would be used to configure boot control block(BCB) while
writing spl image on nand device.
Signed-off-by: Shyam Saini
---
configs/imx6qdl_icore_mmc_defconfig | 4
1 file changed, 4 insertions(+)
diff --git
from doc/imx/common/imx6.txt for more usage
information.
Reviewed-by: Stefano Babic
Signed-off-by: Jagan Teki
Signed-off-by: Sergey Kubushyn
Signed-off-by: Shyam Saini
---
Changes for v6:
- Consolidate v5 patch 1 and patch 2 into one single patch
- Make separate docs patch out of v5 patch
> >
> > Add Kconfig entry for CMD_NANDBCB, and default y on i.MX6
> > platform with NAND_MXS defined.
> >
> > Reviewed-by: Stefano Babic
> > Signed-off-by: Jagan Teki
> > Signed-off-by: Shyam Saini
> > ---
> > Hi,
> >
> > This p
This would be used for writing spl images along nand BCB
Signed-off-by: Shyam Saini
---
This patch should be applied on top of imx nand bcb [1]patch
series
[1] https://patchwork.ozlabs.org/project/uboot/list/?series=113319
configs/imx6qdl_icore_mmc_defconfig | 1 +
1 file changed, 1 insertion
from doc/imx/common/imx6.txt for more usage
information.
Signed-off-by: Jagan Teki
Signed-off-by: Sergey Kubushyn
Signed-off-by: Shyam Saini
---
Changes for v5:
- Move mxs_nand.h file from drivers/mtd/nand/raw/ to include/ directory so
that it can be used by both drivers/ and arch/
- Fix com
Add Kconfig entry for CMD_NANDBCB, and default y on i.MX6
platform with NAND_MXS defined.
Reviewed-by: Stefano Babic
Signed-off-by: Jagan Teki
Signed-off-by: Shyam Saini
---
Hi,
This patch series is based on feedback gathered from this [1] discussion
and [2] patch submitted by Stefan.
[1
> >> Thanks for this work - this is still missing in current U-Boot. I will
> >> merge this for the upcoming release - letting this in, we could win some
> >> more testers helping to adjust if there are some issues.
> >
> > Thanks. Looks like it is FINALLY making it into the main tree...
>
>
> Neve
from doc/imx/common/imx6.txt for more usage
information.
Signed-off-by: Jagan Teki
Signed-off-by: Sergey Kubushyn
Signed-off-by: Shyam Saini
---
Changes for v4:
- Remove obselete apis and use bch_geometry structure for calculating
ecc level, bad block start bit and bad block byte
- Write fir
Add Kconfig entry for CMD_NANDBCB, and default y on i.MX6
platform with NAND_MXS defined.
Signed-off-by: Jagan Teki
Signed-off-by: Shyam Saini
---
Hi,
This patch series is based on feedback gathered from this [1] discussion
and [2] patch submitted by Stefan.
[1] https://patchwork.ozlabs.org
Hi Tom,
> > This initial support includes:
> > Linux v5.2-rc1
> > Custom U-Boot
> > Arm Trusted Firmware v2.0
> > Buildroot default packages
> >
> > Signed-off-by: Shyam Saini
> > ---
> > .gitlab-ci.y
My sincere apologies, these patches were intended for buildroot mailing list
My reverse search did some mistake.
On Tue, Jun 4, 2019 at 2:17 PM Shyam Saini
wrote:
>
> This initial support includes:
> Linux 5.1
> Custom U-Boot
> Arm Truste
This initial support includes:
Linux 5.1
Custom U-Boot
Arm Trusted Firmware v2.0
Buildroot default packages
Tested-by: Akash Gajjar
Signed-off-by: Shyam Saini
---
.gitlab-ci.yml | 1 +
DEVELOPERS | 2 ++
board/radxa
This initial support includes:
Linux 5.1
Custom U-Boot
Arm Trusted Firmware v2.0
Buildroot default packages
Signed-off-by: Shyam Saini
---
.gitlab-ci.yml | 1 +
DEVELOPERS | 2 ++
board/pine64
This initial support includes:
Linux v5.2-rc1
Custom U-Boot
Arm Trusted Firmware v2.0
Buildroot default packages
Signed-off-by: Shyam Saini
---
.gitlab-ci.yml | 1 +
DEVELOPERS | 2 ++
board
SPL on Engicam i.Core M6 boards enabled DM, so it would require some
malloc() pool before relocation in order to load U-Boot proper properly.
So, enable SPL malloc() pool of 0x2000 size similarly like what we have
used for icore mmc defconfigs.
Signed-off-by: Shyam Saini
---
configs
Hi Schrempf,
As of now imx usb loader does not process FIT images.
Have you added some patch or support on imx usb loader side ?
Thanks and regards,
Shyam
On Mon, May 27, 2019 at 12:10 PM Schrempf Frieder
wrote:
>
> Hi Fabio,
>
> On 23.05.19 19:45, Fabio Estevam wrote:
> > Hi Schrempf,
> >
> >
ix this by selecting BUILD_TARGET images with
respective SPL variants MMC, NAND. This would eventually help us to get
rid of explicit argument passing to 'make' to build these single images.
Tested-by: Shyam Saini
Signed-off-by: Jagan Teki
Signed-off-by: Shyam Saini
---
Kconfig | 2 ++
Add CONFIG_SPL_MMC_SUPPORT and CONFIG_SPL_NAND_SUPPORT for
Kconfig selection.
Signed-off-by: Jagan Teki
Signed-off-by: Shyam Saini
---
configs/imx6dl_icore_nand_defconfig | 1 +
configs/imx6dl_mamoj_defconfig | 1 +
configs/imx6q_icore_nand_defconfig | 1 +
configs
struct mtd_info *mtd, loff_t
> to, size_t len,
> goto write_err;
> *retlen += written;
> i += written;
> - if (written != page_remain) {
> - ret = -EIO;
> - goto write_err;
> - }
> }
>
I've tested it on Zynq MicroZed board and it is working, so
Tested-by: Shyam Saini
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
tested on engicam imx6qdl and imx6ul boards
Reviewed-by: Jagan Teki
Signed-off-by: Shyam Saini
---
Makefile | 10 ++
arch/arm/dts/imx6-u-boot-binman.dtsi | 16
arch/arm/dts/imx6qdl-u-boot.dtsi | 1 +
arch/arm/dts/imx6ul-u-boot.dtsi
From: Jagan Teki
Since recovery boot on mmc can get the mmcpart and mmcroot
dynamically, drop the static definitions and handle it
properly.
Tested-by: Shyam Saini
Signed-off-by: Jagan Teki
---
include/configs/imx6-engicam.h | 19 +++
1 file changed, 7 insertions(+), 12
From: Jagan Teki
Since i.CoreM6 support recovery boot via bootcount, update
the mmcpart and mmcroot dynamically based on used mmc partition
layout instead statically defined in include/configs.
Tested-by: Shyam Saini
Signed-off-by: Jagan Teki
---
board/engicam/common/board.c | 10
Hi Philipp, Emmanuel,
On Sun, Apr 21, 2019 at 10:43 PM Jagan Teki wrote:
>
> On Tue, Feb 5, 2019 at 4:24 PM Emmanuel Vadot wrote:
> >
> > Other make_fit script (like imx or sunxi) use the BL31 environment
> > variable to indicate the location of the file.
> > Also do that for rockchip so we don'
: increase CONFIG_SYS_BOOTM_LEN
Must RESET board to recover
resetting ...
Reviewed-by: Jagan Teki
Signed-off-by: Shyam Saini
---
Changelog:
V1->V2: Include board and soc details in the commit message
---
include/configs/rk3288_common.h | 2 ++
1 file changed, 2 insertions(+)
diff --gi
> >
> > The default value of CONFIG_SYS_BOOTM_LEN is 0x80 i.e, 8MB which
> > causes board reset because of larger uImage size.
> >
> > Error log snippet:
> >Booting using the fdt blob at 0x1f0
> >Loading Kernel Image ... Image too large: increase CONFIG_SYS_BOOTM_LEN
> > Must RESET
...
Signed-off-by: Shyam Saini
---
include/configs/rk3288_common.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h
index 72a54bc0ab..eab7cf4d86 100644
--- a/include/configs/rk3288_common.h
+++ b/include/configs/rk3288_common.h
From: Michael Trimarchi
This will improve code readabilty
Signed-off-by: Michael Trimarchi
Signed-off-by: Shyam Saini
---
Changelogs:
V1->V2: none
V2->V3: Fix use of clrsetbits_le32 and setbits_le32 functions
V3->V4: Rebase to original series's
From: Michael Trimarchi
This will improve code readabilty
Signed-off-by: Michael Trimarchi
Signed-off-by: Shyam Saini
---
Changelogs:
V1->V2: none
V2->V3: Fix use of clrsetbits_le32 and setbits_le32 functions
V3->V4: Rebase to original series's
Hi Stefano,
Thanks a lot for reviewing this
> nitpick: cratch ==> scratch
>
> On 21/03/19 09:35, Jagan Teki wrote:
> > SRAM address used for bootcount on exiting code is erasing
> > previous count value when system reset from Linux. So use
> > the dedicated imx6 scratch register, GPR2 to preserve
x6qdl_icore_mmc: Enable watchdog and
> bootcounter")
> Signed-off-by: Michael Trimarchi
> Signed-off-by: Jagan Teki
I tested this on Engicam imx6q-icore, so
Tested-by: Shyam Saini
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
Please ignore this patch,
I have sent this patch as a part of original series.
Sorry for the noise.
Thanks and regards,
Shyam
On Fri, Mar 15, 2019 at 3:27 PM Shyam Saini
wrote:
>
> From: Michael Trimarchi
>
> This will improve code readabilty
>
> Signed-off-by:
From: Michael Trimarchi
This will improve code readabilty
Signed-off-by: Michael Trimarchi
Signed-off-by: Shyam Saini
---
Changelogs:
V1->V2: none
V2->V3: Fix use of clrsetbits_le32 and setbits_le32 functions
V3->V4: Rebase to original series's
anymore
Signed-off-by: Michael Trimarchi
Signed-off-by: Shyam Saini
---
Changelogs:
V1->V2: Adjust commit description
V2->V3: None
---
arch/arm/mach-sunxi/dram_sun8i_a33.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/arm/mach-sunxi/dram_sun8i_a33.c
b/ar
connected
with two MT41K512M16HA-125:A memory model. Memory is configured as DDR3
1.5V
[1] https://www.xilinx.com/html_docs/registers/ug1087/ddrc___dramtmg8.html
[2] https://ibb.co/R70zmyS
[3] https://ibb.co/HVVCGQ8
Signed-off-by: Michael Trimarchi
Signed-off-by: Shyam Saini
---
Changelogs
From: Michael Trimarchi
This will improve code readabilty
Signed-off-by: Michael Trimarchi
---
Changelogs:
V1->V2: None
V2->V3: Fix use of clrsetbits_le32 and setbits_le32 functions
---
arch/arm/mach-sunxi/dram_sun8i_a33.c | 7 ++-
1 file changed, 2 insertions(+), 5 d
Tested-by: Shyam Saini
Signed-off-by: Michael Trimarchi
---
Changelogs:
V2:
improve commit message
V3:
include Changelogs
cc Stefano Babic and Fabio Estevam
---
configs/imx6dl_icore_nand_defconfig | 1 +
configs/imx6q_icore_nand_defconfig | 1 +
2 files changed, 2 insertions(+)
diff
Tested-by: Shyam Saini
Signed-off-by: Michael Trimarchi
---
configs/imx6dl_icore_nand_defconfig | 1 +
configs/imx6q_icore_nand_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/configs/imx6dl_icore_nand_defconfig
b/configs/imx6dl_icore_nand_defconfig
index c34c515080e9
IG_SPL_GPIO_SUPPORT=y
> CONFIG_SPL_LIBCOMMON_SUPPORT=y
> CONFIG_SPL_LIBGENERIC_SUPPORT=y
> +CONFIG_SYS_MALLOC_F_LEN=0x2000
> CONFIG_TARGET_MX6Q_ENGICAM=y
> CONFIG_SPL_SERIAL_SUPPORT=y
> CONFIG_SPL=y
I've tested it on imx6q-icore so,
Tested-by: Shyam Saini
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
Combined with watchdog board reset mechanism, this can be used as recovery
boot option after bootlimit exceeds the configured value.
Signed-off-by: Shyam Saini
---
include/configs/imx6-engicam.h | 11 +++
1 file changed, 11 insertions(+)
diff --git a/include/configs/imx6-engicam.h b
Enable watchdog and bootcounter support on imx6qdl board
Signed-off-by: Shyam Saini
---
configs/imx6qdl_icore_mmc_defconfig | 7 +++
1 file changed, 7 insertions(+)
diff --git a/configs/imx6qdl_icore_mmc_defconfig
b/configs/imx6qdl_icore_mmc_defconfig
index f22e5ea81996..68ad1c6d2028
This patch adds watchdog support for engicam imx6 family
of boards.
Signed-off-by: Shyam Saini
---
board/engicam/common/board.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/board/engicam/common/board.c b/board/engicam/common/board.c
index 5dccb17cb271..7486f0ac2d9c 100644
--- a
Hi Adam,
Thanks a lot for replying.
>
> I spent some time trying to make the imx6q_logic board boot from SPL
> from NAND, but I needed to patch a few things. Some of them have yet
> to be approved, but if they work for you, maybe it will help get them
> approved.
>
> There was a broken function
Hi Everyone,
I'm trying to boot imx6q board from nand but it seems like mainline
u-boot nand boot support for imx6q board is broken.
It is working till v2017.05 with this fix [1].
I'm using this as my stub:
https://github.com/openedev/u-boot-amarula/tree/icore-nand
When I git bisect between v
oduced least some minimal logs,
but there are no logs at all.
Best regards,
Shyam
> Regards,
> Peng.
>
> > -Original Message-
> > From: Shyam Saini [mailto:sh...@amarulasolutions.com]
> > Sent: 2019年1月5日 17:44
> > To: Peng Fan
> > Cc: kever.y.
Hi Peng,
Thanks for replying.
> Did you configure loglevel for OP-TEE? If you configured, there should be
> some log out from OP-TEE.
Yes, I did. Its set to log level 4.
Best Regards,
Shyam
> > -Original Message-
> > From: Shyam Saini [mailto:sh...@amarulasolut
Hi Kever,
I've been trying to boot optee via SPL on my imx6 board.
I see you added booting optee via SPL support in this commit.
http://git.denx.de/?p=u-boot.git;a=commit;h=70fe2876352939194ccd9091379453a5ddb64ddb
I used fit image to do this. Here is my fit *.its file content
https://paste.ubunt
cmd timeout to fix eMMC enumeration error
> rockchip: rk3288-vyasa: increase heap space after relocation
> rk3288: vyasa: Allow booting from internal eMMC
> rk3288: vyasa: Fixup indentation
Tested-by: Shyam Saini
___
U-Boot mailing list
's/environemnt/environment/' and
's/Environemnt/Environment/'
Signed-off-by: Shyam Saini
---
cmd/nvedit.c | 2 +-
common/image.c| 2 +-
common/spl/Kconfig| 2 +-
env/Kconfig | 6 +++---
include/configs/mx28e
4 FW2 offset
> +---
> + |FCB/DBBT 0|FCB/DBBT 1|FCB/DBBT 2|FCB/DBBT 3| FW 1 | FW 2 |
> +
> +
>
ND_MXS
> + help
> + Unlike normal 'nand write/erase' commands, this command update
> + Boot Control Block(BCB) for i.MX6 platform NAND IP's.
> +
> + This is similar to kobs-ng, which is used in Linux as separate
> + rootfs packag
58 matches
Mail list logo