[U-Boot] Support for i.MX8QM Boards with SCFW and ATF

2019-05-14 Thread Oliver Graute
Hello, I have a new i.MX8QM based board here and I'am interested to get it work with u-boot. Now its starting with NXP flavored u-boot-imx. CPU: Freescale i.MX8QM revB A53 at 1200 MHz at 48C Model: Advantech iMX8QM Qseven series Board: ROM-7720 A1 These boards needs some ARM trusted Firmware

[U-Boot] [PATCHv1] imx: support i.MX8QM ROM 7720 a1 board

2019-08-16 Thread Oliver Graute
Add i.MX8QM ROM 7720a1 board support Signed-off-by: Oliver Graute Cc: Stefano Babic Cc: Peng Fan Cc: Ye Li Cc: uboot-imx --- These changes are based on this vendor tree: https://github.com/ADVANTECH-Corp/uboot-imx6.git I adapted the files and compared them with code from similar imx8qm-mek

[U-Boot] [PATCH 0/1] i.MX8QM ROM 7720 a1 board won't boot

2019-08-16 Thread Oliver Graute
fig $ make flash.bin $ dd if=u-boot.itb of=flash.bin bs=512 seek=854 $ sudo dd if=flash.bin of=/dev/sd[x] bs=1k seek=32 conv=fsync Then I put the SD card into the board and power it on. But no output ony my serial line. Best Regards, Oliver Graute (1): imx: support i.MX8QM ROM 7720 a1 board ar

Re: [U-Boot] [PATCH 0/1] i.MX8QM ROM 7720 a1 board won't boot

2019-08-16 Thread Oliver Graute
On 16/08/19, Marcel Ziswiler wrote: > Hi Oliver > > On Fri, 2019-08-16 at 12:43 +0000, Oliver Graute wrote: > > I'am currently working on the following patch to get the imx8qm- > > rom7720-a1 > > That version sounds suspiciously like it may be based on initial alp

Re: [U-Boot] [PATCH 0/1] i.MX8QM ROM 7720 a1 board won't boot

2019-08-16 Thread Oliver Graute
On 16/08/19, Marcel Ziswiler wrote: > Hi Oliver > > On Fri, 2019-08-16 at 12:43 +0000, Oliver Graute wrote: > > I'am currently working on the following patch to get the imx8qm- > > rom7720-a1 > > That version sounds suspiciously like it may be based on initial alp

Re: [U-Boot] [PATCH 0/1] i.MX8QM ROM 7720 a1 board won't boot

2019-08-19 Thread Oliver Graute
On 19/08/19, Peng Fan wrote: > > Subject: Re: [PATCH 0/1] i.MX8QM ROM 7720 a1 board won't boot > > > > On 16/08/19, Marcel Ziswiler wrote: > > > Hi Oliver > > > > > > On Fri, 2019-08-16 at 12:43 +, Oliver Graute wrote: > > > > I'am c

Re: [U-Boot] [PATCH 0/1] i.MX8QM ROM 7720 a1 board won't boot

2019-08-19 Thread Oliver Graute
On 16/08/19, Oliver Graute wrote: > I'am currently working on the following patch to get the imx8qm-rom7720-a1 > board working with recent u-boot v2019.07. Unfortunaly I get no output on my > serial line. > > I'am not sure if something in my patch is just missing or if my composi

[U-Boot] Error reading cluster" from fs/fat/fat.c

2019-08-22 Thread Oliver Graute
Hello list, I have a annoying problem with u-boot 2019.07. I try to boot a Linux Image from a fat16 partition on a SD-Card. But I got the "Error reading cluster" Message from fs/fat/fat.c => boot switch to partitions #0, OK mmc2 is current device Error reading cluster ** Unable to read file

Re: [U-Boot] [PATCH v2] imx: support i.MX8QM ROM 7720 a1 board

2019-08-30 Thread Oliver Graute
; In:serial@5a06 > > > > Out: serial@5a06 > > > > Err: serial@5a06 > > > > Net: eth0: ethernet@5b04Could not get PHY for FEC1: addr 1 > > > > , eth-1: ethernet@5b05 > > > > Hit any key to stop autoboot: 0 &g

[U-Boot] [PATCH v3] imx: support i.MX8QM ROM 7720 a1 board

2019-08-30 Thread Oliver Graute
, FSL_SDHC: 1, FSL_SDHC: 2 Loading Environment from MMC... OK In:serial@5a06 Out: serial@5a06 Err: serial@5a06 Net: eth0: ethernet@5b04Could not get PHY for FEC1: addr 1 , eth-1: ethernet@5b05 Hit any key to stop autoboot: 0 Signed-off-by: Oliver Graute Cc: Stefano Babic

[U-Boot] [PATCH v3 0/1] imx: support i.MX8QM ROM 7720 a1 board

2019-08-30 Thread Oliver Graute
Hello list, I adpated the patch so that its working on latest imx custodian tree master. Best regards, Oliver Oliver Graute (1): imx: support i.MX8QM ROM 7720 a1 board arch/arm/dts/Makefile | 1 + arch/arm/dts/imx8qm-rom7720-a1.dts| 373

Re: [U-Boot] [PATCH v2] imx: support i.MX8QM ROM 7720 a1 board

2019-08-30 Thread Oliver Graute
C... OK > > In:serial@5a06 > > Out: serial@5a06 > > Err: serial@5a06 > > Net: eth0: ethernet@5b04Could not get PHY for FEC1: addr 1 > > , eth-1: ethernet@5b05 > > Hit any key to stop autoboot: 0 > > > > Sig

Re: [U-Boot] [PATCH v3] imx: support i.MX8QM ROM 7720 a1 board

2019-09-03 Thread Oliver Graute
On 03/09/19, Peng Fan wrote: > > > flash_linux_m4 is not a valid build target in U-Boot. > > > > yes indeed but this is the build target in the imx-mkimage repo. Which I > > currently need to build the complete bootstream with ATF and scu. > > flash_linux_m4 is imx-mkimage target, not U-Boot

[U-Boot] [PATCH v2] imx: support i.MX8QM ROM 7720 a1 board

2019-08-28 Thread Oliver Graute
, FSL_SDHC: 1, FSL_SDHC: 2 Loading Environment from MMC... OK In:serial@5a06 Out: serial@5a06 Err: serial@5a06 Net: eth0: ethernet@5b04Could not get PHY for FEC1: addr 1 , eth-1: ethernet@5b05 Hit any key to stop autoboot: 0 Signed-off-by: Oliver Graute Cc: Stefano Babic Cc

Re: [U-Boot] Error reading cluster" from fs/fat/fat.c

2019-08-28 Thread Oliver Graute
On 26/08/19, Oliver Graute wrote: > On 22/08/19, Oliver Graute wrote: > > Hello list, > > > > I have a annoying problem with u-boot 2019.07. I try to boot a Linux > > Image from a fat16 partition on a SD-Card. But I got the "Error reading > > cluster"

[U-Boot] [PATCH v2] imx: support i.MX8QM ROM 7720 a1 board

2019-08-28 Thread Oliver Graute
Hello list, this is the first version of this patch that boots properly the linux kernel on my i.MX8QM Board. It's still based on v2019.07. Please skip v1 because its not working. Best Regards, Oliver Oliver Graute (1): imx: support i.MX8QM ROM 7720 a1 board arch/arm/dts/Makefile

Re: [U-Boot] Error reading cluster" from fs/fat/fat.c

2019-08-26 Thread Oliver Graute
On 22/08/19, Oliver Graute wrote: > Hello list, > > I have a annoying problem with u-boot 2019.07. I try to boot a Linux > Image from a fat16 partition on a SD-Card. But I got the "Error reading > cluster" Message from fs/fat/fat.c > > => boot > switch t

Re: [U-Boot] [PATCH v3] imx: support i.MX8QM ROM 7720 a1 board

2019-09-02 Thread Oliver Graute
On 02/09/19, Peng Fan wrote: > > Subject: [PATCH v3] imx: support i.MX8QM ROM 7720 a1 board > > > > +echo "ATF_LOAD_ADDR=$ATF_LOAD_ADDR" >&2 echo > > +"BL33_LOAD_ADDR=$BL33_LOAD_ADDR" >&2 > > + > > This is no needed. > ok I`ll remove it > > +config SYS_VENDOR > > + default "freescale" > >

[U-Boot] [PATCH v4] imx: support i.MX8QM ROM 7720 a1 board

2019-09-06 Thread Oliver Graute
, FSL_SDHC: 1, FSL_SDHC: 2 Loading Environment from MMC... OK In:serial@5a06 Out: serial@5a06 Err: serial@5a06 Net: eth0: ethernet@5b04Could not get PHY for FEC1: addr 1 , eth-1: ethernet@5b05 Hit any key to stop autoboot: 0 Signed-off-by: Oliver Graute Cc: Stefano Babic

[U-Boot] [PATCH v4 0/1] imx: support i.MX8QM ROM 7720 a1 board

2019-09-06 Thread Oliver Graute
Hello list, need some information howto avoid the imx-mkimage repo and create full boostream directly from u-boot with all the binary blobs. Best regards, Oliver Oliver Graute (1): imx: support i.MX8QM ROM 7720 a1 board arch/arm/dts/Makefile | 1 + arch/arm/dts

Re: [U-Boot] [PATCH v4 0/1] imx: support i.MX8QM ROM 7720 a1 board

2019-09-10 Thread Oliver Graute
On 10/09/19, Peng Fan wrote: > > Subject: [PATCH v4 0/1] imx: support i.MX8QM ROM 7720 a1 board > > > > Hello list, > > > > need some information howto avoid the imx-mkimage repo and create full > > boostream directly from u-boot with all the binary blobs. > > Try the diff, and see whether it

[U-Boot] [PATCH v5 0/1] imx: support i.MX8QM ROM 7720 a1 board

2019-09-20 Thread Oliver Graute
Hello list, with this version its possible to create the bootstream directly from u-boot without using the imx-mkimage tool. Best Regards, Oliver Oliver Graute (1): imx: support i.MX8QM ROM 7720 a1 board arch/arm/dts/Makefile | 1 + arch/arm/dts/imx8qm-rom7720-a1

[U-Boot] [PATCH v5] imx: support i.MX8QM ROM 7720 a1 board

2019-09-20 Thread Oliver Graute
, FSL_SDHC: 1, FSL_SDHC: 2 Loading Environment from MMC... OK In:serial@5a06 Out: serial@5a06 Err: serial@5a06 Net: eth0: ethernet@5b04Could not get PHY for FEC1: addr 1 , eth-1: ethernet@5b05 Hit any key to stop autoboot: 0 Signed-off-by: Oliver Graute Cc: Stefano Babic

Re: [RESEND PATCH v1] colibri_imx6: fix broken fsl_esdhc_imx conversion

2019-12-09 Thread Oliver Graute
On 06/12/19, Tom Rini wrote: > On Fri, Dec 06, 2019 at 06:23:09PM +0100, Lukasz Majewski wrote: > > Hi Igor, > > > > > Hi Stefano > > > > > > On Fri, Dec 6, 2019 at 6:24 PM Igor Opaniuk > > > wrote: > > > > > > > > From: Igor Opaniuk > > > > > > > > Not all CONFIG_FSL_ESDHC defines were

[U-Boot] [PATCH V3 2/2] core: device: use dev_power_domain_on

2019-12-10 Thread Oliver Graute
Hello Peng, this patch broke my u-boot on a IMX8 QM ROM 7720a1 board. f0cc4eae9a1702a768817ea25d9f23cece69d021 I bisect it and that is the first broken commit. The commits before are working fine. I tried to remove your changes but then I run into this errrors: sc_rm_get_memreg_info: mr:38

Re: [U-Boot] [PATCH V3 2/2] core: device: use dev_power_domain_on

2019-12-11 Thread Oliver Graute
On 11/12/19, Fabio Estevam wrote: > Hi Oliver, > > On Tue, Dec 10, 2019 at 11:50 PM Peng Fan wrote: > > > Update your scfw/atf and they try again. > > Does it boot if you use the imx_4.19.35_1.0.0 ATF branch? Unfortunately, not. I checked out imx-atf in that branch. Build it with: make

[U-Boot] [PATCH v1 1/1] imx: support for conga-QMX8 board

2019-10-10 Thread Oliver Graute
: 0 switch to partitions #0, OK mmc2 is current device Signed-off-by: Oliver Graute Cc: Stefano Babic Cc: Fabio Estevam Cc: Peng Fan Cc: Simon Glass Cc: Ye Li Cc: uboot-imx --- arch/arm/dts/Makefile | 1 + arch/arm/dts/imx8qm-cgtqmx8.dts | 427

[U-Boot] [PATCH 0/1] imx: support for conga-QMX8 board

2019-10-10 Thread Oliver Graute
Hello list, this patch adds support for the congatec QMX8 Qseven board. Best regards, Oliver Oliver Graute (1): imx: support for conga-QMX8 board arch/arm/dts/Makefile | 1 + arch/arm/dts/imx8qm-cgtqmx8.dts | 427 + arch/arm/mach-imx/Makefile

[PATCH v1 2/2] imx: imx8qm_rom7720_a1: fix broken fsl_esdhc_imx conversion

2019-12-19 Thread Oliver Graute
Fix broken fsl_esdhc_imx conversion Signed-off-by: Oliver Graute Cc: Stefano Babic Cc: Fabio Estevam Cc: Peng Fan Cc: Simon Glass Cc: Ye Li Cc: uboot-imx --- board/advantech/imx8qm_rom7720_a1/spl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/advantech

[PATCH v1 1/2] imx: imx8qm_rom7720: added missing USDHC Base address defines

2019-12-19 Thread Oliver Graute
Added missing USDHC Base address defines Signed-off-by: Oliver Graute Cc: Stefano Babic Cc: Fabio Estevam Cc: Peng Fan Cc: Simon Glass Cc: Ye Li Cc: uboot-imx --- include/configs/imx8qm_rom7720.h | 4 1 file changed, 4 insertions(+) diff --git a/include/configs/imx8qm_rom7720.h b

[PATCH v2] imx: imx8qm: enable relocation of fdt and initrd

2020-02-12 Thread Oliver Graute
Set CONFIG_SYS_BOOTMAPSZ to the amount of memory available which is needed to relocate the kernel, device tree and initrd. Remove 'fdt_high' and 'initrd_high' environment variables from default environment which prevents relocation of FDT and initrd. Signed-off-by: Oliver Graute Cc: Stefano

[PATCH v1] imx: Makefile: added missing ahab.o

2020-02-26 Thread Oliver Graute
added missing ahab.o in Makefile Signed-off-by: Oliver Graute Cc: Stefano Babic Cc: Fabio Estevam Cc: Peng Fan Cc: Simon Glass Cc: Ye Li Cc: uboot-imx --- arch/arm/mach-imx/imx8/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/imx8/Makefile b

Re: Try to use AHAB but ahab.c is not compiled

2020-02-26 Thread Oliver Graute
On 20/02/20, Oliver Graute wrote: > Hello Peng, > > I try to use AHAB feature on my board. First of all I just want to > perform a "ahab_status". I enabled CONFIG_AHAB_BOOT=y in my config but > ahab.c isn't compiled. The ahab.o is missing after compilation. > Is the

Re: [PATCH v1] imx: Makefile: added missing ahab.o

2020-02-26 Thread Oliver Graute
On 26/02/20, Fabio Estevam wrote: > Hi Oliver, > > On Wed, Feb 26, 2020 at 6:20 AM Oliver Graute > wrote: > > > -obj-y += cpu.o iomux.o misc.o lowlevel_init.o > > +obj-y += ahab.o cpu.o iomux.o misc.o lowlevel_init.o > > Shouldn't ahab.o be included on

[PATCH v2] imx: Makefile: added missing ahab.o

2020-02-26 Thread Oliver Graute
added missing ahab.o in Makefile Signed-off-by: Oliver Graute Cc: Stefano Babic Cc: Fabio Estevam Cc: Peng Fan Cc: Simon Glass Cc: Ye Li Cc: uboot-imx --- arch/arm/mach-imx/imx8/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-imx/imx8/Makefile b/arch/arm/mach

Re: [U-Boot] [PATCH V3 2/2] core: device: use dev_power_domain_on

2020-01-21 Thread Oliver Graute
On 16/12/19, Igor Opaniuk wrote: > Hi Oliver, Fabio, Peng, > > On Thu, Dec 12, 2019 at 9:20 AM Oliver Graute > wrote: > > > > On 11/12/19, Fabio Estevam wrote: > > > Hi Oliver, > > > > > > On Tue, Dec 10, 2019 at 11:50 PM Peng Fan wrote: &g

Re: imx8qxp mek: Booting mainline kernel with mainline U-Boot

2020-01-23 Thread Oliver Graute
On 17/01/20, Lokesh Vutla wrote: > >>> Just wondering if anyone else managed to boot mainline U-Boot with > >>> mainline kernel on i.MX8QXP. > >> I can test it for you with the revert patch for f0cc4eae9a applied > >> tomorrow. > > > > Adding in Lokesh as he nak'd the revert before because that

[PATCH v1] imx: set CONFIG_FEC_MXC_PHYADDR to -1

2020-01-31 Thread Oliver Graute
introduced by commit: 1f60789602e0d5f5f9a8b507f25737c65b5d8daa. Signed-off-by: Oliver Graute Cc: Stefano Babic Cc: Fabio Estevam Cc: Peng Fan Cc: Simon Glass Cc: Ye Li Cc: uboot-imx --- include/configs/imx8qm_rom7720.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs

Re: [PATCH v1] imx: set CONFIG_FEC_MXC_PHYADDR to -1

2020-02-03 Thread Oliver Graute
On 03/02/20, Fabio Estevam wrote: > On Fri, Jan 31, 2020 at 10:56 AM Oliver Graute > wrote: > > > > This fix the following issue on the imx8qm_rom7720 board: > > > > Booting from net ... > > Could not get PHY for FEC0: addr 0 > > Could not get PHY for F

[PATCH v2] imx: support for conga-QMX8 board

2020-02-03 Thread Oliver Graute
: eth0: ethernet@5b04 Hit any key to stop autoboot: 0 Signed-off-by: Oliver Graute Cc: Stefano Babic Cc: Fabio Estevam Cc: Peng Fan Cc: Simon Glass Cc: Ye Li Cc: uboot-imx --- These changes are based on this vendor tree: git.congatec.com/imx8_early_access/imx8_uboot_internal.git

[RFC 1/2] hack to boot with 2020.01

2020-02-03 Thread Oliver Graute
As proposed here: https://lists.denx.de/pipermail/u-boot/2020-January/396749.html Both of my imx8qm boards (Advantech and Congatec) aren't booting 2020.01 without this change. Whats the proper way to fix this on my side? --- drivers/core/device.c | 7 ++- 1 file changed, 2 insertions(+), 5

[RFC 2/2] Revert "dm: core: device: switch off power domain after device removal"

2020-02-03 Thread Oliver Graute
The conga-imx8 board isn't booting without this revert. Can someone tell me what I need to Do so that this revert is not necessary? This reverts commit 52edfed65de967a86983a55c51ba0727090efc43. --- drivers/core/device-remove.c | 5 - 1 file changed, 5 deletions(-) diff --git

Re: [PATCH v1] imx: set CONFIG_FEC_MXC_PHYADDR to -1

2020-02-04 Thread Oliver Graute
On 03/02/20, Fabio Estevam wrote: > On Mon, Feb 3, 2020 at 12:33 PM Oliver Graute wrote: > > > Yes, but phy addr 0 is currently not working that way for me. So I tried > > to solve it by autodetecting the phy. Please see this thread: > > Looking at your other patch

Re: [PATCH v1] imx: imx8qm: enable relocation of fdt and initrd

2020-02-07 Thread Oliver Graute
On 05/02/20, Tom Rini wrote: > On Wed, Feb 05, 2020 at 03:51:42PM +0000, Oliver Graute wrote: > > > Remove 'fdt_high' and 'initrd_high' environment variables (set to > > 0x) > > from default environment which prevents relocation of FDT and initrd. > > &g

[PATCH v1] imx: imx8qm: enable relocation of fdt and initrd

2020-02-05 Thread Oliver Graute
Remove 'fdt_high' and 'initrd_high' environment variables (set to 0x) from default environment which prevents relocation of FDT and initrd. Signed-off-by: Oliver Graute Cc: Stefano Babic Cc: Fabio Estevam Cc: Peng Fan Cc: Simon Glass Cc: Ye Li Cc: uboot-imx --- include/configs

Re: [RFC 1/2] hack to boot with 2020.01

2020-02-05 Thread Oliver Graute
On 04/02/20, Tom Rini wrote: > On Mon, Feb 03, 2020 at 01:59:14PM +0000, Oliver Graute wrote: > > As proposed here: > > > > https://lists.denx.de/pipermail/u-boot/2020-January/396749.html > > > > Both of my imx8qm boards (Advantech and Congatec) aren't bootin

Re: [PATCH] power-domain: fix hang in endless loop on i.MX8

2020-02-17 Thread Oliver Graute
main | | |-- lsio_gpio1 > > Do not remove a power domain device if it is a parent of the > currently controlled device. > > Fixes: 52edfed65de9 ("dm: core: device: switch off power domain after device > removal") > Signed-off-by: Anatolij Gustschin > Reported-by

Re: [RFC 2/2] Revert "dm: core: device: switch off power domain after device removal"

2020-02-14 Thread Oliver Graute
On 14/02/20, Anatolij Gustschin wrote: > On Fri, 14 Feb 2020 09:50:54 +0530 > Lokesh Vutla lokeshvu...@ti.com wrote: > > > On 13/02/20 10:42 PM, Neil Armstrong wrote: > > > Hi, > > > > > > On 03/02/2020 14:59, Oliver Graute wrote: > > >>

Try to use AHAB but ahab.c is not compiled

2020-02-19 Thread Oliver Graute
Hello Peng, I try to use AHAB feature on my board. First of all I just want to perform a "ahab_status". I enabled CONFIG_AHAB_BOOT=y in my config but ahab.c isn't compiled. The ahab.o is missing after compilation. Is there anything else to consider? Do I overlook something? Best regards, Oliver

Re: [RFC 2/2] Revert "dm: core: device: switch off power domain after device removal"

2020-02-14 Thread Oliver Graute
On 14/02/20, Lokesh Vutla wrote: > > > On 13/02/20 10:42 PM, Neil Armstrong wrote: > > Hi, > > > > On 03/02/2020 14:59, Oliver Graute wrote: > >> The conga-imx8 board isn't booting without this revert. Can someone tell me > >> what I need to Do so th

Re: [RFC 2/2] Revert "dm: core: device: switch off power domain after device removal"

2020-02-14 Thread Oliver Graute
On 14/02/20, Lokesh Vutla wrote: > > > On 14/02/20 2:48 PM, Oliver Graute wrote: > > On 14/02/20, Lokesh Vutla wrote: > >> > >> > >> On 13/02/20 10:42 PM, Neil Armstrong wrote: > >>> Hi, > >>> > >>> On 03/02/2020

Re: [PATCH 1/5] imx8qm_rom7720_a1: Remove unused function detail_board_ddr_info()

2020-01-16 Thread Oliver Graute
0_a1.c:110:6: warning: no > previous > prototype for ‘detail_board_ddr_info’ [-Wmissing-prototypes] > > Signed-off-by: Alifer Moraes Reviewed-by: Oliver Graute

Re: [PATCH] imx8: Run SPL with caches enabled

2020-04-22 Thread Oliver Graute
On 21/04/20, Fabio Estevam wrote: > It is safe to run SPL with caches enabled on i.MX8, so > remove such restriction. > > Signed-off-by: Fabio Estevam Acked-by: Oliver Graute

Re: [PATCH v2] imx: support for conga-QMX8 board

2020-05-04 Thread Oliver Graute
On 04/05/20, Stefano Babic wrote: > Hi Oliver, > > this was quite lost under the flood of other patches, sorry for that. > What about to rebase and repost it ? > will rebase and rework that patch, as soon as I'am back in office and get access to that board again. Best regards, Oliver

[RFC] arm: dts: imx: imx8qm: usb support

2020-05-05 Thread Oliver Graute
Try to get USB working with imx8qm. Therefore I took below from NXP vendor tree. Can someone point me to the missing driver parts that are needed? Best regards, Oliver --- arch/arm/dts/fsl-imx8qm.dtsi | 71 1 file changed, 71 insertions(+) diff --git

[PATCH] imx: imx8qm_rom7720_a1: update README

2020-05-15 Thread Oliver Graute
Update README to extract firmware from scripts Signed-off-by: Oliver Graute --- board/advantech/imx8qm_rom7720_a1/README | 11 +++ 1 file changed, 11 insertions(+) diff --git a/board/advantech/imx8qm_rom7720_a1/README b/board/advantech/imx8qm_rom7720_a1/README index bff5712589

Re: [PATCH V2] ARM: imx: pico-imx8mq: Add support for Technexion Pico-iMX8MQ

2020-05-15 Thread Oliver Graute
On 29/04/20, Marek Vasut wrote: > +Get the DDR and HDMI firmware > += > +$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-7.9.bin > +$ chmod +x firmware-imx-7.9.bin > +$ ./firmware-imx-7.9.bin > +# Or use this to avoid running random scripts from the

fatload failes on 2G file

2020-05-08 Thread Oliver Graute
Hello, I try to load a 2GB file from SD-Card to write it later to eMMC. But there is some limitation resulting in this error from fs_read_lmb_check(): ** Reading file would overwrite reserved memory ** => fatload mmc 2:0 ${loadaddr} 1G_file.bin 1073741824 bytes read in 45722 ms (22.4 MiB/s) =>

Re: [PATCH] imx: imx8qm_rom7720_a1: update README

2020-05-20 Thread Oliver Graute
On 15/05/20, Oliver Graute wrote: > Update README to extract firmware from scripts > > Signed-off-by: Oliver Graute > --- > board/advantech/imx8qm_rom7720_a1/README | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/board/advantech/imx8qm_rom7

[PATCH v2] imx: imx8qm_rom7720_a1: update README

2020-05-20 Thread Oliver Graute
Update README to extract firmware from scripts Signed-off-by: Oliver Graute --- board/advantech/imx8qm_rom7720_a1/README | 11 +++ 1 file changed, 11 insertions(+) diff --git a/board/advantech/imx8qm_rom7720_a1/README b/board/advantech/imx8qm_rom7720_a1/README index bff5712589

[PATCH v1] imx: support i.MX8QM DMSSE20 a1 board

2020-08-31 Thread Oliver Graute
] Warning: ethernet@5b05 (eth1) using random MAC address - d2:38:f7:68:ce:91 , eth1: ethernet@5b05 Hit any key to stop autoboot: 0 Signed-off-by: Oliver Graute Cc: Stefano Babic Cc: Fabio Estevam Cc: Peng Fan Cc: Simon Glass Cc: Ye Li Cc: uboot-imx --- arch/arm/dts/Makefile

I2C on imx8qm - Failed to enable ipg clk

2020-08-05 Thread Oliver Graute
Hello, I try to get my I2C working on imx8qm. But I run into this issue: => i2c bus Bus 3: i2c@5a83 => i2c dev 3 Setting bus to 3 Failed to enable ipg clk Failure changing bus number (-524) Some idea how to fix that? I'am using U-Boot 2020.04 Best regards, Oliver

Re: I2C on imx8qm - Failed to enable ipg clk

2020-08-10 Thread Oliver Graute
On 05/08/20, Anatolij Gustschin wrote: > Hi Oliver, > > On Wed, 5 Aug 2020 15:47:07 +0200 > Oliver Graute oliver.gra...@gmail.com wrote: > > > Hello, > > > > I try to get my I2C working on imx8qm. But I run into this issue: > > > > => i2c

[PATCH v3 0/2] imx: support for conga-QMX8 board

2020-06-16 Thread Oliver Graute
00 x29: fdadfd90 Code: aa0503e4 17f2 aa0003e5 d283 (386368a4) Resetting CPU ... resetting ... Oliver Graute (2): imx: support for conga-QMX8 board hack to boot with 2020.01 arch/arm/dts/Makefile | 1 + arch/arm/dts/imx8qm-cgtqmx8.dts | 427 +

[PATCH v3] imx: support for conga-QMX8 board

2020-06-16 Thread Oliver Graute
: eth0: ethernet@5b04 Hit any key to stop autoboot: 0 Signed-off-by: Oliver Graute Cc: Stefano Babic Cc: Fabio Estevam Cc: Peng Fan Cc: Simon Glass Cc: Ye Li Cc: uboot-imx --- arch/arm/dts/Makefile | 1 + arch/arm/dts/imx8qm-cgtqmx8.dts | 427

[PATCH 2/2] hack to boot with 2020.01

2020-06-16 Thread Oliver Graute
As proposed here: https://lists.denx.de/pipermail/u-boot/2020-January/396749.html Both of my imx8qm boards (Advantech and Congatec) aren't booting 2020.01 without this change. Whats the proper way to fix this on my side? --- drivers/core/device.c | 7 ++- 1 file changed, 2 insertions(+), 5

[PATCH v1] ARM: dts: imx: imx8qm-rom7720: Fix AR8031 phy-mode

2020-12-04 Thread Oliver Graute
it: commit 13114f38e2ccea9386726d8b9831dfc310589548 Fix the phy-mode accordingly to fix the regression. Signed-off-by: Oliver Graute Cc: Stefano Babic Cc: Fabio Estevam Cc: Peng Fan Cc: Vladimir Oltean --- arch/arm/dts/imx8qm-rom7720-a1.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -

Re: [PATCH v2] imx: ahab: allow to bypass confirmation for ahab_close cmd

2020-12-23 Thread Oliver Graute
Clément Péron Acked-by: Oliver Graute

[PATCH v1] doc: board: imx8qm-rom7720-a1.rst: convert readme to reST

2020-11-20 Thread Oliver Graute
Convert README to reStructuredText format. Signed-off-by: Oliver Graute --- board/advantech/imx8qm_rom7720_a1/README | 61 -- doc/board/advantech/imx8qm-rom7720-a1.rst | 75 +++ doc/board/advantech/index.rst | 9 +++ 3 files changed, 84

Re: [PATCH v1 2/2] imx: imx8qm_rom7720_a1: fix broken fsl_esdhc_imx conversion

2020-11-20 Thread Oliver Graute
On 10/03/20, Stefano Babic wrote: > On 19.12.19 15:27, Oliver Graute wrote: > > Fix broken fsl_esdhc_imx conversion > > > > Signed-off-by: Oliver Graute > > Cc: Stefano Babic > > Cc: Fabio Estevam > > Cc: Peng Fan > > Cc: Simon Glass > &g

Re: [PATCH v1 2/7] board: toradex: add apalis-imx8x 2gb wb it v1.1a module support

2020-11-19 Thread Oliver Graute
On 22/10/20, Igor Opaniuk wrote: > From: Igor Opaniuk > > * With the SCU FW from the latest Toradex BSP 5.0.0 (SCU FW 1.5.1) > ETH PHY encounters bring up problems after reset, this will be fixed > soon on SCU FW side. Hello Igor, are these ETH Phy problems also in NXP provided SCU FW 1.5.1/

Re: I2C on imx8qm - Failed to enable ipg clk

2020-11-12 Thread Oliver Graute
On 10/08/20, Oliver Graute wrote: > On 05/08/20, Anatolij Gustschin wrote: > > Hi Oliver, > > > > On Wed, 5 Aug 2020 15:47:07 +0200 > > Oliver Graute oliver.gra...@gmail.com wrote: > > > > > Hello, > > > > > > I try to get my I2C worki

[PATCH v1] imx: clk: added IPG Clock for I2C on imx8qm

2020-11-12 Thread Oliver Graute
This patch fixes this clk issue on I2C on imx8qm => i2c bus Bus 3: i2c@5a83 => i2c dev 3 Setting bus to 3 Failed to enable ipg clk Failure changing bus number (-524) Signed-off-by: Oliver Graute Cc: Stefano Babic Cc: Peng Fan Cc: uboot-imx --- drivers/clk/imx/clk-imx8qm.

Re: Linking Error on env_get("loadaddr")

2020-11-02 Thread Oliver Graute
On 03/11/20, Jaehoon Chung wrote: > On 11/2/20 11:09 PM, Oliver Graute wrote: > > Hello list, > > > > I try to use env_get("loadaddr") for a board specific CMD and included > > env.h. But I get the following linking error in nvedit.c. Some clue what > >

Linking Error on env_get("loadaddr")

2020-11-02 Thread Oliver Graute
Hello list, I try to use env_get("loadaddr") for a board specific CMD and included env.h. But I get the following linking error in nvedit.c. Some clue what I miss here? I still use v2020.07. start=$(aarch64-linux-gnu-nm u-boot | grep __rel_dyn_start | cut -f 1 -d ' ');

Re: [PATCH v3 0/2] imx: support for conga-QMX8 board

2020-11-04 Thread Oliver Graute
On 16/06/20, Oliver Graute wrote: > Second patch is still needed for booting. Tipps to get rid of that patch would > be helpfull. > > Between u-boot-imx-20200511 and u-boot-imx-20200609 something more is broken, > I run into this issue: > > U-Boot 2020.07-rc3-2-gbf3f929

[PATCH v1] imx: imx8qm_rom7720_a1: add missing DTS to the MAINTAINERS

2020-11-04 Thread Oliver Graute
add the dts file to the MAINTAINERS entry Signed-off-by: Oliver Graute Cc: Stefano Babic Cc: uboot-imx --- board/advantech/imx8qm_rom7720_a1/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/advantech/imx8qm_rom7720_a1/MAINTAINERS b/board/advantech/imx8qm_rom7720_a1

Re: [PATCH v1] imx: support i.MX8QM DMSSE20 a1 board

2020-11-04 Thread Oliver Graute
On 31/08/20, Tom Rini wrote: > On Mon, Aug 31, 2020 at 04:54:40PM +0200, Oliver Graute wrote: > > > Add i.MX8QM DMSSE20 a1 board support > [snip] > > diff --git a/board/advantech/imx8qm_dmsse20_a1/MAINTAINERS > > b/board/advantech/imx8qm_dmsse20_a1/MAINTAINERS > &g

Re: [PATCH v1] imx: support i.MX8QM DMSSE20 a1 board

2020-11-04 Thread Oliver Graute
On 31/08/20, Fabio Estevam wrote: > Hi Oliver, > > On Mon, Aug 31, 2020 at 11:54 AM Oliver Graute > wrote: > > > +Quick Start > > +=== > > + > > +- Build the ARM Trusted firmware binary > > +- Get scfw_tcm.bin and ahab-container.i

[PATCH v4] imx: support for conga-QMX8 board

2020-11-06 Thread Oliver Graute
any key to stop autoboot: 0 Signed-off-by: Oliver Graute Cc: Stefano Babic Cc: Fabio Estevam Cc: Peng Fan Cc: Simon Glass Cc: Ye Li Cc: uboot-imx --- These changes are based on this vendor tree: git.congatec.com/imx8_early_access/imx8_uboot_internal.git Changes for v4: - fixed missing

[PATCH] imx: ahab: Fix compiler warnings in printf

2020-11-06 Thread Oliver Graute
arch/arm/mach-imx/imx8/ahab.c:110:63: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘u64 {aka long long unsigned int}’ [-Wformat=] Fix those by using %llx Signed-off-by: Oliver Graute Cc: Stefano Babic Cc: uboot-imx --- arch/arm/mach-imx/imx8/ahab.c

[PATCH] imx: ahab: fix compiler warnings in debug

2020-11-06 Thread Oliver Graute
uot;, Fix those by using "%lu" specified. Signed-off-by: Oliver Graute Cc: Stefano Babic Cc: uboot-imx --- arch/arm/mach-imx/imx8/ahab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/imx8/ahab.c b/arch/arm/mach-imx/imx8/ahab.c index abd648a60

[PATCH] imx: ahab: fix implicit declaration warning

2020-11-06 Thread Oliver Graute
-off-by: Oliver Graute Cc: Stefano Babic Cc: uboot-imx --- arch/arm/mach-imx/imx8/ahab.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-imx/imx8/ahab.c b/arch/arm/mach-imx/imx8/ahab.c index 5dbe1d56e0..abd648a60c 100644 --- a/arch/arm/mach-imx/imx8/ahab.c +++ b/arch/arm/mach

[PATCH v7] imx: support for conga-QMX8 board

2021-05-31 Thread Oliver Graute
-by: Oliver Graute Cc: Stefano Babic Cc: Fabio Estevam Cc: Peng Fan Cc: Simon Glass Cc: Ye Li Cc: uboot-imx --- These changes are based on this vendor tree: git.congatec.com/imx8_early_access/imx8_uboot_internal.git Changes for v7: - removed superflous include in board/congatec/common/mmc.c

Re: [PATCH v6] imx: support for conga-QMX8 board

2021-05-31 Thread Oliver Graute
On 02/03/21, Fabio Estevam wrote: > Hi Stefano, > > On Tue, Mar 2, 2021 at 5:30 PM Stefano Babic wrote: > > > I get now an error with CI for htmldocs: > > > > /builds/u-boot/custodians/u-boot-imx/doc/board/congatec/index.rst:document > > isn't included in any toctree > > Does this fix it? > >

Re: [PATCH v6] imx: support for conga-QMX8 board

2021-05-31 Thread Oliver Graute
On 08/04/21, Stefano Babic wrote: > Hi Oliver, > > I was quite convinced this was the right one and I could merge it. Most > builds were okl, until...x86 is built ! > > In fact, there are congatec boards based on intel, they are using the common > path (../common), and due to your changes some

[PATCH v1] imx: mkimage_fit_atf: replace @ with hyphen

2021-05-05 Thread Oliver Graute
u-boot.itb' failed make: *** [u-boot.itb] Error 1 replacing @ with hyphen solved the issue Signed-off-by: Oliver Graute Cc: Stefano Babic Cc: Fabio Estevam Cc: Peng Fan Cc: Simon Glass Cc: uboot-imx --- arch/arm/mach-imx/mkimage_fit_atf.sh | 24 1 file changed, 12 inserti

Re: [PATCH 1/2] ARM: imx8: Add missing FEC ENET quirk for i.MX8/i.MX8X

2021-02-10 Thread Oliver Graute
On 09/02/21, Oleksandr Suvorov wrote: > Both NXP SoCs i.MX8 and i.MX8X have ENET gigabit MAC. > Define FEC_QUIRK_ENET_MAC for the imx8 platform and remove this > definition from configs of boards, based on MX8/MX8X. > > Signed-off-by: Oleksandr Suvorov Acked-by: Oliver Graute

[PATCH v6] imx: support for conga-QMX8 board

2021-03-02 Thread Oliver Graute
any key to stop autoboot: 0 Signed-off-by: Oliver Graute Cc: Stefano Babic Cc: Fabio Estevam Cc: Peng Fan Cc: Simon Glass Cc: Ye Li Cc: uboot-imx --- These changes are based on this vendor tree: git.congatec.com/imx8_early_access/imx8_uboot_internal.git Changes for v6: - fixed build

Re: [PATCH v5] imx: support for conga-QMX8 board

2021-03-01 Thread Oliver Graute
On 01/03/21, Stefano Babic wrote: > Hi Oliver, > > I have two open points with the patch, that I want finally merge: > > On 19.02.21 13:34, Oliver Graute wrote: > > + case 0: + /* onboard eMMC */ + > > if (!imx8_power_dom

Re: [PATCH v5] net: tftp: Add client support for RFC 7440

2021-02-17 Thread Oliver Graute
On 17/02/21, Oliver Graute wrote: > On 18/07/20, Ramon Fried wrote: > > Add support for RFC 7440: "TFTP Windowsize Option". > > > > This optional feature allows the client and server > > to negotiate a window size of consecutive blocks to send as an > >

Re: [PATCH v5] net: tftp: Add client support for RFC 7440

2021-02-17 Thread Oliver Graute
On 18/07/20, Ramon Fried wrote: > Add support for RFC 7440: "TFTP Windowsize Option". > > This optional feature allows the client and server > to negotiate a window size of consecutive blocks to send as an > alternative for replacing the single-block lockstep schema. > > windowsize can be

Re: [PATCH v2] net: tftp: Avoid sending extra ack on completion

2021-02-17 Thread Oliver Graute
On 03/02/21, Ramon Fried wrote: > in tftpboot, if ack was already sent previously for this > packet, don't send again. > > Fixes: cc6b87ecaa96 ("net: tftp: Add client support for RFC 7440") > > Reported-by: Suneel Garapati > Signed-off-by: Ramon Fried Tested-by: Oliver Graute

[PATCH v5] imx: support for conga-QMX8 board

2021-02-19 Thread Oliver Graute
any key to stop autoboot: 0 Signed-off-by: Oliver Graute Cc: Stefano Babic Cc: Fabio Estevam Cc: Peng Fan Cc: Simon Glass Cc: Ye Li Cc: uboot-imx --- These changes are based on this vendor tree: git.congatec.com/imx8_early_access/imx8_uboot_internal.git Changes for v5: - fixed checkpatch

[PATCH v2] imx: support i.MX8QM DMSSE20 a1 board

2021-02-19 Thread Oliver Graute
Environment from MMC... OK In:serial@5a06 Out: serial@5a06 Err: serial@5a06 Net: eth0: ethernet@5b04 [PRIME] Warning: ethernet@5b05 (eth1) using random MAC address - fe:ac:c4:1f:d9:9c , eth1: ethernet@5b05 Hit any key to stop autoboot: 0 Signed-off-by: Oliver Graute

[PATCH v1] arm: imx8: added usbphy_regs struct

2021-02-19 Thread Oliver Graute
FROM: Ye Li imx8: added usbphy_regs struct Signed-off-by: Oliver Graute Cc: Ye Li Cc: Stefano Babic Cc: Peng Fan Cc: Fabio Estevam Cc: uboot-imx --- This code snippet is from here: https://source.codeaurora.org/external/imx/uboot-imx/commit/arch/arm/include/asm/arch-imx8/imx-regs.h?h

Re: [PATCH v1] arm: imx8: added usbphy_regs struct

2021-02-22 Thread Oliver Graute
On 19/02/21, Peng Fan (OSS) wrote: > > Subject: [PATCH v1] arm: imx8: added usbphy_regs struct > > Only a structure? What do you mean exaclty? I have some more patches here to get the ehci-mx6 usb working on imx8. The hard work was done by Ye Li. I just splitted them up and rebased to be able

Re: [PATCH v2] imx: support i.MX8QM DMSSE20 a1 board

2021-11-30 Thread Oliver Graute
On 08/04/21, Stefano Babic wrote: > Hi Oliver, > > I get errors when I build the board (some configs must be in defconfig > instead of header): > > +(imx8qm_dmsse20a1) Error: You must add new CONFIG options using Kconfig > +(imx8qm_dmsse20a1) The following new ad-hoc CONFIG options were

Re: [PATCH v3] imx: support i.MX8QM DMSSE20 a1 board

2021-11-30 Thread Oliver Graute
On 30/11/21, Fabio Estevam wrote: > Hi Oliver, > > On Tue, Nov 30, 2021 at 8:29 AM Oliver Graute > wrote: > > > > Add i.MX8QM DMSSE20 a1 board support > > > > U-Boot 2021.10-00029-g4ad997ec17 (Nov 30 2021 - 09:40:26 +0100) > > > > Model: Ad

[PATCH v3] imx: support i.MX8QM DMSSE20 a1 board

2021-11-30 Thread Oliver Graute
from MMC... OK In:serial@5a06 Out: serial@5a06 Err: serial@5a06 Net: eth0: ethernet@5b04 [PRIME] Warning: ethernet@5b05 (eth1) using random MAC address - c6:1b:bf:cc:e5:6c , eth1: ethernet@5b05 Hit any key to stop autoboot: 0 Signed-off-by: Oliver Graute

  1   2   >