add some important modified files from /etc
This commit is contained in:
parent
405c8657d6
commit
39c2a43dc1
4 changed files with 44 additions and 0 deletions
|
|
@ -63,6 +63,10 @@ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- ${extraversion:+EXTRAVERSION=$e
|
|||
cp arch/arm/boot/zImage ../zImage
|
||||
```
|
||||
|
||||
## Misc files
|
||||
|
||||
`misc-files` contains important files I've customized.
|
||||
|
||||
## LinuxCNC
|
||||
|
||||
Use LinuxCNC master branch configured for uspace. Everything should be just
|
||||
|
|
|
|||
8
misc-files/etc/modules
Normal file
8
misc-files/etc/modules
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# /etc/modules: kernel modules to load at boot time.
|
||||
#
|
||||
# This file contains the names of kernel modules that should be loaded
|
||||
# at boot time, one per line. Lines beginning with "#" are ignored.
|
||||
# Parameters can be specified after the module name.
|
||||
|
||||
spidev
|
||||
spi_s3c64xx
|
||||
31
misc-files/etc/rc.local
Executable file
31
misc-files/etc/rc.local
Executable file
|
|
@ -0,0 +1,31 @@
|
|||
#!/bin/sh -e
|
||||
#
|
||||
# rc.local
|
||||
#
|
||||
# This script is executed at the end of each multiuser runlevel.
|
||||
# Make sure that the script will "exit 0" on success or any other
|
||||
# value on error.
|
||||
#
|
||||
# In order to enable or disable this script just change the execution
|
||||
# bits.
|
||||
#
|
||||
# By default this script does nothing.
|
||||
|
||||
# Tweak the fan -- this makes it start at a silent speed
|
||||
# (and before fixing the dpms vs sensor problem, it made for
|
||||
# a silent fan instead of a loud one when the temperature stuck)
|
||||
echo 48 > /sys/devices/platform/odroidu2-fan/start_duty
|
||||
echo 44 > /sys/devices/platform/odroidu2-fan/start_temp
|
||||
|
||||
# Kill some powersaving...
|
||||
# To fix the fan / thermal sensor problem
|
||||
echo on > /sys/devices/platform/exynos4-hdmi/power/control
|
||||
|
||||
# To improve spi latency
|
||||
echo on > /sys/devices/platform/exynos4210-spi.1/power/control
|
||||
echo on > /sys/devices/platform/samsung-idma/power/control
|
||||
|
||||
# Don't blank the console
|
||||
TERM=linux setterm -blank 0 < /dev/tty0
|
||||
|
||||
exit 0
|
||||
1
misc-files/etc/udev/rules.d/99-spidev.rules
Normal file
1
misc-files/etc/udev/rules.d/99-spidev.rules
Normal file
|
|
@ -0,0 +1 @@
|
|||
KERNEL=="spidev*", SUBSYSTEM=="spidev", OWNER="jepler", MODE="0660"
|
||||
Loading…
Reference in a new issue