* [PATCH v5 0/5] arm: dts: qcom-ipq5018-linksys-jamaica: Include dts from arm64
@ 2024-10-02 23:27 Karl Chan
2024-10-02 23:28 ` [PATCH v5 1/5] dt-bindings: arm: qcom: add Linksys EA9350 V3 Karl Chan
` (4 more replies)
0 siblings, 5 replies; 15+ messages in thread
From: Karl Chan @ 2024-10-02 23:27 UTC (permalink / raw)
To: linux-arm-msm
Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, mturquette,
sboyd, linus.walleij, devicetree, linux-kernel, linux-clk,
linux-gpio, Karl Chan
Add device tree source for Linksys EA9350 V3 which is a WiFi router based on the IPQ5018 SoC.
As of now , only the UART,USB,USB LED,buttons is working.The front PWM LED require the IPQ PWM driver.Therefore the PWM LED isn't configed in the tree.
Also The original firmware from Linksys can only boot ARM32 kernels.
As of now There seems to be no way to boot ARM64 kernels on those device.
However, it is possible to use this device tree by compiling an ARM32 kernel instead.
Signed-off-by: Karl Chan <exxxxkc@getgoogleoff.me>
---
Changes in v5:
- drop all fake tags as Krzysztof Kozlowski pointed out
- (It was my bad i thought i dropped all the tag but i missed one that
in the cover letter)
- Link to v4:
https://lore.kernel.org/linux-arm-msm/20241002162812.31606-2-exxxxkc@getgoogleoff.me/T/#t
Changes in v4:
- drop all fake tags as Krzysztof Kozlowski pointed out
- Link to v3: https://lore.kernel.org/linux-arm-msm/20241002152419.30364-1-exxxxkc@getgoogleoff.me/T/#t
Changes in v3:
- Add 2 commit that I forgot to send in v1/2.
- Link to v2: https://lore.kernel.org/linux-arm-msm/20241002132302.31608-1-exxxxkc@getgoogleoff.me/T/#t
Changes in v2:
- reorder the properties in the tree to follow the
usual order pointed out by Krzysztof Kozlowski
- Add the missing word to the cover letter
- Link to v1: https://lore.kernel.org/linux-arm-msm/20241002120804.25068-1-exxxxkc@getgoogleoff.me/T/#t
---
Karl Chan (5):
dt-bindings: arm: qcom: add Linksys EA9350 V3
arm64: dts: qcom: add Linksys EA9350 V3
clk: qcom: ipq5018: allow it to be bulid on arm32
pinctrl: qcom: ipq5018: allow it to be bulid on arm32
arm: dts: qcom-ipq5018-linksys-jamaica: Include dts from arm64
.../devicetree/bindings/arm/qcom.yaml | 1 +
arch/arm/boot/dts/qcom/Makefile | 1 +
.../dts/qcom/qcom-ipq5018-linksys-jamaica.dts | 2 +
arch/arm64/boot/dts/qcom/Makefile | 1 +
.../boot/dts/qcom/ipq5018-linksys-jamaica.dts | 107 ++++++++++++++++++
drivers/clk/qcom/Kconfig | 2 +-
drivers/pinctrl/qcom/Kconfig.msm | 2 +-
7 files changed, 114 insertions(+), 2 deletions(-)
create mode 100644 arch/arm/boot/dts/qcom/qcom-ipq5018-linksys-jamaica.dts
create mode 100644 arch/arm64/boot/dts/qcom/ipq5018-linksys-jamaica.dts
--
2.46.1
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH v5 1/5] dt-bindings: arm: qcom: add Linksys EA9350 V3
2024-10-02 23:27 [PATCH v5 0/5] arm: dts: qcom-ipq5018-linksys-jamaica: Include dts from arm64 Karl Chan
@ 2024-10-02 23:28 ` Karl Chan
2024-10-03 7:28 ` Krzysztof Kozlowski
2024-10-02 23:28 ` [PATCH v5 2/5] arm64: dts: " Karl Chan
` (3 subsequent siblings)
4 siblings, 1 reply; 15+ messages in thread
From: Karl Chan @ 2024-10-02 23:28 UTC (permalink / raw)
To: linux-arm-msm
Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, mturquette,
sboyd, linus.walleij, devicetree, linux-kernel, linux-clk,
linux-gpio, Karl Chan
Document linksys,jamaica for Linksys EA9350 V3.
Signed-off-by: Karl Chan <exxxxkc@getgoogleoff.me>
---
Documentation/devicetree/bindings/arm/qcom.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml
index 5cb54d69af0b..98dc4819a5a2 100644
--- a/Documentation/devicetree/bindings/arm/qcom.yaml
+++ b/Documentation/devicetree/bindings/arm/qcom.yaml
@@ -338,6 +338,7 @@ properties:
- items:
- enum:
+ - linksys,jamaica
- qcom,ipq5018-rdp432-c2
- tplink,archer-ax55-v1
- const: qcom,ipq5018
--
2.46.1
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH v5 2/5] arm64: dts: qcom: add Linksys EA9350 V3
2024-10-02 23:27 [PATCH v5 0/5] arm: dts: qcom-ipq5018-linksys-jamaica: Include dts from arm64 Karl Chan
2024-10-02 23:28 ` [PATCH v5 1/5] dt-bindings: arm: qcom: add Linksys EA9350 V3 Karl Chan
@ 2024-10-02 23:28 ` Karl Chan
2024-12-30 14:48 ` Konrad Dybcio
2024-10-02 23:28 ` [PATCH v5 3/5] clk: qcom: ipq5018: allow it to be bulid on arm32 Karl Chan
` (2 subsequent siblings)
4 siblings, 1 reply; 15+ messages in thread
From: Karl Chan @ 2024-10-02 23:28 UTC (permalink / raw)
To: linux-arm-msm
Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, mturquette,
sboyd, linus.walleij, devicetree, linux-kernel, linux-clk,
linux-gpio, Karl Chan
Add device tree source for Linksys EA9350 V3 which is a WiFi router based on the IPQ5018 SoC.
As of now , only the UART,USB,USB LED,buttons is working.The front PWM LED require the IPQ PWM driver.Therefore the PWM LED isn't configed in the tree.
Also The original firmware from Linksys can only boot ARM32 kernels.
As of now There seems to be no way to boot ARM64 kernels on those device.
However, it is possible to use this device tree by compiling an ARM32 kernel instead.
Signed-off-by: Karl Chan <exxxxkc@getgoogleoff.me>
---
arch/arm64/boot/dts/qcom/Makefile | 1 +
.../boot/dts/qcom/ipq5018-linksys-jamaica.dts | 107 ++++++++++++++++++
2 files changed, 108 insertions(+)
create mode 100644 arch/arm64/boot/dts/qcom/ipq5018-linksys-jamaica.dts
diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index ae002c7cf126..5c6fac2cc8c5 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -10,6 +10,7 @@ dtb-$(CONFIG_ARCH_QCOM) += apq8039-t2.dtb
dtb-$(CONFIG_ARCH_QCOM) += apq8094-sony-xperia-kitakami-karin_windy.dtb
dtb-$(CONFIG_ARCH_QCOM) += apq8096-db820c.dtb
dtb-$(CONFIG_ARCH_QCOM) += apq8096-ifc6640.dtb
+dtb-$(CONFIG_ARCH_QCOM) += ipq5018-linksys-jamaica.dtb
dtb-$(CONFIG_ARCH_QCOM) += ipq5018-rdp432-c2.dtb
dtb-$(CONFIG_ARCH_QCOM) += ipq5018-tplink-archer-ax55-v1.dtb
dtb-$(CONFIG_ARCH_QCOM) += ipq5332-rdp441.dtb
diff --git a/arch/arm64/boot/dts/qcom/ipq5018-linksys-jamaica.dts b/arch/arm64/boot/dts/qcom/ipq5018-linksys-jamaica.dts
new file mode 100644
index 000000000000..2fe18733f9ca
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/ipq5018-linksys-jamaica.dts
@@ -0,0 +1,107 @@
+// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
+
+/dts-v1/;
+
+/*
+ * NOTE: The original firmware from Linksys can only boot ARM32 kernels.
+ *
+ * As of now There seems to be no way to boot ARM64 kernels on those device.
+ *
+ * However, it is possible to use this device tree by compiling an ARM32 kernel
+ * instead. For clarity and build testing this device tree is maintained next
+ * to the other IPQ5018 device trees. However, it is actually used through
+ * arch/arm/boot/dts/qcom/qcom-ipq5018-linksys-jamaica.dts
+ */
+
+#include "ipq5018.dtsi"
+#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
+#include <dt-bindings/gpio/gpio.h>
+
+
+/ {
+ model = "Linksys EA9350 V3";
+ compatible = "linksys,jamaica", "qcom,ipq5018";
+
+ aliases {
+ serial0 = &blsp1_uart1;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+
+ gpio-keys {
+ compatible = "gpio-keys";
+ pinctrl-0 = <&button_pins>;
+ pinctrl-names = "default";
+
+ button-0 {
+ label = "reset";
+ linux,code = <KEY_RESTART>;
+ gpios = <&tlmm 28 GPIO_ACTIVE_LOW>;
+ debounce-interval = <60>;
+ };
+
+ button-1 {
+ label = "wps";
+ linux,code = <KEY_WPS_BUTTON>;
+ gpios = <&tlmm 27 GPIO_ACTIVE_LOW>;
+ debounce-interval = <60>;
+ };
+ };
+
+ leds {
+ compatible = "gpio-leds";
+ pinctrl-0 = <&led_pins>;
+ pinctrl-names = "default";
+
+ led-0 {
+ color = <LED_COLOR_ID_WHITE>;
+ function = LED_FUNCTION_USB;
+ gpios = <&tlmm 19 GPIO_ACTIVE_HIGH>;
+ };
+ };
+};
+
+&blsp1_uart1 {
+ pinctrl-0 = <&uart1_pins>;
+ pinctrl-names = "default";
+ status = "okay";
+};
+
+&sleep_clk {
+ clock-frequency = <32000>;
+};
+
+&tlmm {
+ button_pins: button-pins-state {
+ pins = "gpio27", "gpio28";
+ function = "gpio";
+ drive-strength = <8>;
+ bias-pull-up;
+ };
+
+ led_pins: led-pins-state {
+ pins = "gpio19";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-disable;
+ };
+};
+
+&usb {
+ status = "okay";
+};
+
+&usb_dwc {
+ dr_mode = "host";
+};
+
+&usbphy0 {
+ status = "okay";
+};
+
+&xo_board_clk {
+ clock-frequency = <24000000>;
+};
--
2.46.1
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH v5 3/5] clk: qcom: ipq5018: allow it to be bulid on arm32
2024-10-02 23:27 [PATCH v5 0/5] arm: dts: qcom-ipq5018-linksys-jamaica: Include dts from arm64 Karl Chan
2024-10-02 23:28 ` [PATCH v5 1/5] dt-bindings: arm: qcom: add Linksys EA9350 V3 Karl Chan
2024-10-02 23:28 ` [PATCH v5 2/5] arm64: dts: " Karl Chan
@ 2024-10-02 23:28 ` Karl Chan
2024-10-02 23:28 ` [PATCH v5 4/5] pinctrl: " Karl Chan
2024-10-02 23:28 ` [PATCH v5 5/5] arm: dts: qcom-ipq5018-linksys-jamaica: Include dts from arm64 Karl Chan
4 siblings, 0 replies; 15+ messages in thread
From: Karl Chan @ 2024-10-02 23:28 UTC (permalink / raw)
To: linux-arm-msm
Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, mturquette,
sboyd, linus.walleij, devicetree, linux-kernel, linux-clk,
linux-gpio, Karl Chan
There are some ipq5018 based device's firmware only can able to boot
arm32 but the clock driver dont allow it to be compiled on
arm32.Therefore this patch needed for those devices.
Signed-off-by: Karl Chan <exxxxkc@getgoogleoff.me>
---
drivers/clk/qcom/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig
index a3e2a09e2105..f13520095cc7 100644
--- a/drivers/clk/qcom/Kconfig
+++ b/drivers/clk/qcom/Kconfig
@@ -199,7 +199,7 @@ config IPQ_GCC_4019
config IPQ_GCC_5018
tristate "IPQ5018 Global Clock Controller"
- depends on ARM64 || COMPILE_TEST
+ depends on ARM || ARM64 || COMPILE_TEST
help
Support for global clock controller on ipq5018 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
--
2.46.1
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH v5 4/5] pinctrl: qcom: ipq5018: allow it to be bulid on arm32
2024-10-02 23:27 [PATCH v5 0/5] arm: dts: qcom-ipq5018-linksys-jamaica: Include dts from arm64 Karl Chan
` (2 preceding siblings ...)
2024-10-02 23:28 ` [PATCH v5 3/5] clk: qcom: ipq5018: allow it to be bulid on arm32 Karl Chan
@ 2024-10-02 23:28 ` Karl Chan
2024-10-04 11:44 ` Linus Walleij
2024-10-02 23:28 ` [PATCH v5 5/5] arm: dts: qcom-ipq5018-linksys-jamaica: Include dts from arm64 Karl Chan
4 siblings, 1 reply; 15+ messages in thread
From: Karl Chan @ 2024-10-02 23:28 UTC (permalink / raw)
To: linux-arm-msm
Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, mturquette,
sboyd, linus.walleij, devicetree, linux-kernel, linux-clk,
linux-gpio, Karl Chan
There are some ipq5018 based device's firmware only can able to boot
arm32 but the pinctrl driver dont allow it to be compiled on
arm32.Therefore this patch needed for those devices.
Signed-off-by: Karl Chan <exxxxkc@getgoogleoff.me>
---
drivers/pinctrl/qcom/Kconfig.msm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/qcom/Kconfig.msm b/drivers/pinctrl/qcom/Kconfig.msm
index 8fe459d082ed..65cec6c50994 100644
--- a/drivers/pinctrl/qcom/Kconfig.msm
+++ b/drivers/pinctrl/qcom/Kconfig.msm
@@ -24,7 +24,7 @@ config PINCTRL_IPQ4019
config PINCTRL_IPQ5018
tristate "Qualcomm Technologies, Inc. IPQ5018 pin controller driver"
- depends on ARM64 || COMPILE_TEST
+ depends on ARM || ARM64 || COMPILE_TEST
help
This is the pinctrl, pinmux, pinconf and gpiolib driver for
the Qualcomm Technologies Inc. TLMM block found on the
--
2.46.1
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH v5 5/5] arm: dts: qcom-ipq5018-linksys-jamaica: Include dts from arm64
2024-10-02 23:27 [PATCH v5 0/5] arm: dts: qcom-ipq5018-linksys-jamaica: Include dts from arm64 Karl Chan
` (3 preceding siblings ...)
2024-10-02 23:28 ` [PATCH v5 4/5] pinctrl: " Karl Chan
@ 2024-10-02 23:28 ` Karl Chan
2024-10-06 20:14 ` Dmitry Baryshkov
4 siblings, 1 reply; 15+ messages in thread
From: Karl Chan @ 2024-10-02 23:28 UTC (permalink / raw)
To: linux-arm-msm
Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, mturquette,
sboyd, linus.walleij, devicetree, linux-kernel, linux-clk,
linux-gpio, Karl Chan
Build the Linksys EA9350 V3 device trees from the arm64 tree together with the ARM32 include to allow booting this device on ARM32.
The approach to include device tree files from other architectures is
inspired from e.g. the Raspberry Pi (bcm2711-rpi-4-b.dts) where this is
used to build the device tree for both ARM32 and ARM64.
Signed-off-by: Karl Chan <exxxxkc@getgoogleoff.me>
---
arch/arm/boot/dts/qcom/Makefile | 1 +
arch/arm/boot/dts/qcom/qcom-ipq5018-linksys-jamaica.dts | 2 ++
2 files changed, 3 insertions(+)
create mode 100644 arch/arm/boot/dts/qcom/qcom-ipq5018-linksys-jamaica.dts
diff --git a/arch/arm/boot/dts/qcom/Makefile b/arch/arm/boot/dts/qcom/Makefile
index f06c6d425e91..147dbeb30a6a 100644
--- a/arch/arm/boot/dts/qcom/Makefile
+++ b/arch/arm/boot/dts/qcom/Makefile
@@ -23,6 +23,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \
qcom-ipq4019-ap.dk04.1-c3.dtb \
qcom-ipq4019-ap.dk07.1-c1.dtb \
qcom-ipq4019-ap.dk07.1-c2.dtb \
+ qcom-ipq5018-linksys-jamaica.dtb \
qcom-ipq8064-ap148.dtb \
qcom-ipq8064-rb3011.dtb \
qcom-msm8226-microsoft-dempsey.dtb \
diff --git a/arch/arm/boot/dts/qcom/qcom-ipq5018-linksys-jamaica.dts b/arch/arm/boot/dts/qcom/qcom-ipq5018-linksys-jamaica.dts
new file mode 100644
index 000000000000..9a6ad767ebd7
--- /dev/null
+++ b/arch/arm/boot/dts/qcom/qcom-ipq5018-linksys-jamaica.dts
@@ -0,0 +1,2 @@
+// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
+#include <arm64/qcom/ipq5018-linksys-jamaica.dts>
--
2.46.1
^ permalink raw reply related [flat|nested] 15+ messages in thread
* Re: [PATCH v5 1/5] dt-bindings: arm: qcom: add Linksys EA9350 V3
2024-10-02 23:28 ` [PATCH v5 1/5] dt-bindings: arm: qcom: add Linksys EA9350 V3 Karl Chan
@ 2024-10-03 7:28 ` Krzysztof Kozlowski
0 siblings, 0 replies; 15+ messages in thread
From: Krzysztof Kozlowski @ 2024-10-03 7:28 UTC (permalink / raw)
To: Karl Chan, linux-arm-msm
Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, mturquette,
sboyd, linus.walleij, devicetree, linux-kernel, linux-clk,
linux-gpio
On 03/10/2024 01:28, Karl Chan wrote:
> Document linksys,jamaica for Linksys EA9350 V3.
>
> Signed-off-by: Karl Chan <exxxxkc@getgoogleoff.me>
> ---
> Documentation/devicetree/bindings/arm/qcom.yaml | 1 +
> 1 file changed, 1 insertion(+)
You received one valid tag. That tag should be added.
In previous versions you added that valid tag and then you added some
fake tags to other patches. I asked to drop the fake tags, not the valid
one.
Can you please read carefully submitting patches document?
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH v5 4/5] pinctrl: qcom: ipq5018: allow it to be bulid on arm32
2024-10-02 23:28 ` [PATCH v5 4/5] pinctrl: " Karl Chan
@ 2024-10-04 11:44 ` Linus Walleij
2024-10-07 15:32 ` Karl Chan
0 siblings, 1 reply; 15+ messages in thread
From: Linus Walleij @ 2024-10-04 11:44 UTC (permalink / raw)
To: Karl Chan, Arnd Bergmann
Cc: linux-arm-msm, andersson, konradybcio, robh, krzk+dt, conor+dt,
mturquette, sboyd, devicetree, linux-kernel, linux-clk,
linux-gpio
On Thu, Oct 3, 2024 at 1:29 AM Karl Chan <exxxxkc@getgoogleoff.me> wrote:
> There are some ipq5018 based device's firmware only can able to boot
> arm32 but the pinctrl driver dont allow it to be compiled on
> arm32.Therefore this patch needed for those devices.
>
> Signed-off-by: Karl Chan <exxxxkc@getgoogleoff.me>
(...)
> - depends on ARM64 || COMPILE_TEST
> + depends on ARM || ARM64 || COMPILE_TEST
Can we get some more context for this?
Is this another one of those cases where the SoC is actually a
64bit core but vendors just choose to run it in 32bit mode because
that is what they want or what is the reason here? AFAIK
IPQ5018 is always Cortex-A53?
I just want to know if this is something we should encourage
or leave out-of-tree.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH v5 5/5] arm: dts: qcom-ipq5018-linksys-jamaica: Include dts from arm64
2024-10-02 23:28 ` [PATCH v5 5/5] arm: dts: qcom-ipq5018-linksys-jamaica: Include dts from arm64 Karl Chan
@ 2024-10-06 20:14 ` Dmitry Baryshkov
2024-10-26 11:38 ` Konrad Dybcio
0 siblings, 1 reply; 15+ messages in thread
From: Dmitry Baryshkov @ 2024-10-06 20:14 UTC (permalink / raw)
To: Karl Chan
Cc: linux-arm-msm, andersson, konradybcio, robh, krzk+dt, conor+dt,
mturquette, sboyd, linus.walleij, devicetree, linux-kernel,
linux-clk, linux-gpio
On Thu, Oct 03, 2024 at 07:28:04AM GMT, Karl Chan wrote:
> Build the Linksys EA9350 V3 device trees from the arm64 tree together with the ARM32 include to allow booting this device on ARM32.
-ETOOLONG. Please wrap the line at 75 chars per line.
While doing it please also add the reason for the change (32-bit
firmware on the router).
>
> The approach to include device tree files from other architectures is
> inspired from e.g. the Raspberry Pi (bcm2711-rpi-4-b.dts) where this is
> used to build the device tree for both ARM32 and ARM64.
>
> Signed-off-by: Karl Chan <exxxxkc@getgoogleoff.me>
> ---
> arch/arm/boot/dts/qcom/Makefile | 1 +
> arch/arm/boot/dts/qcom/qcom-ipq5018-linksys-jamaica.dts | 2 ++
> 2 files changed, 3 insertions(+)
> create mode 100644 arch/arm/boot/dts/qcom/qcom-ipq5018-linksys-jamaica.dts
>
> diff --git a/arch/arm/boot/dts/qcom/Makefile b/arch/arm/boot/dts/qcom/Makefile
> index f06c6d425e91..147dbeb30a6a 100644
> --- a/arch/arm/boot/dts/qcom/Makefile
> +++ b/arch/arm/boot/dts/qcom/Makefile
> @@ -23,6 +23,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \
> qcom-ipq4019-ap.dk04.1-c3.dtb \
> qcom-ipq4019-ap.dk07.1-c1.dtb \
> qcom-ipq4019-ap.dk07.1-c2.dtb \
> + qcom-ipq5018-linksys-jamaica.dtb \
> qcom-ipq8064-ap148.dtb \
> qcom-ipq8064-rb3011.dtb \
> qcom-msm8226-microsoft-dempsey.dtb \
> diff --git a/arch/arm/boot/dts/qcom/qcom-ipq5018-linksys-jamaica.dts b/arch/arm/boot/dts/qcom/qcom-ipq5018-linksys-jamaica.dts
> new file mode 100644
> index 000000000000..9a6ad767ebd7
> --- /dev/null
> +++ b/arch/arm/boot/dts/qcom/qcom-ipq5018-linksys-jamaica.dts
> @@ -0,0 +1,2 @@
> +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
> +#include <arm64/qcom/ipq5018-linksys-jamaica.dts>
> --
> 2.46.1
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH v5 4/5] pinctrl: qcom: ipq5018: allow it to be bulid on arm32
2024-10-04 11:44 ` Linus Walleij
@ 2024-10-07 15:32 ` Karl Chan
2024-10-07 15:36 ` Karl Chan
0 siblings, 1 reply; 15+ messages in thread
From: Karl Chan @ 2024-10-07 15:32 UTC (permalink / raw)
To: linus.walleij; +Cc: linux-arm-msm, linux-clk, linux-gpio, linux-kernel
\rCBT U-Boot ver: 3.2.08 ([IPQ5018].[SPF11.3].[CSU2])
\rDRAM: smem ram ptable found: ver: 1 len: 4
\r512 MiB
\rNAND: QPIC controller support serial NAND
\rID = 22c822c8
\rVendor = c8
\rDevice = 22
\rSerial Nand Device Found With ID : 0xc8 0x22
\rSerial NAND device Manufacturer:GD5F2GQ5REYIH
\rDevice Size:256 MiB, Page size:2048, Spare Size:64, ECC:4-bit
\rSF: Unsupported flash IDs: manuf 00, jedec 0000, ext_jedec 0000
\ripq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
\r256 MiB
\rMMC: sdhci: Node Not found, skipping initialization
\rPCI Link Intialized
\rPCI1 is not defined in the device tree
\rIn: serial@78AF000
\rOut: serial@78AF000
\rErr: serial@78AF000
\rmachid: 8040001
\reth0 MAC Address from ART is not valid
\reth1 MAC Address from ART is not valid
\rUpdating boot_count ... done
\rSaving Environment to NAND...
\rErasing NAND...
\r\rErasing at 0x5c0000 -- 25% complete.\rErasing at 0x5e0000 -- 50% complete.\rErasing at 0x600000 -- 75% complete.\rErasing at 0x620000 -- 100% complete.
\rWriting to NAND... OK
\rHit any key to stop autoboot: 3 \b\b\b 2 \b\b\b 1 \b\b\b 0
\rstarting USB...
\rUSB0: Register 2000140 NbrPorts 2
\rStarting the controller
\rUSB XHCI 1.10
\rscanning bus 0 for devices... 2 USB Device(s) found
\rreading boot-image.itb
\r16048071 bytes read in 8855 ms (1.7 MiB/s)
\r## Loading kernel from FIT Image at 44000000 ...
\r Using 'standard' configuration
\r Trying 'kernel' kernel subimage
\r Description: Kernel
\r Type: Kernel Image
\r Compression: uncompressed
\r Data Start: 0x440000a8
\r Data Size: 8249289 Bytes = 7.9 MiB
\r Architecture: AArch64
\r OS: Linux
\r Load Address: 0x41208000
\r Entry Point: 0x41208000
\r Verifying Hash Integrity ... OK
\r## Loading ramdisk from FIT Image at 44000000 ...
\r Using 'standard' configuration
\r Trying 'initrd' ramdisk subimage
\r Description: Initramfs image
\r Type: RAMDisk Image
\r Compression: Unknown Compression
\r Data Start: 0x447ec43c
\r Data Size: 7738968 Bytes = 7.4 MiB
\r Architecture: AArch64
\r OS: Linux
\r Load Address: unavailable
\r Entry Point: unavailable
\r Verifying Hash Integrity ... OK
\r## Loading fdt from FIT Image at 44000000 ...
\r Using 'standard' configuration
\r Trying 'fdt' fdt subimage
\r Description: DTB
\r Type: Flat Device Tree
\r Compression: uncompressed
\r Data Start: 0x447de10c
\r Data Size: 58042 Bytes = 56.7 KiB
\r Architecture: AArch64
\r Verifying Hash Integrity ... OK
\r Booting using the fdt blob at 0x447de10c
\r Loading Kernel Image ... OK
\r Loading Ramdisk to 4a0c0000, end 4a821658 ... OK
\r Loading Device Tree to 4a0ae000, end 4a0bf2b9 ... OK
\rfdt_fixup_qpic: QPIC: unable to find node '/soc/qpic-nand@79b0000'
\rCould not find PCI in device tree
\rUsing machid 0x8040001 from environment
\rStarting kernel ...
\rundefined instruction
\rpc : [<41208004>] lr : [<4a921f8f>]
\rreloc pc : [<41208004>] lr : [<4a921f8f>]
\rsp : 4a822838 ip : 00000001 fp : 00000000
\rr10: 4a83b914 r9 : 4a822ea0 r8 : 00000000
\rr7 : 00000000 r6 : 41208000 r5 : 4a97d848 r4 : 00000000
\rr3 : 644d5241 r2 : 4a0ae000 r1 : 08040001 r0 : 00000000
\rFlags: nzCV IRQs off FIQs off Mode SVC_32
\rResetting CPU ...
\rresetting ...
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH v5 4/5] pinctrl: qcom: ipq5018: allow it to be bulid on arm32
2024-10-07 15:32 ` Karl Chan
@ 2024-10-07 15:36 ` Karl Chan
0 siblings, 0 replies; 15+ messages in thread
From: Karl Chan @ 2024-10-07 15:36 UTC (permalink / raw)
To: linus.walleij; +Cc: linux-arm-msm, linux-clk, linux-gpio, linux-kernel
Here is the boot log of the stock bootloader trying to boot arm64 kernel :
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH v5 5/5] arm: dts: qcom-ipq5018-linksys-jamaica: Include dts from arm64
2024-10-06 20:14 ` Dmitry Baryshkov
@ 2024-10-26 11:38 ` Konrad Dybcio
2024-10-28 6:33 ` Sricharan Ramabadhran
0 siblings, 1 reply; 15+ messages in thread
From: Konrad Dybcio @ 2024-10-26 11:38 UTC (permalink / raw)
To: Dmitry Baryshkov, Karl Chan, Kathiravan Thirumoorthy, Sricharan R
Cc: linux-arm-msm, andersson, konradybcio, robh, krzk+dt, conor+dt,
mturquette, sboyd, linus.walleij, devicetree, linux-kernel,
linux-clk, linux-gpio
On 6.10.2024 10:14 PM, Dmitry Baryshkov wrote:
> On Thu, Oct 03, 2024 at 07:28:04AM GMT, Karl Chan wrote:
>> Build the Linksys EA9350 V3 device trees from the arm64 tree together with the ARM32 include to allow booting this device on ARM32.
+ Kathiravan, Sricharan
Would you folks know anything about it? Do we have an open source
U-Boot release that could be sideloaded as a secondary bootloader to
kick it into 64-bit mode?
Konrad
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH v5 5/5] arm: dts: qcom-ipq5018-linksys-jamaica: Include dts from arm64
2024-10-26 11:38 ` Konrad Dybcio
@ 2024-10-28 6:33 ` Sricharan Ramabadhran
2024-10-28 10:24 ` Konrad Dybcio
0 siblings, 1 reply; 15+ messages in thread
From: Sricharan Ramabadhran @ 2024-10-28 6:33 UTC (permalink / raw)
To: Konrad Dybcio, Dmitry Baryshkov, Karl Chan,
Kathiravan Thirumoorthy
Cc: linux-arm-msm, andersson, konradybcio, robh, krzk+dt, conor+dt,
mturquette, sboyd, linus.walleij, devicetree, linux-kernel,
linux-clk, linux-gpio
On 10/26/2024 5:08 PM, Konrad Dybcio wrote:
> Would you folks know anything about it? Do we have an open source
> U-Boot release that could be sideloaded as a secondary bootloader to
> kick it into 64-bit mode
Yes slightly older u-boot release [1] supports booting both 32/64 bit
kernels.
[1]
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016/-/tree/win.coretech.1.0?ref_type=heads
Regards,
Sricharan
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH v5 5/5] arm: dts: qcom-ipq5018-linksys-jamaica: Include dts from arm64
2024-10-28 6:33 ` Sricharan Ramabadhran
@ 2024-10-28 10:24 ` Konrad Dybcio
0 siblings, 0 replies; 15+ messages in thread
From: Konrad Dybcio @ 2024-10-28 10:24 UTC (permalink / raw)
To: Sricharan Ramabadhran, Konrad Dybcio, Dmitry Baryshkov, Karl Chan,
Kathiravan Thirumoorthy
Cc: linux-arm-msm, andersson, konradybcio, robh, krzk+dt, conor+dt,
mturquette, sboyd, linus.walleij, devicetree, linux-kernel,
linux-clk, linux-gpio
On 28.10.2024 7:33 AM, Sricharan Ramabadhran wrote:
>
>
> On 10/26/2024 5:08 PM, Konrad Dybcio wrote:
>> Would you folks know anything about it? Do we have an open source
>> U-Boot release that could be sideloaded as a secondary bootloader to
>> kick it into 64-bit mode
>
> Yes slightly older u-boot release [1] supports booting both 32/64 bit
> kernels.
>
> [1] https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016/-/tree/win.coretech.1.0?ref_type=heads
Thank you!
Konrad
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH v5 2/5] arm64: dts: qcom: add Linksys EA9350 V3
2024-10-02 23:28 ` [PATCH v5 2/5] arm64: dts: " Karl Chan
@ 2024-12-30 14:48 ` Konrad Dybcio
0 siblings, 0 replies; 15+ messages in thread
From: Konrad Dybcio @ 2024-12-30 14:48 UTC (permalink / raw)
To: Karl Chan, linux-arm-msm
Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, mturquette,
sboyd, linus.walleij, devicetree, linux-kernel, linux-clk,
linux-gpio
On 3.10.2024 1:28 AM, Karl Chan wrote:
> Add device tree source for Linksys EA9350 V3 which is a WiFi router based on the IPQ5018 SoC.
>
> As of now , only the UART,USB,USB LED,buttons is working.The front PWM LED require the IPQ PWM driver.Therefore the PWM LED isn't configed in the tree.
>
> Also The original firmware from Linksys can only boot ARM32 kernels.
>
> As of now There seems to be no way to boot ARM64 kernels on those device.
>
> However, it is possible to use this device tree by compiling an ARM32 kernel instead.
>
> Signed-off-by: Karl Chan <exxxxkc@getgoogleoff.me>
> ---
Karl, have you had any luck trying out the 64bit u-boot referenced in
other messages in this thread?
Konrad
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2024-12-30 14:48 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-02 23:27 [PATCH v5 0/5] arm: dts: qcom-ipq5018-linksys-jamaica: Include dts from arm64 Karl Chan
2024-10-02 23:28 ` [PATCH v5 1/5] dt-bindings: arm: qcom: add Linksys EA9350 V3 Karl Chan
2024-10-03 7:28 ` Krzysztof Kozlowski
2024-10-02 23:28 ` [PATCH v5 2/5] arm64: dts: " Karl Chan
2024-12-30 14:48 ` Konrad Dybcio
2024-10-02 23:28 ` [PATCH v5 3/5] clk: qcom: ipq5018: allow it to be bulid on arm32 Karl Chan
2024-10-02 23:28 ` [PATCH v5 4/5] pinctrl: " Karl Chan
2024-10-04 11:44 ` Linus Walleij
2024-10-07 15:32 ` Karl Chan
2024-10-07 15:36 ` Karl Chan
2024-10-02 23:28 ` [PATCH v5 5/5] arm: dts: qcom-ipq5018-linksys-jamaica: Include dts from arm64 Karl Chan
2024-10-06 20:14 ` Dmitry Baryshkov
2024-10-26 11:38 ` Konrad Dybcio
2024-10-28 6:33 ` Sricharan Ramabadhran
2024-10-28 10:24 ` Konrad Dybcio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).