Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

how to download u-boot to the NEEK

Hi any! !

Could you please tell me why U-boot does not work on NEEK?

When I downloaded following file and compile it(nios2-linux-20090929.tar),I got the following error message.

We excuted NIOSⅡ 9.0 Command Shell on Windows with following procedures.

Connecting NEEK and PC via USB cable bundled NEEK.

Step1) u-boot compile.

linux$ cd nios-linux/u-boot

linux$ make clean

linux$ make NEEK_C3_config

linux$ make

Step2) sof-file donwload.

(Using the neek_ocm_spi_mmu.zip "sof-file".)

[NiosII EDS]$ nios2-configure-sof cycloneIII_embedded_evaluation_kit_standard.sof

Step3) u-boot donwload.

[NiosII EDS]$ nios2-download -g u-boot

Step4) Execute.

[NiosII EDS]$ nios2-terminal.exe

The error message is follows.

> [NiosII EDS]$ nios2-download -g u-boot

> Using cable "USB-Blaster [USB-0]", device 1, instance 0x00

> Pausing target processor: not responding.

> Resetting and trying again: OK

> Initializing CPU cache (if present)

> OK

> Downloaded 98KB in 0.5s (196.0KB/s)

> Verified OK

> Starting processor at address 0x01FC0000

> assertion "m_state == STATE_DEBUG" failed: file "nios2debug.cpp", line 538

> 4 [sig] nios2-gdb-server 584 c:\altera\90\nios2eds\bin\nios2-gdb-server.ex

> e: *** fatal error - called with threadlist_ix -1

> /cygdrive/c/altera/90/nios2eds/bin/nios2-download: line 594: 584 Hangup

> nios2-gdb-server --go --tcpport none --write-pid ./nios2-download.pid

> ./u-boot.srec

The combination of following U-boot and the neek_ocm_spi_mmu.zip

"CycloneIII_embedded_evaluation_kit_standard.sof" worked correctly.

(nioswiki.com, Extrem_guide_to_kill_NEEK_with_u-boot)

I tried to fix it refer to above error message, but I couldn't .

Could you please tell me I'm getting this error?

Can you tell me how can I fix it?
No RepliesBe the first to reply