Skip to content

samples/drivers/crypto fails on qemu_nios2 #5734

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nashif opened this issue Jan 19, 2018 · 1 comment
Closed

samples/drivers/crypto fails on qemu_nios2 #5734

nashif opened this issue Jan 19, 2018 · 1 comment
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug

Comments

@nashif
Copy link
Member

nashif commented Jan 19, 2018

When CONFIG_DEBUG is enabled this fails with :

***** BOOTING ZEPHYR OS v1.10.99 - BUILD: Jan 19 2018 03:03:45 *****
[general] [INF] main: Cipher Sample
[general] [INF] cbc_mode: CBC Mode
[general] [INF] cbc_mode: CBC mode ENCRYPT - Match
[general] [INF] cbc_mode: CBC mode DECRYPT - Match
qemu: fatal: Trying to execute code outside RAM or ROM at 0x85c07265

IN: PC=85c07265
     zero=00000000        at=00000000        r2=00000000        r3=004005d4
       r4=00000004        r5=00000000        r6=fffffffc        r7=00000000
       r8=00000000        r9=004005d4       r10=7c666b71       r11=00000000
      r12=0000000f       r13=00000000       r14=00000000       r15=00000000
      r16=435ef46f       r17=00000000       r18=00000000       r19=00000000
      r20=00000000       r21=00000000       r22=00000000       r23=00000000
       et=00000000        bt=00000000        gp=00408450        sp=00401960
       fp=00000000        ea=00000000        ba=00000000        ra=85c07265
   status=00000001   estatus=00000000   bstatus=00000000   ienable=00000004
 ipending=00000000     cpuid=00000000  reserved=00000000 exception=00000000
  pteaddr=00000000    tlbacc=00000000   tlbmisc=00000000  reserved=00000000
  badaddr=00000000    config=00000000   mpubase=00000000    mpuacc=00000000
 reserved=00000000  reserved=00000000  reserved=00000000  reserved=00000000
 reserved=00000000  reserved=00000000  reserved=00000000  reserved=00000000
 reserved=00000000  reserved=00000000  reserved=00000000  reserved=00000000
 reserved=00000000  reserved=00000000  reserved=00000000  reserved=00000000
      rpc=85c07265  mmu write: VPN=00000 PID 00 TLBACC 00000000


make[4]: *** [zephyr/CMakeFiles/run.dir/build.make:60: zephyr/CMakeFiles/run] Aborted (core dumped)
make[3]: *** [CMakeFiles/Makefile2:427: zephyr/CMakeFiles/run.dir/all] Error 2
make[2]: *** [CMakeFiles/Makefile2:434: zephyr/CMakeFiles/run.dir/rule] Error 2
make[1]: *** [Makefile:235: run] Error 2
make: *** [/home/nashif/bin/zb:23: run] Error 2
@nashif nashif added bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug labels Jan 19, 2018
@nashif nashif added priority: low Low impact/importance bug and removed priority: medium Medium impact/importance bug labels Feb 20, 2018
@nashif nashif removed the area: NIOS2 NIOS2 Architecture label May 12, 2018
@nashif
Copy link
Member Author

nashif commented Dec 6, 2018

cant reproduce this anymore

@nashif nashif closed this as completed Dec 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug
Projects
None yet
Development

No branches or pull requests

2 participants