hanwckf / bl-mt798x

ATF and u-boot for mt798x.
715 stars 201 forks source link

Is it possible to have a NMBM disabled variant of this uboot? #40

Open skbeh opened 10 months ago

skbeh commented 10 months ago

NMBM has its own problems which caused the opposition from the OpenWRT and Linux upstream developers, and this uboot only supports firmwares with NMBM enabled.

Would it be possible to have some configs with NMBM disabled?

hanwckf commented 10 months ago

try to set these configs in <uboot dir>/configs/<defconfig>

# CONFIG_ENABLE_NAND_NMBM is not set
# CONFIG_CMD_NMBM is not set
CONFIG_MTDIDS_DEFAULT="spi-nand0=spi-nand0"
CONFIG_MTDPARTS_DEFAULT="spi-nand0:<mtdparts string>"