All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* u-boot patch "[v2, 02/16] arm: qemu: Add an SPL build" issue help
@ 2022-08-11  6:26 曹子恒
  2022-08-11 14:47 ` u-boot patch "[v2,02/16] " Simon Glass
  0 siblings, 1 reply; 4+ messages in thread
From: 曹子恒 @ 2022-08-11  6:26 UTC (permalink / raw)
  To: u-boot@lists.denx.de
  Cc: sjg@chromium.org, LV, 李富春,
	王学敏

[-- Attachment #1: Type: text/plain, Size: 206 bytes --]

Hi, Simon Glass: we have an issue based on this patch below, can you help us ? Patch:https://patchwork.ozlabs.org/project/uboot/patch/20220117150428.1580273-2-sjg@chromium.org/ Our Environment: Qemu V

[-- Attachment #2: boxcnTgF80WrkBdYBqGXTtzDadc.png --]
[-- Type: image/png, Size: 57079 bytes --]

[-- Attachment #3: boxcngwQ44bMyeFn5l9hThzG5Lc.png --]
[-- Type: image/png, Size: 54416 bytes --]

[-- Attachment #4: boxcnsn0qc74s1z4HVeN1zAxuKg.png --]
[-- Type: image/png, Size: 22175 bytes --]

[-- Attachment #5: boxcnORJljfTZUmSplziKMmZCsf.png --]
[-- Type: image/png, Size: 39380 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: u-boot patch "[v2,02/16] arm: qemu: Add an SPL build" issue help
  2022-08-11  6:26 u-boot patch "[v2, 02/16] arm: qemu: Add an SPL build" issue help 曹子恒
@ 2022-08-11 14:47 ` Simon Glass
  2022-08-12  3:01   ` 曹子恒
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Glass @ 2022-08-11 14:47 UTC (permalink / raw)
  To: 曹子恒
  Cc: u-boot@lists.denx.de, LV, 李富春,
	王学敏

Hi ziheng,

On Thu, 11 Aug 2022 at 00:26, 曹子恒 <ziheng.cao@oritek.com.cn> wrote:
>
> Hi, Simon Glass:
>         we have an issue based on this patch below, can you help us ?
>         Patch:https://patchwork.ozlabs.org/project/uboot/patch/20220117150428.1580273-2-sjg@chromium.org/
>
> Our Environment:
> Qemu Version:7.0.0
> U-boot Baseline Version: 2021.10
>
> Steps:
>         1. we have only patched "[v2,02/16] arm: qemu: Add an SPL build", not all the "passage: Define a standard for firmware data flow" series patchs.
>
>         2. Baseed on this patch, we have made the following modifications:
>                 a. arch/arm/dts/qemu-arm-u-boot.dtsi (Left is original, right is modified, we think they are actually the same)
>         3. After compiling, image.bin is generated, image.map is as follows(we think it's ok, spl base addr is 0x00000000, and u-boot base addr is 0x00010000):
>   4. but when we use following command to execute, it will block.
> command: ./qemu-system-arm -machine virt -nographic -bios image.bin
> result:
>  5.  some key files size:
> image.bin: 767936
> u-boot.bin:694764
> u-boot-spl.bin:15112
>
> We don't know what could be causing this problem, hope you can help us !

I cannot repeat this problem.

$ qemu-system-arm -machine virt -nographic -bios
/tmp/b/qemu_arm_spl/image.bin -version
QEMU emulator version 4.2.1 (Debian 1:4.2-3ubuntu6.23)
Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers

I use the tree here:

https://github.com/sjg20/u-boot/tree/try-qemu

buildman -k -o /tmp/b/qemu_arm_spl -w qemu_arm_spl

$ qemu-system-arm -machine virt -nographic -bios /tmp/b/qemu_arm_spl/image.bin

U-Boot SPL 2022.10-rc2-00042-g5dac8f83d0d-dirty (Aug 11 2022 - 08:36:05 -0600)
Trying to boot from QEMU


U-Boot 2022.10-rc2-00042-g5dac8f83d0d-dirty (Aug 11 2022 - 08:36:05 -0600)

DRAM:  128 MiB
Core:  47 devices, 14 uclasses, devicetree: board
Flash: 32 MiB
Loading Environment from Flash... *** Warning - bad CRC, using default
environment

In:    pl011@9000000
Out:   pl011@9000000
Err:   pl011@9000000
Net:   eth0: virtio-net#32
Hit any key to stop autoboot:  0
=> QEMU: Terminated

 Regards,
Simon

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: u-boot patch "[v2,02/16] arm: qemu: Add an SPL build" issue help
  2022-08-11 14:47 ` u-boot patch "[v2,02/16] " Simon Glass
