aboutsummaryrefslogtreecommitdiffstats
path: root/rpi2-debian-stdkernel/files
diff options
context:
space:
mode:
Diffstat (limited to 'rpi2-debian-stdkernel/files')
-rw-r--r--rpi2-debian-stdkernel/files/autologin.conf3
-rw-r--r--rpi2-debian-stdkernel/files/cmdline.txt1
-rw-r--r--rpi2-debian-stdkernel/files/config.txt39
-rw-r--r--rpi2-debian-stdkernel/files/fstab3
-rw-r--r--rpi2-debian-stdkernel/files/hostname1
-rw-r--r--rpi2-debian-stdkernel/files/hosts6
-rw-r--r--rpi2-debian-stdkernel/files/interfaces5
-rw-r--r--rpi2-debian-stdkernel/files/keyboard4
-rw-r--r--rpi2-debian-stdkernel/files/locale4
-rw-r--r--rpi2-debian-stdkernel/files/main.sources12
-rw-r--r--rpi2-debian-stdkernel/files/ubuntu.pref3
-rw-r--r--rpi2-debian-stdkernel/files/ubuntu.sources4
-rwxr-xr-xrpi2-debian-stdkernel/files/vg-copy-rpi13
-rw-r--r--rpi2-debian-stdkernel/files/vimrc23
-rw-r--r--rpi2-debian-stdkernel/files/zoneinfo1
15 files changed, 122 insertions, 0 deletions
diff --git a/rpi2-debian-stdkernel/files/autologin.conf b/rpi2-debian-stdkernel/files/autologin.conf
new file mode 100644
index 0000000..4aa64d2
--- /dev/null
+++ b/rpi2-debian-stdkernel/files/autologin.conf
@@ -0,0 +1,3 @@
+[Service]
+ExecStart=
+ExecStart=-/sbin/agetty --autologin root --login-pause --noclear %I 115200,38400,9600 vt102
diff --git a/rpi2-debian-stdkernel/files/cmdline.txt b/rpi2-debian-stdkernel/files/cmdline.txt
new file mode 100644
index 0000000..0142fe1
--- /dev/null
+++ b/rpi2-debian-stdkernel/files/cmdline.txt
@@ -0,0 +1 @@
+console=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootdelay=10
diff --git a/rpi2-debian-stdkernel/files/config.txt b/rpi2-debian-stdkernel/files/config.txt
new file mode 100644
index 0000000..ce7ca8e
--- /dev/null
+++ b/rpi2-debian-stdkernel/files/config.txt
@@ -0,0 +1,39 @@
+# raspberry pi 2 configuration file
+
+################################################################################
+# HDMI AND COMPOSITE
+################################################################################
+
+# display without heretic overscan
+disable_overscan=1
+
+################################################################################
+# UART
+################################################################################
+
+#enable_uart=1
+
+################################################################################
+# KERNEL
+################################################################################
+
+kernel=vmlinuz
+#kernel=vmlinuz-4.4.0-1029-raspi2
+#kernel=vmlinuz-4.7.0-1-armmp-lpae
+#kernel=vmlinuz-4.4.0-1-rpi2
+#kernel=u-boot.bin
+#kernel=yui-kernel.img
+
+initramfs initrd.img followkernel
+#initramfs initrd.img-4.4.0-1029-raspi2
+#initramfs initrd.img-4.7.0-1-armmp-lpae followkernel
+#initramfs initrd.img-4.4.0-1-rpi2 followkernel
+
+#device_tree_address=0x100
+#device_tree_end=0x8000
+#dtparam=i2c_arm=on
+#dtparam=spi=on
+#device_tree=bcm2709-rpi-2-b.dtb
+
+#cmdline="dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait"
+#cmdline="console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 root=/dev/root elevator=deadline rootdelay=30 panic=30 "
diff --git a/rpi2-debian-stdkernel/files/fstab b/rpi2-debian-stdkernel/files/fstab
new file mode 100644
index 0000000..aaa77f3
--- /dev/null
+++ b/rpi2-debian-stdkernel/files/fstab
@@ -0,0 +1,3 @@
+# <device> <mount point> <type> <options> <dump> <pass>
+/dev/mmcblk0p2 / ext4 errors=remount-ro,relatime 0 1
+/dev/mmcblk0p1 /boot/firmware vfat errors=remount-ro,relatime 0 2
diff --git a/rpi2-debian-stdkernel/files/hostname b/rpi2-debian-stdkernel/files/hostname
new file mode 100644
index 0000000..2dee175
--- /dev/null
+++ b/rpi2-debian-stdkernel/files/hostname
@@ -0,0 +1 @@
+debian
diff --git a/rpi2-debian-stdkernel/files/hosts b/rpi2-debian-stdkernel/files/hosts
new file mode 100644
index 0000000..6984fc0
--- /dev/null
+++ b/rpi2-debian-stdkernel/files/hosts
@@ -0,0 +1,6 @@
+127.0.0.1 localhost localhost.localdomain debian
+
+# the following lines are desirable for IPv6 capable hosts
+::1 localhost ip6-localhost ip6-loopback
+ff02::1 ip6-allnodes
+ff02::2 ip6-allrouters
diff --git a/rpi2-debian-stdkernel/files/interfaces b/rpi2-debian-stdkernel/files/interfaces
new file mode 100644
index 0000000..8dc54bc
--- /dev/null
+++ b/rpi2-debian-stdkernel/files/interfaces
@@ -0,0 +1,5 @@
+auto lo
+iface lo inet loopback
+
+allow-hotplug e0
+iface e0 inet dhcp
diff --git a/rpi2-debian-stdkernel/files/keyboard b/rpi2-debian-stdkernel/files/keyboard
new file mode 100644
index 0000000..61d51dc
--- /dev/null
+++ b/rpi2-debian-stdkernel/files/keyboard
@@ -0,0 +1,4 @@
+XKBMODEL="pc105"
+XKBLAYOUT="fr"
+XKBVARIANT="bepo"
+XKBOPTIONS=""
diff --git a/rpi2-debian-stdkernel/files/locale b/rpi2-debian-stdkernel/files/locale
new file mode 100644
index 0000000..6fe12f3
--- /dev/null
+++ b/rpi2-debian-stdkernel/files/locale
@@ -0,0 +1,4 @@
+LANG="en_US.UTF-8"
+LC_TIME="en_DK.UTF-8"
+LC_PAPER="en_GB.UTF-8"
+LC_MEASUREMENT="en_GB.UTF-8"
diff --git a/rpi2-debian-stdkernel/files/main.sources b/rpi2-debian-stdkernel/files/main.sources
new file mode 100644
index 0000000..a8024c3
--- /dev/null
+++ b/rpi2-debian-stdkernel/files/main.sources
@@ -0,0 +1,12 @@
+# main distrib repositories in new deb822 style
+
+#Types can have deb-src if needed
+Types: deb
+URIs: http://httpredir.debian.org/debian/ http://security.debian.org/
+Suites: testing testing/updates
+Components: main contrib
+
+#Types: deb
+#URIs: http://security.debian.org/
+#Suites: testing
+#Components: main contrib non-free
diff --git a/rpi2-debian-stdkernel/files/ubuntu.pref b/rpi2-debian-stdkernel/files/ubuntu.pref
new file mode 100644
index 0000000..844bf1c
--- /dev/null
+++ b/rpi2-debian-stdkernel/files/ubuntu.pref
@@ -0,0 +1,3 @@
+Package: *
+Pin: origin "ports.ubuntu.com"
+Pin-Priority: 100
diff --git a/rpi2-debian-stdkernel/files/ubuntu.sources b/rpi2-debian-stdkernel/files/ubuntu.sources
new file mode 100644
index 0000000..a8a167d
--- /dev/null
+++ b/rpi2-debian-stdkernel/files/ubuntu.sources
@@ -0,0 +1,4 @@
+Types: deb
+URIs: http://ports.ubuntu.com
+Suites: yakkety yakkety-updates
+Components: main universe
diff --git a/rpi2-debian-stdkernel/files/vg-copy-rpi b/rpi2-debian-stdkernel/files/vg-copy-rpi
new file mode 100755
index 0000000..a8eb53e
--- /dev/null
+++ b/rpi2-debian-stdkernel/files/vg-copy-rpi
@@ -0,0 +1,13 @@
+#!/bin/sh
+set -eux
+rootsource=$(findmnt -fno source -T /)
+firmwaresource=$(findmnt -fno source -T /boot/firmware/)
+if ! test x"$rootsource" = x"$firmwaresource"; then
+ cp --dereference /vmlinuz /boot/firmware/vmlinuz \
+ || cp --dereference /vmlinuz.old /boot/firmware/vmlinuz
+ cp --dereference /initrd.img /boot/firmware/initrd.img \
+ || cp --dereference /initrd.img.old /boot/firmware/initrd.img
+ ls -lah /vmlinuz /initrd.img > /boot/firmware/versions.txt \
+ || ls -lah /vmlinuz.old /initrd.img.old > /boot/firmware/versions.txt
+fi
+exit 0
diff --git a/rpi2-debian-stdkernel/files/vimrc b/rpi2-debian-stdkernel/files/vimrc
new file mode 100644
index 0000000..822382a
--- /dev/null
+++ b/rpi2-debian-stdkernel/files/vimrc
@@ -0,0 +1,23 @@
+set nocompatible
+filetype plugin indent on
+set autoindent
+set background=dark
+set backspace=2
+set hidden
+set hlsearch
+set ignorecase
+set incsearch
+set laststatus=2
+set modelines=0
+set nobackup
+set nowritebackup
+set ruler
+set scrolloff=3
+set shiftwidth=4
+set showcmd
+set showmatch
+set statusline=%<%f%h%m%r%=%l,%c\ %P
+set ts=4
+set whichwrap=<,>,[,]
+set wildmode=list:full
+syntax on
diff --git a/rpi2-debian-stdkernel/files/zoneinfo b/rpi2-debian-stdkernel/files/zoneinfo
new file mode 100644
index 0000000..7cd9492
--- /dev/null
+++ b/rpi2-debian-stdkernel/files/zoneinfo
@@ -0,0 +1 @@
+Europe/Paris