MyFPGA Forum

标题: Ubunt 启动失败 [打印本页]

作者: malinma    时间: 2014-7-4 09:08
标题: Ubunt 启动失败

用Win32DiskImager 分别将Linux,Ubunt写入SD卡启动,均给出以下错误,并停止在Starting kernel ... 有没有人遇到这个问题,怎么解决。



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
作者: BOB_Sun    时间: 2014-7-4 14:19
应该是boot模式没有配置对, 从SD卡boot的话,Cyclone V SoC Development Kit and SoC Embedded Design Suite开发板的J28,J29,J30配置可以参考网页:http://www.rocketboards.org/fosw ... d#Configuring_Board
作者: malinma    时间: 2014-7-4 18:51
BOB_Sun 发表于 2014-7-4 14:19
应该是boot模式没有配置对, 从SD卡boot的话,Cyclone V SoC Development Kit and SoC Embedded Design Sui ...

我的板子是DE1-SOC,没这些跳线,SD数据的写入和拔码开关的设置 我都是按说明书来操作的,必竞Uboot都工作起来了,只是不能装载内核。
作者: BOB_Sun    时间: 2014-7-7 11:53
哈,不好意思弄错了你的板子型号。 针对DE1_SOC板子, 你有设置MSE[4:0]=00000吗?
作者: malinma    时间: 2014-7-7 13:00
BOB_Sun 发表于 2014-7-7 11:53
哈,不好意思弄错了你的板子型号。 针对DE1_SOC板子, 你有设置MSE[4:0]=00000吗? ...

设置了的,必竞 Uboot 已经启动了。我写入SD卡的image都是从terasic网上下载的现成文件。




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 ...

作者: matthew_wang    时间: 2014-7-8 16:56
malinma 发表于 2014-7-7 13:00
设置了的,必竞 Uboot 已经启动了。我写入SD卡的image都是从terasic网上下载的现成文件。

Hi
从boot message 看起来还是由于HPS config FPGA 失败导致了linux boot 卡住.
可以按照 getting started 中的描述架一下 Linux LXDE Desktop 系统试试!
看看HPS能否config FPGA ! 这里卡住一般都是 MSEL设置出了问题,多确认下
作者: rushxx    时间: 2014-8-5 17:26
朋友,这个解决的怎么样了啊?




欢迎光临 MyFPGA Forum (http://www.myfpga.org/discuz/) Powered by Discuz! X3