forked from 96boards/documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
D410CLAVA
Tyler Baker edited this page Jun 23, 2015
·
8 revisions
The following items are required:
- Dragonboard 410C - running LK bootloader
- Micro USB Cable - for flashing the board
- UART Adapter - for interacting with the board
- Software Controllable Power Switch - for automatically power cycling the board
- Installed LAVA instance (2015.06+) - for automating software delivery and testing
- Enter Fastboot mode (Section 2.2.4 "Bring the board into fastboot-mode")
- Erase 'boot' partition (fastboot erase boot)
-
Install the image creation tools to the LAVA dispatcher. (As root)
-
Uniquely identify your fastboot serial number for the D410C
- fastboot devices
- 1f980087 fastboot
- Record 1f980087 or similar as you will need it later
-
Create the device configuration
- Create a file /etc/lava-dispatcher/devices/apq8016-sbc01.conf
- fastboot_command is the shell command used to flash the board, use the usb id obtained from above
- connection_command is the shell command used to connect to the UART port
- hard_reset_command is the shell command to turn the board off and then on again
- power_off_cmd is the shell command to turn the board off
device_type = apq8016-sbc
fastboot_driver = apq8016-sbc
adb_command = adb -s 1f98008
fastboot_command = fastboot -s 1f980087
connection_command = telnet serial-server 2002
hard_reset_command = /bin/pdu.sh OFF 4; sleep 10; /bin/pdu.sh ON 4
power_off_cmd = /bin/pdu.sh OFF 4
mkbootimg_binary = /opt/qcom/skales/mkbootimg
dtbtool_binary = /opt/qcom/skales/dtbTool
- Now you can add this device to the LAVA scheduler as documented here
- Ubuntu LAVA Job
{
"actions": [
{
"command": "deploy_linaro_android_image",
"parameters": {
"images": [
{
"partition": "boot",
"url": "http://builds.96boards.org/releases/dragonboard410c/linaro/ubuntu/15.06/boot-linaro-vivid-qcom-snapdragon-arm64-20150618-47.img.gz"
},
{
"partition": "rootfs",
"url": "http://builds.96boards.org/releases/dragonboard410c/linaro/ubuntu/15.06/linaro-vivid-developer-qcom-snapdragon-arm64-20150618-47.img.gz"
}
],
"target_type": "ubuntu"
}
},
{
"command": "boot_linaro_image"
}
],
"device_type": "apq8016-sbc",
"job_name": "apq8016-sbc-ubuntu-boot-test",
"logging_level": "DEBUG",
"timeout": 18000
}
- Android LAVA Job
{
"actions": [
{
"command": "deploy_linaro_android_image",
"parameters": {
"images": [
{
"partition": "boot",
"url": "http://builds.96boards.org/releases/dragonboard410c/qualcomm/android/15.06/boot.img.tar.xz"
},
{
"partition": "system",
"url": "http://builds.96boards.org/releases/dragonboard410c/qualcomm/android/15.06/system.img.tar.xz"
},
{
"partition": "cache",
"url": "http://builds.96boards.org/releases/dragonboard410c/qualcomm/android/15.06/cache.img.tar.xz"
},
{
"partition": "userdata",
"url": "http://builds.96boards.org/releases/dragonboard410c/qualcomm/android/15.06/userdata.img.tar.xz"
}
]
}
},
{
"command": "boot_linaro_android_image",
"parameters": {
"test_image_prompt": "shell@????"
}
}
],
"device_type": "apq8016-sbc",
"job_name": "apq8016-sbc-android-boot-test",
"logging_level": "DEBUG",
"timeout": 18000
}
- Ramdisk LAVA Job
{
"actions": [
{
"command": "deploy_linaro_kernel",
"parameters": {
"dtb": "http://builds.96boards.org/releases/dragonboard410c/linaro/ubuntu/15.06/apq8016-sbc.dtb",
"kernel": "http://builds.96boards.org/releases/dragonboard410c/linaro/ubuntu/15.06/Image",
"ramdisk": "http://storage.kernelci.org/images/rootfs/buildroot/arm64/rootfs.cpio.gz"
}
},
{
"command": "boot_linaro_image"
}
],
"device_type": "apq8016-sbc",
"job_name": "apq8016-sbc-kernel-boot-test",
"logging_level": "DEBUG",
"timeout": 18000
}