sorear changed the topic of #riscv to: RISC-V instruction set architecture | https://riscv.org | Logs: https://libera.irclog.whitequark.org/riscv | Backup if libera.chat and freenode fall over: irc.oftc.net
smaeul has quit [Quit: Down for maintenance...]
smaeul has joined #riscv
cwebber has quit [Ping timeout: 256 seconds]
Sos has quit [Quit: Leaving]
lainon has joined #riscv
FluffyMask has quit [Quit: WeeChat 2.9]
lainon has quit [Remote host closed the connection]
lainon has joined #riscv
aquijoule_ has joined #riscv
aquijoule__ has quit [Ping timeout: 258 seconds]
riff-IRC has joined #riscv
lainon has quit [Quit: Leaving]
riff-IRC has quit [Ping timeout: 256 seconds]
riff-IRC has joined #riscv
riff-IRC has quit [Ping timeout: 240 seconds]
vagrantc has quit [Quit: leaving]
K285 has joined #riscv
K285 has quit [Ping timeout: 246 seconds]
hendursaga has quit [Ping timeout: 244 seconds]
K285 has joined #riscv
hendursaga has joined #riscv
bewees has left #riscv [https://quassel-irc.org - Komfortabler Chat. Überall. ]
K285 has quit [Quit: Client closed]
hendursaga has quit [Ping timeout: 244 seconds]
danielinux_ is now known as danielinux
smartin has joined #riscv
davidlt has joined #riscv
valentin has joined #riscv
Sos has joined #riscv
aquijoule_ has quit [Quit: Leaving]
aquijoule_ has joined #riscv
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #riscv
Guest13 has joined #riscv
smaeul has quit [Ping timeout: 246 seconds]
pabs3 has quit [Ping timeout: 265 seconds]
<solrize> be working with 64-bit integer types whenever possible on these machines. interesting post about compilers using int overflow UB to optimize 32 bit loop indices on 64 bit machines
<solrize> wonder what riscv code would look like with and without the optimization
<rjek> Review of the Unmatched board so far: The packaging, documentation, hardware is nice. Build quality is excellent. I would have preferred they fitted a RTC battery in the holder than ship a shielded patch lead. The SoC is surprisingly glacial.
llamp[m] has joined #riscv
<GreaseMonkey> the main thing i'd like to see different from a mechanical perspective is a better fan
<GreaseMonkey> i've had success with displacing the fan on my case, aiming it in the direction of the board, and cable-tying it to the top of the case mesh
<rjek> Yeah the fan is terrible
<rjek> Means I can't put it in a 1U case either
<rjek> But I can barely hear it over the office AC :D
pabs3 has joined #riscv
llamp[m] has quit [Quit: Bridge terminating on SIGTERM]
llamp[m] has joined #riscv
kaji has joined #riscv
demostanis[m] has joined #riscv
CarlosEDP has joined #riscv
psydroid has joined #riscv
ahs3[m] has joined #riscv
khem has joined #riscv
davidlt has quit [Ping timeout: 265 seconds]
Guest13 has quit [Ping timeout: 246 seconds]
zjason` has joined #riscv
zjason has quit [Ping timeout: 258 seconds]
davidlt has joined #riscv
cwebber has joined #riscv
kaji has quit [Quit: Reconnecting]
kaji has joined #riscv
<leah2> i'm trying to add another entry to the extlinux.conf of freedom-sdk on unmatched, but even with timeout it seems to always immediately go for the first menu entry
<rjek> Yep
<rjek> I have had exactly that problem, I don't think U-Boot has any support for extlinux menus
<leah2> according to their wiki it has, but maybe it's not in
<rjek> You can never tell precisely which features any given vendor has decided to build into the U-Boot they ship with your board, without source, and without build instructions
<rjek> Oh that's a point, I recall no written offer of source in the box
<leah2> so how so i override root= for one boot, hm
<jrtc27> just put grub-efi on the damn thing like they should've done in the first place
<jrtc27> extlinux should not be used on riscv, it should never have been supported
<jrtc27> it just perpetuates the old pre-efi arm boot crap
<rjek> Or just boot direct from U-Boot using its native stuff
* rjek hates it when people say they are "PXE booting" an ARM board or whatnot because they have a pxelinux.conf file
<jrtc27> no, u-boot native crap is what needs to die
<jrtc27> it only exists because u-boot didn't do efi
<jrtc27> never give people more than one way of booting a machine
<jrtc27> we have efi now, as sucky as it is it is an industry standard and is what everyone should be defaulting to
<rjek> EFI is pure hatred and pain
<jrtc27> it's the standard
<rjek> Standards can be changed.
<rjek> Open Firmware is still a standard too :)
<leah2> this works: https://l2.re/3vIPsm
<jrtc27> maybe the world would be a better place if OF had won, but industry abandoned it outside of PowerPC and SPARC
<rjek> leah2: Yep that's what I've done too
riff-IRC has joined #riscv
awordnot has quit [Ping timeout: 265 seconds]
awordnot has joined #riscv
<davidlt> leah2, multiple entries should work, not a general user of it but it worked multiple times over multiple years before
<davidlt> U-Boot is compiled with EFI by default on RISC-V
<leah2> i dont see any prompt
<davidlt> The kernel now supports EFI too
<leah2> perhaps i need "prompt 1"..
<davidlt> GRUB can be compile with EFI support, but currently only GRUB legacy boot mode is supported
<davidlt> There is ongoing review for LoadFile2 to be enabled for RISC-V which finished the chain U-Boot -> GRUB2 -> Kernel in EFI
<jrtc27> linux will catch up with freebsd eventually :P
<davidlt> There is also TianoCore UEFI firmware for Unleashed
<davidlt> It's not in the best shape IIRC, but it works
<jrtc27> yeah no I'm not using that pile of crap yet, I've seen the patches
<jrtc27> I mean, aside from the fact it's the mess that is EDK2 in the first place
riff-IRC has quit [Ping timeout: 244 seconds]
<jrtc27> it was only a month or so ago that the devs were still trying to make EDK2 run in M-mode not S-mode
riff-IRC has joined #riscv
riff-IRC has quit [Ping timeout: 272 seconds]
riff-IRC has joined #riscv
frost has quit [Quit: Connection closed]
smaeul has joined #riscv
riff-IRC has quit [Ping timeout: 250 seconds]
riff-IRC has joined #riscv
riff-IRC has quit [Ping timeout: 244 seconds]
riff-IRC has joined #riscv
Andre_H has joined #riscv
FluffyMask has joined #riscv
valentin has quit [Quit: Leaving]
aburgess has quit [Ping timeout: 268 seconds]
fran has joined #riscv
fran has quit [Quit: Connection closed]
vagrantc has joined #riscv
aburgess has joined #riscv
dobson has quit [Quit: Leaving]
dobson has joined #riscv
dobson has quit [Client Quit]
<jimwilson_> rjek, github.com/sifive/freedom-u-sdk, ships with the 2021.03.1 release, this is docs for our Open Embedded layer at meta-sifive, sources available there, should be mentioned in one of the docs, mentioned in the SW Reference Manual at least
mahmutov has joined #riscv
<jrtc27> some of us don't want to deal with the mess that is bitbake :)
* jrtc27 just wants a u-boot.git that can be cloned and built
<jrtc27> (or has everything been upstreamed now?)
<vagrantc> enough has been upstreamed to load u-boot, but i wasn't able to successfully boot a linux kernel with it on the unmatched
<jimwilson_> you don't need to deal with bitbake, you can grab patches from our meta-sifive tree and use git am/patch/quilt/whatever to apply them, this is what is done in https://github.com/carlosedp/riscv-bringup/tree/master/unmatched
<jimwilson_> I don't follow u-boot, but I think the 2021.01 u-boot patches are all upstream, and now we need a new set of patches for 2021.07 u-boot which we haven't done yet
dobson has joined #riscv
aburgess has quit [Ping timeout: 252 seconds]
aburgess has joined #riscv
riff-IRC has quit [Remote host closed the connection]
riff-IRC has joined #riscv
riff-IRC has quit [Quit: PROTO-IRC v0.73a (C) 1988 NetSoft - Built on 11-13-1988 on AT&T System V]
riff-IRC has joined #riscv
Andre_H has quit [Ping timeout: 265 seconds]
davidlt has quit [Ping timeout: 272 seconds]
aquijoule_ has quit [Quit: Leaving]
aquijoule_ has joined #riscv
aquijoule_ is now known as richbridger
richbridger has quit [Remote host closed the connection]
richbridger has joined #riscv
riff_IRC has joined #riscv
riff-IRC has quit [Ping timeout: 258 seconds]
choozy has joined #riscv
hendursaga has joined #riscv
smartin has quit [Quit: smartin]
<GreaseMonkey> huh, looking at the patches i probably don't have the 1.2 GHz patch set up
<xentrac> jrtc27: it sounds like you hate efi a lot less than I do
<GreaseMonkey> ...on second thoughts i'll need to look at the dtb
<xentrac> I think the IEEE 1275 OF standard has actually been withdrawn now
<geist> hmm, when you said uboot is compiled with EFI, does that mean uboot pretends to be a UEFI complaint environment, or that it can be loaded as a UEFI app
<geist> i assume the latter?
<geist> my experience with uboot goes way back, but alawys on ARM and always as a fairly bespoke native uboot boot thing
<jrtc27> the former
<jrtc27> it's been that for years
<jrtc27> provides efi boot services
<jrtc27> it's not that it pretends, it literally is
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #riscv
<geist> interesting. is it a fairly complete environment, or just the bare bones?
<geist> ie, FS access, etc
<jrtc27> it aims to implement everything in Arm's EBBR
<geist> ah good to know, thanks
<jrtc27> block, console, network and graphics are there
<geist> and based on that description it sounds like there's at least PE support/etc for arm and riscv, which are farily trivial anyway
<geist> no wonky ABI differences AFAIK
hendursaga has quit [Ping timeout: 244 seconds]