Fixes for topic-miami and topic-miamiplus board
cover Fixes for topic-miami and topic-miamiplus board
Three patches to fix these issues:
- Network support in u-boot is only useful on the topic-miamiplus board
- DFU boot does not work, missing DFU_RAM config
- QSPI boot did not work because of wrong kernel_size environment
Mike Looijmans (3):
topic_miami_defconfig: Remove NFS and NET support topic_miami(plus) defconfig: Enable DFU RAM support configs/topic_miami.h: Correct kernel_size in default environment
configs/topic_miami_defconfig | 6 ++++-- configs/topic_miamiplus_defconfig | 1 + include/configs/topic_miami.h | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-)
Signature · 1 line
1.9.1
PATCH 1/3 topic_miami_defconfig: Remove NFS and NET support
On the miami board, ethernet is accessed via logic. To use it, one would have to program logic first and then set up the rgmii conversion block as well. Not likely to ever be used, so disable network support by default to save some space.
--- configs/topic_miami_defconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
configs/topic_miami_defconfig +3 -2
@@ -4,6 +4,7 @@ CONFIG_SYS_CONFIG_NAME="topic_miami" CONFIG_ARCH_ZYNQ=y CONFIG_BOOT_INIT_FILE="board/topic/zynq/zynq-topic-miami/ps7_regs.txt" CONFIG_DEFAULT_DEVICE_TREE="zynq-topic-miami" +CONFIG_OF_BOARD_SETUP=y CONFIG_BOOTDELAY=0 CONFIG_SYS_NO_FLASH=y # CONFIG_DISPLAY_CPUINFO is not set
@@ -19,12 +20,13 @@ CONFIG_CMD_USB=y CONFIG_CMD_DFU=y CONFIG_CMD_GPIO=y # CONFIG_CMD_SETEXPR is not set +# CONFIG_CMD_NET is not set +# CONFIG_CMD_NFS is not set CONFIG_CMD_CACHE=y CONFIG_CMD_EXT4=y CONFIG_CMD_FAT=y CONFIG_CMD_FS_GENERIC=y CONFIG_OF_EMBED=y -CONFIG_OF_BOARD_SETUP=y CONFIG_SPL_DM_SEQ_ALIAS=y CONFIG_ZYNQ_SDHCI=y CONFIG_MMC_SDHCI=y
@@ -32,7 +34,6 @@ CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_BAR=y CONFIG_SPI_FLASH_STMICRO=y # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set -# CONFIG_NETDEVICES is not set CONFIG_DEBUG_UART=y CONFIG_DEBUG_UART_ZYNQ=y CONFIG_DEBUG_UART_BASE=0xe0000000
Signature · 1 line
1.9.1
PATCH 2/3 topic_miami(plus) defconfig: Enable DFU RAM support
In reply to Mike LooijmansAllow sending firmware to RAM. Without this, the DFU support was not of much use.
--- configs/topic_miami_defconfig | 1 + configs/topic_miamiplus_defconfig | 1 + 2 files changed, 2 insertions(+)
configs/topic_miami_defconfig +1 -0
@@ -28,6 +28,7 @@ CONFIG_CMD_FAT=y CONFIG_CMD_FS_GENERIC=y CONFIG_OF_EMBED=y CONFIG_SPL_DM_SEQ_ALIAS=y +CONFIG_DFU_RAM=y CONFIG_ZYNQ_SDHCI=y CONFIG_MMC_SDHCI=y CONFIG_SPI_FLASH=y
configs/topic_miamiplus_defconfig +1 -0
@@ -26,6 +26,7 @@ CONFIG_CMD_FS_GENERIC=y CONFIG_OF_EMBED=y CONFIG_OF_BOARD_SETUP=y CONFIG_SPL_DM_SEQ_ALIAS=y +CONFIG_DFU_RAM=y CONFIG_ZYNQ_SDHCI=y CONFIG_MMC_SDHCI=y CONFIG_SPI_FLASH=y
Signature · 1 line
1.9.1
PATCH 3/3 configs/topic_miami.h: Correct kernel_size in default environment
In reply to Mike LooijmansThe kernel partition in QSPI is 0x440000 large, not 0x400000. Fix this in the environment, otherwise the kernel will fail to boot if it occupies more space.
--- include/configs/topic_miami.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/topic_miami.h +1 -1
@@ -110,7 +110,7 @@"bootscript=autorun.scr\0" \"loadbit_addr=0x100000\0" \"loadbootenv_addr=0x2000000\0" \ -"kernel_size=0x400000\0" \ +"kernel_size=0x440000\0" \"devicetree_size=0x10000\0" \"boot_size=0xF00000\0" \"fdt_high=0x20000000\0" \
Signature · 1 line
1.9.1
cover Fixes for topic-miami and topic-miamiplus board
In reply to Mike LooijmansHi,
Quoted 10 lines · Mike Looijmans
Three patches to fix these issues:
- Network support in u-boot is only useful on the topic-miamiplus board
- DFU boot does not work, missingDFU_RAMconfig
- QSPI boot did not work because of wrongkernel_sizeenvironmentMike Looijmans (3):
topic_miami_defconfig: Remove NFS and NET supporttopic_miami(plus)defconfig: Enable DFU RAM supportconfigs/topic_miami.h: Correctkernel_sizein default environment
Quoted 5 lines
configs/topic_miami_defconfig | 6 ++++-- configs/topic_miamiplus_defconfig | 1 + include/configs/topic_miami.h | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-)
can you please rebase on the latest Tom's branch?
I have problem to apply these patches. Only 3/3 has no issue.
Thanks,
Michal
Signature · 14 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP SoCs -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: OpenPGP digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170117/56beb586/attachment.sig>
v2 cover Fixes for topic-miami and topic-miamiplus board
Three patches to fix these issues:
- Network support in u-boot is only useful on the topic-miamiplus board
- DFU boot does not work, missing DFU_RAM config
- QSPI boot did not work because of wrong kernel_size environment
v2: Rebased on current master
Mike Looijmans (3):
topic_miami_defconfig: Remove NFS and NET support topic_miami(plus) defconfig: Enable DFU RAM support configs/topic_miami.h: Correct kernel_size in default environment
configs/topic_miami_defconfig | 6 ++++-- configs/topic_miamiplus_defconfig | 1 + include/configs/topic_miami.h | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-)
Signature · 1 line
1.9.1
PATCH 1/3 topic_miami_defconfig: Remove NFS and NET support
On the miami board, ethernet is accessed via logic. To use it, one would have to program logic first and then set up the rgmii conversion block as well. Not likely to ever be used, so disable network support by default to save some space.
--- configs/topic_miami_defconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
configs/topic_miami_defconfig +3 -2
@@ -5,6 +5,7 @@ CONFIG_ARCH_ZYNQ=y CONFIG_BOOT_INIT_FILE="board/topic/zynq/zynq-topic-miami/ps7_regs.txt" CONFIG_SYS_TEXT_BASE=0x4000000 CONFIG_DEFAULT_DEVICE_TREE="zynq-topic-miami" +CONFIG_OF_BOARD_SETUP=y CONFIG_BOOTDELAY=0 CONFIG_SYS_NO_FLASH=y # CONFIG_DISPLAY_CPUINFO is not set
@@ -20,12 +21,13 @@ CONFIG_CMD_USB=y CONFIG_CMD_DFU=y CONFIG_CMD_GPIO=y # CONFIG_CMD_SETEXPR is not set +# CONFIG_CMD_NET is not set +# CONFIG_CMD_NFS is not set CONFIG_CMD_CACHE=y CONFIG_CMD_EXT4=y CONFIG_CMD_FAT=y CONFIG_CMD_FS_GENERIC=y CONFIG_OF_EMBED=y -CONFIG_OF_BOARD_SETUP=y CONFIG_SPL_DM_SEQ_ALIAS=y CONFIG_ZYNQ_SDHCI=y CONFIG_MMC_SDHCI=y
@@ -33,7 +35,6 @@ CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_BAR=y CONFIG_SPI_FLASH_STMICRO=y # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set -# CONFIG_NETDEVICES is not set CONFIG_DEBUG_UART=y CONFIG_DEBUG_UART_ZYNQ=y CONFIG_DEBUG_UART_BASE=0xe0000000
Signature · 1 line
1.9.1
PATCH 2/3 topic_miami(plus) defconfig: Enable DFU RAM support
In reply to Mike LooijmansAllow sending firmware to RAM. Without this, the DFU support was not of much use.
--- configs/topic_miami_defconfig | 1 + configs/topic_miamiplus_defconfig | 1 + 2 files changed, 2 insertions(+)
configs/topic_miami_defconfig +1 -0
@@ -29,6 +29,7 @@ CONFIG_CMD_FAT=y CONFIG_CMD_FS_GENERIC=y CONFIG_OF_EMBED=y CONFIG_SPL_DM_SEQ_ALIAS=y +CONFIG_DFU_RAM=y CONFIG_ZYNQ_SDHCI=y CONFIG_MMC_SDHCI=y CONFIG_SPI_FLASH=y
configs/topic_miamiplus_defconfig +1 -0
@@ -27,6 +27,7 @@ CONFIG_CMD_FS_GENERIC=y CONFIG_OF_EMBED=y CONFIG_OF_BOARD_SETUP=y CONFIG_SPL_DM_SEQ_ALIAS=y +CONFIG_DFU_RAM=y CONFIG_ZYNQ_SDHCI=y CONFIG_MMC_SDHCI=y CONFIG_SPI_FLASH=y
Signature · 1 line
1.9.1
PATCH 3/3 configs/topic_miami.h: Correct kernel_size in default environment
In reply to Mike LooijmansThe kernel partition in QSPI is 0x440000 large, not 0x400000. Fix this in the environment, otherwise the kernel will fail to boot if it occupies more space.
--- include/configs/topic_miami.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/topic_miami.h +1 -1
@@ -110,7 +110,7 @@"bootscript=autorun.scr\0" \"loadbit_addr=0x100000\0" \"loadbootenv_addr=0x2000000\0" \ -"kernel_size=0x400000\0" \ +"kernel_size=0x440000\0" \"devicetree_size=0x10000\0" \"boot_size=0xF00000\0" \"fdt_high=0x20000000\0" \
Signature · 1 line
1.9.1
v2 cover Fixes for topic-miami and topic-miamiplus board
In reply to Mike LooijmansQuoted 12 lines · Mike Looijmans
Three patches to fix these issues:
- Network support in u-boot is only useful on the topic-miamiplus board
- DFU boot does not work, missingDFU_RAMconfig
- QSPI boot did not work because of wrongkernel_sizeenvironmentv2: Rebased on current master
Mike Looijmans (3):
topic_miami_defconfig: Remove NFS and NET supporttopic_miami(plus)defconfig: Enable DFU RAM supportconfigs/topic_miami.h: Correctkernel_sizein default environment
Quoted 5 lines
configs/topic_miami_defconfig | 6 ++++-- configs/topic_miamiplus_defconfig | 1 + include/configs/topic_miami.h | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-)
I have fixed some issues when I was applying it but it is merged now.
Thanks,
Michal
Signature · 14 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP SoCs -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: OpenPGP digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170118/b5513104/attachment.sig>
cover Fixes for topic-miami and topic-miamiplus board
In reply to Michal SimekQuoted 19 lines · Michal Simek
Hi,
Quoted 10 lines · Mike Looijmans
Three patches to fix these issues:
- Network support in u-boot is only useful on the topic-miamiplus board
- DFU boot does not work, missingDFU_RAMconfig
- QSPI boot did not work because of wrongkernel_sizeenvironmentMike Looijmans (3):
topic_miami_defconfig: Remove NFS and NET supporttopic_miami(plus)defconfig: Enable DFU RAM supportconfigs/topic_miami.h: Correctkernel_sizein default environmentQuoted 5 lines
configs/topic_miami_defconfig | 6 ++++-- configs/topic_miamiplus_defconfig | 1 + include/configs/topic_miami.h | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-)
Quoted 3 lines
can you please rebase on the latest Tom's branch?
I have problem to apply these patches. Only 3/3 has no issue.
Indeed. I'll rebase on current master and send a v2.
Kind regards,
Mike Looijmans
System Expert
TOPIC Products
Materiaalweg 4, NL-5681 RJ Best Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: mike.looijmans at topicproducts.com
Website: www.topicproducts.com
Please consider the environment before printing this e-mail