[U-Boot] STM32F7 Discovery hangs on master
Nicolae Rosia
nicolae.rosia.oss at gmail.com
Tue Oct 4 20:17:38 CEST 2016
Hello,
I just tested v2016.11-rc1 on STM32F7 Discovery and it hangs:
(gdb) c
Continuing.
^C
Program received signal SIGTRAP, Trace/breakpoint trap.
0x08000d56 in dram_init () at board/st/stm32f746-disco/stm32f746-disco.c:211
211 FMC_BUSY_WAIT();
(gdb) bt
#0 0x08000d56 in dram_init () at board/st/stm32f746-disco/stm32f746-disco.c:211
#1 0x0800d75a in initcall_run_list
(init_sequence=init_sequence at entry=0x801b434 <init_sequence_f>) at
lib/initcall.c:31
#2 0x0800614e in board_init_f (boot_flags=<optimized out>) at
common/board_f.c:1081
#3 0x0800046a in _main () at arch/arm/lib/crt0.S:93
#4 0x0800046a in _main () at arch/arm/lib/crt0.S:93
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
It prints this:
U-Boot 2016.11-rc1 (Oct 04 2016 - 19:53:31 +0300)
DRAM: 8 MiB
or this:
U-Boot 2016.11-rc1 (Oct 04 2016 - 19:53:31 +0300)
DRAM:
Reverting 25c1b1353ce4b8188de6058f9f3b0d5d2dad8230 (not desirable)
makes it working again but I can't seem to write anything to the
console.
Offtopic: How are you developing for this board?
I'm using gcc 5_4-2016q3 from [0], st-util [1] which exports a
/dev/ttyACM0 UART port I'm using at 115200n8 and gdb connected to
st-util gdbserver.
Best regards,
Nicolae Rosia
[0] https://github.com/texane/stlink
[1] https://launchpad.net/gcc-arm-embedded
More information about the U-Boot
mailing list