Compare commits

..

94 Commits

Author SHA1 Message Date
mariacosta
aa86bc5954 Preparing v1.12.1. 2015-06-30 11:03:22 +01:00
mariacosta
01595e7bc8 lctr-b2xx: Create x8-04. 2015-06-30 11:00:45 +01:00
mariacosta
be95978ec5 lctr-b2xx: Create x8-01. 2015-06-30 11:00:13 +01:00
mariacosta
3e125fd0ed lctr-b2xx: Updated packages of x8-03. 2015-06-30 10:58:18 +01:00
mariacosta
70eb403ecc lctr-b2xx: Updated packages of aero-01. 2015-06-30 10:57:39 +01:00
Ricardo Martins
ca89cd22be lctr-b2xx: create x8-03. 2015-06-30 10:54:59 +01:00
mariacosta
b79ae47a25 lctr-b2xx: Create mariner-01. 2015-06-30 10:52:23 +01:00
mariacosta
9389e352b8 lctr-b2xx: Create aero-01. 2015-06-30 10:49:29 +01:00
Ricardo Martins
2c47127f0f Preparing v1.12.0. 2014-10-28 19:24:23 +00:00
Ricardo Martins
de06f16d02 Merge pull request #8 from krisklau/feature/ntnu-device-tree
lctr-b2xx/patches/linux: Added device-tree file patch for uart2,4 and gpio
2014-10-24 12:29:51 +01:00
Ricardo Martins
764fd6670a Merge pull request #9 from krisklau/feature/device-tree-ntnu-systems
lctr-b2xx: ntnu-x: Update device tree files and packages
2014-10-24 12:29:13 +01:00
Kristian Klausen
7409a86722 lctr-b2xx: ntnu-nest-0x: Updated device-tree file and added package libswiftnav 2014-10-24 09:35:29 +02:00
Kristian Klausen
f7ba7d9b4d lctr-b2xx: ntnu-hexa-xxx: Updated device-tree files and added libswiftnav package. 2014-10-24 09:34:13 +02:00
Kristian Klausen
e467dab07c lctr-b2xx: ntnu-x8-0xx: Updated device-tree files, and added package libswiftnav 2014-10-24 09:34:06 +02:00
Kristian Klausen
fe2b81d6d5 lctr-b2xx/patches/linux: Added device-tree file patch for uart2,4 and gpio 2014-10-24 09:08:32 +02:00
Ricardo Martins
5951983d1e pkrootfs: copy board DTB to /boot/board.dtb when creating root package. 2014-10-24 03:11:50 +01:00
Ricardo Martins
45078ae86b linux: copy all architecture DTBs too /boot. 2014-10-24 03:11:08 +01:00
Ricardo Martins
df4184c67b Merge pull request #6 from krisklau/feature/cmake-upgrade
rules/cmake: Update 2.8.8 -> 2.8.9
2014-10-24 01:57:30 +01:00
Ricardo Martins
5bfb823a47 Merge pull request #7 from krisklau/feature/libswiftnav
rules/libswiftnav: New package
2014-10-24 01:56:41 +01:00
Kristian Klausen
e8894c9c3f lctr-b2xx: Added support for libswiftnav by adding a patch for f2c hw specifications 2014-10-23 09:56:08 +02:00
Kristian Klausen
7d86c823f3 rules/libswiftnav: Added new package. 2014-10-23 09:54:55 +02:00
Kristian Klausen
c43c52c548 rules/cmake: Updated to version 2.8.9 2014-10-23 09:53:40 +02:00
Ricardo Martins
41a67a24da Merge pull request #5 from krisklau/feature/ntnu-nest
lctr-b2xx: Added ntnu-nest-01 and ntnu-nest-02
2014-10-22 22:44:20 +01:00
Ricardo Martins
500bf28fd0 Merge pull request #4 from krisklau/feature/ntnu-testbed
lctr-b2xx: Added ntnu-hexa-testbed
2014-10-22 22:43:57 +01:00
Kristian Klausen
02376a4469 lctr-b2xx: Added ntnu-nest-01 and ntnu-nest-02 2014-10-22 18:12:44 +02:00
Kristian Klausen
179c9fa196 lctr-b2xx: Added ntnu-hexa-testbed 2014-10-22 16:01:35 +02:00
Ricardo Martins
60f9017b34 Merge pull request #3 from krisklau/feature/ntnu-ip-range
Edit IP addresses of NTNU vehicles, and adding some new X8s
2014-10-10 16:56:30 +01:00
Kristian Klausen
f5ef0e428a lctr-b2xx: ntnu-penguin-001: Updated IP address. 2014-10-10 17:50:52 +02:00
Kristian Klausen
98b25e5234 lctr-b2xx: Added ntnu-x8-005 -- ntnu-x8-010 2014-10-10 17:50:46 +02:00
Kristian Klausen
ffd083ebcc lctr-b2xx: ntnu-x8-00x: Updated IP addresses. 2014-10-10 17:50:14 +02:00
Kristian Klausen
4a19d17380 lctr-b2xx: ntnu-hexa-00x: Updated IP addresses. 2014-10-10 17:46:34 +02:00
Ricardo Martins
132c020910 mkdisk: make sure xloader partition has WIN95 system type. 2014-10-09 21:28:09 +01:00
Ricardo Martins
1f57d7ab08 lctr-b2xx: added LED triggers. 2014-10-09 21:26:50 +01:00
Ricardo Martins
5e8bb91f6f filesystem: removed obsolete script mobile-internet. 2014-10-06 19:06:48 +01:00
Ricardo Martins
9517ff6b8a lctr-b2xx: added last ditch effort fix. 2014-09-30 17:09:02 +01:00
Ricardo Martins
e731c8b8cf lctr-b2xx: forced u-boot to wait for a specific string to stop autoboot, otherwise the BBB will sometimes enter the bootloader with spurious characters. 2014-09-30 12:52:28 +01:00
Ricardo Martins
fb61cca332 lctr-b2xx: added lauv-dolphin-2-aux and lauv-dolphin-3-aux 2014-09-12 17:18:06 +01:00
Ricardo Martins
5f6f35f211 lctr-a6xx: added lauv-dolphin-2 and lauv-dolphin-3. 2014-09-09 19:23:39 +01:00
Ricardo Martins
1ad4b0b16f Merge pull request #2 from krisklau/feature/ntnu-vehicles
Add NTNU vehicle configuration files
2014-09-05 14:33:20 +01:00
Kristian Klausen
a8fc01df80 lctr-b2xx: Added ntnu-penguin-001 2014-09-05 15:09:56 +02:00
Kristian Klausen
02517c3931 lctr-b2xx: Added ntnu-x8-001, ntnu-x8-002, ntnu-x8-003, ntnu-x8-004 2014-09-05 15:01:04 +02:00
Kristian Klausen
a0e223dff8 lctr-b2xx: Added ntnu-hexa-001, ntnu-hexa-002, ntnu-hexa-003, ntnu-hexa-004 2014-09-05 15:00:24 +02:00
Ricardo Martins
306e07e50c Cleanup. 2014-08-19 18:26:49 +01:00
Ricardo Martins
75c4714bca lctr-a6xx: updated kernel config. 2014-08-14 19:42:44 +01:00
Ricardo Martins
0c6465b23c escc: updated to version 1.0.5. 2014-08-14 19:42:35 +01:00
Ricardo Martins
489ddb9119 lctr-a9xx: moved pinmux initialization of pins without a kernel driver to u-boot. 2014-08-14 14:27:39 +01:00
Ricardo Martins
7d4b8f71c9 lctr-a9xx: disable twl power button events. 2014-08-14 14:27:09 +01:00
Ricardo Martins
51972ed4cc lctr-a9xx: moved fixed mux config to u-boot. More pins will have to be moved. 2014-08-11 23:39:50 +01:00
Ricardo Martins
131ee3b4a9 lctr-b2xx: updated linux and uboot. 2014-08-11 23:39:50 +01:00
Ricardo Martins
e5e82d2ba6 filesystem: fixed IGEPv2 handling. 2014-08-11 23:39:50 +01:00
Ricardo Martins
bbba4bf9ac lctr-a9xx: updated linux config to version 3.14.16. 2014-08-11 23:39:50 +01:00
Ricardo Martins
c0782c4310 lctr-a9xx: changed u-boot config name. 2014-08-11 23:39:50 +01:00
Ricardo Martins
3080065a4e lctr-a9xx: updated u-boot patches. 2014-08-11 23:39:50 +01:00
Ricardo Martins
5c2bc141df u-boot: upgraded to version 2014.07. 2014-08-11 23:39:50 +01:00
Ricardo Martins
7f735200d0 linux: upgraded to version 3.14.16. 2014-08-11 23:39:50 +01:00
Ricardo Martins
f68f6c95f8 filesystem: fixed upgrade script. 2014-08-11 23:39:50 +01:00
Ricardo Martins
2276ca19fa filesystem: use same code for upgrading BBB and IGEPv2. 2014-08-11 23:39:50 +01:00
Ricardo Martins
ecd45a9d8d linux: upgraded to version 3.14.15. 2014-08-11 23:39:50 +01:00
Ricardo Martins
050fa7c849 apt: upgraded to version 1.5.1. 2014-08-11 23:39:50 +01:00
Ricardo Martins
241e8a200d apr-util: upgraded to version 1.5.3. 2014-08-11 23:39:50 +01:00
Ricardo Martins
ef47422f3e muparser: upgraded to version 2.2.3. 2014-08-11 23:39:50 +01:00
Ricardo Martins
346e4b60a7 cdk: updated download URL. 2014-08-11 23:39:49 +01:00
Ricardo Martins
f1d49eba03 gnuplot: upgraded to version 4.6.5. 2014-08-11 23:39:49 +01:00
Ricardo Martins
bed6cd2253 libpng: upgraded to version 1.6.12. 2014-08-11 23:39:49 +01:00
Ricardo Martins
7ab772c363 glued-download-sources: added maximum 30 second timeout. 2014-08-11 23:39:49 +01:00
Ricardo Martins
10846e4f3d gpsd: removed obsolete package. 2014-08-11 23:39:49 +01:00
Ricardo Martins
38c382470d Fixed bug #1. 2014-08-10 19:49:09 +01:00
Ricardo Martins
9e3c75a0ab tcpdump: updated to version 4.6.1. 2014-07-23 18:51:58 +01:00
Ricardo Martins
dd4841ca02 libcap: updated to version 1.6.1. 2014-07-23 18:51:27 +01:00
Ricardo Martins
f065b339fc termcap: added host rules. 2014-06-28 13:28:17 +01:00
Ricardo Martins
82e1ada242 util-linux: added termcap as requirement. 2014-06-28 13:26:35 +01:00
Ricardo Martins
f5a53a6378 mkdisk: use compiled e2fsprogs. 2014-06-27 22:40:56 +01:00
Ricardo Martins
0ac97ce889 base: added e2fsprogs to host. 2014-06-27 22:40:38 +01:00
Ricardo Martins
0dc888df33 e2fsprogs: added host rule. 2014-06-27 22:37:38 +01:00
Ricardo Martins
0b43b299e8 leviathan: added uswitch. 2014-06-27 17:17:42 +01:00
Ricardo Martins
5974184000 lctr-b2xx: added CONFIG_USB_SERIAL_OPTION. 2014-06-27 17:17:23 +01:00
José Braga
3bc6b3dec0 rsync: updated to 3.1.1. 2014-06-26 16:03:26 +01:00
Ricardo Martins
87599fc9f4 arm-1176: added u-boot arch. 2014-06-19 20:26:16 +01:00
Ricardo Martins
3ef84d36e8 cortex-a8: reordered variables. 2014-06-19 20:26:16 +01:00
Ricardo Martins
7b61512978 arm-1176: added u-boot arch. 2014-06-19 20:26:16 +01:00
Ricardo Martins
63cae9d437 u-boot: removed unneeded configure(). 2014-06-19 20:26:16 +01:00
Ricardo Martins
3afc4d7e93 busybox: upgraded to v1.22.1. 2014-06-19 20:26:16 +01:00
Ricardo Martins
6b454f1a52 lctr-b2xx: removed SYSRQ support. 2014-06-17 20:33:18 +01:00
Ricardo Martins
de2abe89c7 leviathan: removed rsyncd. 2014-06-17 20:33:01 +01:00
Ricardo Martins
84157535da lctr-b2xx: added leviathan. 2014-06-16 15:35:44 +01:00
Ricardo Martins
7be96bd7dd lctr-a9xx: added manta-12. 2014-06-16 15:34:43 +01:00
Ricardo Martins
29d3378dc8 bc: added flex/host as requirement. 2014-06-13 00:00:14 +01:00
Ricardo Martins
ee8eae8520 linux: added bc/host as a requirement. 2014-06-11 19:33:27 +01:00
Ricardo Martins
9898f97491 bc: added package. 2014-06-11 19:33:08 +01:00
José Braga
5ce97d6921 Updated lauv-noptilus-3-aux hostname. 2014-06-06 17:06:21 +01:00
Joao Fortuna
897a147fcd configurations: updated UAVs. 2014-06-02 15:30:17 +01:00
Joao Fortuna
a5ca7f0cae libav: added new rule. Installs avconv used for video recording. 2014-06-02 15:30:17 +01:00
Ricardo Martins
63d60d4c02 lctr-b2xx: added lauv-noptilus-3-aux. 2014-06-02 14:48:05 +01:00
Ricardo Martins
2e28260682 Starting v1.12.x development cycle. 2014-05-22 15:21:14 +01:00
94 changed files with 1290 additions and 1498 deletions

