Commit 5f2274d57bcb391701ba2690c018d4b691a86393
Committed by
Ye Li
1 parent
459966f891
Exists in
smarc_8mq-imx_v2020.04_5.4.24_2.1.0
and in
3 other branches
MLK-22339: mx6qsabreauto: configs: add default mtdids and mtdparts
configs set the i.MX6q default mtdids value as "nor0=8000000.nor,nand0=gpmi-nand", nandbcb can directly write to the nandboot partition after u-boot brings up. => nandbcb update $loadaddr nandboot 924672 Device nor0 not found! current device is invalid, skip it and check the next one device 0 offset 0x0, size 0x924672 Erasing at 0x3f00000 -- 100% complete. NAND fw write: 0x200000 offset, 0x928000 bytes written: OK Signed-off-by: Yang-yang Guo <alice.guo@nxp.com> (cherry picked from commit 22c74fdc455d35346756c9fb82292db57db2c96f)
Showing 2 changed files with 6 additions and 0 deletions Side-by-side Diff
configs/mx6qpsabreauto_nand_defconfig
... | ... | @@ -19,6 +19,9 @@ |
19 | 19 | CONFIG_NAND_MXS=y |
20 | 20 | CONFIG_NAND_MXS_DT=y |
21 | 21 | CONFIG_ENV_IS_IN_NAND=y |
22 | +CONFIG_CMD_MTDPARTS=y | |
23 | +CONFIG_MTDIDS_DEFAULT="nor0=8000000.nor,nand0=gpmi-nand" | |
24 | +CONFIG_MTDPARTS_SKIP_INVALID=y | |
22 | 25 | CONFIG_BOOTDELAY=3 |
23 | 26 | # CONFIG_CONSOLE_MUX is not set |
24 | 27 | CONFIG_SYS_CONSOLE_IS_IN_ENV=y |
configs/mx6qsabreauto_nand_defconfig
... | ... | @@ -19,6 +19,9 @@ |
19 | 19 | CONFIG_NAND_MXS=y |
20 | 20 | CONFIG_NAND_MXS_DT=y |
21 | 21 | CONFIG_ENV_IS_IN_NAND=y |
22 | +CONFIG_CMD_MTDPARTS=y | |
23 | +CONFIG_MTDIDS_DEFAULT="nor0=8000000.nor,nand0=gpmi-nand" | |
24 | +CONFIG_MTDPARTS_SKIP_INVALID=y | |
22 | 25 | CONFIG_BOOTDELAY=3 |
23 | 26 | # CONFIG_CONSOLE_MUX is not set |
24 | 27 | CONFIG_SYS_CONSOLE_IS_IN_ENV=y |