start new:
tmux
start new with session name:
tmux new -s myname
As configured in my dotfiles.
start new:
tmux
start new with session name:
1. Execute make first. This will result in a netlinkKernel.ko output among many others. | |
2. Execute $ gcc netlinkUser.c -o netlinkUser | |
3. Insert kernel module by :$ sudo insmod netlinkKernel.ko | |
4. Run ./netlinkUser to see message and run dmesg to see debug messages | |
5. Remove module by : $ sudo rmmod netlinkKernel | |
6. Finally make clean to remove output files. |
TOP=$HOME=~/qemu_x86 | |
TOP=$HOME/8-23-qemu_x86/ | |
mkdir -pv $TOP/obj/busybox-x86 | |
cd $TOP | |
curl https://busybox.net/downloads/busybox-1.26.2.tar.bz2 | tar -xj | |
cd busybox-1.26.2 | |
mkdir -pv bb_build | |
make O=bb_build defconfig |
/* | |
To test that the Linux framebuffer is set up correctly, and that the device permissions | |
are correct, use the program below which opens the frame buffer and draws a gradient- | |
filled red square: | |
retrieved from: | |
Testing the Linux Framebuffer for Qtopia Core (qt4-x11-4.2.2) | |
http://cep.xor.aps.anl.gov/software/qt4-x11-4.2.2/qtopiacore-testingframebuffer.html | |
*/ |
# | |
# Automatically generated file; DO NOT EDIT. | |
# Buildroot 2017.08-rc3 Configuration | |
# | |
BR2_HAVE_DOT_CONFIG=y | |
BR2_HOST_GCC_AT_LEAST_4_5=y | |
BR2_HOST_GCC_AT_LEAST_4_6=y | |
BR2_HOST_GCC_AT_LEAST_4_7=y | |
BR2_HOST_GCC_AT_LEAST_4_8=y | |
BR2_HOST_GCC_AT_LEAST_4_9=y |
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 |
#!/bin/sh | |
# assumptions: | |
# * virtualenv is avaliable and working | |
# * virtualenvs go to ~/.pvm | |
export PIP_REQUIRE_VIRTUALENV=true | |
export PIP_RESPECT_VIRTUALENV=true | |
export VIRTUALENV_DISTRIBUTE=true | |
cd ~; mkdir -p ~/.pvm/core | |
virtualenv --python=/usr/bin/python --clear --no-site-packages --distribute ~/.pvm/core |