Re: [PATCH] usb: gadget: dwc2_udc_otg: set ep's desc during enable/disable

2022-01-08 Thread Tom Rini
On Thu, Jan 06, 2022 at 04:02:08PM +0100, Gary Bisson wrote: > Fastboot support has been broken on platforms using dwc2 controller > since the gadget gets its max packet size from it. > This patch is the equivalent of 723fd5668ff which fixed the same issue > but for the chipidea controller. > > F

Re: [PATCH] nitrogen6x: add missing pinctrl to fix mmc

2022-01-08 Thread Tom Rini
On Wed, Jan 05, 2022 at 02:17:53PM +0100, Gary Bisson wrote: > Since commit f7ac30b042d, the pin muxing for mmc was removed from the > board file to be managed by DM_MMC which requires PINCTRL to work. It > made the change for sabrelite but nitrogen configs were forgotten. > > Signed-off-by: Gary

Re: [PATCH 6/6] udoo: Select CMD_DM

2022-01-08 Thread Tom Rini
On Sat, Dec 18, 2021 at 06:10:25PM -0300, Fabio Estevam wrote: > CMD_DM is useful for showing the whole DM tree. > > Enable it via "imply CMD_DM". > > Signed-off-by: Fabio Estevam > Reviewed-by: Peter Robinson Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signatu

Re: [PATCH 5/6] udoo: Increase CONFIG_ENV_OFFSET

2022-01-08 Thread Tom Rini
On Sat, Dec 18, 2021 at 06:10:24PM -0300, Fabio Estevam wrote: > Increase CONFIG_ENV_OFFSET to avoid the environment region to > overlap with U-Boot proper. > > Signed-off-by: Fabio Estevam > Reviewed-by: Peter Robinson Applied to u-boot/master, thanks! -- Tom signature.asc Description: P

Re: [PATCH 4/6] udoo: Adjust the SD card device numbering

2022-01-08 Thread Tom Rini
On Sat, Dec 18, 2021 at 06:10:23PM -0300, Fabio Estevam wrote: > After the conversion to DM the SD card shows up as 'mmc 2' > device. > > Adjust the 'mmcdev' and the distro command 'func' accordingly. > > Signed-off-by: Fabio Estevam > Reviewed-by: Peter Robinson Applied to u-boot/master, tha

Re: [PATCH 3/6] udoo: Call gpio_request()

2022-01-08 Thread Tom Rini
On Sat, Dec 18, 2021 at 06:10:22PM -0300, Fabio Estevam wrote: > Calling gpio_request() prior to its usage is now mandatory. > > This fixes the following GPIO errors: > > U-Boot SPL 2022.01-rc3-00067-g7a5be871c0ec (Dec 18 2021 - 17:45:07 -0300) > > Trying to boot from MMC1

Re: [PATCH 2/6] ARM: dts: imx6qdl-udoo: Properly describe the SD card detect

2022-01-08 Thread Tom Rini
On Sat, Dec 18, 2021 at 06:10:21PM -0300, Fabio Estevam wrote: > GPIO7_IO00 is used as SD card detect. > > Properly describe this in the devicetree. > > Signed-off-by: Fabio Estevam Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 1/6] udoo_spl: Initialize the eSDHC controller in SPL

2022-01-08 Thread Tom Rini
On Sat, Dec 18, 2021 at 06:10:20PM -0300, Fabio Estevam wrote: > Currently, imx6q udoo board fails to boot like this: > > U-Boot SPL 2022.01-rc3-00061-g95ca715adad3 (Dec 18 2021 - 18:04:40 -0300) > Trying to boot from MMC1 > > The reason is that the eSDHC controller is not initialized in SPL. >

Re: Un-clean scripts/dtc causing buildman failure

2022-01-08 Thread Marcel Ziswiler
Hi Simon On Sat, 2022-01-08 at 07:54 -0700, Simon Glass wrote: > Hi Marcel, > > On Sat, 8 Jan 2022 at 07:22, Marcel Ziswiler wrote: > > > > Hi Simon et al. > > > > Somehow doing an mrproper does not seem to clean intermediate file in > > scripts/dtc: > > > > ⬢[zim@toolbox u-boot.git]$ make m

Re: [PATCH] mtd: spi-nor-ids: Add support for W25Q512JV

2022-01-08 Thread Dhananjay Phadke
On 1/8/2022 1:39 PM, Dhananjay Phadke wrote: Add support for Winbond W25Q512JV 64MB SPI NOR flash. https://www.digikey.com/en/product-highlight/w/winbond/w25q512jv-512-mb-serial-flash-memory Signed-off-by: Dhananjay Phadke --- drivers/mtd/spi/spi-nor-ids.c | 5 + 1 file changed, 5 inser

[PATCH] Enable RaspberryPi arm64 to netboot a compressed kernel image

2022-01-08 Thread Georg Gast
This changes add - kernel_comp_addr_r=0x080 - kernel_comp_size=0x080 to the default environment of the raspberry pi. With these two options u-boot can uncompress a received compressed kernel and boot it. I could just test these changes on raspberry pi 4B with 8GB of ram. See the attach

[PATCH] patman: Support absolute and ~user-relative alias files

2022-01-08 Thread Brian Norris
Python doesn't naturally support tilde (~) as a user-home marker in paths, but git-config does. So we need to resolve it before continuing. We also shouldn't blindly join the top-level tree with the aliasesfile path, because it might be an absolute path. This resolves warnings like the following:

Code in arch/arm/lib/image.c doing alignment incorrectly?

2022-01-08 Thread Glotzer, John
This is regarding the uboot code in: cmd/booti.c : booti_start()(caller) arch/arm/lib/image.c : booti_setup() (callee) The concern is that the alignment calculation is not achie

Re: [PATCH v2] imx8mq_evk: switch board to use binman for images

2022-01-08 Thread Tom Rini
On Sat, Jan 08, 2022 at 08:18:15PM +, ZHIZHIKIN Andrey wrote: > Hello Tom, > > > -Original Message- > > From: U-Boot On Behalf Of Andrey Zhizhikin > > Sent: Friday, December 3, 2021 5:18 PM > > To: u-boot@lists.denx.de > > Cc: sba...@denx.de; feste...@gmail.com; uboot-...@nxp.com; pen

[PATCH] mtd: spi-nor-ids: Add support for W25Q512JV

2022-01-08 Thread Dhananjay Phadke
Add support for Winbond W25Q512JV 64MB SPI NOR flash. https://www.digikey.com/en/product-highlight/w/winbond/w25q512jv-512-mb-serial-flash-memory Signed-off-by: Dhananjay Phadke --- drivers/mtd/spi/spi-nor-ids.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-id

RE: [PATCH v2] imx8mq_evk: switch board to use binman for images

2022-01-08 Thread ZHIZHIKIN Andrey
Hello Tom, > -Original Message- > From: U-Boot On Behalf Of Andrey Zhizhikin > Sent: Friday, December 3, 2021 5:18 PM > To: u-boot@lists.denx.de > Cc: sba...@denx.de; feste...@gmail.com; uboot-...@nxp.com; peng@nxp.com; > h...@denx.de; t.rem...@phytec.de; ja...@amarulasolutions.com; >

Re: [RFC PATCH v3 1/5] imx8m: drop env_get_location for imx8mn and imx8mp

2022-01-08 Thread Tommaso Merciai
On Tue, Jan 04, 2022 at 11:04:10AM +, Teresa Remmet wrote: > Hello Tommaso, > > Am Samstag, dem 25.12.2021 um 21:25 +0100 schrieb Tommaso Merciai: > > This function defined for two architecture is not really generic > > and can generate problem when people add a new board. > > > > Signed-off-

Re: [PATCH 2/2] udoo: neo: Do not print the Model information

2022-01-08 Thread Tommaso Merciai
On Wed, Jan 05, 2022 at 10:10:03PM +0100, Tommaso Merciai wrote: > On Wed, Jan 05, 2022 at 05:52:23PM -0300, Fabio Estevam wrote: > > Hi Tommaso, > > > > On Wed, Jan 5, 2022 at 5:47 PM Tommaso Merciai > > wrote: > > > > > Hi Fabio, > > > Thanks, I test your patch on basic and extended model. Be

Re: [PATCH v2] imx8mq: Generate a single bootable flash.bin again

2022-01-08 Thread Fabio Estevam
On 08/01/2022 12:34, Patrick Wildt wrote: All i.MX8MQ boards have been converted to binman, which makes it necessary to flash both flash.bin and u-boot.itb to get a bootable system. Prior to the conversion, only flash.bin was needed. Such new requirement breaks existing distro mechanisms to gene

Re: [PATCH] imx8mq: Generate a single bootable flash.bin again

2022-01-08 Thread Patrick Wildt
On Sat, Jan 08, 2022 at 12:24:29PM -0300, Fabio Estevam wrote: > On 08/01/2022 12:16, Patrick Wildt wrote: > > > but it's not only imx8mq_evk. Tom has merged the patchset that switches > > *all* i.MX8MQ boards to Binman, which means that this change touches not > > only imx8mq_evk but all i.MX8MQ

[PATCH v2] imx8mq: Generate a single bootable flash.bin again

2022-01-08 Thread Patrick Wildt
All i.MX8MQ boards have been converted to binman, which makes it necessary to flash both flash.bin and u-boot.itb to get a bootable system. Prior to the conversion, only flash.bin was needed. Such new requirement breaks existing distro mechanisms to generate the final binary because the extra u-bo

Re: [PATCH] imx8mq: Generate a single bootable flash.bin again

2022-01-08 Thread Fabio Estevam
On 08/01/2022 12:16, Patrick Wildt wrote: but it's not only imx8mq_evk. Tom has merged the patchset that switches *all* i.MX8MQ boards to Binman, which means that this change touches not only imx8mq_evk but all i.MX8MQ boards. The only thing that is specific to imx8mq_evk is the documentati

Re: [PATCH] imx8mq: Generate a single bootable flash.bin again

2022-01-08 Thread Patrick Wildt
On Sat, Jan 08, 2022 at 12:10:49PM -0300, Fabio Estevam wrote: > On 08/01/2022 11:58, Patrick Wildt wrote: > > After the conversion to binman in commit c1ecd03d90c7 ("imx: imx8mq_evk: > > switch to binman"), it is necessary to flash both flash.bin and > > u-boot.itb to get a bootable system. Prior

Re: [PATCH] imx8mq: Generate a single bootable flash.bin again

2022-01-08 Thread Fabio Estevam
On 08/01/2022 11:58, Patrick Wildt wrote: After the conversion to binman in commit c1ecd03d90c7 ("imx: imx8mq_evk: switch to binman"), it is necessary to flash both flash.bin and u-boot.itb to get a bootable system. Prior to this commit, only flash.bin was needed. Such new requirement breaks ex

[PATCH v4 2/2] board: mntre: imx8mq: Add MNT Reform 2 board support

2022-01-08 Thread Patrick Wildt
The MNT Reform 2 is a modular DIY laptop. In its initial version it is based on the BoundaryDevices i.MX8MQ SoM. Some parts have been lifted from BoundaryDevices official U-Boot downstream project. Signed-off-by: Patrick Wildt --- arch/arm/dts/imx8mq-mnt-reform2-u-boot.dtsi | 13 + arch/ar

[PATCH v4 1/2] arm: dts: imx8mq: add MNT Reform 2

2022-01-08 Thread Patrick Wildt
Device tree taken from Linux v5.16-rc5. Signed-off-by: Patrick Wildt --- arch/arm/dts/Makefile | 1 + arch/arm/dts/imx8mq-mnt-reform2.dts | 214 arch/arm/dts/imx8mq-nitrogen-som.dtsi | 275 ++ 3 files changed, 490 insertions(+) cr

[PATCH v4 0/2] Add MNT Reform 2 board support

2022-01-08 Thread Patrick Wildt
The MNT Reform 2 is a modular DIY laptop. In its initial version it is based on the BoundaryDevices i.MX8MQ SoM. Some parts have been lifted from BoundaryDevices official U-Boot downstream project. This U-Boot patchset supports the serial console, the SD card and eMMC, Gigabit Ethernet and USB.

Re: [PATCH] imx8mq: Generate a single bootable flash.bin again

2022-01-08 Thread Fabio Estevam
Hi Patrick, On 08/01/2022 11:58, Patrick Wildt wrote: After the conversion to binman in commit c1ecd03d90c7 ("imx: imx8mq_evk: switch to binman"), it is necessary to flash both flash.bin and u-boot.itb to get a bootable system. Prior to this commit, only flash.bin was needed. Such new requirem

[PATCH] imx8mq: Generate a single bootable flash.bin again

2022-01-08 Thread Patrick Wildt
After the conversion to binman in commit c1ecd03d90c7 ("imx: imx8mq_evk: switch to binman"), it is necessary to flash both flash.bin and u-boot.itb to get a bootable system. Prior to this commit, only flash.bin was needed. Such new requirement breaks existing distro mechanisms to generate the fina

Re: Un-clean scripts/dtc causing buildman failure

2022-01-08 Thread Simon Glass
Hi Marcel, On Sat, 8 Jan 2022 at 07:22, Marcel Ziswiler wrote: > > Hi Simon et al. > > Somehow doing an mrproper does not seem to clean intermediate file in > scripts/dtc: > > ⬢[zim@toolbox u-boot.git]$ make mrproper > ⬢[zim@toolbox u-boot.git]$ git status --ignored scripts/dtc > On branch maste

Re: [RFC PATCH v1 05/21] test: hush: Test hush commands list.

2022-01-08 Thread Simon Glass
Hi Francis, On Fri, 31 Dec 2021 at 09:14, Francis Laniel wrote: > > This commit ensures behavior of commands separated by ';', '&&' and '||'. s/ensures/checks/ or maybe verifies? > > Signed-off-by: Francis Laniel > --- > test/hush/Makefile | 1 + > test/hush/list.c | 79 +

Re: [RFC PATCH v1 04/21] test: hush: Test hush variable expansion.

2022-01-08 Thread Simon Glass
Hi Francis, On Fri, 31 Dec 2021 at 09:14, Francis Laniel wrote: > > This commit ensures shell variables are replaced by their values. > > Signed-off-by: Francis Laniel > --- > test/hush/Makefile | 1 + > test/hush/dollar.c | 191 + > 2 files changed

Re: [RFC PATCH v1 03/21] test/py: hush_if_test: Remove the test file.

2022-01-08 Thread Simon Glass
On Fri, 31 Dec 2021 at 09:14, Francis Laniel wrote: > > Commit 9087ab2cc4 ("test/py: hush_if_test: Remove the test file.") translated > this test to a C test, so this python file is no more needed. > > Signed-off-by: Francis Laniel > --- > test/py/tests/test_hush_if_test.py | 184 ---

Re: [RFC PATCH v1 02/21] test: hush: Test hush if/else.

2022-01-08 Thread Simon Glass
On Fri, 31 Dec 2021 at 09:14, Francis Laniel wrote: > > As asked in commit 9c6bf1715f6a ("test/py: hush_if_test: Add tests to cover > octal/hex values"), this commit translates test_hush_if_test.py to a C test. > > Signed-off-by: Francis Laniel > --- > test/hush/Makefile | 1 + > test/hush/if.

Re: [RFC PATCH v1 01/21] test: Add framework to test hush behavior.

2022-01-08 Thread Simon Glass
Hi Francis, On Fri, 31 Dec 2021 at 09:14, Francis Laniel wrote: > > This commit introduces a new subcommand to ut: ut hush. Introduce a new subcommand... (we know it is a commit :-) Please fix for all of your patches. Also please drop the periods in your commit subjects. Reviewed-by: Simon G

Re: efi bootmenu

2022-01-08 Thread Simon Glass
Hi Ilias, On Fri, 7 Jan 2022 at 02:20, Ilias Apalodimas wrote: > > Hi Mark, > > [...] > > > > > > Also, keep in mind that BootOrder and Boot only really work if > > > > there is runtime EFI variable support. So the boot menu should > > > > include options to select a device to boot from and

Re: [EXT] Re: [PATCH v7 01/15] crypto/fsl: Add support for CAAM Job ring driver model

2022-01-08 Thread Simon Glass
Hi Gaurav, On Thu, 6 Jan 2022 at 22:54, Gaurav Jain wrote: > > Hi > > > -Original Message- > > From: Simon Glass > > Sent: Tuesday, December 28, 2021 2:02 PM > > To: Gaurav Jain > > Cc: U-Boot Mailing List ; Stefano Babic > > ; Fabio Estevam ; Peng Fan > > ; Priyanka Jain ; Ye Li > > ;

Re: [PATCH v3 7/7] arm64: dts: imx8mm-u-boot.dtsi: improve odd blob-ext naming

2022-01-08 Thread Marcel Ziswiler
On Fri, 2022-01-07 at 21:07 -0500, Tom Rini wrote: > On Sat, Oct 23, 2021 at 01:15:16AM +0200, Marcel Ziswiler wrote: > > > From: Marcel Ziswiler > > > > Rather than using odd implicit blob-ext naming, explicitly specify the > > type to be of blob-ext and therefore also simplify the node naming.

Re: [PATCH v3 4/7] arm64: dts: imx8mm: use common binman configuration

2022-01-08 Thread Marcel Ziswiler
On Fri, 2022-01-07 at 21:07 -0500, Tom Rini wrote: > On Sat, Oct 23, 2021 at 01:15:13AM +0200, Marcel Ziswiler wrote: > > > From: Marcel Ziswiler > > > > With the move to using binman to generate SPL aka u-boot-spl-ddr.bin and > > U-Boot proper aka u-boot.itb every board now covers such configur

Un-clean scripts/dtc causing buildman failure

2022-01-08 Thread Marcel Ziswiler
Hi Simon et al. Somehow doing an mrproper does not seem to clean intermediate file in scripts/dtc: ⬢[zim@toolbox u-boot.git]$ make mrproper ⬢[zim@toolbox u-boot.git]$ git status --ignored scripts/dtc On branch master Your branch is up to date with 'origin/master'. Ignored files: (use "git add

Re: [PATCH v2] console: usb: kbd: Limit poll frequency to improve performance

2022-01-08 Thread Peter Robinson
On Wed, Dec 22, 2021 at 11:16 PM Thomas Watson wrote: > > Using the XHCI driver, the function `usb_kbd_poll_for_event` takes > 30-40ms to run. The exact time is dependent on the polling interval the > keyboard requests in its descriptor, and likely cannot be significantly > reduced without major r