<smaeul>
keegans: a couple of reasons. 1) DRAM on D1 is at 0x40000000, not 0x80000000 2) You must provide a devicetree to OpenSBI, either by passing a pointer in the a1 register, or by embedding a devicetree in the firmware at build time with FW_FDT_PATH=/path/to/sun20i-d1-mangopi-mq-pro.dtb
Leopold has quit [Ping timeout: 252 seconds]
<keegans>
smaeul: I used your Linux fork and built the MQ Pro device tree and then used fw_payload with that FDT and my kernel and it worked !
<keegans>
however, I used 0x80000000 when I tested it and it worked.. not sure if it's supposed to
<keegans>
well, I used FEL mode so that's probably why
<keegans>
thanks for the tips
<keegans>
now that I have opensbi working with FEL I'll figure out how to get it into an SD card image with boot0 spl
<smaeul>
keegans: 0x80000000 will happen to work because the address bits above the size of the DRAM are ignored. so if you have 1 GiB of DRAM or less, 0x40000000-0x7fffffff just repeats at 0x80000000-0xbfffffff
<keegans>
Ah that is good to know. thanks. I'm also curious on the status of your patch series to add Allwinner D1 to the Linux kernel ?
<keegans>
(board device trees^)
<smaeul>
if you were using boot0, it would have grabbed the FDT from the TOC1 image and passed its address to OpenSBI, so you would not have needed to use FW_FDT_PATH
<smaeul>
still waiting on the internal LDO binding... I'll probably end up dropping even more features so I can remove that dependency and just get it merged
<keegans>
Yup that makes sense, I'll build boot0 and build a TOC1 of my kernel and give it a try
<keegans>
ok cool. I'll look forward to that
peepsalot has quit [Quit: Connection reset by peep]
Leopold has joined #riscv
Trifton has joined #riscv
peepsalot has joined #riscv
peepsalot has quit [Remote host closed the connection]
jacklsw has joined #riscv
peepsalot has joined #riscv
jmdaemon has joined #riscv
zjason has joined #riscv
jacklsw has quit [Quit: Back to the real world]
motherfsck has quit [Ping timeout: 260 seconds]
motherfsck has joined #riscv
jacklsw has joined #riscv
motherfsck has quit [Ping timeout: 252 seconds]
Leopold has quit [Ping timeout: 248 seconds]
Leopold has joined #riscv
Leopold has quit [Remote host closed the connection]
motherfsck has joined #riscv
Leopold has joined #riscv
davidlt has joined #riscv
vagrantc has joined #riscv
motherfsck has quit [Ping timeout: 252 seconds]
jacklsw has quit [Quit: Back to the real world]
jacklsw has joined #riscv
bauruine has joined #riscv
motherfsck has joined #riscv
erg has joined #riscv
BootLayer has joined #riscv
byte33 has quit [Ping timeout: 256 seconds]
elastic_dog is now known as Guest7591
Guest7591 has quit [Killed (cadmium.libera.chat (Nickname regained by services))]
elastic_dog has joined #riscv
BootLayer_ has joined #riscv
BootLayer has quit [Ping timeout: 256 seconds]
erg has quit [Read error: Connection reset by peer]
erg has joined #riscv
vagrantc has quit [Quit: leaving]
erg_ has joined #riscv
erg has quit [Ping timeout: 248 seconds]
pecastro has joined #riscv
erg__ has joined #riscv
Leopold has quit [Ping timeout: 252 seconds]
erg_ has quit [Ping timeout: 252 seconds]
jobol has joined #riscv
erg__ has quit [Quit: Leaving]
erg has joined #riscv
erg has quit [Client Quit]
crossdev has joined #riscv
erg_ has joined #riscv
crossdev has quit [Ping timeout: 260 seconds]
jacklsw has quit [Ping timeout: 246 seconds]
prabhakarlad has joined #riscv
<bjdooks>
is there a qemu riscv specific channel, want to get some updates on our vector crypto rfc and trying to owrk out the best way to do it
ldevulder has joined #riscv
aburgess has quit [Ping timeout: 246 seconds]
elastic_dog has quit [Ping timeout: 248 seconds]
elastic_dog has joined #riscv
jmdaemon has quit [Ping timeout: 248 seconds]
crossdev has joined #riscv
erg_ has quit [Read error: Connection reset by peer]
crossdev has quit [Ping timeout: 264 seconds]
crossdev has joined #riscv
urs_ has joined #riscv
<urs_>
Heya, I'm trying to get vectorizwd code (v extension) to run, but apparently support for that hasn't yet made it into the linux mainline kernel. I'm aware of the risc vector patchset that occasionally gets posted to the linux kernel list, but is there also any public git repository that I could pull from?
<urs_>
(Specifically trying to test on qemu for now, but targeting the EuroHPC EPAC in the near future)
<bjdooks>
there was a v13 recently
<bjdooks>
if you're on a fairly recent kernel it isn't difficult to get to apply and probably work
<bjdooks>
if i could find v13's cover letter I was going to be a bit snarky about lack of kernel git
<urs_>
Theses patchsets aren't the easiest things to google for, newest I had found was v10
<bjdooks>
look at the linux-riscv mailing list archive