Re: [BUG] bind command leads to invalid state where plaform data is NULL

2023-06-20 Thread Simon Glass
Hi Heinrich, On Mon, 19 Jun 2023 at 18:51, Heinrich Schuchardt wrote: > > On 6/19/23 14:57, Simon Glass wrote: > > I suggest a simple device that needs no setup. The original commit[1] > > suggests using USB - does that worK? > > > > Regards, > > Simon > > > > [1] 49c752c93a78 ("cmd: Add bind/unb

Re: [BUG] bind command leads to invalid state where plaform data is NULL

2023-06-19 Thread Heinrich Schuchardt
On 6/19/23 14:57, Simon Glass wrote: I suggest a simple device that needs no setup. The original commit[1] suggests using USB - does that worK? Regards, Simon [1] 49c752c93a78 ("cmd: Add bind/unbind commands to bind a device to a driver from the command line") I see devices listed after bind

Re: [BUG] bind command leads to invalid state where plaform data is NULL

2023-06-19 Thread Simon Glass
Hi Heinrich, On Sun, 18 Jun 2023 at 11:12, Heinrich Schuchardt wrote: > > Hello Simon, > > from origin/next I build qemu_arm64_defconfig with CONFIG_CMD_BIND=yes. > > I ran the image with: > > qemu-system-aarch64 -semihosting \ > -machine virt,gic-version=max -accel $(ACCEL) -m 1G -smp cores

Re: [BUG] bind command leads to invalid state where plaform data is NULL

2023-06-19 Thread Simon Glass
Hi Heinrich, On Mon, 19 Jun 2023 at 13:48, Heinrich Schuchardt wrote: > > On 6/19/23 14:37, Simon Glass wrote: > > Hi Heinrich, > > > > On Sun, 18 Jun 2023 at 11:12, Heinrich Schuchardt > > wrote: > >> > >> Hello Simon, > >> > >> from origin/next I build qemu_arm64_defconfig with CONFIG_CMD_BIN

Re: [BUG] bind command leads to invalid state where plaform data is NULL

2023-06-19 Thread Heinrich Schuchardt
On 6/19/23 14:37, Simon Glass wrote: Hi Heinrich, On Sun, 18 Jun 2023 at 11:12, Heinrich Schuchardt wrote: Hello Simon, from origin/next I build qemu_arm64_defconfig with CONFIG_CMD_BIND=yes. I ran the image with: qemu-system-aarch64 -semihosting \ -machine virt,gic-version=max -acce

[BUG] bind command leads to invalid state where plaform data is NULL

2023-06-18 Thread Heinrich Schuchardt
Hello Simon, from origin/next I build qemu_arm64_defconfig with CONFIG_CMD_BIND=yes. I ran the image with: qemu-system-aarch64 -semihosting \ -machine virt,gic-version=max -accel $(ACCEL) -m 1G -smp cores=2 \ -bios u-boot.bin -cpu $(CPU) -nographic -gdb tcp::1234 \ -netdev user,id=e