7 7
amauri

CAN BUS support orange pi zero

Recommended Posts

Hi all,

 

I'm trying to put my orange pi zero to talk with a CAN BUS via mcp2515 chip. 

The chip is SPI controlled.

The actual image does not have support for SocketCAN enabled, so I'm compiling the kernel with SocketCan following the kernel configuration shown here

https://developer.ridgerun.com/wiki/index.php/How_to_configure_and_use_CAN_bus

 

I'm using the cross-compiler tool from the armian website.

 

After the image is burned to the sdcard and the orange pi zero is booted, I can see the image has can support enabled, but when I load the mcp251x driver it does nothing. I'm sure I'm missing some detail on spi side in order to have the mcp driver pointing to the proper spi.

 

Any hints?

 

Thanks in advance

 

Amauri

Share this post


Link to post
Share on other sites

After the image is burned to the sdcard and the orange pi zero is booted, I can see the image has can support enabled, but when I load the mcp251x driver it does nothing. I'm sure I'm missing some detail on spi side in order to have the mcp driver pointing to the proper spi.

 

Any hints?

For the dev/mainline kernel you would need DT bindings in form of a patch or an overlay: https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/Documentation/devicetree/bindings/net/can/microchip,mcp251x.txt

For the default/legacy - you'll have to init the driver manually in the board setup code - see comments in the driver source: https://github.com/igorpecovnik/linux/blob/sun8i/drivers/net/can/mcp251x.c#L36-L57

Share this post


Link to post
Share on other sites

Thanks Zador,

 

I'm a bit stuck here. The kernel compilation seems not to support overlays. I was looking at raspian for raspberry pi and they have the /boot/config.txt and the overlays at /boot/overlays. The overlay configuration defines the device can0 attached to the mcp251x driver.

https://github.com/raspberrypi/linux/blob/rpi-4.4.y/arch/arm/boot/dts/overlays/mcp2515-can0-overlay.dts

 

The information on the mcp251x.c shows some configuration for compiling time, but does not specify how to create the device can0.

 

The socketCan are used through the can devices.

 

Any documentation on how to set the DT with or without overlay? 

I see in the armbian path userpatches/overlay directory. Is it here to put the overlay file?

 

Regards,

 

Amauri

Share this post


Link to post
Share on other sites

I was looking at raspian for raspberry pi and they have the /boot/config.txt and the overlays at /boot/overlays.

This applies only to Raspberry Pi boards.

 

The overlay configuration defines the device can0 attached to the mcp251x driver.

https://github.com/raspberrypi/linux/blob/rpi-4.4.y/arch/arm/boot/dts/overlays/mcp2515-can0-overlay.dts

It attaches to spi0 bus and disables spidev before that. In case of Orange Pi Zero you don't need to disable spidev as it is not activated by default, but you need to attach to spi1 instead of spi0. Also bindings for the interrupt pin will be different.

 

I see in the armbian path userpatches/overlay directory. Is it here to put the overlay file?

No. You can put a patch that adds the overlay to the kernel compilation process, or you can put a patch that modifies the Orange Pi Zero device tree file, and you need to use patch userpatches/kernel/sun8i-dev/ in this case. Alternatively you can compile overlay on the board itself if you get dtc with overlay support.

Share this post


Link to post
Share on other sites

Thanks,

 

Just made some more readings about the dts in linux and found the dts for the orangepi boards in the igor's toolchain at sources/u-boot/v2017.01/arch/arm/dts

 

I think I can try to make changes here and compile the kernel. Is it right?

 

I could not find a documentation on how to implement the dtc overlay in the kernel.

 

The boot.cmd has reference to the /boot/dts and /boot/overlay

Share this post


Link to post
Share on other sites

Just made some more readings about the dts in linux and found the dts for the orangepi boards in the igor's toolchain at sources/u-boot/v2017.01/arch/arm/dts

You've found DT files in u-boot sources that are used only by u-boot. For the kernel they are located in sources/linux-sun8i-mainline/orange-pi-4.10/arch/arm/boot/dts, but for OPi Zero it's slightly more complicated since its DT file is not present upstream yet and it is added with a patch.

 

I think I can try to make changes here and compile the kernel. Is it right?

Not exactly. You can make a patch that will apply after lib/patch/kernel/sun8i-dev/add-opi-zero-dts-with-wireless.patch to change sun8i-h2plus-orangepi-zero.dts

 

I could not find a documentation on how to implement the dtc overlay in the kernel.

 

The boot.cmd has reference to the /boot/dts and /boot/overlay

It's not documented because it is not implemented officially in mainline u-boot and kernel, and as for Armbian - we don't provide official images with mainline kernel for H3 boards yet, and by the time we start to provide them we hopefully will have some overlays for the hardware that we own and that was tested.

Share this post


Link to post
Share on other sites
Quote

It's not documented because it is not implemented officially in mainline u-boot and kernel, and as for Armbian - we don't provide official images with mainline kernel for H3 boards yet, and by the time we start to provide them we hopefully will have some overlays for the hardware that we own and that was tested.

It's working with mcp2515 ? 

Share this post


Link to post
Share on other sites
3 hours ago, IgZero said:

It's working with mcp2515 ? 

It should work but it requires patching the kernel for legacy and creating a DT overlay for mainline.

Edit: Does your CAN board have any kind of documentation or references? Driver requires information about onboard oscillator frequency (i.e. it can be 8MHz or 16MHz)

Edit 2: For example on this board you can clearly see 8.000 on the oscillator, so there it would be 8MHz.

Share this post


Link to post
Share on other sites

I'm using the same board as above, but I couldn't make it work. 

On raspberry pi I have the same board working.

I need to do more configuration, but in overall without the overlay out of the box it is a pain. Specially with the amount of boards outside.

 

Regards,

 

Amauri

Share this post


Link to post
Share on other sites
9 minutes ago, amauri said:

I'm using the same board as above, but I couldn't make it work. 

On raspberry pi I have the same board working.

I need to do more configuration, but in overall without the overlay out of the box it is a pain. Specially with the amount of boards outside.

