回复: Build failed when CONFIG_TOOLS_LIBCRYPTO is disabled on latest u-boot

2023-11-27 Thread Terry Lv
Hi Experts, Any feedback on this? Thanks! Regards Terry 发件人: Terry Lv 发送时间: 2023年10月18日 12:03 收件人: u-boot@lists.denx.de 主题: Build failed when CONFIG_TOOLS_LIBCRYPTO is disabled on latest u-boot Hi Experts, We need to disable CONFIG_TOOLS_LIBCRYPTO in

Build failed when CONFIG_TOOLS_LIBCRYPTO is disabled on latest u-boot

2023-10-18 Thread Terry Lv
Hi Experts, We need to disable CONFIG_TOOLS_LIBCRYPTO in our u-boot. But when I disable CONFIG_TOOLS_LIBCRYPTO from menuconfig, my u-boot build fails. Logs: /opt/samba/nxa08304/gcc_cross_toolchain/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/bin/ld: tools/image-host.o: in function `read_pub_

[U-Boot] [PATCH 2/3] mxc_spi: change to use version config instead of soc config in mxc_spi

2012-08-14 Thread Terry Lv
o add spi version config in config files to enable it. it would be eaiser than before. Signed-off-by: Terry Lv --- README|4 ++- drivers/spi/mxc_spi.c | 59 - 2 files changed, 32 insertions(+), 31 deletions(-) mode change 1

[U-Boot] [PATCH 3/3] mxc_spi: apply new mxc_spi version configs to other soc configs

2012-08-14 Thread Terry Lv
Apply new mxc_spi version configs to other soc configs. Signed-off-by: Terry Lv --- arch/arm/include/asm/arch-mx31/imx-regs.h |4 include/configs/efikamx.h |4 include/configs/flea3.h |3 +++ include/configs/imx31_litekit.h

[U-Boot] [PATCH 1/3] mx53_smd: add spi nor support

2012-08-14 Thread Terry Lv
pio number. Signed-off-by: Terry Lv --- board/freescale/mx53smd/mx53smd.c | 63 + include/configs/mx53smd.h | 17 ++ 2 files changed, 80 insertions(+), 0 deletions(-) diff --git a/board/freescale/mx53smd/mx53smd.c b/board/freescale/mx53

[U-Boot] [PATCH 4/4] mxc_spi: apply new mxc_spi version configs to other soc configs

2012-08-14 Thread Terry Lv
Apply new mxc_spi version configs to other soc configs. Signed-off-by: Terry Lv --- arch/arm/include/asm/arch-mx31/imx-regs.h |4 include/configs/efikamx.h |4 include/configs/flea3.h |3 +++ include/configs/imx31_litekit.h

[U-Boot] [PATCH 1/4] spi_nor: add m25p32 spi nor driver

2012-08-14 Thread Terry Lv
This driver is ported from kernel and can handle a series of spi nor flash including m25pxx, m45pxx, w25xxx, cat25xxx, sst25vf0xxx, sst25wfxxx, s25xxx, mx25xxx, at25xxx, at26xxx, en25xxx, xxxs33b. Signed-off-by: Terry Lv --- drivers/mtd/spi/Makefile |1 + drivers/mtd/spi/m25p80

[U-Boot] [PATCH 3/4] mxc_spi: change to use version config instead of soc config in mxc_spi

2012-08-14 Thread Terry Lv
o add spi version config in config files to enable it. it would be eaiser than before. Signed-off-by: Terry Lv --- README|4 ++- drivers/spi/mxc_spi.c | 59 - 2 files changed, 32 insertions(+), 31 deletions(-) mode change 1

[U-Boot] [PATCH 2/4] mx53_smd: add spi nor support

2012-08-14 Thread Terry Lv
pio number. Signed-off-by: Terry Lv --- board/freescale/mx53smd/mx53smd.c | 63 + include/configs/mx53smd.h | 17 ++ 2 files changed, 80 insertions(+), 0 deletions(-) diff --git a/board/freescale/mx53smd/mx53smd.c b/board/freescale/mx53

[U-Boot] [PATCH] MMC may wrongly regconize 2GB eMMC as high capacity

2011-03-20 Thread Terry Lv
A non-zero value of SEC_COUNT does not indicate that the card is sector addressed. According to the MMC specification, cards with a densitygreater than 2GiB are sector addressed. Signed-off-by: Terry Lv --- drivers/mmc/mmc.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --gi

[U-Boot] [PATCH] [PATCH v6]Save environment data to mmc.

2010-05-16 Thread Terry Lv
This patch is to save environment data to mmc card. It uses interfaces defined in generic mmc. v6 version fixes the coding-style problems. Signed-off-by: Terry Lv --- arch/arm/lib/board.c | 15 +++-- arch/powerpc/lib/board.c | 17 +++-- common/Makefile |1 + common

[U-Boot] [PATCH] [PATCH v5]Save environment data to mmc.

2010-05-06 Thread Terry Lv
This patch is to save environment data to mmc card. It uses interfaces defined in generic mmc. Signed-off-by: Terry Lv --- arch/arm/lib/board.c | 15 +++-- arch/powerpc/lib/board.c | 17 +++-- common/Makefile |1 + common/cmd_nvedit.c |3 +- common/env_mmc.c

[U-Boot] [PATCH] A little bug in macro __arch_ioremap.

2010-05-06 Thread Terry Lv
Signed-off-by: Terry Lv --- arch/arm/include/asm/io.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h index 0a4b5be..5122210 100644 --- a/arch/arm/include/asm/io.h +++ b/arch/arm/include/asm/io.h @@ -253,7 +253,7

[U-Boot] [PATCH] [PATCH V4]Save environment data to mmc.

2010-05-04 Thread Terry Lv
This patch is to save environment data to mmc card. It uses interfaces defined in generic mmc. Signed-off-by: Terry Lv --- arch/arm/lib/board.c | 14 +++-- arch/powerpc/lib/board.c | 16 +++-- common/Makefile |1 + common/cmd_nvedit.c |3 +- common/env_mmc.c

[U-Boot] [PATCH] Save environment data to mmc.

2010-04-29 Thread Terry Lv
This patch is to save environment data to mmc card. It uses interfaces defined in generic mmc. Signed-off-by: Terry Lv --- arch/arm/lib/board.c | 10 ++-- arch/powerpc/lib/board.c | 12 ++-- common/Makefile |1 + common/cmd_nvedit.c |1 + common/env_mmc.c

[U-Boot] [PATCH] Save environment data to mmc.

2010-04-28 Thread Terry Lv
This patch is to save environment data to mmc card. It uses interfaces defined in generic mmc. Signed-off-by: Terry Lv --- arch/arm/lib/board.c | 10 ++-- arch/powerpc/lib/board.c | 12 ++-- common/Makefile |1 + common/cmd_nvedit.c |1 + common/env_mmc.c

[U-Boot] [PATCH] Save environment data to mmc.

2009-11-18 Thread Terry Lv
This patch is to save environment data to mmc card. It uses interfaces defined in generic mmc. Signed-off-by: Terry Lv --- common/Makefile |1 + common/cmd_nvedit.c |3 +- common/env_mmc.c | 166 + include/environment.h

[U-Boot] [PATCH] Improve read performance of generic mmc.

2009-11-18 Thread Terry Lv
In drivers/mmc/mmc.c, mmc_bread will do aligned read. So we don't need to use single block read. We can use multiblock read to improve the performance. Signed-off-by: Terry Lv --- drivers/mmc/mmc.c | 51 --- 1 files changed, 40 insertions(+

[U-Boot] [PATCH] Save environment data to mmc.

2009-11-04 Thread Terry Lv
This patch is to save environment data to mmc card. It uses interfaces defined in generic mmc. Signed-off-by: Terry Lv --- common/cmd_nvedit.c |3 +- common/env_mmc.c | 359 + include/environment.h | 18 +++ lib_arm/board.c

[U-Boot] [PATCH] Save environment data to mmc.

2009-11-04 Thread Terry Lv
This patch is to save environment data to mmc card. Signed-off-by: Terry Lv --- common/cmd_nvedit.c |3 +- common/env_mmc.c | 376 + include/environment.h | 18 +++ 3 files changed, 396 insertions(+), 1 deletions(-) create mode

[U-Boot] [PATCH] Improve read performance of generic mmc.

2009-11-03 Thread Terry Lv
In drivers/mmc/mmc.c, mmc_bread will do aligned read. So we don't need to use single block read. We can use multiblock read to improve the performance. Signed-off-by: Terry Lv --- drivers/mmc/mmc.c | 51 --- 1 files changed, 40 insertions(+

[U-Boot] [PATCH] Improve read performance of gerenic mmc.

2009-11-03 Thread Terry Lv
Signed-off-by: Terry Lv --- drivers/mmc/mmc.c | 57 - 1 files changed, 43 insertions(+), 14 deletions(-) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index b69ce15..dcc9548 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c