This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@wand_MJE:/home/debian/py-uio/dts# bin/add-overlay p9.12-irq.dtbo | |
/sys/kernel/config/device-tree/overlays/p9.12-irq/status: unapplied | |
rmdir: removing directory, ‘/sys/kernel/config/device-tree/overlays/p9.12-irq’ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CONFIG_IMX_IPUV3_CORE=y | |
CONFIG_DRM_IMX=y | |
CONFIG_DRM_IMX_FB_HELPER=y | |
CONFIG_DRM_IMX_PARALLEL_DISPLAY=y | |
CONFIG_DRM_IMX_TVE=y | |
CONFIG_DRM_IMX_LDB=y | |
CONFIG_DRM_IMX_IPUV3=y | |
CONFIG_DRM_IMX_HDMI=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 3:12am] root@wand_MJE /home/debian/py-uio # ./p9.12-irq.py | |
Traceback (most recent call last): | |
File "./p9.12-irq.py", line 6, in <module> | |
pin = Uio( "p9.12-irq" ) | |
File "/home/debian/py-uio/uio.py", line 63, in __init__ | |
self._fd = os.open( path.path, flags ) | |
AttributeError: 'PosixPath' object has no attribute 'path' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 5:24am] root@wand_MJE /home/debian/py-uio/dts # ls /sys/bus/platform/drivers/uio_pdrv_genirq/ | |
bind module uevent unbind | |
[ 5:26am] root@wand_MJE /home/debian/py-uio/dts # ls /sys/bus/platform/drivers/uio_pdrv_genirq/ -al | |
total 0 | |
drwxr-xr-x 2 root root 0 May 10 05:26 . | |
drwxr-xr-x 238 root root 0 Jan 1 1970 .. | |
--w------- 1 root root 4096 May 10 05:26 bind | |
lrwxrwxrwx 1 root root 0 May 10 05:26 module -> ../../../../module/uio_pdrv_genirq | |
--w------- 1 root root 4096 May 9 12:40 uevent | |
--w------- 1 root root 4096 May 10 05:26 unbind |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Text to clearly identify server | |
echo -e "\033[1;34m" | |
boardRev=`grep Revision /proc/cpuinfo | awk '{ print $3; }'` | |
#if [ "${boardRev}" == "9000c1" ] | |
case "${boardRev}" in | |
#then | |
000d) | |
figlet -f slant "Pi - Model B Rev 2" | |
echo " Raspberry Pi -tastic" | |
;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 1999-2017 Gentoo Foundation | |
# Distributed under the terms of the GNU General Public License v2 | |
EAPI=6 | |
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) | |
inherit distutils-r1 | |
DESCRIPTION="Configuration manager in your pocket" | |
HOMEPAGE="https://kaptan.readthedocs.io/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 1999-2017 Gentoo Foundation | |
# Distributed under the terms of the GNU General Public License v2 | |
EAPI=6 | |
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) | |
inherit distutils-r1 | |
DESCRIPTION="Tmux session manager built on libtmux" | |
HOMEPAGE="https://tmuxp.git-pull.com/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 1999-2017 Gentoo Foundation | |
# Distributed under the terms of the GNU General Public License v2 | |
EAPI=6 | |
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) | |
inherit distutils-r1 | |
DESCRIPTION="Python api for tmux" | |
HOMEPAGE="https://libtmux.git-pull.com/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Download source from https://gitweb.gentoo.org/proj/mirrorselect.git | |
ssl-fetch library from https://github.com/dol-sen/ssl-fetch | |
python requests library ("python-requests") >= 2.0.0 | |
netselect package >= 0.3 | |
python dialog library ("python-dialog") >= 2.7 | |
et voila. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -eu | |
if [[ "$#" -ne 1 ]]; then | |
echo "Usage: mnt_kern <directory>" | |
exit 1 | |
fi | |
if [[ ! -r "squash/${1}.sqfs" ]]; then |
OlderNewer