Documentation/boards/riscv.rst: can't rebuild image for BeagleV
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?
Signature · 2 lines
Best regards, Antony Pavlov
Hello Antony,
Quoted 6 lines · Antony Pavlov
Hi Ahmad!
I have tried to rebuild barebox for BeagleV.
Alas I was unable to reproduce the steps fromDocumentation/boards/riscv.rstbecause of changes in opensbi repo.
Quoted 8 lines
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
Quoted 1 line
Signature · 4 lines
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 |
Hello Antony,
Quoted 8 lines · Ahmad Fatoum
Hello Antony,
Quoted 5 lines · Antony Pavlov
Hi Ahmad!
I have tried to rebuild barebox for BeagleV.
Alas I was unable to reproduce the steps fromDocumentation/boards/riscv.rstbecause of changes in opensbi repo.
I just Cc'd[1] you on a documentation patch that describes how it needs to be built now.
Quoted 9 lines
Quoted 8 lines
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?
Quoted 7 lines
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/[email protected]/T/#u
[2]: https://lore.barebox.org/barebox/[email protected]/T/#u
Cheers,
Ahmad
Quoted 6 lines
Cheers,
AhmadQuoted 1 line
Signature · 4 lines
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 |
Quoted 6 lines · On Fri, 22 Mar 2024 15:29:48 +0100 Ahmad Fatoum <[email protected]> wrote:
Hello Antony,
Quoted 3 lines · Ahmad Fatoum
Hello Antony,
On 10.03.24 21:33, Antony Pavlov wrote:
Quoted 8 lines
Quoted 5 lines
Quoted 5 lines
Hi Ahmad!
I have tried to rebuild barebox for BeagleV.
Alas I was unable to reproduce the steps fromDocumentation/boards/riscv.rstbecause 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.
Signature · 2 lines
Best regards, Antony Pavlov