[PATCH] tools: mkimage/dumpimage: Allow to use -l with -T

2022-02-12 Thread Pali Rohár
Currently -l option for mkimage and dumpimage ignores option -T and always tries to autodetect image type. With this change it is possible to tell mkimage and dumpimage to parse image file as specific type (and not random autodetected type). This allows to use mkimage -l or dumpimage -l as tool fo

[PATCH] tools: kwbimage: Fix dumping DATA registers for v0 images

2022-02-12 Thread Pali Rohár
End of DATA register section is indicated by zero value in both raddr and rdata. So do not stop dumping registers with non-zero address and zero value. And also print end of DATA registers section. Fixes: 1a8e6b63e24f ("tools: kwbimage: Dump kwbimage config file on '-p -1' option") Signed-off-by

Re: Problem IMX8MN booting legacy kernel and mipi display

2022-02-12 Thread Michael Nazzareno Trimarchi
Hi Tim You are using the imx8mm. I have problems on imx8mn. It's like some part is not implemented. Time to time power domain timeout if I enabled mipi pipeline Michael On Wed, Feb 2, 2022 at 4:54 PM Tim Harvey wrote: > > On Wed, Feb 2, 2022 at 5:04 AM Michael Nazzareno Trimarchi > wrote: > >

Re: [PATCH] image: Control FIT signature verification at runtime

2022-02-12 Thread Alex G.
On 1/30/22 21:41, Andrew Jeffery wrote: Some platform designs include support for disabling secure-boot via a jumper on the board. Sometimes this control can be separate from the mechanism enabling the root-of-trust for the platform. Add support for this latter scenario by allowing boards to impl

Re: [ANN] U-Boot v2022.04-rc1 released

2022-02-12 Thread Michal Simek
Hi, On 1/31/22 23:59, Tom Rini wrote: Hey all, It's release day and so here's v2022.04-rc1. While there's much in here that needed to come in, there's a few big things outstanding, including but not limited to i.MX and layerscape syncs and further sunxi changes. In terms of a changelog, git l

Re: [ANN] U-Boot v2022.04-rc1 released

2022-02-12 Thread Andy Shevchenko
On Fri, Feb 11, 2022 at 9:15 PM Andy Shevchenko wrote: > On Fri, Feb 11, 2022 at 8:46 PM Andy Shevchenko > wrote: > > On Fri, Feb 11, 2022 at 8:31 PM Andy Shevchenko > > wrote: > > > On Mon, Jan 31, 2022 at 05:59:30PM -0500, Tom Rini wrote: ... > > git bisect bad 379d3c1fd6aa490b1ad5697525cfc8

[PATCH] usb: ehci-omap: Drop dead code

2022-02-12 Thread Adam Ford
omap_ehci_hcd_stop appears to be dead code, and omap_ehci_hcd_init is only called by the probe function, so it can be static to that function. Remove both from the header along with some additional checking for DM_USB. Signed-off-by: Adam Ford diff --git a/arch/arm/include/asm/ehci-omap.h b/arc

[PATCH] tools/zynqmp_pm_cfg_obj_convert.py: fix build with Vivado 2021.x

2022-02-12 Thread Luca Ceresoli
This tool fails with a pm_cfg_obj.c file generated by Vitis 2021.2. This is because that version of Vitis added the PM_CONFIG_OBJECT_TYPE_BASE that was not previously generated, thus the script does not implement it. Reported-by: Neal Frager [report: https://lists.buildroot.org/pipermail/buildro

[PATCH 2/2] arm: omap3: Make some memory functions static and clean headers

2022-02-12 Thread Adam Ford
There are a few memory functions for both the emif4 (AM3517) and sdrc (OMAP35/DM37) code that can be defined as static, because those functions are not used externally. Make them static and clean up some of the corresponding headers. Signed-off-by: Adam Ford diff --git a/arch/arm/include/asm/arc

[PATCH 1/2] arm: omap3: Cleanup sys_info to fit OMAP3 booting with LTO

2022-02-12 Thread Adam Ford
With LTO enabled, some functions appear to be optimized in a way that causes hanging on some OMAP3 boards after some unrelated patches were applied. The solution appears to make several functions __used. There also appears be to be some dead code, so remove it while cleaning this up. This has be

Re: [PATCH 2/2] net: phy: mv88e6352: Fix miiphy_read/miiphy_write return value checks

2022-02-12 Thread Ramon Fried
On Wed, Feb 9, 2022 at 5:41 PM Daniel Klauer wrote: > > The miiphy_read/miiphy_write functions return 1 on error, not -errno. Why don't you just fix the miiphy_read/miiphy_write functions ?