mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Documentation/boards/riscv.rst: can't rebuild image for BeagleV
@ 2024-03-10 20:33 Antony Pavlov
  2024-03-11 11:50 ` Ahmad Fatoum
  0 siblings, 1 reply; 4+ messages in thread
From: Antony Pavlov @ 2024-03-10 20:33 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: barebox

Hi Ahmad!

I have tried to rebuild barebox for BeagleV.
Alas I was unable to reproduce the steps from Documentation/boards/riscv.rst
because of changes in opensbi repo.

I have successfully rebuild U-Boot from the https://github.com/andreiw/uboot_jh7100 repo
and used it for running sbi-less BeagleV barebox image.

I planned to use BeagleV for picotcp demonstration but BeagleV ethernet adapter
does not works neither under U-Boot nor under barebox. My dhcp server can't even
receive any request from BeagleV.

Have we any chance to make BeagleV ethernet adapter works under barebox?

-- 
Best regards,
  Antony Pavlov



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

* Re: Documentation/boards/riscv.rst: can't rebuild image for BeagleV
  2024-03-10 20:33 Documentation/boards/riscv.rst: can't rebuild image for BeagleV Antony Pavlov
@ 2024-03-11 11:50 ` Ahmad Fatoum
  2024-03-22 14:29   ` Ahmad Fatoum
  0 siblings, 1 reply; 4+ messages in thread
From: Ahmad Fatoum @ 2024-03-11 11:50 UTC (permalink / raw)
  To: Antony Pavlov; +Cc: barebox

Hello Antony,

On 10.03.24 21:33, Antony Pavlov wrote:
> Hi Ahmad!
> 
> I have tried to rebuild barebox for BeagleV.
> Alas I was unable to reproduce the steps from Documentation/boards/riscv.rst
> because of changes in opensbi repo.
> 
> I have successfully rebuild U-Boot from the https://github.com/andreiw/uboot_jh7100 repo
> and used it for running sbi-less BeagleV barebox image.
> 
> I planned to use BeagleV for picotcp demonstration but BeagleV ethernet adapter
> does not works neither under U-Boot nor under barebox. My dhcp server can't even
> receive any request from BeagleV.
> 
> Have we any chance to make BeagleV ethernet adapter works under barebox?

I've been meaning to sync barebox with the kernel, now that there's upstream
support for the JH7100. Ethernet on this SoC was a bit peculiar, because
previous RISC-V SoCs were fully cache-coherent, but the MAC on this SoC wasn't.

I got Ethernet to work though, so if it's broken now, it is a regression.

I will try building an image when I have time.

Cheers,
Ahmad

> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




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

* Re: Documentation/boards/riscv.rst: can't rebuild image for BeagleV
  2024-03-11 11:50 ` Ahmad Fatoum
@ 2024-03-22 14:29   ` Ahmad Fatoum
  2024-03-24 20:19     ` Antony Pavlov
  0 siblings, 1 reply; 4+ messages in thread
From: Ahmad Fatoum @ 2024-03-22 14:29 UTC (permalink / raw)
  To: Antony Pavlov; +Cc: barebox

Hello Antony,

On 11.03.24 12:50, Ahmad Fatoum wrote:
> Hello Antony,
> 
> On 10.03.24 21:33, Antony Pavlov wrote:
>> Hi Ahmad!
>>
>> I have tried to rebuild barebox for BeagleV.
>> Alas I was unable to reproduce the steps from Documentation/boards/riscv.rst
>> because of changes in opensbi repo.

I just Cc'd[1] you on a documentation patch that describes how it needs
to be built now.

>> I have successfully rebuild U-Boot from the https://github.com/andreiw/uboot_jh7100 repo
>> and used it for running sbi-less BeagleV barebox image.
>>
>> I planned to use BeagleV for picotcp demonstration but BeagleV ethernet adapter
>> does not works neither under U-Boot nor under barebox. My dhcp server can't even
>> receive any request from BeagleV.
>>
>> Have we any chance to make BeagleV ethernet adapter works under barebox?
>
> I've been meaning to sync barebox with the kernel, now that there's upstream
> support for the JH7100. Ethernet on this SoC was a bit peculiar, because
> previous RISC-V SoCs were fully cache-coherent, but the MAC on this SoC wasn't.
> 
> I got Ethernet to work though, so if it's broken now, it is a regression.
> 
> I will try building an image when I have time.

Thanks to your report, I found a bug in my DMA coherency patches that made it
into v2024.02.0. I Cc'd[2] you on the fix. Ethernet works again now.

[1]: https://lore.barebox.org/barebox/20240322142441.982089-1-a.fatoum@pengutronix.de/T/#u
[2]: https://lore.barebox.org/barebox/20240322142424.981863-1-a.fatoum@pengutronix.de/T/#u

Cheers,
Ahmad

> 
> Cheers,
> Ahmad
> 
>>
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




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

* Re: Documentation/boards/riscv.rst: can't rebuild image for BeagleV
  2024-03-22 14:29   ` Ahmad Fatoum
@ 2024-03-24 20:19     ` Antony Pavlov
  0 siblings, 0 replies; 4+ messages in thread
From: Antony Pavlov @ 2024-03-24 20:19 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: barebox

On Fri, 22 Mar 2024 15:29:48 +0100
Ahmad Fatoum <a.fatoum@pengutronix.de> wrote:

> Hello Antony,
> 
> On 11.03.24 12:50, Ahmad Fatoum wrote:
> > Hello Antony,
> > 
> > On 10.03.24 21:33, Antony Pavlov wrote:
> >> Hi Ahmad!
> >>
> >> I have tried to rebuild barebox for BeagleV.
> >> Alas I was unable to reproduce the steps from Documentation/boards/riscv.rst
> >> because of changes in opensbi repo.
> 
> I just Cc'd[1] you on a documentation patch that describes how it needs
> to be built now.

Thanks for your patch!
Unfortunately I have not succeed with patched documentation.
I'll reply to the patch message.

-- 
Best regards,
  Antony Pavlov



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

end of thread, other threads:[~2024-03-24 20:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-10 20:33 Documentation/boards/riscv.rst: can't rebuild image for BeagleV Antony Pavlov
2024-03-11 11:50 ` Ahmad Fatoum
2024-03-22 14:29   ` Ahmad Fatoum
2024-03-24 20:19     ` Antony Pavlov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox