Skip to contentSkip to conversation

socfpga: immediate hang when accessing memory at 0x10000

U-Boot Pavel Machek 1 participant 1 message Aug 26, 2014

lore
Share & tools
lore
#0 lore raw

Hi!

I got networking and MMC card to work on recent u-boot, but now I'm hitting DRAM region where any access just hangs the system.

Any idea what could be there / why is it hanging?

I tried reset_assert_all_bridges(), but no change.

Memory from md 100000 works ok, again, so it seems the only problematic window is 10000 to 100000.

Best regards,
Pavel

U-Boot SPL 2013.01.01 (Apr 15 2014 - 09:18:35)
BOARD : <similar to sockit>
SDRAM: Initializing MMR registers
SDRAM: Calibrating PHY
SEQ.C: Preparing to start memory calibration
SEQ.C: CALIBRATION PASSED
SDRAM : Running simple memory test...passed
ALTERA DWMMC: 0

U-Boot 2014.07-01237-g3f7a123-dirty (Aug 26 2014 - 13:01:22)

CPU : Altera SOCFPGA Platform
BOARD : Altera SOCFPGA Cyclone5 Board
DRAM: set ram size
set ram size done
512 MiB
WARNING: Caches not enabled
derive_clocks_for_drivers...
derive_clocks_for_drivers... done
MMC: SOCFPGA DWMMC: 0
Using default environment

In:    serial
Out:   serial
Err:   serial

Turning off all the bridges
Net: phy_micrel_init
reset disable, init
ksz9021: configuring
Configuring PHY skew timing for Micrel ksz9021
ksz9021: skew ok
dwmac.ff702000
Hit any key to stop autoboot: 0
SOCFPGA_CYCLONE5 # md 0fff0
0000fff0: 6fffcf9c 82b67ce0 7380ebf3 546e06de ...o.|.....s..nT
00010000:

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html