[PATCH v2] arm: dts: imx8mq kernel dts updates

2022-02-02 Thread Angus Ainslie
Update to the 5.16 imx8mq dts files and dt bindings Changes since v1: Dropped rfkill.h that is not in linux mainline yet. Signed-off-by: Angus Ainslie --- arch/arm/dts/imx8mq.dtsi | 203 -- include/dt-bindings/interconnect/imx8mq.h | 48 + 2 files

Re: [PATCH] arm: dts: imx8mq-pinfunc: add a define for the SION bit

2022-02-01 Thread Angus Ainslie
On 2022-01-30 05:12, Fabio Estevam wrote: Hi Angus, On Sun, Jan 30, 2022 at 10:10 AM Angus Ainslie wrote: I added this because I wanted to use it in the SPL. I can put it in the header file for my board but I think it would be better in an imx8m header file. If not the pinfunc header

Re: [PATCH] arm: dts: imx8mq kernel dts updates

2022-02-01 Thread Angus Ainslie
Hi Fabio, On 2022-01-31 17:55, Fabio Estevam wrote: Hi Angus, On Mon, Jan 17, 2022 at 5:43 PM Angus Ainslie wrote: --- /dev/null +++ b/include/dt-bindings/rfkill/rfkill.h @@ -0,0 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-only or MIT */ +/* + * This header provides constants for rfkill

Re: [PATCH] arm: dts: imx8mq-pinfunc: add a define for the SION bit

2022-01-30 Thread Angus Ainslie
Hi Fabio, On 2022-01-29 10:58, Fabio Estevam wrote: Hi Angus, On Fri, Jan 28, 2022 at 1:21 PM Angus Ainslie wrote: SION (Software Input On Field) - force the select mode input path Signed-off-by: Angus Ainslie --- arch/arm/dts/imx8mq-pinfunc.h | 1 + 1 file changed, 1 insertion(+) diff

[PATCH] arm: dts: imx8mq-pinfunc: add a define for the SION bit

2022-01-28 Thread Angus Ainslie
SION (Software Input On Field) - force the select mode input path Signed-off-by: Angus Ainslie --- arch/arm/dts/imx8mq-pinfunc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/imx8mq-pinfunc.h b/arch/arm/dts/imx8mq-pinfunc.h index b94b02080a..b51e4faea5 100644 --- a/arch/arm

Re: [PATCH v3] drivers: spi-nor: Add JEDEC id for W25Q16JV

2022-01-21 Thread Angus Ainslie
On 2022-01-20 06:39, Jagan Teki wrote: On Thu, Jan 20, 2022 at 7:53 PM wrote: On 1/20/22 3:20 PM, Michael Walle wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > >>> + { >>> + INFO("w25q16jvm", 0xef7015, 0, 64 * 1024,

Re: [PATCH v3] drivers: spi-nor: Add JEDEC id for W25Q16JV

2022-01-20 Thread Angus Ainslie
Hi Jagan, On 2022-01-20 04:55, Jagan Teki wrote: On Mon, Jan 17, 2022 at 7:27 PM Angus Ainslie wrote: Add a JEDEC id for the Winbond W25Q16JV 16M-BIT serial flash memory with DUAL/QUAD SPI Changes since v2: Chagned the name to follow "DTR" parts Changes since v1: Update

Re: [PATCH] mxc_gpio: on imx8m read the DR instead of the PSR

2022-01-20 Thread Angus Ainslie
Hi Fabio, On 2022-01-18 08:59, Fabio Estevam wrote: Hi Angus, On Sun, Nov 28, 2021 at 12:42 PM Angus Ainslie wrote: [1] diff --git a/arch/arm/dts/imx8mq-librem5.dts b/arch/arm/dts/imx8mq-librem5.dts index b28420654f..b60a8538af 100644 --- a/arch/arm/dts/imx8mq-librem5.dts +++ b/arch/arm/dts

[PATCH] arm: dts: imx8mq kernel dts updates

2022-01-17 Thread Angus Ainslie
Update to the 5.16 imx8mq dts files and dt bindings Signed-off-by: Angus Ainslie --- arch/arm/dts/imx8mq.dtsi | 203 -- include/dt-bindings/interconnect/imx8mq.h | 48 + include/dt-bindings/rfkill/rfkill.h | 21 +++ 3 files changed, 259

Re: [PATCH 02/13] arm: dts: add the Purism devicetree files

2022-01-17 Thread Angus Ainslie
On 2022-01-17 10:25, Tom Rini wrote: On Mon, Jan 17, 2022 at 09:51:24AM -0800, Angus Ainslie wrote: There's 2 ways to solve the this I think. 1) just use the latest librem5 dts file which is made up of 3 different dts(i) files. 2) have a defconfig for each of the different PCB versions. Do

Re: [PATCH 02/13] arm: dts: add the Purism devicetree files

2022-01-17 Thread Angus Ainslie
Hi Tom, On 2022-01-17 08:59, Tom Rini wrote: On Mon, Jan 17, 2022 at 07:07:24AM -0800, Angus Ainslie wrote: Initial commit of Librem5 devicetree files Signed-off-by: Angus Ainslie Please note what kernel release the not -u-boot.dtsi files are a copy from, as they need to be copies

Re: [PATCH 00/13] Add support for the Purism Librem5 Phone

2022-01-17 Thread Angus Ainslie
On 2022-01-17 09:14, Angus Ainslie wrote: Hi Toni Sorry Tom, somehow concatenated your 2 names.

Re: [PATCH 00/13] Add support for the Purism Librem5 Phone

2022-01-17 Thread Angus Ainslie
Hi Toni On 2022-01-17 08:59, Tom Rini wrote: On Mon, Jan 17, 2022 at 07:07:22AM -0800, Angus Ainslie wrote: I sent this patchset as a single monolithic patch and did not see any comment on it. https://lists.denx.de/pipermail/u-boot/2022-January/471087.html Here it is as a set of patches

[PATCH 10/13] board: librem5: add SPL loader configuration

2022-01-17 Thread Angus Ainslie
Initial commit of the Librem5 SPL loader configuration Signed-off-by: Angus Ainslie --- board/purism/librem5/imximage-8mq-lpddr4.cfg | 9 + 1 file changed, 9 insertions(+) create mode 100644 board/purism/librem5/imximage-8mq-lpddr4.cfg diff --git a/board/purism/librem5/imximage-8mq

[PATCH 00/13] Add support for the Purism Librem5 Phone

2022-01-17 Thread Angus Ainslie
or directly from the eMMC Angus Ainslie (13): MAINTAINERS: add Purism to the maintainers file arm: dts: add the Purism devicetree files arm: imx8m: add Purism Librem5 Kconfig configs: add the Librem5 defconfig include: configs: add the librem5.h include file board: librem5: add the u-boot source

[PATCH 09/13] board: librem5: add the LPDDR4 source for the Librem5

2022-01-17 Thread Angus Ainslie
This is a copy of imx8mq LPDDR4 source files Signed-off-by: Angus Ainslie --- board/purism/librem5/lpddr4_timing.c| 1324 +++ board/purism/librem5/lpddr4_timing_b0.c | 1191 2 files changed, 2515 insertions(+) create mode 100644 board/purism/librem5

[PATCH 13/13] doc: librem5: add Librem5 documentation

2022-01-17 Thread Angus Ainslie
Initial commit of the Librem5 documentation Signed-off-by: Angus Ainslie --- doc/board/purism/librem5/librem5.rst | 60 1 file changed, 60 insertions(+) create mode 100644 doc/board/purism/librem5/librem5.rst diff --git a/doc/board/purism/librem5/librem5.rst b

[PATCH 02/13] arm: dts: add the Purism devicetree files

2022-01-17 Thread Angus Ainslie
Initial commit of Librem5 devicetree files Signed-off-by: Angus Ainslie --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/imx8mq-librem5-u-boot.dtsi | 134 ++ arch/arm/dts/imx8mq-librem5.dts | 593 3 files changed, 729 insertions(+), 1

[PATCH 12/13] board: librem5: add Librem5 build files

2022-01-17 Thread Angus Ainslie
Initial commit of the Librem5 Makefile and Kconfig Signed-off-by: Angus Ainslie --- board/purism/librem5/Kconfig | 15 +++ board/purism/librem5/Makefile | 13 + 2 files changed, 28 insertions(+) create mode 100644 board/purism/librem5/Kconfig create mode 100644 board

[PATCH 01/13] MAINTAINERS: add Purism to the maintainers file

2022-01-17 Thread Angus Ainslie
The Purism kernel team is in charge of maintianing the Librem5 u-boot Signed-off-by: Angus Ainslie --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 38c68ee87d..45754b16d2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1079,6 +1079,15

[PATCH 06/13] board: librem5: add the u-boot source for the Librem5

2022-01-17 Thread Angus Ainslie
Initial commit of the Librem5 u-boot source Signed-off-by: Angus Ainslie Co-developed-by: Sebastian Krzyszkowiak Signed-off-by: Sebastian Krzyszkowiak --- board/purism/librem5/librem5.c | 708 + 1 file changed, 708 insertions(+) create mode 100644 board/purism

[PATCH 11/13] board: librem5: add Librem5 MAINTAINERS file

2022-01-17 Thread Angus Ainslie
Initial commit of the Librem5 MAINTAINERS file Signed-off-by: Angus Ainslie --- board/purism/librem5/MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 board/purism/librem5/MAINTAINERS diff --git a/board/purism/librem5/MAINTAINERS b/board/purism/librem5/MAINTAINERS

[PATCH 08/13] board: librem5: add the SPL source for the Librem5

2022-01-17 Thread Angus Ainslie
Initial commit of the Librem5 SPL source Signed-off-by: Angus Ainslie Co-developed-by: Sebastian Krzyszkowiak Signed-off-by: Sebastian Krzyszkowiak --- board/purism/librem5/spl.c | 481 + 1 file changed, 481 insertions(+) create mode 100644 board/purism

[PATCH 07/13] board: librem5: add the u-boot header for the Librem5

2022-01-17 Thread Angus Ainslie
Initial commit of the Librem5 u-boot header file Signed-off-by: Angus Ainslie --- board/purism/librem5/librem5.h | 176 + 1 file changed, 176 insertions(+) create mode 100644 board/purism/librem5/librem5.h diff --git a/board/purism/librem5/librem5.h b/board

[PATCH 05/13] include: configs: add the librem5.h include file

2022-01-17 Thread Angus Ainslie
Initial commit of the librem5.h configuration Signed-off-by: Angus Ainslie --- include/configs/librem5.h | 171 ++ 1 file changed, 171 insertions(+) create mode 100644 include/configs/librem5.h diff --git a/include/configs/librem5.h b/include/configs

[PATCH 04/13] configs: add the Librem5 defconfig

2022-01-17 Thread Angus Ainslie
Initial commit of the Librem5 defconfig Signed-off-by: Angus Ainslie --- configs/librem5_defconfig | 120 ++ 1 file changed, 120 insertions(+) create mode 100644 configs/librem5_defconfig diff --git a/configs/librem5_defconfig b/configs/librem5_defconfig

[PATCH 03/13] arm: imx8m: add Purism Librem5 Kconfig

2022-01-17 Thread Angus Ainslie
Add the Librem5 target Signed-off-by: Angus Ainslie --- arch/arm/mach-imx/imx8m/Kconfig | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig index d6a869068a..ba50931cd7 100644 --- a/arch/arm/mach-imx/imx8m/Kconfig +++ b

[PATCH] pinctrl: nxp: don't automatically select DEVRES

2022-01-17 Thread Angus Ainslie
If we select DEVRES here then it breaks building an imx8m SPL without DEVRES support. Signed-off-by: Angus Ainslie --- drivers/pinctrl/nxp/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pinctrl/nxp/Kconfig b/drivers/pinctrl/nxp/Kconfig index 4fb0916a37..3657e9deb9 100644

[PATCH] spl: spl_sdp: don't call board_usb_init twice

2022-01-17 Thread Angus Ainslie
When CONFIG_DM_USB is not defined then usb_gadget_initialize is just a call to board_usb_init. Calling board_usb_init twice causes the USB to fail so make sure the second invocation is not compiled in when CONFIG_DM_USB is not defined. Signed-off-by: Angus Ainslie --- common/spl/spl_sdp.c | 3

[PATCH v3] drivers: spi-nor: Add JEDEC id for W25Q16JV

2022-01-17 Thread Angus Ainslie
Add a JEDEC id for the Winbond W25Q16JV 16M-BIT serial flash memory with DUAL/QUAD SPI Changes since v2: Chagned the name to follow "DTR" parts Changes since v1: Updated the name for more suffixes Signed-off-by: Angus Ainslie --- drivers/mtd/spi/spi-nor-ids.c | 5 + 1 file

Re: [PATCH 2/2] cmd: fuse: Add a command to read fuses to memory

2022-01-14 Thread Angus Ainslie
Are there any problems with this patch ? Thanks Angus On 2021-11-28 08:02, Angus Ainslie wrote: With the fuse values in memory we can use some of the other u-boot shell conditonal operators to do tests. Signed-off-by: Angus Ainslie --- cmd/fuse.c | 27 +++ 1 file

Re: [PATCH 1/2] cmd: fuse: add a fuse comparison function

2022-01-14 Thread Angus Ainslie
Are there any problems with this patch ? Thanks Angus On 2021-11-28 08:02, Angus Ainslie wrote: Compare a hexval to the fuse value and return pass or fail. Signed-off-by: Angus Ainslie --- cmd/fuse.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v2] drivers: spi-nor: Add JEDEC id for W25Q16JV

2022-01-14 Thread Angus Ainslie
Hi Dhananjay , Jagan, On 2022-01-13 10:30, Dhananjay Phadke wrote: On 1/13/2022 9:17 AM, Angus Ainslie wrote: Add a JEDEC id for the Winbond W25Q16JV 16M-BIT serial flash memory with DUAL/QUAD SPI Changes since v1: Updated the name for more suffixes Signed-off-by: Angus Ainslie

[PATCH v2] drivers: spi-nor: Add JEDEC id for W25Q16JV

2022-01-13 Thread Angus Ainslie
Add a JEDEC id for the Winbond W25Q16JV 16M-BIT serial flash memory with DUAL/QUAD SPI Changes since v1: Updated the name for more suffixes Signed-off-by: Angus Ainslie --- drivers/mtd/spi/spi-nor-ids.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b

Re: [PATCH] drivers: spi-nor: Add JEDEC id for W25Q16JV

2022-01-13 Thread Angus Ainslie
Hi Jagan, On 2021-12-01 21:59, Jagan Teki wrote: On Sun, Nov 28, 2021 at 8:39 PM Angus Ainslie wrote: Add a JEDEC id for the Winbond W25Q16JV 16M-BIT serial flash memory with DUAL/QUAD SPI Signed-off-by: Angus Ainslie --- drivers/mtd/spi/spi-nor-ids.c | 5 + 1 file changed, 5

[PATCH 1/1] board: purism: librem5: add the Librem5 phone files

2022-01-07 Thread Angus Ainslie
Initial commit of librem5 spl and u-boot based on the imx8mq_evk u-boot Signed-off-by: Angus Ainslie Co-authored-by: Sebastian Krzyszkowiak Signed-off-by: Sebastian Krzyszkowiak --- MAINTAINERS |8 + arch/arm/dts/Makefile|3

[PATCH 0/1] Add support for the Purism Librem5 Phone

2022-01-07 Thread Angus Ainslie
This is all of the code required to boot the Librem5 Phone. I wasn't sure if a single large patch including all of the code would be better or multiple patches, here it is all at once. It can boot the phone in uuu mode or directly from the eMMC Angus Ainslie (1): board: purism: librem5: add

Re: [PATCH v2 1/1] fastboot: fb_getvar: Add getvar_logical_blocksize for NXP mfgtool

2022-01-03 Thread Angus Ainslie
Hi Sean, On 2021-12-30 08:21, Sean Anderson wrote: On 12/29/21 8:35 AM, Angus Ainslie wrote: Hi Sean, On 2021-12-28 08:59, Sean Anderson wrote: Hi Angus, NXP's mfgtool queies the mmc blocksize and splits a sparse image into blocksize size pieces for the upload. It's still not clear

Re: [PATCH v2 1/1] fastboot: fb_getvar: Add getvar_logical_blocksize for NXP mfgtool

2021-12-29 Thread Angus Ainslie
Hi Oleh, On 2021-12-29 07:07, Oleh Kravchenko wrote: Hello Angus, 29.12.21 15:35, Angus Ainslie пише: The version of uuu that we are using requires the block-size for the sparse upload https://source.puri.sm/Librem5/mfgtools/-/blob/pureos/amber/libuuu/fastboot.cpp#L501 This version

Re: [PATCH v2 1/1] fastboot: fb_getvar: Add getvar_logical_blocksize for NXP mfgtool

2021-12-29 Thread Angus Ainslie
parameter from the uuu that we are using but that still leaves versions out there that won't work with a mainline u-boot. Thanks Angus --Sean Signed-off-by: Angus Ainslie --- drivers/fastboot/fb_getvar.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers

[PATCH v2 1/1] fastboot: fb_getvar: Add getvar_logical_blocksize for NXP mfgtool

2021-12-19 Thread Angus Ainslie
NXP's mfgtool queies the mmc blocksize and splits a sparse image into blocksize size pieces for the upload. Signed-off-by: Angus Ainslie --- drivers/fastboot/fb_getvar.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/fastboot/fb_getvar.c b/drivers/fastboot

[PATCH v2 0/1] Add more support for NXP's mfgtool

2021-12-19 Thread Angus Ainslie
block_size into getvar_logical_blocksize * Fixed fastboot returned error message Angus Ainslie (1): fastboot: fb_getvar: Add getvar_logical_blocksize for NXP mfgtool drivers/fastboot/fb_getvar.c | 21 + 1 file changed, 21 insertions(+) -- 2.25.1

Re: [PATCH 1/2] fastboot: fb_getvar: Add getvar_logical_blocksize for MXP mfgtool

2021-12-19 Thread Angus Ainslie
Hi Sean, On 2021-12-17 15:10, Sean Anderson wrote: Hi Angus, On 12/17/21 10:41 AM, Angus Ainslie wrote: uuu uses the blocksize to determine the upload size Can you please elaborate on this more? Signed-off-by: Angus Ainslie --- drivers/fastboot/fb_getvar.c | 27

Re: [PATCH 2/3] arch: imx8m: imx-regs.h add the USB regs

2021-12-18 Thread Angus Ainslie
On 2021-12-17 09:45, Fabio Estevam wrote: On Fri, Dec 17, 2021 at 2:03 PM Adam Ford wrote: I didn't think Driver model was a requirement for SPL. That's my understanding as well. > I had problems getting the dwc3 to initialize properly when using the > device model in the SPL. I'm

Re: [PATCH 0/2] Add more support for NXP's mfgtool

2021-12-18 Thread Angus Ainslie
Hi Oleh On 2021-12-18 00:44, Oleh Kravchenko wrote: Hello Angus! What is the use-case for these patches? Would you mind defining why the current implementation is not enough? Used like that: FB: flash -raw2sparse mmc0 emmc.wic Thanks, it looks like the way I'm using fastboot is causing

Re: [PATCH 2/3] arch: imx8m: imx-regs.h add the USB regs

2021-12-17 Thread Angus Ainslie
Hi Fabio, On 2021-12-17 08:28, Fabio Estevam wrote: Hi Angus, On Fri, Dec 17, 2021 at 12:21 PM Angus Ainslie wrote: Add the USB regs for SDP mode Signed-off-by: Angus Ainslie --- arch/arm/include/asm/arch-imx8m/imx-regs.h | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm

[PATCH 2/2] fastboot: fb_mmc: Add mfgtool all partition size

2021-12-17 Thread Angus Ainslie
NXP mfgtool uses all to specify the entire partition Signed-off-by: Angus Ainslie --- drivers/fastboot/fb_mmc.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/fastboot/fb_mmc.c b/drivers/fastboot/fb_mmc.c index 2738dc836e..9ebf392252 100644 --- a/drivers/fastboot/fb_mmc.c

[PATCH 0/2] Add more support for NXP's mfgtool

2021-12-17 Thread Angus Ainslie
NXP's mfgtool needs some additional switches to deal with the whole mmc device. Angus Ainslie (2): fastboot: fb_getvar: Add getvar_logical_blocksize for MXP mfgtool fastboot: fb_mmc: Add mfgtool all partition size drivers/fastboot/fb_getvar.c | 27 +++ drivers

[PATCH 1/2] fastboot: fb_getvar: Add getvar_logical_blocksize for MXP mfgtool

2021-12-17 Thread Angus Ainslie
uuu uses the blocksize to determine the upload size Signed-off-by: Angus Ainslie --- drivers/fastboot/fb_getvar.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/fastboot/fb_getvar.c b/drivers/fastboot/fb_getvar.c index d43f2cfee6..ff5f0d3d40 100644

[PATCH 3/3] arch: imx8m: Add USB power control

2021-12-17 Thread Angus Ainslie
Enable turning on USB power for SDP mode Signed-off-by: Angus Ainslie --- arch/arm/include/asm/arch-imx8m/sys_proto.h | 1 + arch/arm/mach-imx/imx8m/soc.c | 57 + 2 files changed, 58 insertions(+) diff --git a/arch/arm/include/asm/arch-imx8m/sys_proto.h b

[PATCH 2/3] arch: imx8m: imx-regs.h add the USB regs

2021-12-17 Thread Angus Ainslie
Add the USB regs for SDP mode Signed-off-by: Angus Ainslie --- arch/arm/include/asm/arch-imx8m/imx-regs.h | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/include/asm/arch-imx8m/imx-regs.h b/arch/arm/include/asm/arch-imx8m/imx-regs.h index 8cb499d3a3..bd474f88a6 100644

[PATCH 0/3] add some imx8m power and clock control

2021-12-17 Thread Angus Ainslie
Enable some imx8m subsystems used when booting the librem5 phone Angus Ainslie (3): imx8m: clock_imx8mq: Add the ecspi clocks arch: imx8m: imx-regs.h add the USB regs arch: imx8m: Add USB power control arch/arm/include/asm/arch-imx8m/imx-regs.h | 14 + arch/arm/include/asm/arch-imx8m

[PATCH 1/3] imx8m: clock_imx8mq: Add the ecspi clocks

2021-12-17 Thread Angus Ainslie
Enable the clocks for spi buses 1 through 3 Signed-off-by: Angus Ainslie --- arch/arm/include/asm/arch-imx8m/imx-regs.h | 9 + arch/arm/mach-imx/imx8m/clock_imx8mq.c | 38 ++ 2 files changed, 47 insertions(+) diff --git a/arch/arm/include/asm/arch-imx8m/imx-regs.h

Re: [PATCH] drivers: spi-nor: Add JEDEC id for W25Q16JV

2021-12-17 Thread Angus Ainslie
Hi, Are there any problems with this patch ? Thanks Angus On 2021-11-28 07:09, Angus Ainslie wrote: Add a JEDEC id for the Winbond W25Q16JV 16M-BIT serial flash memory with DUAL/QUAD SPI Signed-off-by: Angus Ainslie --- drivers/mtd/spi/spi-nor-ids.c | 5 + 1 file changed, 5 insertions

Re: Issue building flash.bin for imx8mq_evk

2021-12-06 Thread Angus Ainslie
Hi Fabio, On 2021-12-03 09:28, Fabio Estevam wrote: Hi Angus, On Tue, Nov 30, 2021 at 2:40 PM Angus Ainslie wrote: Are there binman updates for the imx8mq_evk ? Yes, Andrey has sent the following patch: https://lists.denx.de/pipermail/u-boot/2021-December/468983.html Thanks, I'll give

Issue building flash.bin for imx8mq_evk

2021-11-30 Thread Angus Ainslie
Hi, I've tested v2021.10 and "make flash.bin" still works there for imx8mq_evk_defconfig. With the latest master that doesn't build any more ./"arch/arm/mach-imx/mkimage_fit_atf.sh" \ arch/arm/dts/imx8mq-evk.dtb > u-boot.its /bin/sh: 1: ./arch/arm/mach-imx/mkimage_fit_atf.sh: not found make:

Re: [PATCH] mxc_gpio: on imx8m read the DR instead of the PSR

2021-11-28 Thread Angus Ainslie
Hi Fabio, On 2021-11-28 7:15 a.m., Fabio Estevam wrote: > Hi Angus, > > On Sun, Nov 28, 2021 at 11:52 AM Angus Ainslie wrote: >> On imx8m it is more correct to read the data register than the pad status >> register. >> >> In output mode the pad status register

[PATCH 2/2] cmd: fuse: Add a command to read fuses to memory

2021-11-28 Thread Angus Ainslie
With the fuse values in memory we can use some of the other u-boot shell conditonal operators to do tests. Signed-off-by: Angus Ainslie --- cmd/fuse.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/cmd/fuse.c b/cmd/fuse.c index 78b1065d99e..0676bb7a812 100644

[PATCH 1/2] cmd: fuse: add a fuse comparison function

2021-11-28 Thread Angus Ainslie
Compare a hexval to the fuse value and return pass or fail. Signed-off-by: Angus Ainslie --- cmd/fuse.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/cmd/fuse.c b/cmd/fuse.c index e001619d172..78b1065d99e 100644 --- a/cmd/fuse.c +++ b/cmd/fuse.c

Re: [PATCH] mxc_gpio: on imx8m read the DR instead of the PSR

2021-11-28 Thread Angus Ainslie
Hi Fabio, On 2021-11-28 07:21, Fabio Estevam wrote: Hi Angus, On Sun, Nov 28, 2021 at 12:18 PM Angus Ainslie wrote: I have tried it with the SION bit set but I thought it would be better if the dts would match the linux dts and return the same result. Just to confirm: with the SION bit

Re: [PATCH] mxc_gpio: on imx8m read the DR instead of the PSR

2021-11-28 Thread Angus Ainslie
Hi Fabio, On 2021-11-28 07:15, Fabio Estevam wrote: Hi Angus, On Sun, Nov 28, 2021 at 11:52 AM Angus Ainslie wrote: On imx8m it is more correct to read the data register than the pad status register. In output mode the pad status register does not contain the value being output so we

[PATCH] drivers: spi-nor: Add JEDEC id for W25Q16JV

2021-11-28 Thread Angus Ainslie
Add a JEDEC id for the Winbond W25Q16JV 16M-BIT serial flash memory with DUAL/QUAD SPI Signed-off-by: Angus Ainslie --- drivers/mtd/spi/spi-nor-ids.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 3ae7bb1ed7e

[PATCH] mxc_gpio: on imx8m read the DR instead of the PSR

2021-11-28 Thread Angus Ainslie
. If the pad mode is not GPIO and the pin is an input then 0 is always returned. Signed-off-by: Angus Ainslie --- drivers/gpio/mxc_gpio.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpio/mxc_gpio.c b/drivers/gpio/mxc_gpio.c index 03471db9e80..0d9f6f44042 100644 --- a/drivers/gpio

Re: [PATCH] imx8mq_evk: Update the required ATF branch

2020-04-21 Thread Angus Ainslie
On 2019-12-11 18:14, Fabio Estevam wrote: On Wed, Dec 11, 2019 at 10:57 PM Fabio Estevam wrote: Just did a quick boot test on a imx8mq-evk with v2.2 upstream ATF and it booted fine. Actually I do see some power domain issues when using upstream ATF and booting mainline kernel: [

Re: [U-Boot] 答复: [PATCH 0/4] Make some changes to SDP

2019-08-01 Thread Angus Ainslie
Hi Peng, On 2019-08-01 18:01, Peng Fan wrote: Angus, Subject: Re: 答复: [U-Boot] [PATCH 0/4] Make some changes to SDP Hi Sherry, On 2019-07-31 19:56, Sherry Sun wrote: > Hi Angus > >> >> Hi Sherry, >> >> On 2019-07-17 18:40, sherry sun wrote: >> > From: Sherry Sun >> > >> > This patchset

Re: [U-Boot] 答复: [PATCH 0/4] Make some changes to SDP

2019-08-01 Thread Angus Ainslie
Hi Sherry, On 2019-07-31 19:56, Sherry Sun wrote: Hi Angus Hi Sherry, On 2019-07-17 18:40, sherry sun wrote: > From: Sherry Sun > > This patchset adds: > 1. Add usb_gadget_initialize() and usb_gadget_release() to initialize > and release UDC during sdp download. > 2. Add high speed

Re: [U-Boot] [PATCH 0/4] Make some changes to SDP

2019-07-28 Thread Angus Ainslie
Hi Sherry, On 2019-07-17 18:40, sherry sun wrote: From: Sherry Sun This patchset adds: 1. Add usb_gadget_initialize() and usb_gadget_release() to initialize and release UDC during sdp download. 2. Add high speed endpoint descriptor for sdp. 3. Add a macro definition--CONFIG_SDP_LOADADDR as

Re: [U-Boot] [PATCH v4 00/11] sunxi: sun5/7i: add the psci suspend function

2017-04-30 Thread Angus Ainslie
On 2017-04-30 10:49, Hi Tenart wrote: Does this get suspend to memory working on the Nextthing CHIP ? No, this is used for CPU idle. Hi Antoine Does a different PSCI function need to be implemented in u-boot to support suspend or does it need some kernel work ? Thanks Angus

Re: [U-Boot] [PATCH v4 00/11] sunxi: sun5/7i: add the psci suspend function

2017-04-30 Thread Angus Ainslie
On 2017-04-30 07:29, Antoine Tenart wrote: Hi all, Respin this series that was sent in October 2016, with comments and new psci aware SoC taken into account. This series adds an implementation of the psci suspend function for both sun5i and sun7i. This was tested on Nextthing's CHIP, using

[U-Boot] [PATCH v3] imx7: SPI: add suport for SPI flash in mikroBUS slot

2016-11-11 Thread Angus Ainslie
Enable the escpi3 nets attached to the mikroBUS slot on the i.MX7 Sabre evalution board. Also enble the SPI flash commands to work with the "flash click" board. This is V2 of this patch with changes recommended by the maintainer CC: Jagan Teki --- Changes for v2: -

[U-Boot] [PATCH] SPI: add support for the EON EN25Q80B flash chip

2016-11-10 Thread Angus Ainslie
add a new jedec id for the EN25Q80B --- drivers/mtd/spi/sf_params.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/sf_params.c b/drivers/mtd/spi/sf_params.c index 5b50114..df15b3d 100644 --- a/drivers/mtd/spi/sf_params.c +++ b/drivers/mtd/spi/sf_params.c @@ -27,6 +27,7 @@

[U-Boot] [PATCH] imx7: SPI: add suport for SPI flash in mikroBUS slot

2016-11-10 Thread Angus Ainslie
Enable the escpi3 nets attached to the mikroBUS slot on the i.MX7 Sabre evalution board. Also enble the SPI flash commands to work with the "flash click" board. This is V2 of this patch with changes recommended by the maintainer CC: Jagan Teki ---

[U-Boot] [PATCH 2/2] SPI: add support for the EON EN25Q80B flash

2016-11-10 Thread Angus Ainslie
jedec id for the 8Mb EN25Q80B flash --- drivers/mtd/spi/sf_params.c | 1 + 1 file changed, 1 insertion(+) CC: Stefano Babic CC: Jagan Teki diff --git a/drivers/mtd/spi/sf_params.c b/drivers/mtd/spi/sf_params.c index 5b50114..df15b3d 100644 ---

[U-Boot] Add mikroBUS flash click support to the imx7

2016-11-10 Thread Angus Ainslie
In-Reply-To: Add support for the "flash click" and probably other SPI mikroBUS click boards on i.MX7 Sabre evaluation board. board/freescale/mx7dsabresd/mx7dsabresd.c | 24 configs/mx7dsabresd_secure_defconfig |2 ++ drivers/mtd/spi/sf_params.c

[U-Boot] [PATCH 1/2] imx7: SPI: add suport for SPI flash in mikroBUS slot

2016-11-10 Thread Angus Ainslie
Enable the escpi3 nets attached to the mikroBUS slot on the i.MX7 Sabre evalution board. Also enble the SPI flash commands to work with the "flash click" board. --- board/freescale/mx7dsabresd/mx7dsabresd.c | 24 configs/mx7dsabresd_secure_defconfig | 2 ++

[U-Boot] [PATCH] Enable xmodem support

2013-06-26 Thread Angus Ainslie
This is a trivial patch that just enables xmodem downloads using the existing ymodem framework. Signed-off-by: Angus Ainslie an...@akkea.ca --- common/cmd_load.c | 24 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/common/cmd_load.c b/common/cmd_load.c

[U-Boot] [PATCH v2] ORIGEN : use absolute paths and fix tool naming

2011-09-12 Thread Angus Ainslie
On some hosts using relative paths will cause the build to fail. This patch sets absolute paths for the tools directory Get rid of MSDOS style excecutable extension Signed-off-by: Angus Ainslie angus.ains...@linaro.org --- board/samsung/origen/Makefile |6 +++--- spl/Makefile

[U-Boot] [PATCH] ORIGEN : use absolute paths for tools directory

2011-09-09 Thread Angus Ainslie
On some hosts using relative paths will cause the build to fail. This patch sets absolute paths for the tools directory Signed-off-by: Angus Ainslie angus.ains...@linaro.org --- board/samsung/origen/Makefile |6 +++--- spl/Makefile |2 +- 2 files changed, 4 insertions

[U-Boot] [PATCH] ORIGEN : enable device tree support

2011-09-09 Thread angus . ainslie
From: Angus Ainslie angus.ains...@linaro.org Enable passing a flattened device tree to the kernel. Signed-off-by: Angus Ainslie angus.ains...@linaro.org --- include/configs/origen.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/configs/origen.h b/include

Re: [U-Boot] [Samsung] [PATCH 1/2] ARMV7: Add support for Samsung ORIGEN board

2011-07-06 Thread Angus Ainslie
that was the reason that assembly was used. Regards, Simon Cheers Angus -- Angus Ainslie angus.ains...@linaro.org Team Lead, Samsung Landing Team ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [Samsung] [PATCH v3 0/2] SMDKV310 Board Support

2011-05-19 Thread Angus Ainslie
.html Angus -- Angus Ainslie angus.ains...@linaro.org Team Lead, Samsung Landing Team ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

<    1   2