Re: microwatt booting linux-5.7 under verilator

2022-03-11 Thread Christophe Leroy
Le 03/01/2022 à 01:45, Luke Kenneth Casson Leighton a écrit : > i am pleased to be able to announce the successful booting of microwatt-5.7 > linux buildroot... under a veriilator simulation of the microwatt VHDL. > from a hardware development and research perspective this is highly > significant

Re: microwatt booting linux-5.7 under verilator

2022-02-01 Thread Luke Kenneth Casson Leighton
On Tue, Feb 1, 2022 at 11:53 AM Michael Ellerman wrote: > If you build with CONFIG_RELOCATABLE=y and CONFIG_RELOCATABLE_TEST=y the > kernel will run wherever you load it (must be 64K aligned), without > copying itself down to zero first. That will save you a few cycles. ahh, thank you :) l.

Re: microwatt booting linux-5.7 under verilator

2022-02-01 Thread Michael Ellerman
Nicholas Piggin writes: > Excerpts from lkcl's message of January 31, 2022 2:19 pm: >> >> On January 31, 2022 3:31:41 AM UTC, Nicholas Piggin >> wrote: >>>Hi Luke, >>> >>>Interesting to read about the project, thanks for the post. >> >> no problem. it's been i think 18 years since i last did l

Re: microwatt booting linux-5.7 under verilator

2022-02-01 Thread Luke Kenneth Casson Leighton
On Tue, Feb 1, 2022 at 6:27 AM Nicholas Piggin wrote: > Not sure of the details on that. Is it memcpy()ing out of ROM or RAM to > RAM? Is this in the arch boot code? (I don't know very well). RAM to RAM. arch/powerpc/boot/main.c: if (uncompressed_image) { memcpy(addr, vmlinuz_addr

Re: microwatt booting linux-5.7 under verilator

2022-01-31 Thread Nicholas Piggin
Excerpts from lkcl's message of January 31, 2022 2:19 pm: > > > On January 31, 2022 3:31:41 AM UTC, Nicholas Piggin wrote: >>Hi Luke, >> >>Interesting to read about the project, thanks for the post. > > no problem. it's been i think 18 years since i last did linux kernel work. > >>> i also had

Re: [OpenPOWER-HDL-Cores] microwatt booting linux-5.7 under verilator

2022-01-31 Thread Herrenschmidt, Benjamin
On Mon, 2022-01-31 at 04:19 +, lkcl wrote: > > How do you even read the SYSCON parameter for frequency? > > > SYSCON is just a term for a memory-mapped wishbone ROM which contains > a crude easily-decoded binary form of devicetree. Talking of which, if we're going to make use if it (we shoul

Re: microwatt booting linux-5.7 under verilator

2022-01-30 Thread lkcl
On January 31, 2022 3:31:41 AM UTC, Nicholas Piggin wrote: >Hi Luke, > >Interesting to read about the project, thanks for the post. no problem. it's been i think 18 years since i last did linux kernel work. >> i also had to fix a couple of things in the linux kernel source >> https://git.kern

Re: microwatt booting linux-5.7 under verilator

2022-01-30 Thread Nicholas Piggin
Hi Luke, Interesting to read about the project, thanks for the post. Excerpts from Luke Kenneth Casson Leighton's message of January 3, 2022 10:45 am: > i am pleased to be able to announce the successful booting of microwatt-5.7 > linux buildroot... under a veriilator simulation of the microwatt

microwatt booting linux-5.7 under verilator

2022-01-02 Thread Luke Kenneth Casson Leighton
i am pleased to be able to announce the successful booting of microwatt-5.7 linux buildroot... under a veriilator simulation of the microwatt VHDL. from a hardware development and research perspective this is highly significant because unlike the FPGA boot which was previously reported, https://she