Forum Discussion

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

cmd : nios2-terminal freez

Hi,

I need some help please to resolve a strange behavior when I add Altera TSE support (EXPERIMENTAL) when I built my zimage

--- Quote Start ---

bash-3.1$ nios2-download -g zImage_IRP_RUN2_9

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

Pausing target processor: OK

Initializing CPU cache (if present)

OK

Downloaded 1375KB in 23.7s (58.0KB/s)

Verified OK

Starting processor at address 0x02500000

--- Quote End ---

when i run nios2-terminal it stops at "Uncompressing Linux... Ok, booting the kernel." and nothing happen after

!!

whereas if I built a default zImage without TSE, everything is ok

please find here my project

thanks for help

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    someone can look at my sopc design and tell me if he sees a wrong things

    Thanks
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi hayder,

    I'm facing with a similar problem using a custom board, the onl difference is that I'm using the Altera TSE (SLS) driver.

    Why did you change the address? Can you give me more details about your solution?

    Thanks in advance

    Marco
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi Marco,

    I changed and locked base addresses of TSE MAC SGDMA and descriptor memory because auto assignment was incorrect

    example TSE is connected to slow bridge :

    slow_peripheral_bridge base addr 0x08000000 (locked)

    TSE_MAC base addr 0x00702800 (locked)

    SGDMA_RX base addr 0x00070200 (locked)

    SGDMA_TX base addr 0x00702400 (locked)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I will try to change these addresses. Did you have any errors/warnings while compiling your SoPC? I have checked my addresses, they seem to be ok, so I'd like to understand where is the mistake

    Thank you,

    Marco