@ 2022-08-12  3:01   ` 曹子恒
  2022-08-12 15:11     ` Simon Glass
  0 siblings, 1 reply; 4+ messages in thread
From: 曹子恒 @ 2022-08-12  3:01 UTC (permalink / raw)
  To: Simon Glass
  Cc: u-boot@lists.denx.de, LV, 李富春,
	王学敏

Hi, Simon: it works OK based on your u-boot tree ! Thank you very much ! Regards, ziheng

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: u-boot patch "[v2,02/16] arm: qemu: Add an SPL build" issue help
  2022-08-12  3:01   ` 曹子恒
@ 2022-08-12 15:11     ` Simon Glass
  0 siblings, 0 replies; 4+ messages in thread
From: Simon Glass @ 2022-08-12 15:11 UTC (permalink / raw)
  To: 曹子恒
  Cc: u-boot@lists.denx.de, LV, 李富春,
	王学敏

On Thu, 11 Aug 2022 at 21:02, 曹子恒 <ziheng.cao@oritek.com.cn> wrote:
>
> Hi, Simon:
> it works OK based on your u-boot tree !
> Thank you very much !

OK good, you're welcome!


- Simon

>
>  Regards,
> ziheng
>
> From: "Simon Glass"<sjg@chromium.org>
> Date:  Thu, Aug 11, 2022, 10:48 PM
> Subject:  Re: u-boot patch "[v2,02/16] arm: qemu: Add an SPL build" issue help
> To: "曹子恒"<ziheng.cao@oritek.com.cn>
> Cc: "u-boot@lists.denx.de"<u-boot@lists.denx.de>, "LV"<yong.lv@oritek.com.cn>, "李富春"<fuchun.li@oritek.com.cn>, "王学敏"<david.wang@oritek.com.cn>
> Hi ziheng,
>
> On Thu, 11 Aug 2022 at 00:26, 曹子恒 <ziheng.cao@oritek.com.cn> wrote:
> >
> > Hi, Simon Glass:
> >         we have an issue based on this patch below, can you help us ?
> >         Patch:https://patchwork.ozlabs.org/project/uboot/patch/20220117150428.1580273-2-sjg@chromium.org/
> >
> > Our Environment:
> > Qemu Version:7.0.0
> > U-boot Baseline Version: 2021.10
> >
> > Steps:
> >         1. we have only patched "[v2,02/16] arm: qemu: Add an SPL build", not all the "passage: Define a standard for firmware data flow" series patchs.
> >
> >         2. Baseed on this patch, we have made the following modifications:
> >                 a. arch/arm/dts/qemu-arm-u-boot.dtsi (Left is original, right is modified, we think they are actually the same)
> >         3. After compiling, image.bin is generated, image.map is as follows(we think it's ok, spl base addr is 0x00000000, and u-boot base addr is 0x00010000):
> >   4. but when we use following command to execute, it will block.
> > command: ./qemu-system-arm -machine virt -nographic -bios image.bin
> > result:
> >  5.  some key files size:
> > image.bin: 767936
> > u-boot.bin:694764
> > u-boot-spl.bin:15112
> >
> > We don't know what could be causing this problem, hope you can help us !
>
> I cannot repeat this problem.
>
> $ qemu-system-arm -machine virt -nographic -bios
> /tmp/b/qemu_arm_spl/image.bin -version
> QEMU emulator version 4.2.1 (Debian 1:4.2-3ubuntu6.23)
> Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers
>
> I use the tree here:
>
> https://github.com/sjg20/u-boot/tree/try-qemu
>
> buildman -k -o /tmp/b/qemu_arm_spl -w qemu_arm_spl
>
> $ qemu-system-arm -machine virt -nographic -bios /tmp/b/qemu_arm_spl/image.bin
>
> U-Boot SPL 2022.10-rc2-00042-g5dac8f83d0d-dirty (Aug 11 2022 - 08:36:05 -0600)
> Trying to boot from QEMU
>
>
> U-Boot 2022.10-rc2-00042-g5dac8f83d0d-dirty (Aug 11 2022 - 08:36:05 -0600)
>
> DRAM:  128 MiB
> Core:  47 devices, 14 uclasses, devicetree: board
> Flash: 32 MiB
> Loading Environment from Flash... *** Warning - bad CRC, using default
> environment
>
> In:    pl011@9000000
> Out:   pl011@9000000
> Err:   pl011@9000000
> Net:   eth0: virtio-net#32
> Hit any key to stop autoboot:  0
> => QEMU: Terminated
>
>  Regards,
> Simon

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-12 15:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-11  6:26 u-boot patch "[v2, 02/16] arm: qemu: Add an SPL build" issue help 曹子恒
2022-08-11 14:47 ` u-boot patch "[v2,02/16] " Simon Glass
2022-08-12  3:01   ` 曹子恒
2022-08-12 15:11     ` Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.