All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrice CHOTARD <patrice.chotard@foss.st.com>
To: <u-boot@lists.denx.de>
Subject: Re: u-boot 2022-07 on STM32F746G-DISCO
Date: Mon, 19 Sep 2022 16:33:15 +0200	[thread overview]
Message-ID: <8d2aad11-e253-b05b-c385-7ec371cbbb9e@foss.st.com> (raw)
In-Reply-To: <YyhXFT7/1+JpEyFQ@waldemar-brodkorb.de>

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@40012c00: 0
> In:    serial
> Out:   serial
> Err:   serial
> usr button is at LOW LEVEL
> Net:   
> Warning: ethernet@40028000 (eth0) using random MAC address -
> fe:f8:94:5f:5e:26
> eth0: ethernet@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

  reply	other threads:[~2022-09-19 14:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-19 10:19 u-boot 2022-07 on STM32F746G-DISCO Waldemar Brodkorb
2022-09-19 11:48 ` Waldemar Brodkorb
2022-09-19 14:33   ` Patrice CHOTARD [this message]
2022-09-19 14:35   ` Patrice CHOTARD
2022-09-19 14:36   ` Patrice CHOTARD
2022-09-19 14:43     ` Patrice CHOTARD
2022-09-19 21:03       ` Waldemar Brodkorb
2022-09-20  8:47         ` Patrice CHOTARD
2022-09-20 10:53           ` Waldemar Brodkorb
2022-09-20 12:44             ` Patrice CHOTARD
2022-09-19 21:09   ` Simon Glass
2022-09-19 23:12     ` Waldemar Brodkorb
2022-09-20  9:03       ` Patrice CHOTARD
2022-09-20 11:02         ` Waldemar Brodkorb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8d2aad11-e253-b05b-c385-7ec371cbbb9e@foss.st.com \
    --to=patrice.chotard@foss.st.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.