View File

@@ -1,5 +1,6 @@
cfg_target_canonical="armv11-$cfg_glued_vendor-linux-gnueabi"
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_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'

View File

@@ -1,6 +1,6 @@
cfg_target_canonical="armv7-$cfg_glued_vendor-linux-gnueabi"
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_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_uboot_arch='arm'

View File

@@ -23,7 +23,7 @@
###########################################################################
# Config: GLUED version.
cfg_glued_version='1.11.1'
cfg_glued_version='1.12.1'
# Config: GLUED vendor.
cfg_glued_vendor='lsts'

View File

@@ -95,7 +95,7 @@ create_part_root()
|| die
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"
cmd_mount ext2 "$part_dev" || die
@@ -128,7 +128,7 @@ create_part_data()
|| die
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"
cmd_mount ext4 "$part_dev" || die
@@ -167,6 +167,13 @@ else
cmd_parted="parted"
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
cmd_mkdosfs="$cfg_dir_toolchain/sbin/mkdosfs"
else
@@ -174,6 +181,20 @@ else
cmd_mkdosfs="mkdosfs"
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"
dev="$2"
@@ -215,6 +236,7 @@ cmd_parted "$dev_loop" \
|| die
part_nr=1
xboot_system_id=0
for ((i = 0; i < ${#cfg_partitions[@]}; i += 4)); do
part_type="${cfg_partitions[$i+0]}"
part_label="${cfg_partitions[$i+1]}"
@@ -225,6 +247,7 @@ for ((i = 0; i < ${#cfg_partitions[@]}; i += 4)); do
case $part_type in
'x-boot')
create_part_xboot
xboot_system_id=1
;;
'root')
create_part_root
@@ -250,5 +273,10 @@ nfo1 "Synchronizing caches"
sync && sync && sync && sync && sync && sync
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"
losetup -v -d "$dev_loop"

View File

@@ -58,6 +58,11 @@ for d in dev boot etc; do
$fakeroot -- chmod -vR 0644 "$cfg_dir_rootfs"/$d/*
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.
set | sort | grep ^cfg_ | egrep -v '^cfg_dir|^cfg_target|^cfg_host_|^cfg_toolchain|^cfg_rootfs_tar|^cfg_partitions' > "$cfg_dir_rootfs/etc/config"

View File

@@ -1,6 +1,6 @@
version=\
(
'1.5.2'
'1.5.3'
)
url=\

View File

@@ -1,6 +1,6 @@
version=\
(
'1.4.6'
'1.5.1'
)
url=\

View File

@@ -25,4 +25,5 @@ requires=\
'texinfo/host'
'parted/host'
'dosfstools/host'
'e2fsprogs/host'
)

42
rules/bc/host.bash Normal file
View 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
}

View File

@@ -1,6 +1,6 @@
version=\
(
'1.22.0'
'1.22.1'
)
url=\
@@ -10,7 +10,7 @@ url=\
md5=\
(
'ac1881d1cdeb0729b22c663feaf1c663'
'337d1a15ab1cb1d4ed423168b1eb7d7e'
)
post_unpack()

View File

@@ -1,16 +1,16 @@
version=\
(
"5.0-20120323"
'5.0-20140118'
)
url=\
(
"ftp://invisible-island.net/cdk/cdk.tar.gz"
"ftp://invisible-island.net/cdk/cdk-$version.tgz"
)
md5=\
(
"929969d06ce034e862976bb7d1a36b25"
'd2687e5558b6d6be5fd39328e5c86033'
)
requires=\
@@ -20,34 +20,34 @@ requires=\
configure()
{
# --target="${cfg_target_canonical}" \
./configure \
--prefix="$cfg_dir_toolchain_sysroot/usr" \
--host="${cfg_target_canonical}" \
--build="${cfg_host_canonical}" \
# --target="${cfg_target_canonical}" \
./configure \
--prefix="$cfg_dir_toolchain_sysroot/usr" \
--host="${cfg_target_canonical}" \
--build="${cfg_host_canonical}" \
--target="${cfg_target_canonical}" \
--with-ncursesw \
--with-shared \
--with-ncursesw \
--with-shared \
}
build()
{
$cmd_make
$cmd_make
}
host_install()
{
$cmd_make install
$cmd_make install
}
target_install()
{
for f in "$cfg_dir_toolchain_sysroot/usr/lib/libcdk"* ; do
if [ -L "$f" ]; then
cp -av "$f" "$cfg_dir_rootfs/usr/lib"
else
$cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/usr/lib/$(basename "$f")"
fi
done
for f in "$cfg_dir_toolchain_sysroot/usr/lib/libcdk"* ; do
if [ -L "$f" ]; then
cp -av "$f" "$cfg_dir_rootfs/usr/lib"
else
$cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/usr/lib/$(basename "$f")"
fi
done
}

View File

@@ -1,6 +1,6 @@
version=\
(
"2.8.8"
"2.8.9"
)
version_major=\
@@ -15,7 +15,7 @@ url=\
md5=\
(
"ba74b22c788a0c8547976b880cd02b17"
"801f4c87f8b604f727df5bf1f05a59e7"
)
configure()
@@ -26,10 +26,12 @@ configure()
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
}
host_install()
{
$cmd_make install
$cmd_make DESTDIR="$cfg_dir_toolchain" install
}

View File

@@ -0,0 +1,14 @@
version=\
(
'1.41.9'
)
url=\
(
"http://downloads.sourceforge.net/e2fsprogs/e2fsprogs-$version.tar.gz"
)
md5=\
(
'52f60a9e19a02f142f5546f1b5681927'
)

View File

@@ -1,20 +1,9 @@
version=\
(
'1.41.9'
)
url=\
(
"http://downloads.sourceforge.net/e2fsprogs/e2fsprogs-$version.tar.gz"
)
md5=\
(
'52f60a9e19a02f142f5546f1b5681927'
)
source "$pkg_common"
configure()
{
$cmd_make distclean
export CC=$cmd_target_cc
export CROSS_COMPILE=$cfg_target_canonical
"../e2fsprogs-$version/configure" \

22
rules/e2fsprogs/host.bash Normal file
View 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
}

View File

@@ -1,6 +1,6 @@
version=\
(
'1.0.4'
'1.0.5'
)
url=\
@@ -10,7 +10,7 @@ url=\
md5=\
(
'b9ee6a3d921643535c336b7c740b2c60'
'8400860f2daa98d559b1b9b6fcc630c2'
)
if [ -d "$cfg_dir_builds/linux/linux-"* ]; then

View File

@@ -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
}

View File

@@ -109,24 +109,19 @@ kernel_upgrade()
fi
}
bbb_boot_upgrade()
uboot_part_upgrade()
{
# Check if board is a BeagleBone black.
dmesg | grep -i 'machine model' | grep -i beaglebone
if [ $? -ne 0 ]; then
return 0
fi
label="$1"
dev="$2"
dev='/dev/mmcblk1p1'
echo -en '* BeagleBone Black: checking eMMC device... '
echo -en "* $label: probing bootloader partition... "
if ! [ -b "$dev" ]; then
echo 'not present'
return 0
fi
echo 'present'
echo -en "* BeagleBone Black: mounting bootloader partition... "
echo -en "* $label: mounting bootloader partition... "
mount -t vfat "$dev" /mnt > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo "failed"
@@ -135,14 +130,12 @@ bbb_boot_upgrade()
echo 'done'
for f in MLO u-boot.img; do
if [ -f /mnt/MLO ]; then
echo -en "* BeagleBone Black: Replacing $f... "
cp "$base/.glued-new/boot/$f" /mnt
echo 'done'
fi
echo -en "* $label: Replacing $f... "
cp "$base/.glued-new/boot/$f" /mnt
echo 'done'
done
echo -en "* BeagleBone Black: unmounting bootloader partition... "
echo -en "* $label: unmounting bootloader partition... "
umount /mnt > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo 'failed'
@@ -154,6 +147,30 @@ bbb_boot_upgrade()
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()
{
echo "* Mounting rootfs read-write..."
@@ -201,7 +218,7 @@ start()
version || return 1
kernel_dst || return 1
new_unpack || return 1
bbb_boot_upgrade || return 1
uboot_part_upgrade_check || return 1
kernel_upgrade || return 1
old_move || return 1
}

View File

@@ -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

View File

@@ -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

View File

@@ -1,41 +1,41 @@
version=\
(
"4.6.1"
'4.6.5'
)
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=\
(
"4c9a06461f402482c30cf94e267eb877"
'9a476b21f74bd99c876f1509d731a0f9'
)
configure()
{
./configure \
--prefix="${cfg_dir_toolchain_sysroot}/usr" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical" \
--disable-history-file \
--without-x \
--disable-raise-console \
--disable-mouse \
--without-tutorial \
--without-demo \
--disable-demo \
--without-row-help \
--disable-history-file \
--without-lisp-files \
--disable-wxwidgets \
--without-lua \
--without-latex \
--without-cairo
./configure \
--prefix="${cfg_dir_toolchain_sysroot}/usr" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical" \
--disable-history-file \
--without-x \
--disable-raise-console \
--disable-mouse \
--without-tutorial \
--without-demo \
--disable-demo \
--without-row-help \
--disable-history-file \
--without-lisp-files \
--disable-wxwidgets \
--without-lua \
--without-latex \
--without-cairo
sed -i "s#demo ##g" Makefile
sed -i "s#demo ##g" Makefile
}
build()
@@ -50,8 +50,6 @@ host_install()
target_install()
{
$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_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"
}

View File

@@ -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"
}

View File

@@ -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
View 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
}

View File

@@ -1,6 +1,6 @@
version=\
(
"1.1.1"
"1.6.1"
)
url=\
@@ -10,7 +10,7 @@ url=\
md5=\
(
"1bca27d206970badae248cfa471bbb47"
"5eb05edf6b6c6e63d536d1c9fbfb2f7c"
)
maintainer=\
@@ -26,9 +26,12 @@ requires=\
post_unpack()
{
for patch in "$pkg_dir"/patches/*; do
patch -p1 < "$patch" || return 1
done
if [ -d "$pkg_dir"/patches/${version} ];
then
for patch in "$pkg_dir"/patches/${version}/*; do
patch -p1 < "$patch" || return 1
done
fi
}
configure()
@@ -56,7 +59,10 @@ build()
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()

View File

@@ -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,"

View File

@@ -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:
+ *;
+};

View File

@@ -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:

View File

@@ -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

View File

@@ -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"
#

View File

@@ -1,6 +1,6 @@
version=\
(
'1.6.8'
'1.6.12'
)
url=\
@@ -10,7 +10,7 @@ url=\
md5=\
(
'51ce71a1642cdde1f4485a7ff82193c0'
'ee752da8aa75076500e4cf31318e636e'
)
configure()

View 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
}

View File

@@ -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
}

View File

@@ -1,8 +1,6 @@
source "$pkg_common"
version=\
(
'3.13.11'
'3.14.16'
)
url=\
@@ -12,7 +10,7 @@ url=\
md5=\
(
'd4e06af8b674ac74ba745d52e4382bd3'
'469c879236ed694f60b81122e91ca02e'
)
maintainer=\
@@ -22,6 +20,120 @@ maintainer=\
requires=\
(
'bc/host'
'kmod/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
}

View File

@@ -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'
)

View File

@@ -1,6 +1,6 @@
version=\
(
"v2_2_0"
'v2_2_3'
)
url=\
@@ -10,7 +10,7 @@ url=\
md5=\
(
"27024148b389b98f1821252a7ba87b19"
'9de40ec1dab5bd2787ee344fce5846ad'
)
configure()

View File

@@ -1,16 +1,16 @@
version=\
(
4.3.0
'4.6.1'
)
url=\
(
http://www.tcpdump.org/release/tcpdump-$version.tar.gz
"http://www.tcpdump.org/release/tcpdump-$version.tar.gz"
)
md5=\
(
a3fe4d30ac85ff5467c889ff46b7e1e8
'dab267ec30216a069747d10314079ec7'
)
requires=\
@@ -21,7 +21,7 @@ requires=\
configure()
{
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" \
--disable-static \
--enable-shared \
@@ -29,7 +29,8 @@ configure()
--host=$cfg_target_canonical \
--build=$cfg_host_canonical \
--includedir="$cfg_dir_toolchain_sysroot/usr/include" \
--libdir="$cfg_dir_toolchain_sysroot/usr/lib"
--libdir="$cfg_dir_toolchain_sysroot/usr/lib" \
--disable-ipv6
}
build()

14
rules/termcap/common.bash Normal file
View File

@@ -0,0 +1,14 @@
version=\
(
'1.3.1'
)
url=\
(
"ftp://ftp.gnu.org/gnu/termcap/termcap-$version.tar.gz"
)
md5=\
(
'ffe6f86e63a3a29fa53ac645faaabdfa'
)

View File

@@ -1,17 +1,4 @@
version=\
(
'1.3.1'
)
url=\
(
"ftp://ftp.gnu.org/gnu/termcap/termcap-$version.tar.gz"
)
md5=\
(
'ffe6f86e63a3a29fa53ac645faaabdfa'
)
source "$pkg_common"
configure()
{
@@ -35,7 +22,7 @@ host_install()
target_install()
{
# Libs:
# Libs:
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libtermcap*; do
if [ -L "$f" ]; then
$cmd_cp "$f" "$cfg_dir_rootfs/usr/lib"

19
rules/termcap/host.bash Normal file
View 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
}

View File

@@ -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}_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
}

View File

@@ -1,8 +1,6 @@
source "$pkg_common"
version=\
(
'2014.01'
'2014.07'
)
url=\
@@ -12,5 +10,44 @@ url=\
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
}

View File

@@ -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'."
}

View File

@@ -1,5 +1,10 @@
source "$pkg_common"
requires=\
(
'termcap/host'
)
configure()
{
cd "$pkg_build_dir" &&

View File

@@ -4,7 +4,7 @@ cfg_services0='dropbear network storage upgrade syslog escc ptpd setserial'
cfg_services1=''
cfg_services2='dune'
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_target_linux_kernel='arch/x86/boot/bzImage'
cfg_ptpd_master='true'

View 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'

View 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'

View File

@@ -1,2 +0,0 @@
cfg_hostname="ardupilot-testbed"
cfg_eth_ext_ip="10.0.200.6"

View File

@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 3.13.1 Kernel Configuration
# Linux/arm 3.14.16 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -102,7 +102,6 @@ CONFIG_GENERIC_SCHED_CLOCK=y
# CONFIG_CGROUPS is not set
# CONFIG_CHECKPOINT_RESTORE is not set
# CONFIG_NAMESPACES is not set
# CONFIG_UIDGID_STRICT_TYPE_CHECKS is not set
# CONFIG_SCHED_AUTOGROUP is not set
# CONFIG_SYSFS_DEPRECATED is not set
# CONFIG_RELAY is not set
@@ -140,11 +139,14 @@ CONFIG_COMPAT_BRK=y
CONFIG_SLAB=y
# CONFIG_SLUB is not set
# CONFIG_SLOB is not set
# CONFIG_SYSTEM_TRUSTED_KEYRING is not set
# CONFIG_PROFILING is not set
CONFIG_HAVE_OPROFILE=y
# CONFIG_KPROBES is not set
# CONFIG_JUMP_LABEL 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_KRETPROBES=y
CONFIG_HAVE_ARCH_TRACEHOOK=y
@@ -160,6 +162,11 @@ CONFIG_HAVE_PERF_USER_STACK_DUMP=y
CONFIG_HAVE_ARCH_JUMP_LABEL=y
CONFIG_ARCH_WANT_IPC_PARSE_VERSION=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_VIRT_CPU_ACCOUNTING_GEN=y
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
@@ -177,7 +184,6 @@ CONFIG_HAVE_GENERIC_DMA_COHERENT=y
CONFIG_SLABINFO=y
CONFIG_RT_MUTEXES=y
CONFIG_BASE_SMALL=0
# CONFIG_SYSTEM_TRUSTED_KEYRING is not set
CONFIG_MODULES=y
# CONFIG_MODULE_FORCE_LOAD is not set
CONFIG_MODULE_UNLOAD=y
@@ -227,6 +233,7 @@ CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="cfq"
CONFIG_UNINLINE_SPIN_UNLOCK=y
CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
CONFIG_FREEZER=y
#
@@ -257,8 +264,8 @@ CONFIG_ARCH_MULTIPLATFORM=y
# CONFIG_ARCH_W90X900 is not set
# CONFIG_ARCH_LPC32XX is not set
# CONFIG_ARCH_PXA is not set
# CONFIG_ARCH_MSM is not set
# CONFIG_ARCH_SHMOBILE is not set
# CONFIG_ARCH_MSM_NODT is not set
# CONFIG_ARCH_SHMOBILE_LEGACY is not set
# CONFIG_ARCH_RPC is not set
# CONFIG_ARCH_SA1100 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_MVEBU is not set
# CONFIG_ARCH_BCM is not set
# CONFIG_ARCH_BERLIN is not set
# CONFIG_GPIO_PCA953X is not set
# CONFIG_KEYBOARD_GPIO_POLLED is not set
# CONFIG_ARCH_HIGHBANK is not set
# CONFIG_ARCH_HI3xxx is not set
# CONFIG_ARCH_KEYSTONE is not set
# CONFIG_ARCH_MSM_DT is not set
# CONFIG_ARCH_MXC is not set
#
@@ -297,12 +307,12 @@ CONFIG_ARCH_MULTI_V6_V7=y
# OMAP Feature Selections
#
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_MUX=y
# CONFIG_OMAP_MUX_DEBUG is not set
CONFIG_OMAP_MUX_DEBUG=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_OMAP_DM_TIMER=y
CONFIG_OMAP_PM_NOOP=y
@@ -313,6 +323,7 @@ CONFIG_ARCH_OMAP3=y
# CONFIG_SOC_OMAP5 is not set
# CONFIG_SOC_AM33XX is not set
# CONFIG_SOC_AM43XX is not set
# CONFIG_SOC_DRA7XX is not set
CONFIG_ARCH_OMAP2PLUS=y
#
@@ -320,7 +331,6 @@ CONFIG_ARCH_OMAP2PLUS=y
#
CONFIG_ARCH_OMAP2PLUS_TYPICAL=y
CONFIG_SOC_HAS_OMAP2_SDRC=y
# CONFIG_SOC_DRA7XX is not set
CONFIG_SOC_OMAP3430=y
# CONFIG_SOC_TI81XX is not set
@@ -342,7 +352,7 @@ CONFIG_SOC_OMAP3430=y
# CONFIG_MACH_CM_T35 is not set
# CONFIG_MACH_CM_T3517 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_ARCH_ROCKCHIP is not set
# CONFIG_ARCH_SOCFPGA is not set
@@ -403,6 +413,7 @@ CONFIG_TI_PRIV_EDMA=y
#
# Bus support
#
CONFIG_ARM_AMBA=y
# CONFIG_PCI_SYSCALL is not set
# CONFIG_PCCARD is not set
@@ -442,6 +453,7 @@ CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_HAVE_MEMBLOCK=y
CONFIG_NO_BOOTMEM=y
CONFIG_MEMORY_ISOLATION=y
# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set
CONFIG_PAGEFLAGS_EXTENDED=y
@@ -459,11 +471,11 @@ CONFIG_NEED_PER_CPU_KM=y
CONFIG_CMA=y
# CONFIG_CMA_DEBUG is not set
# CONFIG_ZBUD is not set
# CONFIG_ZSMALLOC is not set
CONFIG_FORCE_MAX_ZONEORDER=11
CONFIG_ALIGNMENT_TRAP=y
# CONFIG_UACCESS_WITH_MEMCPY is not set
# CONFIG_SECCOMP is not set
# CONFIG_CC_STACKPROTECTOR is not set
CONFIG_SWIOTLB=y
CONFIG_IOMMU_HELPER=y
# 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_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
CONFIG_GENERIC_CPUFREQ_CPU0=y
#
# ARM CPU frequency scaling drivers
@@ -632,6 +643,7 @@ CONFIG_NETFILTER_ADVANCED=y
# CONFIG_NETFILTER_NETLINK_QUEUE is not set
# CONFIG_NETFILTER_NETLINK_LOG is not set
# CONFIG_NF_CONNTRACK is not set
# CONFIG_NF_TABLES is not set
# CONFIG_NETFILTER_XTABLES is not set
# CONFIG_IP_SET is not set
# CONFIG_IP_VS is not set
@@ -752,8 +764,8 @@ CONFIG_OF_ADDRESS=y
CONFIG_OF_IRQ=y
CONFIG_OF_NET=y
CONFIG_OF_MDIO=y
# CONFIG_PARPORT is not set
CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
# CONFIG_PARPORT is not set
CONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_NULL_BLK 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_DM9601 is not set
# CONFIG_USB_NET_SR9700 is not set
# CONFIG_USB_NET_SR9800 is not set
# CONFIG_USB_NET_SMSC75XX is not set
CONFIG_USB_NET_SMSC95XX=y
# CONFIG_USB_NET_GL620A is not set
@@ -1045,7 +1058,6 @@ CONFIG_KEYBOARD_GPIO=y
# CONFIG_KEYBOARD_SAMSUNG is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_SH_KEYSC is not set
# CONFIG_KEYBOARD_OMAP4 is not set
# CONFIG_KEYBOARD_TWL4030 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_TABLET is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
CONFIG_INPUT_MISC=y
# 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
# CONFIG_INPUT_MISC is not set
#
# Hardware I/O ports
@@ -1119,6 +1111,8 @@ CONFIG_SERIAL_8250_RSA=y
#
# 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_MAX310X 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_DESIGNWARE_PLATFORM is not set
# CONFIG_I2C_GPIO is not set
# CONFIG_I2C_NOMADIK is not set
# CONFIG_I2C_OCORES is not set
CONFIG_I2C_OMAP=y
# CONFIG_I2C_PCA_PLATFORM 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_XILINX is not set
# CONFIG_I2C_RCAR is not set
#
# External I2C/SMBus adapter drivers
#
# CONFIG_I2C_DIOLAN_U2C 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_TINY_USB is not set
@@ -1203,6 +1197,7 @@ CONFIG_SPI_MASTER=y
# CONFIG_SPI_OC_TINY is not set
CONFIG_SPI_OMAP24XX=y
# CONFIG_SPI_TI_QSPI is not set
# CONFIG_SPI_PL022 is not set
# CONFIG_SPI_PXA2XX_PCI is not set
# CONFIG_SPI_SC18IS602 is not set
# CONFIG_SPI_XCOMM is not set
@@ -1251,6 +1246,8 @@ CONFIG_PINMUX=y
CONFIG_PINCONF=y
CONFIG_GENERIC_PINCONF=y
# CONFIG_DEBUG_PINCTRL is not set
# CONFIG_PINCTRL_CAPRI is not set
# CONFIG_PINCTRL_MSM8X74 is not set
CONFIG_PINCTRL_SINGLE=y
CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y
CONFIG_ARCH_REQUIRE_GPIOLIB=y
@@ -1265,7 +1262,9 @@ CONFIG_GPIO_SYSFS=y
#
# CONFIG_GPIO_GENERIC_PLATFORM is not set
# CONFIG_GPIO_EM is not set
# CONFIG_GPIO_PL061 is not set
# CONFIG_GPIO_RCAR is not set
# CONFIG_GPIO_SCH311X is not set
# CONFIG_GPIO_TS5500 is not set
# CONFIG_GPIO_GRGPIO is not set
@@ -1429,6 +1428,7 @@ CONFIG_HWMON=y
# CONFIG_SENSORS_MAX6697 is not set
# CONFIG_SENSORS_MCP3021 is not set
# CONFIG_SENSORS_NCT6775 is not set
# CONFIG_SENSORS_NTC_THERMISTOR is not set
# CONFIG_SENSORS_PC87360 is not set
# CONFIG_SENSORS_PC87427 is not set
# CONFIG_SENSORS_PCF8591 is not set
@@ -1468,6 +1468,7 @@ CONFIG_HWMON=y
# CONFIG_SENSORS_W83627EHF is not set
CONFIG_THERMAL=y
CONFIG_THERMAL_HWMON=y
CONFIG_THERMAL_OF=y
CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
# CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE is not set
# CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE is not set
@@ -1489,6 +1490,8 @@ CONFIG_WATCHDOG_CORE=y
# Watchdog Device Drivers
#
# 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_OMAP_WATCHDOG=y
CONFIG_TWL4030_WATCHDOG=y
@@ -1536,6 +1539,7 @@ CONFIG_MFD_CORE=y
# CONFIG_MFD_88PM800 is not set
# CONFIG_MFD_88PM805 is not set
# CONFIG_MFD_88PM860X is not set
# CONFIG_MFD_MAX14577 is not set
# CONFIG_MFD_MAX77686 is not set
# CONFIG_MFD_MAX77693 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_SYSCON 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_OMAP_USB_HOST=y
# CONFIG_MFD_PALMAS is not set
@@ -1594,6 +1599,7 @@ CONFIG_REGULATOR_DEBUG=y
CONFIG_REGULATOR_FIXED_VOLTAGE=y
# CONFIG_REGULATOR_VIRTUAL_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_DA9210 is not set
# CONFIG_REGULATOR_FAN53555 is not set
@@ -1621,7 +1627,6 @@ CONFIG_REGULATOR_TWL4030=y
#
# Graphics support
#
# CONFIG_TEGRA_HOST1X is not set
# CONFIG_DRM is not set
# CONFIG_VGASTATE 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_R8A66597_HCD 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
#
@@ -1844,7 +1837,20 @@ CONFIG_USB_STORAGE=y
#
# CONFIG_USB_MDC800 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_DWC2 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_MOS7720 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_PL2303 is not set
# CONFIG_USB_SERIAL_OTI6858 is not set
@@ -1935,6 +1942,7 @@ CONFIG_USB_SERIAL_OPTION=y
# USB Physical Layer drivers
#
CONFIG_USB_PHY=y
# CONFIG_USB_OTG_FSM is not set
CONFIG_NOP_USB_XCEIV=y
CONFIG_OMAP_CONTROL_USB=y
CONFIG_OMAP_USB3=y
@@ -1957,8 +1965,10 @@ CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2
#
# CONFIG_USB_FUSB300 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_PXA27X is not set
# CONFIG_USB_S3C_HSOTG is not set
# CONFIG_USB_MV_UDC is not set
# CONFIG_USB_MV_U3D 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_LIBCOMPOSITE=y
CONFIG_USB_U_ETHER=y
CONFIG_USB_U_RNDIS=y
CONFIG_USB_F_ECM=y
CONFIG_USB_F_SUBSET=y
# CONFIG_USB_CONFIGFS is not set
@@ -2004,6 +2013,7 @@ CONFIG_MMC_BLOCK_BOUNCE=y
#
# MMC/SD/SDIO Host Controller Drivers
#
# CONFIG_MMC_ARMMMCI is not set
# CONFIG_MMC_SDHCI is not set
# CONFIG_MMC_SDHCI_PXAV3 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_DS1672 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_RS5C372 is not set
# CONFIG_RTC_DRV_ISL1208 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_PCF2127 is not set
# CONFIG_RTC_DRV_PCF8523 is not set
@@ -2136,6 +2148,8 @@ CONFIG_RTC_DRV_DS1307=y
#
# 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_MOXART is not set
@@ -2149,10 +2163,12 @@ CONFIG_DMADEVICES=y
#
# DMA Devices
#
# CONFIG_AMBA_PL08X is not set
# CONFIG_DW_DMAC_CORE is not set
# CONFIG_DW_DMAC is not set
# CONFIG_TIMB_DMA is not set
CONFIG_TI_EDMA=y
# CONFIG_PL330_DMA is not set
CONFIG_DMA_OMAP=y
# CONFIG_TI_CPPI41 is not set
CONFIG_DMA_ENGINE=y
@@ -2184,8 +2200,9 @@ CONFIG_COMMON_CLK=y
#
# Common Clock Framework
#
# CONFIG_COMMON_CLK_DEBUG 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
@@ -2195,13 +2212,13 @@ CONFIG_CLKSRC_MMIO=y
CONFIG_ARM_ARCH_TIMER=y
CONFIG_ARM_ARCH_TIMER_EVTSTREAM=y
CONFIG_MAILBOX=y
# CONFIG_PL320_MBOX is not set
CONFIG_OMAP_MBOX=y
CONFIG_OMAP2PLUS_MBOX=y
CONFIG_OMAP_MBOX_KFIFO_SIZE=256
CONFIG_IOMMU_SUPPORT=y
CONFIG_OF_IOMMU=y
# CONFIG_OMAP_IOMMU is not set
# CONFIG_SHMOBILE_IOMMU is not set
#
# Remoteproc drivers
@@ -2240,6 +2257,7 @@ CONFIG_GENERIC_PHY=y
# CONFIG_PHY_EXYNOS_MIPI_VIDEO is not set
CONFIG_OMAP_USB2=y
# CONFIG_PHY_EXYNOS_DP_VIDEO is not set
# CONFIG_BCM_KONA_USB2_PHY 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_PANIC_ON_OOPS is not set
CONFIG_PANIC_ON_OOPS_VALUE=0
CONFIG_PANIC_TIMEOUT=0
# CONFIG_SCHED_DEBUG is not set
# CONFIG_SCHEDSTATS 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_KSTRTOX 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_HAVE_ARCH_KGDB=y
# CONFIG_KGDB is not set
# CONFIG_ARM_PTDUMP is not set
# CONFIG_STRICT_DEVMEM is not set
CONFIG_ARM_UNWIND=y
# 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_8250 is not set
CONFIG_UNCOMPRESS_INCLUDE="debug/uncompress.h"
CONFIG_OC_ETM=y
# CONFIG_PID_IN_CONTEXTIDR is not set
# CONFIG_DEBUG_SET_MODULE_RONX is not set
#
# Security options

View File

@@ -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_target_linux_kernel='arch/arm/boot/zImage'
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_ntpd_config='/etc/ntp/server.cfg'
cfg_eth_ext_mk='255.255.0.0'

View File

@@ -0,0 +1,2 @@
cfg_hostname='manta-12'
cfg_eth_ext_ip='10.0.30.12'

View File

@@ -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
--- 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
@@ -0,0 +1,107 @@
@@ -0,0 +1,89 @@
+/*
+ * 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 {
+ 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 {
+ pinctrl-single,pins = <
+ 0x136 (PIN_INPUT_PULLDOWN | MUX_MODE4) /* gpio_137 - button 2 */

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -1,3 +1,2 @@
cfg_hostname='x8-00'
cfg_eth_ext_ip='10.0.20.95'
cfg_services1='ntpd'

View File

@@ -1,3 +0,0 @@
cfg_hostname='x8-01'
cfg_eth_ext_ip='10.0.20.100'
cfg_services1='ntpd'

View File

@@ -1,3 +1,3 @@
cfg_hostname='x8-02'
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'

View 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'

View File

@@ -0,0 +1,2 @@
cfg_hostname='ardupilot-testbed'
cfg_eth_ext_ip='10.0.200.6'

View File

@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 3.13.11 Kernel Configuration
# Linux/arm 3.14.16 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -124,7 +124,6 @@ CONFIG_IPC_NS=y
# CONFIG_USER_NS is not set
CONFIG_PID_NS=y
CONFIG_NET_NS=y
# CONFIG_UIDGID_STRICT_TYPE_CHECKS is not set
CONFIG_SCHED_AUTOGROUP=y
CONFIG_MM_OWNER=y
# CONFIG_SYSFS_DEPRECATED is not set
@@ -163,11 +162,14 @@ CONFIG_COMPAT_BRK=y
CONFIG_SLAB=y
# CONFIG_SLUB is not set
# CONFIG_SLOB is not set
# CONFIG_SYSTEM_TRUSTED_KEYRING is not set
# CONFIG_PROFILING is not set
CONFIG_HAVE_OPROFILE=y
# CONFIG_KPROBES is not set
# CONFIG_JUMP_LABEL 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_KRETPROBES=y
CONFIG_HAVE_ARCH_TRACEHOOK=y
@@ -183,6 +185,11 @@ CONFIG_HAVE_PERF_USER_STACK_DUMP=y
CONFIG_HAVE_ARCH_JUMP_LABEL=y
CONFIG_ARCH_WANT_IPC_PARSE_VERSION=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_VIRT_CPU_ACCOUNTING_GEN=y
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
@@ -200,7 +207,6 @@ CONFIG_HAVE_GENERIC_DMA_COHERENT=y
CONFIG_SLABINFO=y
CONFIG_RT_MUTEXES=y
CONFIG_BASE_SMALL=0
# CONFIG_SYSTEM_TRUSTED_KEYRING is not set
CONFIG_MODULES=y
CONFIG_MODULE_FORCE_LOAD=y
CONFIG_MODULE_UNLOAD=y
@@ -253,6 +259,7 @@ CONFIG_DEFAULT_CFQ=y
CONFIG_DEFAULT_IOSCHED="cfq"
CONFIG_ASN1=m
CONFIG_UNINLINE_SPIN_UNLOCK=y
CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
CONFIG_FREEZER=y
#
@@ -283,8 +290,8 @@ CONFIG_ARCH_MULTIPLATFORM=y
# CONFIG_ARCH_W90X900 is not set
# CONFIG_ARCH_LPC32XX is not set
# CONFIG_ARCH_PXA is not set
# CONFIG_ARCH_MSM is not set
# CONFIG_ARCH_SHMOBILE is not set
# CONFIG_ARCH_MSM_NODT is not set
# CONFIG_ARCH_SHMOBILE_LEGACY is not set
# CONFIG_ARCH_RPC is not set
# CONFIG_ARCH_SA1100 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_MVEBU is not set
# CONFIG_ARCH_BCM is not set
# CONFIG_ARCH_BERLIN is not set
# CONFIG_GPIO_PCA953X is not set
# CONFIG_ARCH_HIGHBANK is not set
# CONFIG_ARCH_HI3xxx is not set
# CONFIG_ARCH_KEYSTONE is not set
# CONFIG_ARCH_MSM_DT 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_AM33XX=y
# CONFIG_SOC_AM43XX is not set
# CONFIG_SOC_DRA7XX is not set
CONFIG_ARCH_OMAP2PLUS=y
#
@@ -344,7 +355,6 @@ CONFIG_ARCH_OMAP2PLUS=y
#
CONFIG_ARCH_OMAP2PLUS_TYPICAL=y
CONFIG_SOC_HAS_OMAP2_SDRC=y
# CONFIG_SOC_DRA7XX is not set
# CONFIG_SOC_OMAP3430 is not set
# CONFIG_SOC_TI81XX is not set
@@ -475,6 +485,7 @@ CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_HAVE_MEMBLOCK=y
CONFIG_NO_BOOTMEM=y
# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set
CONFIG_PAGEFLAGS_EXTENDED=y
CONFIG_SPLIT_PTLOCK_CPUS=4
@@ -490,11 +501,11 @@ CONFIG_NEED_PER_CPU_KM=y
# CONFIG_CLEANCACHE is not set
# CONFIG_CMA is not set
# CONFIG_ZBUD is not set
# CONFIG_ZSMALLOC is not set
CONFIG_FORCE_MAX_ZONEORDER=12
CONFIG_ALIGNMENT_TRAP=y
# CONFIG_UACCESS_WITH_MEMCPY is not set
# CONFIG_SECCOMP is not set
# CONFIG_CC_STACKPROTECTOR is not set
CONFIG_SWIOTLB=y
CONFIG_IOMMU_HELPER=y
# 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_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
CONFIG_GENERIC_CPUFREQ_CPU0=y
#
# ARM CPU frequency scaling drivers
@@ -678,7 +688,8 @@ CONFIG_HAVE_NET_DSA=y
# CONFIG_NETLINK_DIAG is not set
# CONFIG_NET_MPLS_GSO 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_BQL=y
# CONFIG_BPF_JIT is not set
@@ -752,8 +763,8 @@ CONFIG_OF_ADDRESS=y
CONFIG_OF_IRQ=y
CONFIG_OF_NET=y
CONFIG_OF_MDIO=y
# CONFIG_PARPORT is not set
CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
# CONFIG_PARPORT is not set
CONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_NULL_BLK 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_PCA_PLATFORM 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_XILINX is not set
# CONFIG_I2C_RCAR is not set
#
# External I2C/SMBus adapter drivers
#
# CONFIG_I2C_DIOLAN_U2C 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_TINY_USB=m
@@ -1183,6 +1193,8 @@ CONFIG_PINMUX=y
CONFIG_PINCONF=y
CONFIG_GENERIC_PINCONF=y
# CONFIG_DEBUG_PINCTRL is not set
# CONFIG_PINCTRL_CAPRI is not set
# CONFIG_PINCTRL_MSM8X74 is not set
CONFIG_PINCTRL_SINGLE=y
CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y
CONFIG_ARCH_REQUIRE_GPIOLIB=y
@@ -1198,6 +1210,7 @@ CONFIG_GPIO_SYSFS=y
# CONFIG_GPIO_GENERIC_PLATFORM is not set
# CONFIG_GPIO_EM is not set
# CONFIG_GPIO_RCAR is not set
# CONFIG_GPIO_SCH311X is not set
# CONFIG_GPIO_TS5500 is not set
# CONFIG_GPIO_GRGPIO is not set
@@ -1339,6 +1352,7 @@ CONFIG_HWMON=y
# CONFIG_SENSORS_MAX6697 is not set
# CONFIG_SENSORS_MCP3021 is not set
# CONFIG_SENSORS_NCT6775 is not set
# CONFIG_SENSORS_NTC_THERMISTOR is not set
# CONFIG_SENSORS_PC87360 is not set
# CONFIG_SENSORS_PC87427 is not set
# CONFIG_SENSORS_PCF8591 is not set
@@ -1385,6 +1399,7 @@ CONFIG_WATCHDOG_CORE=y
# Watchdog Device Drivers
#
# CONFIG_SOFT_WATCHDOG is not set
# CONFIG_GPIO_WATCHDOG is not set
# CONFIG_DW_WATCHDOG is not set
CONFIG_OMAP_WATCHDOG=y
CONFIG_TWL4030_WATCHDOG=y
@@ -1432,6 +1447,7 @@ CONFIG_MFD_CORE=y
# CONFIG_MFD_88PM800 is not set
# CONFIG_MFD_88PM805 is not set
# CONFIG_MFD_88PM860X is not set
# CONFIG_MFD_MAX14577 is not set
# CONFIG_MFD_MAX77686 is not set
# CONFIG_MFD_MAX77693 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_SYSCON is not set
CONFIG_MFD_TI_AM335X_TSCADC=y
# CONFIG_MFD_LP3943 is not set
# CONFIG_MFD_LP8788 is not set
# CONFIG_MFD_PALMAS is not set
# CONFIG_TPS6105X is not set
@@ -1489,6 +1506,7 @@ CONFIG_REGULATOR=y
CONFIG_REGULATOR_FIXED_VOLTAGE=y
# CONFIG_REGULATOR_VIRTUAL_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_DA9210 is not set
# CONFIG_REGULATOR_FAN53555 is not set
@@ -1517,7 +1535,6 @@ CONFIG_REGULATOR_TWL4030=y
#
# Graphics support
#
# CONFIG_TEGRA_HOST1X is not set
# CONFIG_DRM is not set
# CONFIG_VGASTATE 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_RENESAS_USBHS_HCD 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
#
@@ -1696,7 +1701,20 @@ CONFIG_USB_STORAGE=y
#
# CONFIG_USB_MDC800 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_DWC2 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_MOS7720 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_PL2303 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_CYBERJACK 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_OPTICON 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
#
CONFIG_USB_PHY=y
# CONFIG_USB_OTG_FSM is not set
CONFIG_NOP_USB_XCEIV=y
# CONFIG_OMAP_CONTROL_USB 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_FOTG210_UDC is not set
# CONFIG_USB_GR_UDC is not set
# CONFIG_USB_R8A66597 is not set
CONFIG_USB_RENESAS_USBHS_UDC=y
# CONFIG_USB_PXA27X is not set
# CONFIG_USB_S3C_HSOTG is not set
# CONFIG_USB_MV_UDC is not set
# CONFIG_USB_MV_U3D is not set
CONFIG_USB_M66592=y
@@ -1820,7 +1843,6 @@ CONFIG_USB_M66592=y
# CONFIG_USB_DUMMY_HCD is not set
CONFIG_USB_LIBCOMPOSITE=y
CONFIG_USB_U_ETHER=y
CONFIG_USB_U_RNDIS=y
CONFIG_USB_F_ECM=y
CONFIG_USB_F_SUBSET=y
CONFIG_USB_F_RNDIS=y
@@ -1897,7 +1919,20 @@ CONFIG_LEDS_PWM=y
#
# 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_EDAC is not set
CONFIG_RTC_LIB=y
@@ -1923,10 +1958,12 @@ CONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_DRV_DS1374 is not set
# CONFIG_RTC_DRV_DS1672 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_RS5C372 is not set
# CONFIG_RTC_DRV_ISL1208 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_PCF2127 is not set
# CONFIG_RTC_DRV_PCF8523 is not set
@@ -2027,7 +2064,6 @@ CONFIG_STAGING=y
# CONFIG_RTS5139 is not set
# CONFIG_TRANZPORT is not set
# CONFIG_USB_SERIAL_QUATECH2 is not set
# CONFIG_ZSMALLOC is not set
# CONFIG_USB_ENESTORAGE is not set
# CONFIG_BCM_WIMAX is not set
# CONFIG_FT1000 is not set
@@ -2049,7 +2085,6 @@ CONFIG_STAGING=y
# CONFIG_LTE_GDM724X is not set
# CONFIG_CED1401 is not set
# CONFIG_DGRP is not set
# CONFIG_USB_DWC2 is not set
# CONFIG_LUSTRE_FS is not set
# CONFIG_XILLYBUS is not set
# CONFIG_DGAP is not set
@@ -2060,8 +2095,9 @@ CONFIG_COMMON_CLK=y
#
# Common Clock Framework
#
CONFIG_COMMON_CLK_DEBUG=y
# CONFIG_COMMON_CLK_SI5351 is not set
# CONFIG_COMMON_CLK_SI570 is not set
# CONFIG_COMMON_CLK_QCOM is not set
#
# Hardware Spinlock drivers
@@ -2076,7 +2112,6 @@ CONFIG_OF_IOMMU=y
CONFIG_OMAP_IOMMU=y
CONFIG_OMAP_IOVMM=y
# CONFIG_OMAP_IOMMU_DEBUG is not set
# CONFIG_SHMOBILE_IOMMU is not set
#
# Remoteproc drivers
@@ -2153,7 +2188,6 @@ CONFIG_FANOTIFY=y
# CONFIG_QUOTACTL is not set
# CONFIG_AUTOFS4_FS is not set
# CONFIG_FUSE_FS is not set
CONFIG_GENERIC_ACL=y
#
# Caches
@@ -2287,8 +2321,7 @@ CONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not set
# CONFIG_DEBUG_SECTION_MISMATCH is not set
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
CONFIG_MAGIC_SYSRQ=y
CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1
# CONFIG_MAGIC_SYSRQ is not set
CONFIG_DEBUG_KERNEL=y
#
@@ -2317,6 +2350,7 @@ CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=300
CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
# CONFIG_PANIC_ON_OOPS is not set
CONFIG_PANIC_ON_OOPS_VALUE=0
CONFIG_PANIC_TIMEOUT=0
CONFIG_SCHED_DEBUG=y
CONFIG_SCHEDSTATS=y
CONFIG_TIMER_STATS=y
@@ -2379,9 +2413,12 @@ CONFIG_TRACING_SUPPORT=y
# CONFIG_TEST_STRING_HELPERS is not set
# CONFIG_TEST_KSTRTOX 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_HAVE_ARCH_KGDB=y
# CONFIG_KGDB is not set
# CONFIG_ARM_PTDUMP is not set
# CONFIG_STRICT_DEVMEM is not set
CONFIG_ARM_UNWIND=y
# 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_UNCOMPRESS_INCLUDE="debug/uncompress.h"
# CONFIG_PID_IN_CONTEXTIDR is not set
# CONFIG_DEBUG_SET_MODULE_RONX is not set
#
# Security options

View 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'

View 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'

View 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'

View 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"

View 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'

View 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'

View 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'

View 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'

View 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'

View 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'

View 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'

View 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'

View 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'

View 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'

View 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'

View 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'

View 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'

View 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'

View 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'

View 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'

View 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'

View 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'

View 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'

View 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

View File

@@ -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 \

View File

@@ -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

View File

@@ -1,21 +1,18 @@
diff --git a/boards.cfg b/boards.cfg
index 2128996..0d9abd8 100644
index 1ba2081..08dc221 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -256,6 +256,7 @@ Active arm armv7 am33xx siemens dxr2
Active arm armv7 am33xx siemens pxm2 pxm2 - Roger Meier <r.meier@siemens.com>
Active arm armv7 am33xx siemens rut rut - Roger Meier <r.meier@siemens.com>
Active arm armv7 am33xx ti am335x am335x_boneblack am335x_evm:SERIAL1,CONS_INDEX=1,EMMC_BOOT Tom Rini <trini@ti.com>
+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>
@@ -1218,3 +1218,4 @@ Orphan powerpc ppc4xx - sandburst metrobox
# The following were move to "Orphan" in September, 2013
Orphan arm arm1136 mx31 - imx31_phycore imx31_phycore_eet imx31_phycore:IMX31_PHYCORE_EET (resigned) Guennadi Liakhovetski <g.liakhovetski@gmx.de>
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>
diff --git a/include/configs/am335x_bbb.h b/include/configs/am335x_bbb.h
new file mode 100644
index 0000000..89c5835
index 0000000..9e00817
--- /dev/null
+++ b/include/configs/am335x_bbb.h
@@ -0,0 +1,135 @@
@@ -0,0 +1,138 @@
+/*
+ * am335x_evm.h
+ *
@@ -37,10 +34,13 @@ index 0000000..89c5835
+#include <configs/ti_am335x_common.h>
+
+#ifdef CONFIG_BOOTDELAY
+# undef CONFIG_BOOTDELAY
+# undef CONFIG_BOOTLDELAY
+#endif
+#define CONFIG_BOOTDELAY 0
+#define CONFIG_ZERO_BOOTDELAY_CHECK 1
+#define CONFIG_BOOTDELAY 2
+#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_PLAN9

View 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'

View File

@@ -3,5 +3,4 @@ cfg_storage='data0:ext4:/opt'
cfg_eth_ext_ip='10.0.20.110'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_ptpd_interface='eth0'
cfg_packages='dropbear rsync busybox e2fsprogs ptpd i2c-tools linux/am335x-evm ntp'
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libav'

View File

@@ -0,0 +1,6 @@
cfg_hostname='x8-04'
cfg_storage='data0:ext4:/opt'
cfg_eth_ext_ip='10.0.20.115'
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'

View File

@@ -47,7 +47,10 @@ find "$PKGS" -name '*.bash' | while read file; do
if [ "$fh" != "$m" ]; then
nfo1 "Downloading $f"
echo ""
wget -P "$DST" -4 -c "$u"
wget \
--timeout=30 \
--tries 1 \
-P "$DST" -4 -c "$u"
echo ""
fi
let n++