* [PATCH 0/3] ARM: bitmain: Extend bitmain S9 board
@ 2021-03-22 14:48 Michal Simek
2021-03-22 14:48 ` [PATCH 1/3] ARM: bitmain: Enable nand and smcc drivers Michal Simek
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Michal Simek @ 2021-03-22 14:48 UTC (permalink / raw)
To: u-boot
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(+)
--
2.31.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/3] ARM: bitmain: Enable nand and smcc drivers
2021-03-22 14:48 [PATCH 0/3] ARM: bitmain: Extend bitmain S9 board Michal Simek
@ 2021-03-22 14:48 ` Michal Simek
2021-03-22 14:48 ` [PATCH 2/3] ARM: bitmain: Enable legacy u-boot format Michal Simek
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Michal Simek @ 2021-03-22 14:48 UTC (permalink / raw)
To: u-boot
Enable nand and smcc via DT.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
arch/arm/dts/bitmain-antminer-s9.dts | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/dts/bitmain-antminer-s9.dts b/arch/arm/dts/bitmain-antminer-s9.dts
index 7362ad4e8f99..0694350555f5 100644
--- a/arch/arm/dts/bitmain-antminer-s9.dts
+++ b/arch/arm/dts/bitmain-antminer-s9.dts
@@ -50,6 +50,14 @@
ps-clk-frequency = <33333333>;
};
+&nand0 {
+ status = "okay";
+};
+
+&smcc {
+ status = "okay";
+};
+
&gem0 {
status = "okay";
phy-mode = "rgmii-id";
--
2.31.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/3] ARM: bitmain: Enable legacy u-boot format
2021-03-22 14:48 [PATCH 0/3] ARM: bitmain: Extend bitmain S9 board Michal Simek
2021-03-22 14:48 ` [PATCH 1/3] ARM: bitmain: Enable nand and smcc drivers Michal Simek
@ 2021-03-22 14:48 ` Michal Simek
2021-03-22 14:48 ` [PATCH 3/3] ARM: bitmain: Enable saving variables to SD card Michal Simek
2021-03-30 7:26 ` [PATCH 0/3] ARM: bitmain: Extend bitmain S9 board Michal Simek
3 siblings, 0 replies; 5+ messages in thread
From: Michal Simek @ 2021-03-22 14:48 UTC (permalink / raw)
To: u-boot
Still legacy formats are used that's why enable them by default.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
configs/bitmain_antminer_s9_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/bitmain_antminer_s9_defconfig b/configs/bitmain_antminer_s9_defconfig
index f9904483919a..ea21a5e1e5c6 100644
--- a/configs/bitmain_antminer_s9_defconfig
+++ b/configs/bitmain_antminer_s9_defconfig
@@ -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
--
2.31.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/3] ARM: bitmain: Enable saving variables to SD card
2021-03-22 14:48 [PATCH 0/3] ARM: bitmain: Extend bitmain S9 board Michal Simek
2021-03-22 14:48 ` [PATCH 1/3] ARM: bitmain: Enable nand and smcc drivers Michal Simek
2021-03-22 14:48 ` [PATCH 2/3] ARM: bitmain: Enable legacy u-boot format Michal Simek
@ 2021-03-22 14:48 ` Michal Simek
2021-03-30 7:26 ` [PATCH 0/3] ARM: bitmain: Extend bitmain S9 board Michal Simek
3 siblings, 0 replies; 5+ messages in thread
From: Michal Simek @ 2021-03-22 14:48 UTC (permalink / raw)
To: u-boot
Board has NAND and SD interfaces which can be used for saving variables
too.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
Based on "xilinx: zynq: Add support for saving env based on bootmode"
---
configs/bitmain_antminer_s9_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/bitmain_antminer_s9_defconfig b/configs/bitmain_antminer_s9_defconfig
index ea21a5e1e5c6..76cccfa586c5 100644
--- a/configs/bitmain_antminer_s9_defconfig
+++ b/configs/bitmain_antminer_s9_defconfig
@@ -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
--
2.31.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 0/3] ARM: bitmain: Extend bitmain S9 board
2021-03-22 14:48 [PATCH 0/3] ARM: bitmain: Extend bitmain S9 board Michal Simek
` (2 preceding siblings ...)
2021-03-22 14:48 ` [PATCH 3/3] ARM: bitmain: Enable saving variables to SD card Michal Simek
@ 2021-03-30 7:26 ` Michal Simek
3 siblings, 0 replies; 5+ messages in thread
From: Michal Simek @ 2021-03-30 7:26 UTC (permalink / raw)
To: u-boot
po 22. 3. 2021 v 15:48 odes?latel Michal Simek <michal.simek@xilinx.com> napsal:
>
> 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(+)
>
> --
> 2.31.0
>
Applied.
M
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-03-30 7:26 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-22 14:48 [PATCH 0/3] ARM: bitmain: Extend bitmain S9 board Michal Simek
2021-03-22 14:48 ` [PATCH 1/3] ARM: bitmain: Enable nand and smcc drivers Michal Simek
2021-03-22 14:48 ` [PATCH 2/3] ARM: bitmain: Enable legacy u-boot format Michal Simek
2021-03-22 14:48 ` [PATCH 3/3] ARM: bitmain: Enable saving variables to SD card Michal Simek
2021-03-30 7:26 ` [PATCH 0/3] ARM: bitmain: Extend bitmain S9 board Michal Simek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox