hooks: Add configs for manual Jetson TK1 testing on my dev box
I don't have remote control over the buttons on this system, so rely on manual user intervention, hence the ".manual" hook implementations. Signed-off-by: Stephen Warren <swarren@nvidia.com>
This commit is contained in:
committed by
Simon Glass
parent
272fcf02cd
commit
48554cc437
111
test/hooks/py/swarren-lx1/u_boot_boardenv_jetson_tk1_na.py
Normal file
111
test/hooks/py/swarren-lx1/u_boot_boardenv_jetson_tk1_na.py
Normal file
@@ -0,0 +1,111 @@
|
||||
# Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved.
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a
|
||||
# copy of this software and associated documentation files (the "Software"),
|
||||
# to deal in the Software without restriction, including without limitation
|
||||
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
# and/or sell copies of the Software, and to permit persons to whom the
|
||||
# Software is furnished to do so, subject to the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be included in
|
||||
# all copies or substantial portions of the Software.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
# DEALINGS IN THE SOFTWARE.
|
||||
|
||||
env__mount_points = (
|
||||
"/mnt/ubtest-mnt-jetson-tk1-na",
|
||||
)
|
||||
|
||||
env__usb_dev_ports = (
|
||||
{
|
||||
"fixture_id": "micro_b",
|
||||
"tgt_usb_ctlr": "0",
|
||||
"host_ums_dev_node": "/dev/disk/by-path/pci-0000:00:14.0-usb-0:10.3:1.0-scsi-0:0:0:0",
|
||||
"host_usb_dev_node": "/dev/usbdev-jetson-tk1",
|
||||
"host_usb_port_path": "3-10.3",
|
||||
},
|
||||
)
|
||||
|
||||
env__block_devs = (
|
||||
## SD card; present since I plugged one in
|
||||
#{
|
||||
# "fixture_id": "sd",
|
||||
# "type": "mmc",
|
||||
# "id": "1",
|
||||
# "writable_fs_partition": 1,
|
||||
# "writable_fs_subdir": "tmp/",
|
||||
#},
|
||||
# eMMC; always present
|
||||
{
|
||||
"fixture_id": "emmc",
|
||||
"type": "mmc",
|
||||
"id": "0",
|
||||
},
|
||||
)
|
||||
|
||||
env__dfu_configs = (
|
||||
# # SD card, partition 1, ext4 filesystem
|
||||
# {
|
||||
# "fixture_id": "sd_fs",
|
||||
# "alt_info": "/dfu_test.bin ext4 1 1;/dfu_dummy.bin ext4 1 1",
|
||||
# "cmd_params": "mmc 1",
|
||||
# "test_sizes": (
|
||||
# 64 - 1,
|
||||
# 64,
|
||||
# 64 + 1,
|
||||
# 4096 - 1,
|
||||
# ),
|
||||
# },
|
||||
# # SD card, partition 3, partition
|
||||
# {
|
||||
# "fixture_id": "sd_part",
|
||||
# "alt_info": "/dfu_test.bin part 1 3;/dfu_dummy.bin ext4 1 1",
|
||||
# "cmd_params": "mmc 1",
|
||||
# "test_sizes": (
|
||||
# 128 - 1,
|
||||
# 128,
|
||||
# 128 + 1,
|
||||
# 4096,
|
||||
# ),
|
||||
# },
|
||||
# # SD card, partition 3, raw device (location overlays partition 3)
|
||||
# {
|
||||
# "fixture_id": "sd_raw",
|
||||
# "alt_info": "/dfu_test.bin raw 4196352 18432;/dfu_dummy.bin ext4 1 1", # triggers bug
|
||||
## "alt_info": "/dfu_test.bin raw 4196352 18432;/dfu_test.bin raw 4196352 18432", # works OK
|
||||
# "cmd_params": "mmc 1",
|
||||
# "test_sizes": (
|
||||
## 960 - 1,
|
||||
# 960,
|
||||
## 960 + 1,
|
||||
## 4096 + 1,
|
||||
# ),
|
||||
# },
|
||||
# RAM
|
||||
{
|
||||
"fixture_id": "ram",
|
||||
"alt_info": "alt0 ram 80000000 01000000;alt1 ram 81000000 01000000",
|
||||
"cmd_params": "ram na",
|
||||
"test_sizes": (
|
||||
1024 * 1024 - 1,
|
||||
1024 * 1024,
|
||||
8 * 1024 * 1024,
|
||||
),
|
||||
},
|
||||
)
|
||||
|
||||
env__net_uses_pci = True
|
||||
|
||||
env__net_dhcp_server = True
|
||||
|
||||
env__net_tftp_readable_file = {
|
||||
"fn": "ubtest-readable.bin",
|
||||
"size": 5058624,
|
||||
"crc32": "c2244b26",
|
||||
}
|
||||
Reference in New Issue
Block a user