I can add some overlays for testing, but compared to RPi overlay parameters are not supported, so for now if CAN boards have different oscillator frequency they'll have to use different overlays, and the interrupt pin will be hardcoded too.

Also on most boards exposed SPI bus will be SPI0, but on OPi Zero and OPi PC2 it will be SPI1, so this doubles the number of overlay files too.

 

If you can test MCP2515 with 8MHz oscillator I'll add overlays for it for testing later.

Share this post


Link to post
Share on other sites
38 minutes ago, zador.blood.stained said:

If you can test MCP2515 with 8MHz oscillator I'll add overlays for it for testing later.

Hi! I am ready to test MCP2515 with 8 MHz oscillator. I wait for an example of your overlay.

My board OrangePI PC

Share this post


Link to post
Share on other sites
1 hour ago, IgZero said:

Hi! I am ready to test MCP2515 with 8 MHz oscillator. I wait for an example of your overlay.

Code (requires DT compiler with overlays support):

Spoiler

/dts-v1/ /plugin/;

#include <dt-bindings/interrupt-controller/irq.h>

/ {
	compatible = "allwinner,sun8i-h3";

	fragment@0 {
		target-path = "/aliases";
		__overlay__ {
			spi0 = "/soc/spi@01c68000";
		};
	};

	fragment@1 {
		target-path = "/clocks";
		__overlay__ {
			#address-cells = <1>;
			#size-cells = <1>;
            		can0_osc_fixed: can0_osc_fixed {
                		compatible = "fixed-clock";
                		#clock-cells = <0>;
                		clock-frequency  = <8000000>;
            		};
		};
	};

	fragment@2 {
		target = <&pio>;
		__overlay__ {
			can0_pin_irq: can0_pin_irq@0 {
				allwinner,pins = "PA7";
				allwinner,function = "irq";
				allwinner,drive = <0>;
				allwinner,pull = <1>; /* Pull up */
			};
		};
	};

	fragment@3 {
		target = <&spi0>;
		__overlay__ {
			status = "okay";
			#address-cells = <1>;
			#size-cells = <0>;
            		can0: mcp2515@0 {
                		reg = <0>; /* Chip Select 0 */
                		compatible = "microchip,mcp2515";
                		pinctrl-names = "default";
                		pinctrl-0 = <&can0_pin_irq>;
                		spi-max-frequency = <10000000>;
				interrupt-parent = <&pio>;
				interrupts = <0 7 IRQ_TYPE_EDGE_FALLING>; /* PA7 */
				clocks = <&can0_osc_fixed>;
				status = "okay";
			};
		};
	};
};

 

 

Precompiled overlay (zipped): sun8i-h3-spi0-mcp2515.zip

Needs to be unzipped to /boot/dtb/overlay/ directory on a recent nightly image, then 

overlays=sun8i-h3-spi0-mcp2515

needs to be added to /boot/armbianEnv.txt (these should be only one "overlays" line there, no other overlays are needed for this test). Reboot is required to apply these changes.

 

Wiring details:

  • CS - Chip Select 0 (SPI-CE0,  Pin 24 of 40-pin header)
  • INT - PA7 (Pin 29 of 40-pin header)

 

Please provide dmesg log as a result of your test

 

Share this post


Link to post
Share on other sites
54 minutes ago, zador.blood.stained said:

Precompiled overlay (zipped): sun8i-h3-spi0-mcp2515.zip

Needs to be unzipped to /boot/dtb/overlay/ directory on a recent nightly image, then 


overlays=sun8i-h3-spi0-mcp2515

needs to be added to /boot/armbianEnv.txt (these should be only one "overlays" line there, no other overlays are needed for this test). Reboot is required to apply these changes.

 

Wiring details:

  • CS - Chip Select 0 (SPI-CE0,  Pin 24 of 40-pin header)
  • INT - PA7 (Pin 29 of 40-pin header)

Thanks. Overlay works!!!

 

Quote

root@orangepipc:~# dmesg | grep can0
[    9.388553] mcp251x spi0.0 can0: MCP2515 successfully initialized.
root@orangepipc:~#
 

Has loaded can and can-dev modules:

Quote

root@orangepipc:~# modprobe can

root@orangepipc:~# modprobe can-dev

root@orangepipc:~# dmesg

...SKIP...

[   57.137872] can: controller area network core (rev 20120528 abi 9)
[   57.138018] NET: Registered protocol family 29
 

There was a can0 interface:

Quote

root@orangepipc:~# ifconfig -a
can0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          NOARP  MTU:16  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0      Link encap:Ethernet  HWaddr 02:81:f0:b5:ba:37
          inet addr:10.45.255.145  Bcast:10.45.255.255  Mask:255.255.255.0
          inet6 addr: fe80::81:f0ff:feb5:ba37/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2843 errors:0 dropped:0 overruns:0 frame:0
          TX packets:964 errors:0 dropped:0 overruns:0 carrier:0
          collisions:5 txqueuelen:1000
          RX bytes:244712 (244.7 KB)  TX bytes:207383 (207.3 KB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@orangepipc:~#
 

 

Share this post


Link to post
Share on other sites

Hi Zador, very nice.

 

Please inform what is the address of spi1 so I can try to port it orange pi zero.

 

Regards,

 

Amauri

Share this post


Link to post
Share on other sites
3 hours ago, amauri said:

Please inform what is the address of spi1 so I can try to port it orange pi zero.

Latest nightly should already have sun8i-h3-spi1-mcp2515 overlay available. Wiring is the same - chip select 0, interrupt to PA7 (check schematics or wiki to see where it is on the pin header).

Share this post


Link to post
Share on other sites

I can confirm that this works for the OrangePi Zero (the SPI1 version since there is no SPI0 on the Zero). I had to change the pin to PA2 to fit my board but everything else was as the code published above.

Share this post


Link to post
Share on other sites

Hi johlin, can you confirm you see CAN messages using the board? 

The build above is working setting the can0, but when using candump (sudo apt-get install can-utils) to inspect the messages on a CAN BUS I get nothing.

I can assert that there are CAN traffic using another board. I tried the INT PA02 and PA07 and nothing. On both cases the can0 interface is created but no traffic.

 

Looking at the decompiled sun8i-h3-spi1-mcp2515.dtbo 

I see the entry below. The frequency is correct to 8MHz, but the reference to the clock seems strange (clocks = <0x2>;)

The same for the irq, but it might be correct.

 

/dts-v1/;

/ {
       compatible = "allwinner,sun8i-h3";

       fragment@0 {
               target-path = "/aliases";

               __overlay__ {
                       spi1 = "/soc/spi@01c69000";
               };
       };

       fragment@1 {
               target-path = "/clocks";

               __overlay__ {
                       #address-cells = <0x1>;
                       #size-cells = <0x1>;

                       can0_osc_fixed {
                               compatible = "fixed-clock";
                               #clock-cells = <0x0>;
                               clock-frequency = <0x7a1200>;
                               linux,phandle = <0x2>;
                               phandle = <0x2>;
                       };
               };
       };

       fragment@2 {
               target = <0xffffffff>;

               __overlay__ {

                       can0_pin_irq@0 {
                               allwinner,pins = "PA7";
                               allwinner,function = "irq";
                               allwinner,drive = <0x0>;
                               allwinner,pull = <0x1>;
                               linux,phandle = <0x1>;
                               phandle = <0x1>;
                       };
               };
       };

       fragment@3 {
               target = <0xffffffff>;

               __overlay__ {
                       status = "okay";
                       #address-cells = <0x1>;
                       #size-cells = <0x0>;

                       mcp2515@0 {
                               reg = <0x0>;
                               compatible = "microchip,mcp2515";
                               pinctrl-names = "default";
                               pinctrl-0 = <0x1>;
                               spi-max-frequency = <0x989680>;
                               interrupt-parent = <0xffffffff>;
                               interrupts = <0x0 0x7 0x2>;
                               clocks = <0x2>;
                               status = "okay";
                               linux,phandle = <0x3>;
                               phandle = <0x3>;
                       };
               };
       };

       __symbols__ {
               can0_osc_fixed = "/fragment@1/__overlay__/can0_osc_fixed";
               can0_pin_irq = "/fragment@2/__overlay__/can0_pin_irq@0";
               can0 = "/fragment@3/__overlay__/mcp2515@0";
       };

       __fixups__ {
               pio = "/fragment@2:target:0", "/fragment@3/__overlay__/mcp2515@0:interrupt-parent:0";
               spi1 = "/fragment@3:target:0";
       };

       __local_fixups__ {

               fragment@3 {

                       __overlay__ {

                               mcp2515@0 {
                                       pinctrl-0 = <0x0>;
                                       clocks = <0x0>;
                               };
                       };
               };
       };
};


 

 

Share this post


Link to post
Share on other sites
31 minutes ago, amauri said:

I see the entry below. The frequency is correct to 8MHz, but the reference to the clock seems strange (clocks = <0x2>;)

You are looking at decompiled overlays, so 0x2 is a phandle reference, and, as you can see, can0_osc_fixed has phandle 0x2.

 

31 minutes ago, amauri said:

I tried the INT PA02 and PA07 and nothing. On both cases the can0 interface is created but no traffic.

Please note that you have to change "interrupts" property too if you want to change the interrupt pin. Can you confirm (i.e. with a oscilloscope if you have one) that interrupt line is going low?

 

31 minutes ago, amauri said:

I can assert that there are CAN traffic using another board.

Does it use the same mcp2515 board and Device Tree overlays?

Share this post


Link to post
Share on other sites
19 minutes ago, amauri said:

Hi johlin, can you confirm you see CAN messages using the board? 

The build above is working setting the can0, but when using candump (sudo apt-get install can-utils) to inspect the messages on a CAN BUS I get nothing.

I can assert that there are CAN traffic using another board. I tried the INT PA02 and PA07 and nothing. On both cases the can0 interface is created but no traffic.
 

 

 

I do indeed see messages using the board. I ran a test with the Zero and a Raspberry Pi, each with their own (custom) CAN board, using MCP2551 for the Orange Pi and MCP2562 for the Raspberry Pi. At 500 000 bps everything was bit-perfect for the nearly 24 hours I ran the test.

Share this post


Link to post
Share on other sites

Very strange here.

root@orangepizero:~# cat /proc/net/can/stats

       3 transmitted frames (TXF)
   97889 received frames (RXF)
       0 matched frames (RXMF)

 

The kernel stack see some frames coming, but the candump can see them.

 

Researching a bit more here.

Share this post


Link to post
Share on other sites

This is also very strange, see the clock value:

 

root@orangepizero:~# ip -details link show can0
3: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 10
   link/can  promiscuity 0  
   can state ERROR-ACTIVE restart-ms 1000  
         bitrate 125000 sample-point 0.875  
         tq 500 prop-seg 6 phase-seg1 7 phase-seg2 2 sjw 1
         mcp251x: tseg1 3..16 tseg2 2..8 sjw 1..4 brp 1..64 brp-inc 1
         clock 4000000

 

 

Can anyone also do this command just to check the clock value?

 

Regards,

 

Amauri

 

Share this post


Link to post
Share on other sites

Hi, I got it working, there was a problem in the CAN board. 

 

Now I can send and receive CAN messages. But there is still an issue: missing frames.

 

The orangepi stack is not retrieving all the CAN messages and the missing rate is high. I wonder if the SPI kernel module is not working properly. Is there any other configuration that could be done?

 

Best regards,

 

Amauri

Share this post


Link to post
Share on other sites

Hello.
I tried to do the same with mcp2515.
Distr : Armbian 5.27.170416 nightly
Kernel : 4.10.3-sun8i
My board: Orange Pi plus 2.
Error:
[   11.874772] mcp251x spi0.0: Cannot initialize MCP2515. Wrong wiring?
[   11.885334] mcp251x spi0.0: Probe failed, err=19

Pin connect:

Spoiler

PC0(GPIO Orange PI) MOSI - (MCP2515<->CAN) SO
PC1(GPIO Orange PI) MOSI - (MCP2515<->CAN) SI
PC2(GPIO Orange PI) CLK   - (MCP2515<->CAN) SCK
PC3(GPIO Orange PI) CS     - (MCP2515<->CAN) CS
PA7(GPIO Orange PI)  INT    - (MCP2515<->CAN) INT

I tried that too

Spoiler

PC0(GPIO Orange PI) MOSI - (MCP2515<->CAN) SI
PC1(GPIO Orange PI) MOSI - (MCP2515<->CAN) SO
PC2(GPIO Orange PI) CLK   - (MCP2515<->CAN) SCK
PC3(GPIO Orange PI) CS     - (MCP2515<->CAN) CS
PA7(GPIO Orange PI)  INT    - (MCP2515<->CAN) INT


VCC = 5 V


MCP2515<->SPI 9a29e38b-f47a-5475-5745-739694f7a6bf.jpg

Share this post


Link to post
Share on other sites
42 minutes ago, Igor said:

Yes.
 

armbianEnv.txt
3 version:
1)

Quote

verbosity=7
console=both
machid=1029
bootm_boot_mode=sec
rootdev=UUID=4dfb914e-4904-424e-a0fb-2eb01eef10ae
rootfstype=ext4
overlays=sun8i-h3-spi0-mcp2515 sun8i-h3-spi-add-cs1
param_mcp2515_spi_bus=0
param_mcp2515_spi_cs=0
param_mcp2515_max_freq=10000000
param_mcp2515_clk_freq=8000000
param_mcp2515_int_pin=PA7

2)

Quote

verbosity=7
console=both
machid=1029
bootm_boot_mode=sec
rootdev=UUID=4dfb914e-4904-424e-a0fb-2eb01eef10ae
rootfstype=ext4
overlays=sun8i-h3-spi-mcp2515 sun8i-h3-spi-add-cs1
param_mcp2515_spi_bus=0
param_mcp2515_spi_cs=0
param_mcp2515_max_freq=10000000
param_mcp2515_clk_freq=8000000
param_mcp2515_int_pin=PA7

3)

Quote

verbosity=7
console=both
machid=1029
bootm_boot_mode=sec
rootdev=UUID=4dfb914e-4904-424e-a0fb-2eb01eef10ae
rootfstype=ext4
overlays=sun8i-h3-spi0-mcp2515

 

version 2, not working, no error,no drivers mcp2515

version 1 and 2:
[   10.378603] mcp251x spi0.0: Cannot initialize MCP2515. Wrong wiring?
[   10.388743] mcp251x spi0.0: Probe failed, err=19

Share this post


Link to post
Share on other sites
2 minutes ago, user_357 said:

Yes.

More like "no".

You are not using a fresh enough nightly image (implied by

  • Latest versions of the u-boot and the boot script is required

Please start with a fresh image (this also means not old image updated with apt) and try again

 

Share this post


Link to post
Share on other sites
Just now, zador.blood.stained said:

More like "no".

You are not using a fresh enough nightly image (implied by

  • Latest versions of the u-boot and the boot script is required

Please start with a fresh image (this also means not old image updated with apt) and try again

 

I installed everything today.

Share this post


Link to post
Share on other sites

Download image: https://www.armbian.com/orange-pi-plus-2/ .
Next:

sed -i "s/apt/beta/" /etc/apt/sources.list.d/armbian.list
apt-get update
apt-get upgrade

Next:
To make sure you won’t run into conflicts within newly installed packages, remove them all before upgrade:

 

 

1
2
aptitude remove ~nlinux-dtb ~nlinux-u-boot ~nlinux-image ~nlinux-headers
aptitude remove ~nlinux-firmware ~narmbian-firmware ~nlinux-$(lsb_release -cs)-root

Proceed with install:

1
2
3
4
apt-get install linux-image-dev-sun8i linux-dtb-dev-sun8i linux-headers-dev-sun8i
apt-get install linux-u-boot-orangepiplus-dev linux-$(lsb_release -cs)-root-dev-orangepiplus
apt-get install armbian-firmware sunxi-tools swconfig a10disp
reboot

===================

I do not know from where else you can download

Share this post


Link to post
Share on other sites
(edited)

Log loading board:
 

Spoiler

U-Boot 2017.03-armbian (Apr 15 2017 - 12:17:42 +0200) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi Plus / Plus 2
I2C:   ready
DRAM:  2 GiB
MMC:   SUNXI SD/MMC: 1, SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

Setting up a 720x576i composite-pal console (overscan 32x20)
In:    serial
Out:   vga
Err:   vga
Net:   phy interface7
eth0: ethernet@1c30000
Hit any key to stop autoboot:  0
6944 bytes read in 188 ms (35.2 KiB/s)
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
2652 bytes read in 206 ms (11.7 KiB/s)
## Executing script at 43100000
U-boot loaded from eMMC or secondary SD
Boot script loaded from mmc
312 bytes read in 81 ms (2.9 KiB/s)
3944701 bytes read in 408 ms (9.2 MiB/s)
5740384 bytes read in 477 ms (11.5 MiB/s)
0 bytes read in 145 ms (0 Bytes/s)
33467 bytes read in 360 ms (89.8 KiB/s)
1647 bytes read in 525 ms (2.9 KiB/s)
Applying DT overlay sun8i-h3-spi0-mcp2515.dtbo
1215 bytes read in 435 ms (2 KiB/s)
Applying DT overlay sun8i-h3-spi-add-cs1.dtbo
## Loading init Ramdisk from Legacy Image at 43300000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    3944637 Bytes = 3.8 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
   Booting using the fdt blob at 0x43000000
   Loading Ramdisk to 49c3c000, end 49fff0bd ... OK
   reserving fdt memory region: addr=43000000 size=9000
   Loading Device Tree to 49c30000, end 49c3bfff ... OK
Using machid 0x1029 from environment

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.10.3-sun8i (root@devel) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02) ) #5 SMP Sat Apr 15 11:19:17 CEST 2017
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Xunlong Orange Pi Plus / Plus 2
[    0.000000] cma: Reserved 16 MiB at 0xbec00000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 14 pages/cpu @eeda5000 s26316 r8192 d22836 u57344
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522154
[    0.000000] Kernel command line: root=UUID=4dfb914e-4904-424e-a0fb-2eb01eef10ae rootwait rootfstype=ext4 console=tty1 console=ttyS0,115200 cgroup_enable=memory swapaccount=1 hdmi.audio=EDID:0 d6
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] allocated 2099624 bytes of page_ext
[    0.000000] Memory: 2042652K/2095528K available (6144K kernel code, 340K rwdata, 2356K rodata, 1024K init, 328K bss, 36492K reserved, 16384K cma-reserved, 1292712K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf800000 - 0xbfe00000   (   6 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0a00000 - 0xc0b00000   (1024 kB)
[    0.000000]       .data : 0xc0b00000 - 0xc0b55180   ( 341 kB)
[    0.000000]        .bss : 0xc0b57000 - 0xc0ba9088   ( 329 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000016] Switching to timer-based delay loop, resolution 41ns
[    0.000192] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000500] Console: colour dummy device 80x30
[    0.000964] console [tty1] enabled
[    0.000997] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.001032] pid_max: default: 32768 minimum: 301
[    0.001219] Security Framework initialized
[    0.001242] AppArmor: AppArmor disabled by boot time parameter
[    0.001301] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001323] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002031] CPU: Testing write buffer coherency: ok
[    0.002368] CPU0: update cpu_capacity 1024
[    0.002392] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002657] Setting up static identity map for 0x40100000 - 0x4010004c
[    0.003479] smp: Bringing up secondary CPUs ...
[    0.004611] smp: Brought up 1 node, 1 CPU
[    0.004637] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.004655] CPU: All CPU(s) started in SVC mode.
[    0.005532] devtmpfs: initialized
[    0.014679] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.014964] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.015006] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.015718] xor: measuring software checksum speed
[    0.110018]    arm4regs  :  1263.200 MB/sec
[    0.210071]    8regs     :   733.200 MB/sec
[    0.310125]    32regs    :   787.600 MB/sec
[    0.410178]    neon      :  1280.800 MB/sec
[    0.410196] xor: using function: neon (1280.800 MB/sec)
[    0.410296] pinctrl core: initialized pinctrl subsystem
[    0.411250] NET: Registered protocol family 16
[    0.412351] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.413450] cpuidle: using governor ladder
[    0.413471] cpuidle: using governor menu
[    0.414251] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.414283] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.590398] raid6: int32x1  gen()   176 MB/s
[    0.760569] raid6: int32x1  xor()   134 MB/s
[    0.930809] raid6: int32x2  gen()   248 MB/s
[    1.100809] raid6: int32x2  xor()   180 MB/s
[    1.271149] raid6: int32x4  gen()   255 MB/s
[    1.441180] raid6: int32x4  xor()   185 MB/s
[    1.611226] raid6: int32x8  gen()   247 MB/s
[    1.781442] raid6: int32x8  xor()   171 MB/s
[    1.951540] raid6: neonx1   gen()   483 MB/s
[    2.121634] raid6: neonx1   xor()   349 MB/s
[    2.291696] raid6: neonx2   gen()   645 MB/s
[    2.461854] raid6: neonx2   xor()   471 MB/s
[    2.631998] raid6: neonx4   gen()   785 MB/s
[    2.802159] raid6: neonx4   xor()   522 MB/s
[    2.972382] raid6: neonx8   gen()   686 MB/s
[    3.142462] raid6: neonx8   xor()   471 MB/s
[    3.142479] raid6: using algorithm neonx4 gen() 785 MB/s
[    3.142496] raid6: .... xor() 522 MB/s, rmw enabled
[    3.142513] raid6: using intx1 recovery algorithm
[    3.142749] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc/pinctrl@01f02c00/usb0_vbus_pin@0, deferring probe
[    3.142810] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe
[    3.143425] reg-fixed-voltage usb3-vbus: could not find pctldev for node /soc/pinctrl@01c20800/usb3_vbus_pin@0, deferring probe
[    3.143477] reg-fixed-voltage gmac-3v3: could not find pctldev for node /soc/pinctrl@01c20800/gmac_power_pin@0, deferring probe
[    3.143985] SCSI subsystem initialized
[    3.144455] usbcore: registered new interface driver usbfs
[    3.144523] usbcore: registered new interface driver hub
[    3.144592] usbcore: registered new device driver usb
[    3.144771] media: Linux media interface: v0.10
[    3.144823] Linux video capture interface: v2.00
[    3.144911] pps_core: LinuxPPS API ver. 1 registered
[    3.144931] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    3.144972] PTP clock support registered
[    3.145340] Advanced Linux Sound Architecture Driver Initialized.
[    3.146448] clocksource: Switched to clocksource arch_sys_counter
[    3.146606] VFS: Disk quotas dquot_6.6.0
[    3.146673] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    3.147267] simple-framebuffer bfe79000.framebuffer: framebuffer at 0xbfe79000, 0x178e00 bytes, mapped to 0xf0880000
[    3.147303] simple-framebuffer bfe79000.framebuffer: format=x8r8g8b8, mode=656x536x32, linelength=2880
[    3.154203] Console: switching to colour frame buffer device 82x33
[    3.160721] simple-framebuffer bfe79000.framebuffer: fb0: simplefb registered!
[    3.168694] NET: Registered protocol family 2
[    3.169413] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    3.174173] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    3.179009] TCP: Hash tables configured (established 8192 bind 8192)
[    3.183807] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    3.188588] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    3.193468] NET: Registered protocol family 1
[    3.198571] RPC: Registered named UNIX socket transport module.
[    3.203127] RPC: Registered udp transport module.
[    3.207579] RPC: Registered tcp transport module.
[    3.211843] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.216328] Trying to unpack rootfs image as initramfs...
[    3.449347] Freeing initrd memory: 3856K
[    3.455139] audit: initializing netlink subsys (disabled)
[    3.459917] Initialise system trusted keyrings
[    3.464204] audit: type=2000 audit(3.450:1): initialized
[    3.468867] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    3.480999] zbud: loaded
[    3.488825] NFS: Registering the id_resolver key type
[    3.493267] Key type id_resolver registered
[    3.497654] Key type id_legacy registered
[    3.501892] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.506243] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    3.511807] JFS: nTxBlock = 8192, nTxLock = 65536
[    3.524790] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    3.536948] Key type asymmetric registered
[    3.541413] bounce: pool size: 64 pages
[    3.545935] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    3.554617] io scheduler noop registered
[    3.558845] io scheduler deadline registered
[    3.563265] io scheduler cfq registered (default)
[    3.568436] sun4i-usb-phy 1c19400.phy: could not find pctldev for node /soc/pinctrl@01c20800/usb0_id_detect_pin@0, deferring probe
[    3.580475] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    3.586318] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    3.644520] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    3.651309] console [ttyS0] disabled
[    3.675544] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 39, base_baud = 1500000) is a U6_16550A
[    4.565944] console [ttyS0] enabled
[    4.577362] brd: module loaded
[    4.590428] loop: module loaded
[    4.600111] libphy: Fixed MDIO Bus: probed
[    4.609390] usbcore: registered new interface driver catc
[    4.618984] usbcore: registered new interface driver kaweth
[    4.628609] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[    4.644159] usbcore: registered new interface driver pegasus
[    4.653991] usbcore: registered new interface driver rtl8150
[    4.663734] usbcore: registered new interface driver r8152
[    4.673198] usbcore: registered new interface driver lan78xx
[    4.682784] usbcore: registered new interface driver asix
[    4.692065] usbcore: registered new interface driver ax88179_178a
[    4.701945] usbcore: registered new interface driver cdc_ether
[    4.711457] usbcore: registered new interface driver cdc_eem
[    4.720671] usbcore: registered new interface driver dm9601
[    4.729666] usbcore: registered new interface driver sr9700
[    4.738537] usbcore: registered new interface driver CoreChips
[    4.747631] usbcore: registered new interface driver smsc75xx
[    4.756520] usbcore: registered new interface driver smsc95xx
[    4.765225] usbcore: registered new interface driver gl620a
[    4.773709] usbcore: registered new interface driver net1080
[    4.782259] usbcore: registered new interface driver plusb
[    4.790593] usbcore: registered new interface driver rndis_host
[    4.799249] usbcore: registered new interface driver cdc_subset
[    4.807761] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[    4.820041] usbcore: registered new interface driver cdc_ncm
[    4.828198] usbcore: registered new interface driver huawei_cdc_ncm
[    4.836891] usbcore: registered new interface driver cdc_mbim
[    4.844891] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.853662] ehci-platform: EHCI generic platform driver
[    4.861444] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.869990] ohci-platform: OHCI generic platform driver
[    4.877787] usbcore: registered new interface driver cdc_wdm
[    4.885923] usbcore: registered new interface driver usb-storage
[    4.895044] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
[    4.904374] sun6i-rtc 1f00000.rtc: RTC enabled
[    4.911263] i2c /dev entries driver
[    4.920531] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    4.934566] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    4.996471] sunxi-mmc 1c0f000.mmc: base:0xf0fc7000 irq:24
[    5.006095] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[    5.066458] sunxi-mmc 1c10000.mmc: base:0xf0fcb000 irq:25
[    5.079823] sunxi-mmc 1c10000.mmc: smc 1 err, cmd 8, RTO !!
[    5.098730] mmc1: new high speed SDIO card at address 0001
[    5.126465] sunxi-mmc 1c11000.mmc: base:0xf0fcf000 irq:26
[    5.136016] ledtrig-cpu: registered to indicate activity on CPUs
[    5.145191] hidraw: raw HID events driver (C) Jiri Kosina
[    5.153861] usbcore: registered new interface driver usbhid
[    5.162644] usbhid: USB HID core driver
[    5.170200] Initializing XFRM netlink socket
[    5.178510] NET: Registered protocol family 10
[    5.191162] sunxi-mmc 1c11000.mmc: smc 2 err, cmd 8, RTO !!
[    5.204504] sunxi-mmc 1c11000.mmc: smc 2 err, cmd 55, RTO !!
[    5.214599] sunxi-mmc 1c11000.mmc: smc 2 err, cmd 55, RTO !!
[    5.224622] sunxi-mmc 1c11000.mmc: smc 2 err, cmd 55, RTO !!
[    5.234579] sunxi-mmc 1c11000.mmc: smc 2 err, cmd 55, RTO !!
[    5.252688] Segment Routing with IPv6
[    5.259735] NET: Registered protocol family 17
[    5.267481] NET: Registered protocol family 15
[    5.275189] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    5.294839] 8021q: 802.1Q VLAN Support v1.8
[    5.302376] Key type dns_resolver registered
[    5.310305] Registering SWP/SWPB emulation handler
[    5.319106] registered taskstats version 1
[    5.326546] Loading compiled-in X.509 certificates
[    5.334656] zswap: loaded using pool lzo/zbud
[    5.343629] Btrfs loaded, crc32c=crc32c-generic
[    5.357821] Key type encrypted registered
[    5.372423] sun8i-emac 1c30000.ethernet: PHY regulator found
[    5.382414] ehci-platform 1c1a000.usb: EHCI Host Controller
[    5.391226] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    5.405700] ehci-platform 1c1a000.usb: irq 28, io mem 0x01c1a000
[    5.421488] mmc2: new DDR MMC card at address 0001
[    5.430426] mmcblk2: mmc2:0001 DB4016 14.7 GiB
[    5.438460] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    5.448473] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    5.458765] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.469462] usb usb1: Product: EHCI Host Controller
[    5.477773] usb usb1: Manufacturer: Linux 4.10.3-sun8i ehci_hcd
[    5.487136] usb usb1: SerialNumber: 1c1a000.usb
[    5.495463] mmcblk2boot0: mmc2:0001 DB4016 partition 1 4.00 MiB
[    5.505227] mmcblk2boot1: mmc2:0001 DB4016 partition 2 4.00 MiB
[    5.515375] hub 1-0:1.0: USB hub found
[    5.522723]  mmcblk2: p1
[    5.528898] hub 1-0:1.0: 1 port detected
[    5.538458] ehci-platform 1c1b000.usb: EHCI Host Controller
[    5.547818] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 2
[    5.563137] ehci-platform 1c1b000.usb: irq 30, io mem 0x01c1b000
[    5.596454] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[    5.606557] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    5.617164] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.628171] usb usb2: Product: EHCI Host Controller
[    5.636823] usb usb2: Manufacturer: Linux 4.10.3-sun8i ehci_hcd
[    5.646551] usb usb2: SerialNumber: 1c1b000.usb
[    5.655443] hub 2-0:1.0: USB hub found
[    5.663015] hub 2-0:1.0: 1 port detected
[    5.671252] ehci-platform 1c1d000.usb: EHCI Host Controller
[    5.680658] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 3
[    5.696101] ehci-platform 1c1d000.usb: irq 31, io mem 0x01c1d000
[    5.726460] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
[    5.736572] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    5.747216] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.758263] usb usb3: Product: EHCI Host Controller
[    5.766914] usb usb3: Manufacturer: Linux 4.10.3-sun8i ehci_hcd
[    5.776647] usb usb3: SerialNumber: 1c1d000.usb
[    5.785497] hub 3-0:1.0: USB hub found
[    5.792977] hub 3-0:1.0: 1 port detected
[    5.801100] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    5.811455] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 4
[    5.826612] ohci-platform 1c1a400.usb: irq 29, io mem 0x01c1a400
[    5.900595] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[    5.911311] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.922448] usb usb4: Product: Generic Platform OHCI controller
[    5.932320] usb usb4: Manufacturer: Linux 4.10.3-sun8i ohci_hcd
[    5.942225] usb usb4: SerialNumber: 1c1a400.usb
[    5.951225] hub 4-0:1.0: USB hub found
[    5.958947] hub 4-0:1.0: 1 port detected
[    5.967307] usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    5.979219] of_cfs_init
[    5.985570] of_cfs_init: OK
[    5.992193] vcc3v0: disabling
[    5.998827] vcc5v0: disabling
[    6.005316] gmac-3v3: disabling
[    6.011953] ALSA device list:
[    6.018369]   No soundcards found.
[    6.027014] Freeing unused kernel memory: 1024K
Loading, please wait...
[    6.073590] systemd-udevd[156]: starting version 215
[    6.098429] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    6.156538] usb 2-1: new high-speed USB device number 2 using ehci-platform
[    6.266633] usb 3-1: new high-speed USB device number 2 using ehci-platform
[    6.341405] random: fast init done
[    6.397248] usb 2-1: New USB device found, idVendor=1a40, idProduct=0101
[    6.407582] usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    6.418270] usb 2-1: Product: USB 2.0 Hub
[    6.515945] hub 2-1:1.0: USB hub found
[    6.526049] usb 3-1: New USB device found, idVendor=05e3, idProduct=0718
[    6.536369] usb 3-1: New USB device strings: Mfr=0, Product=1, SerialNumber=2
[    6.547082] usb 3-1: Product: USB Storage
[    6.554659] usb 3-1: SerialNumber: 000000000033
[    6.583410] hub 2-1:1.0: 4 ports detected
[    6.681379] usb-storage 3-1:1.0: USB Mass Storage device detected
[    6.735373] scsi host0: usb-storage 3-1:1.0
[    6.976885] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.25.2
[/sbin/fsck.ext4 (1) -- /dev/mmcblk2p1] fsck.ext4 -a -C0 /dev/mmcblk2p1
/dev/mmcblk2p1: clean, 57646/952848 files, 385182/3808440 blocks
done.
[    7.216316] EXT4-fs (mmcblk2p1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[    7.423774] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[    7.444863] systemd[1]: Detected architecture 'arm'.

Welcome to Debian GNU/Linux 8 (jessie)!

[    7.490894] systemd[1]: Set hostname to <orangepiplus>.
[    7.767999] scsi 0:0:0:0: Direct-Access     USB TO I DE/SATA Device   0009 PQ: 0 ANSI: 0
[    7.785278] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    7.796973] sd 0:0:0:0: [sda] 0 512-byte logical blocks: (0 B/0 B)
[    7.807174] sd 0:0:0:0: [sda] 0-byte physical blocks
[    7.820433] sd 0:0:0:0: [sda] Test WP failed, assume Write Enabled
[    7.832053] sd 0:0:0:0: [sda] Asking for cache data failed
[    7.841683] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    7.858564] sd 0:0:0:0: [sda] Attached SCSI disk
[    7.874206] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[    7.904164] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[    7.920874] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    7.937385] systemd[1]: Expecting device dev-ttyS0.device...
         Expecting device dev-ttyS0.device...
[    7.976569] systemd[1]: Starting Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems (Pre).
[    8.016509] systemd[1]: Reached target Remote File Systems (Pre).
[    8.027199] systemd[1]: Starting Encrypted Volumes.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Reached target Paths.
[  OK  ] Set up automount Arbitrary Executable File Formats F...utomount Point.
[  OK  ] Created slice Root Slice.
[  OK  ] Listening on Delayed Shutdown Socket.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Created slice User and Session Slice.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on Journal Socket.
[  OK  ] Created slice System Slice.
         Starting Increase datagram queue length...
         Starting Restore / save the current clock...
         Mounting Debug File System...
         Starting udev Coldplug all Devices...
         Starting Create list of required static device nodes...rrent kernel...
         Mounting POSIX Message Queue File System...
         Starting LSB: Set keymap...
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-getty.slice.
         Starting Load Kernel Modules...
[  OK  ] Reached target Slices.
[    8.651295] fuse init (API version 7.26)
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Debug File System.
[  OK  ] Started Increase datagram queue length.
[  OK  ] Started Restore / save the current clock.
[  OK  ] Started Create list of required static device nodes ...current kernel.
[  OK  ] Started LSB: Set keymap.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[  OK  ] Started udev Coldplug all Devices.
         Mounting Configuration File System...
         Starting Apply Kernel Variables...
         Mounting FUSE Control File System...
         Starting Create Static Device Nodes in /dev...
[  OK  ] Listening on Syslog Socket.
         Starting Journal Service...
[  OK  ] Started Journal Service.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Configuration File System.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  [    9.487376] systemd-udevd[251]: starting version 215
] Started udev Kernel Device Manager.
         Starting Copy rules generated while the root was ro...
         Starting LSB: Tune IDE hard disks...
         Starting LSB: Set preliminary keymap...
[  OK  ] Started Copy rules generated while the root was ro.
[  OK  ] Started LSB: Tune IDE hard disks.
[    9.867429] input: r_gpio_keys as /devices/platform/r_gpio_keys/input/input0
[   10.057139] thermal thermal_zone0: failed to read out thermal zone (-16)
[  OK  ] Found device /dev/ttyS0.
[   10.124164] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01f015c0 not registered
[   10.139787] sun4i-codec 1c22c00.codec: Failed to register our card
[   10.161069] CAN device driver interface
[   10.358654] mcp251x spi0.0: Cannot initialize MCP2515. Wrong wiring?
[   10.368960] mcp251x spi0.0: Probe failed, err=19
[   10.439255] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[   10.450443] Registered IR keymap rc-empty
[   10.458500] input: sunxi-ir as /devices/platform/soc/1f02000.ir/rc/rc0/input1
[   10.469459] rc rc0: sunxi-ir as /devices/platform/soc/1f02000.ir/rc/rc0
[  OK  ] Created slice system-ifup.slice.
[   10.524433] lirc_dev: IR Remote Control driver registered, major 244
[   10.604381] IR LIRC bridge handler initialized
[   10.686825] rc rc0: lirc_dev: driver ir-lirc-codec (sunxi-ir) registered at minor = 0
[   10.702558] sunxi-ir 1f02000.ir: initialized sunXi IR driver
[  OK  ] Started LSB: Set preliminary keymap.
[  OK  ] Reached target Sound Card.
         Starting Remount Root and Kernel File Systems...
[   11.768849] EXT4-fs (mmcblk2p1): re-mounted. Opts: commit=600,errors=remount-ro
[  OK  ] Started Remount Root and Kernel File Systems.
         Activating swap /var/swap...
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
[   11.947654] Adding 131068k swap on /var/swap.  Priority:-1 extents:1 across:131068k SSFS
[  OK  ] Activated swap /var/swap.
[  OK  ] Mounted /tmp.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
         Starting LSB: Raise network interfaces....
[  OK  ] Reached target Remote File Systems.
         Starting Trigger Flushing of Journal to Persistent Storage...
         Starting LSB: Prepare console...
[  OK  ] Reached target Swap.
[  OK  ] Started Create Volatile Files and Directories.
[   12.367188] systemd-journald[250]: Received request to flush runtime journal from PID 1
[  OK  ] Started Trigger Flushing of Journal to Persistent Storage.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started LSB: Prepare console.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
         Starting LSB: Set console font and keymap...
[   12.927308] libphy: 1c30000.ethernet: probed
[   12.958907] RTL8211E Gigabit Ethernet 1c30000.ethernet:00: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=1c30000.ethernet:00, irq=-1)
[   12.981061] sun8i-emac 1c30000.ethernet: device MAC address slot 0 02:81:28:45:ae:78
[   13.033544] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  OK  ] Started LSB: Set console font and keymap.
[   15.127236] sun8i-emac 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   15.143209] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  OK  ] Started LSB: Raise network interfaces..
         Starting ifup for eth0...
[  OK  ] Started ifup for eth0.
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
         Starting LSB: RPC portmapper replacement...
[  OK  ] Started LSB: RPC portmapper replacement.
[  OK  ] Reached target RPC Port Mapper.
         Starting LSB: NFS support files common to client and server...
[  OK  ] Started LSB: NFS support files common to client and server.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Timers.
         Starting Restore Sound Card State...
[  OK  ] Reached target Basic System.
         Starting Entropy daemon using the HAVEGE algorithm...
[  OK  ] Started Entropy daemon using the HAVEGE algorithm.
         Starting System Logging Service...
         Starting OpenBSD Secure Shell server...
[  OK  ] Started OpenBSD Secure Shell server.
         Starting Regular background program processing daemon...
[  OK  ] Started Regular background program processing daemon.
         Starting Network Manager...
         Starting /etc/rc.local Compatibility...
         Starting Login Service...
         Starting D-Bus System Message Bus...
[  OK  ] Started D-Bus System Message Bus.
         Starting Permit User Sessions...
         Starting LSB: Starts LIRC daemon....
         Starting LSB: Armbian gathering hardware information...
         Starting LSB: Start NTP daemon...
         Starting LSB: Start/stop sysstat's sadc...
         Starting LSB: Advanced IEEE 802.11 management daemon...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
         Starting LSB: disk temperature monitoring daemon...
[  OK  ] Started System Logging Service.
[  OK  ] Started Restore Sound Card State.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started LSB: Start/stop sysstat's sadc.
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Started LSB: Starts LIRC daemon..
[  OK  ] Started LSB: disk temperature monitoring daemon.
[  OK  ] Started LSB: Start NTP daemon.
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Started Login Service.
         Starting Authenticate and Authorize Users to Run Privileged Tasks...
         Starting LSB: set CPUFreq kernel parameters...
         Starting Serial Getty on ttyS0...
[  OK  ] Started Serial Getty on ttyS0.
         Starting Getty on tty1...
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LSB: set CPUFreq kernel parameters.
         Starting LSB: Set sysfs variables from /etc/sysfs.conf...
[  OK  ] Started Authenticate and Authorize Users to Run Privileged Tasks.
[  OK  ] Started LSB: Set sysfs variables from /etc/sysfs.conf.
[  OK  ] Started Network Manager.
[  OK  ] Started LSB: Armbian gathering hardware information.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.

 

 

Edited by user_357

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
7 7