[PATCH 4/4] configs: smdkv310: get rid of unused EXYNOS4_DEFAULT_UART_OFFSET

2020-09-16 Thread Andre Heider
Unused. Signed-off-by: Andre Heider --- include/configs/smdkv310.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/configs/smdkv310.h b/include/configs/smdkv310.h index ede057322f..fc2f6ecf6b 100644 --- a/include/configs/smdkv310.h +++ b/include/configs/smdkv310.h @@ -27,9 +27,6 @@

[PATCH 3/4] Remove whitelist entry CONFIG_DEFAULT_CONSOLE

2020-09-16 Thread Andre Heider
There're no users left. Signed-off-by: Andre Heider --- scripts/config_whitelist.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 093e432efc..470506da5b 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelis

[PATCH 2/4] treewide: configs: fold CONFIG_DEFAULT_CONSOLE

2020-09-16 Thread Andre Heider
In prepartion to remove CONFIG_DEFAULT_CONSOLE, fold the current users. Signed-off-by: Andre Heider --- include/configs/odroid.h| 7 +-- include/configs/odroid_xu3.h| 6 +- include/configs/s5p_goni.h | 8 +--- include/configs/s5pc210_universal.h | 7 +

[PATCH 1/4] treewide: configs: get rid of unused CONFIG_DEFAULT_CONSOLE

2020-09-16 Thread Andre Heider
These are all unused. Signed-off-by: Andre Heider --- This sets completely removes CONFIG_DEFAULT_CONSOLE from the tree. Only compile time tested. include/configs/arndale.h | 2 -- include/configs/espresso7420.h | 3 --- include/configs/origen.h | 5 - include/configs/peach-pi.h

Re: U-Boot FIT Signature Verification

2020-09-16 Thread takahiro.aka...@linaro.org
On Wed, Sep 16, 2020 at 11:40:08AM +, Joakim Tjernlund wrote: > On Wed, 2020-09-16 at 13:14 +0200, Heinrich Schuchardt wrote: > > CAUTION: This email originated from outside of the organization. Do not > > click links or open attachments unless you recognize the sender and know > > the conten

Re: U-Boot FIT Signature Verification

2020-09-16 Thread takahiro.aka...@linaro.org
On Wed, Sep 16, 2020 at 02:44:45PM +0200, Heinrich Schuchardt wrote: > On 16.09.20 14:05, Joakim Tjernlund wrote: > > On Wed, 2020-09-16 at 13:55 +0200, Heinrich Schuchardt wrote: > >> On 16.09.20 13:40, Joakim Tjernlund wrote: > >>> On Wed, 2020-09-16 at 13:14 +0200, Heinrich Schuchardt wrote: > >

Re: U-Boot FIT Signature Verification

2020-09-16 Thread AKASHI Takahiro
On Wed, Sep 16, 2020 at 01:14:56PM +0200, Heinrich Schuchardt wrote: > On 16.09.20 10:13, AKASHI Takahiro wrote: > > On Wed, Sep 16, 2020 at 01:19:03AM +0200, Heinrich Schuchardt wrote: > >> On 9/11/20 7:26 PM, Andrii Voloshyn wrote: > >>> Hi there, > >>> > >>> Does U-boot take into account cer

Re: [PATCH v2 0/5] powerpc, mpc83xx: add DM_ETH support

2020-09-16 Thread Heiko Schocher
Hello Tom, Am 16.09.2020 um 21:01 schrieb Tom Rini: On Wed, Sep 16, 2020 at 07:04:57AM +0200, Heiko Schocher wrote: Hello Mario, Tom, added Tom to cc ... Am 08.09.2020 um 07:59 schrieb Heiko Schocher: Hi Mario, Am 17.08.2020 um 07:23 schrieb Heiko Schocher: Hello Mario, Am 27.05.2020 um 1

Re: [PATCH v2 0/5] powerpc, mpc83xx: add DM_ETH support

2020-09-16 Thread Heiko Schocher
Hello Rasmus, Am 16.09.2020 um 21:35 schrieb Rasmus Villemoes: On 16/09/2020 07.04, Heiko Schocher wrote: Hello Mario, Tom, added Tom to cc ... Am 08.09.2020 um 07:59 schrieb Heiko Schocher: Hi Mario, Am 17.08.2020 um 07:23 schrieb Heiko Schocher: Hello Mario, Am 27.05.2020 um 14:43 schri

Re: [PATCH 2/4] net: mdio: Supply appropriate devices for dev_dgb calls

2020-09-16 Thread Simon Glass
Hi Sean, On Wed, 16 Sep 2020 at 19:40, Sean Anderson wrote: > > > On 9/16/20 9:09 PM, Simon Glass wrote: > > On Sat, 12 Sep 2020 at 18:28, Sean Anderson wrote: > >> > >> The name of the device we are working on is `ethdev` and not just `dev`. > >> > >> Signed-off-by: Sean Anderson > >> --- > >>

Re: [PATCH 1/3] dev: Disambiguate errors in uclass_find

2020-09-16 Thread Simon Glass
Hi Sean, On Wed, 16 Sep 2020 at 19:44, Sean Anderson wrote: > > On 9/16/20 9:09 PM, Simon Glass wrote: > > Hi Sean, > > > > On Sat, 12 Sep 2020 at 15:46, Sean Anderson wrote: > >> > >> There are two cases where uclass_find can return an error. The second is > >> when the uclass has not yet been

Re: [PATCH 1/3] dev: Disambiguate errors in uclass_find

