Actually I have already fixed that. The problem was in file 'op_helper.c' in implementation of 'eret' instruction: 'env->regs [15]=env->elr_el [1] & ~0x1;'. '1' need change to 'cur_el'. Also this bug has been fixed in latest qemu.
Thank you! 27 Вер 2016 14:48 "Peter Maydell" <[email protected]> пише: > On 27 September 2016 at 02:59, Максим Скопич <[email protected]> wrote: > > Good day, > > I am using qemu from head of > > https://git.linaro.org/virtualization/qemu-tz.git, armv8tz branch. > > Don't do that, that code is an out of date development branch. > Use QEMU mainline 2.7.0 or better. > > > Unfortunately I haven't snippet for reproducing problem, only binary > image > > with Linux and proprietary SWD OS. > > Then I'm afraid it's not really going to be possible to help > you much further :-( > > thanks > -- PMM >
