[RFCv1 0/5] Odroid N2 failes to boot using upstream kernel & u-boot
From: Anand Moon
Date: Mon Oct 07 2019 - 09:17:00 EST
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(-)
--
2.23.0