2020-09-16 Thread Sean Anderson
On 9/16/20 9:09 PM, Simon Glass wrote: > Hi Sean, > > On Sat, 12 Sep 2020 at 15:46, Sean Anderson wrote: >> >> There are two cases where uclass_find can return an error. The second is >> when the uclass has not yet been init'd. The first is when the driver model >> has not been init'd (or has bee

Re: [PATCH 2/4] net: mdio: Supply appropriate devices for dev_dgb calls

2020-09-16 Thread Sean Anderson
On 9/16/20 9:09 PM, Simon Glass wrote: > On Sat, 12 Sep 2020 at 18:28, Sean Anderson wrote: >> >> The name of the device we are working on is `ethdev` and not just `dev`. >> >> Signed-off-by: Sean Anderson >> --- >> >> net/mdio-uclass.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions

Re: [PATCH 2/3] net: Expose some errors generated in net_init

2020-09-16 Thread Simon Glass
On Sat, 12 Sep 2020 at 15:46, Sean Anderson wrote: > > net_init does not always succeed, and there is no existing mechanism to > discover errors. This patch allows callers of net_init (such as net_init) > to handle errors. The root issue is that eth_get_dev can fail, but > net_init_loop doesn't ex

Re: [PATCH v2 20/46] net: mvpp2: Fix not calling dev_xxx with a device

2020-09-16 Thread Simon Glass
On Tue, 15 Sep 2020 at 08:46, Sean Anderson wrote: > > Remove some prefixes, or get the device from the phy. > > Signed-off-by: Sean Anderson > --- > > Changes in v2: > - New > > drivers/net/mvpp2.c | 23 --- > 1 file changed, 12 insertions(+), 11 deletions(-) Reviewed-by: S

Re: [PATCH v2 19/46] net: mvneta: Convert netdev_xxx to dev_xxx

2020-09-16 Thread Simon Glass
On Tue, 15 Sep 2020 at 08:45, Sean Anderson wrote: > > netdev_xxx evaluates to printf in U-Boot, so there is no extra info > printed. mvneta is one of two drivers which use these functions in U-Boot. > Convert these functions to dev_xxx where possible (and to log_xxx where > not). > > Signed-off-b

Re: [PATCH 1/1] log: mute messages generated by log drivers

2020-09-16 Thread Simon Glass
On Mon, 14 Sep 2020 at 02:01, Heinrich Schuchardt wrote: > > When a message is written by a log driver (e.g. via the network stack) this > may result in the generation of further messages. We cannot allow these > additional messages to be emitted as this might result in an infinite > recursion. >

Re: [PATCH v2 11/46] mmc: mtk-sd: Fix not calling dev_err with a device

2020-09-16 Thread Simon Glass
On Tue, 15 Sep 2020 at 08:45, Sean Anderson wrote: > > This adds a udevice parameter to get_best_delay and msdc_set_mclk so they > can call dev_err properly. > > Signed-off-by: Sean Anderson > --- > > Changes in v2: > - New > > drivers/mmc/mtk-sd.c | 24 +--- > 1 file changed

Re: [PATCH v2 24/46] net: sun8i_emac: Fix not calling dev_xxx with a device

2020-09-16 Thread Simon Glass
On Tue, 15 Sep 2020 at 08:46, Sean Anderson wrote: > > Pass a udevice into a few functions so `dev` is defined. > > Signed-off-by: Sean Anderson > --- > > Changes in v2: > - New > > drivers/net/sun8i_emac.c | 9 + > 1 file changed, 5 insertions(+), 4 deletions(-) > Reviewed-by: Simon Gl

Re: [PATCH v2 08/46] mtd: spi-nand: Fix not calling dev_err with a device

2020-09-16 Thread Simon Glass
On Tue, 15 Sep 2020 at 08:45, Sean Anderson wrote: > > Get it from spinand->slave->dev. Another option would be to use > spinand_to_mtd(spinand)->dev, but this is what the existing code uses. > > Signed-off-by: Sean Anderson > --- > > Changes in v2: > - New > > drivers/mtd/nand/spi/core.c | 8 ++

Re: [PATCH v2 18/46] net: mvneta: Fix not always calling dev_err with a device

2020-09-16 Thread Simon Glass
On Tue, 15 Sep 2020 at 08:45, Sean Anderson wrote: > > No need for indirection here. > > Signed-off-by: Sean Anderson > --- > > Changes in v2: > - New > > drivers/net/mvneta.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH 1/4] remoteproc: Remove unused function rproc_elf_sanity_check

2020-09-16 Thread Simon Glass
On Sat, 12 Sep 2020 at 18:28, Sean Anderson wrote: > > This function is never used anywhere, and it also tries to log with a > nonexistant device. > > Signed-off-by: Sean Anderson > --- > > drivers/remoteproc/rproc-elf-loader.c | 16 > include/remoteproc.h | 13

Re: [PATCH 2/2] power: regulator: gpio-regulator: Convert to use APIs which support live DT

2020-09-16 Thread Simon Glass
On Thu, 10 Sep 2020 at 10:18, Patrick Delaunay wrote: > > Use ofnode_ or dev_ APIs instead of fdt_ and fdtdec_ APIs so that the > driver can support live DT. > > Signed-off-by: Patrick Delaunay > --- > > drivers/power/regulator/gpio-regulator.c | 22 +- > 1 file changed, 13 i

Re: [PATCH v2 23/46] net: sunxi: Fix not calling dev_xxx with a device

2020-09-16 Thread Simon Glass
On Tue, 15 Sep 2020 at 08:46, Sean Anderson wrote: > > There's no dev to log with, so pass the device along with the priv data. > > Signed-off-by: Sean Anderson > --- > > Changes in v2: > - New > > drivers/net/sunxi_emac.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > Reviewed-

Re: [PATCH v2 45/46] dm: Use symbolic constants for log levels in dev_xxx

2020-09-16 Thread Simon Glass
On Tue, 15 Sep 2020 at 08:46, Sean Anderson wrote: > > This substitutes literal log levels with their symbolic constants. > > Signed-off-by: Sean Anderson > --- > > (no changes since v1) > > include/dm/device_compat.h | 21 +++-- > 1 file changed, 11 insertions(+), 10 deletions(-

Re: [PATCH v2 21/46] net: mvpp2: Convert netdev_xxx to dev_xxx

2020-09-16 Thread Simon Glass
On Tue, 15 Sep 2020 at 08:46, Sean Anderson wrote: > > netdev_xxx evaluates to printf in U-Boot, so there is no extra info > printed. mvpp2 one of only two drivers which use these functions in U-Boot. > Convert these functions to dev_xxx where possible (and to log_xxx where > not). > > Signed-off-

Re: [PATCH v2 34/46] soc: qualcomm: Fix not calling dev_err with a device

2020-09-16 Thread Simon Glass
On Tue, 15 Sep 2020 at 08:46, Sean Anderson wrote: > > Remove the indirection. > > Signed-off-by: Sean Anderson > --- > > Changes in v2: > - New > > drivers/smem/msm_smem.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass

Re: [PATCH v2 09/46] mmc: Add mmc_dev()

2020-09-16 Thread Simon Glass
On Tue, 15 Sep 2020 at 08:45, Sean Anderson wrote: > > This macro is necessary for arasan_zynqmp_dll_reset to compile. > > Signed-off-by: Sean Anderson > --- > > Changes in v2: > - New > > include/mmc.h | 2 ++ > 1 file changed, 2 insertions(+) > Reviewed-by: Simon Glass

Re: [PATCH v2 12/46] mailbox: k3: Fix not calling dev_err with a device

2020-09-16 Thread Simon Glass
On Tue, 15 Sep 2020 at 08:45, Sean Anderson wrote: > > dev needs to be gotten from mbox_chan > > Signed-off-by: Sean Anderson > --- > > Changes in v2: > - New > > drivers/mailbox/k3-sec-proxy.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH v2 13/46] nand: atmel: Fix not calling dev_xxx with a device

2020-09-16 Thread Simon Glass
On Tue, 15 Sep 2020 at 08:45, Sean Anderson wrote: > > Use mtd_info to get a device to log with. > > Signed-off-by: Sean Anderson > --- > > Changes in v2: > - New > > drivers/mtd/nand/raw/atmel_nand.c | 69 +-- > 1 file changed, 39 insertions(+), 30 deletions(-) > Re

Re: [PATCH v2 22/46] linux/compat.h: Remove netdev_xxx functions

2020-09-16 Thread Simon Glass
On Tue, 15 Sep 2020 at 08:46, Sean Anderson wrote: > > No drivers in U-Boot use these functions. > > Signed-off-by: Sean Anderson > --- > > Changes in v2: > - New > > include/linux/compat.h | 19 --- > 1 file changed, 19 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH v5 3/9] timer: Add a test for timer_timebase_fallback

2020-09-16 Thread Simon Glass
On Tue, 15 Sep 2020 at 08:17, Sean Anderson wrote: > > To test this function, sandbox CPU must set cpu_platdata.timebase_freq on > bind. It also needs to expose a method to set the current cpu. I also make > some most members of cpu_sandbox_ops static. > > On the timer side, the device tree proper

Re: [PATCH 1/1] net: use log_err() for 'No ethernet found' message

2020-09-16 Thread Simon Glass
On Mon, 14 Sep 2020 at 03:00, Heinrich Schuchardt wrote: > > Write the 'No ethernet found' message via the log drivers. This allows > suppressing it during output via the syslog driver. > > This fixes the problem reported in: > > [PATCH 0/4] log: Fix the syslog spam when running tests > https://li

Re: [PATCH v2 03/46] i2c: mxc: Fix dev_err being called on a nonexistant variable

2020-09-16 Thread Simon Glass
On Tue, 15 Sep 2020 at 08:45, Sean Anderson wrote: > > The udevice we are working with is called `bus` and not `dev`. > > Signed-off-by: Sean Anderson > --- > > Changes in v2: > - New > > drivers/i2c/mxc_i2c.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) Reviewed-by: Simon Gla

Re: [PATCH 1/1] doc: remove redundant doc/README.log

2020-09-16 Thread Simon Glass
On Mon, 14 Sep 2020 at 02:12, Heinrich Schuchardt wrote: > > doc/README.log was already moved to doc/develop/logging.rst but has been > recreated by an incorrect merge. > > Signed-off-by: Heinrich Schuchardt > --- > doc/README.log | 286 - > 1 file

Re: [PATCH] cmd: pxe: Add relocation to pxe_sub cmds

2020-09-16 Thread Simon Glass
On Wed, 16 Sep 2020 at 02:48, Michal Simek wrote: > > From: T Karthik Reddy > > pxe sub commands need to be manually relocated for architectures which > enables MANUAL_RELOC as Microblaze. > > Signed-off-by: T Karthik Reddy > Signed-off-by: Michal Simek > --- > > cmd/pxe.c | 14 ++

Re: [PATCH 3/3] log: syslog: Handle errors in net_init

2020-09-16 Thread Simon Glass
On Sat, 12 Sep 2020 at 15:46, Sean Anderson wrote: > > Since the previous patch, net_init now exposes some errors, so check for > them. > > Signed-off-by: Sean Anderson > --- > > common/log_syslog.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Reviewed-by: Simon Glass

Re: [PATCH] dm: add cells_count parameter in live DT APIs of_parse_phandle_with_args

2020-09-16 Thread Simon Glass
On Thu, 10 Sep 2020 at 10:26, Patrick Delaunay wrote: > > In the live tree API ofnode_parse_phandle_with_args, the cell_count > argument must be used when cells_name is NULL. > > But this argument is not provided to the live DT function > of_parse_phandle_with_args even it is provided to > fdtdec_

Re: [PATCH 1/3] dev: Disambiguate errors in uclass_find

2020-09-16 Thread Simon Glass
Hi Sean, On Sat, 12 Sep 2020 at 15:46, Sean Anderson wrote: > > There are two cases where uclass_find can return an error. The second is > when the uclass has not yet been init'd. The first is when the driver model > has not been init'd (or has been only partially init'd) and there is no > root u

Re: [PATCH 3/4] dm: Use symbolic constants for log levels in dev_xxx()

2020-09-16 Thread Simon Glass
On Sat, 12 Sep 2020 at 18:28, Sean Anderson wrote: > > This substitutes literal log levels with their symbolic constants. > > Signed-off-by: Sean Anderson > --- > > include/dm/device_compat.h | 21 +++-- > 1 file changed, 11 insertions(+), 10 deletions(-) > Reviewed-by: Simon Gl

Re: [PATCH 2/4] net: mdio: Supply appropriate devices for dev_dgb calls

2020-09-16 Thread Simon Glass
On Sat, 12 Sep 2020 at 18:28, Sean Anderson wrote: > > The name of the device we are working on is `ethdev` and not just `dev`. > > Signed-off-by: Sean Anderson > --- > > net/mdio-uclass.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Simon Glass BTW I really like u

Re: [PATCH v4 1/3] fdtdec: optionally add property no-map to created reserved memory node

2020-09-16 Thread Simon Glass
On Thu, 10 Sep 2020 at 02:50, Patrice Chotard wrote: > > From: Etienne Carriere > > Add boolean input argument @no_map to helper function > fdtdec_add_reserved_memory() to add or not "no-map" property > for an added reserved memory node. > > Property no-map is used by the Linux kernel to not not

Re: [PATCH] fpga: kconfig: Rename SPL_FPGA_SUPPORT to SPL_FPGA

2020-09-16 Thread Simon Glass
On Thu, 10 Sep 2020 at 04:53, Michal Simek wrote: > > The patch does sed 's/SPL_FPGA_SUPPORT/SPL_FPGA/g' but also fixing Makefile > and zynqmp.c to simplify if/endif logic in zynqmp.c. > > This change is mostly done to be able to use CONFIG_IS_ENABLED macro and > obj-$(CONFIG_$(SPL_)FPGA) in Makef

Re: [PATCH 1/2] power: regulator: gpio-regulator: protect count value

2020-09-16 Thread Simon Glass
On Thu, 10 Sep 2020 at 10:18, Patrick Delaunay wrote: > > Update the size of states_array to avoid overflow for > dev_pdata->voltages[j] and dev_pdata->states[j]. > > As the size of array is GPIO_REGULATOR_MAX_STATES, the size of > states_array is limited by GPIO_REGULATOR_MAX_STATES * 2 = 4 > ins

Re: [PATCH] net: ravb: Fix NULL pointer access

2020-09-16 Thread Marek Vasut
On 9/16/20 5:43 PM, Biju Das wrote: > Hi Marek, Hi, [...] >>> +++ b/drivers/net/ravb.c >>> @@ -438,7 +438,8 @@ static int ravb_config(struct udevice *dev) >>> >>> writel(mask, eth->iobase + RAVB_REG_ECMR); >>> >>> -phy->drv->writeext(phy, -1, 0x02, 0x08, (0x0f << 5) | 0x19); >>> +if (phy->drv->

Re: [PATCH 1/5] sunxi: video: No double clock on DE2

2020-09-16 Thread Vasily Khoruzhick
On Wed, Sep 16, 2020 at 9:26 AM Martin Cerveny wrote: > > > > On Wed, 16 Sep 2020, Maxime Ripard wrote: > > > On Wed, Sep 16, 2020 at 04:10:48PM +0200, Martin Cerveny wrote: > >> Weird code or comment. This is variant is tested on V3s. > >> > >> Signed-off-by: Martin Cerveny > > > > Generally spe

Re: U-Boot FIT Signature Verification

2020-09-16 Thread Philippe REYNES
Hi Heinrich, > On 9/11/20 7:26 PM, Andrii Voloshyn wrote: >> Hi there, >> >> Does U-boot take into account certificate expiration date when verifying >> signed >> images in FIT? In other words, is date stored along with the public key in >> DTB >> file? >> >> Cheers, >> Andy >> > > Hello Phi

Re: U-Boot FIT Signature Verification

2020-09-16 Thread Tom Rini
On Wed, Sep 16, 2020 at 02:44:45PM +0200, Heinrich Schuchardt wrote: > On 16.09.20 14:05, Joakim Tjernlund wrote: > > On Wed, 2020-09-16 at 13:55 +0200, Heinrich Schuchardt wrote: > >> On 16.09.20 13:40, Joakim Tjernlund wrote: > >>> On Wed, 2020-09-16 at 13:14 +0200, Heinrich Schuchardt wrote: > >

Re: Pull request: u-boot-rockchip-20200916

2020-09-16 Thread Tom Rini
it repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip.git > tags/u-boot-rockchip-20200916 > > for you to fetch changes up to 5b861eea7927da63f016b75265e454a19ab19d0b: > > rockchip: make_fit_atf: ignore empty PT_LOAD segment (2020-09-16 16:41:30

Re: Pull request for UEFI sub-system for efi-2020-10-rc5

2020-09-16 Thread Tom Rini
On Mon, Sep 14, 2020 at 11:48:35PM +0200, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit 00e5fda0063eaa20e9c3f6844ac88c64eb875f23: > > Merge branch '2020-09-12-assorted-bugfixes' (2020-09-14 15:39:46 -0400) > > are available in the Git repository at: > > http

Re: [PATCH v2 0/5] powerpc, mpc83xx: add DM_ETH support

2020-09-16 Thread Rasmus Villemoes
On 16/09/2020 07.04, Heiko Schocher wrote: > Hello Mario, Tom, > > added Tom to cc ... > > Am 08.09.2020 um 07:59 schrieb Heiko Schocher: >> Hi Mario, >> >> Am 17.08.2020 um 07:23 schrieb Heiko Schocher: >>> Hello Mario, >>> >>> Am 27.05.2020 um 14:43 schrieb Heiko Schocher: This patch

Re: [PATCH v2 0/5] powerpc, mpc83xx: add DM_ETH support

2020-09-16 Thread Tom Rini
On Wed, Sep 16, 2020 at 07:04:57AM +0200, Heiko Schocher wrote: > Hello Mario, Tom, > > added Tom to cc ... > > Am 08.09.2020 um 07:59 schrieb Heiko Schocher: > > Hi Mario, > > > > Am 17.08.2020 um 07:23 schrieb Heiko Schocher: > > > Hello Mario, > > > > > > Am 27.05.2020 um 14:43 schrieb Heiko

Re: Boot Over Ehternet- Linux Server to Raspberry Pis- Using U-boot

2020-09-16 Thread Dennis Gilmore
u-boot also supports pxe booting using a syslinux config file https://github.com/u-boot/u-boot/blob/master/doc/README.pxe Dennis On Tue, Sep 15, 2020 at 5:43 PM Heinrich Schuchardt wrote: > > On 9/1/20 2:49 PM, Ahsan Zia (TAU) wrote: > > Hi All, > > > > I need some ideas regarding Boot Over Ehte

Re: [PATCH 1/2] x86: acpi: Fix calculation of DSDT length

2020-09-16 Thread Andy Shevchenko
On Wed, Sep 16, 2020 at 05:00:26PM +0200, Wolfgang Wallner wrote: > -"Andy Shevchenko" schrieb: - > > Betreff: Re: [PATCH 1/2] x86: acpi: Fix calculation of DSDT length > > > > On Wed, Sep 09, 2020 at 04:08:17PM +0300, Andy Shevchenko wrote: > > > On Wed, Sep 09, 2020 at 02:33:20PM +0200,

RE: [PATCH 3/4] arm: rmobile: Add RZ/G2M SoC

2020-09-16 Thread Biju Das
Hi Marek, Thanks for the feedback. > Subject: Re: [PATCH 3/4] arm: rmobile: Add RZ/G2M SoC > > On 9/15/20 4:36 PM, Biju Das wrote: > [...] > > static int rmobile_cpuinfo_idx(void) > > { > > int i = 0; > > u32 cpu_type = rmobile_get_cpu_type(); > > +const struct udevice_id *match = of_soc_matc

RE: [PATCH] net: ravb: Fix NULL pointer access

2020-09-16 Thread Biju Das
Hi Marek, Thanks for the review. > Subject: Re: [PATCH] net: ravb: Fix NULL pointer access > > On 9/15/20 4:10 PM, Biju Das wrote: > [...] > > +++ b/drivers/net/ravb.c > > @@ -438,7 +438,8 @@ static int ravb_config(struct udevice *dev) > > > > writel(mask, eth->iobase + RAVB_REG_ECMR); > > > > -

Re: U-Boot FIT Signature Verification

2020-09-16 Thread REITHER Robert - Contractor
Hi there I don't think it would make sense to check for expiration (even in case we would have full certificates like PKCS#7 verifiy) At our point of the boot process we normally do not have access to a trusted time/date, so any check could be simply spoofed or even worse fails, because wall

Re: [PATCH v2 2/2] x86: acpi: Add memset to initialize SPCR table

2020-09-16 Thread Andy Shevchenko
On Wed, Sep 16, 2020 at 04:57:53PM +0200, Wolfgang Wallner wrote: > Add a missing memset to acpi_create_spcr(). > > The other acpi_create_() functions perform a memset on their > structures, acpi_create_spcr() does not and as a result the contents of > this table are partly uninitialized (and

Re: [PATCH 1/2] x86: acpi: Fix calculation of DSDT length

2020-09-16 Thread Wolfgang Wallner
Hi Andy, -"Andy Shevchenko" schrieb: - > Betreff: Re: [PATCH 1/2] x86: acpi: Fix calculation of DSDT length > > On Wed, Sep 09, 2020 at 04:08:17PM +0300, Andy Shevchenko wrote: > > On Wed, Sep 09, 2020 at 02:33:20PM +0200, Wolfgang Wallner wrote: > > > Currently, the calculation for the

[PATCH v2 2/2] x86: acpi: Add memset to initialize SPCR table

2020-09-16 Thread Wolfgang Wallner
Add a missing memset to acpi_create_spcr(). The other acpi_create_() functions perform a memset on their structures, acpi_create_spcr() does not and as a result the contents of this table are partly uninitialized (and thus random after every reset). Fixes: commit b288cd960072 ("x86: acpi: Gen

[PATCH v2 1/2] x86: acpi: Fix calculation of DSDT length

2020-09-16 Thread Wolfgang Wallner
Currently, the calculation for the length of the DSDT table includes any bytes that are added for alignment, but those bytes are not initialized. This is because the DSDT length is calculated after a call to acpi_inc_align(). Split this up into the following sequence: * acpi_inc() * Calculate

Re: [PATCH 5/5] sunxi: add drivers and configs needed for LCD display

2020-09-16 Thread Maxime Ripard
On Wed, Sep 16, 2020 at 04:10:52PM +0200, Martin Cerveny wrote: > Add PWM and dummy power regulator support. > Modify data timings for LCD displays. > > Signed-off-by: Martin Cerveny > --- > configs/LicheePi_Zero_defconfig | 4 > 1 file changed, 4 insertions(+) > > diff --git a/configs/Lic

Re: [PATCH 4/5] arm: dts: v3s: Add support for simple-framebuffer with DE2/TCON

2020-09-16 Thread Maxime Ripard
On Wed, Sep 16, 2020 at 04:10:51PM +0200, Martin Cerveny wrote: > Add support for DE2 and TCON connected LCD display. > Add support for export as "allwinner,simple-framebuffer" > with "mixer0-lcd0" pipeline. > > Signed-off-by: Martin Cerveny You shouldn't do multiple things at once. If you need

Re: [PATCH 1/5] sunxi: video: No double clock on DE2

2020-09-16 Thread Maxime Ripard
On Wed, Sep 16, 2020 at 04:10:48PM +0200, Martin Cerveny wrote: > Weird code or comment. This is variant is tested on V3s. > > Signed-off-by: Martin Cerveny Generally speaking your commit logs are fairly concise, but it really becomes an issue when you're allegedly fixing a bug. There's a bunch

Re: [PATCH 13/13] usb: ehci-mx6: Improve the bind function

2020-09-16 Thread Marek Vasut
On 9/16/20 3:56 PM, Peng Fan wrote: > Hi Marek, Hi, >> Subject: Re: [PATCH 13/13] usb: ehci-mx6: Improve the bind function >> >> On 9/16/20 2:57 PM, peng@nxp.com wrote: >> [...] >>> +++ b/drivers/usb/host/ehci-mx6.c >>> @@ -735,13 +735,16 @@ static int ehci_usb_bind(struct udevice *dev) >>>

Re: [PATCH 4/4] arm: rmobile: Add HopeRun HiHope RZ/G2M board support

2020-09-16 Thread Marek Vasut
On 9/15/20 4:36 PM, Biju Das wrote: [...] > diff --git a/arch/arm/mach-rmobile/Kconfig.64 > b/arch/arm/mach-rmobile/Kconfig.64 > index 07f607dd9d..2290be725f 100644 > --- a/arch/arm/mach-rmobile/Kconfig.64 > +++ b/arch/arm/mach-rmobile/Kconfig.64 > @@ -4,6 +4,8 @@ menu "Select Target SoC" > > c

Re: [PATCH 3/4] arm: rmobile: Add RZ/G2M SoC

2020-09-16 Thread Marek Vasut
On 9/15/20 4:36 PM, Biju Das wrote: [...] > static int rmobile_cpuinfo_idx(void) > { > int i = 0; > u32 cpu_type = rmobile_get_cpu_type(); > + const struct udevice_id *match = of_soc_match_compatible(); > > for (; i < ARRAY_SIZE(rmobile_cpuinfo); i++) > - if (r

RE: [PATCH v2 00/46] dm: Print device name in dev_xxx like Linux

2020-09-16 Thread Patrick DELAUNAY
Hi Sean, > From: Sean Anderson > Sent: mardi 15 septembre 2020 16:45 > > This series adds some additional information to dev_xxx output. This requires > the > first argument to dev_xxx to be a struct udevice. The first argument has never > been used in U-Boot, so many drivers have some invalid

Re: [PATCH 1/5] MAINTAINERS: Record documentation for Xilinx platforms

2020-09-16 Thread Michal Simek
On 16. 09. 20 15:47, Heinrich Schuchardt wrote: > On 16.09.20 15:31, Michal Simek wrote: >> Add fragment to cover documenation for Xilinx platforms. >> >> Signed-off-by: Michal Simek >> --- >> >> MAINTAINERS | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/MAINTAINERS b/MAINTAINERS

RE: [PATCH 13/13] usb: ehci-mx6: Improve the bind function

2020-09-16 Thread Peng Fan
Hi Marek, > Subject: Re: [PATCH 13/13] usb: ehci-mx6: Improve the bind function > > On 9/16/20 2:57 PM, peng@nxp.com wrote: > [...] > > +++ b/drivers/usb/host/ehci-mx6.c > > @@ -735,13 +735,16 @@ static int ehci_usb_bind(struct udevice *dev) > > * the driver is fully converted to DT prob

Re: [PATCH] arm: rmobile: Identify R8A7796 r1.3 SoC

2020-09-16 Thread Marek Vasut
On 9/15/20 4:15 PM, Biju Das wrote: > Add support to identify R8A7796 r1.3 SoC. Applied to sh/next, thanks.

Re: [PATCH] net: ravb: Fix NULL pointer access

2020-09-16 Thread Marek Vasut
On 9/15/20 4:10 PM, Biju Das wrote: [...] > +++ b/drivers/net/ravb.c > @@ -438,7 +438,8 @@ static int ravb_config(struct udevice *dev) > > writel(mask, eth->iobase + RAVB_REG_ECMR); > > - phy->drv->writeext(phy, -1, 0x02, 0x08, (0x0f << 5) | 0x19); > + if (phy->drv->writeext) > +

Re: [PATCH 06/13] usb: ehci-mx6: fix controller index for imx8m and imx8

2020-09-16 Thread Marek Vasut
On 9/16/20 2:56 PM, peng@nxp.com wrote: [...] > +++ b/drivers/usb/host/ehci-mx6.c > @@ -665,7 +665,11 @@ static int ehci_usb_bind(struct udevice *dev) >* With these changes in place, the ad-hoc indexing goes away and >* the driver is fully converted to DT probing. >*/ >

Re: [PATCH 09/13] usb: ehci-mx6: Fix USB QTD data buffer error

2020-09-16 Thread Marek Vasut
On 9/16/20 2:57 PM, peng@nxp.com wrote: > From: Ye Li > > Some iMX6 platforms will meet "EHCI timed out on TD" when reading > or writing data to USB disk. The root cause is last QTD reports > data buffer error. > Accroding to RM, this event indicates that an overrun of incoming > data or a un

Re: [PATCH 11/13] usb: ehci-mx6: Fix usb type issue in DM driver

2020-09-16 Thread Marek Vasut
On 9/16/20 2:57 PM, peng@nxp.com wrote: > From: Ye Li > > Currently the clocks and power of USB controller and USB PHY are both > controlled by ehci-mx6 driver in device probe. However, the function > "ehci_usb_ofdata_to_platdata" calls "ehci_usb_phy_mode" > to access PHY registers when "dr_m

Re: [PATCH 13/13] usb: ehci-mx6: Improve the bind function

2020-09-16 Thread Marek Vasut
On 9/16/20 2:57 PM, peng@nxp.com wrote: [...] > +++ b/drivers/usb/host/ehci-mx6.c > @@ -735,13 +735,16 @@ static int ehci_usb_bind(struct udevice *dev) >* the driver is fully converted to DT probing. >*/ > u32 controller_spacing; > - if (IS_ENABLED(CONFIG_MX6)) > -

Re: [PATCH 10/13] ehci-mx6: Add OTG ID detecting by GPIO

2020-09-16 Thread Marek Vasut
On 9/16/20 2:57 PM, peng@nxp.com wrote: [...] > +int __weak board_ehci_usb_phy_mode(struct udevice *dev) > +{ > + return USB_INIT_HOST; > +} > + > static int ehci_usb_phy_mode(struct udevice *dev) > { > struct usb_platdata *plat = dev_get_platdata(dev); > @@ -634,6 +653,15 @@ static

Re: [PATCH 03/13] usb: ehci-mx6: Add i.MX8 OTG controller support

2020-09-16 Thread Marek Vasut
On 9/16/20 2:56 PM, peng@nxp.com wrote: [...] > +++ b/arch/arm/include/asm/arch-imx8/clock.h > @@ -24,4 +24,12 @@ enum mxc_clock { > > u32 mxc_get_clock(enum mxc_clock clk); > > +#define PLL_USB_EN_USB_CLKS_MASK (1 << 6) Use BIT(6) [...] > +++ b/drivers/usb/host/ehci-mx6.c > @@ -67,

Re: [PATCH 04/13] usb: ehci-mx6: Turn on the power domain of USB PHY

2020-09-16 Thread Marek Vasut
On 9/16/20 2:56 PM, peng@nxp.com wrote: [...] > @@ -569,6 +571,20 @@ static int ehci_usb_phy_mode(struct udevice *dev) > if ((fdt_addr_t)addr == FDT_ADDR_T_NONE) > return -EINVAL; > > + /* Need to power on the PHY before access it */ > +#if CONF

Re: [PATCH 05/13] usb: ehci-mx6: Update driver to support i.MX8MM

2020-09-16 Thread Marek Vasut
On 9/16/20 2:56 PM, peng@nxp.com wrote: > From: Ye Li > > Since the i.MX8MM reuses the otg controllers on i.MX7D. We can use > CONFIG_USB_EHCI_MX7 for them. > > Due the TCPC and load switch are used on Typec circuit. Add the > board_usb_init and board_usb_cleanup to ehci-mx6 DM driver. So >

Re: [PATCH 02/13] usb: ehci-mx6: preparing for ARM64 build

2020-09-16 Thread Marek Vasut
On 9/16/20 2:56 PM, peng@nxp.com wrote: > From: Peng Fan > > Use uintptr_t and ulong to avoid build warning for ARM64 platforms > > Signed-off-by: Peng Fan > --- > drivers/usb/host/ehci-mx6.c | 20 ++-- > 1 file changed, 10 insertions(+), 10 deletions(-) > > diff --git a/d

Re: [PATCH 1/5] MAINTAINERS: Record documentation for Xilinx platforms

2020-09-16 Thread Heinrich Schuchardt
On 16.09.20 15:31, Michal Simek wrote: > Add fragment to cover documenation for Xilinx platforms. > > Signed-off-by: Michal Simek > --- > > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 101f4e185df3..c6c100e87cab 100644 > --- a/MAINTAINERS

Re: [PATCH v2 39/46] usb: dwc2: Fix not calling dev_xxx with a device

2020-09-16 Thread Sean Anderson
On 9/16/20 9:30 AM, Patrick DELAUNAY wrote: > Hi Sean, > >> From: Sean Anderson >> Sent: mardi 15 septembre 2020 16:45 >> >> This adds a dev argument to some functions so dev_xxx always has a device to >> log with. In one instance we must use use a different log function when we >> are >> compil

Re: [PATCH v4 20/27] Makefile: Warn against using CONFIG_SPL_FIT_GENERATOR

2020-09-16 Thread Michal Simek
Hi Simon, On 01. 09. 20 17:26, Simon Glass wrote: > Hi Michal, > > On Tue, 1 Sep 2020 at 09:15, Michal Simek wrote: >> >> Hi Simon, >> >> On 30. 08. 20 22:37, Simon Glass wrote: >>> Hi Michal, >>> >>> On Wed, 26 Aug 2020 at 08:12, Michal Simek wrote: Hi, On 25. 08. 20 18:57,

[PATCH 5/5] doc: board: xilinx: Add documentation for ZynqMP R5

2020-09-16 Thread Michal Simek
Add missing documentation for Xilinx ZynqMP R5 configuration with steps how to run it. Signed-off-by: Michal Simek --- doc/board/xilinx/index.rst | 1 + doc/board/xilinx/zynqmp-r5.rst | 137 + 2 files changed, 138 insertions(+) create mode 100644 doc/board

[PATCH 4/5] doc: board: xilinx: Add documentation for ZynqMP

2020-09-16 Thread Michal Simek
Add missing documentation for Xilinx ZynqMP configuration with steps how to configure it and run it. Signed-off-by: Michal Simek --- doc/board/xilinx/index.rst | 1 + doc/board/xilinx/zynqmp.rst | 97 + 2 files changed, 98 insertions(+) create mode 100644

[PATCH 2/5] doc: board: xilinx: zynq.rst: Update zynq documentation

2020-09-16 Thread Michal Simek
- Correct location of BSP code - Remove TODO which is done already Signed-off-by: Michal Simek --- doc/board/xilinx/zynq.rst | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/doc/board/xilinx/zynq.rst b/doc/board/xilinx/zynq.rst index f564434b69c4..438912fe42c2 100644 --

[PATCH 0/5] doc: board: xilinx: Update Xilinx documentation

2020-09-16 Thread Michal Simek
Hi, this series is trying to update documentation for Xilinx SoCs. Based on this documentation developers should be able to configure and run u-boot on their platforms. Thanks, Michal Michal Simek (5): MAINTAINERS: Record documentation for Xilinx platforms doc: board: xilinx: zynq.rst: Upda

[PATCH 1/5] MAINTAINERS: Record documentation for Xilinx platforms

2020-09-16 Thread Michal Simek
Add fragment to cover documenation for Xilinx platforms. Signed-off-by: Michal Simek --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 101f4e185df3..c6c100e87cab 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -548,6 +548,7 @@ F: drivers/usb/host

[PATCH 3/5] doc: board: xilinx: Update links to DT binding docs

2020-09-16 Thread Michal Simek
Several drivers have been added without updating documentation. And also some dt bindings have been moved to yaml. Signed-off-by: Michal Simek --- doc/board/xilinx/xilinx.rst | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/doc/board/xilinx/xilinx.rst b/doc/

RE: [PATCH v2 39/46] usb: dwc2: Fix not calling dev_xxx with a device

2020-09-16 Thread Patrick DELAUNAY
Hi Sean, > From: Sean Anderson > Sent: mardi 15 septembre 2020 16:45 > > This adds a dev argument to some functions so dev_xxx always has a device to > log with. In one instance we must use use a different log function when we are > compiled without DM_USB. > > Signed-off-by: Sean Anderson > -

RE: [PATCH v2 44/46] video: stm32: Fix not calling dev_xxx with a device

2020-09-16 Thread Patrick DELAUNAY
Hi Sean, > From: Sean Anderson > Sent: mardi 15 septembre 2020 16:45 > > There is no member `dev` in dw_mipi_dsi, but there is one in mipi_dsi_host, > so use > that. > > Signed-off-by: Sean Anderson > --- > > Changes in v2: > - New > Reviewed-by: Patrick Delaunay Thanks Patrick

[PATCH 13/16] usb: composite: force gadget to be USB2 for HS only function

2020-09-16 Thread peng . fan
From: Li Jun If one of functions is not super speed capable, we need force the udc to be high speed, this is an equivalent implementation of usb_gadget_udc_set_speed() in kernel but simple, which set the gadget max_speed to be high speed, so afterwards when start gadget duc can set the HW to be U

[PATCH 14/16] usb: udc: ci: update speed handling

2020-09-16 Thread peng . fan
From: Li Jun Remove the gadget driver speed check, and set its max_speed to be USB_SPEED_HIGH. Reviewed-by: Ye Li Reviewed-by: Peter Chen Tested-by: faqiang.zhu Signed-off-by: Li Jun Signed-off-by: Peng Fan --- drivers/usb/gadget/ci_udc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletion

[PATCH 15/16] usb: gadget: fastboot: use correct max packet size

2020-09-16 Thread peng . fan
From: Li Jun Change to use wMaxPacketSize of current speed EP desc for request length wrap up. Reviewed-by: Peter Chen Signed-off-by: Li Jun Signed-off-by: Peng Fan --- drivers/usb/gadget/f_fastboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/f_fa

[PATCH 16/16] usb: gaget: ci: set ep's desc when enable ep

2020-09-16 Thread peng . fan
From: Li Jun As we need standard usb_ep's desc, so set it when enable ep. Reviewed-by: Peter Chen Signed-off-by: Li Jun Signed-off-by: Peng Fan --- drivers/usb/gadget/ci_udc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/gadget/ci_udc.c b/drivers/usb/gadget/ci_udc.c inde

[PATCH 10/16] usb: gadget: add super speed support

2020-09-16 Thread peng . fan
From: Li Jun This patch is to add usb gadget super speed support in common driver, including BOS descriptor and select the super speed descriptor from function driver. Reviewed-by: Ye Li Reviewed-by: Peter Chen Tested-by: faqiang.zhu Signed-off-by: Li Jun Signed-off-by: Peng Fan --- driver

[PATCH 11/16] usb: fastboot: add super speed support

2020-09-16 Thread peng . fan
From: Li Jun Add super speed EP config. Reviewed-by: Ye Li Reviewed-by: Peter Chen Tested-by: faqiang.zhu Signed-off-by: Li Jun Signed-off-by: Peng Fan --- drivers/usb/gadget/f_fastboot.c | 47 ++--- 1 file changed, 44 insertions(+), 3 deletions(-) diff --git a

[PATCH 08/16] usb: gadget: set correct usb_configuration for os_desc_config

2020-09-16 Thread peng . fan
From: Jun Li The current way to set cdev->os_desc_config is wrong if user restart fastboot, as the old config is not used anymore and new allocated usb_configuration will be used, so set the os_desc_config while usb_add_config. Reviewed-by: Ye Li Signed-off-by: Li Jun Signed-off-by: Peter Chen

[PATCH 12/16] usb: gadget: dnl: set dnl to be super speed

2020-09-16 Thread peng . fan
From: Li Jun Set its max_speed to be super speed. Reviewed-by: Ye Li Reviewed-by: Peter Chen Tested-by: faqiang.zhu Signed-off-by: Li Jun Signed-off-by: Peng Fan --- drivers/usb/gadget/g_dnl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/gadget/g_dnl.c b/drivers/usb/gadg

  1   2   >