[U-Boot] [PATCH v2 5/5] configs: enable eSDHC device module in T2080QDS

Yinbo Zhu yinbo.zhu at nxp.com
Thu Mar 28 08:09:43 UTC 2019



> -----Original Message-----
> From: Yinbo Zhu
> Sent: 2019年3月26日 17:08
> To: York Sun <york.sun at nxp.com>; u-boot at lists.denx.de
> Cc: Xiaobo Xie <xiaobo.xie at nxp.com>; Ran Wang <ran.wang_1 at nxp.com>; Jiafei
> Pan <jiafei.pan at nxp.com>; Y.b. Lu <yangbo.lu at nxp.com>; Jagdish Gediya
> <jagdish.gediya at nxp.com>; Prabhakar Kushwaha
> <prabhakar.kushwaha at nxp.com>; 'Yinbo Zhu' <yinbo.zhu at nxp.com>
> Subject: RE: [PATCH v2 5/5] configs: enable eSDHC device module in T2080QDS
> 
> Hi,
> 
> This patches set is for enable uboot DM for usb and sd on t2080qds, I haded
> tested the io function. And I find that if the block size is less than 8, the read
> process will be hung, hung’s code is in blkcache_fill’s memcpy Function,  and
> when memcpy do “*dl++ = *sl++” operation then read process will be hung.
> but fsl-layerscape uboot DM work well. ppc non-DM work well, it seems to be
> block driver(CONFIG_BLK) issue related to PPC. Please you note.
> 
> Thanks
> Best Regards,
> Yinbo Zhu.
> 
Hi York,

Could you help me check these patches!
Thanks
    
In addition, above issue is due to the mmc read's operation address is out of memory address, not a bug.
Please you note!
> -----Original Message-----
> From: Yinbo Zhu [mailto:yinbo.zhu at nxp.com]
> Sent: 2019年3月26日 11:09
> To: York Sun <york.sun at nxp.com>; u-boot at lists.denx.de
> Cc: Yinbo Zhu <yinbo.zhu at nxp.com>; Xiaobo Xie <xiaobo.xie at nxp.com>; Ran
> Wang <ran.wang_1 at nxp.com>; Jiafei Pan <jiafei.pan at nxp.com>; Y.b. Lu
> <yangbo.lu at nxp.com>; Jagdish Gediya <jagdish.gediya at nxp.com>; Prabhakar
> Kushwaha <prabhakar.kushwaha at nxp.com>
> Subject: [PATCH v2 5/5] configs: enable eSDHC device module in T2080QDS
> 
> >From: Yinbo Zhu <yinbo.zhu at nxp.com>
> 
> >This patch is to enable MMC DM for T2080QDS in uboot
> 
> >Signed-off-by: Yinbo Zhu <yinbo.zhu at nxp.com>
> >---
>  >configs/T2080QDS_NAND_defconfig           | 3 +++
>  >configs/T2080QDS_SDCARD_defconfig         | 3 +++
>  >configs/T2080QDS_SECURE_BOOT_defconfig    | 3 +++
>  >configs/T2080QDS_SPIFLASH_defconfig       | 3 +++
>  >configs/T2080QDS_SRIO_PCIE_BOOT_defconfig | 3 +++
>  >configs/T2080QDS_defconfig                | 3 +++
>  >6 files changed, 18 insertions(+)
> 
> >diff --git a/configs/T2080QDS_NAND_defconfig
> >b/configs/T2080QDS_NAND_defconfig index 948a05af89..02d47c9fdd
> 100644
> >--- a/configs/T2080QDS_NAND_defconfig
> >+++ b/configs/T2080QDS_NAND_defconfig
> >@@ -59,3 +59,6 @@ CONFIG_SPI=y
>  >CONFIG_FSL_ESPI=y
>  >CONFIG_USB=y
>  >CONFIG_USB_STORAGE=y
> >+CONFIG_DM_MMC=y
> >+CONFIG_BLK=y
> >+CONFIG_DM=y
> >diff --git a/configs/T2080QDS_SDCARD_defconfig
> >b/configs/T2080QDS_SDCARD_defconfig
> >index 30e87df3bb..4ce83fe8c4 100644
> >--- a/configs/T2080QDS_SDCARD_defconfig
> >+++ b/configs/T2080QDS_SDCARD_defconfig
> >@@ -58,3 +58,6 @@ CONFIG_SPI=y
>  >CONFIG_FSL_ESPI=y
>  >CONFIG_USB=y
>  >CONFIG_USB_STORAGE=y
> >+CONFIG_DM_MMC=y
> >+CONFIG_BLK=y
> >+CONFIG_DM=y
> >diff --git a/configs/T2080QDS_SECURE_BOOT_defconfig
> >b/configs/T2080QDS_SECURE_BOOT_defconfig
> >index 2658bf8460..e2a7d3fa76 100644
> >--- a/configs/T2080QDS_SECURE_BOOT_defconfig
> >+++ b/configs/T2080QDS_SECURE_BOOT_defconfig
> >@@ -52,3 +52,6 @@ CONFIG_RSA_SOFTWARE_EXP=y  CONFIG_OF_LIBFDT=y
> >CONFIG_MPC85XX_HAVE_RESET_VECTOR=y
>  >CONFIG_DEFAULT_DEVICE_TREE="t2080qds"
> >+CONFIG_DM_MMC=y
> >+CONFIG_BLK=y
> >+CONFIG_OF_CONTROL=y
> >diff --git a/configs/T2080QDS_SPIFLASH_defconfig
> >b/configs/T2080QDS_SPIFLASH_defconfig
> >index 0cccb3a85d..641f3c0c97 100644
> >--- a/configs/T2080QDS_SPIFLASH_defconfig
> >+++ b/configs/T2080QDS_SPIFLASH_defconfig
> >@@ -59,3 +59,6 @@ CONFIG_SPI=y
>  >CONFIG_FSL_ESPI=y
>  >CONFIG_USB=y
>  >CONFIG_USB_STORAGE=y
> >+CONFIG_DM_MMC=y
> >+CONFIG_BLK=y
> >+CONFIG_DM=y
> >diff --git a/configs/T2080QDS_SRIO_PCIE_BOOT_defconfig
> >b/configs/T2080QDS_SRIO_PCIE_BOOT_defconfig
> >index 8febabd84f..d2a8875aac 100644
> >--- a/configs/T2080QDS_SRIO_PCIE_BOOT_defconfig
> >+++ b/configs/T2080QDS_SRIO_PCIE_BOOT_defconfig
> >@@ -42,3 +42,6 @@ CONFIG_OF_LIBFDT=y
>  >CONFIG_MPC85XX_HAVE_RESET_VECTOR=y
>  >CONFIG_OF_CONTROL=y
>  >CONFIG_DEFAULT_DEVICE_TREE="t2080qds"
> >+CONFIG_DM_MMC=y
> >+CONFIG_BLK=y
> >+CONFIG_DM=y
> >diff --git a/configs/T2080QDS_defconfig b/configs/T2080QDS_defconfig
> >index 79cf4424b4..d55ce771a9 100644
> >--- a/configs/T2080QDS_defconfig
> >+++ b/configs/T2080QDS_defconfig
> >@@ -48,3 +48,6 @@ CONFIG_SPI=y
>  >CONFIG_FSL_ESPI=y
>  >CONFIG_USB=y
>  >>CONFIG_USB_STORAGE=y
> >+CONFIG_DM_MMC=y
> >+CONFIG_BLK=y
> >+CONFIG_DM=y
> --
> 2.17.1



More information about the U-Boot mailing list