simplify sudo calls, update rpi scripts, implement root overlay

This commit is contained in:
parazyd 2017-01-31 12:30:10 +01:00
parent 8dddf5873d
commit 7bb47914c9
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
18 changed files with 330 additions and 177 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env zsh
# Copyright (c) 2016 Dyne.org Foundation
# Copyright (c) 2016-2017 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# This file is part of arm-sdk
@ -26,7 +26,7 @@ arrs+=(custmodules)
device_name="raspi1"
arch="armel"
size=1337
size=1891
inittab="T0:23:respawn:/sbin/agetty -L ttyAMA0 115200 vt100"
parted_type="dos"
@ -40,6 +40,7 @@ gitkernel="https://github.com/raspberrypi/linux.git"
gitbranch="rpi-4.4.y"
rpifirmware="https://github.com/raspberrypi/firmware.git"
make="make ARCH=arm CROSS_COMPILE=$compiler"
prebuild() {
fn prebuild
@ -48,12 +49,9 @@ prebuild() {
notice "executing $device_name prebuild"
enablessh
write-fstab
copy-zram-init
install-custom-packages
mkdir -p $R/tmp/kernels/$device_name
${=mkdir}-p $R/tmp/kernels/$device_name
}
postbuild() {
@ -61,33 +59,14 @@ postbuild() {
notice "executing $device_name postbuild"
## {{{ boot txts
notice "creating cmdline.txt"
cat <<EOF | sudo tee ${strapdir}/boot/cmdline.txt
dwc_otg.fiq_fix_enable=2 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait rootflags=noload net.ifnames=0 quiet
EOF
notice "creating config.txt"
cat <<EOF | sudo tee ${strapdir}/boot/config.txt
## memory shared with the GPU
gpu_mem=64
## always audio
dtparam=audio=on
## maximum amps on usb ports
max_usb_current=1
EOF
## }}}
## TODO: remove systemd merda from raspi-config and add here
copy-root-overlay
postbuild-clean
}
build_kernel_armel() {
fn build_kernel_armel
req=(R arch device_name gitkernel gitbranch MAKEOPTS rpifirmware)
req=(R arch device_name gitkernel gitbranch rpifirmware)
req+=(strapdir)
ckreq || return 1
@ -95,36 +74,29 @@ build_kernel_armel() {
prebuild || zerr
get-kernel-sources
get-kernel-sources || zerr
export KERNEL=kernel
pushd $R/tmp/kernels/$device_name/${device_name}-linux
make bcmrpi_defconfig
make $MAKEOPTS || zerr
sudo -E PATH="$PATH" \
make INSTALL_MOD_PATH=$strapdir modules_install || zerr
${=make} bcmrpi_defconfig
${=make} $MAKEOPTS || zerr
${=sudo} ${=make} INSTALL_MOD_PATH=$strapdir modules_install || zerr
popd
clone-git $rpifirmware "$R/tmp/kernels/$device_name/${device_name}-firmware"
sudo cp $CPVERBOSE -rf $R/tmp/kernels/$device_name/${device_name}-firmware/boot/* $strapdir/boot/
${=sudo} ${=cp} -rf $R/tmp/kernels/$device_name/${device_name}-firmware/boot/* $strapdir/boot/
pushd $R/tmp/kernels/$device_name/${device_name}-linux
sudo perl scripts/mkknlimg --dtok arch/arm/boot/zImage $strapdir/boot/kernel.img
sudo cp $CPVERBOSE arch/arm/boot/dts/bcm*.dtb $strapdir/boot/
sudo cp $CPVERBOSE arch/arm/boot/dts/overlays/*.dtbo $strapdir/boot/overlays/
sudo cp $CPVERBOSE arch/arm/boot/dts/overlays/README $strapdir/boot/overlays/
${=sudo} perl scripts/mkknlimg --dtok arch/arm/boot/zImage $strapdir/boot/kernel.img
${=sudo} ${=cp} arch/arm/boot/dts/bcm*.dtb $strapdir/boot/
${=sudo} ${=cp} arch/arm/boot/dts/overlays/*.dtbo $strapdir/boot/overlays/
${=sudo} ${=cp} arch/arm/boot/dts/overlays/README $strapdir/boot/overlays/
popd
#sudo rm -rf $strapdir/lib/firmware
#get-kernel-firmware
#sudo cp $CPVERBOSE -ra $R/tmp/linux-firmware $strapdir/lib/firmware
pushd $R/tmp/kernels/$device_name/${device_name}-linux
sudo -E PATH="$PATH" \
make INSTALL_MOD_PATH=$strapdir firmware_install || zerr
make mrproper
make bcmrpi_defconfig
sudo -E PATH="$PATH" \
make modules_prepare || zerr
${=sudo} ${=make} INSTALL_MOD_PATH=$strapdir firmware_install || zerr
${=make} mrproper
${=make} bcmrpi_defconfig
${=sudo} ${=make} modules_prepare || zerr
popd
postbuild || zerr

View File

@ -1,5 +1,5 @@
#!/usr/bin/env zsh
# Copyright (c) 2016 Dyne.org Foundation
# Copyright (c) 2016-2017 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# This file is part of arm-sdk
@ -26,7 +26,7 @@ arrs+=(custmodules)
device_name="raspi2"
arch="armhf"
size=1988
size=1891
inittab="T0:23:respawn:/sbin/agetty -L ttyAMA0 115200 vt100"
parted_type="dos"
@ -40,6 +40,7 @@ gitkernel="https://github.com/raspberrypi/linux.git"
gitbranch="rpi-4.4.y"
rpifirmware="https://github.com/raspberrypi/firmware.git"
make="make ARCH=arm CROSS_COMPILE=$compiler"
prebuild() {
fn prebuild
@ -48,12 +49,9 @@ prebuild() {
notice "executing $device_name prebuild"
enablessh
write-fstab
copy-zram-init
install-custom-packages
mkdir -p $R/tmp/kernels/$device_name
${=mkdir} -p $R/tmp/kernels/$device_name
}
postbuild() {
@ -61,64 +59,18 @@ postbuild() {
notice "executing $device_name postbuild"
## {{{ apt.sources.list
cat <<EOF | sudo tee -a ${strapdir}/etc/apt/sources.list
## raspbian repositories needed for certain packages
deb http://archive.raspbian.org/raspbian jessie main contrib non-free rpi firmware
deb-src http://archive.raspbian.org/raspbian jessie main contrib non-free rpi firmware
## for omxplayer
#deb http://linux.subogero.com/deb /
#deb http://pipplware.pplware.pt/pipplware/dists/jessie/main/binary /
EOF
## }}}
## {{{ boot txts
notice "creating cmdline.txt"
cat <<EOF | sudo tee ${strapdir}/boot/cmdline.txt
dwc_otg.fiq_fix_enable=2 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait rootflags=noload net.ifnames=0 quiet
EOF
notice "creating config.txt"
cat <<EOF | sudo tee ${strapdir}/boot/config.txt
## memory shared with the GPU
gpu_mem=64
## always audio
dtparam=audio=on
## maximum amps on usb ports
max_usb_current=1
EOF
## }}}
## TODO: remove systemd merda from raspi-config and add here
copy-root-overlay
notice "installing raspberry pi 3 firmware for bt/wifi"
sudo mkdir -p $strapdir/lib/firmware/brcm
sudo cp $CPVERBOSE $R/extra/rpi3/brcmfmac43430-sdio.txt $strapdir/lib/firmware/brcm/
sudo cp $CPVERBOSE $R/extra/rpi3/brcmfmac43430-sdio.bin $strapdir/lib/firmware/brcm/
cat <<EOF | sudo tee ${strapdir}/addkeys
#!/bin/sh
## Raspberry Pi Debian armhf
gpg --keyserver pgp.mit.edu --recv-keys 9165938D90FDDD2E
gpg --export -a 9165938D90FDDD2E | apt-key add -
## pipplware key
#curl pipplware.pplware.pt/pipplware/key.asc | gpg --import -
#gpg --export -a D9A264BCBAA567BB | apt-key add -
rm -f /addkeys
EOF
chroot-script addkeys || zerr
${=sudo} ${=mkdir} -p $strapdir/lib/firmware/brcm
${=sudo} ${=cp} $R/extra/raspberry-fw/brcmfmac43430-sdio.{bin,txt} $strapdir/lib/firmware/brcm/
postbuild-clean
}
build_kernel_armhf() {
fn build_kernel_armhf
req=(R arch device_name gitkernel gitbranch MAKEOPTS rpifirmware)
req=(R arch device_name gitkernel gitbranch rpifirmware)
req+=(strapdir)
ckreq || return 1
@ -126,33 +78,28 @@ build_kernel_armhf() {
prebuild || zerr
get-kernel-sources
get-kernel-sources || zerr
pushd $R/tmp/kernels/$device_name/${device_name}-linux
make bcm2709_defconfig
make $MAKEOPTS || zerr
sudo -E PATH="$PATH" \
make INSTALL_MOD_PATH=$strapdir modules_install || zerr
${=make} bcm2709_defconfig || zerr
${=make} $MAKEOPTS || zerr
${=sudo} ${=make} INSTALL_MOD_PATH=$strapdir modules_install || zerr
popd
clone-git $rpifirmware "$R/tmp/kernels/$device_name/${device_name}-firmware"
sudo cp $CPVERBOSE -rf $R/tmp/kernels/$device_name/${device_name}-firmware/boot/* $strapdir/boot/
${=sudo} ${=cp} -rf $R/tmp/kernels/$device_name/${device_name}-firmware/boot/* $strapdir/boot/
pushd $R/tmp/kernels/$device_name/${device_name}-linux
sudo perl scripts/mkknlimg --dtok arch/arm/boot/zImage $strapdir/boot/kernel7.img
sudo cp $CPVERBOSE arch/arm/boot/dts/bcm*.dtb $strapdir/boot/
sudo cp $CPVERBOSE arch/arm/boot/dts/overlays/*.dtbo $strapdir/boot/overlays/
sudo cp $CPVERBOSE arch/arm/boot/dts/overlays/README $strapdir/boot/overlays/
${=sudo} perl scripts/mkknlimg --dtok arch/arm/boot/zImage $strapdir/boot/kernel7.img
${=sudo} ${=cp} arch/arm/boot/dts/bcm*.dtb $strapdir/boot/
${=sudo} ${=cp} arch/arm/boot/dts/overlays/*.dtbo $strapdir/boot/overlays/
${=sudo} ${=cp} arch/arm/boot/dts/overlays/README $strapdir/boot/overlays/
popd
#sudo rm -rf $strapdir/lib/firmware
#get-kernel-firmware
#sudo cp $CPVERBOSE -ra $R/tmp/linux-firmware $strapdir/lib/firmware
pushd $R/tmp/kernels/$device_name/${device_name}-linux
sudo -E PATH="$PATH" make INSTALL_MOD_PATH=$strapdir firmware_install || zerr
make mrproper
make bcm2709_defconfig
sudo -E PATH="$PATH" make modules_prepare || zerr
${=sudo} ${=make} INSTALL_MOD_PATH=$strapdir firmware_install || zerr
${=make} mrproper
${=make} bcm2709_defconfig
${=sudo} ${=make} modules_prepare || zerr
popd
postbuild || zerr

View File

@ -1,5 +1,5 @@
#!/usr/bin/env zsh
# Copyright (c) 2016 Dyne.org Foundation
# Copyright (c) 2016-2017 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# This file is part of arm-sdk
@ -26,7 +26,7 @@ arrs+=(custmodules)
device_name="raspi3"
arch="arm64"
size=1988
size=1891
inittab="T0:23:respawn:/sbin/agetty -L ttyAMA0 115200 vt100"
parted_type="dos"
@ -40,6 +40,7 @@ gitkernel="https://github.com/Electron752/linux.git"
gitbranch="rpi-4.6.y+rpi364"
rpifirmware="https://github.com/raspberrypi/firmware.git"
make="make ARCH=arm64 CROSS_COMPILE=$compiler"
prebuild() {
fn prebuild
@ -49,12 +50,9 @@ prebuild() {
notice "executing $device_name prebuild"
export ARCH=arm64
enablessh
write-fstab
copy-zram-init
install-custom-packages
mkdir -p $R/tmp/kernels/$device_name
${=mkdir} -p $R/tmp/kernels/$device_name
}
postbuild() {
@ -62,38 +60,18 @@ postbuild() {
notice "executing $device_name postbuild"
## {{{ boot txts
notice "creating cmdline.txt"
cat <<EOF | sudo tee ${strapdir}/boot/cmdline.txt
dwc_otg.fiq_fix_enable=2 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait rootflags=noload net.ifnames=0 quiet
EOF
notice "creating config.txt"
cat <<EOF | sudo tee ${strapdir}/boot/config.txt
## memory shared with the GPU
gpu_mem=64
## always audio
dtparam=audio=on
## maximum amps on usb ports
max_usb_current=1
EOF
## }}}
## TODO: remove systemd merda from raspi-config and add here
copy-root-overlay
notice "installing raspberry pi 3 firmware for bt/wifi"
sudo mkdir -p $strapdir/lib/firmware/brcm
sudo cp $CPVERBOSE $R/extra/rpi3/brcmfmac43430-sdio.txt $strapdir/lib/firmware/brcm/
sudo cp $CPVERBOSE $R/extra/rpi3/brcmfmac43430-sdio.bin $strapdir/lib/firmware/brcm/
${=sudo} ${=mkdir} -p $strapdir/lib/firmware/brcm
${=sudo} ${=cp} $R/extra/raspberry-fw/brcmfmac43430-sdio.{bin,txt} $strapdir/lib/firmware/brcm/
postbuild-clean
}
build_kernel_arm64() {
fn build_kernel_armhf
req=(R arch device_name gitkernel gitbranch MAKEOPTS rpifirmware)
req=(R arch device_name gitkernel gitbranch rpifirmware)
req+=(strapdir)
ckreq || return 1
@ -101,41 +79,28 @@ build_kernel_arm64() {
prebuild || zerr
get-kernel-sources
get-kernel-sources || zerr
pushd $R/tmp/kernels/$device_name/${device_name}-linux
make ARCH=arm64 bcmrpi3_defconfig || zerr
make ARCH=arm64 $MAKEOPTS || zerr
sudo -E PATH="$PATH" \
make \
ARCH=arm64 \
INSTALL_MOD_PATH=$strapdir modules_install || zerr
${=make} bcmrpi3_defconfig || zerr
${=make} $MAKEOPTS || zerr
${=sudo} ${=make} INSTALL_MOD_PATH=$strapdir modules_install || zerr
popd
clone-git $rpifirmware "$R/tmp/kernels/$device_name/${device_name}-firmware"
sudo cp $CPVERBOSE -rf $R/tmp/kernels/$device_name/${device_name}-firmware/boot/* $strapdir/boot/
${=sudo} ${=cp} -rf $R/tmp/kernels/$device_name/${device_name}-firmware/boot/* $strapdir/boot/
pushd $R/tmp/kernels/$device_name/${device_name}-linux
#sudo perl scripts/mkknlimg --dtok arch/arm/boot/zImage $strapdir/boot/kernel7.img
sudo cp $CPVERBOSE arch/arm64/boot/Image $strapdir/boot/kernel8.img
#sudo cp $CPVERBOSE arch/arm64/boot/dts/bcm*.dtb $strapdir/boot/
sudo cp $CPVERBOSE arch/arm64/boot/dts/broadcom/bcm2710-rpi-3-b.dtb $strapdir/boot/
sudo cp $CPVERBOSE arch/arm64/boot/dts/overlays/*.dtbo $strapdir/boot/overlays/
sudo cp $CPVERBOSE arch/arm64/boot/dts/overlays/README $strapdir/boot/overlays/
${=sudo} ${=cp} arch/arm64/boot/Image $strapdir/boot/kernel8.img
${=sudo} ${=cp} arch/arm64/boot/dts/broadcom/bcm2710-rpi-3-b.dtb $strapdir/boot/
${=sudo} ${=cp} arch/arm64/boot/dts/overlays/*.dtbo $strapdir/boot/overlays/
${=sudo} ${=cp} arch/arm64/boot/dts/overlays/README $strapdir/boot/overlays/
popd
#sudo rm -rf $strapdir/lib/firmware
#get-kernel-firmware
#sudo cp $CPVERBOSE -ra $R/tmp/linux-firmware $strapdir/lib/firmware
pushd $R/tmp/kernels/$device_name/${device_name}-linux
sudo -E PATH="$PATH" \
make \
ARCH=arm64 \
INSTALL_MOD_PATH=$strapdir firmware_install || zerr
make mrproper
make ARCH=arm64 bcmrpi3_defconfig
sudo -E PATH="$PATH" \
make ARCH=arm64 modules_prepare || zerr
${=sudo} ${=make} INSTALL_MOD_PATH=$strapdir firmware_install || zerr
${=make} mrproper
${=make} bcmrpi3_defconfig
${=sudo} ${=make} modules_prepare || zerr
popd
postbuild || zerr

11
config
View File

@ -58,4 +58,15 @@ qemu_bin="/usr/bin/qemu-arm-static" # Devuan
## extra_packages for all images
extra_packages+=(fake-hwclock busybox-syslogd busybox-static openntpd)
extra_packages+=(fbterm)
purge_packages+=(rsyslog)
## linux kernel firmware
linuxfirmware="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git"
## linux mainline kernel
linuxmainline="git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
## u-boot mainline
ubootmainline="git://git.denx.de/u-boot.git"

View File

@ -0,0 +1,6 @@
# /etc/default/openntpd
# Append '-s' to set the system time when starting in case the offset
# between the local clock and the servers is more than 180 seconds.
# For other options, see man ntpd(8).
DAEMON_OPTS="-f /etc/openntpd/ntpd.conf -s"

View File

@ -0,0 +1,10 @@
## <file system> <mount point> <type> <options> <dump><pass>
## proc
proc /proc proc nodev,noexec,nosuid 0 0
## rootfs
/dev/mmcblk0p2 / ext4 errors=remount-ro,noatime 0 1
## bootfs
/dev/mmcblk0p1 /boot vfat defaults 0 0
EOF

View File

@ -0,0 +1,45 @@
#!/bin/sh
### BEGIN INIT INFO
# Provides: zram
# Required-Start: $local_fs
# Required-Stop: $local_fs
# Default-Start: S
# Default-Stop: 0 1 6
# Short-Description: Use compressed RAM as in-memory swap
# Description: Use compressed RAM as in-memory swap
### END INIT INFO
# Author: Antonio Galea <antonio.galea@gmail.com>
# Thanks to Przemysław Tomczyk for suggesting swapoff parallelization
FRACTION=75
MEMORY=`perl -ne'/^MemTotal:\s+(\d+)/ && print $1*1024;' < /proc/meminfo`
CPUS=`grep -c processor /proc/cpuinfo`
SIZE=$(( MEMORY * FRACTION / 100 / CPUS ))
case "$1" in
"start")
param=`modinfo zram|grep num_devices|cut -f2 -d:|tr -d ' '`
modprobe zram $param=$CPUS
for n in `seq $CPUS`; do
i=$((n - 1))
echo $SIZE > /sys/block/zram$i/disksize
mkswap /dev/zram$i
swapon /dev/zram$i -p 10
done
;;
"stop")
for n in `seq $CPUS`; do
i=$((n - 1))
swapoff /dev/zram$i && echo "disabled disk $n of $CPUS" &
done
wait
sleep .5
modprobe -r zram
;;
*)
echo "Usage: `basename $0` (start | stop)"
exit 1
;;
esac

15
extra/generic-root/etc/rc.local Executable file
View File

@ -0,0 +1,15 @@
#!/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.
## regen ssh keys on first boot
[ -f /etc/ssh/ssh_host_rsa_key.pub ] || dpkg-reconfigure openssh-server
exit 0

View File

@ -0,0 +1,88 @@
# Package generated configuration file
# See the sshd_config(5) manpage for details
# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0
Protocol 2
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_dsa_key
#HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key
#Privilege Separation is turned on for security
UsePrivilegeSeparation yes
# Lifetime and size of ephemeral version 1 server key
KeyRegenerationInterval 3600
ServerKeyBits 1024
# Logging
SyslogFacility AUTH
LogLevel INFO
# Authentication:
LoginGraceTime 120
PermitRootLogin yes
StrictModes yes
RSAAuthentication yes
PubkeyAuthentication yes
#AuthorizedKeysFile %h/.ssh/authorized_keys
# Don't read the user's ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication no
# similar for protocol version 2
HostbasedAuthentication no
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
#IgnoreUserKnownHosts yes
# To enable empty passwords, change to yes (NOT RECOMMENDED)
PermitEmptyPasswords no
# Change to yes to enable challenge-response passwords (beware issues with
# some PAM modules and threads)
ChallengeResponseAuthentication no
# Change to no to disable tunnelled clear text passwords
PasswordAuthentication yes
# Kerberos options
#KerberosAuthentication no
#KerberosGetAFSToken no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes
X11Forwarding no
X11DisplayOffset 10
PrintMotd no
PrintLastLog yes
TCPKeepAlive yes
#UseLogin no
#MaxStartups 10:30:60
#Banner /etc/issue.net
# Allow client to pass locale environment variables
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server
# Set this to 'yes' to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the ChallengeResponseAuthentication and
# PasswordAuthentication. Depending on your PAM configuration,
# PAM authentication via ChallengeResponseAuthentication may bypass
# the setting of "PermitRootLogin yes
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set PasswordAuthentication
# and ChallengeResponseAuthentication to 'no'.
UsePAM no

View File

@ -0,0 +1 @@
This is the required firmware for Raspberry Pi 3's onboard Bluetooth and WiFi.

Binary file not shown.

View File

@ -0,0 +1,66 @@
# NVRAM file for BCM943430WLPTH
# 2.4 GHz, 20 MHz BW mode
# The following parameter values are just placeholders, need to be updated.
manfid=0x2d0
prodid=0x0727
vendid=0x14e4
devid=0x43e2
boardtype=0x0727
boardrev=0x1101
boardnum=22
macaddr=00:90:4c:c5:12:38
sromrev=11
boardflags=0x00404201
boardflags3=0x08000000
xtalfreq=37400
nocrc=1
ag0=255
aa2g=1
ccode=ALL
pa0itssit=0x20
extpagain2g=0
#PA parameters for 2.4GHz, measured at CHIP OUTPUT
pa2ga0=-168,7161,-820
AvVmid_c0=0x0,0xc8
cckpwroffset0=5
# PPR params
maxp2ga0=84
txpwrbckof=6
cckbw202gpo=0
legofdmbw202gpo=0x66111111
mcsbw202gpo=0x77711111
propbw202gpo=0xdd
# OFDM IIR :
ofdmdigfilttype=18
ofdmdigfilttypebe=18
# PAPD mode:
papdmode=1
papdvalidtest=1
pacalidx2g=42
papdepsoffset=-22
papdendidx=58
# LTECX flags
ltecxmux=0
ltecxpadnum=0x0102
ltecxfnsel=0x44
ltecxgcigpio=0x01
il0macaddr=00:90:4c:c5:12:38
wl0id=0x431b
deadman_to=0xffffffff
# muxenab: 0x1 for UART enable, 0x2 for GPIOs, 0x8 for JTAG
muxenab=0x1
# CLDO PWM voltage settings - 0x4 - 1.1 volt
#cldo_pwm=0x4
#VCO freq 326.4MHz
spurconfig=0x3
edonthd20l=-75
edoffthd20ul=-80

View File

@ -0,0 +1 @@
dwc_otg.fiq_fix_enable=2 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait rootflags=noload net.ifnames=0

View File

@ -0,0 +1,8 @@
## memory shared with the GPU
gpu_mem=32
## always audio
dtparam=audio=on
## maximum amps on usb ports
max_usb_current=1

View File

@ -0,0 +1 @@
dwc_otg.fiq_fix_enable=2 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait rootflags=noload net.ifnames=0

View File

@ -0,0 +1,8 @@
## memory shared with the GPU
gpu_mem=64
## always audio
dtparam=audio=on
## maximum amps on usb ports
max_usb_current=1

View File

@ -0,0 +1 @@
dwc_otg.fiq_fix_enable=2 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait rootflags=noload net.ifnames=0

View File

@ -0,0 +1,8 @@
## memory shared with the GPU
gpu_mem=64
## always audio
dtparam=audio=on
## maximum amps on usb ports
max_usb_current=1