Posts
4802
Following
319
Followers
489
Linux kernel hacker and maintainer etc.

OpenPGP: 3AB05486C7752FE1

.@beagleboardorg launched the BeagleV®-Fire, a new SBC that opens up new horizons for developers, tinkerers and more to explore the vast potential of architecture and FPGA technology: https://riscv.org/news/2023/11/beagleboard-org-makes-fpga-and-risc-v-accessible-with-new-beaglev-fire-single-board-computer-at-150/?hss_channel=tw-2694452875

Original tweet: https://twitter.com/risc_v/status/1723024225127076007

1
1
1
Edited 1 year ago

Did you know you could control brightness of the red dot on the i of the "ThinkPad" on the top-side of your thinkpad? I sure didn't:

this turns it off:

echo 0 | sudo tee /sys/class/leds/tpacpi\:\:lid_logo_dot/brightness

and this turns it on:

echo 255 | sudo tee /sys/class/leds/tpacpi\:\:lid_logo_dot/brightness

I don't really know what this information is good for, but hey, isn't it awesome to have a 1px display on the outside of your laptop?

7
17
4

Kaljantaikevennys!

2
1
1

Jarkko Sakkinen

watched this embarrassingly many times https://www.youtube.com/watch?v=M8bt2SJnuX4
0
0
2

Jarkko Sakkinen

making new tracks over the weekend, here's one released last june https://nullzone2007.bandcamp.com/track/lumo-ava-2
1
0
0

Jarkko Sakkinen

Edited 1 year ago
macro(import_binary_as_elf Path Symbol Target)
    set(objcopy_flags -I binary -O default -B riscv)
    string(MAKE_C_IDENTIFIER ${Path} unstripped)
    add_custom_command(
        OUTPUT ${Path}.elf
        DEPENDS ${Target}
        COMMAND 
             ${CMAKE_OBJCOPY} ${objcopy_flags}
             ${Path} ${Path}.elf
        COMMAND
              ${CMAKE_OBJCOPY} -N
              _binary_${unstripped}_end ${Path}.elf
        COMMAND
              ${CMAKE_OBJCOPY} --redefine-sym
              _binary_${unstripped}_start=${Symbol}_start
              ${Path}.elf
        COMMAND
              ${CMAKE_OBJCOPY} --redefine-sym
              _binary_${unstripped}_size=${Symbol}_size
              ${Path}.elf
    )
    add_custom_target(${Symbol}_elf DEPENDS ${Path}.elf)
endmacro()

#cmake #riscv #embed #binary #elf #note

1
0
0

quick jam during kid's naptime

3
2
1
Are you someone who has a simple fix for something in the Linux kernel, but haven't bothered submitting a patch because you find the email workflow daunting? Can be a bugfix, spelling correction, anything at all.

If so, I want to talk to you! I have tools that simplify this process quite a bit, but I need more feedback from people who aren't long-term Linux maintainers.

Please reach out, either via here or by emailing mricon@kernel.org.
9
425
333

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
1
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
Show older