Compare commits
73 Commits
feature/me
...
feature/lc
Author | SHA1 | Date | |
---|---|---|---|
|
be050f3f79 | ||
|
b232fe9914 | ||
|
0492eeb47b | ||
|
2b4c4e6007 | ||
|
8b7f9c2f8f | ||
|
71d92696a6 | ||
|
898d78c355 | ||
|
0c5bcad4b0 | ||
|
19855db2da | ||
|
a8a131e19c | ||
|
bbbd691fb3 | ||
|
200dfc2205 | ||
|
1a95420340 | ||
|
aec36f560b | ||
|
13b3b18b5d | ||
|
87e70a6615 | ||
|
5919324f1b | ||
|
020e2c7fe9 | ||
|
b4674e5cb6 | ||
|
1c2f480dbd | ||
|
63ce5fa404 | ||
|
8097d2679b | ||
|
d352a68acc | ||
|
81052b54a6 | ||
|
b28a6d787e | ||
|
347ef94fd4 | ||
|
eacd69fe0f | ||
|
d1adbb7b9c | ||
|
c8e3e6fc59 | ||
|
a911af2fa0 | ||
|
fb7aa49ab0 | ||
|
ee477076c8 | ||
|
8faf53ef3e | ||
|
aa786393e6 | ||
|
592571c75a | ||
|
d87b79cecd | ||
|
8f5aa75fae | ||
|
2601d6a4a4 | ||
|
770821bbcd | ||
|
6bcbaced95 | ||
|
6607a06504 | ||
|
a4f6e5c9d8 | ||
|
e034305031 | ||
|
07219a7e82 | ||
|
4b13bb96d6 | ||
|
6f0b948b98 | ||
|
277501513a | ||
|
40b48c2b35 | ||
|
1069e42b8b | ||
|
88718f7a36 | ||
|
88ca152faa | ||
|
970bddfa6e | ||
|
a564932f4f | ||
|
de5fb6e33d | ||
|
51f08c2d3d | ||
|
79aa224ed3 | ||
|
49fb0d28cd | ||
|
438cfa26eb | ||
|
792d11ca1c | ||
|
115cfa3727 | ||
|
1369cb7f34 | ||
|
e12f3dc414 | ||
|
52880f1754 | ||
|
f6f03a67dd | ||
|
7f2247ae3b | ||
|
84bbaf4bca | ||
|
996c2c6fa0 | ||
|
0ec6de7ea4 | ||
|
e5bfb87131 | ||
|
0eeb5362b9 | ||
|
6a9c629359 | ||
|
269e538c2f | ||
|
7e1501f388 |
@@ -35,3 +35,4 @@ RUN apt-get install -y git
|
||||
RUN apt-get install -y g++-multilib
|
||||
RUN apt-get install -y cmake
|
||||
RUN apt-get install -y file
|
||||
RUN apt-get install -y kmod
|
||||
|
@@ -1,16 +1,16 @@
|
||||
version=\
|
||||
(
|
||||
'1.5'
|
||||
'1.6'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://downloads.sourceforge.net/project/bridge/bridge/bridge-utils-$version.tar.gz"
|
||||
"http://www.kernel.org/pub/linux/utils/net/bridge-utils/bridge-utils-$version.tar.gz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'ec7b381160b340648dede58c31bb2238'
|
||||
'f369e90e85e4bb46baa26a7b9d66b578'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
|
@@ -1,6 +1,6 @@
|
||||
version=\
|
||||
(
|
||||
'1.0.7'
|
||||
'1.0.71'
|
||||
)
|
||||
|
||||
url=\
|
||||
@@ -10,7 +10,7 @@ url=\
|
||||
|
||||
md5=\
|
||||
(
|
||||
'4e18a516249256e2dad4d79ae56c913d'
|
||||
'075c9256fe20cf6ce867dc2b1c974ebe'
|
||||
)
|
||||
|
||||
if [ -d "$cfg_dir_builds/linux/linux-"* ]; then
|
||||
|
@@ -49,10 +49,15 @@ host_install()
|
||||
|
||||
target_install()
|
||||
{
|
||||
$cmd_mkdir \
|
||||
"$cfg_dir_rootfs/usr/lib" &&
|
||||
libdir=lib
|
||||
if [ -d "$cfg_dir_toolchain/$cfg_target_canonical/lib64" ]; then
|
||||
libdir=lib64
|
||||
fi
|
||||
|
||||
for f in "$cfg_dir_toolchain/$cfg_target_canonical/lib/"{libgcc_s,libstdc++}.so*; do
|
||||
$cmd_mkdir \
|
||||
"$cfg_dir_rootfs/usr/$libdir" &&
|
||||
|
||||
for f in "$cfg_dir_toolchain/$cfg_target_canonical/$libdir/"{libgcc_s,libstdc++}.so*; do
|
||||
base="$(basename $f)"
|
||||
|
||||
if [ $(echo "$base" | grep '\.py' 2> /dev/null) ]; then
|
||||
|
@@ -1,6 +1,6 @@
|
||||
version=\
|
||||
(
|
||||
'7.8.2'
|
||||
'7.10.1'
|
||||
)
|
||||
|
||||
url=\
|
||||
@@ -10,5 +10,5 @@ url=\
|
||||
|
||||
md5=\
|
||||
(
|
||||
'a80cf252ed2e775d4e4533341bbf2459'
|
||||
'39e654460c9cdd80200a29ac020cfe11'
|
||||
)
|
||||
|
55
rules/libqmi/default.bash
Normal file
55
rules/libqmi/default.bash
Normal file
@@ -0,0 +1,55 @@
|
||||
version=\
|
||||
(
|
||||
'1.12.8'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"https://www.freedesktop.org/software/libqmi/libqmi-$version.tar.xz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'fcad1a581ee9df8de5a753616dc27adf'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
'Tiago Sá Marques <tsmarques@fe.up.pt>'
|
||||
)
|
||||
|
||||
requires=\
|
||||
(
|
||||
'glib/default'
|
||||
'libffi/default'
|
||||
)
|
||||
|
||||
configure()
|
||||
{
|
||||
export PKG_CONFIG="${cfg_dir_toolchain}/bin/pkg-config"
|
||||
export PKG_CONFIG_PATH="$cfg_dir_toolchain_sysroot/usr/lib/pkgconfig"
|
||||
./configure \
|
||||
--prefix="$cfg_dir_rootfs/usr" \
|
||||
--target="$cfg_target_canonical" \
|
||||
--host="$cfg_target_canonical" \
|
||||
--build="$cfg_host_canonical" \
|
||||
--with-sysroot="$cfg_dir_toolchain_sysroot" \
|
||||
--without-udev
|
||||
}
|
||||
|
||||
build()
|
||||
{
|
||||
export PKG_CONFIG="${cfg_dir_toolchain}/bin/pkg-config"
|
||||
export PKG_CONFIG_PATH="$cfg_dir_toolchain_sysroot/usr/lib/pkgconfig"
|
||||
$cmd_make CC=$cmd_target_cc
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
$cmd_make install
|
||||
$cmd_cp "$cfg_dir_toolchain_sysroot"/usr/lib/libffi.* "$cfg_dir_rootfs"/usr/lib/
|
||||
$cmd_cp "$cfg_dir_toolchain_sysroot"/usr/lib/libgio* "$cfg_dir_rootfs"/usr/lib/
|
||||
$cmd_cp "$cfg_dir_toolchain_sysroot"/usr/lib/libgmodule* "$cfg_dir_rootfs"/usr/lib/
|
||||
$cmd_cp "$cfg_dir_toolchain_sysroot"/usr/lib/libgobject* "$cfg_dir_rootfs"/usr/lib/
|
||||
$cmd_cp "$cfg_dir_toolchain_sysroot"/usr/lib/libglib* "$cfg_dir_rootfs"/usr/lib/
|
||||
}
|
@@ -1,16 +1,16 @@
|
||||
version=\
|
||||
(
|
||||
'3.14.63'
|
||||
'4.4.66'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"https://www.kernel.org/pub/linux/kernel/v3.x/linux-$version.tar.xz"
|
||||
"https://www.kernel.org/pub/linux/kernel/v4.x/linux-$version.tar.xz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'6cf8a6b23849f47f511e0e46cfdb6392'
|
||||
'5353de56bf4621a35afc4384c7e51f30'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
|
@@ -1,16 +1,16 @@
|
||||
version=\
|
||||
(
|
||||
'3.14.63'
|
||||
'4.4.66'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"https://www.kernel.org/pub/linux/kernel/v3.x/linux-$version.tar.xz"
|
||||
"https://www.kernel.org/pub/linux/kernel/v4.x/linux-$version.tar.xz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'6cf8a6b23849f47f511e0e46cfdb6392'
|
||||
'5353de56bf4621a35afc4384c7e51f30'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
@@ -128,14 +128,12 @@ build()
|
||||
$cmd_make \
|
||||
CROSS_COMPILE=$cfg_target_canonical- \
|
||||
ARCH=$cfg_target_linux \
|
||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
||||
modules || return 1
|
||||
|
||||
if [ "$(basename $cfg_target_linux_kernel)" = 'uImage' ]; then
|
||||
$cmd_make \
|
||||
CROSS_COMPILE=$cfg_target_canonical- \
|
||||
ARCH=$cfg_target_linux \
|
||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
||||
uImage || return 1
|
||||
fi
|
||||
|
||||
@@ -144,7 +142,6 @@ build()
|
||||
$cmd_make \
|
||||
CROSS_COMPILE=$cfg_target_canonical- \
|
||||
ARCH=$cfg_target_linux \
|
||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
||||
zImage || return 1
|
||||
fi
|
||||
|
||||
@@ -153,7 +150,6 @@ build()
|
||||
$cmd_make \
|
||||
CROSS_COMPILE=$cfg_target_canonical- \
|
||||
ARCH=$cfg_target_linux \
|
||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
||||
dtbs || return 1
|
||||
fi
|
||||
|
||||
@@ -198,7 +194,6 @@ target_install()
|
||||
ARCH="$cfg_target_linux" \
|
||||
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
|
||||
KBUILD_VERBOSE=1 \
|
||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
||||
modules_install
|
||||
|
||||
$cmd_make \
|
||||
@@ -206,6 +201,5 @@ target_install()
|
||||
ARCH="$cfg_target_linux" \
|
||||
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
|
||||
KBUILD_VERBOSE=1 \
|
||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
||||
firmware_install
|
||||
}
|
||||
|
@@ -2,12 +2,12 @@
|
||||
|
||||
version=\
|
||||
(
|
||||
'3.14.64-rt67'
|
||||
'4.4.66-rt79'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"https://www.kernel.org/pub/linux/kernel/v3.x/linux-$(linux_mmp_version).tar.xz"
|
||||
"https://www.kernel.org/pub/linux/kernel/v4.x/linux-$(linux_mmp_version).tar.xz"
|
||||
"https://www.kernel.org/pub/linux/kernel/projects/rt/$(linux_mm_version)/patch-$version.patch.gz"
|
||||
)
|
||||
|
||||
|
206
rules/linux/v3_14.bash
Normal file
206
rules/linux/v3_14.bash
Normal file
@@ -0,0 +1,206 @@
|
||||
version=\
|
||||
(
|
||||
'3.14.63'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"https://www.kernel.org/pub/linux/kernel/v3.x/linux-$version.tar.xz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'6cf8a6b23849f47f511e0e46cfdb6392'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
'Ricardo Martins <rasm@fe.up.pt>'
|
||||
)
|
||||
|
||||
requires=\
|
||||
(
|
||||
'bc/host'
|
||||
'kmod/host'
|
||||
'lz4/host'
|
||||
)
|
||||
|
||||
# This variable is updated by find_patches().
|
||||
patches=()
|
||||
|
||||
# Major/Minor version.
|
||||
linux_mm_version()
|
||||
{
|
||||
echo "$version" | cut -f1-2 -d.
|
||||
}
|
||||
|
||||
# Major/Minor/Patch version.
|
||||
linux_mmp_version()
|
||||
{
|
||||
echo "$version" | cut -f1 -d-
|
||||
}
|
||||
|
||||
find_patches()
|
||||
{
|
||||
patches=(\
|
||||
$(ls -1 \
|
||||
"$pkg_dir/patches/$version/"*.patch \
|
||||
"$pkg_dir/patches/$(linux_mmp_version)/"*.patch \
|
||||
"$pkg_dir/patches/$(linux_mm_version)/"*.patch \
|
||||
"$cfg_dir_system/patches/linux/$version/"*.patch \
|
||||
"$cfg_dir_system/patches/linux/$(linux_mmp_version)/"*.patch \
|
||||
"$cfg_dir_system/patches/linux/$(linux_mm_version)/"*.patch \
|
||||
2> /dev/null | awk '!a[$0]++')
|
||||
)
|
||||
}
|
||||
|
||||
find_patches
|
||||
|
||||
# Get configuration file.
|
||||
linux_cfg_file()
|
||||
{
|
||||
for f in "$version" "$(linux_mmp_version)" "$(linux_mm_version)"; do
|
||||
f="$cfg_dir_system/cfg/linux-$f.cfg"
|
||||
if [ -f "$f" ]; then
|
||||
echo "$f"
|
||||
return 0
|
||||
fi
|
||||
|
||||
echo "Candidate kernel configuration file '$f' doesn't exist." 1>&2
|
||||
done
|
||||
|
||||
echo "ERROR: failed to find a valid kernel configuration file." 1>&2
|
||||
return 1
|
||||
}
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
cp -r ../linux-3.14.63/* ../linux_3.3-3.14.63
|
||||
n=0; while [ -n "${patches[$n]}" ]; do
|
||||
patch="${patches[$n]}"
|
||||
echo "* Applying $patch..."
|
||||
(ucat "$patch" | patch -p1) || return 1
|
||||
let n++
|
||||
done
|
||||
|
||||
if [ -d "$cfg_dir_toolchain/firmware" ]; then
|
||||
tar -C "$cfg_dir_toolchain/firmware" -c -v -f - . | tar -C firmware -x -v -f -
|
||||
fi
|
||||
}
|
||||
|
||||
refresh()
|
||||
{
|
||||
for rule in configure build target_install; do
|
||||
if [ "$(linux_cfg_file)" -nt "$cfg_dir_builds/linux/$pkg_var/.$rule" ]; then
|
||||
rm "$cfg_dir_builds/linux/$pkg_var/.$rule"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
configure()
|
||||
{
|
||||
$cmd_make \
|
||||
ARCH=${cfg_target_linux} \
|
||||
mrproper || return 1
|
||||
|
||||
cfg="$(linux_cfg_file)"
|
||||
[ -n "$cfg" ] || return 1
|
||||
$cmd_cp "$cfg" .config || return 1
|
||||
|
||||
if [ -f "$cfg_dir_system/files/initramfs_init.sh" ]; then
|
||||
$cmd_mkdir initramfs &&
|
||||
$cmd_cp "$pkg_dir/files/initramfs.conf" . &&
|
||||
$cmd_cp "$cfg_dir_system/files/initramfs_init.sh" initramfs/init.sh &&
|
||||
$cmd_cp "$cfg_dir_rootfs/bin/busybox" initramfs/busybox
|
||||
fi
|
||||
|
||||
yes '' | $cmd_make \
|
||||
CROSS_COMPILE=${cfg_target_canonical}- \
|
||||
ARCH=${cfg_target_linux} \
|
||||
oldconfig
|
||||
}
|
||||
|
||||
build()
|
||||
{
|
||||
$cmd_make \
|
||||
CROSS_COMPILE=$cfg_target_canonical- \
|
||||
ARCH=$cfg_target_linux || return 1
|
||||
|
||||
$cmd_make \
|
||||
CROSS_COMPILE=$cfg_target_canonical- \
|
||||
ARCH=$cfg_target_linux \
|
||||
modules || return 1
|
||||
|
||||
if [ "$(basename $cfg_target_linux_kernel)" = 'uImage' ]; then
|
||||
$cmd_make \
|
||||
CROSS_COMPILE=$cfg_target_canonical- \
|
||||
ARCH=$cfg_target_linux \
|
||||
uImage || return 1
|
||||
fi
|
||||
|
||||
# Compressed image.
|
||||
if [ "$(basename $cfg_target_linux_kernel)" = 'zImage' ]; then
|
||||
$cmd_make \
|
||||
CROSS_COMPILE=$cfg_target_canonical- \
|
||||
ARCH=$cfg_target_linux \
|
||||
zImage || return 1
|
||||
fi
|
||||
|
||||
# Device tree blob.
|
||||
if [ -n "$cfg_target_linux_dtb" ]; then
|
||||
$cmd_make \
|
||||
CROSS_COMPILE=$cfg_target_canonical- \
|
||||
ARCH=$cfg_target_linux \
|
||||
dtbs || return 1
|
||||
fi
|
||||
|
||||
if [ -n "${cfg_target_linux_size}" ]; then
|
||||
dd if="$cfg_target_linux_kernel" of="${cfg_target_linux_kernel}.padded" \
|
||||
ibs="${cfg_target_linux_size}" conv=sync &&
|
||||
mv "${cfg_target_linux_kernel}.padded" "${cfg_target_linux_kernel}"
|
||||
fi
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
if [ -n "$(file "$cfg_target_linux_kernel" | grep ELF)" ]; then
|
||||
strip="$(echo $cfg_dir_toolchain/bin/*-strip)"
|
||||
$strip -s -R .comment "$cfg_target_linux_kernel"
|
||||
fi
|
||||
|
||||
# Kernel image.
|
||||
if [ -n "$cfg_target_linux_kernel" ]; then
|
||||
cp -v "$cfg_target_linux_kernel" "$cfg_dir_rootfs/boot/kernel"
|
||||
else
|
||||
echo "ERROR: failed to find kernel image at '$cfg_target_linux_kernel'"
|
||||
return 1
|
||||
fi
|
||||
|
||||
# Device tree blobs.
|
||||
dts="arch/$cfg_target_linux/boot/dts"
|
||||
if [ -d "$dts" ]; then
|
||||
$cmd_mkdir "$cfg_dir_rootfs/boot" &&
|
||||
cp -v "$dts/"*.dtb "$cfg_dir_rootfs/boot"
|
||||
fi
|
||||
|
||||
# Device tree overlays.
|
||||
overlays_dir="arch/$cfg_target_linux/boot/dts/overlays"
|
||||
if [ -d "$overlays_dir" ]; then
|
||||
$cmd_mkdir "$cfg_dir_rootfs/boot/overlays" || return 1
|
||||
$cmd_cp "$overlays_dir"/*.dtbo "$cfg_dir_rootfs/boot/overlays" || return 1
|
||||
fi
|
||||
|
||||
$cmd_make \
|
||||
CROSS_COMPILE="$cfg_target_canonical-" \
|
||||
ARCH="$cfg_target_linux" \
|
||||
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
|
||||
KBUILD_VERBOSE=1 \
|
||||
modules_install
|
||||
|
||||
$cmd_make \
|
||||
CROSS_COMPILE="$cfg_target_canonical-" \
|
||||
ARCH="$cfg_target_linux" \
|
||||
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
|
||||
KBUILD_VERBOSE=1 \
|
||||
firmware_install
|
||||
}
|
@@ -10,7 +10,13 @@ url=\
|
||||
|
||||
md5=\
|
||||
(
|
||||
"beb0f3b8be474868b074dca66ced5b48"
|
||||
"d71e2f282372a5cb1021d9e457a3d53f"
|
||||
)
|
||||
|
||||
requires=\
|
||||
(
|
||||
'bison/host'
|
||||
'flex/host'
|
||||
)
|
||||
|
||||
configure()
|
||||
@@ -20,7 +26,10 @@ configure()
|
||||
|
||||
build()
|
||||
{
|
||||
$cmd_make
|
||||
$cmd_make \
|
||||
BISON="$cfg_dir_toolchain/bin/bison" \
|
||||
FLEX="$cfg_dir_toolchain/bin/flex"
|
||||
|
||||
}
|
||||
|
||||
target_install()
|
||||
|
@@ -30,6 +30,7 @@ configure()
|
||||
--target="$cfg_target_canonical" \
|
||||
--host="$cfg_target_canonical" \
|
||||
--build="$cfg_host_canonical" \
|
||||
--with-privsep-path=$cfg_dir_rootfs/var/empty \
|
||||
--disable-strip
|
||||
|
||||
}
|
||||
|
46
rules/perf/default.bash
Normal file
46
rules/perf/default.bash
Normal file
@@ -0,0 +1,46 @@
|
||||
version=\
|
||||
(
|
||||
"3.19"
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"https://www.kernel.org/pub/linux/kernel/v3.x/linux-$version.tar.xz"
|
||||
)
|
||||
|
||||
requires=\
|
||||
(
|
||||
'flex/host'
|
||||
'bison/host'
|
||||
'zlib/default'
|
||||
)
|
||||
|
||||
# v3.19
|
||||
md5=\
|
||||
(
|
||||
'd3fc8316d4d4d04b65cbc2d70799e763'
|
||||
)
|
||||
|
||||
#3.14.63
|
||||
# md5=('6cf8a6b23849f47f511e0e46cfdb6392')
|
||||
|
||||
build()
|
||||
{
|
||||
|
||||
cd ../linux-$version/
|
||||
$cmd_make \
|
||||
CROSS_COMPILE="$cfg_target_canonical-" \
|
||||
ARCH="$cfg_target_linux" \
|
||||
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
|
||||
KBUILD_VERBOSE=1 \
|
||||
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
|
||||
NO_LIBELF=1 \
|
||||
LDFLAGS=-static \
|
||||
-C "./tools/perf/"
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
$cmd_cp ../linux-$version/tools/perf/perf \
|
||||
$cfg_dir_rootfs/usr/bin/
|
||||
}
|
@@ -3,4 +3,3 @@ cfg_eth_ext_ip='10.0.10.53'
|
||||
cfg_eth_ext_mk='255.255.0.0'
|
||||
cfg_eth_ext_gw='10.0.0.1'
|
||||
cfg_ptpd_interface='eth0'
|
||||
cfg_lauv_storage='internal'
|
||||
|
@@ -1,4 +1,4 @@
|
||||
cfg_hostname='caravela'
|
||||
cfg_eth_ext_ip='10.0.10.40'
|
||||
cfg_packages="$cfg_packages ppp iptables"
|
||||
cfg_modules="$cfg_modules ftdi_sio"
|
||||
cfg_packages="$cfg_packages ppp iptables libqmi"
|
||||
cfg_modules="$cfg_modules ftdi_sio qmi_wwan iptables"
|
||||
|
@@ -523,7 +523,170 @@ CONFIG_DEFAULT_TCP_CONG="cubic"
|
||||
# CONFIG_IPV6 is not set
|
||||
# CONFIG_NETWORK_SECMARK is not set
|
||||
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
|
||||
# CONFIG_NETFILTER is not set
|
||||
CONFIG_NETFILTER=m
|
||||
# CONFIG_NETFILTER_DEBUG is not set
|
||||
CONFIG_NETFILTER_ADVANCED=m
|
||||
|
||||
#
|
||||
# Core Netfilter Configuration
|
||||
#
|
||||
CONFIG_NETFILTER_NETLINK=m
|
||||
CONFIG_NETFILTER_NETLINK_ACCT=m
|
||||
CONFIG_NETFILTER_NETLINK_QUEUE=m
|
||||
CONFIG_NETFILTER_NETLINK_LOG=m
|
||||
CONFIG_NF_CONNTRACK=m
|
||||
CONFIG_NF_CONNTRACK_MARK=m
|
||||
# CONFIG_NF_CONNTRACK_ZONES is not set
|
||||
CONFIG_NF_CONNTRACK_PROCFS=m
|
||||
CONFIG_NF_CONNTRACK_EVENTS=m
|
||||
CONFIG_NF_CONNTRACK_TIMEOUT=m
|
||||
CONFIG_NF_CONNTRACK_TIMESTAMP=m
|
||||
CONFIG_NF_CONNTRACK_LABELS=m
|
||||
CONFIG_NF_CT_PROTO_DCCP=m
|
||||
CONFIG_NF_CT_PROTO_GRE=m
|
||||
CONFIG_NF_CT_PROTO_SCTP=m
|
||||
CONFIG_NF_CT_PROTO_UDPLITE=m
|
||||
CONFIG_NF_CONNTRACK_AMANDA=m
|
||||
CONFIG_NF_CONNTRACK_FTP=m
|
||||
CONFIG_NF_CONNTRACK_H323=m
|
||||
CONFIG_NF_CONNTRACK_IRC=m
|
||||
CONFIG_NF_CONNTRACK_BROADCAST=m
|
||||
CONFIG_NF_CONNTRACK_NETBIOS_NS=m
|
||||
CONFIG_NF_CONNTRACK_SNMP=m
|
||||
CONFIG_NF_CONNTRACK_PPTP=m
|
||||
CONFIG_NF_CONNTRACK_SANE=m
|
||||
CONFIG_NF_CONNTRACK_SIP=m
|
||||
CONFIG_NF_CONNTRACK_TFTP=m
|
||||
CONFIG_NF_CT_NETLINK=m
|
||||
CONFIG_NF_CT_NETLINK_TIMEOUT=m
|
||||
CONFIG_NF_CT_NETLINK_HELPER=m
|
||||
CONFIG_NETFILTER_NETLINK_QUEUE_CT=m
|
||||
CONFIG_NF_NAT=m
|
||||
CONFIG_NF_NAT_NEEDED=m
|
||||
CONFIG_NF_NAT_PROTO_DCCP=m
|
||||
CONFIG_NF_NAT_PROTO_UDPLITE=m
|
||||
CONFIG_NF_NAT_PROTO_SCTP=m
|
||||
CONFIG_NF_NAT_AMANDA=m
|
||||
CONFIG_NF_NAT_FTP=m
|
||||
CONFIG_NF_NAT_IRC=m
|
||||
CONFIG_NF_NAT_SIP=m
|
||||
CONFIG_NF_NAT_TFTP=m
|
||||
CONFIG_NETFILTER_SYNPROXY=m
|
||||
# CONFIG_NF_TABLES is not set
|
||||
CONFIG_NETFILTER_XTABLES=m
|
||||
|
||||
#
|
||||
# Xtables combined modules
|
||||
#
|
||||
CONFIG_NETFILTER_XT_MARK=m
|
||||
CONFIG_NETFILTER_XT_CONNMARK=m
|
||||
|
||||
#
|
||||
# Xtables targets
|
||||
#
|
||||
CONFIG_NETFILTER_XT_TARGET_CHECKSUM=m
|
||||
CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m
|
||||
CONFIG_NETFILTER_XT_TARGET_CONNMARK=m
|
||||
CONFIG_NETFILTER_XT_TARGET_CT=m
|
||||
CONFIG_NETFILTER_XT_TARGET_DSCP=m
|
||||
CONFIG_NETFILTER_XT_TARGET_HL=m
|
||||
CONFIG_NETFILTER_XT_TARGET_HMARK=m
|
||||
CONFIG_NETFILTER_XT_TARGET_IDLETIMER=m
|
||||
CONFIG_NETFILTER_XT_TARGET_LED=m
|
||||
CONFIG_NETFILTER_XT_TARGET_LOG=m
|
||||
CONFIG_NETFILTER_XT_TARGET_MARK=m
|
||||
CONFIG_NETFILTER_XT_TARGET_NETMAP=m
|
||||
CONFIG_NETFILTER_XT_TARGET_NFLOG=m
|
||||
CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
|
||||
CONFIG_NETFILTER_XT_TARGET_NOTRACK=m
|
||||
CONFIG_NETFILTER_XT_TARGET_RATEEST=m
|
||||
CONFIG_NETFILTER_XT_TARGET_REDIRECT=m
|
||||
CONFIG_NETFILTER_XT_TARGET_TEE=m
|
||||
CONFIG_NETFILTER_XT_TARGET_TPROXY=m
|
||||
CONFIG_NETFILTER_XT_TARGET_TRACE=m
|
||||
CONFIG_NETFILTER_XT_TARGET_TCPMSS=m
|
||||
CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=m
|
||||
|
||||
#
|
||||
# Xtables matches
|
||||
#
|
||||
CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m
|
||||
CONFIG_NETFILTER_XT_MATCH_BPF=m
|
||||
CONFIG_NETFILTER_XT_MATCH_CLUSTER=m
|
||||
CONFIG_NETFILTER_XT_MATCH_COMMENT=m
|
||||
CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m
|
||||
CONFIG_NETFILTER_XT_MATCH_CONNLABEL=m
|
||||
CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m
|
||||
CONFIG_NETFILTER_XT_MATCH_CONNMARK=m
|
||||
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
|
||||
CONFIG_NETFILTER_XT_MATCH_CPU=m
|
||||
CONFIG_NETFILTER_XT_MATCH_DCCP=m
|
||||
CONFIG_NETFILTER_XT_MATCH_DEVGROUP=m
|
||||
CONFIG_NETFILTER_XT_MATCH_DSCP=m
|
||||
CONFIG_NETFILTER_XT_MATCH_ECN=m
|
||||
CONFIG_NETFILTER_XT_MATCH_ESP=m
|
||||
CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m
|
||||
CONFIG_NETFILTER_XT_MATCH_HELPER=m
|
||||
CONFIG_NETFILTER_XT_MATCH_HL=m
|
||||
CONFIG_NETFILTER_XT_MATCH_IPCOMP=m
|
||||
CONFIG_NETFILTER_XT_MATCH_IPRANGE=m
|
||||
CONFIG_NETFILTER_XT_MATCH_L2TP=m
|
||||
CONFIG_NETFILTER_XT_MATCH_LENGTH=m
|
||||
CONFIG_NETFILTER_XT_MATCH_LIMIT=m
|
||||
CONFIG_NETFILTER_XT_MATCH_MAC=m
|
||||
CONFIG_NETFILTER_XT_MATCH_MARK=m
|
||||
CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m
|
||||
CONFIG_NETFILTER_XT_MATCH_NFACCT=m
|
||||
CONFIG_NETFILTER_XT_MATCH_OSF=m
|
||||
CONFIG_NETFILTER_XT_MATCH_OWNER=m
|
||||
CONFIG_NETFILTER_XT_MATCH_POLICY=m
|
||||
CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m
|
||||
CONFIG_NETFILTER_XT_MATCH_QUOTA=m
|
||||
CONFIG_NETFILTER_XT_MATCH_RATEEST=m
|
||||
CONFIG_NETFILTER_XT_MATCH_REALM=m
|
||||
CONFIG_NETFILTER_XT_MATCH_RECENT=m
|
||||
CONFIG_NETFILTER_XT_MATCH_SCTP=m
|
||||
CONFIG_NETFILTER_XT_MATCH_SOCKET=m
|
||||
CONFIG_NETFILTER_XT_MATCH_STATE=m
|
||||
CONFIG_NETFILTER_XT_MATCH_STATISTIC=m
|
||||
CONFIG_NETFILTER_XT_MATCH_STRING=m
|
||||
CONFIG_NETFILTER_XT_MATCH_TCPMSS=m
|
||||
CONFIG_NETFILTER_XT_MATCH_TIME=m
|
||||
CONFIG_NETFILTER_XT_MATCH_U32=m
|
||||
# CONFIG_IP_SET is not set
|
||||
# CONFIG_IP_VS is not set
|
||||
|
||||
#
|
||||
# IP: Netfilter Configuration
|
||||
#
|
||||
CONFIG_NF_DEFRAG_IPV4=m
|
||||
CONFIG_NF_CONNTRACK_IPV4=m
|
||||
CONFIG_NF_CONNTRACK_PROC_COMPAT=m
|
||||
CONFIG_IP_NF_IPTABLES=m
|
||||
CONFIG_IP_NF_MATCH_AH=m
|
||||
CONFIG_IP_NF_MATCH_ECN=m
|
||||
CONFIG_IP_NF_MATCH_RPFILTER=m
|
||||
CONFIG_IP_NF_MATCH_TTL=m
|
||||
CONFIG_IP_NF_FILTER=m
|
||||
CONFIG_IP_NF_TARGET_REJECT=m
|
||||
CONFIG_IP_NF_TARGET_SYNPROXY=m
|
||||
CONFIG_IP_NF_TARGET_ULOG=m
|
||||
CONFIG_NF_NAT_IPV4=m
|
||||
CONFIG_IP_NF_TARGET_MASQUERADE=m
|
||||
CONFIG_IP_NF_TARGET_NETMAP=m
|
||||
CONFIG_IP_NF_TARGET_REDIRECT=m
|
||||
CONFIG_NF_NAT_SNMP_BASIC=m
|
||||
CONFIG_NF_NAT_PROTO_GRE=m
|
||||
CONFIG_NF_NAT_PPTP=m
|
||||
CONFIG_NF_NAT_H323=m
|
||||
CONFIG_IP_NF_MANGLE=m
|
||||
CONFIG_IP_NF_TARGET_CLUSTERIP=m
|
||||
CONFIG_IP_NF_TARGET_ECN=m
|
||||
CONFIG_IP_NF_TARGET_TTL=m
|
||||
CONFIG_IP_NF_RAW=m
|
||||
CONFIG_IP_NF_ARPTABLES=m
|
||||
CONFIG_IP_NF_ARPFILTER=m
|
||||
CONFIG_IP_NF_ARP_MANGLE=m
|
||||
# CONFIG_IP_DCCP is not set
|
||||
# CONFIG_IP_SCTP is not set
|
||||
# CONFIG_RDS is not set
|
||||
@@ -919,9 +1082,9 @@ CONFIG_8139TOO=y
|
||||
CONFIG_PPP=m
|
||||
CONFIG_PPP_BSDCOMP=m
|
||||
CONFIG_PPP_DEFLATE=m
|
||||
CONFIG_PPP_FILTER=y
|
||||
CONFIG_PPP_FILTER=m
|
||||
CONFIG_PPP_MPPE=m
|
||||
CONFIG_PPP_MULTILINK=y
|
||||
CONFIG_PPP_MULTILINK=m
|
||||
# CONFIG_PPPOE is not set
|
||||
CONFIG_PPP_ASYNC=m
|
||||
CONFIG_PPP_SYNC_TTY=m
|
||||
@@ -936,7 +1099,36 @@ CONFIG_SLHC=m
|
||||
# CONFIG_USB_PEGASUS is not set
|
||||
# CONFIG_USB_RTL8150 is not set
|
||||
# CONFIG_USB_RTL8152 is not set
|
||||
# CONFIG_USB_USBNET is not set
|
||||
CONFIG_USB_USBNET=y
|
||||
CONFIG_USB_NET_AX8817X=y
|
||||
CONFIG_USB_NET_AX88179_178A=y
|
||||
CONFIG_USB_NET_CDCETHER=y
|
||||
# CONFIG_USB_NET_CDC_EEM is not set
|
||||
CONFIG_USB_NET_CDC_NCM=y
|
||||
# CONFIG_USB_NET_HUAWEI_CDC_NCM is not set
|
||||
# CONFIG_USB_NET_CDC_MBIM is not set
|
||||
# CONFIG_USB_NET_DM9601 is not set
|
||||
# CONFIG_USB_NET_SR9700 is not set
|
||||
# CONFIG_USB_NET_SR9800 is not set
|
||||
# CONFIG_USB_NET_SMSC75XX is not set
|
||||
CONFIG_USB_NET_SMSC95XX=y
|
||||
# CONFIG_USB_NET_GL620A is not set
|
||||
CONFIG_USB_NET_NET1080=y
|
||||
# CONFIG_USB_NET_PLUSB is not set
|
||||
# CONFIG_USB_NET_MCS7830 is not set
|
||||
# CONFIG_USB_NET_RNDIS_HOST is not set
|
||||
CONFIG_USB_NET_CDC_SUBSET=y
|
||||
CONFIG_USB_ALI_M5632=y
|
||||
CONFIG_USB_AN2720=y
|
||||
CONFIG_USB_BELKIN=y
|
||||
CONFIG_USB_ARMLINUX=y
|
||||
CONFIG_USB_EPSON2888=y
|
||||
CONFIG_USB_KC2190=y
|
||||
CONFIG_USB_NET_ZAURUS=y
|
||||
# CONFIG_USB_NET_CX82310_ETH is not set
|
||||
# CONFIG_USB_NET_KALMIA is not set
|
||||
# CONFIG_USB_NET_QMI_WWAN is not set
|
||||
# CONFIG_USB_NET_INT51X1 is not set
|
||||
# CONFIG_USB_IPHETH is not set
|
||||
# CONFIG_WLAN is not set
|
||||
|
||||
@@ -986,11 +1178,11 @@ CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y
|
||||
#
|
||||
CONFIG_TTY=y
|
||||
CONFIG_VT=y
|
||||
# CONFIG_CONSOLE_TRANSLATIONS is not set
|
||||
CONFIG_CONSOLE_TRANSLATIONS=y
|
||||
CONFIG_VT_CONSOLE=y
|
||||
CONFIG_VT_CONSOLE_SLEEP=y
|
||||
CONFIG_HW_CONSOLE=y
|
||||
# CONFIG_VT_HW_CONSOLE_BINDING is not set
|
||||
CONFIG_VT_HW_CONSOLE_BINDING=y
|
||||
CONFIG_UNIX98_PTYS=y
|
||||
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
|
||||
# CONFIG_LEGACY_PTYS is not set
|
||||
@@ -998,7 +1190,7 @@ CONFIG_UNIX98_PTYS=y
|
||||
# CONFIG_NOZOMI is not set
|
||||
# CONFIG_N_GSM is not set
|
||||
# CONFIG_TRACE_SINK is not set
|
||||
# CONFIG_DEVKMEM is not set
|
||||
CONFIG_DEVKMEM=y
|
||||
|
||||
#
|
||||
# Serial drivers
|
||||
@@ -1431,7 +1623,11 @@ CONFIG_DUMMY_CONSOLE=y
|
||||
#
|
||||
# HID support
|
||||
#
|
||||
# CONFIG_HID is not set
|
||||
CONFIG_HID=y
|
||||
# CONFIG_HID_BATTERY_STRENGTH is not set
|
||||
# CONFIG_HIDRAW is not set
|
||||
# CONFIG_UHID is not set
|
||||
# CONFIG_HID_GENERIC is not set
|
||||
|
||||
#
|
||||
# USB HID support
|
||||
@@ -1600,7 +1796,7 @@ CONFIG_USB_SERIAL_OPTION=y
|
||||
#
|
||||
# USB Physical Layer drivers
|
||||
#
|
||||
# CONFIG_USB_PHY is not set
|
||||
CONFIG_USB_PHY=y
|
||||
# CONFIG_USB_OTG_FSM is not set
|
||||
# CONFIG_NOP_USB_XCEIV is not set
|
||||
# CONFIG_SAMSUNG_USB2PHY is not set
|
||||
|
2644
systems/lctr-a6xx/cfg/linux-4.4.66.cfg
Normal file
2644
systems/lctr-a6xx/cfg/linux-4.4.66.cfg
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,4 @@
|
||||
cfg_hostname='lauv-xplore-1'
|
||||
cfg_eth_ext_ip='10.0.10.120'
|
||||
cfg_packages="$cfg_packages ppp iptables"
|
||||
cfg_modules="$cfg_modules ftdi_sio"
|
||||
|
@@ -1,2 +1,4 @@
|
||||
cfg_hostname='lauv-xplore-2'
|
||||
cfg_eth_ext_ip='10.0.10.130'
|
||||
cfg_packages="$cfg_packages ppp iptables"
|
||||
cfg_modules="$cfg_modules ftdi_sio"
|
||||
|
85
systems/lctr-a6xx/patches/linux/4.4.66/00-aim104-com8.patch
Normal file
85
systems/lctr-a6xx/patches/linux/4.4.66/00-aim104-com8.patch
Normal file
@@ -0,0 +1,85 @@
|
||||
diff -Nru a/drivers/tty/serial/8250/8250_aim104_com8.c b/drivers/tty/serial/8250/8250_aim104_com8.c
|
||||
--- a/drivers/tty/serial/8250/8250_aim104_com8.c
|
||||
+++ b/drivers/tty/serial/8250/8250_aim104_com8.c
|
||||
@@ -0,0 +1,51 @@
|
||||
+#include <linux/module.h>
|
||||
+#include <linux/init.h>
|
||||
+#include <linux/serial_8250.h>
|
||||
+
|
||||
+#define PORT(_base,_irq) \
|
||||
+ { \
|
||||
+ .iobase = _base, \
|
||||
+ .irq = _irq, \
|
||||
+ .uartclk = 1843200, \
|
||||
+ .iotype = UPIO_PORT, \
|
||||
+ .flags = UPF_BOOT_AUTOCONF | UPF_BUGGY_UART, \
|
||||
+ }
|
||||
+
|
||||
+static struct plat_serial8250_port aim104_data[] = {
|
||||
+ PORT(0x100, 10),
|
||||
+ PORT(0x108, 10),
|
||||
+ PORT(0x110, 10),
|
||||
+ PORT(0x118, 10),
|
||||
+ PORT(0x120, 10),
|
||||
+ PORT(0x128, 10),
|
||||
+ PORT(0x130, 10),
|
||||
+ PORT(0x138, 10),
|
||||
+ PORT(0x300, 6),
|
||||
+ PORT(0x308, 6),
|
||||
+ PORT(0x310, 6),
|
||||
+ PORT(0x318, 6),
|
||||
+ PORT(0x320, 6),
|
||||
+ PORT(0x328, 6),
|
||||
+ PORT(0x330, 6),
|
||||
+ PORT(0x338, 6),
|
||||
+ { },
|
||||
+};
|
||||
+
|
||||
+static struct platform_device exar_device = {
|
||||
+ .name = "serial8250",
|
||||
+ .id = PLAT8250_DEV_PLATFORM,
|
||||
+ .dev = {
|
||||
+ .platform_data = aim104_data,
|
||||
+ },
|
||||
+};
|
||||
+
|
||||
+static int __init exar_init(void)
|
||||
+{
|
||||
+ return platform_device_register(&exar_device);
|
||||
+}
|
||||
+
|
||||
+module_init(exar_init);
|
||||
+
|
||||
+MODULE_AUTHOR("Ricardo Martins");
|
||||
+MODULE_DESCRIPTION("8250 serial probe module for Eurotech AIM104-COM8");
|
||||
+MODULE_LICENSE("GPL");
|
||||
diff -Nru a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig
|
||||
--- a/drivers/tty/serial/8250/Kconfig
|
||||
+++ b/drivers/tty/serial/8250/Kconfig
|
||||
@@ -225,6 +225,15 @@ config SERIAL_8250_EXAR_ST16C554
|
||||
To compile this driver as a module, choose M here: the module
|
||||
will be called 8250_exar_st16c554.
|
||||
|
||||
+config SERIAL_8250_AIM104_COM8
|
||||
+ tristate "Support Eurotech AIM104-COM8 Dual Quad UART"
|
||||
+ depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
|
||||
+ help
|
||||
+ Eurotech AIM104-COM8 Dual Quad UART.
|
||||
+
|
||||
+ To compile this driver as a module, choose M here: the module
|
||||
+ will be called 8250_aim104_com8.
|
||||
+
|
||||
config SERIAL_8250_HUB6
|
||||
tristate "Support Hub6 cards"
|
||||
depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
|
||||
diff -Nru a/drivers/tty/serial/8250/Makefile b/drivers/tty/serial/8250/Makefile
|
||||
--- a/drivers/tty/serial/8250/Makefile
|
||||
+++ b/drivers/tty/serial/8250/Makefile
|
||||
@@ -17,6 +17,7 @@ obj-$(CONFIG_SERIAL_8250_FOURPORT) += 8250_fourport.o
|
||||
obj-$(CONFIG_SERIAL_8250_ACCENT) += 8250_accent.o
|
||||
obj-$(CONFIG_SERIAL_8250_BOCA) += 8250_boca.o
|
||||
obj-$(CONFIG_SERIAL_8250_EXAR_ST16C554) += 8250_exar_st16c554.o
|
||||
+obj-$(CONFIG_SERIAL_8250_AIM104_COM8) += 8250_aim104_com8.o
|
||||
obj-$(CONFIG_SERIAL_8250_HUB6) += 8250_hub6.o
|
||||
obj-$(CONFIG_SERIAL_8250_MCA) += 8250_mca.o
|
||||
obj-$(CONFIG_SERIAL_8250_FSL) += 8250_fsl.o
|
@@ -0,0 +1,14 @@
|
||||
diff --git a/drivers/tty/serial/8250/8250_port.c b/drivers/tty/serial/8250/8250_port.c
|
||||
index 52d82d2..613c7e9 100644
|
||||
--- a/drivers/tty/serial/8250/8250_port.c
|
||||
+++ b/drivers/tty/serial/8250/8250_port.c
|
||||
@@ -132,8 +132,7 @@ static const struct serial8250_config uart_config[] = {
|
||||
.name = "ST16654",
|
||||
.fifo_size = 64,
|
||||
.tx_loadsz = 32,
|
||||
- .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_01 |
|
||||
- UART_FCR_T_TRIG_10,
|
||||
+ .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_00,
|
||||
.rxtrig_bytes = {8, 16, 56, 60},
|
||||
.flags = UART_CAP_FIFO | UART_CAP_EFR | UART_CAP_SLEEP,
|
||||
},
|
3235
systems/lctr-a9xx/cfg/linux-4.4.66.cfg
Normal file
3235
systems/lctr-a9xx/cfg/linux-4.4.66.cfg
Normal file
File diff suppressed because it is too large
Load Diff
@@ -4,7 +4,7 @@ cfg_modules=''
|
||||
cfg_services0='dropbear network storage upgrade syslog'
|
||||
cfg_services1='huawei ntpd'
|
||||
cfg_services2='dune'
|
||||
cfg_packages='u-boot dropbear rsync busybox linux uswitch ppp iptables socat bridge-utils ntp e2fsprogs i2c-tools iperf dnsmasq'
|
||||
cfg_packages='u-boot dropbear rsync busybox linux/v3_14 uswitch ppp iptables socat bridge-utils ntp e2fsprogs i2c-tools iperf dnsmasq'
|
||||
cfg_target_linux_kernel='arch/arm/boot/zImage'
|
||||
cfg_target_linux_dtb='arch/arm/boot/dts/omap3-lctr-a9xx.dtb'
|
||||
cfg_target_uboot_config='igep0020'
|
||||
|
105
systems/lctr-a9xx/patches/linux/4.4.66/00-lctr-a9xx-dts.patch
Normal file
105
systems/lctr-a9xx/patches/linux/4.4.66/00-lctr-a9xx-dts.patch
Normal file
@@ -0,0 +1,105 @@
|
||||
diff --git linux-4.4.66/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
|
||||
index 30bbc37..7241be6 100644
|
||||
--- linux-4.4.66/arch/arm/boot/dts/Makefile
|
||||
+++ linux-4.4.66/arch/arm/boot/dts/Makefile
|
||||
@@ -421,6 +421,7 @@
|
||||
omap3-igep0020-rev-f.dtb \
|
||||
omap3-igep0030.dtb \
|
||||
omap3-igep0030-rev-g.dtb \
|
||||
+ omap3-lctr-a9xx.dtb \
|
||||
omap3-ldp.dtb \
|
||||
omap3-lilly-dbb056.dtb \
|
||||
omap3-n900.dtb \
|
||||
diff -Nru linux-4.4.66/arch/arm/boot/dts/omap3-lctr-a9xx.dts linux-4.4.66.rasm/arch/arm/boot/dts/omap3-lctr-a9xx.dts
|
||||
--- linux-4.4.66/arch/arm/boot/dts/omap3-lctr-a9xx.dts
|
||||
+++ linux-4.4.66.rasm/arch/arm/boot/dts/omap3-lctr-a9xx.dts
|
||||
@@ -0,0 +1,89 @@
|
||||
+/*
|
||||
+ * Copyright (C) 2014 Universidade do Porto - Faculdade de Engenharia
|
||||
+ *
|
||||
+ * This program is free software; you can redistribute it and/or modify
|
||||
+ * it under the terms of the GNU General Public License version 2 as
|
||||
+ * published by the Free Software Foundation.
|
||||
+ */
|
||||
+
|
||||
+#include <dt-bindings/input/input.h>
|
||||
+#include "omap3-igep0020.dts"
|
||||
+
|
||||
+/ {
|
||||
+ leds {
|
||||
+ boot {
|
||||
+ linux,default-trigger = "heartbeat";
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ gpio_keys {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&gpio_keys_pins>;
|
||||
+ compatible = "gpio-keys";
|
||||
+
|
||||
+ button@0 {
|
||||
+ label = "Button 0";
|
||||
+ gpios = <&gpio5 11 GPIO_ACTIVE_HIGH>; /* gpio_139 */
|
||||
+ linux,code = <BTN_0>;
|
||||
+ debounce-interval = <5>;
|
||||
+ };
|
||||
+
|
||||
+ button@1 {
|
||||
+ label = "Button 1";
|
||||
+ gpios = <&gpio5 10 GPIO_ACTIVE_HIGH>; /* gpio_138 */
|
||||
+ linux,code = <BTN_1>;
|
||||
+ debounce-interval = <5>;
|
||||
+ };
|
||||
+
|
||||
+ button@2 {
|
||||
+ label = "Button 2";
|
||||
+ gpios = <&gpio5 9 GPIO_ACTIVE_HIGH>; /* gpio_137 */
|
||||
+ linux,code = <BTN_2>;
|
||||
+ debounce-interval = <5>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ pps {
|
||||
+ compatible = "pps-gpio";
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&pps_pins>;
|
||||
+ gpios = <&gpio5 8 GPIO_ACTIVE_HIGH>;
|
||||
+ assert-rising-edge;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&omap3_pmx_core {
|
||||
+ gpio_keys_pins: pinmux_gpio_keys_pins {
|
||||
+ pinctrl-single,pins = <
|
||||
+ 0x136 (PIN_INPUT_PULLDOWN | MUX_MODE4) /* gpio_137 - button 2 */
|
||||
+ 0x138 (PIN_INPUT_PULLDOWN | MUX_MODE4) /* gpio_138 - button 1 */
|
||||
+ 0x13a (PIN_INPUT_PULLDOWN | MUX_MODE4) /* gpio_139 - button 0 */
|
||||
+ >;
|
||||
+ };
|
||||
+
|
||||
+ pps_pins: pinmux_pps_pins {
|
||||
+ pinctrl-single,pins = <
|
||||
+ 0x134 (PIN_INPUT_PULLDOWN | MUX_MODE4) /* gpio_136 */
|
||||
+ >;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&i2c2 {
|
||||
+ rtc@68 {
|
||||
+ compatible = "dallas,ds1307";
|
||||
+ reg = <0x68>;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+/* Disable WiFi/Bluetooth combo. */
|
||||
+&mmc2 {
|
||||
+ status = "disabled";
|
||||
+};
|
||||
+
|
||||
+&vdd33 {
|
||||
+ status = "disabled";
|
||||
+};
|
||||
+
|
||||
+&lbee1usjyc_pdn {
|
||||
+ status = "disabled";
|
||||
+};
|
@@ -1,3 +1,3 @@
|
||||
cfg_hostname='x8-02'
|
||||
cfg_eth_ext_ip='10.0.20.100'
|
||||
cfg_packages='u-boot dropbear rsync busybox linux uswitch ppp iptables socat bridge-utils ntp e2fsprogs i2c-tools iperf dnsmasq libav'
|
||||
cfg_packages='u-boot dropbear rsync busybox linux/v3_14 uswitch ppp iptables socat bridge-utils ntp e2fsprogs i2c-tools iperf dnsmasq libav'
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -1,14 +1,13 @@
|
||||
diff -Nru linux-3.13.1/arch/arm/boot/dts/Makefile linux-3.13.1.rasm/arch/arm/boot/dts/Makefile
|
||||
--- linux-3.13.1/arch/arm/boot/dts/Makefile 2014-01-29 13:06:37.000000000 +0000
|
||||
+++ linux-3.13.1.rasm/arch/arm/boot/dts/Makefile 2014-02-01 06:53:43.968486026 +0000
|
||||
@@ -198,6 +198,7 @@
|
||||
--- linux-4.4.66/arch/arm/boot/dts/Makefile 2017-09-25 13:07:10.353013618 +0100
|
||||
+++ linux-4.4.66.tsm/arch/arm/boot/dts/Makefile 2017-09-25 13:11:13.523693878 +0100
|
||||
@@ -463,6 +463,7 @@
|
||||
am335x-evm.dtb \
|
||||
am335x-evmsk.dtb \
|
||||
am335x-bone.dtb \
|
||||
am335x-boneblack.dtb \
|
||||
+ am335x-lctr-b2xx.dtb \
|
||||
am335x-nano.dtb \
|
||||
am335x-base0033.dtb \
|
||||
am3517-evm.dtb \
|
||||
+ am335x-lctr-b2xx.dtb \
|
||||
am335x-pepper.dtb \
|
||||
am335x-lxm.dtb \
|
||||
am335x-chiliboard.dtb \
|
||||
diff -Nru linux-3.13.1/arch/arm/boot/dts/am335x-lctr-b2xx.dts linux-3.13.1.rasm/arch/arm/boot/dts/am335x-lctr-b2xx.dts
|
||||
--- linux-3.13.1/arch/arm/boot/dts/am335x-lctr-b2xx.dts 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ linux-3.13.1.rasm/arch/arm/boot/dts/am335x-lctr-b2xx.dts 2014-02-01 06:51:48.273816483 +0000
|
@@ -2622,3 +2622,8 @@ CONFIG_CLZ_TAB=y
|
||||
CONFIG_MPILIB=m
|
||||
CONFIG_OID_REGISTRY=m
|
||||
CONFIG_VIRTUALIZATION=y
|
||||
|
||||
CONFIG_RFKILL=y
|
||||
CONFIG_CFG80211=y
|
||||
CONFIG_NL80211=y
|
||||
CONFIG_RT2800USB=y
|
||||
|
@@ -1,5 +1,9 @@
|
||||
start()
|
||||
{
|
||||
if [ ! -d "/opt/lsts/rtklib/" ]; then
|
||||
mkdir /opt/lsts/rtklib
|
||||
fi
|
||||
|
||||
localBackupPath="/opt/lsts/rtklib/rtklib_cmdfile.cmd"
|
||||
cfgPath="/etc/rtklib/conf/rtkrcv.conf"
|
||||
cfgPathUse="/opt/lsts/rtklib/conf_use.conf"
|
||||
|
8
systems/ntnu-b2xx/ntnu-bixler-001.cfg
Normal file
8
systems/ntnu-b2xx/ntnu-bixler-001.cfg
Normal file
@@ -0,0 +1,8 @@
|
||||
# ntnu-bixler-00x
|
||||
cfg_hostname='ntnu-bixler-001'
|
||||
cfg_eth_ext_ip='10.0.60.180'
|
||||
cfg_eth_ext_mk='255.255.0.0'
|
||||
cfg_eth_ext_gw='10.0.60.1'
|
||||
cfg_ptpd_interface='eth0'
|
||||
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat'
|
||||
cfg_services1='vsp_pair rtc-ds3231 rtklib_rtkrcv'
|
7
systems/ntnu-b2xx/ntnu-cruisermini-001-pseudo.cfg
Normal file
7
systems/ntnu-b2xx/ntnu-cruisermini-001-pseudo.cfg
Normal file
@@ -0,0 +1,7 @@
|
||||
# ntnu-cruisermini-00x
|
||||
cfg_hostname='ntnu-cruisermini-001-pseudo'
|
||||
cfg_eth_ext_ip='10.0.60.149'
|
||||
cfg_eth_ext_mk='255.255.0.0'
|
||||
cfg_eth_ext_gw='10.0.60.1'
|
||||
cfg_ptpd_interface='eth0'
|
||||
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat openssl openssh sshpass'
|
7
systems/ntnu-b2xx/ntnu-cruisermini-001.cfg
Normal file
7
systems/ntnu-b2xx/ntnu-cruisermini-001.cfg
Normal file
@@ -0,0 +1,7 @@
|
||||
# ntnu-cruisermini-00x
|
||||
cfg_hostname='ntnu-cruisermini-001'
|
||||
cfg_eth_ext_ip='10.0.60.145'
|
||||
cfg_eth_ext_mk='255.255.0.0'
|
||||
cfg_eth_ext_gw='10.0.60.1'
|
||||
cfg_ptpd_interface='eth0'
|
||||
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat openssl openssh sshpass'
|
7
systems/ntnu-b2xx/ntnu-cruisermini-002.cfg
Normal file
7
systems/ntnu-b2xx/ntnu-cruisermini-002.cfg
Normal file
@@ -0,0 +1,7 @@
|
||||
# ntnu-cruisermini-00x
|
||||
cfg_hostname='ntnu-cruisermini-002'
|
||||
cfg_eth_ext_ip='10.0.60.150'
|
||||
cfg_eth_ext_mk='255.255.0.0'
|
||||
cfg_eth_ext_gw='10.0.60.1'
|
||||
cfg_ptpd_interface='eth0'
|
||||
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat openssl openssh sshpass'
|
7
systems/ntnu-b2xx/ntnu-cruisermini-003.cfg
Normal file
7
systems/ntnu-b2xx/ntnu-cruisermini-003.cfg
Normal file
@@ -0,0 +1,7 @@
|
||||
# ntnu-cruisermini-00x
|
||||
cfg_hostname='ntnu-cruisermini-003'
|
||||
cfg_eth_ext_ip='10.0.60.155'
|
||||
cfg_eth_ext_mk='255.255.0.0'
|
||||
cfg_eth_ext_gw='10.0.60.1'
|
||||
cfg_ptpd_interface='eth0'
|
||||
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat openssl openssh sshpass'
|
7
systems/ntnu-b2xx/ntnu-cruisermini-004.cfg
Normal file
7
systems/ntnu-b2xx/ntnu-cruisermini-004.cfg
Normal file
@@ -0,0 +1,7 @@
|
||||
# ntnu-cruisermini-00x
|
||||
cfg_hostname='ntnu-cruisermini-004'
|
||||
cfg_eth_ext_ip='10.0.60.160'
|
||||
cfg_eth_ext_mk='255.255.0.0'
|
||||
cfg_eth_ext_gw='10.0.60.1'
|
||||
cfg_ptpd_interface='eth0'
|
||||
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat openssl openssh sshpass'
|
7
systems/ntnu-b2xx/ntnu-cruisermini-005.cfg
Normal file
7
systems/ntnu-b2xx/ntnu-cruisermini-005.cfg
Normal file
@@ -0,0 +1,7 @@
|
||||
# ntnu-cruisermini-00x
|
||||
cfg_hostname='ntnu-cruisermini-005'
|
||||
cfg_eth_ext_ip='10.0.60.165'
|
||||
cfg_eth_ext_mk='255.255.0.0'
|
||||
cfg_eth_ext_gw='10.0.60.1'
|
||||
cfg_ptpd_interface='eth0'
|
||||
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat openssl openssh sshpass'
|
7
systems/ntnu-b2xx/ntnu-cruisermini-006.cfg
Normal file
7
systems/ntnu-b2xx/ntnu-cruisermini-006.cfg
Normal file
@@ -0,0 +1,7 @@
|
||||
# ntnu-cruisermini-00x
|
||||
cfg_hostname='ntnu-cruisermini-006'
|
||||
cfg_eth_ext_ip='10.0.60.170'
|
||||
cfg_eth_ext_mk='255.255.0.0'
|
||||
cfg_eth_ext_gw='10.0.60.1'
|
||||
cfg_ptpd_interface='eth0'
|
||||
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat openssl openssh sshpass'
|
@@ -4,5 +4,5 @@ cfg_eth_ext_ip='10.0.60.205'
|
||||
cfg_eth_ext_mk='255.255.0.0'
|
||||
cfg_eth_ext_gw='10.0.60.1'
|
||||
cfg_ptpd_interface='eth0'
|
||||
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libphidget'
|
||||
cfg_services1='rtc-ds3231'
|
||||
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat'
|
||||
cfg_services1='vsp_pair rtc-ds3231 rtklib_rtkrcv'
|
||||
|
@@ -4,5 +4,5 @@ cfg_eth_ext_ip='10.0.60.210'
|
||||
cfg_eth_ext_mk='255.255.0.0'
|
||||
cfg_eth_ext_gw='10.0.60.1'
|
||||
cfg_ptpd_interface='eth0'
|
||||
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat'
|
||||
cfg_services1='vsp_pair rtc-ds3231 force_10mbit rtklib_rtkrcv'
|
||||
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat openssl openssh sshpass'
|
||||
cfg_services1='vsp_pair rtc-ds3231 rtklib_rtkrcv'
|
||||
|
@@ -5,4 +5,4 @@ cfg_eth_ext_mk='255.255.0.0'
|
||||
cfg_eth_ext_gw='10.0.60.1'
|
||||
cfg_ptpd_interface='eth0'
|
||||
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat'
|
||||
cfg_services1='vsp_pair rtc-ds3231 force_10mbit rtklib_rtkrcv'
|
||||
cfg_services1='vsp_pair rtc-ds3231 rtklib_rtkrcv'
|
||||
|
8
systems/ntnu-b2xx/ntnu-nest-04.cfg
Normal file
8
systems/ntnu-b2xx/ntnu-nest-04.cfg
Normal file
@@ -0,0 +1,8 @@
|
||||
# ntnu-nest-0x
|
||||
cfg_hostname='ntnu-nest-04'
|
||||
cfg_eth_ext_ip='10.0.60.53'
|
||||
cfg_eth_ext_mk='255.255.0.0'
|
||||
cfg_eth_ext_gw='10.0.60.1'
|
||||
cfg_ptpd_interface='eth0'
|
||||
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux openssl openssh sshpass rtklib'
|
||||
cfg_services1='vsp_pair rtc-ds3231 rtklib_rtkrcv'
|
8
systems/ntnu-b2xx/ntnu-octo-001.cfg
Normal file
8
systems/ntnu-b2xx/ntnu-octo-001.cfg
Normal file
@@ -0,0 +1,8 @@
|
||||
# ntnu-octo-00x
|
||||
cfg_hostname='ntnu-octo-001'
|
||||
cfg_eth_ext_ip='10.0.60.225'
|
||||
cfg_eth_ext_mk='255.255.0.0'
|
||||
cfg_eth_ext_gw='10.0.60.1'
|
||||
cfg_ptpd_interface='eth0'
|
||||
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat openssl openssh sshpass'
|
||||
cfg_services1='vsp_pair rtc-ds3231 rtklib_rtkrcv'
|
@@ -4,5 +4,5 @@ cfg_eth_ext_ip='10.0.60.105'
|
||||
cfg_eth_ext_mk='255.255.0.0'
|
||||
cfg_eth_ext_gw='10.0.60.1'
|
||||
cfg_ptpd_interface='eth0'
|
||||
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat'
|
||||
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat openssl openssh sshpass'
|
||||
cfg_services1='vsp_pair rtc-ds3231 rtklib_rtkrcv'
|
||||
|
@@ -5,4 +5,5 @@ cfg_eth_ext_ip='10.0.60.135'
|
||||
cfg_eth_ext_mk='255.255.0.0'
|
||||
cfg_eth_ext_gw='10.0.60.1'
|
||||
cfg_ptpd_interface='eth0'
|
||||
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libav libswiftnav'
|
||||
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat openssl openssh sshpass'
|
||||
cfg_services1='vsp_pair rtc-ds3231 rtklib_rtkrcv'
|
||||
|
Reference in New Issue
Block a user