public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Boot fail with UBIFS_FS=y on Qualcomm msm8974/msm8226
@ 2022-09-22 15:55 Luca Weiss
  2022-09-22 16:45 ` Brian Masney
  0 siblings, 1 reply; 2+ messages in thread
From: Luca Weiss @ 2022-09-22 15:55 UTC (permalink / raw)
  To: linux-arm-msm; +Cc: linux-mtd, Richard Weinberger, Alexey Minnekhanov

Hey all,

sometime last year (June 2021?) I first noticed that with arm32 qcom_defconfig 
under some circumstances I get weird boot failures on msm8974-fairphone-fp2, 
and lately also seeing similar with apq8026-lg-lenok.

In short, with CONFIG_UBIFS_FS=y there's nothing from serial console, nothing 
from earlycon, just nothing on serial at all. As soon as I disable this config 
option and rebuild it boots up fine again.

At some point I also got this from fp2 logs, after I changed something in the 
boot procedure (maybe fastboot boot instead of fastboot flash? I don't recall)

> Error: invalid dtb and unrecognized/unsupported machine ID
>   r1=0x00000000, r2=0x00000000
> Available machine support:
> 
> ID (hex)        NAME
> ffffffff        Generic DT based system
> 
> Please check your kernel config and/or bootloader.

With CONFIG_UBIFS_FS=m and loading the module at runtime seems to work fine (at 
least nothing visibly broke) although I didn't try mounting anything with that 
file system.

Does anyone maybe have an idea what might cause this and/or how to debug this? 
While just disabling UBIFS_FS in my config solves the issue I feel like this 
should be resolved, because I also sometimes forget that I have to disable 
this from qcom_defconfig and then wonder why my boards aren't booting.

Regards
Luca



______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

end of thread, other threads:[~2022-09-22 16:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-22 15:55 Boot fail with UBIFS_FS=y on Qualcomm msm8974/msm8226 Luca Weiss
2022-09-22 16:45 ` Brian Masney

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