Skip to content

Instantly share code, notes, and snippets.

View vredzhepov's full-sized avatar

Vladimir Redzhepov vredzhepov

View GitHub Profile
@vredzhepov
vredzhepov / debugging_kernel.txt
Created March 30, 2021 18:02 — forked from hngouveia01/debugging_kernel.txt
Debugging kernel code line by line with Qemu and GDB
We are going to use buildroot to download, configure and compile the kernel.
First, download and uncompress buildroot: https://buildroot.org/download.html
Go to the directory and:
make qemu_x86_defconfig
make menuconfig
@vredzhepov
vredzhepov / chroot-to-pi.sh
Last active September 13, 2020 06:39 — forked from htruong/chroot-to-pi.sh
Chroot to pi sd card
#!/bin/bash
# This script allows you to chroot ("work on")
# the raspbian sd card as if it's the raspberry pi
# on your Ubuntu desktop/laptop
# just much faster and more convenient
# credits: https://gist.github.com/jkullick/9b02c2061fbdf4a6c4e8a78f1312a689
# make sure you have issued