Posts
3914
Following
249
Followers
404
OpenPGP: 3AB05486C7752FE1

Jarkko Sakkinen

Edited 1 year ago

Some learnings of RISC-V, at least from CVA6 perspective:

  1. If there is any SATP or PTE sync issue, sprinkle first sfence.vma together with fence.i. It is not optimal but usually ensures stability. Once things are functionally together sync points can be reduced.
  2. Might be CVA6 specific issue but I’ve sometimes had issues with W PTE’s created without having also D, causing odd crashes. So again, I’ve taken the habit of first binding these together and later on reduce.

I’ve yet use ASIC boards, have only used FPGA so far and development versions of CPU’s. I guess these sort of fail-safe practices are more important in early development

#riscv #fpga #note

1
0
0

Jarkko Sakkinen

I like Rust in kernel, and more generally in the backend but Rust command-line replicas mostly are just software bloat tbh.

#rustlang
3
0
0

Jarkko Sakkinen

0
0
0

Jarkko Sakkinen

Edited 1 year ago

I nailed the Keystone SATP change bug on CVA6 after only 1.5 months of constant debugging:

#riscv #keystone

1
0
1

Jarkko Sakkinen

"Sometimes smart thinkers just don’t know when to stop, and they create these absurd, all-encompassing, high-level pictures of the universe that are all good and fine, but don’t actually mean anything at all."

Is this a description of Haskell or NixOS? I'm sorry, a bad joke. Please don't get upset.

https://www.joelonsoftware.com/2001/04/21/dont-let-architecture-astronauts-scare-you/
0
0
1

Jarkko Sakkinen

I still regret selling my Gravis Ultrasound MAX. I might buy one of these some day. It is amazing achievement. Before GUS Amiga sounded so much better than any of the Sound Blaster crap hardware with its 8-bit DACs. GUS was a game changer in the 90s. https://www.tindie.com/products/kdehl/gravis-ultrasound-gus-pnp-replica/
1
0
1

Jarkko Sakkinen

I wish #thunderbird would support #plaintext #email.
1
0
0

Jarkko Sakkinen

Edited 1 year ago

QEMU/Spike Linux console:

console=hvc0 earlycon=sbi

Kernel config:

CONFIG_RISCV_SBI_V01=y
CONFIG_HVC_RISCV_SBI=y

#qemu #spike #linux #note

0
0
0

Jarkko Sakkinen

kyllä mä näkisin, että aleksanteri kivimäki on voittaja, vaikka saisikin tuomion.

istuu ehkä kolmisen vuotta, mahdollisesti ison osan avovankilassa, ja onko sakoilla väliä, jos rahat on hajautettuna pseudonyymien takana kryptoissa.

rikos todennäköisesti kannatti. kiinnijäämisen olisi voinut kokonaan estää varmaankin vuokraamalla palvelimet esim. venäjältä, eli ens kerralla fiksummin...

#vastaamo
2
0
2

Jarkko Sakkinen

realized that #xfig is still very much alive, very nice. i'll take it back to use. i never learned to used #inkscape properly
1
0
2

Jarkko Sakkinen

Edited 1 year ago

Just realized:

ranger --cmd='set viewmode=multipane' ~/ ~/

Sort of thing that has kept me using midnight commander :-)

#ranger

0
0
0

Jarkko Sakkinen

Edited 1 year ago
#typst is IMHO phenomenal! i've only used #latex for the sake of #beamer but always hated using it. this will change my life for better. yes, there is beamer alternative for this: #polylux.

i've waited something like this to happen for ages (because i neither have time nor skills to do it myself tbh).
1
0
1

Jarkko Sakkinen

I prefer EQ style of drawing kick over #KICK2 style. #BitwigStudio
1
0
0

Jarkko Sakkinen

I know many people who do something super complex at their work in science or tech, and then after the work they go to a local Chess- or Go-club and then hang out at the local Hacklab soldering stuff together.

I would do that sort of stuff if I was e.g. a factory worker to sort of balance things out in my head. In the current situation, I rather enjoy culture and arts and anything that is not too formal. I would go nuts if I did not balance out both sides of brain :-) In the end, I unscientifically believe that this will also help me to perform better also in a tech job.
0
0
1

Jarkko Sakkinen

I will vote Pekka Haavisto for #presidency of #Finland. There is a show called "The song of my life", and all the candidates were in todays episode. Pekka picked Leonard Cohen track, and that resonated, so the choice was obvious. He picked "Hallelujah". My favorite is from Leonard is "Everybody knows". Not being very politically oriented, I guess the music taste is a good way to select your candidate. https://www.youtube.com/watch?v=xu8u9ZbCJgQ
1
1
2

Jarkko Sakkinen

Edited 1 year ago

I try to learn at least one RISC-V opcode a day to get more familiar. Today’s opcode was auipc which stores to a register a PC-relative address from an immediate offset. The offset is given as number of pages.

It is e.g. used to set the gp (which is mnemonic for x3), which is the base address for global variables.

Not trying to teach anyone. Writing things down like this just works for my memory :-)

#riscv #assembly #note

0
0
2

Jarkko Sakkinen

#china's non-nuclear ballistic missile plans are worst nuclear threat in ages...
0
0
0

Jarkko Sakkinen

i lost my #khachapuri #virginity at #tbilisi. delicious shit
1
0
2

Jarkko Sakkinen

eipä toi #vastaamo-todistusaineisto jätä hirveästi arvailun varaan. huvin ja harrastuksen vuoksi kiinnostaisi tietää, miten #KRP murti salauksen, mutta se jäänee pimentoon.
0
0
0
Show older