]> git.ipfire.org Git - thirdparty/u-boot.git/commit
configs: airoha: an7581: disable ENV_IS_IN_MTD to avoid boot panic
authorMikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Mon, 27 Apr 2026 13:53:26 +0000 (16:53 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 15 May 2026 23:08:11 +0000 (17:08 -0600)
commit0fcbe38192a809a7f0f67ce557d6826dcd49413d
treeaac46ab20d73d7fdc455f99f16c57e23b57d60fb
parent7bb8c707b1cfa4b7dbcb6095592f73bab77e88dd
configs: airoha: an7581: disable ENV_IS_IN_MTD to avoid boot panic

Booting image generated with

  make an7581_evb_defconfig

will results in

  U-Boot 2026.04-00924-gfb815bd8793b (Apr 27 2026 - 15:08:30 +0300)

  CPU:   Airoha AN7581
  DRAM:  512 MiB
  Core:  35 devices, 19 uclasses, devicetree: separate
  MMC:   mmc@1fa0e000: 0
  Loading Environment from MMC... *** Warning - No block device, using default environment

  Loading Environment from MTD... *** Warning - get_mtd_device_nm() failed, using default environment

  BUG at drivers/mtd/mtdcore.c:898/__put_mtd_device()!
  BUG!
  resetting ...

This happens because no any mtd partition defined in dts/mtdparts.
Disabling of ENV_IS_IN_MTD fixes an issue.

Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
configs/an7581_evb_defconfig