- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mr Kazu:
Hi. I'm sorry that issue of nios2-download command is not clear. The methord of making​ nios2-download command run well is to use the 1 core instead of 4 cores. The proj 'DE2_115_NIOS_HOST_MOUSE_VGA' was modeled on 'NiosII_Quad_Core' with the same components & their addresses. so the nios2-download command works fine. When the linux kernel Image was downloaded, I program the NiosII_Quad_Core.sof to the DE2-115 board.4 cores with mmu +adaptor could read the kernel from the flash and work well. I forget that I have changed the reset vector of the boot cpu in the proj 'NiosII_Quad_Core' to boot cpu from the flash instead of memory_monitor according to your web site. Is it right? So the core dumped contents are the same for both 'nios2-terminal < linux.initramfs.srec' and 'nios2-download -g zImage'. Could you give some clue ?Thank you. │ │ NiosII FPGA configuration (CUSTOM_FPGA) ---> │ │
│ │
HW mul support │ │
│ │
HW mulx support │ │
│ │
HW div support │ │
│ │ (0x10000000) Offset address for uImage.flash │ │
│ │
Passed kernel command line from u-boot │ │
│ │ (0x00500000) Link address offset for booting │ │
│ │ GPIO interface │ │
│ │ < > Enable NiosII PIO driver │ │
│ │
Symmetric multi-processing support │ │
│ │ (4) Maximum number of CPUs (2-32) │ │
│ │
Use Multicore Adapter for SMP support
r1: c026ec90 r2: c0354000 r3: c0354000 r4: c0354000
r5: 00000001 r6: 00000000 r7: 00000000 r8: 00000000
r9: 00000008 r10: 00000171 r11: c035aacc r12: c0356a3c
r13: c0356a40 r14: ffffffe4 r15: c020d81c
ra: c026f520 fp: deadbeef sp: c025ef9c gp: deadbeef
ea: c026f614 estatus: 00000000
Unaligned access from kernel mode, this might be a hardware
problem, dump registers and restart the instruction
BADADDR 0xdeadbf0f
cause 7
op-code 0xb800283a
kindly regards
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
--- Quote Start ---r1: c026ec90 r2: c0354000 r3: c0354000 r4: c0354000
r5: 00000001 r6: 00000000 r7: 00000000 r8: 00000000
r9: 00000008 r10: 00000171 r11: c035aacc r12: c0356a3c
r13: c0356a40 r14: ffffffe4 r15: c020d81c
ra: c026f520 fp: deadbeef sp: c025ef9c gp: deadbeef
ea: c026f614 estatus: 00000000
Unaligned access from kernel mode, this might be a hardware
problem, dump registers and restart the instruction
BADADDR 0xdeadbf0f
cause 7
op-code 0xb800283a
--- Quote End --- Please get the objdump file from your 'vmlinux' and check the instruction that is located at '0xc026f614'. The opcode is really '0xb800283a' (0x**00283a means the 'ret' instruction, but 'b8' means that it refers r23 not ra) ? The exception code '7' means that the Nios2 CPU will jump to misaligned target '0xdeadbf0f'. Kazu
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page