DE0-Nano-soc/Atlas kit default image.img U-boot loops

Hi there,

Hope someone could help me, i’m trying to run the default image on my board(DE0-Nano-soc/Atlas kit), but, when i attempt to do so in terminal i only get a constantly “U-Boot�” string as if U-boot got stuck.

I’m using “minicom” and the following is my setup:

Serial Device : /dev/ttyUSB0

Callin Program :
Callout Program :
Bps/Par/Bits : 115200 8N1
Hardware Flow Control : No
Software Flow Control : No

The image i’m using is the Linux console from here

Looking the contents of the sd card with fdisk i noticed that MBR section has non bootsrap code but i’m not sure if this is the problem because i guess i would had a different message in terminal.

First sector: offset = 0, size = 512 bytes.
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
000001b0 00 00 00 00 00 00 00 00 ba 23 8e d6 00 00 00 12
000001c0 0f 84 0b 80 2c ec 00 60 20 00 98 99 19 00 00 e3
000001d0 24 00 83 6e 2b 83 00 38 00 00 00 00 20 00 00 20
000001e0 21 00 a2 41 01 00 00 08 00 00 00 08 00 00 00 00
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa

In order to burn the image i used the following command:

sudo dd if=DE0_Nano_SoC_Linux_Console.img of=/dev/sdd conv=noerror,sync

Are you using a virtual machine or a computer running linux?
Recently I’ve been running into issues when using virtual machines and had to boot into linux to have my de10 nano to boot correctly.

Thanks for reply,

Yeah, i’m using Linux as a host machine, although i don’t get how this could be the problem if i’m not booting from NFS or something that requires other machine(interface) in order to boot, do you think “minicom” could be the problem?

BR,

In my case it was weird, for some reason I could use DD once and it would work, after that it would just corrupt the sdcard, once I changed to a linux machine the issue disapeared.

I don’t think the issue is related to the minicom software. I’ll try to boot my DE0 Nano Soc with the original image and check if it works for me.

Have you tryed to build u-boot from scratch and see if it works ?

Yeah i was building my own images with Yocto but i couldn’t see any difference, about the original images it seems that there are 2 types…

  1. DE0-Nano-SoC - Designed for the hardware developer.
  2. Atlas-SoC: Designed for the embedded software developer. It boots Linux…

I will buy a new board soon(the last one was not mine) and try again both images…