Compare commits
103 Commits
glued-1.10
...
glued-1.12
Author | SHA1 | Date | |
---|---|---|---|
|
aa86bc5954 | ||
|
01595e7bc8 | ||
|
be95978ec5 | ||
|
3e125fd0ed | ||
|
70eb403ecc | ||
|
ca89cd22be | ||
|
b79ae47a25 | ||
|
9389e352b8 | ||
|
2c47127f0f | ||
|
de06f16d02 | ||
|
764fd6670a | ||
|
7409a86722 | ||
|
f7ba7d9b4d | ||
|
e467dab07c | ||
|
fe2b81d6d5 | ||
|
5951983d1e | ||
|
45078ae86b | ||
|
df4184c67b | ||
|
5bfb823a47 | ||
|
e8894c9c3f | ||
|
7d86c823f3 | ||
|
c43c52c548 | ||
|
41a67a24da | ||
|
500bf28fd0 | ||
|
02376a4469 | ||
|
179c9fa196 | ||
|
60f9017b34 | ||
|
f5ef0e428a | ||
|
98b25e5234 | ||
|
ffd083ebcc | ||
|
4a19d17380 | ||
|
132c020910 | ||
|
1f57d7ab08 | ||
|
5e8bb91f6f | ||
|
9517ff6b8a | ||
|
e731c8b8cf | ||
|
fb61cca332 | ||
|
5f6f35f211 | ||
|
1ad4b0b16f | ||
|
a8fc01df80 | ||
|
02517c3931 | ||
|
a0e223dff8 | ||
|
306e07e50c | ||
|
75c4714bca | ||
|
0c6465b23c | ||
|
489ddb9119 | ||
|
7d4b8f71c9 | ||
|
51972ed4cc | ||
|
131ee3b4a9 | ||
|
e5e82d2ba6 | ||
|
bbba4bf9ac | ||
|
c0782c4310 | ||
|
3080065a4e | ||
|
5c2bc141df | ||
|
7f735200d0 | ||
|
f68f6c95f8 | ||
|
2276ca19fa | ||
|
ecd45a9d8d | ||
|
050fa7c849 | ||
|
241e8a200d | ||
|
ef47422f3e | ||
|
346e4b60a7 | ||
|
f1d49eba03 | ||
|
bed6cd2253 | ||
|
7ab772c363 | ||
|
10846e4f3d | ||
|
38c382470d | ||
|
9e3c75a0ab | ||
|
dd4841ca02 | ||
|
f065b339fc | ||
|
82e1ada242 | ||
|
f5a53a6378 | ||
|
0ac97ce889 | ||
|
0dc888df33 | ||
|
0b43b299e8 | ||
|
5974184000 | ||
|
3bc6b3dec0 | ||
|
87599fc9f4 | ||
|
3ef84d36e8 | ||
|
7b61512978 | ||
|
63cae9d437 | ||
|
3afc4d7e93 | ||
|
6b454f1a52 | ||
|
de2abe89c7 | ||
|
84157535da | ||
|
7be96bd7dd | ||
|
29d3378dc8 | ||
|
ee8eae8520 | ||
|
9898f97491 | ||
|
5ce97d6921 | ||
|
897a147fcd | ||
|
a5ca7f0cae | ||
|
63d60d4c02 | ||
|
2e28260682 | ||
|
05ca6917e6 | ||
|
3422f09171 | ||
|
01c8b31a6b | ||
|
e124fbd933 | ||
|
b09fc122bb | ||
|
6f4d20747f | ||
|
d8b985474c | ||
|
4f76b5e091 | ||
|
2d60ba874c |
@@ -1,5 +1,6 @@
|
|||||||
cfg_target_canonical="armv11-$cfg_glued_vendor-linux-gnueabi"
|
cfg_target_canonical="armv11-$cfg_glued_vendor-linux-gnueabi"
|
||||||
cfg_target_linux='arm'
|
cfg_target_linux='arm'
|
||||||
|
cfg_target_uboot_arch='arm'
|
||||||
cfg_target_gcc_flags='-O2 -pipe -funit-at-a-time -mcpu=arm1176jzf-s -mtune=arm1176jzf-s -mfloat-abi=softfp -mfpu=vfpv3'
|
cfg_target_gcc_flags='-O2 -pipe -funit-at-a-time -mcpu=arm1176jzf-s -mtune=arm1176jzf-s -mfloat-abi=softfp -mfpu=vfpv3'
|
||||||
cfg_target_gcc_configure_flags='--with-arch=armv7-a --with-cpu=arm1176jzf-s --with-tune=arm1176jzf-s --with-fpu=vfpv3 --with-float=softfp'
|
cfg_target_gcc_configure_flags='--with-arch=armv7-a --with-cpu=arm1176jzf-s --with-tune=arm1176jzf-s --with-fpu=vfpv3 --with-float=softfp'
|
||||||
cfg_target_ar_flags='elf32-littlearm'
|
cfg_target_ar_flags='elf32-littlearm'
|
@@ -1,6 +1,6 @@
|
|||||||
cfg_target_canonical="armv7-$cfg_glued_vendor-linux-gnueabi"
|
cfg_target_canonical="armv7-$cfg_glued_vendor-linux-gnueabi"
|
||||||
cfg_target_linux='arm'
|
cfg_target_linux='arm'
|
||||||
|
cfg_target_uboot_arch='arm'
|
||||||
cfg_target_gcc_flags='-O2 -pipe -funit-at-a-time -mcpu=cortex-a8 -mtune=cortex-a8 -mfloat-abi=softfp -mfpu=vfpv3'
|
cfg_target_gcc_flags='-O2 -pipe -funit-at-a-time -mcpu=cortex-a8 -mtune=cortex-a8 -mfloat-abi=softfp -mfpu=vfpv3'
|
||||||
cfg_target_gcc_configure_flags='--with-arch=armv7-a --with-cpu=cortex-a8 --with-tune=cortex-a8 --with-fpu=vfpv3 --with-float=softfp'
|
cfg_target_gcc_configure_flags='--with-arch=armv7-a --with-cpu=cortex-a8 --with-tune=cortex-a8 --with-fpu=vfpv3 --with-float=softfp'
|
||||||
cfg_target_ar_flags='elf32-littlearm'
|
cfg_target_ar_flags='elf32-littlearm'
|
||||||
cfg_target_uboot_arch='arm'
|
|
||||||
|
@@ -23,7 +23,7 @@
|
|||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
||||||
# Config: GLUED version.
|
# Config: GLUED version.
|
||||||
cfg_glued_version='1.10.x'
|
cfg_glued_version='1.12.1'
|
||||||
# Config: GLUED vendor.
|
# Config: GLUED vendor.
|
||||||
cfg_glued_vendor='lsts'
|
cfg_glued_vendor='lsts'
|
||||||
|
|
||||||
|
32
mkdisk.bash
32
mkdisk.bash
@@ -95,7 +95,7 @@ create_part_root()
|
|||||||
|| die
|
|| die
|
||||||
|
|
||||||
nfo2 "Creating filesystem"
|
nfo2 "Creating filesystem"
|
||||||
mkfs.ext2 -q -L "$part_label" "$part_dev" || die
|
"$cmd_mkfs_ext2" -q -F -L "$part_label" "$part_dev" > /dev/null 2>&1 || die
|
||||||
|
|
||||||
nfo2 "Populating filesystem"
|
nfo2 "Populating filesystem"
|
||||||
cmd_mount ext2 "$part_dev" || die
|
cmd_mount ext2 "$part_dev" || die
|
||||||
@@ -128,7 +128,7 @@ create_part_data()
|
|||||||
|| die
|
|| die
|
||||||
|
|
||||||
nfo2 "Creating filesystem"
|
nfo2 "Creating filesystem"
|
||||||
mkfs.ext4 -q -L "$part_label" -O dir_index "$part_dev" || die
|
"$cmd_mkfs_ext4" -q -F -L "$part_label" -O dir_index "$part_dev" > /dev/null 2>&1 || die
|
||||||
|
|
||||||
nfo2 "Populating filesystem"
|
nfo2 "Populating filesystem"
|
||||||
cmd_mount ext4 "$part_dev" || die
|
cmd_mount ext4 "$part_dev" || die
|
||||||
@@ -167,6 +167,13 @@ else
|
|||||||
cmd_parted="parted"
|
cmd_parted="parted"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -x "$cfg_dir_toolchain/sbin/fdisk" ]; then
|
||||||
|
cmd_fdisk="$cfg_dir_toolchain/sbin/fdisk"
|
||||||
|
else
|
||||||
|
echo "Warning: using system fdisk, this might lead to errors"
|
||||||
|
cmd_fdisk="fdisk"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -x "$cfg_dir_toolchain/sbin/mkdosfs" ]; then
|
if [ -x "$cfg_dir_toolchain/sbin/mkdosfs" ]; then
|
||||||
cmd_mkdosfs="$cfg_dir_toolchain/sbin/mkdosfs"
|
cmd_mkdosfs="$cfg_dir_toolchain/sbin/mkdosfs"
|
||||||
else
|
else
|
||||||
@@ -174,6 +181,20 @@ else
|
|||||||
cmd_mkdosfs="mkdosfs"
|
cmd_mkdosfs="mkdosfs"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -x "$cfg_dir_toolchain/sbin/mkfs.ext2" ]; then
|
||||||
|
cmd_mkfs_ext2="$cfg_dir_toolchain/sbin/mkfs.ext2"
|
||||||
|
else
|
||||||
|
echo "Warning: using system mkfs.ext2, this might lead to errors"
|
||||||
|
cmd_mkfs_ext2="mkfs.ext2"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -x "$cfg_dir_toolchain/sbin/mkfs.ext4" ]; then
|
||||||
|
cmd_mkfs_ext4="$cfg_dir_toolchain/sbin/mkfs.ext4"
|
||||||
|
else
|
||||||
|
echo "Warning: using system mkfs.ext4, this might lead to errors"
|
||||||
|
cmd_mkfs_ext4="mkfs.ext4"
|
||||||
|
fi
|
||||||
|
|
||||||
source "functions.bash"
|
source "functions.bash"
|
||||||
|
|
||||||
dev="$2"
|
dev="$2"
|
||||||
@@ -215,6 +236,7 @@ cmd_parted "$dev_loop" \
|
|||||||
|| die
|
|| die
|
||||||
|
|
||||||
part_nr=1
|
part_nr=1
|
||||||
|
xboot_system_id=0
|
||||||
for ((i = 0; i < ${#cfg_partitions[@]}; i += 4)); do
|
for ((i = 0; i < ${#cfg_partitions[@]}; i += 4)); do
|
||||||
part_type="${cfg_partitions[$i+0]}"
|
part_type="${cfg_partitions[$i+0]}"
|
||||||
part_label="${cfg_partitions[$i+1]}"
|
part_label="${cfg_partitions[$i+1]}"
|
||||||
@@ -225,6 +247,7 @@ for ((i = 0; i < ${#cfg_partitions[@]}; i += 4)); do
|
|||||||
case $part_type in
|
case $part_type in
|
||||||
'x-boot')
|
'x-boot')
|
||||||
create_part_xboot
|
create_part_xboot
|
||||||
|
xboot_system_id=1
|
||||||
;;
|
;;
|
||||||
'root')
|
'root')
|
||||||
create_part_root
|
create_part_root
|
||||||
@@ -250,5 +273,10 @@ nfo1 "Synchronizing caches"
|
|||||||
sync && sync && sync && sync && sync && sync
|
sync && sync && sync && sync && sync && sync
|
||||||
blockdev --flushbufs "$dev_loop" || die
|
blockdev --flushbufs "$dev_loop" || die
|
||||||
|
|
||||||
|
# Make sure the partition has 0x0e type.
|
||||||
|
if [ $xboot_system_id -eq 1 ]; then
|
||||||
|
echo -en "t\n1\ne\nw\n" | $cmd_fdisk "$dev_loop" > /dev/null 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
nfo1 "Detaching loop device $dev_loop"
|
nfo1 "Detaching loop device $dev_loop"
|
||||||
losetup -v -d "$dev_loop"
|
losetup -v -d "$dev_loop"
|
||||||
|
@@ -58,6 +58,11 @@ for d in dev boot etc; do
|
|||||||
$fakeroot -- chmod -vR 0644 "$cfg_dir_rootfs"/$d/*
|
$fakeroot -- chmod -vR 0644 "$cfg_dir_rootfs"/$d/*
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Copy DTB.
|
||||||
|
if [ -n "$cfg_target_linux_dtb" ]; then
|
||||||
|
cp -v "$cfg_dir_toolchain/boot/$(basename $cfg_target_linux_dtb)" "$cfg_dir_rootfs/boot/board.dtb"
|
||||||
|
fi
|
||||||
|
|
||||||
# Write config vars.
|
# Write config vars.
|
||||||
set | sort | grep ^cfg_ | egrep -v '^cfg_dir|^cfg_target|^cfg_host_|^cfg_toolchain|^cfg_rootfs_tar|^cfg_partitions' > "$cfg_dir_rootfs/etc/config"
|
set | sort | grep ^cfg_ | egrep -v '^cfg_dir|^cfg_target|^cfg_host_|^cfg_toolchain|^cfg_rootfs_tar|^cfg_partitions' > "$cfg_dir_rootfs/etc/config"
|
||||||
|
|
||||||
|
@@ -5,7 +5,7 @@ version=\
|
|||||||
|
|
||||||
url=\
|
url=\
|
||||||
(
|
(
|
||||||
"http://www.eu.apache.org/dist/ant/binaries/apache-ant-$version-bin.tar.bz2"
|
"http://www.lsts.pt/glued/apache-ant-$version-bin.tar.bz2"
|
||||||
)
|
)
|
||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'1.5.2'
|
'1.5.3'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'1.4.6'
|
'1.5.1'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
|
@@ -25,4 +25,5 @@ requires=\
|
|||||||
'texinfo/host'
|
'texinfo/host'
|
||||||
'parted/host'
|
'parted/host'
|
||||||
'dosfstools/host'
|
'dosfstools/host'
|
||||||
|
'e2fsprogs/host'
|
||||||
)
|
)
|
||||||
|
42
rules/bc/host.bash
Normal file
42
rules/bc/host.bash
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
version=\
|
||||||
|
(
|
||||||
|
'1.06'
|
||||||
|
)
|
||||||
|
|
||||||
|
url=\
|
||||||
|
(
|
||||||
|
"http://ftp.gnu.org/gnu/bc/bc-$version.tar.gz"
|
||||||
|
)
|
||||||
|
|
||||||
|
md5=\
|
||||||
|
(
|
||||||
|
'd44b5dddebd8a7a7309aea6c36fda117'
|
||||||
|
)
|
||||||
|
|
||||||
|
maintainer=\
|
||||||
|
(
|
||||||
|
'Ricardo Martins <rasm@fe.up.pt>'
|
||||||
|
)
|
||||||
|
|
||||||
|
requires=\
|
||||||
|
(
|
||||||
|
'flex/host'
|
||||||
|
)
|
||||||
|
|
||||||
|
configure()
|
||||||
|
{
|
||||||
|
./configure \
|
||||||
|
--prefix="$cfg_dir_toolchain" \
|
||||||
|
--disable-shared \
|
||||||
|
--enable-static
|
||||||
|
}
|
||||||
|
|
||||||
|
build()
|
||||||
|
{
|
||||||
|
$cmd_make
|
||||||
|
}
|
||||||
|
|
||||||
|
host_install()
|
||||||
|
{
|
||||||
|
$cmd_make install
|
||||||
|
}
|
@@ -1,6 +1,6 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'1.22.0'
|
'1.22.1'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
@@ -10,7 +10,7 @@ url=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'ac1881d1cdeb0729b22c663feaf1c663'
|
'337d1a15ab1cb1d4ed423168b1eb7d7e'
|
||||||
)
|
)
|
||||||
|
|
||||||
post_unpack()
|
post_unpack()
|
||||||
|
@@ -1,16 +1,16 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
"5.0-20120323"
|
'5.0-20140118'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
(
|
(
|
||||||
"ftp://invisible-island.net/cdk/cdk.tar.gz"
|
"ftp://invisible-island.net/cdk/cdk-$version.tgz"
|
||||||
)
|
)
|
||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
"929969d06ce034e862976bb7d1a36b25"
|
'd2687e5558b6d6be5fd39328e5c86033'
|
||||||
)
|
)
|
||||||
|
|
||||||
requires=\
|
requires=\
|
||||||
@@ -20,34 +20,34 @@ requires=\
|
|||||||
|
|
||||||
configure()
|
configure()
|
||||||
{
|
{
|
||||||
# --target="${cfg_target_canonical}" \
|
# --target="${cfg_target_canonical}" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="$cfg_dir_toolchain_sysroot/usr" \
|
--prefix="$cfg_dir_toolchain_sysroot/usr" \
|
||||||
--host="${cfg_target_canonical}" \
|
--host="${cfg_target_canonical}" \
|
||||||
--build="${cfg_host_canonical}" \
|
--build="${cfg_host_canonical}" \
|
||||||
--target="${cfg_target_canonical}" \
|
--target="${cfg_target_canonical}" \
|
||||||
--with-ncursesw \
|
--with-ncursesw \
|
||||||
--with-shared \
|
--with-shared \
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build()
|
build()
|
||||||
{
|
{
|
||||||
$cmd_make
|
$cmd_make
|
||||||
}
|
}
|
||||||
|
|
||||||
host_install()
|
host_install()
|
||||||
{
|
{
|
||||||
$cmd_make install
|
$cmd_make install
|
||||||
}
|
}
|
||||||
|
|
||||||
target_install()
|
target_install()
|
||||||
{
|
{
|
||||||
for f in "$cfg_dir_toolchain_sysroot/usr/lib/libcdk"* ; do
|
for f in "$cfg_dir_toolchain_sysroot/usr/lib/libcdk"* ; do
|
||||||
if [ -L "$f" ]; then
|
if [ -L "$f" ]; then
|
||||||
cp -av "$f" "$cfg_dir_rootfs/usr/lib"
|
cp -av "$f" "$cfg_dir_rootfs/usr/lib"
|
||||||
else
|
else
|
||||||
$cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/usr/lib/$(basename "$f")"
|
$cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/usr/lib/$(basename "$f")"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
"2.8.8"
|
"2.8.9"
|
||||||
)
|
)
|
||||||
|
|
||||||
version_major=\
|
version_major=\
|
||||||
@@ -15,7 +15,7 @@ url=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
"ba74b22c788a0c8547976b880cd02b17"
|
"801f4c87f8b604f727df5bf1f05a59e7"
|
||||||
)
|
)
|
||||||
|
|
||||||
configure()
|
configure()
|
||||||
@@ -26,10 +26,12 @@ configure()
|
|||||||
|
|
||||||
build()
|
build()
|
||||||
{
|
{
|
||||||
|
# Remove the trailling 'ncurses' folder from the CURSES_INCLUDE_PATH
|
||||||
|
cat CMakeCache.txt | sed '/^CURSES_INCLUDE_PATH/s/\/ncurses$/\//g' > CMakeCache.txt &&
|
||||||
$cmd_make
|
$cmd_make
|
||||||
}
|
}
|
||||||
|
|
||||||
host_install()
|
host_install()
|
||||||
{
|
{
|
||||||
$cmd_make install
|
$cmd_make DESTDIR="$cfg_dir_toolchain" install
|
||||||
}
|
}
|
||||||
|
14
rules/e2fsprogs/common.bash
Normal file
14
rules/e2fsprogs/common.bash
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
version=\
|
||||||
|
(
|
||||||
|
'1.41.9'
|
||||||
|
)
|
||||||
|
|
||||||
|
url=\
|
||||||
|
(
|
||||||
|
"http://downloads.sourceforge.net/e2fsprogs/e2fsprogs-$version.tar.gz"
|
||||||
|
)
|
||||||
|
|
||||||
|
md5=\
|
||||||
|
(
|
||||||
|
'52f60a9e19a02f142f5546f1b5681927'
|
||||||
|
)
|
@@ -1,20 +1,9 @@
|
|||||||
version=\
|
source "$pkg_common"
|
||||||
(
|
|
||||||
'1.41.9'
|
|
||||||
)
|
|
||||||
|
|
||||||
url=\
|
|
||||||
(
|
|
||||||
"http://downloads.sourceforge.net/e2fsprogs/e2fsprogs-$version.tar.gz"
|
|
||||||
)
|
|
||||||
|
|
||||||
md5=\
|
|
||||||
(
|
|
||||||
'52f60a9e19a02f142f5546f1b5681927'
|
|
||||||
)
|
|
||||||
|
|
||||||
configure()
|
configure()
|
||||||
{
|
{
|
||||||
|
$cmd_make distclean
|
||||||
|
|
||||||
export CC=$cmd_target_cc
|
export CC=$cmd_target_cc
|
||||||
export CROSS_COMPILE=$cfg_target_canonical
|
export CROSS_COMPILE=$cfg_target_canonical
|
||||||
"../e2fsprogs-$version/configure" \
|
"../e2fsprogs-$version/configure" \
|
||||||
|
22
rules/e2fsprogs/host.bash
Normal file
22
rules/e2fsprogs/host.bash
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
source "$pkg_common"
|
||||||
|
|
||||||
|
configure()
|
||||||
|
{
|
||||||
|
$cmd_make distclean
|
||||||
|
|
||||||
|
"../e2fsprogs-$version/configure" \
|
||||||
|
--prefix="$cfg_dir_toolchain" \
|
||||||
|
--disable-shared \
|
||||||
|
--enable-static \
|
||||||
|
--disable-nls
|
||||||
|
}
|
||||||
|
|
||||||
|
build()
|
||||||
|
{
|
||||||
|
$cmd_make
|
||||||
|
}
|
||||||
|
|
||||||
|
host_install()
|
||||||
|
{
|
||||||
|
$cmd_make install
|
||||||
|
}
|
@@ -1,6 +1,6 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'1.0.4'
|
'1.0.5'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
@@ -10,7 +10,7 @@ url=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'b9ee6a3d921643535c336b7c740b2c60'
|
'8400860f2daa98d559b1b9b6fcc630c2'
|
||||||
)
|
)
|
||||||
|
|
||||||
if [ -d "$cfg_dir_builds/linux/linux-"* ]; then
|
if [ -d "$cfg_dir_builds/linux/linux-"* ]; then
|
||||||
|
@@ -1,192 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
#############################################################################
|
|
||||||
# Copyright (C) 2012 Laboratório de Sistemas e Tecnologia Subaquática #
|
|
||||||
# Departamento de Engenharia Electrotécnica e de Computadores #
|
|
||||||
# Rua Dr. Roberto Frias, 4200-465 Porto, Portugal #
|
|
||||||
#############################################################################
|
|
||||||
# Author: Ricardo Martins #
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
GSM_USER='vodafone'
|
|
||||||
GSM_PASS='vodafone'
|
|
||||||
GSM_APN='internet.vodafone.pt'
|
|
||||||
GSM_MODE='AT\^SYSCFG=2,2,3fffffff,0,1'
|
|
||||||
GSM_PIN='AT'
|
|
||||||
|
|
||||||
FWL_EXT_ITF='ppp0'
|
|
||||||
FWL_INT_ITF='eth0'
|
|
||||||
|
|
||||||
CHAT_SCRIPT=$(cat <<EOF
|
|
||||||
ABORT 'BUSY' \
|
|
||||||
ABORT 'NO CARRIER' \
|
|
||||||
ABORT 'VOICE' \
|
|
||||||
ABORT 'NO DIALTONE' \
|
|
||||||
ABORT 'NO DIAL TONE' \
|
|
||||||
ABORT 'NO ANSWER' \
|
|
||||||
ABORT 'DELAYED' \
|
|
||||||
REPORT CONNECT \
|
|
||||||
TIMEOUT 6 \
|
|
||||||
'' 'ATQ0' \
|
|
||||||
'OK-AT-OK' 'ATZ' \
|
|
||||||
TIMEOUT 3 \
|
|
||||||
'OK' '$GSM_PIN' \
|
|
||||||
'OK-AT-OK' 'ATI' \
|
|
||||||
'OK' 'ATZ' \
|
|
||||||
'OK' 'ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0' \
|
|
||||||
'OK' '$GSM_MODE' \
|
|
||||||
'OK-AT-OK' 'AT+CGDCONT=1,\"IP\",\"$GSM_APN\"' \
|
|
||||||
'OK' 'ATDT*99***1#' \
|
|
||||||
TIMEOUT 30 \
|
|
||||||
CONNECT ''
|
|
||||||
EOF
|
|
||||||
)
|
|
||||||
|
|
||||||
modem_probe()
|
|
||||||
{
|
|
||||||
nr="$(cat /proc/tty/driver/usbserial | grep GSM | head -n 1 | cut -f1 -d:)"
|
|
||||||
if [ -z "$nr" ]; then
|
|
||||||
echo ""
|
|
||||||
else
|
|
||||||
echo "/dev/ttyUSB$nr"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
ppp_start()
|
|
||||||
{
|
|
||||||
modem="$(modem_probe)"
|
|
||||||
|
|
||||||
if [ -z "$modem" ]; then
|
|
||||||
echo -e "\nERROR: failed to find GSM modem.\n"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
auth=''
|
|
||||||
if [ -n "$GSM_USER" ] && [ -n "$GSM_PASS" ]; then
|
|
||||||
auth="user \"$GSM_USER\" password \"$GSM_PASS\""
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo -e "\n* Removing default route"
|
|
||||||
|
|
||||||
/sbin/route del default dev eth0 > /dev/null 2>&1
|
|
||||||
|
|
||||||
echo -e "\n* Starting PPP"
|
|
||||||
|
|
||||||
/usr/sbin/pppd \
|
|
||||||
"$modem" \
|
|
||||||
921600 \
|
|
||||||
$auth \
|
|
||||||
lock \
|
|
||||||
crtscts \
|
|
||||||
modem \
|
|
||||||
passive \
|
|
||||||
novj \
|
|
||||||
defaultroute \
|
|
||||||
noipdefault \
|
|
||||||
usepeerdns \
|
|
||||||
noauth \
|
|
||||||
hide-password \
|
|
||||||
persist \
|
|
||||||
holdoff 10 \
|
|
||||||
maxfail 2 \
|
|
||||||
updetach \
|
|
||||||
connect "/usr/sbin/chat -E -v -t15 $CHAT_SCRIPT" > /var/run/ppp.log 2>&1
|
|
||||||
|
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
echo -e "\nERROR: PPP failed to establish a connection.\n"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
ip=$(ifconfig ppp0 | grep inet | cut -f2 -d: | cut -f1 -d' ')
|
|
||||||
echo " - External IP is $ip"
|
|
||||||
}
|
|
||||||
|
|
||||||
ppp_stop()
|
|
||||||
{
|
|
||||||
pid="$(cat /var/run/ppp0.pid 2> /dev/null)"
|
|
||||||
|
|
||||||
echo -e "\n* Stopping PPP"
|
|
||||||
|
|
||||||
if [ -z "$pid" ]; then
|
|
||||||
echo " - Daemon is not running"
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
for n in 1 2 3 4 5; do
|
|
||||||
if ! [ -d "/proc/$pid" ]; then
|
|
||||||
echo " - Daemon stopped"
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo " - Sending SIGTERM to '$pid' (try $n)"
|
|
||||||
kill "$pid" > /dev/null 2>&1
|
|
||||||
sleep 2
|
|
||||||
done
|
|
||||||
|
|
||||||
kill -9 "$pid" > /dev/null 2>&1
|
|
||||||
echo " - Daemon terminated"
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
nat_start()
|
|
||||||
{
|
|
||||||
echo -e "\n* Enabling NAT"
|
|
||||||
|
|
||||||
echo " - Enabling IP forwarding"
|
|
||||||
echo '1' > /proc/sys/net/ipv4/ip_forward
|
|
||||||
echo '1' > /proc/sys/net/ipv4/ip_dynaddr
|
|
||||||
|
|
||||||
echo " - Flushing rules"
|
|
||||||
iptables -P INPUT ACCEPT
|
|
||||||
iptables -F INPUT
|
|
||||||
iptables -P OUTPUT ACCEPT
|
|
||||||
iptables -F OUTPUT
|
|
||||||
iptables -P FORWARD DROP
|
|
||||||
iptables -F FORWARD
|
|
||||||
iptables -t nat -F
|
|
||||||
|
|
||||||
echo " - Installing rules"
|
|
||||||
iptables -A FORWARD -i "$FWL_EXT_ITF" -o "$FWL_INT_ITF" -m state --state ESTABLISHED,RELATED -j ACCEPT
|
|
||||||
iptables -A FORWARD -i "$FWL_EXT_ITF" -o "$FWL_EXT_ITF" -j ACCEPT
|
|
||||||
iptables -A FORWARD -i "$FWL_EXT_ITF" -o "$FWL_INT_ITF" -j ACCEPT
|
|
||||||
iptables -A FORWARD -i "$FWL_INT_ITF" -o "$FWL_EXT_ITF" -j ACCEPT
|
|
||||||
iptables -A FORWARD -j LOG
|
|
||||||
iptables -t nat -A POSTROUTING -o "$FWL_EXT_ITF" -j MASQUERADE
|
|
||||||
}
|
|
||||||
|
|
||||||
nat_stop()
|
|
||||||
{
|
|
||||||
echo -e "\n* Disabling NAT"
|
|
||||||
|
|
||||||
echo " - Disabling IP forwarding"
|
|
||||||
echo '0' > /proc/sys/net/ipv4/ip_forward
|
|
||||||
echo '0' > /proc/sys/net/ipv4/ip_dynaddr
|
|
||||||
|
|
||||||
echo " - Flushing NAT rules"
|
|
||||||
iptables -P INPUT ACCEPT
|
|
||||||
iptables -F INPUT
|
|
||||||
iptables -P OUTPUT ACCEPT
|
|
||||||
iptables -F OUTPUT
|
|
||||||
iptables -P FORWARD DROP
|
|
||||||
iptables -F FORWARD
|
|
||||||
iptables -t nat -F
|
|
||||||
}
|
|
||||||
|
|
||||||
start()
|
|
||||||
{
|
|
||||||
ppp_start && nat_start
|
|
||||||
if [ $? -eq 0 ]; then
|
|
||||||
echo -e "\n* Connection Established\n"
|
|
||||||
else
|
|
||||||
echo -e "\nERROR: failed to establish a connection\n"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
stop()
|
|
||||||
{
|
|
||||||
nat_stop && ppp_stop
|
|
||||||
if [ $? -eq 0 ]; then
|
|
||||||
echo -e "\n* Service stopped\n"
|
|
||||||
else
|
|
||||||
echo -e "\nERROR: failed to stop service.\n"
|
|
||||||
fi
|
|
||||||
}
|
|
@@ -109,24 +109,19 @@ kernel_upgrade()
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
bbb_boot_upgrade()
|
uboot_part_upgrade()
|
||||||
{
|
{
|
||||||
# Check if board is a BeagleBone black.
|
label="$1"
|
||||||
dmesg | grep -i 'machine model' | grep -i beaglebone
|
dev="$2"
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
dev='/dev/mmcblk1p1'
|
echo -en "* $label: probing bootloader partition... "
|
||||||
|
|
||||||
echo -en '* BeagleBone Black: checking eMMC device... '
|
|
||||||
if ! [ -b "$dev" ]; then
|
if ! [ -b "$dev" ]; then
|
||||||
echo 'not present'
|
echo 'not present'
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
echo 'present'
|
echo 'present'
|
||||||
|
|
||||||
echo -en "* BeagleBone Black: mounting bootloader partition... "
|
echo -en "* $label: mounting bootloader partition... "
|
||||||
mount -t vfat "$dev" /mnt > /dev/null 2>&1
|
mount -t vfat "$dev" /mnt > /dev/null 2>&1
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "failed"
|
echo "failed"
|
||||||
@@ -135,14 +130,12 @@ bbb_boot_upgrade()
|
|||||||
echo 'done'
|
echo 'done'
|
||||||
|
|
||||||
for f in MLO u-boot.img; do
|
for f in MLO u-boot.img; do
|
||||||
if [ -f /mnt/MLO ]; then
|
echo -en "* $label: Replacing $f... "
|
||||||
echo -en "* BeagleBone Black: Replacing $f... "
|
cp "$base/.glued-new/boot/$f" /mnt
|
||||||
cp "$base/.glued-new/boot/$f" /mnt
|
echo 'done'
|
||||||
echo 'done'
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
|
|
||||||
echo -en "* BeagleBone Black: unmounting bootloader partition... "
|
echo -en "* $label: unmounting bootloader partition... "
|
||||||
umount /mnt > /dev/null 2>&1
|
umount /mnt > /dev/null 2>&1
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo 'failed'
|
echo 'failed'
|
||||||
@@ -154,6 +147,30 @@ bbb_boot_upgrade()
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
uboot_part_upgrade_check()
|
||||||
|
{
|
||||||
|
# Check if board is a BeagleBone black.
|
||||||
|
dmesg | grep -i 'machine model' | grep -i beaglebone > /dev/null 2>&1
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
uboot_part_upgrade 'BeagleBone Black' '/dev/mmcblk1p1'
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Check if board is a IGEPv2.
|
||||||
|
dmesg | grep -i 'machine model' | grep -i igepv2 > /dev/null 2>&1
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
uboot_part_upgrade 'IGEPv2' '/dev/mmcblk0p1'
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
grep "IGEP v2" /proc/cpuinfo > /dev/null 2>&1
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
uboot_part_upgrade 'IGEPv2' '/dev/mmcblk0p1'
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
old_move()
|
old_move()
|
||||||
{
|
{
|
||||||
echo "* Mounting rootfs read-write..."
|
echo "* Mounting rootfs read-write..."
|
||||||
@@ -201,7 +218,7 @@ start()
|
|||||||
version || return 1
|
version || return 1
|
||||||
kernel_dst || return 1
|
kernel_dst || return 1
|
||||||
new_unpack || return 1
|
new_unpack || return 1
|
||||||
bbb_boot_upgrade || return 1
|
uboot_part_upgrade_check || return 1
|
||||||
kernel_upgrade || return 1
|
kernel_upgrade || return 1
|
||||||
old_move || return 1
|
old_move || return 1
|
||||||
}
|
}
|
||||||
|
@@ -1,11 +0,0 @@
|
|||||||
--- gcc-4.6.3/libjava/configure.host 2010-12-06 00:50:04.000000000 +0000
|
|
||||||
+++ gcc-4.6.3.rasm/libjava/configure.host 2012-10-30 20:29:06.192935517 +0000
|
|
||||||
@@ -115,7 +115,7 @@
|
|
||||||
mips*-*)
|
|
||||||
libgcj_interpreter=yes
|
|
||||||
;;
|
|
||||||
- i686-*|i586-*|i486-*|i386-*)
|
|
||||||
+ i786-*|i686-*|i586-*|i486-*|i386-*)
|
|
||||||
sysdeps_dir=i386
|
|
||||||
# With -fomit-frame-pointer -maccumulate-outgoing-args (implied),
|
|
||||||
# the .text section of libgcj.so is 30k larger, and the .eh_frame
|
|
@@ -1,14 +0,0 @@
|
|||||||
diff -Nru gcc-4.6.3/gcc/config/i386/t-linux64 gcc-4.6.3.rasm/gcc/config/i386/t-linux64
|
|
||||||
--- gcc-4.6.3/gcc/config/i386/t-linux64 2009-04-21 20:03:23.000000000 +0100
|
|
||||||
+++ gcc-4.6.3.rasm/gcc/config/i386/t-linux64 2012-12-11 19:01:42.549964639 +0000
|
|
||||||
@@ -24,8 +24,8 @@
|
|
||||||
# MULTILIB_OSDIRNAMES according to what is found on the target.
|
|
||||||
|
|
||||||
MULTILIB_OPTIONS = m64/m32
|
|
||||||
-MULTILIB_DIRNAMES = 64 32
|
|
||||||
-MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)
|
|
||||||
+MULTILIB_DIRNAMES = 64 32
|
|
||||||
+MULTILIB_OSDIRNAMES = ../lib $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)
|
|
||||||
|
|
||||||
LIBGCC = stmp-multilib
|
|
||||||
INSTALL_LIBGCC = install-multilib
|
|
@@ -1,6 +1,6 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'7.5.1'
|
'7.7.1'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
@@ -10,5 +10,5 @@ url=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'3f48f468b24447cf24820054ff6e85b1'
|
'77b20b515e7c25f032cb9732a66620fe'
|
||||||
)
|
)
|
||||||
|
@@ -1,41 +1,41 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
"4.6.1"
|
'4.6.5'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
(
|
(
|
||||||
"ftp://ftp.dante.de/pub/tex/graphics/gnuplot/${version}/gnuplot-${version}.tar.gz"
|
"http://downloads.sourceforge.net/gnuplot/gnuplot/$version/gnuplot-$version.tar.gz"
|
||||||
)
|
)
|
||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
"4c9a06461f402482c30cf94e267eb877"
|
'9a476b21f74bd99c876f1509d731a0f9'
|
||||||
)
|
)
|
||||||
|
|
||||||
configure()
|
configure()
|
||||||
{
|
{
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="${cfg_dir_toolchain_sysroot}/usr" \
|
--prefix="${cfg_dir_toolchain_sysroot}/usr" \
|
||||||
--target="$cfg_target_canonical" \
|
--target="$cfg_target_canonical" \
|
||||||
--host="$cfg_target_canonical" \
|
--host="$cfg_target_canonical" \
|
||||||
--build="$cfg_host_canonical" \
|
--build="$cfg_host_canonical" \
|
||||||
--disable-history-file \
|
--disable-history-file \
|
||||||
--without-x \
|
--without-x \
|
||||||
--disable-raise-console \
|
--disable-raise-console \
|
||||||
--disable-mouse \
|
--disable-mouse \
|
||||||
--without-tutorial \
|
--without-tutorial \
|
||||||
--without-demo \
|
--without-demo \
|
||||||
--disable-demo \
|
--disable-demo \
|
||||||
--without-row-help \
|
--without-row-help \
|
||||||
--disable-history-file \
|
--disable-history-file \
|
||||||
--without-lisp-files \
|
--without-lisp-files \
|
||||||
--disable-wxwidgets \
|
--disable-wxwidgets \
|
||||||
--without-lua \
|
--without-lua \
|
||||||
--without-latex \
|
--without-latex \
|
||||||
--without-cairo
|
--without-cairo
|
||||||
|
|
||||||
sed -i "s#demo ##g" Makefile
|
sed -i "s#demo ##g" Makefile
|
||||||
}
|
}
|
||||||
|
|
||||||
build()
|
build()
|
||||||
@@ -50,8 +50,6 @@ host_install()
|
|||||||
|
|
||||||
target_install()
|
target_install()
|
||||||
{
|
{
|
||||||
$cmd_target_strip -v "$cfg_dir_toolchain_sysroot/usr/bin/gnuplot" -o "$cfg_dir_rootfs/usr/bin/gnuplot"
|
$cmd_target_strip -v "$cfg_dir_toolchain_sysroot/usr/bin/gnuplot" -o "$cfg_dir_rootfs/usr/bin/gnuplot"
|
||||||
$cmd_cp "$cfg_dir_toolchain_sysroot/usr/share/gnuplot" "$cfg_dir_rootfs/usr/share"
|
$cmd_cp "$cfg_dir_toolchain_sysroot/usr/share/gnuplot" "$cfg_dir_rootfs/usr/share"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1,45 +0,0 @@
|
|||||||
version=\
|
|
||||||
(
|
|
||||||
"2.95"
|
|
||||||
)
|
|
||||||
|
|
||||||
url=\
|
|
||||||
(
|
|
||||||
"http://download.berlios.de/gpsd/gpsd-$version.tar.gz"
|
|
||||||
)
|
|
||||||
|
|
||||||
md5=\
|
|
||||||
(
|
|
||||||
"12535a9ed9fecf9ea2c5bdc9840da5ae"
|
|
||||||
)
|
|
||||||
|
|
||||||
maintainer=\
|
|
||||||
(
|
|
||||||
"Ricardo Martins <rasm@fe.up.pt>"
|
|
||||||
)
|
|
||||||
|
|
||||||
configure()
|
|
||||||
{
|
|
||||||
../gpsd-$version/configure \
|
|
||||||
--prefix="$cfg_dir_rootfs/usr" \
|
|
||||||
--target=$cfg_target_canonical \
|
|
||||||
--host=$cfg_target_canonical \
|
|
||||||
--build=$cfg_host_canonical \
|
|
||||||
--disable-dbus \
|
|
||||||
--disable-libQgpsmm
|
|
||||||
}
|
|
||||||
|
|
||||||
build()
|
|
||||||
{
|
|
||||||
$cmd_make
|
|
||||||
}
|
|
||||||
|
|
||||||
target_install()
|
|
||||||
{
|
|
||||||
$cmd_target_strip .libs/gpsd -o $cfg_dir_rootfs/usr/bin/gpsd &&
|
|
||||||
for l in .libs/libgps*so*; do
|
|
||||||
$cmd_target_strip "$l" -o $cfg_dir_rootfs/usr/lib/"$(basename $l)"
|
|
||||||
done
|
|
||||||
|
|
||||||
cp "$pkg_dir"/services/gpsd "$cfg_dir_rootfs/etc/rc.d"
|
|
||||||
}
|
|
@@ -1,14 +0,0 @@
|
|||||||
# Configuration Parameters
|
|
||||||
# cfg_gpsd_dev: serial port device.
|
|
||||||
# cfg_gpsd_baud: serial port baud rate.
|
|
||||||
|
|
||||||
start()
|
|
||||||
{
|
|
||||||
stty -F "$cfg_gpsd_dev" "$cfg_gpsd_baud"
|
|
||||||
gpsd -n "$cfg_gpsd_dev"
|
|
||||||
}
|
|
||||||
|
|
||||||
stop()
|
|
||||||
{
|
|
||||||
killall gpsd
|
|
||||||
}
|
|
39
rules/libav/default.bash
Normal file
39
rules/libav/default.bash
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
version=\
|
||||||
|
(
|
||||||
|
"10.1"
|
||||||
|
)
|
||||||
|
|
||||||
|
url=\
|
||||||
|
(
|
||||||
|
"http://libav.org/releases/libav-$version.tar.gz"
|
||||||
|
)
|
||||||
|
|
||||||
|
md5=\
|
||||||
|
(
|
||||||
|
99c123b9ba9c0ff8c6bfd67a635f99ac
|
||||||
|
)
|
||||||
|
|
||||||
|
configure()
|
||||||
|
{
|
||||||
|
./configure \
|
||||||
|
--sysroot="$cfg_dir_toolchain_sysroot" \
|
||||||
|
--prefix="$cfg_dir_rootfs/usr" \
|
||||||
|
--cross-prefix="$cfg_target_canonical-" \
|
||||||
|
--target-os="linux" \
|
||||||
|
--enable-memalign-hack \
|
||||||
|
--enable-shared \
|
||||||
|
--enable-pic \
|
||||||
|
--enable-gpl \
|
||||||
|
--arch=$cfg_architecture
|
||||||
|
}
|
||||||
|
|
||||||
|
build()
|
||||||
|
{
|
||||||
|
$cmd_make
|
||||||
|
}
|
||||||
|
|
||||||
|
target_install()
|
||||||
|
{
|
||||||
|
$cmd_make \
|
||||||
|
install
|
||||||
|
}
|
@@ -1,6 +1,6 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
"1.1.1"
|
"1.6.1"
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
@@ -10,7 +10,7 @@ url=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
"1bca27d206970badae248cfa471bbb47"
|
"5eb05edf6b6c6e63d536d1c9fbfb2f7c"
|
||||||
)
|
)
|
||||||
|
|
||||||
maintainer=\
|
maintainer=\
|
||||||
@@ -26,9 +26,12 @@ requires=\
|
|||||||
|
|
||||||
post_unpack()
|
post_unpack()
|
||||||
{
|
{
|
||||||
for patch in "$pkg_dir"/patches/*; do
|
if [ -d "$pkg_dir"/patches/${version} ];
|
||||||
patch -p1 < "$patch" || return 1
|
then
|
||||||
done
|
for patch in "$pkg_dir"/patches/${version}/*; do
|
||||||
|
patch -p1 < "$patch" || return 1
|
||||||
|
done
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
configure()
|
configure()
|
||||||
@@ -56,7 +59,10 @@ build()
|
|||||||
|
|
||||||
host_install()
|
host_install()
|
||||||
{
|
{
|
||||||
$cmd_make install
|
$cmd_make install &&
|
||||||
|
mv -v \
|
||||||
|
"$cfg_dir_toolchain_sysroot/usr/bin/pcap-config" \
|
||||||
|
"$cfg_dir_toolchain/bin/$cfg_target_canonical-pcap-config"
|
||||||
}
|
}
|
||||||
|
|
||||||
target_install()
|
target_install()
|
||||||
|
@@ -1,180 +0,0 @@
|
|||||||
Debian-specific modifications to the upstream Makefile.in to
|
|
||||||
build a shared library.
|
|
||||||
|
|
||||||
---
|
|
||||||
Makefile.in | 49 +++++++++++++++++++++++++++++++++++++++++--------
|
|
||||||
aclocal.m4 | 4 ++--
|
|
||||||
configure | 4 ++--
|
|
||||||
3 files changed, 45 insertions(+), 12 deletions(-)
|
|
||||||
|
|
||||||
--- a/Makefile.in
|
|
||||||
+++ b/Makefile.in
|
|
||||||
@@ -40,6 +40,14 @@
|
|
||||||
srcdir = @srcdir@
|
|
||||||
VPATH = @srcdir@
|
|
||||||
|
|
||||||
+# some defines for shared library compilation
|
|
||||||
+MAJ=1.0
|
|
||||||
+LIBVERSION=1
|
|
||||||
+LIBNAME=pcap
|
|
||||||
+LIBRARY=lib$(LIBNAME).a
|
|
||||||
+SOLIBRARY=lib$(LIBNAME).so
|
|
||||||
+SHAREDLIB=$(SOLIBRARY).$(LIBVERSION)
|
|
||||||
+
|
|
||||||
#
|
|
||||||
# You shouldn't need to edit anything below.
|
|
||||||
#
|
|
||||||
@@ -59,6 +67,7 @@
|
|
||||||
|
|
||||||
# Standard CFLAGS
|
|
||||||
CFLAGS = $(CCOPT) $(INCLS) $(DEFS)
|
|
||||||
+CFLAGS_SHARED = -shared -Wl,-soname,$(SOLIBRARY).$(MAJ)
|
|
||||||
|
|
||||||
INSTALL = @INSTALL@
|
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
||||||
@@ -78,7 +87,11 @@
|
|
||||||
# problem if you don't own the file but can write to the directory.
|
|
||||||
.c.o:
|
|
||||||
@rm -f $@
|
|
||||||
- $(CC) $(CFLAGS) -c $(srcdir)/$*.c
|
|
||||||
+ $(CC) $(CFLAGS) -c -o $@ $(srcdir)/$*.c
|
|
||||||
+
|
|
||||||
+%_pic.o: %.c
|
|
||||||
+ @rm -f $@
|
|
||||||
+ $(CC) -fPIC $(CFLAGS) -c -o $@ $(srcdir)/$*.c
|
|
||||||
|
|
||||||
PSRC = pcap-@V_PCAP@.c @USB_SRC@ @BT_SRC@ @CAN_SRC@
|
|
||||||
FSRC = fad-@V_FINDALLDEVS@.c
|
|
||||||
@@ -94,6 +107,7 @@
|
|
||||||
# We would like to say "OBJ = $(SRC:.c=.o)" but Ultrix's make cannot
|
|
||||||
# hack the extra indirection
|
|
||||||
OBJ = $(PSRC:.c=.o) $(FSRC:.c=.o) $(CSRC:.c=.o) $(SSRC:.c=.o) $(GENSRC:.c=.o) $(LIBOBJS)
|
|
||||||
+OBJ_PIC = $(PSRC:.c=_pic.o) $(FSRC:.c=_pic.o) $(CSRC:.c=_pic.o) $(SSRC:.c=_pic.o) $(GENSRC:.c=_pic.o)
|
|
||||||
PUBHDR = \
|
|
||||||
pcap.h \
|
|
||||||
pcap-bpf.h \
|
|
||||||
@@ -131,7 +145,7 @@
|
|
||||||
|
|
||||||
CLEANFILES = $(OBJ) libpcap.* filtertest findalldevstest selpolltest \
|
|
||||||
opentest $(PROG)-`cat $(srcdir)/VERSION`.tar.gz $(GENSRC) $(GENHDR) \
|
|
||||||
- lex.yy.c pcap-config
|
|
||||||
+ lex.yy.c pcap-config $(OBJ_PIC)
|
|
||||||
|
|
||||||
MAN1 = pcap-config.1
|
|
||||||
|
|
||||||
@@ -331,7 +345,7 @@
|
|
||||||
ar rc $@ $(OBJ) $(ADDLARCHIVEOBJS)
|
|
||||||
$(RANLIB) $@
|
|
||||||
|
|
||||||
-shared: libpcap.$(DYEXT)
|
|
||||||
+shared: $(SHAREDLIB)
|
|
||||||
|
|
||||||
libpcap.so: $(OBJ)
|
|
||||||
@rm -f $@
|
|
||||||
@@ -409,6 +423,13 @@
|
|
||||||
#
|
|
||||||
libpcap.none:
|
|
||||||
|
|
||||||
+$(SHAREDLIB): $(OBJ_PIC)
|
|
||||||
+ -@rm -f $@
|
|
||||||
+ -@rm -f $(SOLIBRARY) $(SOLIBRARY).$(MAJ)
|
|
||||||
+ $(CC) $(CFLAGS_SHARED) -o $(SHAREDLIB) $(OBJ_PIC) -lc
|
|
||||||
+ ln -s $(SHAREDLIB) $(SOLIBRARY).$(MAJ)
|
|
||||||
+ ln -s $(SOLIBRARY).$(MAJ) $(SOLIBRARY)
|
|
||||||
+
|
|
||||||
scanner.c: $(srcdir)/scanner.l
|
|
||||||
@rm -f $@
|
|
||||||
$(srcdir)/runlex.sh $(LEX) -o$@ $<
|
|
||||||
@@ -416,6 +437,9 @@
|
|
||||||
scanner.o: scanner.c tokdefs.h
|
|
||||||
$(CC) $(CFLAGS) -c scanner.c
|
|
||||||
|
|
||||||
+scanner_pic.o: scanner.c tokdefs.h
|
|
||||||
+ $(CC) -fPIC $(CFLAGS) -o $@ -c scanner.c
|
|
||||||
+
|
|
||||||
pcap.o: version.h
|
|
||||||
|
|
||||||
tokdefs.h: grammar.c
|
|
||||||
@@ -429,9 +453,17 @@
|
|
||||||
@rm -f $@
|
|
||||||
$(CC) $(CFLAGS) -Dyylval=pcap_lval -c grammar.c
|
|
||||||
|
|
||||||
+grammar_pic.o: grammar.c
|
|
||||||
+ @rm -f $@
|
|
||||||
+ $(CC) -fPIC $(CFLAGS) -Dyylval=pcap_lval -o $@ -c grammar.c
|
|
||||||
+
|
|
||||||
version.o: version.c
|
|
||||||
$(CC) $(CFLAGS) -c version.c
|
|
||||||
|
|
||||||
+version_pic.o: version.c
|
|
||||||
+ $(CC) -fPIC $(CFLAGS) -c version.c -o $@
|
|
||||||
+
|
|
||||||
+
|
|
||||||
snprintf.o: $(srcdir)/missing/snprintf.c
|
|
||||||
$(CC) $(CFLAGS) -o $@ -c $(srcdir)/missing/snprintf.c
|
|
||||||
|
|
||||||
@@ -469,6 +501,9 @@
|
|
||||||
bpf_filter.o: bpf_filter.c
|
|
||||||
$(CC) $(CFLAGS) -c bpf_filter.c
|
|
||||||
|
|
||||||
+bpf_filter_pic.o: bpf_filter.c
|
|
||||||
+ $(CC) -fPIC $(CFLAGS) -c bpf_filter.c -o $@
|
|
||||||
+
|
|
||||||
#
|
|
||||||
# Generate the pcap-config script.
|
|
||||||
#
|
|
||||||
@@ -565,11 +600,9 @@
|
|
||||||
install-shared-so: libpcap.so
|
|
||||||
[ -d $(DESTDIR)$(libdir) ] || \
|
|
||||||
(mkdir -p $(DESTDIR)$(libdir); chmod 755 $(DESTDIR)$(libdir))
|
|
||||||
- VER=`cat $(srcdir)/VERSION`; \
|
|
||||||
- MAJOR_VER=`sed 's/\([0-9][0-9]*\)\..*/\1/' $(srcdir)/VERSION`; \
|
|
||||||
- $(INSTALL_PROGRAM) libpcap.so.$$VER $(DESTDIR)$(libdir)/libpcap.so.$$VER; \
|
|
||||||
- ln -sf libpcap.so.$$VER $(DESTDIR)$(libdir)/libpcap.so.$$MAJOR_VER; \
|
|
||||||
- ln -sf libpcap.so.$$MAJOR_VER $(DESTDIR)$(libdir)/libpcap.so
|
|
||||||
+ $(INSTALL_DATA) $(SHAREDLIB) $(DESTDIR)$(libdir)/
|
|
||||||
+ ln -sf $(SHAREDLIB) $(DESTDIR)$(libdir)/$(SOLIBRARY).$(MAJ)
|
|
||||||
+ ln -sf $(SOLIBRARY).$(MAJ) $(DESTDIR)$(libdir)/$(SOLIBRARY)
|
|
||||||
install-shared-dylib: libpcap.dylib
|
|
||||||
[ -d $(DESTDIR)$(libdir) ] || \
|
|
||||||
(mkdir -p $(DESTDIR)$(libdir); chmod 755 $(DESTDIR)$(libdir))
|
|
||||||
--- a/aclocal.m4
|
|
||||||
+++ b/aclocal.m4
|
|
||||||
@@ -245,7 +245,7 @@
|
|
||||||
# or accepts command-line arguments like
|
|
||||||
# those the GNU linker accepts.
|
|
||||||
#
|
|
||||||
- V_CCOPT="$V_CCOPT -fpic"
|
|
||||||
+ V_CCOPT="$V_CCOPT"
|
|
||||||
V_SONAME_OPT="-Wl,-soname,"
|
|
||||||
V_RPATH_OPT="-Wl,-rpath,"
|
|
||||||
;;
|
|
||||||
@@ -308,7 +308,7 @@
|
|
||||||
#
|
|
||||||
# "cc" is GCC.
|
|
||||||
#
|
|
||||||
- V_CCOPT="$V_CCOPT -fpic"
|
|
||||||
+ V_CCOPT="$V_CCOPT"
|
|
||||||
V_SHLIB_CMD="\$(CC)"
|
|
||||||
V_SHLIB_OPT="-shared"
|
|
||||||
V_SONAME_OPT="-Wl,-soname,"
|
|
||||||
--- a/configure
|
|
||||||
+++ b/configure
|
|
||||||
@@ -3229,7 +3229,7 @@
|
|
||||||
# or accepts command-line arguments like
|
|
||||||
# those the GNU linker accepts.
|
|
||||||
#
|
|
||||||
- V_CCOPT="$V_CCOPT -fpic"
|
|
||||||
+ V_CCOPT="$V_CCOPT"
|
|
||||||
V_SONAME_OPT="-Wl,-soname,"
|
|
||||||
V_RPATH_OPT="-Wl,-rpath,"
|
|
||||||
;;
|
|
||||||
@@ -3292,7 +3292,7 @@
|
|
||||||
#
|
|
||||||
# "cc" is GCC.
|
|
||||||
#
|
|
||||||
- V_CCOPT="$V_CCOPT -fpic"
|
|
||||||
+ V_CCOPT="$V_CCOPT"
|
|
||||||
V_SHLIB_CMD="\$(CC)"
|
|
||||||
V_SHLIB_OPT="-shared"
|
|
||||||
V_SONAME_OPT="-Wl,-soname,"
|
|
@@ -1,103 +0,0 @@
|
|||||||
Use a linker script.
|
|
||||||
---
|
|
||||||
Makefile.in | 2 -
|
|
||||||
libpcap.lds | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
||||||
2 files changed, 84 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
--- a/Makefile.in
|
|
||||||
+++ b/Makefile.in
|
|
||||||
@@ -67,7 +67,7 @@
|
|
||||||
|
|
||||||
# Standard CFLAGS
|
|
||||||
CFLAGS = $(CCOPT) $(INCLS) $(DEFS)
|
|
||||||
-CFLAGS_SHARED = -shared -Wl,-soname,$(SOLIBRARY).$(MAJ)
|
|
||||||
+CFLAGS_SHARED = -shared -Wl,-soname,$(SOLIBRARY).$(MAJ) -Wl,--version-script=libpcap.lds
|
|
||||||
|
|
||||||
INSTALL = @INSTALL@
|
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/libpcap.lds
|
|
||||||
@@ -0,0 +1,83 @@
|
|
||||||
+{
|
|
||||||
+ global:
|
|
||||||
+ bpf_dump;
|
|
||||||
+ bpf_filter;
|
|
||||||
+ bpf_image;
|
|
||||||
+ bpf_validate;
|
|
||||||
+ eproto_db;
|
|
||||||
+ pcap_breakloop;
|
|
||||||
+ pcap_can_set_rfmon;
|
|
||||||
+ pcap_close;
|
|
||||||
+ pcap_compile;
|
|
||||||
+ pcap_compile_nopcap;
|
|
||||||
+ pcap_datalink;
|
|
||||||
+ pcap_datalink_name_to_val;
|
|
||||||
+ pcap_datalink_val_to_description;
|
|
||||||
+ pcap_datalink_val_to_name;
|
|
||||||
+ pcap_dispatch;
|
|
||||||
+ pcap_dump;
|
|
||||||
+ pcap_dump_close;
|
|
||||||
+ pcap_dump_file;
|
|
||||||
+ pcap_dump_flush;
|
|
||||||
+ pcap_dump_fopen;
|
|
||||||
+ pcap_dump_ftell;
|
|
||||||
+ pcap_dump_open;
|
|
||||||
+ pcap_ether_aton;
|
|
||||||
+ pcap_ether_hostton;
|
|
||||||
+ pcap_file;
|
|
||||||
+ pcap_fileno;
|
|
||||||
+ pcap_findalldevs;
|
|
||||||
+ pcap_fopen_offline;
|
|
||||||
+ pcap_freealldevs;
|
|
||||||
+ pcap_freecode;
|
|
||||||
+ pcap_get_selectable_fd;
|
|
||||||
+ pcap_geterr;
|
|
||||||
+ pcap_getnonblock;
|
|
||||||
+ pcap_inject;
|
|
||||||
+ pcap_is_swapped;
|
|
||||||
+ pcap_lib_version;
|
|
||||||
+ pcap_list_datalinks;
|
|
||||||
+ pcap_lookupdev;
|
|
||||||
+ pcap_lookupnet;
|
|
||||||
+ pcap_loop;
|
|
||||||
+ pcap_major_version;
|
|
||||||
+ pcap_minor_version;
|
|
||||||
+ pcap_nametoaddr;
|
|
||||||
+ pcap_nametoaddrinfo;
|
|
||||||
+ pcap_nametoeproto;
|
|
||||||
+ pcap_nametollc;
|
|
||||||
+ pcap_nametonetaddr;
|
|
||||||
+ pcap_nametoport;
|
|
||||||
+ pcap_nametoportrange;
|
|
||||||
+ pcap_nametoproto;
|
|
||||||
+ pcap_next;
|
|
||||||
+ pcap_next_etherent;
|
|
||||||
+ pcap_next_ex;
|
|
||||||
+ pcap_open_dead;
|
|
||||||
+ pcap_open_live;
|
|
||||||
+ pcap_open_offline;
|
|
||||||
+ pcap_perror;
|
|
||||||
+ pcap_sendpacket;
|
|
||||||
+ pcap_set_datalink;
|
|
||||||
+ pcap_setdirection;
|
|
||||||
+ pcap_setfilter;
|
|
||||||
+ pcap_setnonblock;
|
|
||||||
+ pcap_snapshot;
|
|
||||||
+ pcap_stats;
|
|
||||||
+ pcap_statustostr;
|
|
||||||
+ pcap_strerror;
|
|
||||||
+ pcap_version;
|
|
||||||
+ /* introduced in pcap 1.0 */
|
|
||||||
+ pcap_activate;
|
|
||||||
+ pcap_create;
|
|
||||||
+ pcap_datalink_ext;
|
|
||||||
+ pcap_free_datalinks;
|
|
||||||
+ pcap_offline_filter;
|
|
||||||
+ pcap_set_buffer_size;
|
|
||||||
+ pcap_set_promisc;
|
|
||||||
+ pcap_set_rfmon;
|
|
||||||
+ pcap_set_snaplen;
|
|
||||||
+ pcap_set_timeout;
|
|
||||||
+ local:
|
|
||||||
+ *;
|
|
||||||
+};
|
|
@@ -1,17 +0,0 @@
|
|||||||
Misc. fixes to the upstream man page.
|
|
||||||
|
|
||||||
---
|
|
||||||
pcap.3pcap.in | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
--- a/pcap.3pcap.in
|
|
||||||
+++ b/pcap.3pcap.in
|
|
||||||
@@ -363,7 +363,7 @@
|
|
||||||
script or some other configuration script to check whether the libpcap
|
|
||||||
1.0 APIs are available and use them only if they are.
|
|
||||||
.SH SEE ALSO
|
|
||||||
-autoconf(1), tcpdump(1), tcpslice(1), pcap-filter(@MAN_MISC_INFO@), pfconfig(8),
|
|
||||||
+autoconf(1), tcpdump(8), tcpslice(1), pcap-filter(@MAN_MISC_INFO@), pfconfig(8),
|
|
||||||
usermod(1M)
|
|
||||||
.SH AUTHORS
|
|
||||||
The original authors of libpcap are:
|
|
@@ -1,16 +0,0 @@
|
|||||||
Fix USB bus path; /proc/bus/usb is deprecated.
|
|
||||||
---
|
|
||||||
pcap-usb-linux.c | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
--- a/pcap-usb-linux.c
|
|
||||||
+++ b/pcap-usb-linux.c
|
|
||||||
@@ -68,7 +68,7 @@
|
|
||||||
#define USB_TEXT_DIR_OLD "/sys/kernel/debug/usbmon"
|
|
||||||
#define USB_TEXT_DIR "/sys/kernel/debug/usb/usbmon"
|
|
||||||
#define SYS_USB_BUS_DIR "/sys/bus/usb/devices"
|
|
||||||
-#define PROC_USB_BUS_DIR "/proc/bus/usb"
|
|
||||||
+#define PROC_USB_BUS_DIR "/dev/bus/usb"
|
|
||||||
#define USB_LINE_LEN 4096
|
|
||||||
|
|
||||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
|
@@ -1,147 +0,0 @@
|
|||||||
Support for GNU/kFreeBSD, by Aurelien Jarno and others.
|
|
||||||
---
|
|
||||||
configure | 62 ++---------------------------------------------------------
|
|
||||||
configure.in | 19 ++----------------
|
|
||||||
2 files changed, 6 insertions(+), 75 deletions(-)
|
|
||||||
|
|
||||||
--- a/configure.in
|
|
||||||
+++ b/configure.in
|
|
||||||
@@ -104,6 +104,7 @@
|
|
||||||
dnl
|
|
||||||
AC_CHECK_HEADERS(sys/ioccom.h sys/sockio.h limits.h paths.h)
|
|
||||||
AC_CHECK_HEADERS(net/pfvar.h, , , [#include <sys/types.h>
|
|
||||||
+#include <net/if_pflog.h>
|
|
||||||
#include <sys/socket.h>
|
|
||||||
#include <net/if.h>])
|
|
||||||
if test "$ac_cv_header_net_pfvar_h" = yes; then
|
|
||||||
@@ -304,7 +305,7 @@
|
|
||||||
#
|
|
||||||
V_PCAP=bpf
|
|
||||||
AC_DEFINE(HAVE_CLONING_BPF,1,[define if you have a cloning BPF device])
|
|
||||||
-elif test -r /dev/bpf0 ; then
|
|
||||||
+elif test -r /dev/bpf0 || test -r /usr/include/net/bpf.h ; then
|
|
||||||
V_PCAP=bpf
|
|
||||||
elif test -r /usr/include/net/pfilt.h ; then
|
|
||||||
V_PCAP=pf
|
|
||||||
@@ -464,20 +465,6 @@
|
|
||||||
#
|
|
||||||
AC_CHECK_HEADERS(net/if_media.h)
|
|
||||||
|
|
||||||
- AC_MSG_CHECKING(whether the system supports zerocopy BPF)
|
|
||||||
- AC_TRY_COMPILE(
|
|
||||||
- [#include <sys/socket.h>
|
|
||||||
- #include <sys/ioctl.h>
|
|
||||||
- #include <net/if.h>
|
|
||||||
- #include <net/bpf.h>],
|
|
||||||
- [return (BIOCROTZBUF + BPF_BUFMODE_ZBUF);],
|
|
||||||
- [
|
|
||||||
- AC_MSG_RESULT(yes)
|
|
||||||
- AC_DEFINE(HAVE_ZEROCOPY_BPF, 1,
|
|
||||||
- [define if the system supports zerocopy BPF])
|
|
||||||
- ],
|
|
||||||
- AC_MSG_RESULT(no))
|
|
||||||
-
|
|
||||||
#
|
|
||||||
# Check whether we have struct BPF_TIMEVAL.
|
|
||||||
#
|
|
||||||
@@ -1234,7 +1221,7 @@
|
|
||||||
MAN_MISC_INFO=5
|
|
||||||
;;
|
|
||||||
|
|
||||||
-linux*|freebsd*|netbsd*|openbsd*|dragonfly*)
|
|
||||||
+linux*|freebsd*|netbsd*|openbsd*|dragonfly*|kfreebsd*)
|
|
||||||
DYEXT="so"
|
|
||||||
|
|
||||||
#
|
|
||||||
--- a/configure
|
|
||||||
+++ b/configure
|
|
||||||
@@ -5440,6 +5440,7 @@
|
|
||||||
cat >>conftest.$ac_ext <<_ACEOF
|
|
||||||
/* end confdefs.h. */
|
|
||||||
#include <sys/types.h>
|
|
||||||
+#include <net/if_pflog.h>
|
|
||||||
#include <sys/socket.h>
|
|
||||||
#include <net/if.h>
|
|
||||||
|
|
||||||
@@ -6923,7 +6924,7 @@
|
|
||||||
#define HAVE_CLONING_BPF 1
|
|
||||||
_ACEOF
|
|
||||||
|
|
||||||
-elif test -r /dev/bpf0 ; then
|
|
||||||
+elif test -r /dev/bpf0 || test -r /usr/include/net/bpf.h ; then
|
|
||||||
V_PCAP=bpf
|
|
||||||
elif test -r /usr/include/net/pfilt.h ; then
|
|
||||||
V_PCAP=pf
|
|
||||||
@@ -7665,63 +7666,6 @@
|
|
||||||
|
|
||||||
done
|
|
||||||
|
|
||||||
-
|
|
||||||
- { echo "$as_me:$LINENO: checking whether the system supports zerocopy BPF" >&5
|
|
||||||
-echo $ECHO_N "checking whether the system supports zerocopy BPF... $ECHO_C" >&6; }
|
|
||||||
- cat >conftest.$ac_ext <<_ACEOF
|
|
||||||
-/* confdefs.h. */
|
|
||||||
-_ACEOF
|
|
||||||
-cat confdefs.h >>conftest.$ac_ext
|
|
||||||
-cat >>conftest.$ac_ext <<_ACEOF
|
|
||||||
-/* end confdefs.h. */
|
|
||||||
-#include <sys/socket.h>
|
|
||||||
- #include <sys/ioctl.h>
|
|
||||||
- #include <net/if.h>
|
|
||||||
- #include <net/bpf.h>
|
|
||||||
-int
|
|
||||||
-main ()
|
|
||||||
-{
|
|
||||||
-return (BIOCROTZBUF + BPF_BUFMODE_ZBUF);
|
|
||||||
- ;
|
|
||||||
- return 0;
|
|
||||||
-}
|
|
||||||
-_ACEOF
|
|
||||||
-rm -f conftest.$ac_objext
|
|
||||||
-if { (ac_try="$ac_compile"
|
|
||||||
-case "(($ac_try" in
|
|
||||||
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
||||||
- *) ac_try_echo=$ac_try;;
|
|
||||||
-esac
|
|
||||||
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
||||||
- (eval "$ac_compile") 2>conftest.er1
|
|
||||||
- ac_status=$?
|
|
||||||
- grep -v '^ *+' conftest.er1 >conftest.err
|
|
||||||
- rm -f conftest.er1
|
|
||||||
- cat conftest.err >&5
|
|
||||||
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
||||||
- (exit $ac_status); } && {
|
|
||||||
- test -z "$ac_c_werror_flag" ||
|
|
||||||
- test ! -s conftest.err
|
|
||||||
- } && test -s conftest.$ac_objext; then
|
|
||||||
-
|
|
||||||
- { echo "$as_me:$LINENO: result: yes" >&5
|
|
||||||
-echo "${ECHO_T}yes" >&6; }
|
|
||||||
-
|
|
||||||
-cat >>confdefs.h <<\_ACEOF
|
|
||||||
-#define HAVE_ZEROCOPY_BPF 1
|
|
||||||
-_ACEOF
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-else
|
|
||||||
- echo "$as_me: failed program was:" >&5
|
|
||||||
-sed 's/^/| /' conftest.$ac_ext >&5
|
|
||||||
-
|
|
||||||
- { echo "$as_me:$LINENO: result: no" >&5
|
|
||||||
-echo "${ECHO_T}no" >&6; }
|
|
||||||
-fi
|
|
||||||
-
|
|
||||||
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
||||||
-
|
|
||||||
#
|
|
||||||
# Check whether we have struct BPF_TIMEVAL.
|
|
||||||
#
|
|
||||||
@@ -9607,7 +9551,7 @@
|
|
||||||
MAN_MISC_INFO=5
|
|
||||||
;;
|
|
||||||
|
|
||||||
-linux*|freebsd*|netbsd*|openbsd*|dragonfly*)
|
|
||||||
+linux*|freebsd*|netbsd*|openbsd*|dragonfly*|kfreebsd*)
|
|
||||||
DYEXT="so"
|
|
||||||
|
|
||||||
#
|
|
@@ -1,6 +1,6 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'1.6.8'
|
'1.6.12'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
@@ -10,7 +10,7 @@ url=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'51ce71a1642cdde1f4485a7ff82193c0'
|
'ee752da8aa75076500e4cf31318e636e'
|
||||||
)
|
)
|
||||||
|
|
||||||
configure()
|
configure()
|
||||||
|
78
rules/libswiftnav/default.bash
Normal file
78
rules/libswiftnav/default.bash
Normal file
@@ -0,0 +1,78 @@
|
|||||||
|
version=\
|
||||||
|
(
|
||||||
|
'0.11'
|
||||||
|
)
|
||||||
|
|
||||||
|
url=\
|
||||||
|
(
|
||||||
|
"https://github.com/swift-nav/libswiftnav/archive/v$version.tar.gz"
|
||||||
|
)
|
||||||
|
|
||||||
|
md5=\
|
||||||
|
(
|
||||||
|
'54e4d1bf00f116147f28cb92520e7e7d'
|
||||||
|
)
|
||||||
|
|
||||||
|
maintainer=\
|
||||||
|
(
|
||||||
|
'Kristian Klausen <kristian.klausen@itk.ntnu.no>'
|
||||||
|
)
|
||||||
|
|
||||||
|
requires=\
|
||||||
|
(
|
||||||
|
'cmake/host'
|
||||||
|
)
|
||||||
|
|
||||||
|
post_unpack()
|
||||||
|
{
|
||||||
|
patches=$(ls "$pkg_dir/patches/$version/"*.patch\
|
||||||
|
"$cfg_dir_system/patches/libswiftnav/"*.patch 2>/dev/null)
|
||||||
|
if [ -n "$patches" ]; then
|
||||||
|
cat $patches | patch -p1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
configure()
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
mkdir -p ../build &&
|
||||||
|
cd ../build
|
||||||
|
echo "$cmd_target_cc"
|
||||||
|
${cfg_dir_toolchain}/usr/local/bin/cmake \
|
||||||
|
-DCROSS="$cmd_target_cc" \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_C_COMPILER="${cmd_target_cc}" \
|
||||||
|
-DCMAKE_CXX_COMPILER="${cmd_target_cxx}" \
|
||||||
|
-DCMAKE_FIND_ROOT_PATH="${cfg_dir_toolchain_sysroot}/usr" \
|
||||||
|
-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \
|
||||||
|
-DCMAKE_INSTALL_PREFIX="$cfg_dir_toolchain_sysroot/usr" \
|
||||||
|
-DCMAKE_C_FLAGS="${cfg_target_gcc_flags} -fPIC" \
|
||||||
|
-DCMAKE_SYSTEM_NAME="Linux" \
|
||||||
|
-DCMAKE_SYSTEM_PROCESSOR="$cfg_architecture" \
|
||||||
|
"../libswiftnav-$version"
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
build()
|
||||||
|
{
|
||||||
|
cd ${pkg_build_dir}/../build &&
|
||||||
|
$cmd_make
|
||||||
|
}
|
||||||
|
|
||||||
|
host_install()
|
||||||
|
{
|
||||||
|
cd ${pkg_build_dir}/../build &&
|
||||||
|
$cmd_make install
|
||||||
|
}
|
||||||
|
|
||||||
|
target_install()
|
||||||
|
{
|
||||||
|
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libswiftnav*so; do
|
||||||
|
if [ -L "$f" ]; then
|
||||||
|
cp -vd "$f" "$cfg_dir_rootfs/lib"
|
||||||
|
else
|
||||||
|
$cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/lib/$(basename "$f")"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
}
|
@@ -1,108 +0,0 @@
|
|||||||
post_unpack()
|
|
||||||
{
|
|
||||||
patches=$(ls "$pkg_dir/patches-$version/"*.patch\
|
|
||||||
"$cfg_dir_system/patches/linux/patches-${version}/"*.patch 2>/dev/null)
|
|
||||||
if [ -n "$patches" ]; then
|
|
||||||
cat $patches | patch -p1
|
|
||||||
fi
|
|
||||||
|
|
||||||
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 [ "$cfg_dir_system/cfg/linux-${version}.cfg" -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 &&
|
|
||||||
|
|
||||||
cp "$cfg_dir_system/cfg/linux-${version}.cfg" .config &&
|
|
||||||
|
|
||||||
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 &&
|
|
||||||
$cmd_make \
|
|
||||||
CROSS_COMPILE=$cfg_target_canonical- \
|
|
||||||
ARCH=$cfg_target_linux \
|
|
||||||
modules &&
|
|
||||||
|
|
||||||
if [ "$(basename $cfg_target_linux_kernel)" = 'uImage' ]; then
|
|
||||||
$cmd_make \
|
|
||||||
CROSS_COMPILE=$cfg_target_canonical- \
|
|
||||||
ARCH=$cfg_target_linux \
|
|
||||||
uImage
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Compressed image.
|
|
||||||
if [ "$(basename $cfg_target_linux_kernel)" = 'zImage' ]; then
|
|
||||||
$cmd_make \
|
|
||||||
CROSS_COMPILE=$cfg_target_canonical- \
|
|
||||||
ARCH=$cfg_target_linux \
|
|
||||||
zImage
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Device tree blob.
|
|
||||||
if [ -n "$cfg_target_linux_dtb" ]; then
|
|
||||||
$cmd_make \
|
|
||||||
CROSS_COMPILE=$cfg_target_canonical- \
|
|
||||||
ARCH=$cfg_target_linux \
|
|
||||||
dtbs
|
|
||||||
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()
|
|
||||||
{
|
|
||||||
kernel="$cfg_dir_base/${cfg_sys_family}/glued-${cfg_glued_version}-${cfg_sys_family}-kernel.bin"
|
|
||||||
|
|
||||||
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" "$kernel"
|
|
||||||
cp -v "$cfg_target_linux_kernel" "$cfg_dir_rootfs/boot/kernel"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Device tree blob.
|
|
||||||
if [ -n "$cfg_target_linux_dtb" ]; then
|
|
||||||
cp -v "$cfg_target_linux_dtb" "$cfg_dir_rootfs/boot/board.dtb"
|
|
||||||
fi
|
|
||||||
|
|
||||||
$cmd_make \
|
|
||||||
CROSS_COMPILE="$cfg_target_canonical-" \
|
|
||||||
ARCH="$cfg_target_linux" \
|
|
||||||
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
|
|
||||||
modules_install
|
|
||||||
|
|
||||||
$cmd_make \
|
|
||||||
CROSS_COMPILE="$cfg_target_canonical-" \
|
|
||||||
ARCH="$cfg_target_linux" \
|
|
||||||
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
|
|
||||||
firmware_install
|
|
||||||
}
|
|
@@ -1,8 +1,6 @@
|
|||||||
source "$pkg_common"
|
|
||||||
|
|
||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'3.13.11'
|
'3.14.16'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
@@ -12,7 +10,7 @@ url=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'd4e06af8b674ac74ba745d52e4382bd3'
|
'469c879236ed694f60b81122e91ca02e'
|
||||||
)
|
)
|
||||||
|
|
||||||
maintainer=\
|
maintainer=\
|
||||||
@@ -22,6 +20,120 @@ maintainer=\
|
|||||||
|
|
||||||
requires=\
|
requires=\
|
||||||
(
|
(
|
||||||
|
'bc/host'
|
||||||
'kmod/host'
|
'kmod/host'
|
||||||
'lz4/host'
|
'lz4/host'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
post_unpack()
|
||||||
|
{
|
||||||
|
patches=$(ls "$pkg_dir/patches/$version/"*.patch\
|
||||||
|
"$cfg_dir_system/patches/linux/$version/"*.patch 2>/dev/null)
|
||||||
|
if [ -n "$patches" ]; then
|
||||||
|
cat $patches | patch -p1
|
||||||
|
fi
|
||||||
|
|
||||||
|
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 [ "$cfg_dir_system/cfg/linux-${version}.cfg" -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 &&
|
||||||
|
|
||||||
|
cp "$cfg_dir_system/cfg/linux-${version}.cfg" .config &&
|
||||||
|
|
||||||
|
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 &&
|
||||||
|
$cmd_make \
|
||||||
|
CROSS_COMPILE=$cfg_target_canonical- \
|
||||||
|
ARCH=$cfg_target_linux \
|
||||||
|
modules &&
|
||||||
|
|
||||||
|
if [ "$(basename $cfg_target_linux_kernel)" = 'uImage' ]; then
|
||||||
|
$cmd_make \
|
||||||
|
CROSS_COMPILE=$cfg_target_canonical- \
|
||||||
|
ARCH=$cfg_target_linux \
|
||||||
|
uImage
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Compressed image.
|
||||||
|
if [ "$(basename $cfg_target_linux_kernel)" = 'zImage' ]; then
|
||||||
|
$cmd_make \
|
||||||
|
CROSS_COMPILE=$cfg_target_canonical- \
|
||||||
|
ARCH=$cfg_target_linux \
|
||||||
|
zImage
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Device tree blob.
|
||||||
|
if [ -n "$cfg_target_linux_dtb" ]; then
|
||||||
|
$cmd_make \
|
||||||
|
CROSS_COMPILE=$cfg_target_canonical- \
|
||||||
|
ARCH=$cfg_target_linux \
|
||||||
|
dtbs
|
||||||
|
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
|
||||||
|
}
|
||||||
|
|
||||||
|
host_install()
|
||||||
|
{
|
||||||
|
# Device tree blobs.
|
||||||
|
if [ -n "$cfg_target_linux_dtb" ]; then
|
||||||
|
$cmd_mkdir "$cfg_dir_toolchain/boot" &&
|
||||||
|
cp -v "$(dirname $cfg_target_linux_dtb)/"*.dtb "$cfg_dir_toolchain/boot"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
target_install()
|
||||||
|
{
|
||||||
|
kernel="$cfg_dir_base/${cfg_sys_family}/glued-${cfg_glued_version}-${cfg_sys_family}-kernel.bin"
|
||||||
|
|
||||||
|
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" "$kernel"
|
||||||
|
cp -v "$cfg_target_linux_kernel" "$cfg_dir_rootfs/boot/kernel"
|
||||||
|
fi
|
||||||
|
|
||||||
|
$cmd_make \
|
||||||
|
CROSS_COMPILE="$cfg_target_canonical-" \
|
||||||
|
ARCH="$cfg_target_linux" \
|
||||||
|
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
|
||||||
|
modules_install
|
||||||
|
|
||||||
|
$cmd_make \
|
||||||
|
CROSS_COMPILE="$cfg_target_canonical-" \
|
||||||
|
ARCH="$cfg_target_linux" \
|
||||||
|
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
|
||||||
|
firmware_install
|
||||||
|
}
|
||||||
|
@@ -1,27 +0,0 @@
|
|||||||
source "$pkg_common"
|
|
||||||
|
|
||||||
version=\
|
|
||||||
(
|
|
||||||
'3.5.4'
|
|
||||||
)
|
|
||||||
|
|
||||||
url=\
|
|
||||||
(
|
|
||||||
"http://www.kernel.org/pub/linux/kernel/v3.0/linux-$version.tar.bz2"
|
|
||||||
)
|
|
||||||
|
|
||||||
md5=\
|
|
||||||
(
|
|
||||||
'95d5c7271ad448bc965bdb29339b6923'
|
|
||||||
)
|
|
||||||
|
|
||||||
maintainer=\
|
|
||||||
(
|
|
||||||
'Ricardo Martins <rasm@fe.up.pt>'
|
|
||||||
)
|
|
||||||
|
|
||||||
requires=\
|
|
||||||
(
|
|
||||||
'u-boot'
|
|
||||||
'kmod/host'
|
|
||||||
)
|
|
@@ -1,6 +1,6 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
"v2_2_0"
|
'v2_2_3'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
@@ -10,7 +10,7 @@ url=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
"27024148b389b98f1821252a7ba87b19"
|
'9de40ec1dab5bd2787ee344fce5846ad'
|
||||||
)
|
)
|
||||||
|
|
||||||
configure()
|
configure()
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'3.1.0'
|
'3.1.1'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
@@ -10,7 +10,7 @@ url=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'3be148772a33224771a8d4d2a028b132'
|
'43bd6676f0b404326eee2d63be3cdcfe'
|
||||||
)
|
)
|
||||||
|
|
||||||
maintainer=\
|
maintainer=\
|
||||||
|
@@ -1,16 +1,16 @@
|
|||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
4.3.0
|
'4.6.1'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
(
|
(
|
||||||
http://www.tcpdump.org/release/tcpdump-$version.tar.gz
|
"http://www.tcpdump.org/release/tcpdump-$version.tar.gz"
|
||||||
)
|
)
|
||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
a3fe4d30ac85ff5467c889ff46b7e1e8
|
'dab267ec30216a069747d10314079ec7'
|
||||||
)
|
)
|
||||||
|
|
||||||
requires=\
|
requires=\
|
||||||
@@ -21,7 +21,7 @@ requires=\
|
|||||||
configure()
|
configure()
|
||||||
{
|
{
|
||||||
echo 'ac_cv_linux_vers=${ac_cv_linux_vers=2}' > config.cache
|
echo 'ac_cv_linux_vers=${ac_cv_linux_vers=2}' > config.cache
|
||||||
../tcpdump-$version/configure -C \
|
"../tcpdump-$version/configure" -C \
|
||||||
--prefix="$cfg_dir_toolchain_sysroot/usr" \
|
--prefix="$cfg_dir_toolchain_sysroot/usr" \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
@@ -29,7 +29,8 @@ configure()
|
|||||||
--host=$cfg_target_canonical \
|
--host=$cfg_target_canonical \
|
||||||
--build=$cfg_host_canonical \
|
--build=$cfg_host_canonical \
|
||||||
--includedir="$cfg_dir_toolchain_sysroot/usr/include" \
|
--includedir="$cfg_dir_toolchain_sysroot/usr/include" \
|
||||||
--libdir="$cfg_dir_toolchain_sysroot/usr/lib"
|
--libdir="$cfg_dir_toolchain_sysroot/usr/lib" \
|
||||||
|
--disable-ipv6
|
||||||
}
|
}
|
||||||
|
|
||||||
build()
|
build()
|
||||||
|
14
rules/termcap/common.bash
Normal file
14
rules/termcap/common.bash
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
version=\
|
||||||
|
(
|
||||||
|
'1.3.1'
|
||||||
|
)
|
||||||
|
|
||||||
|
url=\
|
||||||
|
(
|
||||||
|
"ftp://ftp.gnu.org/gnu/termcap/termcap-$version.tar.gz"
|
||||||
|
)
|
||||||
|
|
||||||
|
md5=\
|
||||||
|
(
|
||||||
|
'ffe6f86e63a3a29fa53ac645faaabdfa'
|
||||||
|
)
|
@@ -1,17 +1,4 @@
|
|||||||
version=\
|
source "$pkg_common"
|
||||||
(
|
|
||||||
'1.3.1'
|
|
||||||
)
|
|
||||||
|
|
||||||
url=\
|
|
||||||
(
|
|
||||||
"ftp://ftp.gnu.org/gnu/termcap/termcap-$version.tar.gz"
|
|
||||||
)
|
|
||||||
|
|
||||||
md5=\
|
|
||||||
(
|
|
||||||
'ffe6f86e63a3a29fa53ac645faaabdfa'
|
|
||||||
)
|
|
||||||
|
|
||||||
configure()
|
configure()
|
||||||
{
|
{
|
||||||
@@ -35,7 +22,7 @@ host_install()
|
|||||||
|
|
||||||
target_install()
|
target_install()
|
||||||
{
|
{
|
||||||
# Libs:
|
# Libs:
|
||||||
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libtermcap*; do
|
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libtermcap*; do
|
||||||
if [ -L "$f" ]; then
|
if [ -L "$f" ]; then
|
||||||
$cmd_cp "$f" "$cfg_dir_rootfs/usr/lib"
|
$cmd_cp "$f" "$cfg_dir_rootfs/usr/lib"
|
||||||
|
19
rules/termcap/host.bash
Normal file
19
rules/termcap/host.bash
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
source "$pkg_common"
|
||||||
|
|
||||||
|
configure()
|
||||||
|
{
|
||||||
|
./configure \
|
||||||
|
--prefix="$cfg_dir_toolchain" \
|
||||||
|
--enable-shared \
|
||||||
|
--disable-nls
|
||||||
|
}
|
||||||
|
|
||||||
|
build()
|
||||||
|
{
|
||||||
|
$cmd_make
|
||||||
|
}
|
||||||
|
|
||||||
|
host_install()
|
||||||
|
{
|
||||||
|
$cmd_make install
|
||||||
|
}
|
@@ -1,41 +0,0 @@
|
|||||||
post_unpack()
|
|
||||||
{
|
|
||||||
patches=$(ls "$pkg_dir/patches-$version/"*.patch\
|
|
||||||
"$cfg_dir_system/patches/u-boot/patches-${version}/"*.patch 2>/dev/null)
|
|
||||||
if [ -n "$patches" ]; then
|
|
||||||
cat $patches | patch -p1
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
configure()
|
|
||||||
{
|
|
||||||
$cmd_make \
|
|
||||||
ARCH="$cfg_target_uboot_arch" \
|
|
||||||
CROSS_COMPILE="$cfg_target_canonical"- \
|
|
||||||
"$cfg_target_uboot_config"
|
|
||||||
}
|
|
||||||
|
|
||||||
build()
|
|
||||||
{
|
|
||||||
$cmd_make \
|
|
||||||
ARCH="$cfg_target_uboot_arch" \
|
|
||||||
CROSS_COMPILE="$cfg_target_canonical"-
|
|
||||||
}
|
|
||||||
|
|
||||||
host_install()
|
|
||||||
{
|
|
||||||
$cmd_cp \
|
|
||||||
tools/mkimage \
|
|
||||||
"$cfg_dir_toolchain/bin"
|
|
||||||
}
|
|
||||||
|
|
||||||
target_install()
|
|
||||||
{
|
|
||||||
if [ -f MLO ]; then
|
|
||||||
$cmd_cp MLO "$cfg_dir_rootfs/boot"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -f u-boot.img ]; then
|
|
||||||
$cmd_cp u-boot.img "$cfg_dir_rootfs/boot"
|
|
||||||
fi
|
|
||||||
}
|
|
@@ -1,8 +1,6 @@
|
|||||||
source "$pkg_common"
|
|
||||||
|
|
||||||
version=\
|
version=\
|
||||||
(
|
(
|
||||||
'2014.01'
|
'2014.07'
|
||||||
)
|
)
|
||||||
|
|
||||||
url=\
|
url=\
|
||||||
@@ -12,5 +10,44 @@ url=\
|
|||||||
|
|
||||||
md5=\
|
md5=\
|
||||||
(
|
(
|
||||||
'e531307578f6d32a7ccb1d04f1e08cbc'
|
'36d4bad687edcafa396fee607e505d4e'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
post_unpack()
|
||||||
|
{
|
||||||
|
patches=$(ls "$pkg_dir/patches/$version/"*.patch\
|
||||||
|
"$cfg_dir_system/patches/u-boot/$version/"*.patch 2>/dev/null)
|
||||||
|
if [ -n "$patches" ]; then
|
||||||
|
cat $patches | patch -p1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
configure()
|
||||||
|
{
|
||||||
|
$cmd_make \
|
||||||
|
"${cfg_target_uboot_config}_config"
|
||||||
|
}
|
||||||
|
|
||||||
|
build()
|
||||||
|
{
|
||||||
|
$cmd_make \
|
||||||
|
CROSS_COMPILE="$cfg_target_canonical"-
|
||||||
|
}
|
||||||
|
|
||||||
|
host_install()
|
||||||
|
{
|
||||||
|
$cmd_cp \
|
||||||
|
tools/mkimage \
|
||||||
|
"$cfg_dir_toolchain/bin"
|
||||||
|
}
|
||||||
|
|
||||||
|
target_install()
|
||||||
|
{
|
||||||
|
if [ -f MLO ]; then
|
||||||
|
$cmd_cp MLO "$cfg_dir_rootfs/boot"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f u-boot.img ]; then
|
||||||
|
$cmd_cp u-boot.img "$cfg_dir_rootfs/boot"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
@@ -1,12 +0,0 @@
|
|||||||
source "$pkg_dir/default.bash"
|
|
||||||
|
|
||||||
host_install()
|
|
||||||
{
|
|
||||||
$cmd_mkdir ${cfg_dir_rootfs}/../boot/
|
|
||||||
$cmd_cp u-boot.bin ${cfg_dir_rootfs}/../boot/
|
|
||||||
}
|
|
||||||
|
|
||||||
target_install()
|
|
||||||
{
|
|
||||||
echo "using dummy 'target_install'."
|
|
||||||
}
|
|
@@ -1,5 +1,10 @@
|
|||||||
source "$pkg_common"
|
source "$pkg_common"
|
||||||
|
|
||||||
|
requires=\
|
||||||
|
(
|
||||||
|
'termcap/host'
|
||||||
|
)
|
||||||
|
|
||||||
configure()
|
configure()
|
||||||
{
|
{
|
||||||
cd "$pkg_build_dir" &&
|
cd "$pkg_build_dir" &&
|
||||||
|
@@ -4,7 +4,7 @@ cfg_services0='dropbear network storage upgrade syslog escc ptpd setserial'
|
|||||||
cfg_services1=''
|
cfg_services1=''
|
||||||
cfg_services2='dune'
|
cfg_services2='dune'
|
||||||
cfg_modules=''
|
cfg_modules=''
|
||||||
cfg_packages='zlib dropbear rsync busybox flashrom e2fsprogs socat linux escc syslinux syslinux/host ptpd ntp uswitch pciutils apache-ant/host bzip2 libantlr3c boost europa'
|
cfg_packages='zlib dropbear rsync busybox flashrom e2fsprogs socat linux escc syslinux syslinux/host ptpd ntp uswitch pciutils bzip2'
|
||||||
cfg_terminal='ttyS0'
|
cfg_terminal='ttyS0'
|
||||||
cfg_target_linux_kernel='arch/x86/boot/bzImage'
|
cfg_target_linux_kernel='arch/x86/boot/bzImage'
|
||||||
cfg_ptpd_master='true'
|
cfg_ptpd_master='true'
|
||||||
|
5
systems/lctr-a6xx/lauv-dolphin-2.cfg
Normal file
5
systems/lctr-a6xx/lauv-dolphin-2.cfg
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
cfg_hostname='lauv-dolphin-2'
|
||||||
|
cfg_eth_ext_ip='10.0.10.140'
|
||||||
|
cfg_packages="$cfg_packages"
|
||||||
|
cfg_escc_script='/etc/escc/ifog-imu-1-a.sh'
|
||||||
|
cfg_dune_i18n='C'
|
5
systems/lctr-a6xx/lauv-dolphin-3.cfg
Normal file
5
systems/lctr-a6xx/lauv-dolphin-3.cfg
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
cfg_hostname='lauv-dolphin-3'
|
||||||
|
cfg_eth_ext_ip='10.0.10.150'
|
||||||
|
cfg_packages="$cfg_packages"
|
||||||
|
cfg_escc_script='/etc/escc/ifog-imu-1-a.sh'
|
||||||
|
cfg_dune_i18n='C'
|
2
systems/lctr-a6xx/lauv-lupis-1.cfg
Normal file
2
systems/lctr-a6xx/lauv-lupis-1.cfg
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
cfg_hostname='lauv-lupis-1'
|
||||||
|
cfg_eth_ext_ip='10.0.10.130'
|
@@ -1,2 +0,0 @@
|
|||||||
cfg_hostname="ardupilot-testbed"
|
|
||||||
cfg_eth_ext_ip="10.0.200.6"
|
|
@@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# Automatically generated file; DO NOT EDIT.
|
# Automatically generated file; DO NOT EDIT.
|
||||||
# Linux/arm 3.13.1 Kernel Configuration
|
# Linux/arm 3.14.16 Kernel Configuration
|
||||||
#
|
#
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
|
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
|
||||||
@@ -102,7 +102,6 @@ CONFIG_GENERIC_SCHED_CLOCK=y
|
|||||||
# CONFIG_CGROUPS is not set
|
# CONFIG_CGROUPS is not set
|
||||||
# CONFIG_CHECKPOINT_RESTORE is not set
|
# CONFIG_CHECKPOINT_RESTORE is not set
|
||||||
# CONFIG_NAMESPACES is not set
|
# CONFIG_NAMESPACES is not set
|
||||||
# CONFIG_UIDGID_STRICT_TYPE_CHECKS is not set
|
|
||||||
# CONFIG_SCHED_AUTOGROUP is not set
|
# CONFIG_SCHED_AUTOGROUP is not set
|
||||||
# CONFIG_SYSFS_DEPRECATED is not set
|
# CONFIG_SYSFS_DEPRECATED is not set
|
||||||
# CONFIG_RELAY is not set
|
# CONFIG_RELAY is not set
|
||||||
@@ -140,11 +139,14 @@ CONFIG_COMPAT_BRK=y
|
|||||||
CONFIG_SLAB=y
|
CONFIG_SLAB=y
|
||||||
# CONFIG_SLUB is not set
|
# CONFIG_SLUB is not set
|
||||||
# CONFIG_SLOB is not set
|
# CONFIG_SLOB is not set
|
||||||
|
# CONFIG_SYSTEM_TRUSTED_KEYRING is not set
|
||||||
# CONFIG_PROFILING is not set
|
# CONFIG_PROFILING is not set
|
||||||
CONFIG_HAVE_OPROFILE=y
|
CONFIG_HAVE_OPROFILE=y
|
||||||
# CONFIG_KPROBES is not set
|
# CONFIG_KPROBES is not set
|
||||||
# CONFIG_JUMP_LABEL is not set
|
# CONFIG_JUMP_LABEL is not set
|
||||||
# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
|
# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
|
||||||
|
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
|
||||||
|
CONFIG_ARCH_USE_BUILTIN_BSWAP=y
|
||||||
CONFIG_HAVE_KPROBES=y
|
CONFIG_HAVE_KPROBES=y
|
||||||
CONFIG_HAVE_KRETPROBES=y
|
CONFIG_HAVE_KRETPROBES=y
|
||||||
CONFIG_HAVE_ARCH_TRACEHOOK=y
|
CONFIG_HAVE_ARCH_TRACEHOOK=y
|
||||||
@@ -160,6 +162,11 @@ CONFIG_HAVE_PERF_USER_STACK_DUMP=y
|
|||||||
CONFIG_HAVE_ARCH_JUMP_LABEL=y
|
CONFIG_HAVE_ARCH_JUMP_LABEL=y
|
||||||
CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
|
CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
|
||||||
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
|
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
|
||||||
|
CONFIG_HAVE_CC_STACKPROTECTOR=y
|
||||||
|
# CONFIG_CC_STACKPROTECTOR is not set
|
||||||
|
CONFIG_CC_STACKPROTECTOR_NONE=y
|
||||||
|
# CONFIG_CC_STACKPROTECTOR_REGULAR is not set
|
||||||
|
# CONFIG_CC_STACKPROTECTOR_STRONG is not set
|
||||||
CONFIG_HAVE_CONTEXT_TRACKING=y
|
CONFIG_HAVE_CONTEXT_TRACKING=y
|
||||||
CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
|
CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
|
||||||
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
|
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
|
||||||
@@ -177,7 +184,6 @@ CONFIG_HAVE_GENERIC_DMA_COHERENT=y
|
|||||||
CONFIG_SLABINFO=y
|
CONFIG_SLABINFO=y
|
||||||
CONFIG_RT_MUTEXES=y
|
CONFIG_RT_MUTEXES=y
|
||||||
CONFIG_BASE_SMALL=0
|
CONFIG_BASE_SMALL=0
|
||||||
# CONFIG_SYSTEM_TRUSTED_KEYRING is not set
|
|
||||||
CONFIG_MODULES=y
|
CONFIG_MODULES=y
|
||||||
# CONFIG_MODULE_FORCE_LOAD is not set
|
# CONFIG_MODULE_FORCE_LOAD is not set
|
||||||
CONFIG_MODULE_UNLOAD=y
|
CONFIG_MODULE_UNLOAD=y
|
||||||
@@ -227,6 +233,7 @@ CONFIG_DEFAULT_CFQ=y
|
|||||||
# CONFIG_DEFAULT_NOOP is not set
|
# CONFIG_DEFAULT_NOOP is not set
|
||||||
CONFIG_DEFAULT_IOSCHED="cfq"
|
CONFIG_DEFAULT_IOSCHED="cfq"
|
||||||
CONFIG_UNINLINE_SPIN_UNLOCK=y
|
CONFIG_UNINLINE_SPIN_UNLOCK=y
|
||||||
|
CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
|
||||||
CONFIG_FREEZER=y
|
CONFIG_FREEZER=y
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -257,8 +264,8 @@ CONFIG_ARCH_MULTIPLATFORM=y
|
|||||||
# CONFIG_ARCH_W90X900 is not set
|
# CONFIG_ARCH_W90X900 is not set
|
||||||
# CONFIG_ARCH_LPC32XX is not set
|
# CONFIG_ARCH_LPC32XX is not set
|
||||||
# CONFIG_ARCH_PXA is not set
|
# CONFIG_ARCH_PXA is not set
|
||||||
# CONFIG_ARCH_MSM is not set
|
# CONFIG_ARCH_MSM_NODT is not set
|
||||||
# CONFIG_ARCH_SHMOBILE is not set
|
# CONFIG_ARCH_SHMOBILE_LEGACY is not set
|
||||||
# CONFIG_ARCH_RPC is not set
|
# CONFIG_ARCH_RPC is not set
|
||||||
# CONFIG_ARCH_SA1100 is not set
|
# CONFIG_ARCH_SA1100 is not set
|
||||||
# CONFIG_ARCH_S3C24XX is not set
|
# CONFIG_ARCH_S3C24XX is not set
|
||||||
@@ -283,10 +290,13 @@ CONFIG_ARCH_MULTI_V6_V7=y
|
|||||||
# CONFIG_ARCH_MULTI_CPU_AUTO is not set
|
# CONFIG_ARCH_MULTI_CPU_AUTO is not set
|
||||||
# CONFIG_ARCH_MVEBU is not set
|
# CONFIG_ARCH_MVEBU is not set
|
||||||
# CONFIG_ARCH_BCM is not set
|
# CONFIG_ARCH_BCM is not set
|
||||||
|
# CONFIG_ARCH_BERLIN is not set
|
||||||
# CONFIG_GPIO_PCA953X is not set
|
# CONFIG_GPIO_PCA953X is not set
|
||||||
# CONFIG_KEYBOARD_GPIO_POLLED is not set
|
# CONFIG_KEYBOARD_GPIO_POLLED is not set
|
||||||
# CONFIG_ARCH_HIGHBANK is not set
|
# CONFIG_ARCH_HIGHBANK is not set
|
||||||
|
# CONFIG_ARCH_HI3xxx is not set
|
||||||
# CONFIG_ARCH_KEYSTONE is not set
|
# CONFIG_ARCH_KEYSTONE is not set
|
||||||
|
# CONFIG_ARCH_MSM_DT is not set
|
||||||
# CONFIG_ARCH_MXC is not set
|
# CONFIG_ARCH_MXC is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -297,12 +307,12 @@ CONFIG_ARCH_MULTI_V6_V7=y
|
|||||||
# OMAP Feature Selections
|
# OMAP Feature Selections
|
||||||
#
|
#
|
||||||
CONFIG_POWER_AVS_OMAP=y
|
CONFIG_POWER_AVS_OMAP=y
|
||||||
# CONFIG_POWER_AVS_OMAP_CLASS3 is not set
|
CONFIG_POWER_AVS_OMAP_CLASS3=y
|
||||||
CONFIG_OMAP_RESET_CLOCKS=y
|
CONFIG_OMAP_RESET_CLOCKS=y
|
||||||
CONFIG_OMAP_MUX=y
|
CONFIG_OMAP_MUX=y
|
||||||
# CONFIG_OMAP_MUX_DEBUG is not set
|
CONFIG_OMAP_MUX_DEBUG=y
|
||||||
CONFIG_OMAP_MUX_WARNINGS=y
|
CONFIG_OMAP_MUX_WARNINGS=y
|
||||||
# CONFIG_OMAP_32K_TIMER is not set
|
CONFIG_OMAP_32K_TIMER=y
|
||||||
# CONFIG_OMAP3_L2_AUX_SECURE_SAVE_RESTORE is not set
|
# CONFIG_OMAP3_L2_AUX_SECURE_SAVE_RESTORE is not set
|
||||||
CONFIG_OMAP_DM_TIMER=y
|
CONFIG_OMAP_DM_TIMER=y
|
||||||
CONFIG_OMAP_PM_NOOP=y
|
CONFIG_OMAP_PM_NOOP=y
|
||||||
@@ -313,6 +323,7 @@ CONFIG_ARCH_OMAP3=y
|
|||||||
# CONFIG_SOC_OMAP5 is not set
|
# CONFIG_SOC_OMAP5 is not set
|
||||||
# CONFIG_SOC_AM33XX is not set
|
# CONFIG_SOC_AM33XX is not set
|
||||||
# CONFIG_SOC_AM43XX is not set
|
# CONFIG_SOC_AM43XX is not set
|
||||||
|
# CONFIG_SOC_DRA7XX is not set
|
||||||
CONFIG_ARCH_OMAP2PLUS=y
|
CONFIG_ARCH_OMAP2PLUS=y
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -320,7 +331,6 @@ CONFIG_ARCH_OMAP2PLUS=y
|
|||||||
#
|
#
|
||||||
CONFIG_ARCH_OMAP2PLUS_TYPICAL=y
|
CONFIG_ARCH_OMAP2PLUS_TYPICAL=y
|
||||||
CONFIG_SOC_HAS_OMAP2_SDRC=y
|
CONFIG_SOC_HAS_OMAP2_SDRC=y
|
||||||
# CONFIG_SOC_DRA7XX is not set
|
|
||||||
CONFIG_SOC_OMAP3430=y
|
CONFIG_SOC_OMAP3430=y
|
||||||
# CONFIG_SOC_TI81XX is not set
|
# CONFIG_SOC_TI81XX is not set
|
||||||
|
|
||||||
@@ -342,7 +352,7 @@ CONFIG_SOC_OMAP3430=y
|
|||||||
# CONFIG_MACH_CM_T35 is not set
|
# CONFIG_MACH_CM_T35 is not set
|
||||||
# CONFIG_MACH_CM_T3517 is not set
|
# CONFIG_MACH_CM_T3517 is not set
|
||||||
# CONFIG_MACH_SBC3530 is not set
|
# CONFIG_MACH_SBC3530 is not set
|
||||||
# CONFIG_OMAP3_EMU is not set
|
CONFIG_OMAP3_EMU=y
|
||||||
# CONFIG_OMAP3_SDRC_AC_TIMING is not set
|
# CONFIG_OMAP3_SDRC_AC_TIMING is not set
|
||||||
# CONFIG_ARCH_ROCKCHIP is not set
|
# CONFIG_ARCH_ROCKCHIP is not set
|
||||||
# CONFIG_ARCH_SOCFPGA is not set
|
# CONFIG_ARCH_SOCFPGA is not set
|
||||||
@@ -403,6 +413,7 @@ CONFIG_TI_PRIV_EDMA=y
|
|||||||
#
|
#
|
||||||
# Bus support
|
# Bus support
|
||||||
#
|
#
|
||||||
|
CONFIG_ARM_AMBA=y
|
||||||
# CONFIG_PCI_SYSCALL is not set
|
# CONFIG_PCI_SYSCALL is not set
|
||||||
# CONFIG_PCCARD is not set
|
# CONFIG_PCCARD is not set
|
||||||
|
|
||||||
@@ -442,6 +453,7 @@ CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
|
|||||||
CONFIG_FLATMEM=y
|
CONFIG_FLATMEM=y
|
||||||
CONFIG_FLAT_NODE_MEM_MAP=y
|
CONFIG_FLAT_NODE_MEM_MAP=y
|
||||||
CONFIG_HAVE_MEMBLOCK=y
|
CONFIG_HAVE_MEMBLOCK=y
|
||||||
|
CONFIG_NO_BOOTMEM=y
|
||||||
CONFIG_MEMORY_ISOLATION=y
|
CONFIG_MEMORY_ISOLATION=y
|
||||||
# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set
|
# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set
|
||||||
CONFIG_PAGEFLAGS_EXTENDED=y
|
CONFIG_PAGEFLAGS_EXTENDED=y
|
||||||
@@ -459,11 +471,11 @@ CONFIG_NEED_PER_CPU_KM=y
|
|||||||
CONFIG_CMA=y
|
CONFIG_CMA=y
|
||||||
# CONFIG_CMA_DEBUG is not set
|
# CONFIG_CMA_DEBUG is not set
|
||||||
# CONFIG_ZBUD is not set
|
# CONFIG_ZBUD is not set
|
||||||
|
# CONFIG_ZSMALLOC is not set
|
||||||
CONFIG_FORCE_MAX_ZONEORDER=11
|
CONFIG_FORCE_MAX_ZONEORDER=11
|
||||||
CONFIG_ALIGNMENT_TRAP=y
|
CONFIG_ALIGNMENT_TRAP=y
|
||||||
# CONFIG_UACCESS_WITH_MEMCPY is not set
|
# CONFIG_UACCESS_WITH_MEMCPY is not set
|
||||||
# CONFIG_SECCOMP is not set
|
# CONFIG_SECCOMP is not set
|
||||||
# CONFIG_CC_STACKPROTECTOR is not set
|
|
||||||
CONFIG_SWIOTLB=y
|
CONFIG_SWIOTLB=y
|
||||||
CONFIG_IOMMU_HELPER=y
|
CONFIG_IOMMU_HELPER=y
|
||||||
# CONFIG_XEN is not set
|
# CONFIG_XEN is not set
|
||||||
@@ -506,7 +518,6 @@ CONFIG_CPU_FREQ_GOV_POWERSAVE=y
|
|||||||
CONFIG_CPU_FREQ_GOV_USERSPACE=y
|
CONFIG_CPU_FREQ_GOV_USERSPACE=y
|
||||||
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
|
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
|
||||||
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
|
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
|
||||||
CONFIG_GENERIC_CPUFREQ_CPU0=y
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# ARM CPU frequency scaling drivers
|
# ARM CPU frequency scaling drivers
|
||||||
@@ -632,6 +643,7 @@ CONFIG_NETFILTER_ADVANCED=y
|
|||||||
# CONFIG_NETFILTER_NETLINK_QUEUE is not set
|
# CONFIG_NETFILTER_NETLINK_QUEUE is not set
|
||||||
# CONFIG_NETFILTER_NETLINK_LOG is not set
|
# CONFIG_NETFILTER_NETLINK_LOG is not set
|
||||||
# CONFIG_NF_CONNTRACK is not set
|
# CONFIG_NF_CONNTRACK is not set
|
||||||
|
# CONFIG_NF_TABLES is not set
|
||||||
# CONFIG_NETFILTER_XTABLES is not set
|
# CONFIG_NETFILTER_XTABLES is not set
|
||||||
# CONFIG_IP_SET is not set
|
# CONFIG_IP_SET is not set
|
||||||
# CONFIG_IP_VS is not set
|
# CONFIG_IP_VS is not set
|
||||||
@@ -752,8 +764,8 @@ CONFIG_OF_ADDRESS=y
|
|||||||
CONFIG_OF_IRQ=y
|
CONFIG_OF_IRQ=y
|
||||||
CONFIG_OF_NET=y
|
CONFIG_OF_NET=y
|
||||||
CONFIG_OF_MDIO=y
|
CONFIG_OF_MDIO=y
|
||||||
# CONFIG_PARPORT is not set
|
|
||||||
CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
|
CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
|
||||||
|
# CONFIG_PARPORT is not set
|
||||||
CONFIG_BLK_DEV=y
|
CONFIG_BLK_DEV=y
|
||||||
# CONFIG_BLK_DEV_NULL_BLK is not set
|
# CONFIG_BLK_DEV_NULL_BLK is not set
|
||||||
# CONFIG_BLK_DEV_COW_COMMON is not set
|
# CONFIG_BLK_DEV_COW_COMMON is not set
|
||||||
@@ -974,6 +986,7 @@ CONFIG_USB_NET_CDC_NCM=y
|
|||||||
# CONFIG_USB_NET_CDC_MBIM is not set
|
# CONFIG_USB_NET_CDC_MBIM is not set
|
||||||
# CONFIG_USB_NET_DM9601 is not set
|
# CONFIG_USB_NET_DM9601 is not set
|
||||||
# CONFIG_USB_NET_SR9700 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_SMSC75XX is not set
|
||||||
CONFIG_USB_NET_SMSC95XX=y
|
CONFIG_USB_NET_SMSC95XX=y
|
||||||
# CONFIG_USB_NET_GL620A is not set
|
# CONFIG_USB_NET_GL620A is not set
|
||||||
@@ -1045,7 +1058,6 @@ CONFIG_KEYBOARD_GPIO=y
|
|||||||
# CONFIG_KEYBOARD_SAMSUNG is not set
|
# CONFIG_KEYBOARD_SAMSUNG is not set
|
||||||
# CONFIG_KEYBOARD_STOWAWAY is not set
|
# CONFIG_KEYBOARD_STOWAWAY is not set
|
||||||
# CONFIG_KEYBOARD_SUNKBD is not set
|
# CONFIG_KEYBOARD_SUNKBD is not set
|
||||||
# CONFIG_KEYBOARD_SH_KEYSC is not set
|
|
||||||
# CONFIG_KEYBOARD_OMAP4 is not set
|
# CONFIG_KEYBOARD_OMAP4 is not set
|
||||||
# CONFIG_KEYBOARD_TWL4030 is not set
|
# CONFIG_KEYBOARD_TWL4030 is not set
|
||||||
# CONFIG_KEYBOARD_XTKBD is not set
|
# CONFIG_KEYBOARD_XTKBD is not set
|
||||||
@@ -1053,27 +1065,7 @@ CONFIG_KEYBOARD_GPIO=y
|
|||||||
# CONFIG_INPUT_JOYSTICK is not set
|
# CONFIG_INPUT_JOYSTICK is not set
|
||||||
# CONFIG_INPUT_TABLET is not set
|
# CONFIG_INPUT_TABLET is not set
|
||||||
# CONFIG_INPUT_TOUCHSCREEN is not set
|
# CONFIG_INPUT_TOUCHSCREEN is not set
|
||||||
CONFIG_INPUT_MISC=y
|
# CONFIG_INPUT_MISC is not set
|
||||||
# CONFIG_INPUT_AD714X is not set
|
|
||||||
# CONFIG_INPUT_BMA150 is not set
|
|
||||||
# CONFIG_INPUT_MMA8450 is not set
|
|
||||||
# CONFIG_INPUT_MPU3050 is not set
|
|
||||||
# CONFIG_INPUT_GP2A is not set
|
|
||||||
# CONFIG_INPUT_GPIO_TILT_POLLED is not set
|
|
||||||
# CONFIG_INPUT_ATI_REMOTE2 is not set
|
|
||||||
# CONFIG_INPUT_KEYSPAN_REMOTE is not set
|
|
||||||
# CONFIG_INPUT_KXTJ9 is not set
|
|
||||||
# CONFIG_INPUT_POWERMATE is not set
|
|
||||||
# CONFIG_INPUT_YEALINK is not set
|
|
||||||
# CONFIG_INPUT_CM109 is not set
|
|
||||||
CONFIG_INPUT_TWL4030_PWRBUTTON=y
|
|
||||||
# CONFIG_INPUT_TWL4030_VIBRA is not set
|
|
||||||
# CONFIG_INPUT_UINPUT is not set
|
|
||||||
# CONFIG_INPUT_PCF8574 is not set
|
|
||||||
# CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set
|
|
||||||
# CONFIG_INPUT_ADXL34X is not set
|
|
||||||
# CONFIG_INPUT_IMS_PCU is not set
|
|
||||||
# CONFIG_INPUT_CMA3000 is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Hardware I/O ports
|
# Hardware I/O ports
|
||||||
@@ -1119,6 +1111,8 @@ CONFIG_SERIAL_8250_RSA=y
|
|||||||
#
|
#
|
||||||
# Non-8250 serial port support
|
# Non-8250 serial port support
|
||||||
#
|
#
|
||||||
|
# CONFIG_SERIAL_AMBA_PL010 is not set
|
||||||
|
# CONFIG_SERIAL_AMBA_PL011 is not set
|
||||||
# CONFIG_SERIAL_MAX3100 is not set
|
# CONFIG_SERIAL_MAX3100 is not set
|
||||||
# CONFIG_SERIAL_MAX310X is not set
|
# CONFIG_SERIAL_MAX310X is not set
|
||||||
# CONFIG_SERIAL_SH_SCI is not set
|
# CONFIG_SERIAL_SH_SCI is not set
|
||||||
@@ -1165,20 +1159,20 @@ CONFIG_I2C_HELPER_AUTO=y
|
|||||||
# CONFIG_I2C_CBUS_GPIO is not set
|
# CONFIG_I2C_CBUS_GPIO is not set
|
||||||
# CONFIG_I2C_DESIGNWARE_PLATFORM is not set
|
# CONFIG_I2C_DESIGNWARE_PLATFORM is not set
|
||||||
# CONFIG_I2C_GPIO is not set
|
# CONFIG_I2C_GPIO is not set
|
||||||
|
# CONFIG_I2C_NOMADIK is not set
|
||||||
# CONFIG_I2C_OCORES is not set
|
# CONFIG_I2C_OCORES is not set
|
||||||
CONFIG_I2C_OMAP=y
|
CONFIG_I2C_OMAP=y
|
||||||
# CONFIG_I2C_PCA_PLATFORM is not set
|
# CONFIG_I2C_PCA_PLATFORM is not set
|
||||||
# CONFIG_I2C_PXA_PCI is not set
|
# CONFIG_I2C_PXA_PCI is not set
|
||||||
# CONFIG_I2C_SH_MOBILE is not set
|
|
||||||
# CONFIG_I2C_SIMTEC is not set
|
# CONFIG_I2C_SIMTEC is not set
|
||||||
# CONFIG_I2C_XILINX is not set
|
# CONFIG_I2C_XILINX is not set
|
||||||
# CONFIG_I2C_RCAR is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# External I2C/SMBus adapter drivers
|
# External I2C/SMBus adapter drivers
|
||||||
#
|
#
|
||||||
# CONFIG_I2C_DIOLAN_U2C is not set
|
# CONFIG_I2C_DIOLAN_U2C is not set
|
||||||
# CONFIG_I2C_PARPORT_LIGHT is not set
|
# CONFIG_I2C_PARPORT_LIGHT is not set
|
||||||
|
# CONFIG_I2C_ROBOTFUZZ_OSIF is not set
|
||||||
# CONFIG_I2C_TAOS_EVM is not set
|
# CONFIG_I2C_TAOS_EVM is not set
|
||||||
# CONFIG_I2C_TINY_USB is not set
|
# CONFIG_I2C_TINY_USB is not set
|
||||||
|
|
||||||
@@ -1203,6 +1197,7 @@ CONFIG_SPI_MASTER=y
|
|||||||
# CONFIG_SPI_OC_TINY is not set
|
# CONFIG_SPI_OC_TINY is not set
|
||||||
CONFIG_SPI_OMAP24XX=y
|
CONFIG_SPI_OMAP24XX=y
|
||||||
# CONFIG_SPI_TI_QSPI is not set
|
# CONFIG_SPI_TI_QSPI is not set
|
||||||
|
# CONFIG_SPI_PL022 is not set
|
||||||
# CONFIG_SPI_PXA2XX_PCI is not set
|
# CONFIG_SPI_PXA2XX_PCI is not set
|
||||||
# CONFIG_SPI_SC18IS602 is not set
|
# CONFIG_SPI_SC18IS602 is not set
|
||||||
# CONFIG_SPI_XCOMM is not set
|
# CONFIG_SPI_XCOMM is not set
|
||||||
@@ -1251,6 +1246,8 @@ CONFIG_PINMUX=y
|
|||||||
CONFIG_PINCONF=y
|
CONFIG_PINCONF=y
|
||||||
CONFIG_GENERIC_PINCONF=y
|
CONFIG_GENERIC_PINCONF=y
|
||||||
# CONFIG_DEBUG_PINCTRL is not set
|
# CONFIG_DEBUG_PINCTRL is not set
|
||||||
|
# CONFIG_PINCTRL_CAPRI is not set
|
||||||
|
# CONFIG_PINCTRL_MSM8X74 is not set
|
||||||
CONFIG_PINCTRL_SINGLE=y
|
CONFIG_PINCTRL_SINGLE=y
|
||||||
CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y
|
CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y
|
||||||
CONFIG_ARCH_REQUIRE_GPIOLIB=y
|
CONFIG_ARCH_REQUIRE_GPIOLIB=y
|
||||||
@@ -1265,7 +1262,9 @@ CONFIG_GPIO_SYSFS=y
|
|||||||
#
|
#
|
||||||
# CONFIG_GPIO_GENERIC_PLATFORM is not set
|
# CONFIG_GPIO_GENERIC_PLATFORM is not set
|
||||||
# CONFIG_GPIO_EM is not set
|
# CONFIG_GPIO_EM is not set
|
||||||
|
# CONFIG_GPIO_PL061 is not set
|
||||||
# CONFIG_GPIO_RCAR is not set
|
# CONFIG_GPIO_RCAR is not set
|
||||||
|
# CONFIG_GPIO_SCH311X is not set
|
||||||
# CONFIG_GPIO_TS5500 is not set
|
# CONFIG_GPIO_TS5500 is not set
|
||||||
# CONFIG_GPIO_GRGPIO is not set
|
# CONFIG_GPIO_GRGPIO is not set
|
||||||
|
|
||||||
@@ -1429,6 +1428,7 @@ CONFIG_HWMON=y
|
|||||||
# CONFIG_SENSORS_MAX6697 is not set
|
# CONFIG_SENSORS_MAX6697 is not set
|
||||||
# CONFIG_SENSORS_MCP3021 is not set
|
# CONFIG_SENSORS_MCP3021 is not set
|
||||||
# CONFIG_SENSORS_NCT6775 is not set
|
# CONFIG_SENSORS_NCT6775 is not set
|
||||||
|
# CONFIG_SENSORS_NTC_THERMISTOR is not set
|
||||||
# CONFIG_SENSORS_PC87360 is not set
|
# CONFIG_SENSORS_PC87360 is not set
|
||||||
# CONFIG_SENSORS_PC87427 is not set
|
# CONFIG_SENSORS_PC87427 is not set
|
||||||
# CONFIG_SENSORS_PCF8591 is not set
|
# CONFIG_SENSORS_PCF8591 is not set
|
||||||
@@ -1468,6 +1468,7 @@ CONFIG_HWMON=y
|
|||||||
# CONFIG_SENSORS_W83627EHF is not set
|
# CONFIG_SENSORS_W83627EHF is not set
|
||||||
CONFIG_THERMAL=y
|
CONFIG_THERMAL=y
|
||||||
CONFIG_THERMAL_HWMON=y
|
CONFIG_THERMAL_HWMON=y
|
||||||
|
CONFIG_THERMAL_OF=y
|
||||||
CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
|
CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
|
||||||
# CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE is not set
|
# CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE is not set
|
||||||
# CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE is not set
|
# CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE is not set
|
||||||
@@ -1489,6 +1490,8 @@ CONFIG_WATCHDOG_CORE=y
|
|||||||
# Watchdog Device Drivers
|
# Watchdog Device Drivers
|
||||||
#
|
#
|
||||||
# CONFIG_SOFT_WATCHDOG is not set
|
# CONFIG_SOFT_WATCHDOG is not set
|
||||||
|
# CONFIG_GPIO_WATCHDOG is not set
|
||||||
|
# CONFIG_ARM_SP805_WATCHDOG is not set
|
||||||
# CONFIG_DW_WATCHDOG is not set
|
# CONFIG_DW_WATCHDOG is not set
|
||||||
CONFIG_OMAP_WATCHDOG=y
|
CONFIG_OMAP_WATCHDOG=y
|
||||||
CONFIG_TWL4030_WATCHDOG=y
|
CONFIG_TWL4030_WATCHDOG=y
|
||||||
@@ -1536,6 +1539,7 @@ CONFIG_MFD_CORE=y
|
|||||||
# CONFIG_MFD_88PM800 is not set
|
# CONFIG_MFD_88PM800 is not set
|
||||||
# CONFIG_MFD_88PM805 is not set
|
# CONFIG_MFD_88PM805 is not set
|
||||||
# CONFIG_MFD_88PM860X is not set
|
# CONFIG_MFD_88PM860X is not set
|
||||||
|
# CONFIG_MFD_MAX14577 is not set
|
||||||
# CONFIG_MFD_MAX77686 is not set
|
# CONFIG_MFD_MAX77686 is not set
|
||||||
# CONFIG_MFD_MAX77693 is not set
|
# CONFIG_MFD_MAX77693 is not set
|
||||||
# CONFIG_MFD_MAX8907 is not set
|
# CONFIG_MFD_MAX8907 is not set
|
||||||
@@ -1555,6 +1559,7 @@ CONFIG_MFD_CORE=y
|
|||||||
# CONFIG_MFD_STMPE is not set
|
# CONFIG_MFD_STMPE is not set
|
||||||
# CONFIG_MFD_SYSCON is not set
|
# CONFIG_MFD_SYSCON is not set
|
||||||
# CONFIG_MFD_TI_AM335X_TSCADC is not set
|
# CONFIG_MFD_TI_AM335X_TSCADC is not set
|
||||||
|
# CONFIG_MFD_LP3943 is not set
|
||||||
# CONFIG_MFD_LP8788 is not set
|
# CONFIG_MFD_LP8788 is not set
|
||||||
CONFIG_MFD_OMAP_USB_HOST=y
|
CONFIG_MFD_OMAP_USB_HOST=y
|
||||||
# CONFIG_MFD_PALMAS is not set
|
# CONFIG_MFD_PALMAS is not set
|
||||||
@@ -1594,6 +1599,7 @@ CONFIG_REGULATOR_DEBUG=y
|
|||||||
CONFIG_REGULATOR_FIXED_VOLTAGE=y
|
CONFIG_REGULATOR_FIXED_VOLTAGE=y
|
||||||
# CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set
|
# CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set
|
||||||
# CONFIG_REGULATOR_USERSPACE_CONSUMER is not set
|
# CONFIG_REGULATOR_USERSPACE_CONSUMER is not set
|
||||||
|
# CONFIG_REGULATOR_ACT8865 is not set
|
||||||
# CONFIG_REGULATOR_AD5398 is not set
|
# CONFIG_REGULATOR_AD5398 is not set
|
||||||
# CONFIG_REGULATOR_DA9210 is not set
|
# CONFIG_REGULATOR_DA9210 is not set
|
||||||
# CONFIG_REGULATOR_FAN53555 is not set
|
# CONFIG_REGULATOR_FAN53555 is not set
|
||||||
@@ -1621,7 +1627,6 @@ CONFIG_REGULATOR_TWL4030=y
|
|||||||
#
|
#
|
||||||
# Graphics support
|
# Graphics support
|
||||||
#
|
#
|
||||||
# CONFIG_TEGRA_HOST1X is not set
|
|
||||||
# CONFIG_DRM is not set
|
# CONFIG_DRM is not set
|
||||||
# CONFIG_VGASTATE is not set
|
# CONFIG_VGASTATE is not set
|
||||||
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
|
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
|
||||||
@@ -1794,18 +1799,6 @@ CONFIG_USB_OHCI_HCD_OMAP3=y
|
|||||||
# CONFIG_USB_SL811_HCD is not set
|
# CONFIG_USB_SL811_HCD is not set
|
||||||
# CONFIG_USB_R8A66597_HCD is not set
|
# CONFIG_USB_R8A66597_HCD is not set
|
||||||
# CONFIG_USB_HCD_TEST_MODE is not set
|
# CONFIG_USB_HCD_TEST_MODE is not set
|
||||||
CONFIG_USB_MUSB_HDRC=y
|
|
||||||
# CONFIG_USB_MUSB_HOST is not set
|
|
||||||
# CONFIG_USB_MUSB_GADGET is not set
|
|
||||||
CONFIG_USB_MUSB_DUAL_ROLE=y
|
|
||||||
CONFIG_USB_MUSB_TUSB6010=y
|
|
||||||
# CONFIG_USB_MUSB_OMAP2PLUS is not set
|
|
||||||
# CONFIG_USB_MUSB_AM35X is not set
|
|
||||||
# CONFIG_USB_MUSB_DSPS is not set
|
|
||||||
# CONFIG_USB_MUSB_UX500 is not set
|
|
||||||
# CONFIG_USB_TI_CPPI41_DMA is not set
|
|
||||||
# CONFIG_USB_TUSB_OMAP_DMA is not set
|
|
||||||
CONFIG_MUSB_PIO_ONLY=y
|
|
||||||
# CONFIG_USB_RENESAS_USBHS is not set
|
# CONFIG_USB_RENESAS_USBHS is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -1844,7 +1837,20 @@ CONFIG_USB_STORAGE=y
|
|||||||
#
|
#
|
||||||
# CONFIG_USB_MDC800 is not set
|
# CONFIG_USB_MDC800 is not set
|
||||||
# CONFIG_USB_MICROTEK is not set
|
# CONFIG_USB_MICROTEK is not set
|
||||||
|
CONFIG_USB_MUSB_HDRC=y
|
||||||
|
# CONFIG_USB_MUSB_HOST is not set
|
||||||
|
# CONFIG_USB_MUSB_GADGET is not set
|
||||||
|
CONFIG_USB_MUSB_DUAL_ROLE=y
|
||||||
|
CONFIG_USB_MUSB_TUSB6010=y
|
||||||
|
# CONFIG_USB_MUSB_OMAP2PLUS is not set
|
||||||
|
# CONFIG_USB_MUSB_AM35X is not set
|
||||||
|
# CONFIG_USB_MUSB_DSPS is not set
|
||||||
|
# CONFIG_USB_MUSB_UX500 is not set
|
||||||
|
# CONFIG_USB_TI_CPPI41_DMA is not set
|
||||||
|
# CONFIG_USB_TUSB_OMAP_DMA is not set
|
||||||
|
CONFIG_MUSB_PIO_ONLY=y
|
||||||
# CONFIG_USB_DWC3 is not set
|
# CONFIG_USB_DWC3 is not set
|
||||||
|
# CONFIG_USB_DWC2 is not set
|
||||||
# CONFIG_USB_CHIPIDEA is not set
|
# CONFIG_USB_CHIPIDEA is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -1881,6 +1887,7 @@ CONFIG_USB_SERIAL=y
|
|||||||
# CONFIG_USB_SERIAL_METRO is not set
|
# CONFIG_USB_SERIAL_METRO is not set
|
||||||
# CONFIG_USB_SERIAL_MOS7720 is not set
|
# CONFIG_USB_SERIAL_MOS7720 is not set
|
||||||
# CONFIG_USB_SERIAL_MOS7840 is not set
|
# CONFIG_USB_SERIAL_MOS7840 is not set
|
||||||
|
# CONFIG_USB_SERIAL_MXUPORT is not set
|
||||||
# CONFIG_USB_SERIAL_NAVMAN is not set
|
# CONFIG_USB_SERIAL_NAVMAN is not set
|
||||||
# CONFIG_USB_SERIAL_PL2303 is not set
|
# CONFIG_USB_SERIAL_PL2303 is not set
|
||||||
# CONFIG_USB_SERIAL_OTI6858 is not set
|
# CONFIG_USB_SERIAL_OTI6858 is not set
|
||||||
@@ -1935,6 +1942,7 @@ CONFIG_USB_SERIAL_OPTION=y
|
|||||||
# USB Physical Layer drivers
|
# USB Physical Layer drivers
|
||||||
#
|
#
|
||||||
CONFIG_USB_PHY=y
|
CONFIG_USB_PHY=y
|
||||||
|
# CONFIG_USB_OTG_FSM is not set
|
||||||
CONFIG_NOP_USB_XCEIV=y
|
CONFIG_NOP_USB_XCEIV=y
|
||||||
CONFIG_OMAP_CONTROL_USB=y
|
CONFIG_OMAP_CONTROL_USB=y
|
||||||
CONFIG_OMAP_USB3=y
|
CONFIG_OMAP_USB3=y
|
||||||
@@ -1957,8 +1965,10 @@ CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2
|
|||||||
#
|
#
|
||||||
# CONFIG_USB_FUSB300 is not set
|
# CONFIG_USB_FUSB300 is not set
|
||||||
# CONFIG_USB_FOTG210_UDC is not set
|
# CONFIG_USB_FOTG210_UDC is not set
|
||||||
|
# CONFIG_USB_GR_UDC is not set
|
||||||
# CONFIG_USB_R8A66597 is not set
|
# CONFIG_USB_R8A66597 is not set
|
||||||
# CONFIG_USB_PXA27X is not set
|
# CONFIG_USB_PXA27X is not set
|
||||||
|
# CONFIG_USB_S3C_HSOTG is not set
|
||||||
# CONFIG_USB_MV_UDC is not set
|
# CONFIG_USB_MV_UDC is not set
|
||||||
# CONFIG_USB_MV_U3D is not set
|
# CONFIG_USB_MV_U3D is not set
|
||||||
# CONFIG_USB_M66592 is not set
|
# CONFIG_USB_M66592 is not set
|
||||||
@@ -1966,7 +1976,6 @@ CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2
|
|||||||
# CONFIG_USB_DUMMY_HCD is not set
|
# CONFIG_USB_DUMMY_HCD is not set
|
||||||
CONFIG_USB_LIBCOMPOSITE=y
|
CONFIG_USB_LIBCOMPOSITE=y
|
||||||
CONFIG_USB_U_ETHER=y
|
CONFIG_USB_U_ETHER=y
|
||||||
CONFIG_USB_U_RNDIS=y
|
|
||||||
CONFIG_USB_F_ECM=y
|
CONFIG_USB_F_ECM=y
|
||||||
CONFIG_USB_F_SUBSET=y
|
CONFIG_USB_F_SUBSET=y
|
||||||
# CONFIG_USB_CONFIGFS is not set
|
# CONFIG_USB_CONFIGFS is not set
|
||||||
@@ -2004,6 +2013,7 @@ CONFIG_MMC_BLOCK_BOUNCE=y
|
|||||||
#
|
#
|
||||||
# MMC/SD/SDIO Host Controller Drivers
|
# MMC/SD/SDIO Host Controller Drivers
|
||||||
#
|
#
|
||||||
|
# CONFIG_MMC_ARMMMCI is not set
|
||||||
# CONFIG_MMC_SDHCI is not set
|
# CONFIG_MMC_SDHCI is not set
|
||||||
# CONFIG_MMC_SDHCI_PXAV3 is not set
|
# CONFIG_MMC_SDHCI_PXAV3 is not set
|
||||||
# CONFIG_MMC_SDHCI_PXAV2 is not set
|
# CONFIG_MMC_SDHCI_PXAV2 is not set
|
||||||
@@ -2082,10 +2092,12 @@ CONFIG_RTC_DRV_DS1307=y
|
|||||||
# CONFIG_RTC_DRV_DS1374 is not set
|
# CONFIG_RTC_DRV_DS1374 is not set
|
||||||
# CONFIG_RTC_DRV_DS1672 is not set
|
# CONFIG_RTC_DRV_DS1672 is not set
|
||||||
# CONFIG_RTC_DRV_DS3232 is not set
|
# CONFIG_RTC_DRV_DS3232 is not set
|
||||||
|
# CONFIG_RTC_DRV_HYM8563 is not set
|
||||||
# CONFIG_RTC_DRV_MAX6900 is not set
|
# CONFIG_RTC_DRV_MAX6900 is not set
|
||||||
# CONFIG_RTC_DRV_RS5C372 is not set
|
# CONFIG_RTC_DRV_RS5C372 is not set
|
||||||
# CONFIG_RTC_DRV_ISL1208 is not set
|
# CONFIG_RTC_DRV_ISL1208 is not set
|
||||||
# CONFIG_RTC_DRV_ISL12022 is not set
|
# CONFIG_RTC_DRV_ISL12022 is not set
|
||||||
|
# CONFIG_RTC_DRV_ISL12057 is not set
|
||||||
# CONFIG_RTC_DRV_X1205 is not set
|
# CONFIG_RTC_DRV_X1205 is not set
|
||||||
# CONFIG_RTC_DRV_PCF2127 is not set
|
# CONFIG_RTC_DRV_PCF2127 is not set
|
||||||
# CONFIG_RTC_DRV_PCF8523 is not set
|
# CONFIG_RTC_DRV_PCF8523 is not set
|
||||||
@@ -2136,6 +2148,8 @@ CONFIG_RTC_DRV_DS1307=y
|
|||||||
#
|
#
|
||||||
# on-CPU RTC drivers
|
# on-CPU RTC drivers
|
||||||
#
|
#
|
||||||
|
# CONFIG_RTC_DRV_PL030 is not set
|
||||||
|
# CONFIG_RTC_DRV_PL031 is not set
|
||||||
# CONFIG_RTC_DRV_SNVS is not set
|
# CONFIG_RTC_DRV_SNVS is not set
|
||||||
# CONFIG_RTC_DRV_MOXART is not set
|
# CONFIG_RTC_DRV_MOXART is not set
|
||||||
|
|
||||||
@@ -2149,10 +2163,12 @@ CONFIG_DMADEVICES=y
|
|||||||
#
|
#
|
||||||
# DMA Devices
|
# DMA Devices
|
||||||
#
|
#
|
||||||
|
# CONFIG_AMBA_PL08X is not set
|
||||||
# CONFIG_DW_DMAC_CORE is not set
|
# CONFIG_DW_DMAC_CORE is not set
|
||||||
# CONFIG_DW_DMAC is not set
|
# CONFIG_DW_DMAC is not set
|
||||||
# CONFIG_TIMB_DMA is not set
|
# CONFIG_TIMB_DMA is not set
|
||||||
CONFIG_TI_EDMA=y
|
CONFIG_TI_EDMA=y
|
||||||
|
# CONFIG_PL330_DMA is not set
|
||||||
CONFIG_DMA_OMAP=y
|
CONFIG_DMA_OMAP=y
|
||||||
# CONFIG_TI_CPPI41 is not set
|
# CONFIG_TI_CPPI41 is not set
|
||||||
CONFIG_DMA_ENGINE=y
|
CONFIG_DMA_ENGINE=y
|
||||||
@@ -2184,8 +2200,9 @@ CONFIG_COMMON_CLK=y
|
|||||||
#
|
#
|
||||||
# Common Clock Framework
|
# Common Clock Framework
|
||||||
#
|
#
|
||||||
# CONFIG_COMMON_CLK_DEBUG is not set
|
|
||||||
# CONFIG_COMMON_CLK_SI5351 is not set
|
# CONFIG_COMMON_CLK_SI5351 is not set
|
||||||
|
# CONFIG_COMMON_CLK_SI570 is not set
|
||||||
|
# CONFIG_COMMON_CLK_QCOM is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Hardware Spinlock drivers
|
# Hardware Spinlock drivers
|
||||||
@@ -2195,13 +2212,13 @@ CONFIG_CLKSRC_MMIO=y
|
|||||||
CONFIG_ARM_ARCH_TIMER=y
|
CONFIG_ARM_ARCH_TIMER=y
|
||||||
CONFIG_ARM_ARCH_TIMER_EVTSTREAM=y
|
CONFIG_ARM_ARCH_TIMER_EVTSTREAM=y
|
||||||
CONFIG_MAILBOX=y
|
CONFIG_MAILBOX=y
|
||||||
|
# CONFIG_PL320_MBOX is not set
|
||||||
CONFIG_OMAP_MBOX=y
|
CONFIG_OMAP_MBOX=y
|
||||||
CONFIG_OMAP2PLUS_MBOX=y
|
CONFIG_OMAP2PLUS_MBOX=y
|
||||||
CONFIG_OMAP_MBOX_KFIFO_SIZE=256
|
CONFIG_OMAP_MBOX_KFIFO_SIZE=256
|
||||||
CONFIG_IOMMU_SUPPORT=y
|
CONFIG_IOMMU_SUPPORT=y
|
||||||
CONFIG_OF_IOMMU=y
|
CONFIG_OF_IOMMU=y
|
||||||
# CONFIG_OMAP_IOMMU is not set
|
# CONFIG_OMAP_IOMMU is not set
|
||||||
# CONFIG_SHMOBILE_IOMMU is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Remoteproc drivers
|
# Remoteproc drivers
|
||||||
@@ -2240,6 +2257,7 @@ CONFIG_GENERIC_PHY=y
|
|||||||
# CONFIG_PHY_EXYNOS_MIPI_VIDEO is not set
|
# CONFIG_PHY_EXYNOS_MIPI_VIDEO is not set
|
||||||
CONFIG_OMAP_USB2=y
|
CONFIG_OMAP_USB2=y
|
||||||
# CONFIG_PHY_EXYNOS_DP_VIDEO is not set
|
# CONFIG_PHY_EXYNOS_DP_VIDEO is not set
|
||||||
|
# CONFIG_BCM_KONA_USB2_PHY is not set
|
||||||
# CONFIG_POWERCAP is not set
|
# CONFIG_POWERCAP is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -2430,6 +2448,7 @@ CONFIG_HAVE_DEBUG_KMEMLEAK=y
|
|||||||
# CONFIG_DETECT_HUNG_TASK is not set
|
# CONFIG_DETECT_HUNG_TASK is not set
|
||||||
# CONFIG_PANIC_ON_OOPS is not set
|
# CONFIG_PANIC_ON_OOPS is not set
|
||||||
CONFIG_PANIC_ON_OOPS_VALUE=0
|
CONFIG_PANIC_ON_OOPS_VALUE=0
|
||||||
|
CONFIG_PANIC_TIMEOUT=0
|
||||||
# CONFIG_SCHED_DEBUG is not set
|
# CONFIG_SCHED_DEBUG is not set
|
||||||
# CONFIG_SCHEDSTATS is not set
|
# CONFIG_SCHEDSTATS is not set
|
||||||
# CONFIG_TIMER_STATS is not set
|
# CONFIG_TIMER_STATS is not set
|
||||||
@@ -2497,9 +2516,12 @@ CONFIG_TRACING_SUPPORT=y
|
|||||||
# CONFIG_TEST_STRING_HELPERS is not set
|
# CONFIG_TEST_STRING_HELPERS is not set
|
||||||
# CONFIG_TEST_KSTRTOX is not set
|
# CONFIG_TEST_KSTRTOX is not set
|
||||||
# CONFIG_DMA_API_DEBUG is not set
|
# CONFIG_DMA_API_DEBUG is not set
|
||||||
|
# CONFIG_TEST_MODULE is not set
|
||||||
|
# CONFIG_TEST_USER_COPY is not set
|
||||||
# CONFIG_SAMPLES is not set
|
# CONFIG_SAMPLES is not set
|
||||||
CONFIG_HAVE_ARCH_KGDB=y
|
CONFIG_HAVE_ARCH_KGDB=y
|
||||||
# CONFIG_KGDB is not set
|
# CONFIG_KGDB is not set
|
||||||
|
# CONFIG_ARM_PTDUMP is not set
|
||||||
# CONFIG_STRICT_DEVMEM is not set
|
# CONFIG_STRICT_DEVMEM is not set
|
||||||
CONFIG_ARM_UNWIND=y
|
CONFIG_ARM_UNWIND=y
|
||||||
# CONFIG_DEBUG_USER is not set
|
# CONFIG_DEBUG_USER is not set
|
||||||
@@ -2508,7 +2530,9 @@ CONFIG_DEBUG_LL_INCLUDE="mach/debug-macro.S"
|
|||||||
# CONFIG_DEBUG_UART_PL01X is not set
|
# CONFIG_DEBUG_UART_PL01X is not set
|
||||||
# CONFIG_DEBUG_UART_8250 is not set
|
# CONFIG_DEBUG_UART_8250 is not set
|
||||||
CONFIG_UNCOMPRESS_INCLUDE="debug/uncompress.h"
|
CONFIG_UNCOMPRESS_INCLUDE="debug/uncompress.h"
|
||||||
|
CONFIG_OC_ETM=y
|
||||||
# CONFIG_PID_IN_CONTEXTIDR is not set
|
# CONFIG_PID_IN_CONTEXTIDR is not set
|
||||||
|
# CONFIG_DEBUG_SET_MODULE_RONX is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Security options
|
# Security options
|
@@ -7,7 +7,7 @@ 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 uswitch ppp iptables socat bridge-utils ntp e2fsprogs i2c-tools iperf dnsmasq'
|
||||||
cfg_target_linux_kernel='arch/arm/boot/zImage'
|
cfg_target_linux_kernel='arch/arm/boot/zImage'
|
||||||
cfg_target_linux_dtb='arch/arm/boot/dts/omap3-lctr-a9xx.dtb'
|
cfg_target_linux_dtb='arch/arm/boot/dts/omap3-lctr-a9xx.dtb'
|
||||||
cfg_target_uboot_config='igep0020_lsts'
|
cfg_target_uboot_config='igep0020'
|
||||||
cfg_terminal='ttyO2'
|
cfg_terminal='ttyO2'
|
||||||
cfg_ntpd_config='/etc/ntp/server.cfg'
|
cfg_ntpd_config='/etc/ntp/server.cfg'
|
||||||
cfg_eth_ext_mk='255.255.0.0'
|
cfg_eth_ext_mk='255.255.0.0'
|
||||||
|
2
systems/lctr-a9xx/manta-12.cfg
Normal file
2
systems/lctr-a9xx/manta-12.cfg
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
cfg_hostname='manta-12'
|
||||||
|
cfg_eth_ext_ip='10.0.30.12'
|
@@ -12,7 +12,7 @@ diff -Nru linux-3.13.1/arch/arm/boot/dts/Makefile linux-3.13.1.rasm/arch/arm/boo
|
|||||||
diff -Nru linux-3.13.1/arch/arm/boot/dts/omap3-lctr-a9xx.dts linux-3.13.1.rasm/arch/arm/boot/dts/omap3-lctr-a9xx.dts
|
diff -Nru linux-3.13.1/arch/arm/boot/dts/omap3-lctr-a9xx.dts linux-3.13.1.rasm/arch/arm/boot/dts/omap3-lctr-a9xx.dts
|
||||||
--- linux-3.13.1/arch/arm/boot/dts/omap3-lctr-a9xx.dts 1970-01-01 01:00:00.000000000 +0100
|
--- linux-3.13.1/arch/arm/boot/dts/omap3-lctr-a9xx.dts 1970-01-01 01:00:00.000000000 +0100
|
||||||
+++ linux-3.13.1.rasm/arch/arm/boot/dts/omap3-lctr-a9xx.dts 2014-02-01 23:49:40.019073833 +0000
|
+++ linux-3.13.1.rasm/arch/arm/boot/dts/omap3-lctr-a9xx.dts 2014-02-01 23:49:40.019073833 +0000
|
||||||
@@ -0,0 +1,107 @@
|
@@ -0,0 +1,89 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Copyright (C) 2014 Universidade do Porto - Faculdade de Engenharia
|
+ * Copyright (C) 2014 Universidade do Porto - Faculdade de Engenharia
|
||||||
+ *
|
+ *
|
||||||
@@ -68,24 +68,6 @@ diff -Nru linux-3.13.1/arch/arm/boot/dts/omap3-lctr-a9xx.dts linux-3.13.1.rasm/a
|
|||||||
+};
|
+};
|
||||||
+
|
+
|
||||||
+&omap3_pmx_core {
|
+&omap3_pmx_core {
|
||||||
+ pinctrl-names = "default", "board";
|
|
||||||
+ pinctrl-0 = <&hsusbb1_pins &board_pins>;
|
|
||||||
+
|
|
||||||
+ board_pins: pinmux_board_pins {
|
|
||||||
+ pinctrl-single,pins = <
|
|
||||||
+ /* gpio_133 - panel backlight */
|
|
||||||
+ 0x130 (PIN_OUTPUT | MUX_MODE4)
|
|
||||||
+ /* gpio_135 - panel LED */
|
|
||||||
+ 0x132 (PIN_OUTPUT | MUX_MODE4)
|
|
||||||
+ /* gpio_157 - transducer */
|
|
||||||
+ 0x15e (PIN_INPUT_PULLUP | MUX_MODE4)
|
|
||||||
+ /* uart1_cts / gpio_150 / UART1 RS232. */
|
|
||||||
+ 0x150 (PIN_INPUT | MUX_MODE4)
|
|
||||||
+ /* uart1_rts / gpio_149 / UART1 RS232. */
|
|
||||||
+ 0x14e (PIN_INPUT | MUX_MODE4)
|
|
||||||
+ >;
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ gpio_keys_pins: pinmux_gpio_keys_pins {
|
+ gpio_keys_pins: pinmux_gpio_keys_pins {
|
||||||
+ pinctrl-single,pins = <
|
+ pinctrl-single,pins = <
|
||||||
+ 0x136 (PIN_INPUT_PULLDOWN | MUX_MODE4) /* gpio_137 - button 2 */
|
+ 0x136 (PIN_INPUT_PULLDOWN | MUX_MODE4) /* gpio_137 - button 2 */
|
@@ -0,0 +1,81 @@
|
|||||||
|
diff --git a/board/isee/igep00x0/igep00x0.h b/board/isee/igep00x0/igep00x0.h
|
||||||
|
index 181f81f..fe643e4 100644
|
||||||
|
--- a/board/isee/igep00x0/igep00x0.h
|
||||||
|
+++ b/board/isee/igep00x0/igep00x0.h
|
||||||
|
@@ -146,7 +146,19 @@ static void setup_net_chip(void);
|
||||||
|
MUX_VAL(CP(SYS_BOOT5), (IEN | PTD | DIS | M4)) /* GPIO_7 */\
|
||||||
|
MUX_VAL(CP(SYS_BOOT6), (IEN | PTD | DIS | M4)) /* GPIO_8 */\
|
||||||
|
MUX_VAL(CP(SDRC_CKE0), (IDIS | PTU | EN | M0)) /* SDRC_CKE0 */\
|
||||||
|
- MUX_VAL(CP(SDRC_CKE1), (IDIS | PTU | EN | M0)) /* SDRC_CKE1 */
|
||||||
|
+ MUX_VAL(CP(SDRC_CKE1), (IDIS | PTU | EN | M0)) /* SDRC_CKE1 */\
|
||||||
|
+ MUX_VAL(CP(UART1_TX), (IDIS | PTD | DIS | M0)) /* UART1_TX */\
|
||||||
|
+ MUX_VAL(CP(UART1_RTS), (IEN | PTD | DIS | M4)) /* UART1_RTS */\
|
||||||
|
+ MUX_VAL(CP(UART1_CTS), (IEN | PTU | DIS | M4)) /* UART1_CTS */\
|
||||||
|
+ MUX_VAL(CP(UART1_RX), (IEN | PTD | DIS | M0)) /* UART1_RX */\
|
||||||
|
+ MUX_VAL(CP(MMC2_DAT1), (IDIS | PTD | DIS | M4)) /* GPIO_133 */\
|
||||||
|
+ MUX_VAL(CP(MMC2_DAT3), (IDIS | PTD | DIS | M4)) /* GPIO_135 */\
|
||||||
|
+ MUX_VAL(CP(MCBSP1_FSR), (IEN | PTD | DIS | M4)) /* GPIO_157 */\
|
||||||
|
+ MUX_VAL(CP(MCBSP2_FSX), (IEN | PTD | DIS | M0)) /* McBSP2_FSX */\
|
||||||
|
+ MUX_VAL(CP(MCBSP2_CLKX), (IEN | PTD | DIS | M0)) /* McBSP2_CLKX */\
|
||||||
|
+ MUX_VAL(CP(MCBSP2_DR), (IEN | PTD | DIS | M0)) /* McBSP2_DR */\
|
||||||
|
+ MUX_VAL(CP(MCBSP2_DX), (IDIS | PTD | DIS | M0)) /* McBSP2_DX */
|
||||||
|
+
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define MUX_IGEP0020() \
|
||||||
|
diff --git a/include/configs/omap3_igep00x0.h b/include/configs/omap3_igep00x0.h
|
||||||
|
index 79daabd..f1b5bb1 100644
|
||||||
|
--- a/include/configs/omap3_igep00x0.h
|
||||||
|
+++ b/include/configs/omap3_igep00x0.h
|
||||||
|
@@ -10,6 +10,8 @@
|
||||||
|
#ifndef __IGEP00X0_H
|
||||||
|
#define __IGEP00X0_H
|
||||||
|
|
||||||
|
+#undef CONFIG_BOOT_ONENAND
|
||||||
|
+
|
||||||
|
#ifdef CONFIG_BOOT_NAND
|
||||||
|
#define CONFIG_NAND
|
||||||
|
#endif
|
||||||
|
@@ -201,4 +203,42 @@
|
||||||
|
#define CONFIG_NAND_OMAP_ECCSCHEME OMAP_ECC_HAM1_CODE_HW
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#undef CONFIG_EXTRA_ENV_SETTINGS
|
||||||
|
+#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||||
|
+ "bootdelay=0\0" \
|
||||||
|
+ "loadaddr=0x80200000\0" \
|
||||||
|
+ "dtbaddr=0x81600000\0" \
|
||||||
|
+ "ipaddr=192.168.1.90\0" \
|
||||||
|
+ "serverip=192.168.1.147\0" \
|
||||||
|
+ "ethaddr=00:50:da:4b:5a:67\0" \
|
||||||
|
+ "console=ttyO2,115200n8\0" \
|
||||||
|
+ "mmcroot=/dev/mmcblk0p2\0" \
|
||||||
|
+ "mmcrootfstype=ext4\0"
|
||||||
|
+
|
||||||
|
+#undef CONFIG_BOOTCOMMAND
|
||||||
|
+#define CONFIG_BOOTCOMMAND \
|
||||||
|
+ "dcache on;" \
|
||||||
|
+ "icache on;" \
|
||||||
|
+ "setenv bootargs \"console=${console} root=${mmcroot} rootfstype=${mmcrootfstype} rootwait ro quiet\"; " \
|
||||||
|
+ "mmc dev 0; " \
|
||||||
|
+ "ext4load mmc0 0:2 ${loadaddr} /boot/kernel; " \
|
||||||
|
+ "ext4load mmc0 0:2 ${dtbaddr} /boot/board.dtb; " \
|
||||||
|
+ "bootz ${loadaddr} - ${dtbaddr}; " \
|
||||||
|
+
|
||||||
|
+#undef CONFIG_ENV_SIZE
|
||||||
|
+#define CONFIG_ENV_SIZE (128 << 10)
|
||||||
|
+
|
||||||
|
+#define CONFIG_ENV_IS_NOWHERE
|
||||||
|
+#define CONFIG_ZERO_BOOTDELAY_CHECK
|
||||||
|
+
|
||||||
|
+/* USB */
|
||||||
|
+#undef CONFIG_MUSB_UDC
|
||||||
|
+#undef CONFIG_USB_OMAP3
|
||||||
|
+#undef CONFIG_TWL4030_USB
|
||||||
|
+
|
||||||
|
+/* USB device configuration */
|
||||||
|
+#undef CONFIG_USB_DEVICE
|
||||||
|
+#undef CONFIG_USB_TTY
|
||||||
|
+#undef CONFIG_SYS_CONSOLE_IS_IN_ENV
|
||||||
|
+
|
||||||
|
#endif /* __IGEP00X0_H */
|
@@ -1,310 +0,0 @@
|
|||||||
diff --git a/board/isee/igep00x0/igep00x0.h b/board/isee/igep00x0/igep00x0.h
|
|
||||||
index 181f81f..d1320a1 100644
|
|
||||||
--- a/board/isee/igep00x0/igep00x0.h
|
|
||||||
+++ b/board/isee/igep00x0/igep00x0.h
|
|
||||||
@@ -131,6 +131,10 @@ static void setup_net_chip(void);
|
|
||||||
MUX_VAL(CP(MMC1_DAT1), (IEN | PTU | EN | M0)) /* MMC1_DAT1 */\
|
|
||||||
MUX_VAL(CP(MMC1_DAT2), (IEN | PTU | EN | M0)) /* MMC1_DAT2 */\
|
|
||||||
MUX_VAL(CP(MMC1_DAT3), (IEN | PTU | EN | M0)) /* MMC1_DAT3 */\
|
|
||||||
+ MUX_VAL(CP(UART1_TX), (IDIS | PTD | DIS | M0)) /* UART1_TX */\
|
|
||||||
+ MUX_VAL(CP(UART1_RTS), (IDIS | PTD | DIS | M0)) /* UART1_RTS */\
|
|
||||||
+ MUX_VAL(CP(UART1_CTS), (IEN | PTU | DIS | M0)) /* UART1_CTS */\
|
|
||||||
+ MUX_VAL(CP(UART1_RX), (IEN | PTD | DIS | M0)) /* UART1_RX */\
|
|
||||||
MUX_VAL(CP(UART3_TX_IRTX), (IDIS | PTD | DIS | M0)) /* UART3_TX */\
|
|
||||||
MUX_VAL(CP(UART3_RX_IRRX), (IEN | PTD | DIS | M0)) /* UART3_RX */\
|
|
||||||
MUX_VAL(CP(I2C1_SCL), (IEN | PTU | EN | M0)) /* I2C1_SCL */\
|
|
||||||
@@ -145,6 +149,10 @@ static void setup_net_chip(void);
|
|
||||||
MUX_VAL(CP(SYS_BOOT4), (IEN | PTD | DIS | M4)) /* GPIO_6 */\
|
|
||||||
MUX_VAL(CP(SYS_BOOT5), (IEN | PTD | DIS | M4)) /* GPIO_7 */\
|
|
||||||
MUX_VAL(CP(SYS_BOOT6), (IEN | PTD | DIS | M4)) /* GPIO_8 */\
|
|
||||||
+ MUX_VAL(CP(MCBSP2_FSX), (IEN | PTD | DIS | M0)) /* McBSP2_FSX */\
|
|
||||||
+ MUX_VAL(CP(MCBSP2_CLKX), (IEN | PTD | DIS | M0)) /* McBSP2_CLKX */\
|
|
||||||
+ MUX_VAL(CP(MCBSP2_DR), (IEN | PTD | DIS | M0)) /* McBSP2_DR */\
|
|
||||||
+ MUX_VAL(CP(MCBSP2_DX), (IDIS | PTD | DIS | M0)) /* McBSP2_DX */\
|
|
||||||
MUX_VAL(CP(SDRC_CKE0), (IDIS | PTU | EN | M0)) /* SDRC_CKE0 */\
|
|
||||||
MUX_VAL(CP(SDRC_CKE1), (IDIS | PTU | EN | M0)) /* SDRC_CKE1 */
|
|
||||||
#endif
|
|
||||||
diff --git a/boards.cfg b/boards.cfg
|
|
||||||
index a8336cc..bcc9bb2 100644
|
|
||||||
--- a/boards.cfg
|
|
||||||
+++ b/boards.cfg
|
|
||||||
@@ -1246,3 +1246,4 @@ Orphan powerpc mpc8xx - - genietv
|
|
||||||
Orphan powerpc mpc8xx - - mbx8xx MBX - -
|
|
||||||
Orphan powerpc mpc8xx - - mbx8xx MBX860T - -
|
|
||||||
Orphan powerpc mpc8xx - - nx823 NX823 - -
|
|
||||||
+Active arm armv7 omap3 isee igep00x0 igep0020_lsts omap3_igep00x0_lsts:MACH_TYPE=MACH_TYPE_IGEP0020 Ricardo Martins <rasm@fe.up.pt>
|
|
||||||
diff --git a/include/configs/omap3_igep00x0_lsts.h b/include/configs/omap3_igep00x0_lsts.h
|
|
||||||
new file mode 100644
|
|
||||||
index 0000000..858261c
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/include/configs/omap3_igep00x0_lsts.h
|
|
||||||
@@ -0,0 +1,269 @@
|
|
||||||
+/*
|
|
||||||
+ * LSTS optimized configuration for IGEPv2 board
|
|
||||||
+ *
|
|
||||||
+ * (C) Copyright 2012
|
|
||||||
+ * ISEE 2007 SL, <www.iseebcn.com>
|
|
||||||
+ *
|
|
||||||
+ * SPDX-License-Identifier: GPL-2.0+
|
|
||||||
+ */
|
|
||||||
+
|
|
||||||
+#ifndef __IGEP00X0_LSTS_H
|
|
||||||
+#define __IGEP00X0_LSTS_H
|
|
||||||
+
|
|
||||||
+#include <asm/sizes.h>
|
|
||||||
+
|
|
||||||
+/*
|
|
||||||
+ * Boot-delay.
|
|
||||||
+ */
|
|
||||||
+#ifdef CONFIG_BOOTDELAY
|
|
||||||
+# undef CONFIG_BOOTDELAY
|
|
||||||
+#endif
|
|
||||||
+#define CONFIG_BOOTDELAY 0
|
|
||||||
+#define CONFIG_ZERO_BOOTDELAY_CHECK 1
|
|
||||||
+
|
|
||||||
+/*
|
|
||||||
+ * High Level Configuration Options
|
|
||||||
+ */
|
|
||||||
+#define CONFIG_OMAP 1 /* in a TI OMAP core */
|
|
||||||
+#define CONFIG_OMAP34XX 1 /* which is a 34XX */
|
|
||||||
+#define CONFIG_OMAP_GPIO
|
|
||||||
+#define CONFIG_OMAP_COMMON
|
|
||||||
+#define CONFIG_OMAP3_GPIO_3
|
|
||||||
+
|
|
||||||
+#define CONFIG_SDRC /* The chip has SDRC controller */
|
|
||||||
+
|
|
||||||
+#include <asm/arch/cpu.h>
|
|
||||||
+#include <asm/arch/omap3.h>
|
|
||||||
+#include <asm/mach-types.h>
|
|
||||||
+
|
|
||||||
+/*
|
|
||||||
+ * Display CPU and Board information
|
|
||||||
+ */
|
|
||||||
+#define CONFIG_DISPLAY_CPUINFO 1
|
|
||||||
+#define CONFIG_DISPLAY_BOARDINFO 1
|
|
||||||
+
|
|
||||||
+/* Clock Defines */
|
|
||||||
+#define V_OSCK 26000000 /* Clock output from T2 */
|
|
||||||
+#define V_SCLK (V_OSCK >> 1)
|
|
||||||
+
|
|
||||||
+#define CONFIG_MISC_INIT_R
|
|
||||||
+
|
|
||||||
+#define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */
|
|
||||||
+#define CONFIG_SETUP_MEMORY_TAGS 1
|
|
||||||
+#define CONFIG_INITRD_TAG 1
|
|
||||||
+#define CONFIG_REVISION_TAG 1
|
|
||||||
+
|
|
||||||
+#define CONFIG_OF_LIBFDT
|
|
||||||
+
|
|
||||||
+/*
|
|
||||||
+ * NS16550 Configuration
|
|
||||||
+ */
|
|
||||||
+#define V_NS16550_CLK 48000000 /* 48MHz (APLL96/2) */
|
|
||||||
+#define CONFIG_SYS_NS16550
|
|
||||||
+#define CONFIG_SYS_NS16550_SERIAL
|
|
||||||
+#define CONFIG_SYS_NS16550_REG_SIZE (-4)
|
|
||||||
+#define CONFIG_SYS_NS16550_CLK V_NS16550_CLK
|
|
||||||
+
|
|
||||||
+/* select serial console configuration */
|
|
||||||
+#define CONFIG_CONS_INDEX 3
|
|
||||||
+#define CONFIG_SYS_NS16550_COM3 OMAP34XX_UART3
|
|
||||||
+#define CONFIG_SERIAL3 3
|
|
||||||
+
|
|
||||||
+/* allow to overwrite serial and ethaddr */
|
|
||||||
+#define CONFIG_ENV_OVERWRITE
|
|
||||||
+#define CONFIG_BAUDRATE 115200
|
|
||||||
+#define CONFIG_SYS_BAUDRATE_TABLE {57600, 115200}
|
|
||||||
+#define CONFIG_GENERIC_MMC 1
|
|
||||||
+#define CONFIG_MMC 1
|
|
||||||
+#define CONFIG_OMAP_HSMMC 1
|
|
||||||
+#define CONFIG_DOS_PARTITION 1
|
|
||||||
+
|
|
||||||
+#undef CONFIG_SHOW_BOOT_PROGRESS
|
|
||||||
+
|
|
||||||
+/* commands to include */
|
|
||||||
+#include <config_cmd_default.h>
|
|
||||||
+
|
|
||||||
+#define CONFIG_CMD_BOOTZ
|
|
||||||
+#define CONFIG_CMD_CACHE
|
|
||||||
+#define CONFIG_CMD_EXT4
|
|
||||||
+#define CONFIG_CMD_FAT
|
|
||||||
+#define CONFIG_CMD_FS_GENERIC
|
|
||||||
+#define CONFIG_CMD_I2C
|
|
||||||
+#define CONFIG_CMD_MMC
|
|
||||||
+
|
|
||||||
+#undef CONFIG_BOOTM_NETBSD
|
|
||||||
+#undef CONFIG_BOOTM_PLAN9
|
|
||||||
+#undef CONFIG_BOOTM_RTEMS
|
|
||||||
+#undef CONFIG_BOOTM_VXWORKS
|
|
||||||
+#undef CONFIG_BOOTP_DNS
|
|
||||||
+#undef CONFIG_BOOTP_DNS2
|
|
||||||
+#undef CONFIG_BOOTP_SEND_HOSTNAME
|
|
||||||
+#undef CONFIG_CMD_ASKENV
|
|
||||||
+#undef CONFIG_CMD_BDI
|
|
||||||
+#undef CONFIG_CMD_BOOTD
|
|
||||||
+#undef CONFIG_CMD_CRC32
|
|
||||||
+#undef CONFIG_CMD_DFU
|
|
||||||
+#undef CONFIG_CMD_DHCP
|
|
||||||
+#undef CONFIG_CMD_EDITENV
|
|
||||||
+#undef CONFIG_CMD_EDITENV
|
|
||||||
+#undef CONFIG_CMD_EXPORTENV
|
|
||||||
+#undef CONFIG_CMD_FPGA
|
|
||||||
+#undef CONFIG_CMD_ITEST
|
|
||||||
+#undef CONFIG_CMD_LOADB
|
|
||||||
+#undef CONFIG_CMD_LOADS
|
|
||||||
+#undef CONFIG_CMD_MEMORY
|
|
||||||
+#undef CONFIG_CMD_MISC
|
|
||||||
+#undef CONFIG_CMD_NET
|
|
||||||
+#undef CONFIG_CMD_NFS
|
|
||||||
+#undef CONFIG_CMD_PING
|
|
||||||
+#undef CONFIG_CMD_SETGETDCR
|
|
||||||
+#undef CONFIG_CMD_SPI
|
|
||||||
+#undef CONFIG_MII
|
|
||||||
+#undef CONFIG_MUSB_GADGET
|
|
||||||
+#undef CONFIG_MUSB_HOST
|
|
||||||
+#undef CONFIG_NAND
|
|
||||||
+#undef CONFIG_OMAP3_SPI
|
|
||||||
+#undef CONFIG_SPI
|
|
||||||
+#undef CONFIG_SPI_BOOT
|
|
||||||
+#undef CONFIG_SPL_ETH_SUPPORT
|
|
||||||
+#undef CONFIG_SPL_NAND_LOAD
|
|
||||||
+#undef CONFIG_SPL_NAND_SUPPORT
|
|
||||||
+#undef CONFIG_SPL_SPI_FLASH_SUPPORT
|
|
||||||
+#undef CONFIG_SPL_SPI_LOAD
|
|
||||||
+#undef CONFIG_SPL_SPI_SUPPORT
|
|
||||||
+#undef CONFIG_SPL_YMODEM_SUPPORT
|
|
||||||
+#undef CONFIG_SYS_LONGHELP
|
|
||||||
+#undef CONFIG_FLASH_CFI_DRIVER
|
|
||||||
+#undef CONFIG_FLASH_CFI_MTD
|
|
||||||
+#undef CONFIG_CMD_FLASH
|
|
||||||
+#undef CONFIG_CMD_SAVEENV
|
|
||||||
+#undef CONFIG_CMD_IMPORTENV
|
|
||||||
+#undef CONFIG_CMD_IMLS
|
|
||||||
+#undef CONFIG_CMD_IMI
|
|
||||||
+
|
|
||||||
+/* Environment. */
|
|
||||||
+#define CONFIG_ENV_SIZE (128 << 10)
|
|
||||||
+#define CONFIG_ENV_IS_NOWHERE
|
|
||||||
+
|
|
||||||
+/*
|
|
||||||
+ * TWL4030
|
|
||||||
+ */
|
|
||||||
+#define CONFIG_TWL4030_POWER 1
|
|
||||||
+
|
|
||||||
+#ifndef CONFIG_SPL_BUILD
|
|
||||||
+#define CONFIG_EXTRA_ENV_SETTINGS \
|
|
||||||
+ "loadaddr=0x80200000\0" \
|
|
||||||
+ "dtbaddr=0x81600000\0" \
|
|
||||||
+ "ipaddr=192.168.1.90\0" \
|
|
||||||
+ "serverip=192.168.1.147\0" \
|
|
||||||
+ "ethaddr=00:50:da:4b:5a:67\0" \
|
|
||||||
+ "console=ttyO2,115200n8\0" \
|
|
||||||
+ "mmcroot=/dev/mmcblk0p2\0" \
|
|
||||||
+ "mmcrootfstype=ext4\0"
|
|
||||||
+
|
|
||||||
+#define CONFIG_BOOTCOMMAND \
|
|
||||||
+ "setenv bootargs \"console=${console} root=${mmcroot} rootfstype=${mmcrootfstype} rootwait ro quiet\"; " \
|
|
||||||
+ "mmc dev 0; " \
|
|
||||||
+ "ext4load mmc0 0:2 ${loadaddr} /boot/kernel; " \
|
|
||||||
+ "ext4load mmc0 0:2 ${dtbaddr} /boot/board.dtb; " \
|
|
||||||
+ "bootz ${loadaddr} - ${dtbaddr}; "
|
|
||||||
+
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
+/*
|
|
||||||
+ * Miscellaneous configurable options
|
|
||||||
+ */
|
|
||||||
+#ifdef CONFIG_SYS_LONGHELP
|
|
||||||
+# undef CONFIG_SYS_LONGHELP
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
+#define CONFIG_SYS_NO_FLASH
|
|
||||||
+#define CONFIG_SYS_I2C
|
|
||||||
+#define CONFIG_SYS_I2C_OMAP34XX
|
|
||||||
+#define CONFIG_SYS_OMAP24_I2C_SPEED 100000
|
|
||||||
+#define CONFIG_SYS_OMAP24_I2C_SLAVE 1
|
|
||||||
+#define CONFIG_SYS_HUSH_PARSER
|
|
||||||
+#define CONFIG_SYS_PROMPT "U-Boot # "
|
|
||||||
+#define CONFIG_SYS_CBSIZE 256
|
|
||||||
+#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
|
|
||||||
+#define CONFIG_SYS_MAXARGS 16
|
|
||||||
+#define CONFIG_SYS_BARGSIZE (CONFIG_SYS_CBSIZE)
|
|
||||||
+#define CONFIG_SYS_MEMTEST_START (OMAP34XX_SDRC_CS0)
|
|
||||||
+#define CONFIG_SYS_MEMTEST_END (OMAP34XX_SDRC_CS0 + 0x01F00000) /* 31MB */
|
|
||||||
+#define CONFIG_SYS_LOAD_ADDR (OMAP34XX_SDRC_CS0)
|
|
||||||
+#define CONFIG_SYS_MONITOR_LEN (256 << 10)
|
|
||||||
+
|
|
||||||
+/*
|
|
||||||
+ * OMAP3 has 12 GP timers, they can be driven by the system clock
|
|
||||||
+ * (12/13/16.8/19.2/38.4MHz) or by 32KHz clock. We use 13MHz (V_SCLK).
|
|
||||||
+ * This rate is divided by a local divisor.
|
|
||||||
+ */
|
|
||||||
+#define CONFIG_SYS_TIMERBASE (OMAP34XX_GPT2)
|
|
||||||
+#define CONFIG_SYS_PTV 2 /* Divisor: 2^(PTV+1) => 8 */
|
|
||||||
+
|
|
||||||
+/*
|
|
||||||
+ * Physical Memory Map
|
|
||||||
+ */
|
|
||||||
+#define CONFIG_NR_DRAM_BANKS 2 /* CS1 may or may not be populated */
|
|
||||||
+#define PHYS_SDRAM_1 OMAP34XX_SDRC_CS0
|
|
||||||
+#define PHYS_SDRAM_2 OMAP34XX_SDRC_CS1
|
|
||||||
+
|
|
||||||
+/*
|
|
||||||
+ * Size of malloc() pool
|
|
||||||
+ */
|
|
||||||
+#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (128 << 10))
|
|
||||||
+
|
|
||||||
+/*
|
|
||||||
+ * SMSC911x Ethernet
|
|
||||||
+ */
|
|
||||||
+#if defined(CONFIG_CMD_NET)
|
|
||||||
+# define CONFIG_SMC911X
|
|
||||||
+# define CONFIG_SMC911X_32_BIT
|
|
||||||
+# define CONFIG_SMC911X_BASE 0x2C000000
|
|
||||||
+#endif /* (CONFIG_CMD_NET) */
|
|
||||||
+
|
|
||||||
+/*
|
|
||||||
+ * Leave it at 0x80008000 to allow booting new u-boot.bin with X-loader
|
|
||||||
+ * and older u-boot.bin with the new U-Boot SPL.
|
|
||||||
+ */
|
|
||||||
+#define CONFIG_SYS_TEXT_BASE 0x80008000
|
|
||||||
+#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
|
|
||||||
+#define CONFIG_SYS_INIT_RAM_ADDR 0x4020f800
|
|
||||||
+#define CONFIG_SYS_INIT_RAM_SIZE 0x800
|
|
||||||
+#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + \
|
|
||||||
+ CONFIG_SYS_INIT_RAM_SIZE - \
|
|
||||||
+ GENERATED_GBL_DATA_SIZE)
|
|
||||||
+
|
|
||||||
+/* SPL */
|
|
||||||
+#define CONFIG_SPL
|
|
||||||
+#define CONFIG_SPL_FRAMEWORK
|
|
||||||
+#define CONFIG_SPL_NAND_SIMPLE
|
|
||||||
+#define CONFIG_SPL_TEXT_BASE 0x40200800
|
|
||||||
+#define CONFIG_SPL_MAX_SIZE (54 * 1024)
|
|
||||||
+#define CONFIG_SPL_STACK LOW_LEVEL_SRAM_STACK
|
|
||||||
+
|
|
||||||
+/* move malloc and bss high to prevent clashing with the main image */
|
|
||||||
+#define CONFIG_SYS_SPL_MALLOC_START 0x87000000
|
|
||||||
+#define CONFIG_SYS_SPL_MALLOC_SIZE 0x80000
|
|
||||||
+#define CONFIG_SPL_BSS_START_ADDR 0x87080000 /* end of minimum RAM */
|
|
||||||
+#define CONFIG_SPL_BSS_MAX_SIZE 0x80000 /* 512 KB */
|
|
||||||
+
|
|
||||||
+/* MMC boot config */
|
|
||||||
+#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x300 /* address 0x60000 */
|
|
||||||
+#define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS 0x200 /* 256 KB */
|
|
||||||
+#define CONFIG_SYS_MMC_SD_FAT_BOOT_PARTITION 1
|
|
||||||
+#define CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME "u-boot.img"
|
|
||||||
+
|
|
||||||
+#define CONFIG_SPL_BOARD_INIT
|
|
||||||
+#define CONFIG_SPL_LIBCOMMON_SUPPORT
|
|
||||||
+#define CONFIG_SPL_LIBDISK_SUPPORT
|
|
||||||
+#define CONFIG_SPL_I2C_SUPPORT
|
|
||||||
+#define CONFIG_SPL_LIBGENERIC_SUPPORT
|
|
||||||
+#define CONFIG_SPL_MMC_SUPPORT
|
|
||||||
+#define CONFIG_SPL_FAT_SUPPORT
|
|
||||||
+#define CONFIG_SPL_SERIAL_SUPPORT
|
|
||||||
+
|
|
||||||
+#define CONFIG_SPL_POWER_SUPPORT
|
|
||||||
+#define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds"
|
|
||||||
+
|
|
||||||
+#endif /* __IGEP00X0_LSTS_H */
|
|
@@ -1,3 +1,2 @@
|
|||||||
cfg_hostname='x8-00'
|
cfg_hostname='x8-00'
|
||||||
cfg_eth_ext_ip='10.0.20.95'
|
cfg_eth_ext_ip='10.0.20.95'
|
||||||
cfg_services1='ntpd'
|
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
cfg_hostname='x8-01'
|
|
||||||
cfg_eth_ext_ip='10.0.20.100'
|
|
||||||
cfg_services1='ntpd'
|
|
@@ -1,3 +1,3 @@
|
|||||||
cfg_hostname='x8-02'
|
cfg_hostname='x8-02'
|
||||||
cfg_eth_ext_ip='10.0.20.105'
|
cfg_eth_ext_ip='10.0.20.105'
|
||||||
cfg_services1='ntpd'
|
cfg_packages='u-boot dropbear rsync busybox linux uswitch ppp iptables socat bridge-utils ntp e2fsprogs i2c-tools iperf dnsmasq libav'
|
||||||
|
6
systems/lctr-b2xx/aero-01.cfg
Normal file
6
systems/lctr-b2xx/aero-01.cfg
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
cfg_hostname='aero-01'
|
||||||
|
cfg_storage='data0:ext4:/opt'
|
||||||
|
cfg_eth_ext_ip='10.0.20.120'
|
||||||
|
cfg_eth_ext_mk='255.255.0.0'
|
||||||
|
cfg_eth_ext_gw='10.0.0.1'
|
||||||
|
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libav'
|
2
systems/lctr-b2xx/ardupilot-testbed.cfg
Normal file
2
systems/lctr-b2xx/ardupilot-testbed.cfg
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
cfg_hostname='ardupilot-testbed'
|
||||||
|
cfg_eth_ext_ip='10.0.200.6'
|
@@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# Automatically generated file; DO NOT EDIT.
|
# Automatically generated file; DO NOT EDIT.
|
||||||
# Linux/arm 3.13.11 Kernel Configuration
|
# Linux/arm 3.14.16 Kernel Configuration
|
||||||
#
|
#
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
|
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
|
||||||
@@ -124,7 +124,6 @@ CONFIG_IPC_NS=y
|
|||||||
# CONFIG_USER_NS is not set
|
# CONFIG_USER_NS is not set
|
||||||
CONFIG_PID_NS=y
|
CONFIG_PID_NS=y
|
||||||
CONFIG_NET_NS=y
|
CONFIG_NET_NS=y
|
||||||
# CONFIG_UIDGID_STRICT_TYPE_CHECKS is not set
|
|
||||||
CONFIG_SCHED_AUTOGROUP=y
|
CONFIG_SCHED_AUTOGROUP=y
|
||||||
CONFIG_MM_OWNER=y
|
CONFIG_MM_OWNER=y
|
||||||
# CONFIG_SYSFS_DEPRECATED is not set
|
# CONFIG_SYSFS_DEPRECATED is not set
|
||||||
@@ -163,11 +162,14 @@ CONFIG_COMPAT_BRK=y
|
|||||||
CONFIG_SLAB=y
|
CONFIG_SLAB=y
|
||||||
# CONFIG_SLUB is not set
|
# CONFIG_SLUB is not set
|
||||||
# CONFIG_SLOB is not set
|
# CONFIG_SLOB is not set
|
||||||
|
# CONFIG_SYSTEM_TRUSTED_KEYRING is not set
|
||||||
# CONFIG_PROFILING is not set
|
# CONFIG_PROFILING is not set
|
||||||
CONFIG_HAVE_OPROFILE=y
|
CONFIG_HAVE_OPROFILE=y
|
||||||
# CONFIG_KPROBES is not set
|
# CONFIG_KPROBES is not set
|
||||||
# CONFIG_JUMP_LABEL is not set
|
# CONFIG_JUMP_LABEL is not set
|
||||||
# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
|
# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
|
||||||
|
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
|
||||||
|
CONFIG_ARCH_USE_BUILTIN_BSWAP=y
|
||||||
CONFIG_HAVE_KPROBES=y
|
CONFIG_HAVE_KPROBES=y
|
||||||
CONFIG_HAVE_KRETPROBES=y
|
CONFIG_HAVE_KRETPROBES=y
|
||||||
CONFIG_HAVE_ARCH_TRACEHOOK=y
|
CONFIG_HAVE_ARCH_TRACEHOOK=y
|
||||||
@@ -183,6 +185,11 @@ CONFIG_HAVE_PERF_USER_STACK_DUMP=y
|
|||||||
CONFIG_HAVE_ARCH_JUMP_LABEL=y
|
CONFIG_HAVE_ARCH_JUMP_LABEL=y
|
||||||
CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
|
CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
|
||||||
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
|
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
|
||||||
|
CONFIG_HAVE_CC_STACKPROTECTOR=y
|
||||||
|
# CONFIG_CC_STACKPROTECTOR is not set
|
||||||
|
CONFIG_CC_STACKPROTECTOR_NONE=y
|
||||||
|
# CONFIG_CC_STACKPROTECTOR_REGULAR is not set
|
||||||
|
# CONFIG_CC_STACKPROTECTOR_STRONG is not set
|
||||||
CONFIG_HAVE_CONTEXT_TRACKING=y
|
CONFIG_HAVE_CONTEXT_TRACKING=y
|
||||||
CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
|
CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
|
||||||
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
|
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
|
||||||
@@ -200,7 +207,6 @@ CONFIG_HAVE_GENERIC_DMA_COHERENT=y
|
|||||||
CONFIG_SLABINFO=y
|
CONFIG_SLABINFO=y
|
||||||
CONFIG_RT_MUTEXES=y
|
CONFIG_RT_MUTEXES=y
|
||||||
CONFIG_BASE_SMALL=0
|
CONFIG_BASE_SMALL=0
|
||||||
# CONFIG_SYSTEM_TRUSTED_KEYRING is not set
|
|
||||||
CONFIG_MODULES=y
|
CONFIG_MODULES=y
|
||||||
CONFIG_MODULE_FORCE_LOAD=y
|
CONFIG_MODULE_FORCE_LOAD=y
|
||||||
CONFIG_MODULE_UNLOAD=y
|
CONFIG_MODULE_UNLOAD=y
|
||||||
@@ -253,6 +259,7 @@ CONFIG_DEFAULT_CFQ=y
|
|||||||
CONFIG_DEFAULT_IOSCHED="cfq"
|
CONFIG_DEFAULT_IOSCHED="cfq"
|
||||||
CONFIG_ASN1=m
|
CONFIG_ASN1=m
|
||||||
CONFIG_UNINLINE_SPIN_UNLOCK=y
|
CONFIG_UNINLINE_SPIN_UNLOCK=y
|
||||||
|
CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
|
||||||
CONFIG_FREEZER=y
|
CONFIG_FREEZER=y
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -283,8 +290,8 @@ CONFIG_ARCH_MULTIPLATFORM=y
|
|||||||
# CONFIG_ARCH_W90X900 is not set
|
# CONFIG_ARCH_W90X900 is not set
|
||||||
# CONFIG_ARCH_LPC32XX is not set
|
# CONFIG_ARCH_LPC32XX is not set
|
||||||
# CONFIG_ARCH_PXA is not set
|
# CONFIG_ARCH_PXA is not set
|
||||||
# CONFIG_ARCH_MSM is not set
|
# CONFIG_ARCH_MSM_NODT is not set
|
||||||
# CONFIG_ARCH_SHMOBILE is not set
|
# CONFIG_ARCH_SHMOBILE_LEGACY is not set
|
||||||
# CONFIG_ARCH_RPC is not set
|
# CONFIG_ARCH_RPC is not set
|
||||||
# CONFIG_ARCH_SA1100 is not set
|
# CONFIG_ARCH_SA1100 is not set
|
||||||
# CONFIG_ARCH_S3C24XX is not set
|
# CONFIG_ARCH_S3C24XX is not set
|
||||||
@@ -309,9 +316,12 @@ CONFIG_ARCH_MULTI_V6_V7=y
|
|||||||
# CONFIG_ARCH_MULTI_CPU_AUTO is not set
|
# CONFIG_ARCH_MULTI_CPU_AUTO is not set
|
||||||
# CONFIG_ARCH_MVEBU is not set
|
# CONFIG_ARCH_MVEBU is not set
|
||||||
# CONFIG_ARCH_BCM is not set
|
# CONFIG_ARCH_BCM is not set
|
||||||
|
# CONFIG_ARCH_BERLIN is not set
|
||||||
# CONFIG_GPIO_PCA953X is not set
|
# CONFIG_GPIO_PCA953X is not set
|
||||||
# CONFIG_ARCH_HIGHBANK is not set
|
# CONFIG_ARCH_HIGHBANK is not set
|
||||||
|
# CONFIG_ARCH_HI3xxx is not set
|
||||||
# CONFIG_ARCH_KEYSTONE is not set
|
# CONFIG_ARCH_KEYSTONE is not set
|
||||||
|
# CONFIG_ARCH_MSM_DT is not set
|
||||||
# CONFIG_ARCH_MXC is not set
|
# CONFIG_ARCH_MXC is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -337,6 +347,7 @@ CONFIG_ARCH_OMAP4=y
|
|||||||
# CONFIG_SOC_OMAP5 is not set
|
# CONFIG_SOC_OMAP5 is not set
|
||||||
CONFIG_SOC_AM33XX=y
|
CONFIG_SOC_AM33XX=y
|
||||||
# CONFIG_SOC_AM43XX is not set
|
# CONFIG_SOC_AM43XX is not set
|
||||||
|
# CONFIG_SOC_DRA7XX is not set
|
||||||
CONFIG_ARCH_OMAP2PLUS=y
|
CONFIG_ARCH_OMAP2PLUS=y
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -344,7 +355,6 @@ CONFIG_ARCH_OMAP2PLUS=y
|
|||||||
#
|
#
|
||||||
CONFIG_ARCH_OMAP2PLUS_TYPICAL=y
|
CONFIG_ARCH_OMAP2PLUS_TYPICAL=y
|
||||||
CONFIG_SOC_HAS_OMAP2_SDRC=y
|
CONFIG_SOC_HAS_OMAP2_SDRC=y
|
||||||
# CONFIG_SOC_DRA7XX is not set
|
|
||||||
# CONFIG_SOC_OMAP3430 is not set
|
# CONFIG_SOC_OMAP3430 is not set
|
||||||
# CONFIG_SOC_TI81XX is not set
|
# CONFIG_SOC_TI81XX is not set
|
||||||
|
|
||||||
@@ -475,6 +485,7 @@ CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
|
|||||||
CONFIG_FLATMEM=y
|
CONFIG_FLATMEM=y
|
||||||
CONFIG_FLAT_NODE_MEM_MAP=y
|
CONFIG_FLAT_NODE_MEM_MAP=y
|
||||||
CONFIG_HAVE_MEMBLOCK=y
|
CONFIG_HAVE_MEMBLOCK=y
|
||||||
|
CONFIG_NO_BOOTMEM=y
|
||||||
# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set
|
# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set
|
||||||
CONFIG_PAGEFLAGS_EXTENDED=y
|
CONFIG_PAGEFLAGS_EXTENDED=y
|
||||||
CONFIG_SPLIT_PTLOCK_CPUS=4
|
CONFIG_SPLIT_PTLOCK_CPUS=4
|
||||||
@@ -490,11 +501,11 @@ CONFIG_NEED_PER_CPU_KM=y
|
|||||||
# CONFIG_CLEANCACHE is not set
|
# CONFIG_CLEANCACHE is not set
|
||||||
# CONFIG_CMA is not set
|
# CONFIG_CMA is not set
|
||||||
# CONFIG_ZBUD is not set
|
# CONFIG_ZBUD is not set
|
||||||
|
# CONFIG_ZSMALLOC is not set
|
||||||
CONFIG_FORCE_MAX_ZONEORDER=12
|
CONFIG_FORCE_MAX_ZONEORDER=12
|
||||||
CONFIG_ALIGNMENT_TRAP=y
|
CONFIG_ALIGNMENT_TRAP=y
|
||||||
# CONFIG_UACCESS_WITH_MEMCPY is not set
|
# CONFIG_UACCESS_WITH_MEMCPY is not set
|
||||||
# CONFIG_SECCOMP is not set
|
# CONFIG_SECCOMP is not set
|
||||||
# CONFIG_CC_STACKPROTECTOR is not set
|
|
||||||
CONFIG_SWIOTLB=y
|
CONFIG_SWIOTLB=y
|
||||||
CONFIG_IOMMU_HELPER=y
|
CONFIG_IOMMU_HELPER=y
|
||||||
# CONFIG_XEN is not set
|
# CONFIG_XEN is not set
|
||||||
@@ -537,7 +548,6 @@ CONFIG_CPU_FREQ_GOV_POWERSAVE=y
|
|||||||
CONFIG_CPU_FREQ_GOV_USERSPACE=y
|
CONFIG_CPU_FREQ_GOV_USERSPACE=y
|
||||||
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
|
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
|
||||||
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
|
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
|
||||||
CONFIG_GENERIC_CPUFREQ_CPU0=y
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# ARM CPU frequency scaling drivers
|
# ARM CPU frequency scaling drivers
|
||||||
@@ -678,7 +688,8 @@ CONFIG_HAVE_NET_DSA=y
|
|||||||
# CONFIG_NETLINK_DIAG is not set
|
# CONFIG_NETLINK_DIAG is not set
|
||||||
# CONFIG_NET_MPLS_GSO is not set
|
# CONFIG_NET_MPLS_GSO is not set
|
||||||
# CONFIG_HSR is not set
|
# CONFIG_HSR is not set
|
||||||
# CONFIG_NETPRIO_CGROUP is not set
|
# CONFIG_CGROUP_NET_PRIO is not set
|
||||||
|
# CONFIG_CGROUP_NET_CLASSID is not set
|
||||||
CONFIG_NET_RX_BUSY_POLL=y
|
CONFIG_NET_RX_BUSY_POLL=y
|
||||||
CONFIG_BQL=y
|
CONFIG_BQL=y
|
||||||
# CONFIG_BPF_JIT is not set
|
# CONFIG_BPF_JIT is not set
|
||||||
@@ -752,8 +763,8 @@ CONFIG_OF_ADDRESS=y
|
|||||||
CONFIG_OF_IRQ=y
|
CONFIG_OF_IRQ=y
|
||||||
CONFIG_OF_NET=y
|
CONFIG_OF_NET=y
|
||||||
CONFIG_OF_MDIO=y
|
CONFIG_OF_MDIO=y
|
||||||
# CONFIG_PARPORT is not set
|
|
||||||
CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
|
CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
|
||||||
|
# CONFIG_PARPORT is not set
|
||||||
CONFIG_BLK_DEV=y
|
CONFIG_BLK_DEV=y
|
||||||
# CONFIG_BLK_DEV_NULL_BLK is not set
|
# CONFIG_BLK_DEV_NULL_BLK is not set
|
||||||
# CONFIG_BLK_DEV_COW_COMMON is not set
|
# CONFIG_BLK_DEV_COW_COMMON is not set
|
||||||
@@ -1101,16 +1112,15 @@ CONFIG_I2C_GPIO=m
|
|||||||
CONFIG_I2C_OMAP=y
|
CONFIG_I2C_OMAP=y
|
||||||
# CONFIG_I2C_PCA_PLATFORM is not set
|
# CONFIG_I2C_PCA_PLATFORM is not set
|
||||||
# CONFIG_I2C_PXA_PCI is not set
|
# CONFIG_I2C_PXA_PCI is not set
|
||||||
# CONFIG_I2C_SH_MOBILE is not set
|
|
||||||
# CONFIG_I2C_SIMTEC is not set
|
# CONFIG_I2C_SIMTEC is not set
|
||||||
# CONFIG_I2C_XILINX is not set
|
# CONFIG_I2C_XILINX is not set
|
||||||
# CONFIG_I2C_RCAR is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# External I2C/SMBus adapter drivers
|
# External I2C/SMBus adapter drivers
|
||||||
#
|
#
|
||||||
# CONFIG_I2C_DIOLAN_U2C is not set
|
# CONFIG_I2C_DIOLAN_U2C is not set
|
||||||
# CONFIG_I2C_PARPORT_LIGHT is not set
|
# CONFIG_I2C_PARPORT_LIGHT is not set
|
||||||
|
# CONFIG_I2C_ROBOTFUZZ_OSIF is not set
|
||||||
# CONFIG_I2C_TAOS_EVM is not set
|
# CONFIG_I2C_TAOS_EVM is not set
|
||||||
CONFIG_I2C_TINY_USB=m
|
CONFIG_I2C_TINY_USB=m
|
||||||
|
|
||||||
@@ -1183,6 +1193,8 @@ CONFIG_PINMUX=y
|
|||||||
CONFIG_PINCONF=y
|
CONFIG_PINCONF=y
|
||||||
CONFIG_GENERIC_PINCONF=y
|
CONFIG_GENERIC_PINCONF=y
|
||||||
# CONFIG_DEBUG_PINCTRL is not set
|
# CONFIG_DEBUG_PINCTRL is not set
|
||||||
|
# CONFIG_PINCTRL_CAPRI is not set
|
||||||
|
# CONFIG_PINCTRL_MSM8X74 is not set
|
||||||
CONFIG_PINCTRL_SINGLE=y
|
CONFIG_PINCTRL_SINGLE=y
|
||||||
CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y
|
CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y
|
||||||
CONFIG_ARCH_REQUIRE_GPIOLIB=y
|
CONFIG_ARCH_REQUIRE_GPIOLIB=y
|
||||||
@@ -1198,6 +1210,7 @@ CONFIG_GPIO_SYSFS=y
|
|||||||
# CONFIG_GPIO_GENERIC_PLATFORM is not set
|
# CONFIG_GPIO_GENERIC_PLATFORM is not set
|
||||||
# CONFIG_GPIO_EM is not set
|
# CONFIG_GPIO_EM is not set
|
||||||
# CONFIG_GPIO_RCAR is not set
|
# CONFIG_GPIO_RCAR is not set
|
||||||
|
# CONFIG_GPIO_SCH311X is not set
|
||||||
# CONFIG_GPIO_TS5500 is not set
|
# CONFIG_GPIO_TS5500 is not set
|
||||||
# CONFIG_GPIO_GRGPIO is not set
|
# CONFIG_GPIO_GRGPIO is not set
|
||||||
|
|
||||||
@@ -1339,6 +1352,7 @@ CONFIG_HWMON=y
|
|||||||
# CONFIG_SENSORS_MAX6697 is not set
|
# CONFIG_SENSORS_MAX6697 is not set
|
||||||
# CONFIG_SENSORS_MCP3021 is not set
|
# CONFIG_SENSORS_MCP3021 is not set
|
||||||
# CONFIG_SENSORS_NCT6775 is not set
|
# CONFIG_SENSORS_NCT6775 is not set
|
||||||
|
# CONFIG_SENSORS_NTC_THERMISTOR is not set
|
||||||
# CONFIG_SENSORS_PC87360 is not set
|
# CONFIG_SENSORS_PC87360 is not set
|
||||||
# CONFIG_SENSORS_PC87427 is not set
|
# CONFIG_SENSORS_PC87427 is not set
|
||||||
# CONFIG_SENSORS_PCF8591 is not set
|
# CONFIG_SENSORS_PCF8591 is not set
|
||||||
@@ -1385,6 +1399,7 @@ CONFIG_WATCHDOG_CORE=y
|
|||||||
# Watchdog Device Drivers
|
# Watchdog Device Drivers
|
||||||
#
|
#
|
||||||
# CONFIG_SOFT_WATCHDOG is not set
|
# CONFIG_SOFT_WATCHDOG is not set
|
||||||
|
# CONFIG_GPIO_WATCHDOG is not set
|
||||||
# CONFIG_DW_WATCHDOG is not set
|
# CONFIG_DW_WATCHDOG is not set
|
||||||
CONFIG_OMAP_WATCHDOG=y
|
CONFIG_OMAP_WATCHDOG=y
|
||||||
CONFIG_TWL4030_WATCHDOG=y
|
CONFIG_TWL4030_WATCHDOG=y
|
||||||
@@ -1432,6 +1447,7 @@ CONFIG_MFD_CORE=y
|
|||||||
# CONFIG_MFD_88PM800 is not set
|
# CONFIG_MFD_88PM800 is not set
|
||||||
# CONFIG_MFD_88PM805 is not set
|
# CONFIG_MFD_88PM805 is not set
|
||||||
# CONFIG_MFD_88PM860X is not set
|
# CONFIG_MFD_88PM860X is not set
|
||||||
|
# CONFIG_MFD_MAX14577 is not set
|
||||||
# CONFIG_MFD_MAX77686 is not set
|
# CONFIG_MFD_MAX77686 is not set
|
||||||
# CONFIG_MFD_MAX77693 is not set
|
# CONFIG_MFD_MAX77693 is not set
|
||||||
# CONFIG_MFD_MAX8907 is not set
|
# CONFIG_MFD_MAX8907 is not set
|
||||||
@@ -1451,6 +1467,7 @@ CONFIG_MFD_CORE=y
|
|||||||
# CONFIG_MFD_STMPE is not set
|
# CONFIG_MFD_STMPE is not set
|
||||||
# CONFIG_MFD_SYSCON is not set
|
# CONFIG_MFD_SYSCON is not set
|
||||||
CONFIG_MFD_TI_AM335X_TSCADC=y
|
CONFIG_MFD_TI_AM335X_TSCADC=y
|
||||||
|
# CONFIG_MFD_LP3943 is not set
|
||||||
# CONFIG_MFD_LP8788 is not set
|
# CONFIG_MFD_LP8788 is not set
|
||||||
# CONFIG_MFD_PALMAS is not set
|
# CONFIG_MFD_PALMAS is not set
|
||||||
# CONFIG_TPS6105X is not set
|
# CONFIG_TPS6105X is not set
|
||||||
@@ -1489,6 +1506,7 @@ CONFIG_REGULATOR=y
|
|||||||
CONFIG_REGULATOR_FIXED_VOLTAGE=y
|
CONFIG_REGULATOR_FIXED_VOLTAGE=y
|
||||||
# CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set
|
# CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set
|
||||||
# CONFIG_REGULATOR_USERSPACE_CONSUMER is not set
|
# CONFIG_REGULATOR_USERSPACE_CONSUMER is not set
|
||||||
|
# CONFIG_REGULATOR_ACT8865 is not set
|
||||||
# CONFIG_REGULATOR_AD5398 is not set
|
# CONFIG_REGULATOR_AD5398 is not set
|
||||||
# CONFIG_REGULATOR_DA9210 is not set
|
# CONFIG_REGULATOR_DA9210 is not set
|
||||||
# CONFIG_REGULATOR_FAN53555 is not set
|
# CONFIG_REGULATOR_FAN53555 is not set
|
||||||
@@ -1517,7 +1535,6 @@ CONFIG_REGULATOR_TWL4030=y
|
|||||||
#
|
#
|
||||||
# Graphics support
|
# Graphics support
|
||||||
#
|
#
|
||||||
# CONFIG_TEGRA_HOST1X is not set
|
|
||||||
# CONFIG_DRM is not set
|
# CONFIG_DRM is not set
|
||||||
# CONFIG_VGASTATE is not set
|
# CONFIG_VGASTATE is not set
|
||||||
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
|
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
|
||||||
@@ -1646,18 +1663,6 @@ CONFIG_USB_DYNAMIC_MINORS=y
|
|||||||
# CONFIG_USB_R8A66597_HCD is not set
|
# CONFIG_USB_R8A66597_HCD is not set
|
||||||
# CONFIG_USB_RENESAS_USBHS_HCD is not set
|
# CONFIG_USB_RENESAS_USBHS_HCD is not set
|
||||||
# CONFIG_USB_HCD_TEST_MODE is not set
|
# CONFIG_USB_HCD_TEST_MODE is not set
|
||||||
CONFIG_USB_MUSB_HDRC=y
|
|
||||||
CONFIG_USB_MUSB_HOST=y
|
|
||||||
# CONFIG_USB_MUSB_GADGET is not set
|
|
||||||
# CONFIG_USB_MUSB_DUAL_ROLE is not set
|
|
||||||
# CONFIG_USB_MUSB_TUSB6010 is not set
|
|
||||||
# CONFIG_USB_MUSB_OMAP2PLUS is not set
|
|
||||||
# CONFIG_USB_MUSB_AM35X is not set
|
|
||||||
CONFIG_USB_MUSB_DSPS=y
|
|
||||||
# CONFIG_USB_MUSB_UX500 is not set
|
|
||||||
CONFIG_USB_MUSB_AM335X_CHILD=y
|
|
||||||
CONFIG_USB_TI_CPPI41_DMA=y
|
|
||||||
# CONFIG_MUSB_PIO_ONLY is not set
|
|
||||||
CONFIG_USB_RENESAS_USBHS=y
|
CONFIG_USB_RENESAS_USBHS=y
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -1696,7 +1701,20 @@ CONFIG_USB_STORAGE=y
|
|||||||
#
|
#
|
||||||
# CONFIG_USB_MDC800 is not set
|
# CONFIG_USB_MDC800 is not set
|
||||||
# CONFIG_USB_MICROTEK is not set
|
# CONFIG_USB_MICROTEK is not set
|
||||||
|
CONFIG_USB_MUSB_HDRC=y
|
||||||
|
CONFIG_USB_MUSB_HOST=y
|
||||||
|
# CONFIG_USB_MUSB_GADGET is not set
|
||||||
|
# CONFIG_USB_MUSB_DUAL_ROLE is not set
|
||||||
|
# CONFIG_USB_MUSB_TUSB6010 is not set
|
||||||
|
# CONFIG_USB_MUSB_OMAP2PLUS is not set
|
||||||
|
# CONFIG_USB_MUSB_AM35X is not set
|
||||||
|
CONFIG_USB_MUSB_DSPS=y
|
||||||
|
# CONFIG_USB_MUSB_UX500 is not set
|
||||||
|
CONFIG_USB_MUSB_AM335X_CHILD=y
|
||||||
|
CONFIG_USB_TI_CPPI41_DMA=y
|
||||||
|
# CONFIG_MUSB_PIO_ONLY is not set
|
||||||
# CONFIG_USB_DWC3 is not set
|
# CONFIG_USB_DWC3 is not set
|
||||||
|
# CONFIG_USB_DWC2 is not set
|
||||||
# CONFIG_USB_CHIPIDEA is not set
|
# CONFIG_USB_CHIPIDEA is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -1733,6 +1751,7 @@ CONFIG_USB_SERIAL_FTDI_SIO=y
|
|||||||
# CONFIG_USB_SERIAL_METRO is not set
|
# CONFIG_USB_SERIAL_METRO is not set
|
||||||
# CONFIG_USB_SERIAL_MOS7720 is not set
|
# CONFIG_USB_SERIAL_MOS7720 is not set
|
||||||
# CONFIG_USB_SERIAL_MOS7840 is not set
|
# CONFIG_USB_SERIAL_MOS7840 is not set
|
||||||
|
# CONFIG_USB_SERIAL_MXUPORT is not set
|
||||||
# CONFIG_USB_SERIAL_NAVMAN is not set
|
# CONFIG_USB_SERIAL_NAVMAN is not set
|
||||||
# CONFIG_USB_SERIAL_PL2303 is not set
|
# CONFIG_USB_SERIAL_PL2303 is not set
|
||||||
# CONFIG_USB_SERIAL_OTI6858 is not set
|
# CONFIG_USB_SERIAL_OTI6858 is not set
|
||||||
@@ -1745,7 +1764,8 @@ CONFIG_USB_SERIAL_FTDI_SIO=y
|
|||||||
# CONFIG_USB_SERIAL_TI is not set
|
# CONFIG_USB_SERIAL_TI is not set
|
||||||
# CONFIG_USB_SERIAL_CYBERJACK is not set
|
# CONFIG_USB_SERIAL_CYBERJACK is not set
|
||||||
# CONFIG_USB_SERIAL_XIRCOM is not set
|
# CONFIG_USB_SERIAL_XIRCOM is not set
|
||||||
# CONFIG_USB_SERIAL_OPTION is not set
|
CONFIG_USB_SERIAL_WWAN=y
|
||||||
|
CONFIG_USB_SERIAL_OPTION=y
|
||||||
# CONFIG_USB_SERIAL_OMNINET is not set
|
# CONFIG_USB_SERIAL_OMNINET is not set
|
||||||
# CONFIG_USB_SERIAL_OPTICON is not set
|
# CONFIG_USB_SERIAL_OPTICON is not set
|
||||||
# CONFIG_USB_SERIAL_XSENS_MT is not set
|
# CONFIG_USB_SERIAL_XSENS_MT is not set
|
||||||
@@ -1786,6 +1806,7 @@ CONFIG_USB_SERIAL_FTDI_SIO=y
|
|||||||
# USB Physical Layer drivers
|
# USB Physical Layer drivers
|
||||||
#
|
#
|
||||||
CONFIG_USB_PHY=y
|
CONFIG_USB_PHY=y
|
||||||
|
# CONFIG_USB_OTG_FSM is not set
|
||||||
CONFIG_NOP_USB_XCEIV=y
|
CONFIG_NOP_USB_XCEIV=y
|
||||||
# CONFIG_OMAP_CONTROL_USB is not set
|
# CONFIG_OMAP_CONTROL_USB is not set
|
||||||
# CONFIG_OMAP_USB3 is not set
|
# CONFIG_OMAP_USB3 is not set
|
||||||
@@ -1810,9 +1831,11 @@ CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2
|
|||||||
#
|
#
|
||||||
# CONFIG_USB_FUSB300 is not set
|
# CONFIG_USB_FUSB300 is not set
|
||||||
# CONFIG_USB_FOTG210_UDC is not set
|
# CONFIG_USB_FOTG210_UDC is not set
|
||||||
|
# CONFIG_USB_GR_UDC is not set
|
||||||
# CONFIG_USB_R8A66597 is not set
|
# CONFIG_USB_R8A66597 is not set
|
||||||
CONFIG_USB_RENESAS_USBHS_UDC=y
|
CONFIG_USB_RENESAS_USBHS_UDC=y
|
||||||
# CONFIG_USB_PXA27X is not set
|
# CONFIG_USB_PXA27X is not set
|
||||||
|
# CONFIG_USB_S3C_HSOTG is not set
|
||||||
# CONFIG_USB_MV_UDC is not set
|
# CONFIG_USB_MV_UDC is not set
|
||||||
# CONFIG_USB_MV_U3D is not set
|
# CONFIG_USB_MV_U3D is not set
|
||||||
CONFIG_USB_M66592=y
|
CONFIG_USB_M66592=y
|
||||||
@@ -1820,7 +1843,6 @@ CONFIG_USB_M66592=y
|
|||||||
# CONFIG_USB_DUMMY_HCD is not set
|
# CONFIG_USB_DUMMY_HCD is not set
|
||||||
CONFIG_USB_LIBCOMPOSITE=y
|
CONFIG_USB_LIBCOMPOSITE=y
|
||||||
CONFIG_USB_U_ETHER=y
|
CONFIG_USB_U_ETHER=y
|
||||||
CONFIG_USB_U_RNDIS=y
|
|
||||||
CONFIG_USB_F_ECM=y
|
CONFIG_USB_F_ECM=y
|
||||||
CONFIG_USB_F_SUBSET=y
|
CONFIG_USB_F_SUBSET=y
|
||||||
CONFIG_USB_F_RNDIS=y
|
CONFIG_USB_F_RNDIS=y
|
||||||
@@ -1897,7 +1919,20 @@ CONFIG_LEDS_PWM=y
|
|||||||
#
|
#
|
||||||
# LED Triggers
|
# LED Triggers
|
||||||
#
|
#
|
||||||
# CONFIG_LEDS_TRIGGERS is not set
|
CONFIG_LEDS_TRIGGERS=y
|
||||||
|
# CONFIG_LEDS_TRIGGER_TIMER is not set
|
||||||
|
# CONFIG_LEDS_TRIGGER_ONESHOT is not set
|
||||||
|
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
||||||
|
# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
|
||||||
|
# CONFIG_LEDS_TRIGGER_CPU is not set
|
||||||
|
# CONFIG_LEDS_TRIGGER_GPIO is not set
|
||||||
|
# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set
|
||||||
|
|
||||||
|
#
|
||||||
|
# iptables trigger is under Netfilter config (LED target)
|
||||||
|
#
|
||||||
|
CONFIG_LEDS_TRIGGER_TRANSIENT=y
|
||||||
|
# CONFIG_LEDS_TRIGGER_CAMERA is not set
|
||||||
# CONFIG_ACCESSIBILITY is not set
|
# CONFIG_ACCESSIBILITY is not set
|
||||||
# CONFIG_EDAC is not set
|
# CONFIG_EDAC is not set
|
||||||
CONFIG_RTC_LIB=y
|
CONFIG_RTC_LIB=y
|
||||||
@@ -1923,10 +1958,12 @@ CONFIG_RTC_INTF_DEV=y
|
|||||||
# CONFIG_RTC_DRV_DS1374 is not set
|
# CONFIG_RTC_DRV_DS1374 is not set
|
||||||
# CONFIG_RTC_DRV_DS1672 is not set
|
# CONFIG_RTC_DRV_DS1672 is not set
|
||||||
# CONFIG_RTC_DRV_DS3232 is not set
|
# CONFIG_RTC_DRV_DS3232 is not set
|
||||||
|
# CONFIG_RTC_DRV_HYM8563 is not set
|
||||||
# CONFIG_RTC_DRV_MAX6900 is not set
|
# CONFIG_RTC_DRV_MAX6900 is not set
|
||||||
# CONFIG_RTC_DRV_RS5C372 is not set
|
# CONFIG_RTC_DRV_RS5C372 is not set
|
||||||
# CONFIG_RTC_DRV_ISL1208 is not set
|
# CONFIG_RTC_DRV_ISL1208 is not set
|
||||||
# CONFIG_RTC_DRV_ISL12022 is not set
|
# CONFIG_RTC_DRV_ISL12022 is not set
|
||||||
|
# CONFIG_RTC_DRV_ISL12057 is not set
|
||||||
# CONFIG_RTC_DRV_X1205 is not set
|
# CONFIG_RTC_DRV_X1205 is not set
|
||||||
# CONFIG_RTC_DRV_PCF2127 is not set
|
# CONFIG_RTC_DRV_PCF2127 is not set
|
||||||
# CONFIG_RTC_DRV_PCF8523 is not set
|
# CONFIG_RTC_DRV_PCF8523 is not set
|
||||||
@@ -2027,7 +2064,6 @@ CONFIG_STAGING=y
|
|||||||
# CONFIG_RTS5139 is not set
|
# CONFIG_RTS5139 is not set
|
||||||
# CONFIG_TRANZPORT is not set
|
# CONFIG_TRANZPORT is not set
|
||||||
# CONFIG_USB_SERIAL_QUATECH2 is not set
|
# CONFIG_USB_SERIAL_QUATECH2 is not set
|
||||||
# CONFIG_ZSMALLOC is not set
|
|
||||||
# CONFIG_USB_ENESTORAGE is not set
|
# CONFIG_USB_ENESTORAGE is not set
|
||||||
# CONFIG_BCM_WIMAX is not set
|
# CONFIG_BCM_WIMAX is not set
|
||||||
# CONFIG_FT1000 is not set
|
# CONFIG_FT1000 is not set
|
||||||
@@ -2049,7 +2085,6 @@ CONFIG_STAGING=y
|
|||||||
# CONFIG_LTE_GDM724X is not set
|
# CONFIG_LTE_GDM724X is not set
|
||||||
# CONFIG_CED1401 is not set
|
# CONFIG_CED1401 is not set
|
||||||
# CONFIG_DGRP is not set
|
# CONFIG_DGRP is not set
|
||||||
# CONFIG_USB_DWC2 is not set
|
|
||||||
# CONFIG_LUSTRE_FS is not set
|
# CONFIG_LUSTRE_FS is not set
|
||||||
# CONFIG_XILLYBUS is not set
|
# CONFIG_XILLYBUS is not set
|
||||||
# CONFIG_DGAP is not set
|
# CONFIG_DGAP is not set
|
||||||
@@ -2060,8 +2095,9 @@ CONFIG_COMMON_CLK=y
|
|||||||
#
|
#
|
||||||
# Common Clock Framework
|
# Common Clock Framework
|
||||||
#
|
#
|
||||||
CONFIG_COMMON_CLK_DEBUG=y
|
|
||||||
# CONFIG_COMMON_CLK_SI5351 is not set
|
# CONFIG_COMMON_CLK_SI5351 is not set
|
||||||
|
# CONFIG_COMMON_CLK_SI570 is not set
|
||||||
|
# CONFIG_COMMON_CLK_QCOM is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Hardware Spinlock drivers
|
# Hardware Spinlock drivers
|
||||||
@@ -2076,7 +2112,6 @@ CONFIG_OF_IOMMU=y
|
|||||||
CONFIG_OMAP_IOMMU=y
|
CONFIG_OMAP_IOMMU=y
|
||||||
CONFIG_OMAP_IOVMM=y
|
CONFIG_OMAP_IOVMM=y
|
||||||
# CONFIG_OMAP_IOMMU_DEBUG is not set
|
# CONFIG_OMAP_IOMMU_DEBUG is not set
|
||||||
# CONFIG_SHMOBILE_IOMMU is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Remoteproc drivers
|
# Remoteproc drivers
|
||||||
@@ -2153,7 +2188,6 @@ CONFIG_FANOTIFY=y
|
|||||||
# CONFIG_QUOTACTL is not set
|
# CONFIG_QUOTACTL is not set
|
||||||
# CONFIG_AUTOFS4_FS is not set
|
# CONFIG_AUTOFS4_FS is not set
|
||||||
# CONFIG_FUSE_FS is not set
|
# CONFIG_FUSE_FS is not set
|
||||||
CONFIG_GENERIC_ACL=y
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Caches
|
# Caches
|
||||||
@@ -2287,8 +2321,7 @@ CONFIG_DEBUG_FS=y
|
|||||||
# CONFIG_HEADERS_CHECK is not set
|
# CONFIG_HEADERS_CHECK is not set
|
||||||
# CONFIG_DEBUG_SECTION_MISMATCH is not set
|
# CONFIG_DEBUG_SECTION_MISMATCH is not set
|
||||||
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
|
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
|
||||||
CONFIG_MAGIC_SYSRQ=y
|
# CONFIG_MAGIC_SYSRQ is not set
|
||||||
CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1
|
|
||||||
CONFIG_DEBUG_KERNEL=y
|
CONFIG_DEBUG_KERNEL=y
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -2317,6 +2350,7 @@ CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=300
|
|||||||
CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
|
CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
|
||||||
# CONFIG_PANIC_ON_OOPS is not set
|
# CONFIG_PANIC_ON_OOPS is not set
|
||||||
CONFIG_PANIC_ON_OOPS_VALUE=0
|
CONFIG_PANIC_ON_OOPS_VALUE=0
|
||||||
|
CONFIG_PANIC_TIMEOUT=0
|
||||||
CONFIG_SCHED_DEBUG=y
|
CONFIG_SCHED_DEBUG=y
|
||||||
CONFIG_SCHEDSTATS=y
|
CONFIG_SCHEDSTATS=y
|
||||||
CONFIG_TIMER_STATS=y
|
CONFIG_TIMER_STATS=y
|
||||||
@@ -2379,9 +2413,12 @@ CONFIG_TRACING_SUPPORT=y
|
|||||||
# CONFIG_TEST_STRING_HELPERS is not set
|
# CONFIG_TEST_STRING_HELPERS is not set
|
||||||
# CONFIG_TEST_KSTRTOX is not set
|
# CONFIG_TEST_KSTRTOX is not set
|
||||||
# CONFIG_DMA_API_DEBUG is not set
|
# CONFIG_DMA_API_DEBUG is not set
|
||||||
|
# CONFIG_TEST_MODULE is not set
|
||||||
|
# CONFIG_TEST_USER_COPY is not set
|
||||||
# CONFIG_SAMPLES is not set
|
# CONFIG_SAMPLES is not set
|
||||||
CONFIG_HAVE_ARCH_KGDB=y
|
CONFIG_HAVE_ARCH_KGDB=y
|
||||||
# CONFIG_KGDB is not set
|
# CONFIG_KGDB is not set
|
||||||
|
# CONFIG_ARM_PTDUMP is not set
|
||||||
# CONFIG_STRICT_DEVMEM is not set
|
# CONFIG_STRICT_DEVMEM is not set
|
||||||
CONFIG_ARM_UNWIND=y
|
CONFIG_ARM_UNWIND=y
|
||||||
# CONFIG_DEBUG_USER is not set
|
# CONFIG_DEBUG_USER is not set
|
||||||
@@ -2391,6 +2428,7 @@ CONFIG_DEBUG_LL_INCLUDE="mach/debug-macro.S"
|
|||||||
# CONFIG_DEBUG_UART_8250 is not set
|
# CONFIG_DEBUG_UART_8250 is not set
|
||||||
CONFIG_UNCOMPRESS_INCLUDE="debug/uncompress.h"
|
CONFIG_UNCOMPRESS_INCLUDE="debug/uncompress.h"
|
||||||
# CONFIG_PID_IN_CONTEXTIDR is not set
|
# CONFIG_PID_IN_CONTEXTIDR is not set
|
||||||
|
# CONFIG_DEBUG_SET_MODULE_RONX is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Security options
|
# Security options
|
@@ -4,3 +4,4 @@ cfg_eth_ext_ip='10.0.10.83'
|
|||||||
cfg_eth_ext_mk='255.255.0.0'
|
cfg_eth_ext_mk='255.255.0.0'
|
||||||
cfg_eth_ext_gw='10.0.0.1'
|
cfg_eth_ext_gw='10.0.0.1'
|
||||||
cfg_ptpd_interface='eth0'
|
cfg_ptpd_interface='eth0'
|
||||||
|
cfg_target_linux_dtb='arch/arm/boot/dts/am335x-bone.dtb'
|
||||||
|
6
systems/lctr-b2xx/lauv-dolphin-2-aux.cfg
Normal file
6
systems/lctr-b2xx/lauv-dolphin-2-aux.cfg
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
cfg_hostname='lauv-dolphin-2-aux'
|
||||||
|
cfg_storage='data0:ext4:/opt data1:ext4:/opt/lsts/dune/log'
|
||||||
|
cfg_eth_ext_ip='10.0.10.143'
|
||||||
|
cfg_eth_ext_mk='255.255.0.0'
|
||||||
|
cfg_eth_ext_gw='10.0.0.1'
|
||||||
|
cfg_ptpd_interface='eth0'
|
6
systems/lctr-b2xx/lauv-dolphin-3-aux.cfg
Normal file
6
systems/lctr-b2xx/lauv-dolphin-3-aux.cfg
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
cfg_hostname='lauv-dolphin-3-aux'
|
||||||
|
cfg_storage='data0:ext4:/opt data1:ext4:/opt/lsts/dune/log'
|
||||||
|
cfg_eth_ext_ip='10.0.10.153'
|
||||||
|
cfg_eth_ext_mk='255.255.0.0'
|
||||||
|
cfg_eth_ext_gw='10.0.0.1'
|
||||||
|
cfg_ptpd_interface='eth0'
|
6
systems/lctr-b2xx/lauv-lupis-1-aux.cfg
Normal file
6
systems/lctr-b2xx/lauv-lupis-1-aux.cfg
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# BeagleBone Black
|
||||||
|
cfg_hostname='lauv-lupis-1-aux'
|
||||||
|
cfg_eth_ext_ip='10.0.10.133'
|
||||||
|
cfg_eth_ext_mk='255.255.0.0'
|
||||||
|
cfg_eth_ext_gw='10.0.0.1'
|
||||||
|
cfg_ptpd_interface='eth0'
|
6
systems/lctr-b2xx/lauv-noptilus-3-aux.cfg
Normal file
6
systems/lctr-b2xx/lauv-noptilus-3-aux.cfg
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
cfg_hostname='lauv-noptilus-3-aux'
|
||||||
|
cfg_storage='data0:ext4:/opt data1:ext4:/opt/lsts/dune/log'
|
||||||
|
cfg_eth_ext_ip='10.0.10.103'
|
||||||
|
cfg_eth_ext_mk='255.255.0.0'
|
||||||
|
cfg_eth_ext_gw='10.0.0.1'
|
||||||
|
cfg_ptpd_interface='eth0'
|
7
systems/lctr-b2xx/lctr-b200-testbed.cfg
Normal file
7
systems/lctr-b2xx/lctr-b200-testbed.cfg
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# BeagleBone White
|
||||||
|
cfg_hostname='lctr-b200-testbed'
|
||||||
|
cfg_eth_ext_ip='10.0.200.21'
|
||||||
|
cfg_eth_ext_mk='255.255.0.0'
|
||||||
|
cfg_eth_ext_gw='10.0.0.1'
|
||||||
|
cfg_ptpd_interface='eth0'
|
||||||
|
cfg_target_linux_dtb='arch/arm/boot/dts/am335x-bone.dtb'
|
@@ -1,3 +1,4 @@
|
|||||||
|
# BeagleBone Black
|
||||||
cfg_hostname='lctr-b2xx-testbed'
|
cfg_hostname='lctr-b2xx-testbed'
|
||||||
cfg_eth_ext_ip='10.0.200.9'
|
cfg_eth_ext_ip='10.0.200.9'
|
||||||
cfg_eth_ext_mk='255.255.0.0'
|
cfg_eth_ext_mk='255.255.0.0'
|
||||||
|
6
systems/lctr-b2xx/leviathan.cfg
Normal file
6
systems/lctr-b2xx/leviathan.cfg
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
cfg_hostname='leviathan'
|
||||||
|
cfg_storage='data0:ext4:/opt'
|
||||||
|
cfg_eth_ext_ip='10.0.200.2'
|
||||||
|
cfg_eth_ext_mk='255.255.0.0'
|
||||||
|
cfg_eth_ext_gw='10.0.0.1'
|
||||||
|
cfg_packages="$cfg_packages uswitch"
|
6
systems/lctr-b2xx/mariner-01.cfg
Normal file
6
systems/lctr-b2xx/mariner-01.cfg
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
cfg_hostname='mariner-01'
|
||||||
|
cfg_storage='data0:ext4:/opt'
|
||||||
|
cfg_eth_ext_ip='10.0.20.125'
|
||||||
|
cfg_eth_ext_mk='255.255.0.0'
|
||||||
|
cfg_eth_ext_gw='10.0.0.1'
|
||||||
|
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libav'
|
8
systems/lctr-b2xx/ntnu-hexa-001.cfg
Normal file
8
systems/lctr-b2xx/ntnu-hexa-001.cfg
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# ntnu-hexa-00x
|
||||||
|
cfg_hostname='ntnu-hexa-001'
|
||||||
|
cfg_eth_ext_ip='192.168.1.200'
|
||||||
|
cfg_eth_ext_mk='255.255.255.0'
|
||||||
|
cfg_eth_ext_gw='192.168.1.1'
|
||||||
|
cfg_ptpd_interface='eth0'
|
||||||
|
cfg_target_linux_dtb='arch/arm/boot/dts/am335x-lctr-b2xx-ntnu-uart.dtb'
|
||||||
|
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libswiftnav'
|
8
systems/lctr-b2xx/ntnu-hexa-002.cfg
Normal file
8
systems/lctr-b2xx/ntnu-hexa-002.cfg
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# ntnu-hexa-00x
|
||||||
|
cfg_hostname='ntnu-hexa-002'
|
||||||
|
cfg_eth_ext_ip='192.168.1.205'
|
||||||
|
cfg_eth_ext_mk='255.255.255.0'
|
||||||
|
cfg_eth_ext_gw='192.168.1.1'
|
||||||
|
cfg_ptpd_interface='eth0'
|
||||||
|
cfg_target_linux_dtb='arch/arm/boot/dts/am335x-lctr-b2xx-ntnu-uart.dtb'
|
||||||
|
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libswiftnav'
|
8
systems/lctr-b2xx/ntnu-hexa-003.cfg
Normal file
8
systems/lctr-b2xx/ntnu-hexa-003.cfg
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# ntnu-hexa-00x
|
||||||
|
cfg_hostname='ntnu-hexa-003'
|
||||||
|
cfg_eth_ext_ip='192.168.1.210'
|
||||||
|
cfg_eth_ext_mk='255.255.255.0'
|
||||||
|
cfg_eth_ext_gw='192.168.1.1'
|
||||||
|
cfg_ptpd_interface='eth0'
|
||||||
|
cfg_target_linux_dtb='arch/arm/boot/dts/am335x-lctr-b2xx-ntnu-uart.dtb'
|
||||||
|
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libswiftnav'
|
8
systems/lctr-b2xx/ntnu-hexa-004.cfg
Normal file
8
systems/lctr-b2xx/ntnu-hexa-004.cfg
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# ntnu-hexa-00x
|
||||||
|
cfg_hostname='ntnu-hexa-004'
|
||||||
|
cfg_eth_ext_ip='192.168.1.215'
|
||||||
|
cfg_eth_ext_mk='255.255.255.0'
|
||||||
|
cfg_eth_ext_gw='192.168.1.1'
|
||||||
|
cfg_ptpd_interface='eth0'
|
||||||
|
cfg_target_linux_dtb='arch/arm/boot/dts/am335x-lctr-b2xx-ntnu-uart.dtb'
|
||||||
|
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libswiftnav'
|
8
systems/lctr-b2xx/ntnu-hexa-testbed.cfg
Normal file
8
systems/lctr-b2xx/ntnu-hexa-testbed.cfg
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# ntnu-hexa-00x
|
||||||
|
cfg_hostname='ntnu-hexa-testbed'
|
||||||
|
cfg_eth_ext_ip='192.168.1.220'
|
||||||
|
cfg_eth_ext_mk='255.255.255.0'
|
||||||
|
cfg_eth_ext_gw='192.168.1.1'
|
||||||
|
cfg_ptpd_interface='eth0'
|
||||||
|
cfg_target_linux_dtb='arch/arm/boot/dts/am335x-lctr-b2xx-ntnu-uart.dtb'
|
||||||
|
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libswiftnav'
|
8
systems/lctr-b2xx/ntnu-nest-01.cfg
Normal file
8
systems/lctr-b2xx/ntnu-nest-01.cfg
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# ntnu-nest-0x
|
||||||
|
cfg_hostname='ntnu-nest-01'
|
||||||
|
cfg_eth_ext_ip='192.168.1.45'
|
||||||
|
cfg_eth_ext_mk='255.255.255.0'
|
||||||
|
cfg_eth_ext_gw='192.168.1.1'
|
||||||
|
cfg_ptpd_interface='eth0'
|
||||||
|
cfg_target_linux_dtb='arch/arm/boot/dts/am335x-lctr-b2xx-ntnu-gpio.dtb'
|
||||||
|
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libswiftnav'
|
8
systems/lctr-b2xx/ntnu-nest-02.cfg
Normal file
8
systems/lctr-b2xx/ntnu-nest-02.cfg
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# ntnu-nest-0x
|
||||||
|
cfg_hostname='ntnu-nest-02'
|
||||||
|
cfg_eth_ext_ip='192.168.1.46'
|
||||||
|
cfg_eth_ext_mk='255.255.255.0'
|
||||||
|
cfg_eth_ext_gw='192.168.1.1'
|
||||||
|
cfg_ptpd_interface='eth0'
|
||||||
|
cfg_target_linux_dtb='arch/arm/boot/dts/am335x-lctr-b2xx-ntnu-gpio.dtb'
|
||||||
|
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libswiftnav'
|
8
systems/lctr-b2xx/ntnu-penguin-001.cfg
Normal file
8
systems/lctr-b2xx/ntnu-penguin-001.cfg
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# ntnu-penguin-00x
|
||||||
|
# Adds libav package.
|
||||||
|
cfg_hostname='ntnu-penguin-001'
|
||||||
|
cfg_eth_ext_ip='192.168.1.235'
|
||||||
|
cfg_eth_ext_mk='255.255.255.0'
|
||||||
|
cfg_eth_ext_gw='192.168.1.1'
|
||||||
|
cfg_ptpd_interface='eth0'
|
||||||
|
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libav'
|
9
systems/lctr-b2xx/ntnu-x8-001.cfg
Normal file
9
systems/lctr-b2xx/ntnu-x8-001.cfg
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# ntnu-x8-00x
|
||||||
|
# Adds libav package.
|
||||||
|
cfg_hostname='ntnu-x8-001'
|
||||||
|
cfg_eth_ext_ip='192.168.1.100'
|
||||||
|
cfg_eth_ext_mk='255.255.255.0'
|
||||||
|
cfg_eth_ext_gw='192.168.1.1'
|
||||||
|
cfg_ptpd_interface='eth0'
|
||||||
|
cfg_target_linux_dtb='arch/arm/boot/dts/am335x-lctr-b2xx-ntnu-gpio.dtb'
|
||||||
|
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libav libswiftnav'
|
9
systems/lctr-b2xx/ntnu-x8-002.cfg
Normal file
9
systems/lctr-b2xx/ntnu-x8-002.cfg
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# ntnu-x8-00x
|
||||||
|
# Adds libav package.
|
||||||
|
cfg_hostname='ntnu-x8-002'
|
||||||
|
cfg_eth_ext_ip='192.168.1.105'
|
||||||
|
cfg_eth_ext_mk='255.255.255.0'
|
||||||
|
cfg_eth_ext_gw='192.168.1.1'
|
||||||
|
cfg_ptpd_interface='eth0'
|
||||||
|
cfg_target_linux_dtb='arch/arm/boot/dts/am335x-lctr-b2xx-ntnu-gpio.dtb'
|
||||||
|
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libav libswiftnav'
|
9
systems/lctr-b2xx/ntnu-x8-003.cfg
Normal file
9
systems/lctr-b2xx/ntnu-x8-003.cfg
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# ntnu-x8-00x
|
||||||
|
# Adds libav package.
|
||||||
|
cfg_hostname='ntnu-x8-003'
|
||||||
|
cfg_eth_ext_ip='192.168.1.110'
|
||||||
|
cfg_eth_ext_mk='255.255.255.0'
|
||||||
|
cfg_eth_ext_gw='192.168.1.1'
|
||||||
|
cfg_ptpd_interface='eth0'
|
||||||
|
cfg_target_linux_dtb='arch/arm/boot/dts/am335x-lctr-b2xx-ntnu-gpio.dtb'
|
||||||
|
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libav libswiftnav'
|
9
systems/lctr-b2xx/ntnu-x8-004.cfg
Normal file
9
systems/lctr-b2xx/ntnu-x8-004.cfg
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# ntnu-x8-00x
|
||||||
|
# Adds libav package.
|
||||||
|
cfg_hostname='ntnu-x8-004'
|
||||||
|
cfg_eth_ext_ip='192.168.1.115'
|
||||||
|
cfg_eth_ext_mk='255.255.255.0'
|
||||||
|
cfg_eth_ext_gw='192.168.1.1'
|
||||||
|
cfg_ptpd_interface='eth0'
|
||||||
|
cfg_target_linux_dtb='arch/arm/boot/dts/am335x-lctr-b2xx-ntnu-gpio.dtb'
|
||||||
|
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libav libswiftnav'
|
9
systems/lctr-b2xx/ntnu-x8-005.cfg
Normal file
9
systems/lctr-b2xx/ntnu-x8-005.cfg
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# ntnu-x8-00x
|
||||||
|
# Adds libav package.
|
||||||
|
cfg_hostname='ntnu-x8-005'
|
||||||
|
cfg_eth_ext_ip='192.168.1.120'
|
||||||
|
cfg_eth_ext_mk='255.255.255.0'
|
||||||
|
cfg_eth_ext_gw='192.168.1.1'
|
||||||
|
cfg_ptpd_interface='eth0'
|
||||||
|
cfg_target_linux_dtb='arch/arm/boot/dts/am335x-lctr-b2xx-ntnu-gpio.dtb'
|
||||||
|
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libav libswiftnav'
|
9
systems/lctr-b2xx/ntnu-x8-006.cfg
Normal file
9
systems/lctr-b2xx/ntnu-x8-006.cfg
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# ntnu-x8-00x
|
||||||
|
# Adds libav package.
|
||||||
|
cfg_hostname='ntnu-x8-006'
|
||||||
|
cfg_eth_ext_ip='192.168.1.125'
|
||||||
|
cfg_eth_ext_mk='255.255.255.0'
|
||||||
|
cfg_eth_ext_gw='192.168.1.1'
|
||||||
|
cfg_ptpd_interface='eth0'
|
||||||
|
cfg_target_linux_dtb='arch/arm/boot/dts/am335x-lctr-b2xx-ntnu-gpio.dtb'
|
||||||
|
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libav libswiftnav'
|
9
systems/lctr-b2xx/ntnu-x8-007.cfg
Normal file
9
systems/lctr-b2xx/ntnu-x8-007.cfg
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# ntnu-x8-00x
|
||||||
|
# Adds libav package.
|
||||||
|
cfg_hostname='ntnu-x8-007'
|
||||||
|
cfg_eth_ext_ip='192.168.1.130'
|
||||||
|
cfg_eth_ext_mk='255.255.255.0'
|
||||||
|
cfg_eth_ext_gw='192.168.1.1'
|
||||||
|
cfg_ptpd_interface='eth0'
|
||||||
|
cfg_target_linux_dtb='arch/arm/boot/dts/am335x-lctr-b2xx-ntnu-gpio.dtb'
|
||||||
|
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libav libswiftnav'
|
9
systems/lctr-b2xx/ntnu-x8-008.cfg
Normal file
9
systems/lctr-b2xx/ntnu-x8-008.cfg
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# ntnu-x8-00x
|
||||||
|
# Adds libav package.
|
||||||
|
cfg_hostname='ntnu-x8-008'
|
||||||
|
cfg_eth_ext_ip='192.168.1.135'
|
||||||
|
cfg_eth_ext_mk='255.255.255.0'
|
||||||
|
cfg_eth_ext_gw='192.168.1.1'
|
||||||
|
cfg_ptpd_interface='eth0'
|
||||||
|
cfg_target_linux_dtb='arch/arm/boot/dts/am335x-lctr-b2xx-ntnu-gpio.dtb'
|
||||||
|
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libav libswiftnav'
|
9
systems/lctr-b2xx/ntnu-x8-009.cfg
Normal file
9
systems/lctr-b2xx/ntnu-x8-009.cfg
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# ntnu-x8-00x
|
||||||
|
# Adds libav package.
|
||||||
|
cfg_hostname='ntnu-x8-009'
|
||||||
|
cfg_eth_ext_ip='192.168.1.140'
|
||||||
|
cfg_eth_ext_mk='255.255.255.0'
|
||||||
|
cfg_eth_ext_gw='192.168.1.1'
|
||||||
|
cfg_ptpd_interface='eth0'
|
||||||
|
cfg_target_linux_dtb='arch/arm/boot/dts/am335x-lctr-b2xx-ntnu-gpio.dtb'
|
||||||
|
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libav libswiftnav'
|
9
systems/lctr-b2xx/ntnu-x8-010.cfg
Normal file
9
systems/lctr-b2xx/ntnu-x8-010.cfg
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# ntnu-x8-00x
|
||||||
|
# Adds libav package.
|
||||||
|
cfg_hostname='ntnu-x8-010'
|
||||||
|
cfg_eth_ext_ip='192.168.1.145'
|
||||||
|
cfg_eth_ext_mk='255.255.255.0'
|
||||||
|
cfg_eth_ext_gw='192.168.1.1'
|
||||||
|
cfg_ptpd_interface='eth0'
|
||||||
|
cfg_target_linux_dtb='arch/arm/boot/dts/am335x-lctr-b2xx-ntnu-gpio.dtb'
|
||||||
|
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libav libswiftnav'
|
11
systems/lctr-b2xx/patches/libswiftnav/arith.patch
Normal file
11
systems/lctr-b2xx/patches/libswiftnav/arith.patch
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
diff -Nru libswiftnav-0.11/clapack-3.2.1-CMAKE/F2CLIBS/libf2c/arith_cortex-a8.h libswiftnav-0.11.kk/clapack-3.2.1-CMAKE/F2CLIBS/libf2c/arith_cortex-a8.h
|
||||||
|
--- libswiftnav-0.11/clapack-3.2.1-CMAKE/F2CLIBS/libf2c/arith_cortex-a8.h 1970-01-01 01:00:00.000000000 +0100
|
||||||
|
+++ libswiftnav-0.11.kk/clapack-3.2.1-CMAKE/F2CLIBS/libf2c/arith_cortex-a8.h 2014-10-23 08:28:34.888000000 +0200
|
||||||
|
@@ -0,0 +1,7 @@
|
||||||
|
+/* arith.h definitions for ARM Cortex-A8
|
||||||
|
+ * Calculated by running arithchk on a Beaglebone Black. */
|
||||||
|
+#define IEEE_8087
|
||||||
|
+#define Arith_Kind_ASL 1
|
||||||
|
+#define Double_Align
|
||||||
|
+#define QNaN0 0x0
|
||||||
|
+#define QNaN1 0x7ff80000
|
@@ -0,0 +1,128 @@
|
|||||||
|
diff -ruN linux-3.14.16/arch/arm/boot/dts/am335x-lctr-b2xx-ntnu-gpio.dts linux-3.14.16.kk/arch/arm/boot/dts/am335x-lctr-b2xx-ntnu-gpio.dts
|
||||||
|
--- linux-3.14.16/arch/arm/boot/dts/am335x-lctr-b2xx-ntnu-gpio.dts 1970-01-01 01:00:00.000000000 +0100
|
||||||
|
+++ linux-3.14.16.kk/arch/arm/boot/dts/am335x-lctr-b2xx-ntnu-gpio.dts 2014-10-23 13:22:18.216000000 +0200
|
||||||
|
@@ -0,0 +1,56 @@
|
||||||
|
+/*
|
||||||
|
+ * 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 "am335x-lctr-b2xx.dts"
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+/ {
|
||||||
|
+ /* GPIO. */
|
||||||
|
+ ntnu_gpio {
|
||||||
|
+ pinctrl-names = "default";
|
||||||
|
+ pinctrl-0 = <&gpio_pins>;
|
||||||
|
+ compatible = "ntnu-gpio";
|
||||||
|
+ status = "okay";
|
||||||
|
+ };
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+&am33xx_pinmux {
|
||||||
|
+ pinctrl-names = "default";
|
||||||
|
+ pinctrl-0 = <&board_pins>;
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+ /* GPIO on UART2-pins. */
|
||||||
|
+ gpio_pins: pinmux_gpio_pins {
|
||||||
|
+ pinctrl-single,pins = <
|
||||||
|
+ /* GPIO 2 - Pin 22 */
|
||||||
|
+ 0x150 (PIN_INPUT_PULLDOWN | MUX_MODE7)
|
||||||
|
+ /* GPIO 3 - Pin 21 */
|
||||||
|
+ 0x154 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)
|
||||||
|
+ >;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ /* UART4. */
|
||||||
|
+ uart4_pins: pinmux_uart4_pins {
|
||||||
|
+ pinctrl-single,pins = <
|
||||||
|
+ /* uart4_rxd */
|
||||||
|
+ 0x70 (PIN_INPUT_PULLUP | MUX_MODE6)
|
||||||
|
+ /* uart4_txd */
|
||||||
|
+ 0x74 (PIN_OUTPUT_PULLDOWN | MUX_MODE6)
|
||||||
|
+ >;
|
||||||
|
+ };
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+/* Enable UART4. */
|
||||||
|
+&uart4 {
|
||||||
|
+ pinctrl-names = "default";
|
||||||
|
+ pinctrl-0 = <&uart4_pins>;
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
diff -ruN linux-3.14.16/arch/arm/boot/dts/am335x-lctr-b2xx-ntnu-uart.dts linux-3.14.16.kk/arch/arm/boot/dts/am335x-lctr-b2xx-ntnu-uart.dts
|
||||||
|
--- linux-3.14.16/arch/arm/boot/dts/am335x-lctr-b2xx-ntnu-uart.dts 1970-01-01 01:00:00.000000000 +0100
|
||||||
|
+++ linux-3.14.16.kk/arch/arm/boot/dts/am335x-lctr-b2xx-ntnu-uart.dts 2014-10-20 21:35:33.608000000 +0200
|
||||||
|
@@ -0,0 +1,52 @@
|
||||||
|
+/*
|
||||||
|
+ * 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 "am335x-lctr-b2xx.dts"
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+&am33xx_pinmux {
|
||||||
|
+ pinctrl-names = "default";
|
||||||
|
+ pinctrl-0 = <&board_pins>;
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+ /* UART2. */
|
||||||
|
+ uart2_pins: pinmux_uart2_pins {
|
||||||
|
+ pinctrl-single,pins = <
|
||||||
|
+ /* uart2_rxd */
|
||||||
|
+ 0x150 (PIN_INPUT_PULLUP | MUX_MODE1)
|
||||||
|
+ /* uart2_txd */
|
||||||
|
+ 0x154 (PIN_OUTPUT_PULLDOWN | MUX_MODE1)
|
||||||
|
+ >;
|
||||||
|
+ };
|
||||||
|
+
|
||||||
|
+ /* UART4. */
|
||||||
|
+ uart4_pins: pinmux_uart4_pins {
|
||||||
|
+ pinctrl-single,pins = <
|
||||||
|
+ /* uart4_rxd */
|
||||||
|
+ 0x70 (PIN_INPUT_PULLUP | MUX_MODE6)
|
||||||
|
+ /* uart4_txd */
|
||||||
|
+ 0x74 (PIN_OUTPUT_PULLDOWN | MUX_MODE6)
|
||||||
|
+ >;
|
||||||
|
+ };
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+/* Enable UART2. */
|
||||||
|
+&uart2 {
|
||||||
|
+ pinctrl-names = "default";
|
||||||
|
+ pinctrl-0 = <&uart2_pins>;
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
+
|
||||||
|
+/* Enable UART4. */
|
||||||
|
+&uart4 {
|
||||||
|
+ pinctrl-names = "default";
|
||||||
|
+ pinctrl-0 = <&uart4_pins>;
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
diff -ruN linux-3.14.16/arch/arm/boot/dts/Makefile linux-3.14.16.kk/arch/arm/boot/dts/Makefile
|
||||||
|
--- linux-3.14.16/arch/arm/boot/dts/Makefile 2014-08-08 01:50:59.000000000 +0200
|
||||||
|
+++ linux-3.14.16.kk/arch/arm/boot/dts/Makefile 2014-10-23 13:24:50.292000000 +0200
|
||||||
|
@@ -227,6 +227,8 @@
|
||||||
|
am335x-bone.dtb \
|
||||||
|
am335x-boneblack.dtb \
|
||||||
|
am335x-nano.dtb \
|
||||||
|
+ am335x-lctr-b2xx-ntnu-uart.dtb \
|
||||||
|
+ am335x-lctr-b2xx-ntnu-gpio.dtb \
|
||||||
|
am335x-base0033.dtb \
|
||||||
|
am3517-evm.dtb \
|
||||||
|
am3517_mt_ventoux.dtb \
|
@@ -0,0 +1,136 @@
|
|||||||
|
From 83ad4305da1128111b2f063e41a740d1e19836c8 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jay at Control Module Industries <cmidroid@gmail.com>
|
||||||
|
Date: Tue, 1 Jul 2014 14:49:52 -0500
|
||||||
|
Subject: [PATCH 7/7] cpsw: search for phy
|
||||||
|
|
||||||
|
I have encountered the same issue(s) on A6A boards.
|
||||||
|
|
||||||
|
I couldn't find a patch, so I wrote this patch to update the device tree
|
||||||
|
in the davinci_mdio driver in the 3.15.1 tree, it seems to correct it. I
|
||||||
|
would welcome any input on a different approach.
|
||||||
|
|
||||||
|
https://groups.google.com/d/msg/beagleboard/9mctrG26Mc8/SRlnumt0LoMJ
|
||||||
|
|
||||||
|
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
|
||||||
|
---
|
||||||
|
drivers/net/ethernet/ti/davinci_mdio.c | 83 ++++++++++++++++++++++++++++++++++
|
||||||
|
1 file changed, 83 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/drivers/net/ethernet/ti/davinci_mdio.c b/drivers/net/ethernet/ti/davinci_mdio.c
|
||||||
|
index 0cca9de..0197edd 100644
|
||||||
|
--- a/drivers/net/ethernet/ti/davinci_mdio.c
|
||||||
|
+++ b/drivers/net/ethernet/ti/davinci_mdio.c
|
||||||
|
@@ -39,6 +39,7 @@
|
||||||
|
#include <linux/of.h>
|
||||||
|
#include <linux/of_device.h>
|
||||||
|
#include <linux/pinctrl/consumer.h>
|
||||||
|
+#include <linux/phy.h>
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This timeout definition is a worst-case ultra defensive measure against
|
||||||
|
@@ -97,6 +98,10 @@ struct davinci_mdio_data {
|
||||||
|
unsigned long access_time; /* jiffies */
|
||||||
|
};
|
||||||
|
|
||||||
|
+#if IS_ENABLED(CONFIG_OF)
|
||||||
|
+static void davinci_mdio_update_dt_from_phymask(u32 phy_mask);
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
static void __davinci_mdio_reset(struct davinci_mdio_data *data)
|
||||||
|
{
|
||||||
|
u32 mdio_in, div, mdio_out_khz, access_time;
|
||||||
|
@@ -150,6 +155,11 @@ static int davinci_mdio_reset(struct mii_bus *bus)
|
||||||
|
/* restrict mdio bus to live phys only */
|
||||||
|
dev_info(data->dev, "detected phy mask %x\n", ~phy_mask);
|
||||||
|
phy_mask = ~phy_mask;
|
||||||
|
+
|
||||||
|
+ #if IS_ENABLED(CONFIG_OF)
|
||||||
|
+ davinci_mdio_update_dt_from_phymask(phy_mask);
|
||||||
|
+ #endif
|
||||||
|
+
|
||||||
|
} else {
|
||||||
|
/* desperately scan all phys */
|
||||||
|
dev_warn(data->dev, "no live phy, scanning all\n");
|
||||||
|
@@ -312,6 +322,79 @@ static int davinci_mdio_probe_dt(struct mdio_platform_data *data,
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#if IS_ENABLED(CONFIG_OF)
|
||||||
|
+static void davinci_mdio_update_dt_from_phymask(u32 phy_mask)
|
||||||
|
+{
|
||||||
|
+ int i, len;
|
||||||
|
+ u32 addr;
|
||||||
|
+ __be32 *old_phy_p, *phy_id_p;
|
||||||
|
+ struct property *phy_id_property = NULL;
|
||||||
|
+ struct device_node *node_p, *slave_p;
|
||||||
|
+
|
||||||
|
+ addr = 0;
|
||||||
|
+
|
||||||
|
+ for (i = 0; i < PHY_MAX_ADDR; i++) {
|
||||||
|
+ if ((phy_mask & (1 << i)) == 0) {
|
||||||
|
+ addr = (u32) i;
|
||||||
|
+ break;
|
||||||
|
+ }
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ for_each_compatible_node(node_p, NULL, "ti,cpsw") {
|
||||||
|
+ for_each_node_by_name(slave_p, "slave") {
|
||||||
|
+
|
||||||
|
+ old_phy_p = (__be32 *) of_get_property(slave_p, "phy_id", &len);
|
||||||
|
+
|
||||||
|
+ if (len != (sizeof(__be32 *) * 2))
|
||||||
|
+ goto err_out;
|
||||||
|
+
|
||||||
|
+ if (old_phy_p) {
|
||||||
|
+
|
||||||
|
+ phy_id_property = kzalloc(sizeof(*phy_id_property), GFP_KERNEL);
|
||||||
|
+
|
||||||
|
+ if (! phy_id_property)
|
||||||
|
+ goto err_out;
|
||||||
|
+
|
||||||
|
+ phy_id_property->length = len;
|
||||||
|
+ phy_id_property->name = kstrdup("phy_id", GFP_KERNEL);
|
||||||
|
+ phy_id_property->value = kzalloc(len, GFP_KERNEL);
|
||||||
|
+
|
||||||
|
+ if (! phy_id_property->name)
|
||||||
|
+ goto err_out;
|
||||||
|
+
|
||||||
|
+ if (! phy_id_property->value)
|
||||||
|
+ goto err_out;
|
||||||
|
+
|
||||||
|
+ memcpy(phy_id_property->value, old_phy_p, len);
|
||||||
|
+
|
||||||
|
+ phy_id_p = (__be32 *) phy_id_property->value + 1;
|
||||||
|
+
|
||||||
|
+ *phy_id_p = cpu_to_be32(addr);
|
||||||
|
+
|
||||||
|
+ of_update_property(slave_p, phy_id_property);
|
||||||
|
+
|
||||||
|
+ ++addr;
|
||||||
|
+ }
|
||||||
|
+ }
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ return;
|
||||||
|
+
|
||||||
|
+err_out:
|
||||||
|
+
|
||||||
|
+ if (phy_id_property) {
|
||||||
|
+ if (phy_id_property->name)
|
||||||
|
+ kfree(phy_id_property->name);
|
||||||
|
+
|
||||||
|
+ if (phy_id_property->value)
|
||||||
|
+ kfree(phy_id_property->value);
|
||||||
|
+
|
||||||
|
+ if (phy_id_property)
|
||||||
|
+ kfree(phy_id_property);
|
||||||
|
+ }
|
||||||
|
+}
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
static int davinci_mdio_probe(struct platform_device *pdev)
|
||||||
|
{
|
||||||
|
struct mdio_platform_data *pdata = dev_get_platdata(&pdev->dev);
|
||||||
|
--
|
||||||
|
2.0.0
|
||||||
|
|
@@ -1,21 +1,18 @@
|
|||||||
diff --git a/boards.cfg b/boards.cfg
|
diff --git a/boards.cfg b/boards.cfg
|
||||||
index 2128996..0d9abd8 100644
|
index 1ba2081..08dc221 100644
|
||||||
--- a/boards.cfg
|
--- a/boards.cfg
|
||||||
+++ b/boards.cfg
|
+++ b/boards.cfg
|
||||||
@@ -256,6 +256,7 @@ Active arm armv7 am33xx siemens dxr2
|
@@ -1218,3 +1218,4 @@ Orphan powerpc ppc4xx - sandburst metrobox
|
||||||
Active arm armv7 am33xx siemens pxm2 pxm2 - Roger Meier <r.meier@siemens.com>
|
# The following were move to "Orphan" in September, 2013
|
||||||
Active arm armv7 am33xx siemens rut rut - Roger Meier <r.meier@siemens.com>
|
Orphan arm arm1136 mx31 - imx31_phycore imx31_phycore_eet imx31_phycore:IMX31_PHYCORE_EET (resigned) Guennadi Liakhovetski <g.liakhovetski@gmx.de>
|
||||||
Active arm armv7 am33xx ti am335x am335x_boneblack am335x_evm:SERIAL1,CONS_INDEX=1,EMMC_BOOT Tom Rini <trini@ti.com>
|
Orphan arm arm1136 mx31 freescale mx31ads mx31ads - (resigned) Guennadi Liakhovetski <g.liakhovetski@gmx.de>
|
||||||
+Active arm armv7 am33xx ti am335x am335x_bbb am335x_bbb:SERIAL1,CONS_INDEX=1 Ricardo Martins <rasm@fe.up.pt>
|
+Active arm armv7 am33xx ti am335x am335x_bbb am335x_bbb:SERIAL1,CONS_INDEX=1 Ricardo Martins <rasm@fe.up.pt>
|
||||||
Active arm armv7 am33xx ti am335x am335x_evm am335x_evm:SERIAL1,CONS_INDEX=1,NAND Tom Rini <trini@ti.com>
|
|
||||||
Active arm armv7 am33xx ti am335x am335x_evm_nor am335x_evm:SERIAL1,CONS_INDEX=1,NAND,NOR Tom Rini <trini@ti.com>
|
|
||||||
Active arm armv7 am33xx ti am335x am335x_evm_norboot am335x_evm:SERIAL1,CONS_INDEX=1,NOR,NOR_BOOT Tom Rini <trini@ti.com>
|
|
||||||
diff --git a/include/configs/am335x_bbb.h b/include/configs/am335x_bbb.h
|
diff --git a/include/configs/am335x_bbb.h b/include/configs/am335x_bbb.h
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..89c5835
|
index 0000000..9e00817
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/include/configs/am335x_bbb.h
|
+++ b/include/configs/am335x_bbb.h
|
||||||
@@ -0,0 +1,135 @@
|
@@ -0,0 +1,138 @@
|
||||||
+/*
|
+/*
|
||||||
+ * am335x_evm.h
|
+ * am335x_evm.h
|
||||||
+ *
|
+ *
|
||||||
@@ -37,10 +34,13 @@ index 0000000..89c5835
|
|||||||
+#include <configs/ti_am335x_common.h>
|
+#include <configs/ti_am335x_common.h>
|
||||||
+
|
+
|
||||||
+#ifdef CONFIG_BOOTDELAY
|
+#ifdef CONFIG_BOOTDELAY
|
||||||
+# undef CONFIG_BOOTDELAY
|
+# undef CONFIG_BOOTLDELAY
|
||||||
+#endif
|
+#endif
|
||||||
+#define CONFIG_BOOTDELAY 0
|
+#define CONFIG_BOOTDELAY 2
|
||||||
+#define CONFIG_ZERO_BOOTDELAY_CHECK 1
|
+#define CONFIG_AUTOBOOT_KEYED 1
|
||||||
|
+#define CONFIG_AUTOBOOT_DELAY_STR "uboot"
|
||||||
|
+#define CONFIG_AUTOBOOT_PROMPT \
|
||||||
|
+ "autoboot in %d seconds\n",bootdelay
|
||||||
+
|
+
|
||||||
+#undef CONFIG_BOOTM_NETBSD
|
+#undef CONFIG_BOOTM_NETBSD
|
||||||
+#undef CONFIG_BOOTM_PLAN9
|
+#undef CONFIG_BOOTM_PLAN9
|
6
systems/lctr-b2xx/x8-01.cfg
Normal file
6
systems/lctr-b2xx/x8-01.cfg
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
cfg_hostname='x8-01'
|
||||||
|
cfg_storage='data0:ext4:/opt'
|
||||||
|
cfg_eth_ext_ip='10.0.20.100'
|
||||||
|
cfg_eth_ext_mk='255.255.0.0'
|
||||||
|
cfg_eth_ext_gw='10.0.0.1'
|
||||||
|
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libav'
|
@@ -3,5 +3,4 @@ cfg_storage='data0:ext4:/opt'
|
|||||||
cfg_eth_ext_ip='10.0.20.110'
|
cfg_eth_ext_ip='10.0.20.110'
|
||||||
cfg_eth_ext_mk='255.255.0.0'
|
cfg_eth_ext_mk='255.255.0.0'
|
||||||
cfg_eth_ext_gw='10.0.0.1'
|
cfg_eth_ext_gw='10.0.0.1'
|
||||||
cfg_ptpd_interface='eth0'
|
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libav'
|
||||||
cfg_packages='dropbear rsync busybox e2fsprogs ptpd i2c-tools linux/am335x-evm ntp'
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user