Forum Discussion

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

ubuntu boot fail on DE1-SOC

I got wrong message during boot ubuntu. and then stop on starting kernel...

U-Boot SPL 2013.01.01 (Nov 04 2013 - 19:51:38)

BOARD : Altera SOCFPGA Cyclone V Board

SDRAM: Initializing MMR registers

SDRAM: Calibrating PHY

SEQ.C: Preparing to start memory calibration

SEQ.C: CALIBRATION PASSED

ALTERA DWMMC: 0

U-Boot 2013.01.01 (Dec 29 2013 - 17:29:53)

CPU : Altera SOCFPGA Platform

BOARD : Altera SOCFPGA Cyclone V Board

DRAM: 1 GiB

MMC: ALTERA DWMMC: 0

In: serial

Out: serial

Err: serial

Net: mii0

Hit any key to stop autoboot: 5 4 3 2 1 0

reading uImage

3948904 bytes read in 1328 ms (2.8 MiB/s)

reading socfpga.dtb

17170 bytes read in 12 ms (1.4 MiB/s)

reading soc_system.rbf

7007184 bytes read in 2354 ms (2.8 MiB/s)

altera_load: Failed with error code -4

fpgaintf

ffd08028: 00000000 ....

fpga2sdram

ffc25080: 00000000 ....

axibridge

ffd0501c: 00000000 ....# # Booting kernel from Legacy Image at 00007fc0 ...

Image Name: Linux-3.12.0-00307-g507abb4-dirt

Image Type: ARM Linux Kernel Image (uncompressed)

Data Size: 3948840 Bytes = 3.8 MiB

Load Address: 00008000

Entry Point: 00008000# # Flattened Device Tree blob at 00000100

Booting using the fdt blob at 0x00000100

XIP Kernel Image ... OK

OK

Loading Device Tree to 03ff8000, end 03fff311 ... OK

Starting kernel ...

2 Replies

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

    Did you resolve this issue. I see the same issue on this board. Based on some other threads i have tried to use dd command to copy the image myself, but the /dev/fpga0 partition is not loaded.

    Regards,

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

    Check the MSEL switch at the botton of the board.

    If you are booting the LXDE linux flavor, you will need to ground all MSEM pins.

    If you need the /dev/fpga0 to be present, you can actually boot LXDE with the other uImage, the one used in Yocto's flavor.

    This workaround is presented by ep1015 in this thread: http://www.alteraforum.com/forum/showthread.php?t=47258

    That is what I need right now as I'm trying to run OpenCL on LXDE, but I could not manage xserver to work on it yet :(

    regards