Project

General

Profile

TestingInfrastructure » History » Version 13

Denis 'GNUtoo' Carikli, 11/27/2018 01:52 AM

1 1 Denis 'GNUtoo' Carikli
h1. TestingInfrastructure
2
3 5 Denis 'GNUtoo' Carikli
h2. Projects and/or hardware that can be used to do functional testing
4 1 Denis 'GNUtoo' Carikli
5
h3. Lava
6
7 7 Denis 'GNUtoo' Carikli
"Lava":https://www.linaro.org/engineering/projects/lava/ can be used to do functional tests on real hardware. It can be easily installed on PureOS, an FSDG compliant GNU/Linux distribution.
8 4 Denis 'GNUtoo' Carikli
9 5 Denis 'GNUtoo' Carikli
h3. OsmoGSMTester
10 3 Denis 'GNUtoo' Carikli
11 6 Denis 'GNUtoo' Carikli
The "OsmoGSMTester project":https://osmocom.org/projects/osmo-gsm-tester is able to be interfaced with the Android RIL through ofono and can emulate a GSM network with the help of a compatible GSM base station or SDR.
12 3 Denis 'GNUtoo' Carikli
13 5 Denis 'GNUtoo' Carikli
h3. Simtrace2
14 3 Denis 'GNUtoo' Carikli
15 1 Denis 'GNUtoo' Carikli
The "Simtrace 2 project":https://osmocom.org/projects/simtrace2/wiki can be used, along with SIM card readers to programmatically feed a SIM card to a smartphone. This can be used to run test on real networks.
16 7 Denis 'GNUtoo' Carikli
17
h2. Replicant supported devices and testing
18
19
h3. Requirements
20
21 8 Denis 'GNUtoo' Carikli
* Antenna connector for the modem
22 10 Denis 'GNUtoo' Carikli
* The ability to control the device buttons in order to be able to programmatically power on and off the device, and trigger boots into the bootloader and recovery
23 11 Denis 'GNUtoo' Carikli
* Optionally a way to connect to the serial port, programmatically
24 1 Denis 'GNUtoo' Carikli
25 11 Denis 'GNUtoo' Carikli
h3. Galaxy S2 (I9100)
26 7 Denis 'GNUtoo' Carikli
27 9 Denis 'GNUtoo' Carikli
* The Galaxy S2 (I9100) has:
28 1 Denis 'GNUtoo' Carikli
** An antenna connector
29 10 Denis 'GNUtoo' Carikli
** The SOC serial port that is accessible behind the USB connector at a low voltage
30 12 Denis 'GNUtoo' Carikli
** A full size mini-sim (easier to interface with)
31
32 13 Denis 'GNUtoo' Carikli
Holding the smartphone in place:
33
* The smartphone could either be screwed on a metallic surface or an external case could be screwed on a metallic surface enabling the smartphone not to move.
34 1 Denis 'GNUtoo' Carikli
35 13 Denis 'GNUtoo' Carikli
SIM cards:
36
* Simtrace 2 lacks screw holes so a way must be found to make sure that it doesn't move as it uses flex cables to interface with the SIM socket of the smartphone.
37 1 Denis 'GNUtoo' Carikli
38 13 Denis 'GNUtoo' Carikli
Serial port and USB:
39 1 Denis 'GNUtoo' Carikli
40 13 Denis 'GNUtoo' Carikli
Buttons:
41 12 Denis 'GNUtoo' Carikli
42 13 Denis 'GNUtoo' Carikli
Battery:
43
44
Antenna connector and GSM tower or SDR: