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

Yinbo Zhu yinbo.zhu at nxp.com
Thu Apr 11 11:08:17 UTC 2019


Hi,

Please ignore the observation.
This issue is due to that read mmc's addr is more than it's memory.
Sd/usb work well.

And I had send the v3 version, please help me check it.

Thanks!
Regards,
Yinbo Zhu.

> -----Original Message-----
> From: Prabhakar Kushwaha
> Sent: 2019年4月7日 17:46
> To: Yinbo Zhu <yinbo.zhu at nxp.com>; York Sun <york.sun at nxp.com>;
> u-boot at lists.denx.de; panto at antoniou-consulting.com;
> jh80.chung at samsung.com
> 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>
> Subject: RE: [PATCH v2 5/5] configs: enable eSDHC device module in T2080QDS
> 
> Dear  Panto,  Jaehoon
> 
> 
> > -----Original Message-----
> > From: Yinbo Zhu
> > Sent: Tuesday, March 26, 2019 2:38 PM
> > 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.
> >
> 
> 
> Can you please check this observarion!!
> 
> 
> 
> > Thanks
> > Best Regards,
> > Yinbo Zhu.
> >
> > -----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