Hello everyone,
Can you please tell me if i’m on the right path :
I am trying to enable the pcf85063 rtc by building a new kernel via the new bsp tool
So far what I understood is:
-
Use the bsp tool to compile a new kernel with:
-
flag CONFIG_RTC_DRV_PCF85063=y enabled in rockchip_linux_defconfig
-
new dtbo for this rtc that looks like this:
/dts-v1/; / { compatible = "rockchip,rk3568"; fragment@0 { target = <0xffffffff>; __overlay__ { status = "okay"; #address-cells = <0x01>; #size-cells = <0x00>; pcf85063@51 { compatible = "nxp,pcf85063"; reg = <0x51>; phandle = <0x01>; }; }; }; __symbols__ { pcf85063 = "/fragment@0/__overlay__/pcf85063@51"; }; __fixups__ { i2c0 = "/fragment@0:target:0"; }; };
-
Build kernel with
./bsp linux rk356x
-
-
Rebuild debian image with new kernel (i’m using debos-radxa)
- Replace linux-4.19-rock-3-latest kernel with the on I just generated
- Add dtbo overlay to /boot/extlinux/extlinux.conf
Am i on the right path ? thanks !