From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI
Date: Thu, 23 Jun 2016 15:07:09 +0200 [thread overview]
Message-ID: <576BDEFD.6050204@denx.de> (raw)
In-Reply-To: <AM4PR0401MB23694E1CE41FAF8AD9C27300C42C0@AM4PR0401MB2369.eurprd04.prod.outlook.com>
On 06/22/2016 06:37 PM, Christian Didriksson wrote:
> Hi Marek,
Hi!
> [..]
>
> I skipped booting from QSPI and started all over with a vanilla 2016.05 and built the u-boot-with-spl.sfp. Put it on an SD-card and booted:
>
> U-Boot SPL 2016.05-gbb88b7b-dirty (Jun 22 2016 - 14:53:14)
> drivers/ddr/altera/sequencer.c: Preparing to start memory calibration
> drivers/ddr/altera/sequencer.c: CALIBRATION PASSED
> drivers/ddr/altera/sequencer.c: Calibration complete
> Trying to boot from MMC1
>
> This printout is repeated forever.
>
> I then connected DS5 via the USB-Blaster cable and single stepped through the SPL and after a while, down in mmc_init, I loose connection to the target and when I interrupt it the PC is here:
mmc_init causes data abort ? That is _weird_ .
> #ifdef CONFIG_SPL_BUILD
>
> .align 5
> undefined_instruction:
> software_interrupt:
> prefetch_abort:
> data_abort:
> not_used:
> irq:
> fiq:
>
> 1:
> bl 1b /* hang and never return */
>
> #else /* !CONFIG_SPL_BUILD */
>
> I will send you my binary for test on your Rev c board if you can find the time.
>
> I also tested the binary you sent me last week and it behaves identically regarding the printouts and reboot.
Works on my rev C1:
U-Boot SPL 2016.05-gbb88b7b-dirty (Jun 22 2016 - 14:53:14)
drivers/ddr/altera/sequencer.c: Preparing to start memory calibration
drivers/ddr/altera/sequencer.c: CALIBRATION PASSED
drivers/ddr/altera/sequencer.c: Calibration complete
Trying to boot from MMC1
U-Boot 2016.05-gbb88b7b-dirty (Jun 22 2016 - 14:53:14 +0200)
CPU: Altera SoCFPGA Platform
FPGA: Altera Cyclone V, SE/A6 or SX/C6 or ST/D6, version 0x0
BOOT: SD/MMC External Transceiver (1.8V)
Watchdog enabled
I2C: ready
DRAM: 1 GiB
MMC: dwmmc0 at ff704000: 0
In: serial
Out: serial
Err: serial
Model: Altera SOCFPGA Cyclone V SoC Development Kit
Net: eth0: ethernet at ff702000
Hit any key to stop autoboot: 0
=>
=>
=>
=> ver
U-Boot 2016.05-gbb88b7b-dirty (Jun 22 2016 - 14:53:14 +0200)
arm-cortexa9_neon-linux-uclibcgnueabihf-gcc (crosstool-NG
crosstool-ng-1.22.0-129-ga41b269) 5.3.0
GNU ld (crosstool-NG crosstool-ng-1.22.0-129-ga41b269) 2.26.20160125
--
Best regards,
Marek Vasut
next prev parent reply other threads:[~2016-06-23 13:07 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-21 15:30 [U-Boot] socfpga 2016.05, CV socdk Rev E1, SPL and u-boot fail when booting from QSPI Christian Didriksson
2016-06-21 17:07 ` Marek Vasut
2016-06-21 19:22 ` Christian Didriksson
2016-06-22 16:37 ` Christian Didriksson
2016-06-23 13:07 ` Marek Vasut [this message]
2016-06-23 15:58 ` Sylvain Lesne
2016-06-23 16:14 ` Marek Vasut
2016-06-23 16:31 ` Sylvain Lesne
2016-06-23 18:42 ` Marek Vasut
2016-06-27 9:10 ` Christian Didriksson
2016-06-27 9:38 ` Sylvain Lesne
2016-06-27 10:43 ` Christian Didriksson
-- strict thread matches above, loose matches on Subject: below --
2016-06-09 18:15 Christian Didriksson
2016-06-15 10:06 ` Christian Didriksson
2016-06-15 22:36 ` Marek Vasut
2016-06-16 10:13 ` Christian Didriksson
2016-06-16 13:32 ` Marek Vasut
2016-06-17 14:39 ` Christian Didriksson
2016-06-17 14:48 ` Marek Vasut
2016-06-20 13:22 ` Christian Didriksson
2016-06-20 13:43 ` Marek Vasut
2016-06-20 16:04 ` Christian Didriksson
2016-06-20 20:22 ` Marek Vasut
2016-06-21 7:32 ` Christian Didriksson
2016-06-29 7:03 ` Pavel Machek
2016-06-17 16:45 ` Dinh Nguyen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=576BDEFD.6050204@denx.de \
--to=marex@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox