[U-Boot] test/py main_signon

Heiko Schocher
2016-02-16T13:32:40Z

Hello Michal,

Am 16.02.2016 um 13:12 schrieb Michal Simek:
> 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.

Does this board has SPL support without SPL serial output?

If so, can you try my patch:
http://patchwork.ozlabs.org/patch/583348/

Thanks!

bye,
Heiko
>
> 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
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>

--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany