[U-Boot] test/py main_signon
Michal Simek
michal.simek at xilinx.com
Tue Feb 16 13:12:14 CET 2016
Hi Stephen,
trying to run the latest testing on zynq board and getting this
main_signon error.
This is what I am running
./test/py/test.py --bd zynq_zc702 --build --board-identity zc702
and getting below.
Thanks,
Michal
U-Boot 2016.03-rc2 (Feb 16 2016 - 13:10:03 +0100)
Model: Zynq ZC702 Development Board
Board: Xilinx Zynq
I2C: ready
DRAM: ECC disabled 1 GiB
Bad pattern found on console: main_signon
FAILED:
request = <SubRequest 'u_boot_console' for <Function 'test_version'>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:311:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at
0x7f2b33dee8d0>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting
target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
if self.config.buildconfig.get('config_spl', False) == 'y':
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on console: ' +
> self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on
console: main_signon
test/py/u_boot_console_base.py:310: Exception
More information about the U-Boot
mailing list