u-boot 2022-07 on STM32F746G-DISCO

Patrice CHOTARD patrice.chotard at foss.st.com
Mon Sep 19 16:43:46 CEST 2022


Waldemar,

You can applied the following series on current U-Boot master 
branch (a0759684e015bd7252be3af508c0fcfdbb8ec5dc):

https://patchwork.ozlabs.org/project/uboot/list/?series=318991

Thanks
Patrice



On 9/19/22 16:36, Patrice CHOTARD wrote:
> Hi Waldemar
> 
> On 9/19/22 13:48, Waldemar Brodkorb wrote:
>> Hi again,
>>
>> Waldemar Brodkorb wrote,
>>
>>> Hi,
>>>
>>> I am trying to run u-boot on a STM32F746G-DISCO device.
>>> I am configuring u-boot with stm32f746-disco_spl_defconfig.
>>>
>>> But nothing happens on the LCD nor on the serial console.
>>> I use screen /dev/ttyACM0 115200 under Linux to connect.
>>
>> It seems my USB port on my laptop was buggy, after reboot I get
>> following output via serial console:
>>
>> U-Boot SPL 2022.07 (Sep 19 2022 - 13:20:08 +0200)
>> Trying to boot from XIP
>>
>>
>> U-Boot 2022.07 (Sep 19 2022 - 13:20:08 +0200)
>>
>> Model: STMicroelectronics STM32F746-DISCO board
>> DRAM:  8 MiB
>> Hard fault
>> pc : 080087d6    lr : c05aa775    xPSR : a1000000
>> r12 : 00000010   r3 : 080087c1    r2 : 0805344d
>> r1 : 08008001    r0 : c05aa000
>> Resetting CPU ...
>>
>> resetting ...
>>
>> I get a Hard fault. I then tried an older version of u-boot using
>> the information from https://github.com/fdu/STM32F746G-disco_Buildroot
>> as a hint. With U-Boot 2018.11 I get a working binary (I had to
>> disable Falcon mode):
>>
>> U-Boot SPL 2018.11 (Sep 19 2022 - 13:41:50 +0200)
>> Trying to boot from XIP
>>
>>
>> U-Boot 2018.11 (Sep 19 2022 - 13:41:50 +0200)
>>
>> Model: STMicroelectronics STM32F746-DISCO board
>> DRAM:  8 MiB
>> Flash: 1 MiB
>> MMC:   sdio at 40012c00: 0
>> In:    serial
>> Out:   serial
>> Err:   serial
>> usr button is at LOW LEVEL
>> Net:   
>> Warning: ethernet at 40028000 (eth0) using random MAC address -
>> fe:f8:94:5f:5e:26
>> eth0: ethernet at 40028000
>> Hit SPACE in 3 seconds to stop autoboot.
>> Wrong Image Format for bootm command
>> ERROR: can't get kernel image!
>> U-Boot > 
>>
>> Seems like a regression to me.
>>
>> best regards
>>  Waldemar
> 
> There are several issues with SPL with STM32F7 based boards. 
> I am currently working on it.
> A series will be submitted very soon 
> 
> Patrice


More information about the U-Boot mailing list