mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Troubles booting kernel with new imx8 board
@ 2023-05-26 10:46 marc
  2023-05-26 11:30 ` Sascha Hauer
  2023-05-26 11:44 ` Ahmad Fatoum
  0 siblings, 2 replies; 6+ messages in thread
From: marc @ 2023-05-26 10:46 UTC (permalink / raw)
  To: barebox

Hi all, 

I'm trying to get barebox going for a new imx8mp based board. I can 
successfully power on and get to a barebox prompt etc and fiddle with gpios, 
files on sd, memtest etc, but when booting to kernel it will hang. Note though 
that the board boots ok with u-boot (using exact same kernel image).

I'm trying to figure out what is different between booting via uboot and 
barebox, I'm new to imx8 so have been going down a few rabbit holes...

Disabling various drivers (eg imx-cpufreq-dt) in the kernel will get past the 
hang, but result in a crash later on in the boot sequence. Disabling that may 
get further but will result in a crash somewhere else.
My instinct is that its something to do with sdma, but a lot of this is still 
a black box to me.

Any hints or suggestions are very welcome! (I can give more info but didn't 
want to dump everything straight away)

- board is based on an imx8mp module from solidrun
- boots kernel ok using u-boot (u-boot version provided by solidrun, based on 
NXP versions)
- I used the same ddr timings from u-boot
- also using same versions of firmware-imx (8.16) and ATF (2.8)

Cheers
Marc








^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-06-02  5:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-26 10:46 Troubles booting kernel with new imx8 board marc
2023-05-26 11:30 ` Sascha Hauer
2023-05-27  5:35   ` marc
2023-05-31  5:50     ` Ahmad Fatoum
2023-06-02  5:33       ` marc
2023-05-26 11:44 ` Ahmad Fatoum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox