[Armadeus-commitlog] armadeus branch, master, updated. armadeus-4.1-463-gc8726bc
Brought to you by:
sszy
|
From: Julien B a. A. <ar...@us...> - 2012-07-23 12:12:24
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via c8726bc5e49203cbaf07c63eca2ce79fe8a7659e (commit)
via 0302c5137bef96ecae2db8d8863e07a601e5581f (commit)
from 9edf7227df6a58499574ee4f16f3742d0fb8fed5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c8726bc5e49203cbaf07c63eca2ce79fe8a7659e
Author: Julien Boibessot <jul...@ar...>
Date: Mon Jul 23 14:10:55 2012 +0200
[TESTS] Fixes some more release tests for APF28
commit 0302c5137bef96ecae2db8d8863e07a601e5581f
Author: Julien Boibessot <jul...@ar...>
Date: Mon Jul 23 14:09:41 2012 +0200
[DEBUG] Add HW_DIGCTL_CHIP_ID register to imxregs (APF28)
-----------------------------------------------------------------------
Summary of changes:
target/linux/debug/imxregs/imx28regs.h | 2 ++
target/test/packages/test_imxregs.sh | 3 +++
target/test/packages/test_tcpdump.sh | 4 ++--
target/test/test_dac.sh | 13 +++++++++----
target/test/test_rs232.sh | 8 +++++++-
target/test/test_touchscreen.sh | 8 ++++++--
6 files changed, 29 insertions(+), 9 deletions(-)
diff --git a/target/linux/debug/imxregs/imx28regs.h b/target/linux/debug/imxregs/imx28regs.h
index c19d843..251bf43 100644
--- a/target/linux/debug/imxregs/imx28regs.h
+++ b/target/linux/debug/imxregs/imx28regs.h
@@ -27,6 +27,8 @@
static struct reg_info regs[] =
{
+/* DIGCTL */
+{ "HW_DIGCTL_CHIP_ID", 0x8001c310, 0, 0xffffffff, 'x', "Digital Control Chip Revision Register" },
/* Clock */
{ "HW_CLKCTRL_PLL0CTRL0", 0x80040000, 0, 0xffffffff, 'x', "System PLL0, System/USB0 PLL Control Register 0" },
{ "HW_CLKCTRL_PLL0CTRL1", 0x80040010, 0, 0xffffffff, 'x', "System PLL0, System/USB0 PLL Control Register 1" },
diff --git a/target/test/packages/test_imxregs.sh b/target/test/packages/test_imxregs.sh
index 747072f..8a78c58 100755
--- a/target/test/packages/test_imxregs.sh
+++ b/target/test/packages/test_imxregs.sh
@@ -31,6 +31,9 @@ set_ids()
elif [ "$1" == "APF51" ]; then
ID_REG="PREV"
ID_VAL="0x000000f2"
+ elif [ "$1" == "APF28" ]; then
+ ID_REG="HW_DIGCTL_CHIP_ID"
+ ID_VAL="0x28000001"
fi
echo "$APF"
diff --git a/target/test/packages/test_tcpdump.sh b/target/test/packages/test_tcpdump.sh
index bdec17b..57eabaf 100755
--- a/target/test/packages/test_tcpdump.sh
+++ b/target/test/packages/test_tcpdump.sh
@@ -3,7 +3,7 @@
#
# Script to test a Buildroot package for Armadeus Software release
#
-# Copyright (C) 2008 The Armadeus Project
+# Copyright (C) 2008-2012 The Armadeus Project
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -28,7 +28,7 @@ test_tcpdump()
exit_failed
fi
- ask_user "After having press ENTER, tcpdump will be launched. Try to do TCP accesses on your APF from you Host."
+ ask_user "After having press ENTER, tcpdump will be launched. Try to do some network accesses on your APF from you Host (ex: ping it)."
# Launch it
$EXEC_NAME $EXEC_OPTIONS
diff --git a/target/test/test_dac.sh b/target/test/test_dac.sh
index 681a2f8..10e71a3 100755
--- a/target/test/test_dac.sh
+++ b/target/test/test_dac.sh
@@ -14,6 +14,14 @@
source ./test_helpers.sh
#source ./test_env.sh
+check_platform()
+{
+ if [ "$1" == "APF28" ]; then
+ echo "Platform not supported by this test"
+ exit 0
+ fi
+}
+
do_test()
{
if [ "$1" == "APF9328" ] || [ "$1" == "APF27" ]; then
@@ -43,17 +51,14 @@ do_test()
echo 0 > out0_raw
echo 0 > out1_raw
echo_test_ok
- else
- echo "Platform not supported by this test"
fi
}
test_DAC()
{
show_test_banner "DAC"
-
+ execute_for_target check_platform
ask_user "This test is more probant with vumeters. Connect them and press ENTER."
-
execute_for_target do_test
}
diff --git a/target/test/test_rs232.sh b/target/test/test_rs232.sh
index 059cdfe..127fe11 100755
--- a/target/test/test_rs232.sh
+++ b/target/test/test_rs232.sh
@@ -23,6 +23,8 @@ echo_jumper_help()
echo " (Pin 2 & 3 of J21 connector (between RS and J8))"
elif [ "$1" == "APF51" ]; then
echo " (Pin 2 & 3 of RS-232 connector)"
+ elif [ "$1" == "APF28" ]; then
+ echo " (Pin ? & ? of ? connector)"
else
echo "Platform not supported by this test"
fi
@@ -75,8 +77,12 @@ echo_available_ports()
elif [ "$1" == "APF51" ]; then
echo " Available one: [ 0 ]"
SERIAL_DEVICES="/dev/ttymxc"
+ elif [ "$1" == "APF28" ]; then
+ echo " Available one: [ 0 1 2 3 4 ]"
+ SERIAL_DEVICES="/dev/ttySP"
else
- echo "Platform not supported by this test"
+ echo "$1 platform not supported by this test"
+ exit 0
fi
}
diff --git a/target/test/test_touchscreen.sh b/target/test/test_touchscreen.sh
index beb5f83..394a85e 100755
--- a/target/test/test_touchscreen.sh
+++ b/target/test/test_touchscreen.sh
@@ -3,7 +3,7 @@
#
# Script to test Armadeus Software release
#
-# Copyright (C) 2008-2011 The Armadeus Project - ARMadeus Systems
+# Copyright (C) 2008-2012 The Armadeus Project - Armadeus Systems
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -25,8 +25,12 @@ load_driver()
# driver is in-kernel/static
dmesg | grep WM831x
RES="$?"
+ elif [ "$1" == "APF28" ]; then
+ # driver is in-kernel/static
+ dmesg | grep "MXS touch"
+ RES="$?"
else
- echo "Platform not supported by this test"
+ echo "$1 platform not supported by this test"
fi
}
hooks/post-receive
--
armadeus
|