Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Sep 2015 18:57:25 +0300
From:      Stefan Parvu <sparvu@kronometrix.org>
To:        freebsd-arm@FreeBSD.org
Subject:   Re: RBPI2 ds1307 rtc kernel panic
Message-ID:  <560811E5.806@kronometrix.org>
In-Reply-To: <5607DC59.5050509@gmail.com>
References:  <5607C63D.2010203@kronometrix.org> <5607DC59.5050509@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> 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@rpi2:/usr/src/sys/tools/fdt # setenv MACHINE arm
root@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@kronometrix.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?560811E5.806>