2019-09-26 10:43 PM
Hi,
I'm trying to learn world of embedded linux by trial and error, so I got myself STM32MP157c-dk2.
I have followed the instructions from here: https://wiki.st.com/stm32mpu/wiki/STM32MP1_Developer_Package
and here: https://www.digikey.com/eewiki/display/linuxonarm/STM32MP1
First tried to use only the digikey instructions, but the USB-ports are not working with that one, other than that the board was functioning.
So I compiled kernel and u-boot as told in wiki.st, prepared sd-card and moved everything on the card.
I tried my board with Debian: https://rcn-ee.com/rootfs/eewiki/minfs/debian-10.1-minimal-armhf-2019-09-16.tar.xz
and Ubuntu: https://rcn-ee.com/rootfs/eewiki/minfs/ubuntu-18.04.3-minimal-armhf-2019-09-16.tar.xz
Board boots up and OS starts, but afrer about 30 seconds it reboots again.
Here is the print from booting the board: https://pastebin.com/Z4pAKr5N
Any ideas what I'm doing wrong here?
Thanks.
2019-09-26 11:13 PM
Look like a watchdog reset occurs (your log mention it is enabled and it is set at 32sec by default).
2019-09-27 03:39 AM
Thanks, found the 32sec from u-boot.cfg files. How do I get that value changed? Always gets back to the default 32 after compilation.
2019-09-27 07:12 AM
Hi @Valtteri Kenkkilä
This need to be configured in Device Tree
Please refer to :
https://wiki.st.com/stm32mpu/wiki/IWDG_device_tree_configuration
Hope it help
Olivier