arm: dts: rockpro64: Add RockPro64 smbios
PATCH 1/1 arm: dts: rockpro64: Add RockPro64 smbios
--- arch/arm/dts/rk3399-rockpro64.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
arch/arm/dts/rk3399-rockpro64.dtsi +20 -0
@@ -20,6 +20,26 @@ stdout-path = "serial2:1500000n8"; }; + smbios { + compatible = "u-boot,sysinfo-smbios"; + smbios { + system { + manufacturer = "PINE64"; + product = "RockPro64"; + }; + + baseboard { + manufacturer = "PINE64"; + product = "RockPro64"; + }; + + chassis { + manufacturer = "PINE64"; + product = "RockPro64"; + }; + }; + }; + clkin_gmac: external-gmac-clock { compatible = "fixed-clock"; clock-frequency = <125000000>;
Signature · 1 line
2.40.1
Quoted 9 lines · Shantur Rathore
--- arch/arm/dts/rk3399-rockpro64.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)arch/arm/dts/rk3399-rockpro64.dtsi +0
-0
arch/arm/dts/rk3399-rockpro64.dtsi line 24
Quoted 5 lines
arch/arm/dts/rk3399-rockpro64.dtsi +2
-0@@ -20,6 +20,26 @@ stdout-path = "serial2:1500000n8"; }; + smbios { + compatible = "u-boot,sysinfo-smbios";
This needs to be in a -u-boot.dtsi file.
Signature · 1 line
Tom
PATCH 1/1 arm: dts: rockpro64: Add RockPro64 smbios
In reply to Shantur Rathore--- arch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
arch/arm/dts/rk3399-rockpro64-u-boot.dtsi +22 -0
@@ -9,6 +9,28 @@ chosen { u-boot,spl-boot-order = "same-as-spl", &spi_flash, &sdmmc, &sdhci; }; + + smbios { + compatible = "u-boot,sysinfo-smbios"; + smbios { + system { + manufacturer = "PINE64"; + product = "RockPro64"; + }; + + baseboard { + manufacturer = "PINE64"; + product = "RockPro64"; + }; + + chassis { + manufacturer = "PINE64"; + product = "RockPro64"; + }; + }; + }; + + }; &sdhci {
Signature · 1 line
2.40.1
PATCH v3 1/1 arm: dts: rockpro64: Add RockPro64 smbios
In reply to Shantur RathoreAdd smbios information for Pine64 RockPro64 board and enable in config
---
Changes v3: Enable SYSINFO and SYSINFO_SMBIOS in defconfig
arch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 22 ++++++++++++++++++++++ configs/rockpro64-rk3399_defconfig | 2 ++ 2 files changed, 24 insertions(+)
arch/arm/dts/rk3399-rockpro64-u-boot.dtsi +22 -0
@@ -9,6 +9,28 @@ chosen { u-boot,spl-boot-order = "same-as-spl", &spi_flash, &sdmmc, &sdhci; }; + + smbios { + compatible = "u-boot,sysinfo-smbios"; + smbios { + system { + manufacturer = "PINE64"; + product = "RockPro64"; + }; + + baseboard { + manufacturer = "PINE64"; + product = "RockPro64"; + }; + + chassis { + manufacturer = "PINE64"; + product = "RockPro64"; + }; + }; + }; + + }; &sdhci {
configs/rockpro64-rk3399_defconfig +2 -0
@@ -90,6 +90,8 @@ CONFIG_BAUDRATE=1500000 CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYS_NS16550_MEM32=y CONFIG_ROCKCHIP_SPI=y +CONFIG_SYSINFO=y +CONFIG_SYSINFO_SMBIOS=y CONFIG_SYSRESET=y CONFIG_USB=y CONFIG_USB_XHCI_HCD=y
Signature · 1 line
2.40.1
Quoted 33 lines · Shantur Rathore
Add smbios information for Pine64 RockPro64 board and enable in config
Signed-off-by Shantur Rathore <[email protected]>---
Changes v3: Enable SYSINFO andSYSINFO_SMBIOSin defconfigarch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 22 ++++++++++++++++++++++ configs/rockpro64-rk3399_defconfig | 2 ++ 2 files changed, 24 insertions(+)arch/arm/dts/rk3399-rockpro64-u-boot.dtsi +13
-0@@ -9,6 +9,28 @@ chosen { u-boot,spl-boot-order = "same-as-spl", &spi_flash, &sdmmc, &sdhci; }; + + smbios { + compatible = "u-boot,sysinfo-smbios"; + smbios { + system { + manufacturer = "PINE64"; + product = "RockPro64"; + }; + + baseboard { + manufacturer = "PINE64"; + product = "RockPro64"; + };
arch/arm/dts/rk3399-rockpro64-u-boot.dtsi line 34
Quoted 10 lines
arch/arm/dts/rk3399-rockpro64-u-boot.dtsi +9
-0+ + chassis { + manufacturer = "PINE64"; + product = "RockPro64"; + }; + }; + }; + + };
Perhaps it would be better to use "Pine64" instead of "PINE64", because "Pine64" is already used in multiple places. Also, it might be better to use "ROCKPro64" instead of "RockPro64", because that's actually the official name of the board, but I'm also perfectly fine with "RockPro64".
Quoted 15 lines
arch/arm/dts/rk3399-rockpro64-u-boot.dtsi +0
-0&sdhci {configs/rockpro64-rk3399_defconfig +2
-0@@ -90,6 +90,8 @@ CONFIG_BAUDRATE=1500000 CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYS_NS16550_MEM32=y CONFIG_ROCKCHIP_SPI=y +CONFIG_SYSINFO=y +CONFIG_SYSINFO_SMBIOS=y CONFIG_SYSRESET=y CONFIG_USB=y CONFIG_USB_XHCI_HCD=y
PATCH v4 1/1 arm: dts: rockpro64: Add RockPro64 smbios
Add smbios information for Pine64 RockPro64 board and enable in config
---
Changes
v4: Change PINE64 to Pine64
v3: Enable SYSINFO and SYSINFO_SMBIOS in defconfig
arch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 22 ++++++++++++++++++++++ configs/rockpro64-rk3399_defconfig | 2 ++ 2 files changed, 24 insertions(+)
arch/arm/dts/rk3399-rockpro64-u-boot.dtsi +22 -0
@@ -9,6 +9,28 @@ chosen { u-boot,spl-boot-order = "same-as-spl", &spi_flash, &sdmmc, &sdhci; }; + + smbios { + compatible = "u-boot,sysinfo-smbios"; + smbios { + system { + manufacturer = "Pine64"; + product = "RockPro64"; + }; + + baseboard { + manufacturer = "Pine64"; + product = "RockPro64"; + }; + + chassis { + manufacturer = "Pine64"; + product = "RockPro64"; + }; + }; + }; + + }; &sdhci {
configs/rockpro64-rk3399_defconfig +2 -0
@@ -90,6 +90,8 @@ CONFIG_BAUDRATE=1500000 CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYS_NS16550_MEM32=y CONFIG_ROCKCHIP_SPI=y +CONFIG_SYSINFO=y +CONFIG_SYSINFO_SMBIOS=y CONFIG_SYSRESET=y CONFIG_USB=y CONFIG_USB_XHCI_HCD=y
Signature · 1 line
2.40.1
Hi,
Quoted 61 lines · Shantur Rathore
Add smbios information for Pine64 RockPro64 board and enable in config
Signed-off-by Shantur Rathore <[email protected]>---
Changes
v4: Change PINE64 to Pine64
v3: Enable SYSINFO andSYSINFO_SMBIOSin defconfigarch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 22 ++++++++++++++++++++++ configs/rockpro64-rk3399_defconfig | 2 ++ 2 files changed, 24 insertions(+)arch/arm/dts/rk3399-rockpro64-u-boot.dtsi +22
-0@@ -9,6 +9,28 @@ chosen { u-boot,spl-boot-order = "same-as-spl", &spi_flash, &sdmmc, &sdhci; }; + + smbios { + compatible = "u-boot,sysinfo-smbios"; + smbios { + system { + manufacturer = "Pine64"; + product = "RockPro64"; + }; + + baseboard { + manufacturer = "Pine64"; + product = "RockPro64"; + }; + + chassis { + manufacturer = "Pine64"; + product = "RockPro64"; + }; + }; + }; + + }; &sdhci {configs/rockpro64-rk3399_defconfig +2
-1@@ -90,6 +90,8 @@ CONFIG_BAUDRATE=1500000 CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYS_NS16550_MEM32=y CONFIG_ROCKCHIP_SPI=y +CONFIG_SYSINFO=y +CONFIG_SYSINFO_SMBIOS=y CONFIG_SYSRESET=y CONFIG_USB=y CONFIG_USB_XHCI_HCD=y --
Quoted 2 lines
2.40.1
Can this please be merged if no changes are required?
[0] - https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
Kind regards,
Shantur
Quoted 69 lines · Shantur Rathore
Hi,
Quoted 61 lines · Shantur Rathore
Add smbios information for Pine64 RockPro64 board and enable in config
Signed-off-by Shantur Rathore <[email protected]>---
Changes
v4: Change PINE64 to Pine64
v3: Enable SYSINFO andSYSINFO_SMBIOSin defconfigarch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 22 ++++++++++++++++++++++ configs/rockpro64-rk3399_defconfig | 2 ++ 2 files changed, 24 insertions(+)arch/arm/dts/rk3399-rockpro64-u-boot.dtsi +22
-0@@ -9,6 +9,28 @@ chosen { u-boot,spl-boot-order = "same-as-spl", &spi_flash, &sdmmc, &sdhci; }; + + smbios { + compatible = "u-boot,sysinfo-smbios"; + smbios { + system { + manufacturer = "Pine64"; + product = "RockPro64"; + }; + + baseboard { + manufacturer = "Pine64"; + product = "RockPro64"; + }; + + chassis { + manufacturer = "Pine64"; + product = "RockPro64"; + }; + }; + }; + + }; &sdhci {configs/rockpro64-rk3399_defconfig +2
-1@@ -90,6 +90,8 @@ CONFIG_BAUDRATE=1500000 CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYS_NS16550_MEM32=y CONFIG_ROCKCHIP_SPI=y +CONFIG_SYSINFO=y +CONFIG_SYSINFO_SMBIOS=y CONFIG_SYSRESET=y CONFIG_USB=y CONFIG_USB_XHCI_HCD=y --Quoted 2 lines
2.40.1
Can this please be merged if no changes are required?
Quoted 1 line
[0] - https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
Yes, we should just defer this and pickup the SMBIOS series that Ilias has posted.
Signature · 1 line
Tom
Simon Glass
Reviewed-byHi Tom,
Quoted 71 lines · Tom Rini
Quoted 69 lines · Shantur Rathore
Hi,
Quoted 61 lines · Shantur Rathore
Add smbios information for Pine64 RockPro64 board and enable in config
Signed-off-by Shantur Rathore <[email protected]>---
Changes
v4: Change PINE64 to Pine64
v3: Enable SYSINFO andSYSINFO_SMBIOSin defconfigarch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 22 ++++++++++++++++++++++ configs/rockpro64-rk3399_defconfig | 2 ++ 2 files changed, 24 insertions(+)arch/arm/dts/rk3399-rockpro64-u-boot.dtsi +22
-0@@ -9,6 +9,28 @@ chosen { u-boot,spl-boot-order = "same-as-spl", &spi_flash, &sdmmc, &sdhci; }; + + smbios { + compatible = "u-boot,sysinfo-smbios"; + smbios { + system { + manufacturer = "Pine64"; + product = "RockPro64"; + }; + + baseboard { + manufacturer = "Pine64"; + product = "RockPro64"; + }; + + chassis { + manufacturer = "Pine64"; + product = "RockPro64"; + }; + }; + }; + + }; &sdhci {configs/rockpro64-rk3399_defconfig +2
-1@@ -90,6 +90,8 @@ CONFIG_BAUDRATE=1500000 CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYS_NS16550_MEM32=y CONFIG_ROCKCHIP_SPI=y +CONFIG_SYSINFO=y +CONFIG_SYSINFO_SMBIOS=y CONFIG_SYSRESET=y CONFIG_USB=y CONFIG_USB_XHCI_HCD=y --Quoted 2 lines
2.40.1
Can this please be merged if no changes are required?
Quoted 4 lines
Quoted 1 line
[0] - https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
Yes, we should just defer this and pickup the SMBIOS series that Ilias has posted.
I don't think it is a suitable substitute, it is just a fallback.
So I believe this patch should be applied.
Regards,
Simon
Quoted 38 lines · Simon Glass
Hi Tom,
Quoted 35 lines · Tom Rini
Quoted 33 lines · Shantur Rathore
Hi,
Quoted 30 lines · Shantur Rathore
Add smbios information for Pine64 RockPro64 board and enable in config
Signed-off-by Shantur Rathore <[email protected]>---
Changes
v4: Change PINE64 to Pine64
v3: Enable SYSINFO andSYSINFO_SMBIOSin defconfigarch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 22 ++++++++++++++++++++++ configs/rockpro64-rk3399_defconfig | 2 ++ 2 files changed, 24 insertions(+)arch/arm/dts/rk3399-rockpro64-u-boot.dtsi +8
-0@@ -9,6 +9,28 @@ chosen { u-boot,spl-boot-order = "same-as-spl", &spi_flash, &sdmmc, &sdhci; }; + + smbios { + compatible = "u-boot,sysinfo-smbios"; + smbios { + system { + manufacturer = "Pine64"; + product = "RockPro64"; + };
[snip]
Quoted 6 lines
Quoted 2 lines
Yes, we should just defer this and pickup the SMBIOS series that Ilias has posted.
I don't think it is a suitable substitute, it is just a fallback.
So I believe this patch should be applied.
Please note that this patch is adding _less_ details than the top-level model field contains today for the platform. The only difference is "Pine64" vs "pine64".
Signature · 1 line
Tom
Hi Tom,
Quoted 44 lines · Tom Rini
Quoted 38 lines · Simon Glass
Hi Tom,
Quoted 35 lines · Tom Rini
Quoted 33 lines · Shantur Rathore
Hi,
Quoted 30 lines · Shantur Rathore
Add smbios information for Pine64 RockPro64 board and enable in config
Signed-off-by Shantur Rathore <[email protected]>---
Changes
v4: Change PINE64 to Pine64
v3: Enable SYSINFO andSYSINFO_SMBIOSin defconfigarch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 22 ++++++++++++++++++++++ configs/rockpro64-rk3399_defconfig | 2 ++ 2 files changed, 24 insertions(+)arch/arm/dts/rk3399-rockpro64-u-boot.dtsi +8
-0@@ -9,6 +9,28 @@ chosen { u-boot,spl-boot-order = "same-as-spl", &spi_flash, &sdmmc, &sdhci; }; + + smbios { + compatible = "u-boot,sysinfo-smbios"; + smbios { + system { + manufacturer = "Pine64"; + product = "RockPro64"; + };[snip]
Quoted 3 lines
Quoted 2 lines
Yes, we should just defer this and pickup the SMBIOS series that Ilias has posted.
Quoted 7 lines
Quoted 3 lines
I don't think it is a suitable substitute, it is just a fallback.
So I believe this patch should be applied.
Please note that this patch is adding _less_ details than the top-level model field contains today for the platform. The only difference is "Pine64" vs "pine64".
The top-level model is "Pine64 RockPro64 v2.1", I believe. But:
- the first part of that is the manufacturer, not the product
- the second part is what we have in this patch
- the third part is the version
SMBIOS tries to split things up into separate fields.
So, perhaps a new version of this patch could add:
system {
version = "2.1";
};Regards,
Simon
Hi,
Quoted 62 lines · Simon Glass
Hi Tom,
Quoted 44 lines · Tom Rini
Quoted 38 lines · Simon Glass
Hi Tom,
Quoted 35 lines · Tom Rini
Quoted 33 lines · Shantur Rathore
Hi,
Quoted 30 lines · Shantur Rathore
Add smbios information for Pine64 RockPro64 board and enable in config
Signed-off-by Shantur Rathore <[email protected]>---
Changes
v4: Change PINE64 to Pine64
v3: Enable SYSINFO andSYSINFO_SMBIOSin defconfigarch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 22 ++++++++++++++++++++++ configs/rockpro64-rk3399_defconfig | 2 ++ 2 files changed, 24 insertions(+)arch/arm/dts/rk3399-rockpro64-u-boot.dtsi +8
-0@@ -9,6 +9,28 @@ chosen { u-boot,spl-boot-order = "same-as-spl", &spi_flash, &sdmmc, &sdhci; }; + + smbios { + compatible = "u-boot,sysinfo-smbios"; + smbios { + system { + manufacturer = "Pine64"; + product = "RockPro64"; + };[snip]
Quoted 3 lines
Quoted 2 lines
Yes, we should just defer this and pickup the SMBIOS series that Ilias has posted.
Quoted 7 lines
Quoted 3 lines
I don't think it is a suitable substitute, it is just a fallback.
So I believe this patch should be applied.
Please note that this patch is adding _less_ details than the top-level model field contains today for the platform. The only difference is "Pine64" vs "pine64".
The top-level model is "Pine64 RockPro64 v2.1", I believe. But:
- the first part of that is the manufacturer, not the product
- the second part is what we have in this patch
- the third part is the version
Quoted 8 lines
SMBIOS tries to split things up into separate fields.
So, perhaps a new version of this patch could add:
system { version = "2.1"; };
I can add the above or any more details needed to a new patch Will that be enough to make it merge-able
Kind regards,
Shantur
Hi Shantur,
Quoted 70 lines · Shantur Rathore
Hi,
Quoted 66 lines · Simon Glass
Hi Tom,
Quoted 44 lines · Tom Rini
Quoted 38 lines · Simon Glass
Hi Tom,
Quoted 35 lines · Tom Rini
Quoted 33 lines · Shantur Rathore
Hi,
Quoted 30 lines · Shantur Rathore
Add smbios information for Pine64 RockPro64 board and enable in config
Signed-off-by Shantur Rathore <[email protected]>---
Changes
v4: Change PINE64 to Pine64
v3: Enable SYSINFO andSYSINFO_SMBIOSin defconfigarch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 22 ++++++++++++++++++++++ configs/rockpro64-rk3399_defconfig | 2 ++ 2 files changed, 24 insertions(+)arch/arm/dts/rk3399-rockpro64-u-boot.dtsi +8
-0@@ -9,6 +9,28 @@ chosen { u-boot,spl-boot-order = "same-as-spl", &spi_flash, &sdmmc, &sdhci; }; + + smbios { + compatible = "u-boot,sysinfo-smbios"; + smbios { + system { + manufacturer = "Pine64"; + product = "RockPro64"; + };[snip]
Quoted 3 lines
Quoted 2 lines
Yes, we should just defer this and pickup the SMBIOS series that Ilias has posted.
Quoted 7 lines
Quoted 3 lines
I don't think it is a suitable substitute, it is just a fallback.
So I believe this patch should be applied.
Please note that this patch is adding _less_ details than the top-level model field contains today for the platform. The only difference is "Pine64" vs "pine64".
The top-level model is "Pine64 RockPro64 v2.1", I believe. But:
- the first part of that is the manufacturer, not the product
- the second part is what we have in this patch
- the third part is the versionSMBIOS tries to split things up into separate fields.
So, perhaps a new version of this patch could add:
Quoted 7 lines
Quoted 4 lines
system { version = "2.1"; };I can add the above or any more details needed to a new patch Will that be enough to make it merge-able
From my POV, yes. Having dug into this a bit, patches like this are the only way we can get authoritative SMBIOS data. There are various user-space workarounds, but these should not cause any problems.
Regards,
Simon
Quoted 4 lines · Shantur Rathore
Add smbios information for Pine64 RockPro64 board and enable in config
Signed-off-by Shantur Rathore <[email protected]>
Thanks,
- Kever
Quoted 55 lines
---
Changes
v4: Change PINE64 to Pine64
v3: Enable SYSINFO andSYSINFO_SMBIOSin defconfigarch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 22 ++++++++++++++++++++++ configs/rockpro64-rk3399_defconfig | 2 ++ 2 files changed, 24 insertions(+)arch/arm/dts/rk3399-rockpro64-u-boot.dtsi +22
-0@@ -9,6 +9,28 @@ chosen { u-boot,spl-boot-order = "same-as-spl", &spi_flash, &sdmmc, &sdhci; }; + + smbios { + compatible = "u-boot,sysinfo-smbios"; + smbios { + system { + manufacturer = "Pine64"; + product = "RockPro64"; + }; + + baseboard { + manufacturer = "Pine64"; + product = "RockPro64"; + }; + + chassis { + manufacturer = "Pine64"; + product = "RockPro64"; + }; + }; + }; + + }; &sdhci {configs/rockpro64-rk3399_defconfig +2
-0@@ -90,6 +90,8 @@ CONFIG_BAUDRATE=1500000 CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYS_NS16550_MEM32=y CONFIG_ROCKCHIP_SPI=y +CONFIG_SYSINFO=y +CONFIG_SYSINFO_SMBIOS=y CONFIG_SYSRESET=y CONFIG_USB=y CONFIG_USB_XHCI_HCD=y