Skip to content

Instantly share code, notes, and snippets.

View pdp7's full-sized avatar
💭
Linux on RISC-V

Drew Fustini pdp7

💭
Linux on RISC-V
View GitHub Profile
@mwelling
mwelling / README.txt
Created August 29, 2018 03:23
Epaper driver usage for OHSummit badge
The above code assumes that you have the driver code for the display and font built-in.
See pull request:
https://github.com/acamilo/micropython/pull/1
It also assumes that you have loaded the happy180.bmp onto the filesystem of the module.
The bitmap was taken from here:
https://github.com/ayoy/micropython-waveshare-epd/blob/master/epd/gfx/happy180.bmp
@nickoe
nickoe / build_tips_for_kicad.txt
Last active December 16, 2021 14:25
Build tips for kicad
CC="distcc gcc" CXX="distcc g++" cmake .. -DKICAD_USE_OCC=ON -DwxWidgets_CONFIG_EXECUTABLE=$(which wx-config-gtk3) -DCMAKE_INSTALL_PREFIX=/tmp/kicad/usr/local
-DwxWidgets_CONFIG_EXECUTABLE=$(which wx-config-gtk3) -DCMAKE_INSTALL_PREFIX=/tmp/kicad/usr/local
Using ninja with multi config, see https://cmake.org/cmake/help/v3.17/generator/Ninja%20Multi-Config.html
CC="distcc gcc" CXX="distcc g++" cmake .. -DKICAD_USE_OCC=ON -DwxWidgets_CONFIG_EXECUTABLE=$(which wx-config-gtk3) -DCMAKE_INSTALL_PREFIX=/tmp/kicad/usr/local -DCMAKE_DEFAULT_BUILD_TYPE=Release -G"Ninja Multi-Config
-DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=gold
Use this one:
@vegard
vegard / kernel-dev.md
Last active October 1, 2025 06:07
Getting started with Linux kernel development

Getting started with Linux kernel development

Prerequisites

The Linux kernel is written in C, so you should have at least a basic understanding of C before diving into kernel work. You don't need expert level C knowledge, since you can always pick some things up underway, but it certainly helps to know the language and to have written some userspace C programs already.

It will also help to be a Linux user. If you have never used Linux before, it's probably a good idea to download a distro and get comfortable with it before you start doing kernel work.

Lastly, knowing git is not actually required, but can really help you (since you can dig through changelogs and search for information you'll need). At a minimum you should probably be able to clone the git repository to a local directory.

[238]HELLO! BOOT0 is starting!
[241]BOOT0 commit : 27369ab
[243]set pll start
[245]periph0 has been enabled
[248]set pll end
[250][pmu]: bus read error
[252]board init ok
[254]DRAM only have internal ZQ!!
[257]get_pmu_exist() = -1
[260]ddr_efuse_type: 0x0