sorear changed the topic of #riscv to: RISC-V instruction set architecture | https://riscv.org | Logs: https://libera.irclog.whitequark.org/riscv
wingsorc has quit [Remote host closed the connection]
solrize has joined #riscv
<dh`> there are a bunch of obscure lightweight window managers and some of them are themeable
<rneese> yes but the ones i know and have used is icewm/xfce
<rneese> and back in the day wmmaker
<muurkha> heh, I wrote the afterstep faq
<rneese> I remember afterstep
<rneese> I will have to install it at some point
<rneese> wmmaker was ok but I got to hate the square icons
<muurkha> heh
<muurkha> I guess so did NeXT because they were gone from MacOS X, I think even the earliest versions
pecastro has quit [Ping timeout: 252 seconds]
radu242754 has joined #riscv
radu24275 has quit [Ping timeout: 260 seconds]
radu242754 is now known as radu24275
elastic_dog has quit [Killed (silver.libera.chat (Nickname regained by services))]
elastic_dog has joined #riscv
<dh`> if you need to hack it, whether you've used it is less significant than whether it's well written
<dh`> but anyway
frkzoid has joined #riscv
<rneese> if we could get it all working and have a clone it would be nice
<rneese> and rox-desktop would be the answer its sad they stopped developing it
freakazoid332 has quit [Ping timeout: 248 seconds]
ElementW has quit [Read error: Software caused connection abort]
ElementW has joined #riscv
<dh`> I remember looking at rox years ago and not being able to figure what its point was (vs. any other set of desktop widgetry)
<dh`> which I guess would explain giving up
jacklsw has joined #riscv
<rneese> it was a desktop clone of the risc os not riscos desktop
<rneese> and it was to make it so people use to the acorn os risc os could have a feel but be on linux
<rneese> I am just going to shoot for the desktops I have and let the user theme until I get a working theme
<rneese> I will write a theme for ice-wm to make it look / feel like risc os
<rneese> gn
rneese has quit []
solrize has quit [Ping timeout: 260 seconds]
jacklsw has quit [Quit: Back to the real world]
jacklsw has joined #riscv
radu242751 has joined #riscv
radu24275 has quit [Ping timeout: 260 seconds]
radu242751 is now known as radu24275
jacklsw has quit [Read error: Connection reset by peer]
jacklsw has joined #riscv
freakazoid332 has joined #riscv
jedix has quit [Ping timeout: 272 seconds]
frkzoid has quit [Ping timeout: 260 seconds]
Trifton has joined #riscv
jedix has joined #riscv
<dh`> ah
<dh`> maybe if they'd said that up front somewhere
<dh`> ...or maybe they did and I just forgot, idk
radu242755 has joined #riscv
radu24275 has quit [Ping timeout: 246 seconds]
radu242755 is now known as radu24275
<MoeIcenowy> smaeul: I now have some WIP code that adds C906 CLINT support to OpenSBI
<MoeIcenowy> but I need to send out DT binding first
<smaeul> I would suggest using different compatible strings for the MTIMER and MSWI, so we can use the riscv,aclint-mswi fallback for MSWI
radu242753 has joined #riscv
radu24275 has quit [Ping timeout: 248 seconds]
radu242753 is now known as radu24275
gruetzkopf has quit [Read error: Software caused connection abort]
gruetzkopf has joined #riscv
<MoeIcenowy> smaeul: ah is ACLINT ratified?
<MoeIcenowy> and doing this increases complexity
<MoeIcenowy> considering what we face now, I suggest addressing the issue in ACLINT MTIMER patch by adding a C900-specific compatible
<smaeul> MoeIcenowy: I hadn't checked, but apparently it is as of 1 hour ago ;) https://github.com/riscv/riscv-aia/commit/8604127cd49af527a632a260e377312a9065a8b2
<smaeul> well, frozen at least
<MoeIcenowy> weird, my mailbox is missing mails
<MoeIcenowy> ooooops it's 20211007 not 20221007
<MoeIcenowy> *facepalm*
<MoeIcenowy> smaeul: BTW I am thinking about adding thead,openc906-{plic,clint}
<MoeIcenowy> because these peripherals are delivered as part of openc906 package
<MoeIcenowy> and internal to it (access to this memory area won't be reflected to the outward AXI bus)
Trifton has quit [Remote host closed the connection]
Trifton has joined #riscv
davidlt has joined #riscv
<MoeIcenowy> smaeul: BTW about C906 do you know what CLINTEE means?
<MoeIcenowy> does it mean stimecmp is going to work?
dor has joined #riscv
radu242751 has joined #riscv
radu24275 has quit [Ping timeout: 260 seconds]
radu242751 is now known as radu24275
bauruine has joined #riscv
BootLayer has joined #riscv
<DanielakaCyReVol> <MoeIcenowy> "smaeul: BTW about C906 do you..." <- https://github.com/oreboot/oreboot/blob/main/src/mainboard/sunxi/nezha/bt0/src/main.rs#L210-L215
<DanielakaCyReVol> Google translated core manual
<DanielakaCyReVol> 17 CLINTEE - CLINT Timer/Software Interrupt Supervisor Extended Enable Bit:
<DanielakaCyReVol> • When CLINTEE is 0, supervisor software interrupts and timer interrupts from CLINT will not be serviced.
<DanielakaCyReVol> • When CLINTEE is 1, supervisor software interrupts and timer interrupts from CLINT can be serviced.
<DanielakaCyReVol> This bit will be set to 1’b0 by reset.
<DanielakaCyReVol> <smaeul> "MoeIcenowy: I hadn't checked..." <- 🧊🥶 cool stuff!
loggervicky has joined #riscv
radu242751 has joined #riscv
loggervicky has quit [Quit: loggervicky]
radu24275 has quit [Ping timeout: 248 seconds]
radu242751 is now known as radu24275
solrize has joined #riscv
loggervicky has joined #riscv
loggervicky has quit [Client Quit]
pecastro has joined #riscv
radu242754 has joined #riscv
<MoeIcenowy> DanielakaCyReVol: well I can read it w/o translator ;-)
<MoeIcenowy> however I did not have any chance to try it out
radu24275 has quit [Ping timeout: 260 seconds]
radu242754 is now known as radu24275
<atishp[m]> smaeul: ACLINT is a different spec which is no where close to freeze.
<atishp[m]> AIA spec contains APLIC & IMSIC
<DanielakaCyReVol> <MoeIcenowy> "however I did not have any..." <- I see - it's also on my agenda to recheck. It's half-done in oreboot for basic use. Though we want the kernel/OS to be self-sufficient, i.e., not rely on runtime services from outside components.
acharles has quit [Quit: You have been kicked for being idle]
epony has quit [Ping timeout: 272 seconds]
qwer has joined #riscv
jacklsw has quit [Ping timeout: 260 seconds]
potash_ has quit [Remote host closed the connection]
potash has joined #riscv
elastic_dog is now known as Guest566
Guest566 has quit [Killed (zirconium.libera.chat (Nickname regained by services))]
elastic_dog has joined #riscv
epony has joined #riscv
<MoeIcenowy> DanielakaCyReVol: I saw it's RC, it's still not frozen?
wingsorc__ has quit [Ping timeout: 252 seconds]
<DanielakaCyReVol> You mean AIA? That is now RC1.
qwer has quit [Read error: Connection reset by peer]
jjido has joined #riscv
radu242755 has joined #riscv
jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
radu24275 has quit [Ping timeout: 260 seconds]
radu242755 is now known as radu24275
qwer has joined #riscv
qwer has quit [Ping timeout: 252 seconds]
sirn has quit [Quit: ZNC 1.8.2 - https://znc.in]
sirn has joined #riscv
midnight has quit [Ping timeout: 272 seconds]
midnight has joined #riscv
qwer has joined #riscv
mpido has joined #riscv
<MoeIcenowy> DanielakaCyReVol: I mean ACLINT
<MoeIcenowy> oh I asked the wrong person
<MoeIcenowy> atishp[m]: ^
<MoeIcenowy> sorry
davidlt has quit [Ping timeout: 248 seconds]
radu242750 has joined #riscv
radu24275 has quit [Ping timeout: 260 seconds]
radu242750 is now known as radu24275
mps has quit [Ping timeout: 246 seconds]
jonasbits has quit [Ping timeout: 276 seconds]
frkazoid333 has joined #riscv
freakazoid332 has quit [Ping timeout: 252 seconds]
davidlt has joined #riscv
jonasbits has joined #riscv
radu242756 has joined #riscv
radu24275 has quit [Ping timeout: 260 seconds]
radu242756 is now known as radu24275
mps has joined #riscv
rneese has joined #riscv
wingsorc has joined #riscv
loggervicky has joined #riscv
loggervicky has quit [Client Quit]
loggervicky has joined #riscv
jmd_ has quit [Ping timeout: 248 seconds]
radu242752 has joined #riscv
radu24275 has quit [Ping timeout: 252 seconds]
radu242752 is now known as radu24275
wingsorc has quit [Quit: Leaving]
Trifton has quit [Quit: Error: no route to host]
wingsorc has joined #riscv
loggervicky has quit [Ping timeout: 246 seconds]
loggervicky has joined #riscv
<rneese> good morning
<rneese> I wonder is the starfive supports ORFPX64A32
* bjdooks vaguely considers going to be a hermit on a distant hiltop
<rneese> the project was to develope hardware not os
<bjdooks> sheesh, just given a "trm" which has psuedocode in it that doesn't describe what the io and delay functions do
<geertu> rneese: Isn't the OpenRISC, not RISC-V?
<geertu> that
EchelonX has joined #riscv
<rneese> yeah it seems thay are risc not risc-v
<conchuod> bjdooks: any time I see you make comments like that I half wonder if we are the guilty party.
<bjdooks> conchuod: i'm fairly sure all hardware manufacturers have departments to specifically prevent work from happneing... mostly theu're lawyers
<bjdooks> I'm sitting on a pile of patches awaiting release approval
<rneese> ?
<rneese> what you building /patching
<bjdooks> secrets
<bjdooks> linux, uboot, qemu patches
<bjdooks> for something new
<rneese> ahh
<conchuod> I only operate based on public docs which makes it easy to avoid said step.
<rneese> I have been reading on how to get uboot/opensbi to boot from usb
<bjdooks> unfortunately part of what we're dealing with is called synopsys
<rneese> as I would like toget the starfive to boot from a usb harddrive
<conchuod> The one time recently we needed something cleared was a massive hassle but the vendor was fairly ok.
<bjdooks> i've got an uboot qemu which can initiate booting from usb
<conchuod> That's the other nice thing about polarfire Ben.. Most of the non sifive stuff is our own IP
<bjdooks> our bootflow is always going to be bootrom->flash but then once you've got uboot going you can choose your own adventyre
<bjdooks> yeah, i'm dealing with two+ third parties who aren't in the sharing mood
<rneese> ahh . well I have the starfive v2 on order but its going to need the fixes for botting emmc/nvme also
<rneese> and usb drives
pedja has joined #riscv
<conchuod> V2 was meant to start delivering this month I thought. Fat chance of that I feel given not got any shipment info.
<rneese> the crowd fund ones are
<rneese> but I got screwed out of it because they miss processed my creditcard
<rneese> but I have mine on order from ameridroid
<rneese> and they say december
<bjdooks> hmm, i'll probably have left for japan by the time mine turns up
<rneese> you can redirect it here
<rneese> I will hold onto it
* pabs3 wonders if there are more open alternatives for those synopsys bits
cwebber has quit [Read error: Connection reset by peer]
radu242756 has joined #riscv
radu24275 has quit [Ping timeout: 252 seconds]
radu242756 is now known as radu24275
jacklsw has joined #riscv
geertu has quit [Quit: leaving]
geertu has joined #riscv
jack_lsw has joined #riscv
awita has joined #riscv
jacklsw has quit [Ping timeout: 260 seconds]
shoragan_ has joined #riscv
quantum_ has joined #riscv
EchelonX has quit [Ping timeout: 260 seconds]
jack_lsw has quit [Quit: Back to the real world]
geertu has quit [Ping timeout: 260 seconds]
prabhakarlad has quit [Quit: Client closed]
geertu has joined #riscv
pedja has quit [Read error: Connection reset by peer]
pedja has joined #riscv
awita has quit [Ping timeout: 246 seconds]
nvmd has joined #riscv
vagrantc has joined #riscv
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #riscv
radu242754 has joined #riscv
radu24275 has quit [Ping timeout: 252 seconds]
radu242754 is now known as radu24275
prabhakarlad has joined #riscv
loggervicky1 has joined #riscv
loggervicky has quit [Ping timeout: 260 seconds]
loggervicky1 is now known as loggervicky
geertu has quit [Ping timeout: 260 seconds]
geertu has joined #riscv
awita has joined #riscv
loggervicky has quit [Quit: loggervicky]
somlo has quit [Remote host closed the connection]
awita has quit [Ping timeout: 252 seconds]
___nick___ has joined #riscv
<conchuod> rneese: did you say you got a shipping notice for your v2?
deus_ex has joined #riscv
pedja has quit [Killed (NickServ (GHOST command used by deus_ex))]
deus_ex is now known as pedja
somlo has joined #riscv
nvmd has quit [Quit: WeeChat 3.7.1]
prabhakarlad has quit [Ping timeout: 260 seconds]
awita has joined #riscv
radu242756 has joined #riscv
radu24275 has quit [Ping timeout: 252 seconds]
radu242756 is now known as radu24275
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
prabhakarlad has joined #riscv
___nick___ has joined #riscv
___nick___ has quit [Client Quit]
<rneese> no I ordered it from ameridroid and they start shipping in Dec
<rneese> I have to make my mind up do I use 512 sata ssd or a 120 nvme
___nick___ has joined #riscv
BootLayer has quit [Quit: Leaving]
<conchuod> Ah my bad, I misread.
geertu has quit [Ping timeout: 260 seconds]
geertu has joined #riscv
aerkiaga has joined #riscv
<rneese> thos who croud funded should be getting the first round in Nov/Dec and then other versions in jan
quantum_ has quit [Quit: Leaving]
<bjdooks> yeah, i'm off to Yokohama on the 29th Nov, and there to the USA on 11th
loggervicky has joined #riscv
radu24275 has quit [Read error: Connection reset by peer]
prabhakarlad has quit [Quit: Client closed]
radu24275 has joined #riscv
loggervicky has quit [Quit: loggervicky]
___nick___ has quit [Ping timeout: 260 seconds]
___nick___ has joined #riscv
prabhakarlad has joined #riscv
somlo has quit [Quit: Leaving]
somlo has joined #riscv
<atishp[m]> MoeIcenowy: No ACLINT is not frozen. There has not been any progress since 1 year as there were some objections around the spec
<atishp[m]> The future for ACLINT spec is not clear and you shouldn't not depend on it
___nick___ has quit [Ping timeout: 248 seconds]
<prabhakarlad> palmer: ping
<prabhakarlad> Did you manage to run the executable I shared on the real HW?
<palmer> I didn't, sorry
<palmer> are you guys still stuck?
Maylay has quit [Ping timeout: 255 seconds]
wingsorc has quit [Ping timeout: 248 seconds]
<prabhakarlad> ok, so we have managed to get it working by adjusting TEXT_START_ADDR to 0x50000 in elf32lriscv-defs.sh (binutils)
<prabhakarlad> currently its being set to 0x10000
cwebber has joined #riscv
davidlt has quit [Ping timeout: 252 seconds]
<prabhakarlad> https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=ld/emulparams/elf32lriscv-defs.sh;h=b823cedacab9be67b098891d49baa090629bb8f7;hb=refs/heads/master#l30
Maylay has joined #riscv
wingsorc has joined #riscv
radu242753 has joined #riscv
radu242753 is now known as radu24275
radu24275 has quit [Ping timeout: 246 seconds]
<prabhakarlad> for arm64 its being set to 0x00400000 and for arm32 0x00010000. for riscv i am wondering what appropriate value should we set for riscv so that it works on all RISCV platforms.
dor has quit [Remote host closed the connection]
<palmer> this shouldn't really matter for Linux userspace, my guess is something else is broken
<prabhakarlad> any pointers where I should be looking?
awita has quit [Quit: Leaving]
<palmer> not really, my guess would still be a HW issue of some sort
<prabhakarlad> thanks, ill ping the HW people.
<palmer> OK. It's going to be a tricky one, though, as it's too big of a system to really say it's a HW thing
jonasbits has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jmdaemon has joined #riscv
<prabhakarlad> :p
<prabhakarlad> maybe give that executable a shot on real HW just to make sure only we are hitting this issue.
Kedleston has joined #riscv
<palmer> OK, I'll try and chase someone down who has some that actually works...
<dh`> basically you want the executable to start after the first superpage because 0 needs to be unmapped and anything else wastes pagetable space
<dh`> but, it should run correctly as long as it's neither 0 nor up past the user/kernel boundary, unless there's something busted in the MD linux VM code
<dh`> that means it should generally be 0x00400000 on 32-bit machines and 0x0000000000200000 on 64-bit machines; no idea why it's not that on arm
<dh`> but, I'm not super familiar with arm VM
aerkiaga has quit [Remote host closed the connection]
<palmer> ya, disabling the large page support in Linux would be a good bet. It's possible something's broken there, either in SW or in the HW
bauruine has quit [Remote host closed the connection]
radu242753 has joined #riscv
ZipCPU_ has joined #riscv
<prabhakarlad> dh`, palmer: thanks for the pointer. with a quick scan of the andes hw manual i couldn't find any hw setting for large page. Ill try disabling the large page in linux tomorrow.
ZipCPU has quit [Ping timeout: 276 seconds]
ZipCPU_ is now known as ZipCPU
<palmer> thanks
<palmer> do you have a pointer to the thread/binary? one of the Rivos guys has a SiFive box that seems to function well enough to run code...
mpido has quit []
frkazoid333 has quit [Read error: Connection reset by peer]
frkazoid333 has joined #riscv
pedja has quit [Quit: Leaving]
<palmer> prabhakarlad: I just built a static hello world and it seems to run fine, I'm using some Ubuntu system compiler
<conchuod> If you treat me like a child, and tell me what exactly needs running I can prob run it at some point tomorrow
<conchuod> (if some existing sifive hw is needed)
<palmer> that's on an unmatched
<palmer> there's some post floating around about the crash, IIRC any staticly linked binary was broken but maybe it's toolchain-specific?
<palmer> also "Linux ubuntu 5.15.0-1022-generic", which is pretty old
catern has quit [Remote host closed the connection]
<drmpeg> Works fine here on 6.0.8-rc1 and gcc 12.1.0 on Unmatched Ubuntu.
<palmer> thanks
<palmer> at least it looks like the bug isn't "static binaries are super broken", which is good to know ;)
<conchuod> nathanchance: that build break didn't easily reproduce for me
<nathanchance> conchuod: The commit that broke it landed yesterday afternoon PST so you might not see it if you do not have a fresh toolchain
<conchuod> I just built 99fe3d2661085a14fa9f1f2861ab840704382e28
<conchuod> Which I think is tip of tree