Jump to content

bertc3p0

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by bertc3p0

  1. Hi Franz, I've marked the Git as obsolete because the driver is in the kernel. You may need to change the device tree (DT). That's are the patches (80.-*) for: root@ubuntu ~/lib (git)-[master] # find ./ -name '80[12]*' ./patch/kernel/sunxi-next/801-dt-sun7i-add-can-bananapi.patch ./patch/kernel/sunxi-next/802-dt-sun7i-add-can-bananapro.patch ./patch/kernel/sunxi-dev/801-dt-sun7i-add-can-bananapi.patch ./patch/kernel/sunxi-dev/802-dt-sun7i-add-can-bananapro.patch root@ubuntu ~/lib (git)-[master] # cat ./patch/kernel/sunxi-next/802-dt-sun7i-add-can-bananapro.patch --- a/arch/arm/boot/dts/sun7i-a20-bananapro.dts 2016-01-11 00:01:32.000000000 +0100 +++ b/arch/arm/boot/dts/sun7i-a20-bananapro.dts 2016-02-03 20:12:28.285742989 +0100 @@ -104,6 +104,12 @@ status = "okay"; }; +&can0 { + pinctrl-names = "default"; + pinctrl-0 = <&can0_pins_a>; + status = "okay"; +}; + &ehci0 { status = "okay"; }; root@ubuntu ~/lib (git)-[master] # cat ./patch/kernel/sunxi-next/801-dt-sun7i-add-can-bananapi.patch --- a/arch/arm/boot/dts/sun7i-a20-bananapi.dts 2016-01-11 00:01:32.000000000 +0100 +++ b/arch/arm/boot/dts/sun7i-a20-bananapi.dts 2016-02-03 20:07:27.074726689 +0100 @@ -92,6 +92,12 @@ status = "okay"; }; +&can0 { + pinctrl-names = "default"; + pinctrl-0 = <&can0_pins_a>; + status = "okay"; +}; + &cpu0 { cpu-supply = <&reg_dcdc2>; operating-points = < FEX is for 3.x kernels and not applicable here. Try to load the kernel model 'modprobe sun4i_can'. There should a dmesg entry like: [ 10.063815] sun4i_can 1c2bc00.can: device registered (base=f1428c00, irq=48) Otherwise look at the DT (again). Regards Gerd
  2. Hi, I don't want to bore other people with the 495th discussion about systemd. First time I had a look systemd wasn't there in armbian. Now it's standard and I need to look for another distribution. Anyway: keep your good work going ... Regards Gerd
  3. the removal of systemd is far to complex for beginners - systemd itself simply sucks I will have a look at the customizing script ....
  4. Hi, thanks for all your responses, but removing systemd afterwards isn't an option as I need an image for beginners. Regards Gerd
  5. Hi Daniel, I'm using CAN-Bus successfully on Bpi. You need some simple patches for the DT: Compile your armbian and everything runs fine ;-) Regards Gerd
  6. Hi, I want a clean Armbian image for BPi without systemd. I pulled the actual Armbian 5.02, elected jessie and vanilla/next kernel (4.4.2) and checked SYSTEMD settings: gerd@development ~/projekte/armbian/lib (git)-[master] % find ./ -type f -exec grep -H SYSTEMD {} \; ./configuration.sh: SYSTEMD="no" # Enable or disable systemd on Jessie in debootstrap process but systemd is still active in the created image. Is there a way to get rid off it ? I saw in the blog that systemd is now default for jessie Regards Gerd
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines