Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (33 sloc) 858 Bytes
# SPDX-License-Identifier: GPL-2.0
#
# Description:
#
# - set jumper to normal
# - boot sd card image
#
# used variables
#
# - tb.config.linux_user_yoctorootfs
#| yocto rootfs username
#| default: ''
#
# End:
from tbotlib import tbot
logging.info("args: %s %s", tb.workfd.name, tb.config.tc_board_bootmode_tc)
try:
tb.config.tc_board_bootmode_tc
except:
tb.end_tc(False)
tb.define_variable('linux_user_yoctorootfs', '')
tb.config.tc_board_bootmode = 'normal'
tb.eof_call_tc(tb.config.tc_board_bootmode_tc)
tb.config.uboot_prompt = '=> '
time.sleep(2)
tb.eof_call_tc("tc_lab_poweron.py")
tb.set_board_state("u-boot")
tb.config.linux_user = tb.config.linux_user_yoctorootfs
tb.config.ub_boot_linux_cmd = 'run sd_sd'
tb.config.bbb_check_crng_init = 'no'
tb.set_board_state("linux")
tb.eof_call_tc("tc_board_yocto_check_rootfs.py")
tb.end_tc(True)