diff --git a/source/uboot-2021.10/configs/d211_demo128_nand_defconfig b/source/uboot-2021.10/configs/d211_demo128_nand_defconfig index 49c1a8db5..ef75fc5cf 100644 --- a/source/uboot-2021.10/configs/d211_demo128_nand_defconfig +++ b/source/uboot-2021.10/configs/d211_demo128_nand_defconfig @@ -99,6 +99,7 @@ CONFIG_NAND_BBT_OFFSET=0x240000 CONFIG_SYS_SPI_NAND_U_BOOT_LOCATIONS=y CONFIG_SPI_NAND_WINBOND=y CONFIG_SPI_NAND_GIGADEVICE=y +CONFIG_SPI_NAND_TOSHIBA=y CONFIG_SPI_NAND_FMSH=y CONFIG_SPI_NAND_FORESEE=y CONFIG_SPI_NAND_ZBIT=y diff --git a/source/uboot-2021.10/drivers/mtd/nand/spi/gigadevice.c b/source/uboot-2021.10/drivers/mtd/nand/spi/gigadevice.c index fadba3d02..1694b720e 100644 --- a/source/uboot-2021.10/drivers/mtd/nand/spi/gigadevice.c +++ b/source/uboot-2021.10/drivers/mtd/nand/spi/gigadevice.c @@ -202,6 +202,16 @@ static const struct spinand_info gigadevice_spinand_table[] = { SPINAND_HAS_QE_BIT, SPINAND_ECCINFO(&gd5fxgqx_variant2_ooblayout, gd5fxgq4uexxg_ecc_get_status)), + SPINAND_INFO("GD5F2GQ5UEY1G", + SPINAND_ID(0x52), + NAND_MEMORG(1, 2048, 128, 64, 2048, 1, 1, 1), + NAND_ECCREQ(8, 512), + SPINAND_INFO_OP_VARIANTS(&read_cache_variants_1gq5, + &write_cache_variants, + &update_cache_variants), + SPINAND_HAS_QE_BIT, + SPINAND_ECCINFO(&gd5fxgqx_variant2_ooblayout, + gd5fxgq4uexxg_ecc_get_status)), }; static int gigadevice_spinand_detect(struct spinand_device *spinand) diff --git a/source/uboot-2021.10/include/configs/image_cfg.json b/source/uboot-2021.10/include/configs/image_cfg.json index a801252da..191e12e7b 120000 --- a/source/uboot-2021.10/include/configs/image_cfg.json +++ b/source/uboot-2021.10/include/configs/image_cfg.json @@ -1 +1 @@ -/home/hyx/work/linuxOS_D21X/target/d211/demo128_nand/image_cfg.json \ No newline at end of file +/home/tzkj/work/code/linuxOS_D21X/target/d211/demo128_nand/image_cfg.json \ No newline at end of file diff --git a/target/d211/demo128_nand/rootfs_overlay/usr/bin/bt-hci-tool b/target/d211/demo128_nand/rootfs_overlay/usr/bin/bt-hci-tool new file mode 100644 index 000000000..79311569a Binary files /dev/null and b/target/d211/demo128_nand/rootfs_overlay/usr/bin/bt-hci-tool differ