OpenCores
no use no use 1/1 no use no use
Issue with running precompiled vmlinux for de0nano
by pgali on Aug 17, 2018
pgali
Posts: 6
Joined: Apr 11, 2018
Last seen: Apr 9, 2019
Hello

I am new to Openrisc.

I am trying to load mor1k in to de0_nano and boot that with the precompiled vmlinux-de0_nano.I am using openocd to load it using telnet connection.

When I try using the below command

halt; load_image /path-to/vmlinux-de0_nano; reset

CRC ERROR! match bit after write is 0 (computed CRC 0x2b7d8fa9)
CRC ERROR! match bit after write is 0 (computed CRC 0x2b7d8fa9)
CRC ERROR! match bit after write is 0 (computed CRC 0x2b7d8fa9)

What could probably go wrong?
Any help is appreciated.

Regards
Prudhvi
RE: Issue with running precompiled vmlinux for de0nano
by julius on Aug 18, 2018
julius
Posts: 363
Joined: Jul 1, 2008
Last seen: Mar 30, 2019
Hi there,

Which instructions are you following? Can you share the link?
RE: Issue with running precompiled vmlinux for de0nano
by pgali on Aug 19, 2018
pgali
Posts: 6
Joined: Apr 11, 2018
Last seen: Apr 9, 2019
Hi

Thanks for the reply.

1. first I downloaded fuseSoc from github
2. Then build for de0 Nano
$ fusesoc build de0_nano
3. Then loaded .sof generated using quartus_pgm
$ quartus_pgm --mode=jtag -o p\;de0_nano_0.sof
4. Then downloaded openocd
$ ./bootstrap
$ ./configure --enable-ftdi --enable-usb_blaster_libftdi --enable-maintainer-mode
$ make
$ make install
5. $sudo ./src/openocd -s ./tcl -f ./tcl/interface/altera-usb-blaster.cfg -f
./tcl/board/or1k_generic.cfg

6. In another terminal
$ telnet localhost 4444

OpenOCD started
> halt; load_image /pathto/vmlinux-de0_nano; reset

CRC ERROR! match bit after write is 0 (computed CRC 0x2b7d8fa9)
CRC ERROR! match bit after write is 0 (computed CRC 0x2b7d8fa9)
CRC ERROR! match bit after write is 0 (computed CRC 0x2b7d8fa9)

>

The above statements are the result.

I followed this tutorial

https://medium.com/@rz2285/running-orpsoc-on-de0-nano-3aaf43826ecb

Please let me know if anything wrong in the steps.

OR please direct me how to load it.

Thanks in advance.

Regards
Prudhvi



RE: Issue with running precompiled vmlinux for de0nano
by pgali on Sep 5, 2018
pgali
Posts: 6
Joined: Apr 11, 2018
Last seen: Apr 9, 2019
Any suggestions ?? I am still struggling with the issue. Not able to proceed.

Thanks in advance

Regards
Prudhvi Gali
no use no use 1/1 no use no use
© copyright 1999-2019 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.