Skip to content

RFC Odroid N2 failes to boot using upstream kernel & u-boot

Anand Moon linux-amlogic linux-arm-kernel linux-devicetree lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 27 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5arm64: dts: meson: Add missing 5V_EN gpio signal for VCC5V regulatorarch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts+3 -02 replies
2/5arm64: dts: meson: Add missing pwm control gpio signal for pwm-regulatorarch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts+4 -02 replies
3/5arm64: dts: meson: Add missing regulator linked to VDDAO_3V3 regulator to FLASH_VDDarch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts+3 -02 replies
4/5arm64: dts: meson: Add missing regulator linked to VCCV5 regulator to VDDIO_C/TF_IOarch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts+3 -02 replies
5/5arm64/ARM: configs: Change CONFIG_PWM_MESON from m to yarch/arm64/configs/defconfig+1 -119 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchNeil ArmstrongAnand Moon
1/5
2/5
3/5R-b
4/5R-b
5/5A-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFCv1 0/5] Odroid N2 failes to boot using upstream kernel & u-boot

We am trying to build the upstream u-boot and upstream kernel, but it fails to pass the initialization of PWM_MESON driver. So these patches help boot the kernel on microSD card.

Patchs based on Linux 5.4-rc2

Boot log failed are shown below.
[0] https://pastebin.com/cEtWq2iX

[    1.569240] meson-gx-mmc ffe05000.sd: Got CD GPIO
[    1.599227] pwm-regulator regulator-vddcpu-a: Failed to get PWM: -517
[    1.600605] pwm-regulator regulator-vddcpu-b: Failed to get PWM: -517
[    1.607166] pwm-regulator regulator-vddcpu-a: Failed to get PWM: -517
[    1.613273] pwm-regulator regulator-vddcpu-b: Failed to get PWM: -517
[    1.619931] hctosys: unable to open rtc device (rtc0)

My guess their is not much issue with eMMC module, if their is other approach to resolve this issue, I will give this a try.

Best Regards
-Anand

Anand Moon (5):
arm64: dts: meson: Add missing 5V_EN gpio signal for VCC5V regulator
arm64: dts: meson: Add missing pwm control gpio signal for
pwm-regulator
arm64: dts: meson: Add missing regulator linked to VDDAO_3V3 regulator
to FLASH_VDD
arm64: dts: meson: Add missing regulator linked to VCCV5 regulator to
VDDIO_C/TF_IO
arm64/ARM: configs: Change CONFIG_PWM_MESON from m to y

 .../arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts | 13 +++++++++++++
 arch/arm64/configs/defconfig                        |  2 +-
 2 files changed, 14 insertions(+), 1 deletion(-)
Signature · 1 line
2.23.0