Re: [PATCH v2] usb: gadget: dfu: Rework dfu command to use usbgadget

2021-10-04 Thread Jules Maselbas
Hi Sascha, Would it be interesting to do the same for other usbgadget commands ? I think there is the "serial" command that still doesn't uses the usbgaget. Best, Jules ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org

Re: [PATCH] ARM: at91: sama5d27_som1_ek: populate MAC address from EEPROM

2021-10-04 Thread Sascha Hauer
On Wed, Sep 22, 2021 at 12:54:25PM +0200, Ahmad Fatoum wrote: > Hello Sascha, > > On 22.06.21 10:08, Ahmad Fatoum wrote: > > With the latest NVMEM enhancements merged, barebox networking core now > > always consults NVMEM cells referenced in the network controller > > device tree node before it fa

Re: [PATCH] RISC-V: virt: support poweroff/restart on tinyemu

2021-10-04 Thread Sascha Hauer
On Thu, Sep 16, 2021 at 11:35:32AM +0200, Ahmad Fatoum wrote: > QEMU Virt on RISC-V has syscon-reboot and syscon-poweroff compatible > devices and describes them in the device tree. TinyEMU's Virt machine > is different and has a HTIF based poweroff and no dedicated reset > mechanism. Add board sup

Re: [PATCH] ARM: i.MX8MP: move SCTR enabling into imx8mp_cpu_lowlevel_init

2021-10-04 Thread Sascha Hauer
On Mon, Aug 30, 2021 at 01:53:25PM +0200, Ahmad Fatoum wrote: > We already do this SCTR poking in imx8mm_cpu_lowlevel_init. If the EVK > needs it, other boards should as well, thus move it to a more generic > place. > > Signed-off-by: Ahmad Fatoum > --- > arch/arm/boards/nxp-imx8mp-evk/lowlevel.

Re: [PATCH RESEND v4 0/8] RISC-V: add LiteX SoC support

2021-10-04 Thread Sascha Hauer
On Tue, Aug 17, 2021 at 01:10:56PM +0300, Antony Pavlov wrote: > Changes since v3: > > * rebased on top of next branch; > * the "console: support set baudrate for fixed baudrate drivers" patch > is introduced so the "litex serial: add setbrg callback" patch is dropped; > * update mac0 IP

Re: [PATCH 1/2] video: simplefb-client: populate video mode field

2021-10-04 Thread Sascha Hauer
On Tue, Aug 24, 2021 at 11:51:18AM +0200, Ahmad Fatoum wrote: > Video drivers should initialize fb_info->mode, so device parameters for > mode and enable/disable can function as expected. This wasn't done in > the simplefb driver so far, fix this. > > This also lets us drop some initialization of

Re: [PATCH] net: eqos: let phy_resume handle fixed link phys

2021-10-04 Thread Sascha Hauer
On Wed, Aug 25, 2021 at 08:55:54AM +0200, Rouven Czerwinski wrote: > Currently barebox will try to talk to the phy over mdio, even if the > parent is a fixed-link. This will result in the following stacktrace: > > barebox@Linux Automation Test Automation Controller (TAC):/ dhcp > unable to han

Re: [PATCH v2] usb: imx-us-phy: add vbus_valid ro parameter

2021-10-04 Thread Sascha Hauer
On Tue, Aug 24, 2021 at 02:12:08PM +0200, Marco Felsch wrote: > The parameter can be used by init scripts to detect a plugged usb cable. > Upon a plugged usb cable the barebox behaviour can be changed which can > be useful e.g. during production to apply a special production > environment. > > Sig

Re: [PATCH v1 0/6] protonic: maintaining and new board

2021-10-04 Thread Sascha Hauer
On Wed, Aug 25, 2021 at 02:54:26PM +0200, Oleksij Rempel wrote: > This patch series contains fixes and updates for currently mainlined > protonic boards and one new board. > > Please close one eye on the arch/arm/dts/imx6ull-jozacp.dtsi, it will be > reviewed and reworked on the kernel side. > >

Re: [PATCH] Documentation: framebuffer: remove note about lack of backlight support

2021-10-04 Thread Sascha Hauer
On Wed, Aug 25, 2021 at 11:27:01AM +0200, Ahmad Fatoum wrote: > barebox supports PWM backlight. Remove the notice about lack of support. > > Signed-off-by: Ahmad Fatoum > --- > Documentation/user/framebuffer.rst | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) Applied, thanks Sasc

Re: [PATCH] state: backend_raw: fix ignoring unpack failures

2021-10-04 Thread Sascha Hauer
On Wed, Aug 25, 2021 at 04:49:04PM +0200, Marco Felsch wrote: > This is required to inform the state framework that the state variable > set have changed and we need to write the new variable set. Without this > fix the new variable set is never written since the state never sets > dirty=1 and so s

Re: [PATCH v2] usb: gadget: dfu: Rework dfu command to use usbgadget

2021-10-04 Thread Sascha Hauer
On Fri, Sep 10, 2021 at 12:29:31PM +0200, Jules Maselbas wrote: > The dfu command now uses the composite multi gadget to register the usb > functionality. This allows the removal of the usb composite driver from > dfu.c > > As the dfu command is blocking the command slice must be released while >

Re: [PATCH] mtd: core: fix whitespaces

2021-10-04 Thread Sascha Hauer
On Mon, Oct 04, 2021 at 12:15:50PM +0300, Antony Pavlov wrote: > Signed-off-by: Antony Pavlov > --- > drivers/mtd/core.c | 22 +++--- > 1 file changed, 11 insertions(+), 11 deletions(-) Applied, thanks Sascha -- Pengutronix e.K. |

Re: [PATCH v2 2/3] mci: imx-esdhc-pbl: support eMMC boot partitions on i.MX8MP

2021-10-04 Thread Sascha Hauer
On Mon, Oct 04, 2021 at 01:00:19PM +0200, Ahmad Fatoum wrote: > Hello Sascha, > > On 04.10.21 12:56, Sascha Hauer wrote: > > On Mon, Aug 30, 2021 at 01:51:55PM +0200, Ahmad Fatoum wrote: > >> The i.MX header for SD/MMC starts at an offset to allow for a partition > >> table at offset 0. i.MX8MN/P

[PATCH] debug_ll: ns16550: Fix interrupt disable on init

2021-10-04 Thread Jules Maselbas
The debug_ll_write_reg function takes first the register and secondly the value to write, which in this call were inverted. Fix the argument order. Signed-off-by: Jules Maselbas --- include/debug_ll/ns16550.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/debug_ll/ns

Re: [PATCH master] net: designware: eqos: fix MDIO regression for STM32MP1 boards

2021-10-04 Thread Ahmad Fatoum
Hello Sascha, On 04.10.21 13:26, Sascha Hauer wrote: > On Tue, Aug 31, 2021 at 05:32:14PM +0200, Ahmad Fatoum wrote: >> The STM32MP1 boards call their mdio subnode mdio0, which is now skipped >> since ed8c7bdf8592 ("net: designware: eqos: set mdio bus device node"). >> >> Fix networking for them b

Re: [PATCH master] of: overlay: don't do fixups on empty global.of.overlay.dir

2021-10-04 Thread Sascha Hauer
On Tue, Aug 31, 2021 at 06:11:39PM +0200, Ahmad Fatoum wrote: > $global.of.overlay.dir is dynamically prepended with the root of the > device currently being booted. This allows use of relative paths. > > Because $global.of.overlay.filepattern is * by default, this means that > all files in the ro

Re: [PATCH master] net: designware: eqos: fix MDIO regression for STM32MP1 boards

2021-10-04 Thread Sascha Hauer
On Tue, Aug 31, 2021 at 05:32:14PM +0200, Ahmad Fatoum wrote: > The STM32MP1 boards call their mdio subnode mdio0, which is now skipped > since ed8c7bdf8592 ("net: designware: eqos: set mdio bus device node"). > > Fix networking for them by only falling back to the mdio node name when a > child no

Re: [PATCH] net: cpsw: fix ethernet bringup in case of a fixed-link phy

2021-10-04 Thread Sascha Hauer
On Tue, Aug 31, 2021 at 12:57:01PM +, Karfich, Oleg wrote: > In case of a fixed-link phy the cpsw_adjust_link() function is > called directly in phy_device_attach() and configures the MACCONTROL > register. Right after this configuration cpsw_init() is called and > resets the MACCONTROL registe

Re: [PATCH v2] mci: sdhci: fix big-endian write for blockcount/size

2021-10-04 Thread Sascha Hauer
On Tue, Aug 31, 2021 at 08:47:15AM +0200, Steffen Trumtrar wrote: > From: Steffen Trumtrar > > The patch > > 0a47bce1b03fd236384e904dca005c0870ce8684 > mci: imx-esdhc: Use common DMA helpers > > converted the imx-esdhc driver to use the DMA helpers introduced with > > 60b608b271447

Re: [PATCH v2 2/3] mci: imx-esdhc-pbl: support eMMC boot partitions on i.MX8MP

2021-10-04 Thread Ahmad Fatoum
Hello Sascha, On 04.10.21 12:56, Sascha Hauer wrote: > On Mon, Aug 30, 2021 at 01:51:55PM +0200, Ahmad Fatoum wrote: >> The i.MX header for SD/MMC starts at an offset to allow for a partition >> table at offset 0. i.MX8MN/P bootrom did away with the offset for eMMC >> boot partitions, which usuall

