RBPI2 ds1307 rtc kernel panic
Stefan Parvu
sparvu at kronometrix.org
Sun Sep 27 15:57:35 UTC 2015
> device ds1307
>
> In the DTS file (sys/boot/fdt/dts/arm/rpi.dts) I added
Thanks a lot for comments. Couple of questions:
1. It seems I need to modify and add the rtc section under rpi2.dts not
the bcm2836.dtsi. Do I need still to build the dtb file:
root at rpi2:/usr/src/sys/tools/fdt # setenv MACHINE arm
root at rpi2:/usr/src/sys/tools/fdt # ./make_dtb.sh /usr/src/sys
/usr/src/sys/boot/fdt/dts/arm/rpi2.dts .
converting /usr/src/sys/boot/fdt/dts/arm/rpi2.dts -> ./rpi2.dtb
Warning (reg_format): "reg" property in /axi/gpio/rtc has invalid length
(4 bytes) (#address-cells == 2, #size-cells == 1)
Warning (avoid_default_addr_size): Relying on default #address-cells
value for /axi/gpio/rtc
Warning (avoid_default_addr_size): Relying on default #size-cells value
for /axi/gpio/rtc
2. After modifying the rpi2.dts and the RPI2 kernel config file I just
rebuild, right ? Nothing else ?
Thanks,
--
Stefan Parvu <sparvu at kronometrix.org>
More information about the freebsd-arm
mailing list