ARM: bitmain: Extend bitmain S9 board
cover ARM: bitmain: Extend bitmain S9 board
Hi,
a lot of these boards are very cheap to buy now. Get this board up to date based on latest features available for zynq.
Thanks,
Michal
Michal Simek (3):
ARM: bitmain: Enable nand and smcc drivers
ARM: bitmain: Enable legacy u-boot format
ARM: bitmain: Enable saving variables to SD card
arch/arm/dts/bitmain-antminer-s9.dts | 8 ++++++++ configs/bitmain_antminer_s9_defconfig | 2 ++ 2 files changed, 10 insertions(+)
Signature · 1 line
2.31.0
PATCH 1/3 ARM: bitmain: Enable nand and smcc drivers
Enable nand and smcc via DT.
---
arch/arm/dts/bitmain-antminer-s9.dts | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm/dts/bitmain-antminer-s9.dts +8 -0
@@ -50,6 +50,14 @@ ps-clk-frequency = <33333333>; }; +&nand0 { + status = "okay"; +}; + +&smcc { + status = "okay"; +}; + &gem0 { status = "okay"; phy-mode = "rgmii-id";
Signature · 1 line
2.31.0
PATCH 2/3 ARM: bitmain: Enable legacy u-boot format
In reply to Michal SimekStill legacy formats are used that's why enable them by default.
---
configs/bitmain_antminer_s9_defconfig | 1 + 1 file changed, 1 insertion(+)
configs/bitmain_antminer_s9_defconfig +1 -0
@@ -19,6 +19,7 @@ CONFIG_SYS_LDSCRIPT="arch/arm/mach-zynq/u-boot.lds" CONFIG_FIT=y CONFIG_FIT_SIGNATURE=y CONFIG_FIT_VERBOSE=y +CONFIG_LEGACY_IMAGE_FORMAT=y CONFIG_BOOTDELAY=3 CONFIG_USE_PREBOOT=y # CONFIG_DISPLAY_CPUINFO is not set
Signature · 1 line
2.31.0
PATCH 3/3 ARM: bitmain: Enable saving variables to SD card
In reply to Michal SimekBoard has NAND and SD interfaces which can be used for saving variables too.
---
Based on "xilinx: zynq: Add support for saving env based on bootmode"
--- configs/bitmain_antminer_s9_defconfig | 1 + 1 file changed, 1 insertion(+)
configs/bitmain_antminer_s9_defconfig +1 -0
@@ -51,6 +51,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_CMD_FAT=y CONFIG_CMD_FS_GENERIC=y CONFIG_ENV_OVERWRITE=y +CONFIG_ENV_IS_IN_FAT=y CONFIG_ENV_IS_IN_NAND=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_NET_RANDOM_ETHADDR=y
Signature · 1 line
2.31.0
Michal Simek
Appliedcover ARM: bitmain: Extend bitmain S9 board
In reply to Michal Simekpo 22. 3. 2021 v 15:48 odes?latel Michal Simek <[email protected]> napsal:
Quoted 15 lines
Hi,
a lot of these boards are very cheap to buy now. Get this board up to date based on latest features available for zynq.
Thanks,
MichalMichal Simek (3):
ARM: bitmain: Enable nand and smcc drivers
ARM: bitmain: Enable legacy u-boot format
ARM: bitmain: Enable saving variables to SD card
Quoted 7 lines
arch/arm/dts/bitmain-antminer-s9.dts | 8 ++++++++ configs/bitmain_antminer_s9_defconfig | 2 ++ 2 files changed, 10 insertions(+)--
2.31.0
Applied.
M
Signature · 5 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/Versal SoCs