[U-Boot] STM32F7 Discovery hangs on master

Vikas MANOCHA vikas.manocha at st.com
Sat Oct 8 01:17:45 CEST 2016


Hi Nicolae,

> -----Original Message-----
> From: Nicolae Rosia [mailto:nicolae.rosia.oss at gmail.com]
> Sent: Tuesday, October 04, 2016 11:18 AM
> To: u-boot at lists.denx.de
> Cc: Vikas MANOCHA <vikas.manocha at st.com>; Toshifumi NISHINAGA
> <tnishinaga.dev at gmail.com>; Ștefan Golinschi
> <stefan.golinschi at gmail.com>; Ciprian Vasile <dc_vasile at hotmail.com>
> Subject: STM32F7 Discovery hangs on master
> 
> 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.

I just checked the current master as well as v2016.11-rc1, no issue with anyone.
Heres the log:
U-Boot 2016.11-rc1 (Oct 07 2016 - 15:52:28 -0700)

DRAM:  8 MiB
WARNING: Caches not enabled
Flash: 1 MiB
Using default environment

In:    serial_stm32x7
Out:   serial_stm32x7
Err:   serial_stm32x7
Net:   Net Initialization Skipped
No ethernet found.
Hit SPACE in 3 seconds to stop autoboot.
U-Boot > md 0 4
00000000: aae7cd68 8382aa61 3629d4c8 23b65738    h...a.....)68W.#
U-Boot >

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

uart config is 115200 8N1 (no parity, one stop bit), toolchain: GNU ARM Embedded Toolchain can be used.
If I remember it well, the link is https://launchpad.net/gcc-arm-embedded.

Cheers,
Vikas

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