Re: [PATCH v2 2/3] mci: imx-esdhc-pbl: support eMMC boot partitions on i.MX8MP

2021-10-04 Thread Sascha Hauer
On Mon, Aug 30, 2021 at 01:51:55PM +0200, Ahmad Fatoum wrote: > The i.MX header for SD/MMC starts at an offset to allow for a partition > table at offset 0. i.MX8MN/P bootrom did away with the offset for eMMC > boot partitions, which usually lack on-disk partition tables, but kept a > 32-byte offse

Re: [PATCH] video: Fix broken bcm2835 fb driver

2021-10-04 Thread Sascha Hauer
On Tue, Sep 07, 2021 at 09:29:15AM +0200, Daniel Brát wrote: > The bcm2835 framebuffer driver was broken, because the address of video > buffer allocated for us by the GPU and returned through mailbox was > used without converting it back to ARM address space. That unconverted > address was also in

Re: [PATCH master] blspec: fix use-after-free of firmware search path

2021-10-04 Thread Sascha Hauer
On Mon, Sep 13, 2021 at 10:29:57AM +0200, Ahmad Fatoum wrote: > firmware_set_searchpath() is used to temporarily extend firmware search > path when parsing boot spec files. It does so by first freeing the > original firmware pointer and then storing a pointer to a copy of the > new search path. >

Re: [PATCH] fs: remove unused struct fs_device_d::parent_device

2021-10-04 Thread Sascha Hauer
On Mon, Sep 13, 2021 at 10:30:19AM +0200, Ahmad Fatoum wrote: > The parent_device member is unused anywhere, so drop it. > > Signed-off-by: Ahmad Fatoum > --- > fs/fs.c | 1 - > include/fs.h | 1 - > 2 files changed, 2 deletions(-) Applied, thanks Sascha -- Pengutronix e.K.

Re: [PATCH] Documentation: Typo fix in command example

2021-10-04 Thread Sascha Hauer
On Wed, Sep 08, 2021 at 10:41:14AM +0200, Jules Maselbas wrote: > On Tue, Sep 07, 2021 at 03:01:31PM +0200, Jules Maselbas wrote: > > The ``make`` command is missing a closing angle bracket ``>``. > > > > Signed-off-by: Jules Maselbas > > --- > > Documentation/user/multi-image.rst | 2 +- > > 1

Re: [PATCH] common: Select CRC32 dependency for DEFAULT_ENVIRONMENT

2021-10-04 Thread Sascha Hauer
On Tue, Sep 07, 2021 at 02:45:20PM +0200, Jules Maselbas wrote: > The DEFAULT_ENVIRONMENT config enable the compilation of envfs-core.c > which depends on CRC32. > > Signed-off-by: Jules Maselbas > --- > common/Kconfig | 1 + > 1 file changed, 1 insertion(+) Applied, thanks Sascha -- Pengut

Re: [PATCH 1/2 v2] usb: dwc2: Make having a phy optional

2021-10-04 Thread Sascha Hauer
Hi Daniel, On Wed, Sep 08, 2021 at 02:58:53PM +0200, Daniel Brát wrote: > Despite using 'phy_optional_get' to get a 'usb2-phy' inside its probe, > the driver would fail if it didnt find it. Also, there is no Kconfig > dependency on 'CONFIG_GENERIC_PHY', so without it defined the phy > functions ar

Re: [PATCH v2 0/3] arm: zynqmp: add support for zcu106 and boot sources

2021-10-04 Thread Sascha Hauer
On Mon, Sep 13, 2021 at 02:13:47PM +0200, Michael Riesch wrote: > Hi all, > > This series features some mixed additions to and improvements of > the Xilinx Zynq UltraScale+ MPSoC support in barebox. > > The first patch introduces support for the Xilinx Zynq UltraScale+ > MPSoC ZCU106 evaluation b

[PATCH] mtd: core: fix whitespaces

2021-10-04 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- drivers/mtd/core.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/mtd/core.c b/drivers/mtd/core.c index 37fccda6be..c6c1e1e7cf 100644 --- a/drivers/mtd/core.c +++ b/drivers/mtd/core.c @@ -377,7 +377,7 @@ int mt

Re: 'of_compatible' and 'model' imd records are unusable

2021-10-04 Thread Sascha Hauer
On Sat, Oct 02, 2021 at 12:44:47PM +0300, Antony Pavlov wrote: > On Sat, 2 Oct 2021 10:48:50 +0200 > Sascha Hauer wrote: > > Hi Sascha! > > > On Fri, Oct 01, 2021 at 02:24:53PM +0300, Antony Pavlov wrote: > > > Hi all! > > > > > > I have cloned barebox c67ada0024da (v2021.08.0) and found that >