Представим вашему вниманию еще один обзор Linux RK3399 с использованием платы для разработки Pine64 RockPro64. После проверки аппаратного обеспечения, протестируем на плате Ubuntu 18.04 «Bionic» LXDE на плате, 3D-графическое ускорение, воспроизведение видео, USB-накопители и сетевые характеристики, среди прочего.
Распаковка платы RockPro64
Плата поставляется в картонной упаковке, и стикер дал понять, что у нас версия с LPDDR4 объемом 2 ГБ.
Даже после анонсированной компанией FriendlyELEC платы NanoPi M4, Rockchip ROCKPro64, по-прежнему, остается самой дешевой платой для разработкой RK3399, поэтому неудивительно, что плата по умолчанию поставляется без аксессуаров.
Другим способом сохранить низкую цену стало отсутствие какого-либо встроенного хранилища, кроме флэш-памяти SPI, поэтому большинство людей будут использовать для загрузки карты micro SD или флеш-модуль eMMC, оба устройства приобретаются отдельно. Еще одно, за счет чего экономят, это отсутствие встроенного беспроводного модуля для подключения WiFi и/или Bluetooth, что имеет смысл, так как сертификация FCC проще, и плата доступна для людей, которым не нужен WiFi. Wi-Fi можно добавить через модуль Pine64 802.11ac 2 × 2 + Bluetooth 4.2 (15.99 $ – Ampak AP6359SA) или USB. Источник питания также не входит в комплект, и вам потребуется 12 В/3 А или больше, если вы подключаете устройства с питанием от порта USB 3.0 и/или слота PCIe, и в этом случае рекомендуется источник питания 12 В/5А. Последнее, уникально для RockPro64, поскольку нам не удалось вспомнить, чтобы что-то подобное встречалось ранее на других платах производителей RK3399. Оставим без внимания PCIe в этом обзоре, так как у нас нет совместимой карты, но Pine64 предоставляет карту в основном для хранения с интерфейсом PCI-e до Dual SATA-II (9,99 $) и PCI-e X4-M.2/NGFF NVMe SSD Interface Card (5.99 $). Обратите внимание, что интерфейс PCIe от Rockchip RK3399 не подходит для видеокарты, поскольку адресная память ограничена 32 МБ.
В нижней части платы мало что можно увидеть, кроме микро SD-карты и аудиокодека Everest Semi ES8316 .
Также интересно посмотреть на боковые стороны платы, особенно в отношении разъема USB 3.0 + USB тип C, который, ранее нам не встречался.
Другая сторона более «традиционная» с портом HDMI 2.0, разъемом RJ45 для Gigabit Ethernet и разъемом постоянного тока.
Поскольку нами тестировалось пять плат для разработки Rockchip RK3399, представим снимок всех пяти моделей для сравнения форм-факторов.
от верхнего правого угла, слева направо: RockPro64, NanoPC-T4 , Videostrong VS-RD-RK3399 , AIO-3399J и Firefly-RK3399 . Самая маленькая из них – NanoPC-T4, но теперь есть плата еще меньше, размером с визитную карточку, NanoPi M4, а вскоре появится и еще меньшая RBC3399 SBC -готовящаяся к выпуску NanoPi NEO4.
Предварительная настройка и первая загрузка
В то время как RockPro64 не оснащен радиатором, для Rockchip RK3399 требуется какое-то решение для охлаждения, так как, мы видели в Firefly-RK3399, что вентилятор может иметь большое значение с точки зрения производительности по сравнению с радиатором, поэтому нам трудно представить, что произойдет, если использовать плату без какого либо радиатора вообще.
Сначала мы попробовали тот же радиатор, который использовался в обзоре AIO-3399J, а затем использовался более толстый радиатор и старая тепловая паста.
Подключаем Ethernet, HDMI, USB-клавиатуру и мышь, а также USB 3.0, но не подключили USB-C-адаптер с выходом HDMI, так как это вызвало проблемы с другими платами (HDMI отключен, когда включен альтернативный режим USB-C DisplayPort). Также подключаем последовательную панель отладки, как описано на форумах Pine64.
Для начала нам нужно получить прошивку для игр. Новости о файлах прошивки Ayufan также публикуются на форумах, поэтому переходим на страницу выпуска Github и загружаем один из последних стабильных образов, в настоящее время v 0.7.9 с bionic-lxde-rockpro64-0.7.9-1067-arm64.img. XZ.
Загружаем образ на карту micro SD объемом 16 ГБ, используя Etcher, вставляем микрокарту в плату, подключаем питание, включаем и … ничего. Пробуем подключить последовательную консоль, используя 1,5 Мбит/с 8N1 без управления потоком и без вывода в последовательной консоли. Достаем микро SD-карту и вставляем ее в разъем, и … успех!
Получаем приглашение на вход на дисплее HDMI для Rock64 и в последовательной консоли. Имя пользователя/пароль по умолчанию для образа RockPro64: rock64/rock64.
Вот журнал загрузки для справки (N. B.: не первая загрузка):
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 |
DDR Version 1.12 20180518 In soft reset SRX Channel 0: LPDDR4,50MHz CS = 0 MR0=0x98 MR4=0x3 MR5=0xFF MR8=0x8 MR12=0x4D MR14=0x4D MR18=0x0 MR19=0x0 MR24=0x8 MR25=0x0 Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB Channel 1: LPDDR4,50MHz CS = 0 MR0=0x98 MR4=0x3 MR5=0xFF MR8=0x8 MR12=0x4D MR14=0x4D MR18=0x0 MR19=0x0 MR24=0x8 MR25=0x0 Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB 256B stride channel 0 CS = 0 MR0=0x98 MR4=0x82 MR5=0xFF MR8=0x8 MR12=0x72 MR14=0x72 MR18=0x0 MR19=0x0 MR24=0x8 MR25=0x0 channel 1 CS = 0 MR0=0x98 MR4=0x82 MR5=0xFF MR8=0x8 MR12=0x72 MR14=0x72 MR18=0x0 MR19=0x0 MR24=0x8 MR25=0x0 channel 0 training pass! channel 1 training pass! change freq to 400MHz 0,1 channel 0 CS = 0 MR0=0x98 MR4=0x2 MR5=0xFF MR8=0x8 MR12=0x72 MR14=0x72 MR18=0x0 MR19=0x0 MR24=0x8 MR25=0x0 channel 1 CS = 0 MR0=0x98 MR4=0x2 MR5=0xFF MR8=0x8 MR12=0x72 MR14=0x72 MR18=0x0 MR19=0x0 MR24=0x8 MR25=0x0 channel 0 training pass! channel 1 training pass! change freq to 800MHz 1,0 ch 0 ddrconfig = 0x101, ddrsize = 0x20 ch 1 ddrconfig = 0x101, ddrsize = 0x20 pmugrf_os_reg[2] = 0x3281F281, stride = 0x9 OUT U-Boot SPL board init U-Boot SPL 2017.09-rockchip-ayufan-1025-g482cd6ec8b (Jul 26 2018 - 08:18:48) booted from SD Trying to boot from MMC2 NOTICE: BL31: v1.3(debug):d98d16e NOTICE: BL31: Built : 15:03:07, May 10 2018 NOTICE: BL31: Rockchip release version: v1.1 INFO: GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3 INFO: Using opteed sec cpu_context! INFO: boot cpu mask: 0 INFO: plat_rockchip_pmu_init(1151): pd status 3e INFO: BL31: Initializing runtime services WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE iniK ERROR: Error initializing runtime service opteed_fast INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x200000 INFO: SPSR = 0x3c9 U-Boot 2017.09-rockchip-ayufan-1025-g482cd6ec8b (Jul 26 2018 - 08:18:55 +0000) Model: Pine64 RockPro64 DRAM: 2 GiB DCDC_REG1@vdd_center: ; enabling DCDC_REG2@vdd_cpu_l: ; enabling DCDC_REG3@vcc_ddr: ; enabling (ret: -38) DCDC_REG4@vcc_1v8: set 1800000 uV; enabling LDO_REG1@vcc1v8_dvp: set 1800000 uV; enabling LDO_REG2@vcc3v0_touch: set 3000000 uV; enabling LDO_REG3@vcc1v8_pmu: set 1800000 uV; enabling LDO_REG4@vcc_sd: set 3300000 uV; enabling LDO_REG5@vcca3v0_codec: set 3000000 uV; enabling LDO_REG6@vcc_1v5: set 1500000 uV; enabling LDO_REG7@vcca1v8_codec: set 1800000 uV; enabling LDO_REG8@vcc_3v0: set 3000000 uV; enabling SWITCH_REG1@vcc3v3_s3: ; enabling (ret: -38) SWITCH_REG2@vcc3v3_s0: ; enabling (ret: -38) vcc1v8-s0@vcc1v8_s0: set 1800000 uV; enabling (ret: -38) dc-12v@dc_12v: set 12000000 uV; enabling (ret: -38) vcc-sys@vcc_sys: set 5000000 uV; enabling (ret: -38) vcc3v3-sys@vcc3v3_sys: set 3300000 uV; enabling (ret: -38) vcc-phy-regulator@vcc_phy: ; enabling (ret: -38) vdd-log@vdd_log: ; enabling (ret: -38) MMC: sdhci@fe330000: 0, dwmmc@fe320000: 1 SF: Detected gd25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB *** Warning - bad CRC, using default environment In: serial@ff1a0000 Out: serial@ff1a0000 Err: serial@ff1a0000 Model: Pine64 RockPro64 normal boot Net: eth0: ethernet@fe300000 Hit any key to stop autoboot: 0 Card did not respond to voltage select! mmc_init: -95, time 19 switch to partitions #0, OK mmc1 is current device Scanning mmc 1:7... Found /boot/extlinux/extlinux.conf Retrieving file: /boot/extlinux/extlinux.conf 1055 bytes read in 30 ms (34.2 KiB/s) select kernel 1: kernel-4.4.132-1075-rockchip-ayufan-ga83beded8524 2: kernel-4.4.132-1075-rockchip-ayufan-ga83beded8524-memtest Enter choice: 1: kernel-4.4.132-1075-rockchip-ayufan-ga83beded8524 Retrieving file: /boot/initrd.img-4.4.132-1075-rockchip-ayufan-ga83beded8524 6356449 bytes read in 303 ms (20 MiB/s) Retrieving file: /boot/vmlinuz-4.4.132-1075-rockchip-ayufan-ga83beded8524 19703816 bytes read in 876 ms (21.5 MiB/s) append: rw panic=10 init=/sbin/init coherent_pool=1M ethaddr=e2:d0:b3:88:7b:62 4 Retrieving file: /boot/dtbs/4.4.132-1075-rockchip-ayufan-ga83beded8524/rockchipb 67025 bytes read in 159 ms (411.1 KiB/s) ## Flattened Device Tree blob at 01f00000 Booting using the fdt blob at 0x1f00000 Loading Ramdisk to 7d8f3000, end 7df02de1 ... OK Loading Device Tree to 000000007d8df000, end 000000007d8f25d0 ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.4.132-1075-rockchip-ayufan-ga83beded8524 (root@r8 [ 0.000000] Boot CPU: AArch64 Processor [410fd034] [ 0.000000] earlycon: Early serial console at MMIO32 0xff1a0000 (options '') [ 0.000000] bootconsole [uart0] enabled [ 0.000000] Reserved memory: failed to reserve memory for node 'drm-logo@000B [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] PERCPU: Embedded 21 pages/cpu @ffffffc07ff01000 s46248 r8192 d316 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: enabling workaround for ARM erratum 845719 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pa2 [ 0.000000] Kernel command line: earlycon=uart8250,mmio32,0xff1a0000 swiotlb4 [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.000000] software IO TLB [mem 0x7fdb5000-0x7fdf5000] (0MB) mapped at [fff] [ 0.000000] Memory: 2031592K/2095104K available (11966K kernel code, 1706K r) [ 0.000000] Virtual kernel memory layout: [ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 ) [ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000 ( 246 ) [ 0.000000] .init : 0xffffff8009080000 - 0xffffff80091a0000 ( 1152 ) [ 0.000000] .text : 0xffffff8008080000 - 0xffffff8008c30000 ( 11968 ) [ 0.000000] .rodata : 0xffffff8008c30000 - 0xffffff8009080000 ( 4416 ) [ 0.000000] .data : 0xffffff80091a0000 - 0xffffff800934a808 ( 1707 ) [ 0.000000] vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000 ( 8 ) [ 0.000000] 0xffffffbdc0008000 - 0xffffffbdc2000000 ( 31 ) [ 0.000000] fixed : 0xffffffbffe7fb000 - 0xffffffbffec00000 ( 4116 ) [ 0.000000] PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000 ( 16 ) [ 0.000000] memory : 0xffffffc000200000 - 0xffffffc080000000 ( 2046 ) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 64. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=6 [ 0.000000] NR_IRQS:64 nr_irqs:64 0 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] ITS: /interrupt-controller@fee00000/interrupt-controller@fee20000 [ 0.000000] ITS: allocated 65536 Devices @7cd00000 (psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GIC: using LPI property table @0x000000007cc90000 [ 0.000000] ITS: Allocated 1792 chunks for LPIs [ 0.000000] CPU0: found redistributor 0 region 0:0x00000000fef00000 [ 0.000000] CPU0: using LPI pending table @0x000000007cca0000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cp} [ 0.000000] GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /} [ 0.000000] rockchip_clk_register_frac_branch: could not find dclk_vop0_frack [ 0.000000] rockchip_clk_register_frac_branch: could not find dclk_vop1_frack [ 0.000000] Architected cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycless [ 0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398s [ 0.001955] Console: colour dummy device 80x25 [ 0.002381] console [tty0] enabled [ 0.002712] bootconsole [uart0] disabled [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.4.132-1075-rockchip-ayufan-ga83beded8524 (root@r8 [ 0.000000] Boot CPU: AArch64 Processor [410fd034] [ 0.000000] earlycon: Early serial console at MMIO32 0xff1a0000 (options '') [ 0.000000] bootconsole [uart0] enabled [ 0.000000] Reserved memory: failed to reserve memory for node 'drm-logo@000B [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] PERCPU: Embedded 21 pages/cpu @ffffffc07ff01000 s46248 r8192 d316 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: enabling workaround for ARM erratum 845719 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pa2 [ 0.000000] Kernel command line: earlycon=uart8250,mmio32,0xff1a0000 swiotlb4 [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.000000] software IO TLB [mem 0x7fdb5000-0x7fdf5000] (0MB) mapped at [fff] [ 0.000000] Memory: 2031592K/2095104K available (11966K kernel code, 1706K r) [ 0.000000] Virtual kernel memory layout: [ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 ) [ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000 ( 246 ) [ 0.000000] .init : 0xffffff8009080000 - 0xffffff80091a0000 ( 1152 ) [ 0.000000] .text : 0xffffff8008080000 - 0xffffff8008c30000 ( 11968 ) [ 0.000000] .rodata : 0xffffff8008c30000 - 0xffffff8009080000 ( 4416 ) [ 0.000000] .data : 0xffffff80091a0000 - 0xffffff800934a808 ( 1707 ) [ 0.000000] vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000 ( 8 ) [ 0.000000] 0xffffffbdc0008000 - 0xffffffbdc2000000 ( 31 ) [ 0.000000] fixed : 0xffffffbffe7fb000 - 0xffffffbffec00000 ( 4116 ) [ 0.000000] PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000 ( 16 ) [ 0.000000] memory : 0xffffffc000200000 - 0xffffffc080000000 ( 2046 ) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 64. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=6 [ 0.000000] NR_IRQS:64 nr_irqs:64 0 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] ITS: /interrupt-controller@fee00000/interrupt-controller@fee20000 [ 0.000000] ITS: allocated 65536 Devices @7cd00000 (psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GIC: using LPI property table @0x000000007cc90000 [ 0.000000] ITS: Allocated 1792 chunks for LPIs [ 0.000000] CPU0: found redistributor 0 region 0:0x00000000fef00000 [ 0.000000] CPU0: using LPI pending table @0x000000007cca0000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cp} [ 0.000000] GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /} [ 0.000000] rockchip_clk_register_frac_branch: could not find dclk_vop0_frack [ 0.000000] rockchip_clk_register_frac_branch: could not find dclk_vop1_frack [ 0.000000] Architected cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycless [ 0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398s [ 0.001955] Console: colour dummy device 80x25 [ 0.002381] console [tty0] enabled [ 0.002712] bootconsole [uart0] disabled [ 0.003115] Calibrating delay loop (skipped), value calculated using timer f) [ 0.003143] pid_max: default: 32768 minimum: 301 [ 0.003268] Security Framework initialized [ 0.003285] Yama: becoming mindful. [ 0.003316] AppArmor: AppArmor disabled by boot time parameter [ 0.003378] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.003397] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.004141] Initializing cgroup subsys io [ 0.004167] Initializing cgroup subsys memory [ 0.004208] Initializing cgroup subsys devices [ 0.004229] Initializing cgroup subsys freezer [ 0.004248] Initializing cgroup subsys net_cls [ 0.004266] Initializing cgroup subsys perf_event [ 0.004286] Initializing cgroup subsys net_prio [ 0.004310] Initializing cgroup subsys hugetlb [ 0.004327] Initializing cgroup subsys pids [ 0.004374] ftrace: allocating 44383 entries in 174 pages [ 0.119132] sched-energy: Sched-energy-costs installed from DT [ 0.119162] CPU0: update cpu_capacity 401 [ 0.119226] ASID allocator initialised with 32768 entries [ 0.122479] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@feed [ 0.122970] Platform MSI: /interrupt-controller@fee00000/interrupt-controlled [ 0.124278] Detected VIPT I-cache on CPU1 [ 0.124310] CPU1: found redistributor 1 region 0:0x00000000fef20000 [ 0.124340] CPU1: using LPI pending table @0x000000007cf30000 [ 0.124384] CPU1: update cpu_capacity 401 [ 0.124388] CPU1: Booted secondary processor [410fd034] [ 0.124923] Detected VIPT I-cache on CPU2 [ 0.124944] CPU2: found redistributor 2 region 0:0x00000000fef40000 [ 0.124972] CPU2: using LPI pending table @0x000000007cf50000 [ 0.124999] CPU2: update cpu_capacity 401 [ 0.125003] CPU2: Booted secondary processor [410fd034] [ 0.125541] Detected VIPT I-cache on CPU3 [ 0.125562] CPU3: found redistributor 3 region 0:0x00000000fef60000 [ 0.125589] CPU3: using LPI pending table @0x000000007cfb0000 [ 0.125617] CPU3: update cpu_capacity 401 [ 0.125621] CPU3: Booted secondary processor [410fd034] [ 0.126141] Detected PIPT I-cache on CPU4 [ 0.126167] CPU4: found redistributor 100 region 0:0x00000000fef80000 [ 0.126205] CPU4: using LPI pending table @0x000000007cfe0000 [ 0.126245] CPU4: update cpu_capacity 1024 [ 0.126248] CPU4: Booted secondary processor [410fd082] [ 0.126804] Detected PIPT I-cache on CPU5 [ 0.126822] CPU5: found redistributor 101 region 0:0x00000000fefa0000 [ 0.126859] CPU5: using LPI pending table @0x000000007c420000 [ 0.126888] CPU5: update cpu_capacity 1024 [ 0.126891] CPU5: Booted secondary processor [410fd082] [ 0.126979] Brought up 6 CPUs [ 0.127677] SMP: Total of 6 processors activated. [ 0.127709] CPU features: detected feature: GIC system register CPU interface [ 0.127747] CPU: All CPU(s) started at EL2 [ 0.127815] alternatives: patching kernel code [ 0.129316] devtmpfs: initialized [ 0.142993] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms [ 0.143048] futex hash table entries: 2048 (order: 5, 131072 bytes) [ 0.143535] xor: measuring software checksum speed [ 0.153456] 8regs : 2876.000 MB/sec [ 0.163513] 8regs_prefetch: 2572.000 MB/sec [ 0.173571] 32regs : 3244.000 MB/sec [ 0.183627] 32regs_prefetch: 2868.000 MB/sec [ 0.183647] xor: using function: 32regs (3244.000 MB/sec) [ 0.183687] pinctrl core: initialized pinctrl subsystem [ 0.185151] Failed to find legacy iommu devices [ 0.185570] NET: Registered protocol family 16 [ 0.190195] cpuidle: using governor ladder [ 0.194207] cpuidle: using governor menu [ 0.194524] vdso: 2 pages (1 code @ ffffff8008c36000, 1 data @ ffffff80091a4) [ 0.194580] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.195116] DMA: preallocated 1024 KiB pool for atomic allocations [ 0.247031] raid6: int64x1 gen() 472 MB/s [ 0.264114] raid6: int64x1 xor() 408 MB/s [ 0.281233] raid6: int64x2 gen() 656 MB/s [ 0.298334] raid6: int64x2 xor() 595 MB/s [ 0.315457] raid6: int64x4 gen() 980 MB/s [ 0.332542] raid6: int64x4 xor() 671 MB/s [ 0.349642] raid6: int64x8 gen() 761 MB/s [ 0.366732] raid6: int64x8 xor() 630 MB/s [ 0.383817] raid6: neonx1 gen() 996 MB/s [ 0.400896] raid6: neonx1 xor() 677 MB/s [ 0.418017] raid6: neonx2 gen() 1332 MB/s [ 0.435109] raid6: neonx2 xor() 990 MB/s [ 0.452197] raid6: neonx4 gen() 1804 MB/s [ 0.469285] raid6: neonx4 xor() 1189 MB/s [ 0.486403] raid6: neonx8 gen() 1695 MB/s [ 0.503493] raid6: neonx8 xor() 1259 MB/s [ 0.503511] raid6: using algorithm neonx4 gen() 1804 MB/s [ 0.503530] raid6: .... xor() 1189 MB/s, rmw enabled [ 0.503549] raid6: using intx1 recovery algorithm [ 0.505189] vcc3v3_pcie: supplied by dc_12v [ 0.505732] vcc_sys: supplied by dc_12v [ 0.506263] vcc3v3_sys: supplied by vcc_sys [ 0.507376] iommu: Adding device ff8f0000.vop to group 0 [ 0.507456] platform ff8f0000.vop: iommu /iommu@ff8f3f00 not found [ 0.507476] iommu: Removing device ff8f0000.vop from group 0 [ 0.507548] iommu: Adding device ff900000.vop to group 0 [ 0.508811] SCSI subsystem initialized [ 0.509172] usbcore: registered new interface driver usbfs [ 0.509228] usbcore: registered new interface driver hub [ 0.509324] usbcore: registered new device driver usb [ 0.509433] media: Linux media interface: v0.10 [ 0.509478] Linux video capture interface: v2.00 [ 0.509548] pps_core: LinuxPPS API ver. 1 registered [ 0.509567] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom> [ 0.509611] PTP clock support registered [ 0.510725] Advanced Linux Sound Architecture Driver Initialized. [ 0.511253] Bluetooth: Core ver 2.21 [ 0.511295] NET: Registered protocol family 31 [ 0.511314] Bluetooth: HCI device and connection manager initialized [ 0.511340] Bluetooth: HCI socket layer initialized [ 0.511362] Bluetooth: L2CAP socket layer initialized [ 0.511398] Bluetooth: SCO socket layer initialized [ 0.511780] NetLabel: Initializing [ 0.511800] NetLabel: domain hash size = 128 [ 0.511818] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.511869] NetLabel: unlabeled traffic allowed by default [ 0.512677] clocksource: Switched to clocksource arch_sys_counter [ 0.564433] thermal thermal_zone1: power_allocator: sustainable_power will bd [ 0.564716] NET: Registered protocol family 2 [ 0.565184] TCP established hash table entries: 16384 (order: 5, 131072 byte) [ 0.565327] TCP bind hash table entries: 16384 (order: 7, 524288 bytes) [ 0.565778] TCP: Hash tables configured (established 16384 bind 16384) [ 0.565883] UDP hash table entries: 1024 (order: 4, 98304 bytes) [ 0.565961] UDP-Lite hash table entries: 1024 (order: 4, 98304 bytes) [ 0.566266] NET: Registered protocol family 1 [ 0.566584] RPC: Registered named UNIX socket transport module. [ 0.566607] RPC: Registered udp transport module. [ 0.566625] RPC: Registered tcp transport module. [ 0.566643] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.567396] Trying to unpack rootfs image as initramfs... [ 0.878717] Freeing initrd memory: 6204K [ 0.879292] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counte [ 0.879409] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counte [ 0.880661] kvm [1]: 8-bit VMID [ 0.880705] kvm [1]: Hyp mode initialized successfully [ 0.880851] kvm [1]: interrupt-controller@fff20000 IRQ10 [ 0.881067] kvm [1]: timer IRQ12 [ 0.884044] audit: initializing netlink subsys (disabled) [ 0.884112] audit: type=2000 audit(0.806:1): initialized [ 0.884859] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 0.891973] VFS: Disk quotas dquot_6.6.0 [ 0.892146] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.893799] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.894972] NFS: Registering the id_resolver key type [ 0.895016] Key type id_resolver registered [ 0.895035] Key type id_legacy registered [ 0.895066] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 0.895746] fuse init (API version 7.23) [ 0.896477] JFS: nTxBlock = 8192, nTxLock = 65536 [ 0.902547] SGI XFS with ACLs, security attributes, realtime, no debug enabld [ 0.904263] Key type big_key registered [ 0.904328] [ 0.904328] TEE Core Framework initialization (ver 1:0.1) [ 0.904383] TEE armv7 Driver initialization [ 0.904828] tz_tee_probe: name="armv7sec", id=0, pdev_name="armv7sec.0" [ 0.904853] TEE core: Alloc the misc device "opteearmtz00" (id=0) [ 0.905064] TEE Core: Register the misc device "opteearmtz00" (id=0,minor=62) [ 0.909068] NET: Registered protocol family 38 [ 0.909112] Key type asymmetric registered [ 0.909136] Asymmetric key parser 'x509' registered [ 0.909344] Block layer SCSI generic (bsg) driver version 0.4 loaded (major ) [ 0.909521] io scheduler noop registered [ 0.909547] io scheduler deadline registered (default) [ 0.909597] io scheduler cfq registered [ 0.911006] phy phy-ff770000.syscon:usb2-phy@e460.0: Failed to get VBUS suppr [ 0.916766] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-0 [ 0.916808] dma-pl330 ff6d0000.dma-controller: DBUFF-32x8bytes Num_Cha2 [ 0.918328] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-0 [ 0.918365] dma-pl330 ff6e0000.dma-controller: DBUFF-128x8bytes Num_Ch6 [ 0.919574] pwm-regulator: supplied by vcc_sys [ 0.920234] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled [ 0.921876] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 35, base_baud =A [ 1.038794] console [ttyS2] enabled [ 1.040142] [drm] Initialized drm 1.1.0 20060810 [ 1.044211] [drm] Rockchip DRM driver version: v1.0.1 [ 1.045165] usbcore: registered new interface driver udl [ 1.046943] Unable to detect cache hierarchy for CPU 0 [ 1.048241] brd: module loaded [ 1.054041] loop: module loaded [ 1.054379] lkdtm: No crash points registered, enable through debugfs [ 1.056474] rockchip-spi ff1d0000.spi: Failed to request TX DMA channel [ 1.057098] rockchip-spi ff1d0000.spi: Failed to request RX DMA channel [ 1.057706] rockchip-spi ff1d0000.spi: no high_speed pinctrl state [ 1.058846] m25p80 spi32766.0: gd25q128 (16384 Kbytes) [ 1.059339] 3 ofpart partitions found on MTD device spi32766.0 [ 1.059883] Creating 3 MTD partitions on "spi32766.0": [ 1.060354] 0x000000000000-0x0000003f8000 : "loader" [ 1.061722] 0x0000003f8000-0x000000400000 : "env" [ 1.062972] 0x0000007c0000-0x000000800000 : "vendor" [ 1.065831] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input). [ 1.066475] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28). [ 1.067004] rk_gmac-dwmac fe300000.ethernet: RX delay(0x20). [ 1.067534] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no). [ 1.068274] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed [ 1.068913] rk_gmac-dwmac fe300000.ethernet: clock input from PHY [ 1.074472] rk_gmac-dwmac fe300000.ethernet: init for RGMII [ 1.075105] stmmac - user ID: 0x10, Synopsys ID: 0x35 [ 1.075565] Ring mode enabled [ 1.075863] DMA HW capability register supported [ 1.076266] Normal descriptors [ 1.076588] RX Checksum Offload Engine supported (type 2) [ 1.077093] TX Checksum insertion supported [ 1.077484] Wake-Up On Lan supported [ 1.077863] Enable RX Mitigation via HW Watchdog Timer [ 1.146963] libphy: stmmac: probed [ 1.147296] eth%d: PHY ID 001cc916 at 0 IRQ POLL (stmmac-0:00) active [ 1.147891] eth%d: PHY ID 001cc916 at 1 IRQ POLL (stmmac-0:01) [ 1.149797] Rockchip WiFi SYS interface (V1.00) ... [ 1.150330] usbcore: registered new interface driver cdc_ether [ 1.150951] usbcore: registered new interface driver rndis_host [ 1.152835] rockchip-dwc3 usb@fe800000: failed to get drvdata dwc3 [ 1.158843] rockchip-dwc3 usb@fe900000: fail to get drvdata hcd [ 1.160540] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.161170] ehci-pci: EHCI PCI platform driver [ 1.161630] ehci-platform: EHCI generic platform driver [ 1.165703] ehci-platform fe3c0000.usb: EHCI Host Controller [ 1.166393] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus1 [ 1.167233] ehci-platform fe3c0000.usb: irq 29, io mem 0xfe3c0000 [ 1.173700] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00 [ 1.174417] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.175049] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber1 [ 1.175721] usb usb1: Product: EHCI Host Controller [ 1.176169] usb usb1: Manufacturer: Linux 4.4.132-1075-rockchip-ayufan-ga83bd [ 1.176952] usb usb1: SerialNumber: fe3c0000.usb [ 1.177901] hub 1-0:1.0: USB hub found [ 1.178274] hub 1-0:1.0: 1 port detected [ 1.179200] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.179795] ohci-platform: OHCI generic platform driver [ 1.180783] ohci-platform fe3e0000.usb: Generic Platform OHCI controller [ 1.181565] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus2 [ 1.182379] ohci-platform fe3e0000.usb: irq 30, io mem 0xfe3e0000 [ 1.237852] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.238470] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber1 [ 1.239146] usb usb2: Product: Generic Platform OHCI controller [ 1.239693] usb usb2: Manufacturer: Linux 4.4.132-1075-rockchip-ayufan-ga83bd [ 1.240469] usb usb2: SerialNumber: fe3e0000.usb [ 1.241560] hub 2-0:1.0: USB hub found [ 1.241991] hub 2-0:1.0: 1 port detected [ 1.244924] usbcore: registered new interface driver iforce [ 1.245488] usbcore: registered new interface driver xpad [ 1.246291] usbcore: registered new interface driver usbtouchscreen [ 1.247127] .. rk pwm remotectl v1.1 init [ 1.247759] input: ff420030.pwm as /devices/platform/ff420030.pwm/input/inpu0 [ 1.249183] i2c /dev entries driver [ 1.250724] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected! [ 1.251403] fan53555-reg: supplied by vcc_sys [ 1.253929] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected! [ 1.254593] fan53555-reg: supplied by vcc_sys [ 1.257243] rk808 0-001b: Pmic Chip id: 0x0 [ 1.260279] rk808-regulator rk808-regulator: there is no dvs0 gpio [ 1.260902] rk808-regulator rk808-regulator: there is no dvs1 gpio [ 1.261543] DCDC_REG1: supplied by vcc_sys [ 1.262685] DCDC_REG2: supplied by vcc_sys [ 1.263625] DCDC_REG3: supplied by vcc_sys [ 1.264306] DCDC_REG4: supplied by vcc_sys [ 1.265153] LDO_REG1: supplied by vcc_sys [ 1.266651] LDO_REG2: supplied by vcc_sys [ 1.268034] LDO_REG3: supplied by vcc_sys [ 1.269387] LDO_REG4: supplied by vcc_sys [ 1.270794] LDO_REG5: supplied by vcc_sys [ 1.272158] LDO_REG6: supplied by vcc_sys [ 1.273528] LDO_REG7: supplied by vcc_sys [ 1.274933] LDO_REG8: supplied by vcc_sys [ 1.276300] SWITCH_REG1: supplied by vcc3v3_sys [ 1.277017] SWITCH_REG2: supplied by vcc3v3_sys [ 1.280942] rk808-rtc rk808-rtc: rtc core: registered rk808-rtc as rtc0 [ 1.281995] rk3x-i2c ff3c0000.i2c: Initialized RK3xxx I2C bus at ffffff800940 [ 1.283346] rk3x-i2c ff110000.i2c: Initialized RK3xxx I2C bus at ffffff800940 [ 1.285201] fusb302 4-0022: Can't get property of role, set role to default P [ 1.294357] fusb302 4-0022: port 0 probe success with role ROLE_MODE_DRP, trE [ 1.295202] rk3x-i2c ff3d0000.i2c: Initialized RK3xxx I2C bus at ffffff800940 [ 1.296898] IR NEC protocol handler initialized [ 1.297318] IR RC5(x/sz) protocol handler initialized [ 1.297793] IR RC6 protocol handler initialized [ 1.298212] IR JVC protocol handler initialized [ 1.298630] IR Sony protocol handler initialized [ 1.299067] IR SANYO protocol handler initialized [ 1.299501] IR Sharp protocol handler initialized [ 1.299944] IR MCE Keyboard/mouse protocol handler initialized [ 1.300477] IR XMP protocol handler initialized [ 1.301066] usbcore: registered new interface driver uvcvideo [ 1.301587] USB Video Class driver (1.1.1) [ 1.304563] rk_tsadcv2_temp_to_code: Invalid conversion table: code=1023, te7 [ 1.305554] rockchip-thermal ff260000.tsadc: tsadc is probed successfully! [ 1.307274] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-m [ 1.308069] Bluetooth: Virtual HCI driver ver 1.5 [ 1.308633] Bluetooth: HCI UART driver ver 2.3 [ 1.309057] Bluetooth: HCI UART protocol H4 registered [ 1.309526] Bluetooth: HCI UART protocol LL registered [ 1.310002] Bluetooth: HCI UART protocol ATH3K registered [ 1.310554] usbcore: registered new interface driver bfusb [ 1.311121] usbcore: registered new interface driver btusb [ 1.312048] cpu cpu0: Failed to get leakage [ 1.312515] cpu cpu0: Failed to get pvtm [ 1.313137] cpu cpu4: Failed to get leakage [ 1.313588] cpu cpu4: Failed to get pvtm [ 1.317535] sdhci: Secure Digital Host Controller Interface driver [ 1.318117] sdhci: Copyright(c) Pierre Ossman [ 1.318524] Synopsys Designware Multimedia Card Interface Driver [ 1.319975] dwmmc_rockchip fe320000.dwmmc: IDMAC supports 32-bit address mod. [ 1.320663] dwmmc_rockchip fe320000.dwmmc: Using internal DMA controller. [ 1.321300] dwmmc_rockchip fe320000.dwmmc: Version ID is 270a [ 1.321877] dwmmc_rockchip fe320000.dwmmc: DW MMC controller at irq 25,32 bio [ 1.322794] dwmmc_rockchip fe320000.dwmmc: 'clock-freq-min-max' property was. [ 1.323650] dwmmc_rockchip fe320000.dwmmc: No vmmc regulator found [ 1.324484] rockchip-iodomain ff770000.syscon:io-domains: Setting to 3300000e [ 1.325189] rockchip-iodomain ff770000.syscon:io-domains: Setting to 3300000e [ 1.336736] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz,) [ 1.347931] dwmmc_rockchip fe320000.dwmmc: 1 slots initialized [ 1.348866] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.351131] sdhci-arasan fe330000.sdhci: No vmmc regulator found [ 1.351693] sdhci-arasan fe330000.sdhci: No vqmmc regulator found [ 1.378930] mmc1: SDHCI controller on fe330000.sdhci [fe330000.sdhci] using A [ 1.380783] hidraw: raw HID events driver (C) Jiri Kosina [ 1.384251] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 5000000) [ 1.384654] usbcore: registered new interface driver usbhid [ 1.384656] usbhid: USB HID core driver [ 1.386401] mmc0: new high speed SDHC card at address 59b4 [ 1.387835] mmcblk0: mmc0:59b4 SD 14.7 GiB [ 1.388331] usbcore: registered new interface driver snd-usb-audio [ 1.389812] es8316 1-0010: Can not read property spk_ctl_gpio [ 1.397537] u32 classifier [ 1.397831] Netfilter messages via NETLINK v0.30. [ 1.398347] ip_set: protocol 6 [ 1.398847] Initializing XFRM netlink socket [ 1.399888] NET: Registered protocol family 10 [ 1.400399] mmcblk0: p1 p2 p3 p4 p5 p6 p7 [ 1.402016] NET: Registered protocol family 17 [ 1.402471] NET: Registered protocol family 15 [ 1.402956] bridge: automatic filtering via arp/ip/ip6tables has been deprec. [ 1.404155] Bridge firewalling registered [ 1.404658] Bluetooth: RFCOMM socket layer initialized [ 1.405216] Bluetooth: RFCOMM ver 1.11 [ 1.405580] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 1.406157] Bluetooth: HIDP socket layer initialized [ 1.406661] 8021q: 802.1Q VLAN Support v1.8 [ 1.407083] [WLAN_RFKILL]: Enter rfkill_wlan_init [ 1.407828] [WLAN_RFKILL]: Enter rfkill_wlan_probe [ 1.408318] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = ap6354 [ 1.408950] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control. [ 1.409592] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by g. [ 1.410343] [WLAN_RFKILL]: wlan_platdata_parse_dt: get property: WIFI,host_w. [ 1.411171] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio [ 1.411648] [WLAN_RFKILL]: Exit rfkill_wlan_probe [ 1.412142] [BT_RFKILL]: Enter rfkill_rk_init [ 1.412905] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: uart_rts. [ 1.413691] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,reset. [ 1.414435] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_. [ 1.415188] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_. [ 1.416318] [BT_RFKILL]: Request irq for bt wakeup host [ 1.416866] [BT_RFKILL]: ** disable irq [ 1.417362] [BT_RFKILL]: bt_default device registered. [ 1.417949] Key type dns_resolver registered [ 1.419063] Registered cp15_barrier emulation handler [ 1.419660] Registered setend emulation handler [ 1.421077] registered taskstats version 1 [ 1.423608] Btrfs loaded, integrity-checker=on [ 1.424111] BTRFS: selftest: Running btrfs free space cache tests [ 1.424698] BTRFS: selftest: Running extent only tests [ 1.425179] BTRFS: selftest: Running bitmap only tests [ 1.425658] BTRFS: selftest: Running bitmap and extent tests [ 1.426228] BTRFS: selftest: Running space stealing from bitmap to extent [ 1.427576] BTRFS: selftest: Free space cache tests finished [ 1.428101] BTRFS: selftest: Running extent buffer operation tests [ 1.428634] BTRFS: selftest: Running btrfs_split_item tests [ 1.429235] BTRFS: selftest: Running find delalloc tests [ 1.587298] BTRFS: selftest: Running btrfs_get_extent tests [ 1.587935] BTRFS: selftest: Running hole first btrfs_get_extent test [ 1.588521] BTRFS: selftest: Running outstanding_extents tests [ 1.589078] BTRFS: selftest: Running qgroup tests [ 1.589498] BTRFS: selftest: Qgroup basic add [ 1.589933] BTRFS: selftest: Qgroup multiple refs test [ 1.602211] phy phy-ff770000.syscon:usb2-phy@e450.5: Failed to get VBUS suppr [ 1.604385] rockchip-drm display-subsystem: devfreq is not set [ 1.605109] rockchip-vop ff900000.vop: missing rockchip,grf property [ 1.605873] rockchip-vop ff900000.vop: unable to request PWM [ 1.606381] rockchip-drm display-subsystem: bound ff900000.vop (ops 0xffffff) [ 1.607135] rockchip-vop ff8f0000.vop: missing rockchip,grf property [ 1.607798] rockchip-vop ff8f0000.vop: unable to request PWM [ 1.608303] rockchip-drm display-subsystem: bound ff8f0000.vop (ops 0xffffff) [ 1.609878] i2c i2c-9: of_i2c: modalias failure on /hdmi@ff940000/ports [ 1.610587] dwhdmi-rockchip ff940000.hdmi: registered DesignWare HDMI I2C bur [ 1.611769] dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11) [ 1.616040] rockchip-drm display-subsystem: bound ff940000.hdmi (ops 0xfffff) [ 1.618184] rockchip-drm display-subsystem: bound fec00000.dp (ops 0xffffff8) [ 1.619169] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 1.619855] [drm] No driver support for vblank timestamp query. [ 1.620639] cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin f2 [ 1.622062] rockchip-drm display-subsystem: failed to parse loader memory [ 1.691744] usb 2-1: new low-speed USB device number 2 using ohci-platform [ 1.774649] rockchip-vop ff900000.vop: [drm:vop_crtc_enable] Update mode to 1 [ 1.885492] Console: switching to colour frame buffer device 240x67 [ 1.938836] usb 2-1: New USB device found, idVendor=1a2c, idProduct=0002 [ 1.938842] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1.938846] usb 2-1: Product: USB Keykoard [ 1.938849] usb 2-1: Manufacturer: USB [ 1.945902] rockchip-drm display-subsystem: fb0: frame buffer device [ 1.947610] input: USB USB Keykoard as /devices/platform/fe3e0000.usb/usb2/21 [ 1.957572] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller [ 1.958443] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus n3 [ 1.959417] xhci-hcd xhci-hcd.5.auto: hcc params 0x0220fe64 hci version 0x110 [ 1.960378] xhci-hcd xhci-hcd.5.auto: irq 223, io mem 0xfe800000 [ 1.961156] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.961877] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber1 [ 1.962631] usb usb3: Product: xHCI Host Controller [ 1.963153] usb usb3: Manufacturer: Linux 4.4.132-1075-rockchip-ayufan-ga83bd [ 1.964049] usb usb3: SerialNumber: xhci-hcd.5.auto [ 1.965076] hub 3-0:1.0: USB hub found [ 1.965495] hub 3-0:1.0: 1 port detected [ 1.966221] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller [ 1.966954] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus n4 [ 1.967827] usb usb4: We don't know the algorithms for LPM for this host, di. [ 1.968760] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003 [ 1.969471] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber1 [ 1.970237] usb usb4: Product: xHCI Host Controller [ 1.970760] usb usb4: Manufacturer: Linux 4.4.132-1075-rockchip-ayufan-ga83bd [ 1.971648] usb usb4: SerialNumber: xhci-hcd.5.auto [ 1.972560] hub 4-0:1.0: USB hub found [ 1.973019] hub 4-0:1.0: 1 port detected [ 1.974769] xhci-hcd xhci-hcd.5.auto: remove, state 1 [ 1.975329] usb usb4: USB disconnect, device number 1 [ 1.999645] xhci-hcd xhci-hcd.5.auto: Host not halted after 16000 microsecon. [ 2.000583] xhci-hcd xhci-hcd.5.auto: Host controller not halted, aborting r. [ 2.001659] xhci-hcd xhci-hcd.5.auto: USB bus 4 deregistered [ 2.002804] xhci-hcd xhci-hcd.5.auto: remove, state 1 [ 2.003430] usb usb3: USB disconnect, device number 1 [ 2.003500] hid-generic 0003:1A2C:0002.0001: input,hidraw0: USB HID v1.10 Ke0 [ 2.005897] xhci-hcd xhci-hcd.5.auto: USB bus 3 deregistered [ 2.009045] input: USB USB Keykoard as /devices/platform/fe3e0000.usb/usb2/22 [ 2.012844] xhci-hcd xhci-hcd.6.auto: xHCI Host Controller [ 2.013707] xhci-hcd xhci-hcd.6.auto: new USB bus registered, assigned bus n3 [ 2.014786] xhci-hcd xhci-hcd.6.auto: hcc params 0x0220fe64 hci version 0x110 [ 2.015814] xhci-hcd xhci-hcd.6.auto: irq 224, io mem 0xfe900000 [ 2.025185] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002 [ 2.034483] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber1 [ 2.043796] usb usb3: Product: xHCI Host Controller [ 2.052858] usb usb3: Manufacturer: Linux 4.4.132-1075-rockchip-ayufan-ga83bd [ 2.062329] usb usb3: SerialNumber: xhci-hcd.6.auto [ 2.071946] hid-generic 0003:1A2C:0002.0002: input,hidraw1: USB HID v1.10 De1 [ 2.081229] hub 3-0:1.0: USB hub found [ 2.089100] hub 3-0:1.0: 1 port detected [ 2.097102] xhci-hcd xhci-hcd.6.auto: xHCI Host Controller [ 2.105121] xhci-hcd xhci-hcd.6.auto: new USB bus registered, assigned bus n4 [ 2.113226] usb usb4: We don't know the algorithms for LPM for this host, di. [ 2.121478] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003 [ 2.128503] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber1 [ 2.135331] usb usb4: Product: xHCI Host Controller [ 2.141910] usb usb4: Manufacturer: Linux 4.4.132-1075-rockchip-ayufan-ga83bd [ 2.148847] usb usb4: SerialNumber: xhci-hcd.6.auto [ 2.157245] hub 4-0:1.0: USB hub found [ 2.168215] hub 4-0:1.0: 1 port detected [ 2.183688] ehci-platform fe380000.usb: EHCI Host Controller [ 2.205622] ehci-platform fe380000.usb: new USB bus registered, assigned bus5 [ 2.215400] ehci-platform fe380000.usb: irq 27, io mem 0xfe380000 [ 2.229713] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00 [ 2.238735] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002 [ 2.247607] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber1 [ 2.256458] usb usb5: Product: EHCI Host Controller [ 2.263799] usb usb5: Manufacturer: Linux 4.4.132-1075-rockchip-ayufan-ga83bd [ 2.271444] usb usb5: SerialNumber: fe380000.usb [ 2.279326] hub 5-0:1.0: USB hub found [ 2.285665] hub 5-0:1.0: 1 port detected [ 2.292774] ohci-platform fe3a0000.usb: Generic Platform OHCI controller [ 2.299704] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus6 [ 2.306639] ohci-platform fe3a0000.usb: irq 28, io mem 0xfe3a0000 [ 2.372281] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001 [ 2.378764] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber1 [ 2.385121] usb usb6: Product: Generic Platform OHCI controller [ 2.391341] usb usb6: Manufacturer: Linux 4.4.132-1075-rockchip-ayufan-ga83bd [ 2.397831] usb usb6: SerialNumber: fe3a0000.usb [ 2.405485] hub 6-0:1.0: USB hub found [ 2.415730] hub 6-0:1.0: 1 port detected [ 2.487254] usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd [ 2.508792] usb 4-1: New USB device found, idVendor=0bc2, idProduct=2312 [ 2.515155] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2.521455] usb 4-1: Product: Expansion [ 2.524736] asoc-simple-card es8316-sound: ES8316 HiFi <-> ff890000.i2s mappk [ 2.524755] asoc-simple-card es8316-sound: ASoC: no source widget found for 1 [ 2.524759] asoc-simple-card es8316-sound: ASoC: Failed to add route MICBIASk [ 2.524764] asoc-simple-card es8316-sound: ASoC: no sink widget found for INP [ 2.524768] asoc-simple-card es8316-sound: ASoC: Failed to add route Mic JacP [ 2.525232] es8316 1-0010: ASoC: Failed to create Left Hp mixer debugfs file [ 2.525238] es8316 1-0010: ASoC: Failed to create Right Hp mixer debugfs file [ 2.525302] es8316 1-0010: ASoC: Failed to create HPCP L debugfs file [ 2.525344] es8316 1-0010: ASoC: Failed to create HPCP R debugfs file [ 2.525396] es8316 1-0010: ASoC: Failed to create HPVOL L debugfs file [ 2.525437] es8316 1-0010: ASoC: Failed to create HPVOL R debugfs file [ 2.530975] asoc-simple-card spdif-sound: dit-hifi <-> ff870000.spdif mappink [ 2.540409] rk808-rtc rk808-rtc: setting system clock to 2018-08-25 07:10:31) [ 2.540434] of_cfs_init [ 2.540469] of_cfs_init: OK [ 2.575468] vcc3v3_pcie: disabling [ 2.576267] rk-keypad rockchip-key: no io-channels defined [ 2.576727] input: rk29-keypad as /devices/platform/rockchip-key/input/input3 [ 2.578150] ALSA device list: [ 2.578153] #0: rockchip,es8316-codec [ 2.578155] #1: ROCKCHIP,SPDIF [ 2.621815] cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin f2 [ 2.661275] usb 4-1: Manufacturer: Seagate [ 2.661281] usb 4-1: SerialNumber: NA495NNC [ 2.672568] ttyS2 - failed to request DMA, use interrupt mode [ 2.678788] Freeing unused kernel memory: 1152K Loading, please wait... starting version 237 [ 2.782797] usb 6-1: new low-speed USB device number 2 using ohci-platform [ 2.967157] usb 6-1: New USB device found, idVendor=0461, idProduct=4d15 [ 2.969926] usb 6-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0 [ 2.972648] usb 6-1: Product: USB Optical Mouse [ 2.982590] input: USB Optical Mouse as /devices/platform/fe3a0000.usb/usb6/4 [ 2.994780] rk-hdmi-dp-sound hdmi-dp-sound: control 3:0:0:ELD:0 is already pt [ 2.997636] hdmi-audio-codec hdmi-audio-codec.4.auto: ASoC: Failed to add EL6 [ 3.001068] rk-hdmi-dp-sound hdmi-dp-sound: multicodec <-> ff8a0000.i2s mappk [ 3.004214] hdmi-audio-codec hdmi-audio-codec.4.auto: ASoC: Failed to createe [ 3.009145] mali ff9a0000.gpu: Failed to get leakage [ 3.018421] usbcore: registered new interface driver usb-storage [ 3.021420] scsi host0: uas [ 3.021659] usbcore: registered new interface driver uas [ 3.022996] scsi 0:0:0:0: Direct-Access Seagate Expansion 0636 P6 [ 3.028330] sd 0:0:0:0: [sda] Spinning up disk... [ 3.036880] hid-generic 0003:0461:4D15.0003: input,hidraw2: USB HID v1.11 Mo0 [ 3.077839] mali ff9a0000.gpu: Failed to get pvtm [ 3.089367] mali ff9a0000.gpu: GPU identified as 0x0860 r2p0 status 0 [ 3.098112] mali ff9a0000.gpu: Protected mode not available [ 3.107297] mali ff9a0000.gpu: Using configured power model mali-simple-powel [ 3.116881] I : [File] : drivers/gpu/arm/midgard/backend/gpu/mali_kbase_devf. [ 3.125992] mali ff9a0000.gpu: Probed as mali0 [ 3.137555] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found [ 3.149310] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found [ 3.159895] rockchip-pcie f8000000.pcie: invalid power supply [ 3.665604] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout! [ 3.680239] rockchip-pcie: probe of f8000000.pcie failed with error -110 [ 4.501846] .ready [ 4.522134] sd 0:0:0:0: [sda] 1953525167 512-byte logical blocks: (1.00 TB/9) [ 4.544320] sd 0:0:0:0: [sda] Write Protect is off [ 4.553600] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supA [ 4.562569] xhci-hcd xhci-hcd.6.auto: ERROR Transfer event for disabled endpg [ 4.571531] xhci-hcd xhci-hcd.6.auto: @0000000069c93480 00000000 00000000 1b1 [ 4.609031] sda: sda1 sda2 sda3 sda4 [ 4.619904] sd 0:0:0:0: [sda] Attached SCSI disk [ 4.622847] cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin f2 [ 5.015213] random: nonblocking pool is initialized 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 ... done. Warning: fsck not present, so skipping root file system [ 6.237375] EXT4-fs (mmcblk0p7): mounted filesystem with writeback data mode) done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. [ 7.081451] ip_tables: (C) 2000-2006 Netfilter Core Team [ 7.105959] cgroup: cgroup2: unknown option "nsdelegate" [ 7.142308] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SE) [ 7.167131] systemd[1]: Detected architecture arm64. Welcome to Ubuntu 18.04.1 LTS! [ 7.192928] systemd[1]: Set hostname to <rockpro64>. [ 7.655629] systemd[1]: File /lib/systemd/system/systemd-journald.service:36. [ 7.673039] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warn) [ 8.007891] systemd[1]: Started Forward Password Requests to Wall Directory . [ OK ] Started Forward Password Requests to Wall Directory Watch. [ 8.035131] systemd[1]: Started Dispatch Password Requests to Console Direct. [ OK ] Started Dispatch Password Requests to Console Directory Watch. [ 8.048804] systemd[1]: Created slice System Slice. [ OK ] Created slice System Slice. [ 8.061505] systemd[1]: Listening on Journal Audit Socket. [ OK ] Listening on Journal Audit Socket. [ 8.074560] systemd[1]: Created slice system-serial\x2dgetty.slice. [ OK ] Created slice system-serial\x2dgetty.slice. [ 8.087130] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ OK ] Listening on /dev/initctl Compatibility Named Pipe. [ 8.100213] systemd[1]: Listening on Journal Socket (/dev/log). [ OK ] Listening on Journal Socket (/dev/log). [ 8.113090] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ 8.125167] systemd[1]: Listening on udev Control Socket. [ OK ] Listening on udev Control Socket. [ 8.138024] systemd[1]: Started ntp-systemd-netif.path. [ OK ] Started ntp-systemd-netif.path. [ 8.150502] systemd[1]: Created slice User and Session Slice. [ OK ] Created slice User and Session Slice. [ 8.162864] systemd[1]: Reached target Swap. [ OK ] Reached target Swap. [ 8.174850] systemd[1]: Reached target Slices. [ OK ] Reached target Slices. [ 8.186814] systemd[1]: Reached target System Time Synchronized. [ OK ] Reached target System Time Synchronized. [ 8.199268] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Journal Socket. [ 8.213939] systemd[1]: Starting Remount Root and Kernel File Systems... Starting Remount Root and Kernel File Systems... [ 8.230379] systemd[1]: Mounting Kernel Debug File System... Mounting Kernel Debug File System... [ 8.246545] systemd[1]: Mounting Huge Pages File System... Mounting Huge Pages File System... [ 8.264543] systemd[1]: Starting Create list of required static device nodes. Starting Create list of required st…ce nodes for the current kernel. . [ 8.280592] systemd[1]: Starting Set the console keyboard layout... Starting Set the console keyboard layout... [ 8.306349] systemd[1]: Mounting POSIX Message Queue File System... Mounting POSIX Message Queue File System... [ 8.336313] systemd[1]: Starting udev Coldplug all Devices... Starting udev Coldplug all Devices... [ 8.353194] systemd[1]: Starting Nameserver information manager... Starting Nameserver information manager... [ 8.371137] systemd[1]: Starting Restore / save the current clock... Starting Restore / save the current clock... [ 8.394903] systemd[1]: Starting Load Kernel Modules... Starting Load Kernel Modules... [ 8.407346] systemd[1]: Listening on Syslog Socket. [ OK ] Listening on Syslog Socket. [ 8.422880] systemd[1]: Starting Journal Service... Starting Journal Service... [ 8.435022] systemd[1]: Reached target Remote File Systems. [ OK ] Reached target Remote File Systems. [ 8.447059] systemd[1]: Reached target Local Encrypted Volumes. [ OK ] Reached target Local Encrypted Volumes. [ 8.463362] systemd[1]: Started Remount Root and Kernel File Systems. [ OK ] Started Remount Root and Kernel File Systems. [ 8.475031] systemd[1]: Mounted Kernel Debug File System. [ OK ] Mounted Kernel Debug File System. [ 8.487447] systemd[1]: Mounted Huge Pages File System. [ OK ] Mounted Huge Pages File System. [ 8.499133] systemd[1]: Started Create list of required static device nodes . [ OK ] Started Create list of required sta…vice nodes for the current kerne . [ 8.510504] systemd[1]: Mounted POSIX Message Queue File System. [ OK ] Mounted POSIX Message Queue File System. [ 8.522343] systemd[1]: Started Set the console keyboard layout. [ OK ] Started Set the console keyboard layout. [ 8.536459] systemd[1]: Started Restore / save the current clock. [ OK ] Started Restore / save the current clock. [ 8.542886] systemd[1]: Started Load Kernel Modules. [ OK ] Started Load Kernel Modules. [ 8.550953] systemd[1]: Starting Apply Kernel Variables... Starting Apply Kernel Variables... [ 8.558037] systemd[1]: Mounting FUSE Control File System... Mounting FUSE Control File System... [ 8.569084] systemd[1]: Mounting Kernel Configuration File System... Mounting Kernel Configuration File System... [ 8.578037] systemd[1]: Starting Create Static Device Nodes in /dev... Starting Create Static Device Nodes in /dev... [ 8.592060] systemd[1]: Starting Load/Save Random Seed... Starting Load/Save Random Seed... [ OK ] Started Nameserver information manager. [ OK ] Started Apply Kernel Variables. [ OK ] Mounted FUSE Control File System. [ OK ] Mounted Kernel Configuration File System. [ OK ] Reached target Network (Pre). [ OK ] Started Load/Save Random Seed. [ OK ] Started udev Coldplug all Devices. [ OK ] Started Journal Service. Starting Flush Journal to Persistent Storage... [ OK ] Started Create Static Device Nodes in /dev. Starting udev Kernel Device Manager... [ OK ] Reached target Local File Systems (Pre). [ OK ] Started Flush Journal to Persistent Storage. [ OK ] Started udev Kernel Device Manager. Starting Network Service... [ OK ] Started Network Service. [ OK ] Reached target Sound Card. [ OK ] Found device /dev/ttyS2. [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. [ OK ] Found device /dev/disk/by-label/boot. Mounting /boot/efi... [ OK ] Mounted /boot/efi. [ OK ] Reached target Local File Systems. Starting Set console font and keymap... Starting Raise network interfaces... Starting Create Volatile Files and Directories... [ OK ] Started Set console font and keymap. [ OK ] Started Create Volatile Files and Directories. Starting Network Name Resolution... Starting Update UTMP about System Boot/Shutdown... Starting Network Time Synchronization... [ OK ] Started Update UTMP about System Boot/Shutdown. [ OK ] Started Raise network interfaces. [ OK ] Started Network Name Resolution. [ OK ] Reached target Host and Network Name Lookups. [ OK ] Started Network Time Synchronization. [ OK ] Reached target System Initialization. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Reached target Sockets. [ OK ] Started Daily apt download activities. [ OK ] Started Discard unused blocks once a week. [ OK ] Started Message of the Day. [ OK ] Started resolvconf-pull-resolved.path. [ OK ] Reached target Paths. [ OK ] Reached target Basic System. [ OK ] Started ntp-systemd-netif.service. [ OK ] Started Set the CPU Frequency Scaling governor. Starting Generate SSH keys if not there... Starting Rock 64 First boot... Starting Initializes zram swaping... [ OK ] Started D-Bus System Message Bus. Starting Save/Restore Sound Card State... Starting WPA supplicant... Starting Network Manager... Starting Dispatcher daemon for systemd-networkd... [ OK ] Started Regular background program processing daemon. Starting resolvconf-pull-resolved.service... [ OK ] Started Daily apt upgrade and clean activities. Starting Login Service... [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Reached target Timers. Starting System Logging Service... Starting Resets System Activity Data Collector... [ OK ] Started Generate SSH keys if not there. [ OK ] Started Rock 64 First boot. [ OK ] Started Initializes zram swaping. [ OK ] Started resolvconf-pull-resolved.service. [ OK ] Started Resets System Activity Data Collector. [ OK ] Started Login Service. Starting Discard unused blocks... [ OK ] Started Save/Restore Sound Card State. Starting resolvconf-pull-resolved.service... [ OK ] Started resolvconf-pull-resolved.service. [ OK ] Started System Logging Service. [ OK ] Started WPA supplicant. [ OK ] Started ntp-systemd-netif.service. Starting resolvconf-pull-resolved.service... [ OK ] Started resolvconf-pull-resolved.service. [ OK ] Started Discard unused blocks. Starting Hostname Service... [ OK ] Started Hostname Service. [ OK ] Started Network Manager. [ OK ] Reached target Network. Starting Permit User Sessions... Starting OpenBSD Secure Shell server... Starting Daily apt download activities... [ OK ] Started Permit User Sessions. [ OK ] Started Serial Getty on ttyS2. [ OK ] Started LXDE Display Manager. Starting Set console scheme... Starting Network Manager Script Dispatcher Service... [ OK ] Started Set console scheme. [ OK ] Created slice system-getty.slice. [ OK ] Started Getty on tty1. [ OK ] Reached target Login Prompts. [ OK ] Started Network Manager Script Dispatcher Service. [ OK ] Started OpenBSD Secure Shell server. Starting Authorization Manager... [ OK ] Started Authorization Manager. [ OK ] Started Dispatcher daemon for systemd-networkd. [ 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. Ubuntu 18.04.1 LTS rockpro64 ttyS2 rockpro64 login: |
RockPro64 Ubuntu 18.04. Информация о системе и драйвера
Входим в последовательную консоль и узнаем, что на плате действительно работает последняя Ubuntu 18.04.1 LTS поверх Linux 4.4.135.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
rockpro64 login: rock64 Password: Last login: Sat Aug 25 07:15:04 UTC 2018 on ttyS2 Welcome to Ubuntu 18.04.1 LTS (GNU/Linux 4.4.132-1075-rockchip-ayufan-ga83beded) _ __ _ _ _ __ ___ ___| | ___ __ _ __ ___ / /_ | || | | '__/ _ \ / __| |/ / '_ \| '__/ _ \| '_ \| || |_ | | | (_) | (__| <| |_) | | | (_) | (_) |__ _| |_| \___/ \___|_|\_\ .__/|_| \___/ \___/ |_| |_| * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Sat Aug 25 07:15:27 UTC 2018 System load: 0.31 Processes: 168 Usage of /: 14.7% of 14.30GB Users logged in: 0 Memory usage: 6% IP address for eth0: 192.168.1.55 Swap usage: 0% * Read about Ubuntu updates for L1 Terminal Fault Vulnerabilities (L1TF). - https://ubu.one/L1TF * Check out 6 great IDEs now available on Ubuntu. There may even be something worthwhile there for those crazy EMACS fans ;) - https://bit.ly/6-cool-IDEs rock64@rockpro64:~$ |
Карта microSD была автоматически изменена, и мы получаем корневой раздел размером 14,30 Гб, это, примерно, 14,7%.
Более подробная информация о памяти:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
rock64@rockpro64:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 992M 0 992M 0% /dev tmpfs 200M 524K 199M 1% /run /dev/mmcblk0p7 15G 2.2G 12G 16% / tmpfs 996M 0 996M 0% /dev/shm tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 996M 0 996M 0% /sys/fs/cgroup /dev/mmcblk0p6 112M 4.0K 112M 1% /boot/efi tmpfs 200M 0 200M 0% /run/user/1000 rock64@rockpro64:~$ free -mh total used free shared buff/cache available Mem: 1.9G 84M 1.7G 17M 203M 1.8G Swap: 995M 0B 995M rock64@rockpro64:~$ zramctl NAME ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT /dev/zram5 lzo 166M 4K 78B 12K 1 [SWAP] /dev/zram4 lzo 166M 4K 78B 12K 1 [SWAP] /dev/zram3 lzo 166M 4K 78B 12K 1 [SWAP] /dev/zram2 lzo 166M 4K 78B 12K 1 [SWAP] /dev/zram1 lzo 166M 4K 78B 12K 1 [SWAP] /dev/zram0 lzo 166M 4K 78B 12K 1 [SWAP] rock64@rockpro64:~$ |
Тем самым подтверждается то, что мы, действительно, получили версию платы на 2 ГБ, и это первых раз, когда мы видим образ прошивки Linux, где ZRAM включен по умолчанию. Есть одна проблема, хотя… ни один из USB-разделов не монтируются автоматически, несмотря на то, что все четыре раздела правильно обнаружены:
1 2 3 4 5 6 7 8 9 |
lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 931.5G 0 disk |-sda1 8:1 0 244.1G 0 part |-sda2 8:2 0 244.1G 0 part |-sda3 8:3 0 244.1G 0 part `-sda4 8:4 0 199.1G 0 part mtdblock0 31:0 0 4M 0 disk ... |
Рассмотрим на это немного позже…. Переходим к загруженным модулям ядра:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
rock64@rockpro64:~$ lsmod Module Size Used by zram 32768 6 lz4_compress 16384 1 zram rockchip_saradc 16384 0 ip_tables 24576 0 x_tables 32768 1 ip_tables autofs4 40960 0 uas 20480 0 usb_storage 61440 1 uas phy_rockchip_pcie 16384 0 midgard_kbase 651264 0 dw_hdmi_i2s_audio 16384 0 |
В отличие от команды Firefly, которая строит все драйвера внутри ядра, разработчики Pine64 построили большинство драйверов в виде модулей.
1 2 |
ls /sys/class/gpio/ export gpiochip0 gpiochip128 gpiochip32 gpiochip64 gpiochip96 unexport |
Информация о Gpio точно такая же, как и в AIO-3399J в /sys/class/gpio, но определения GPIO совсем другие:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
sudo cat /sys/kernel/debug/gpio [sudo] password for rock64: GPIOs 0-31, platform/pinctrl, gpio0: gpio-2 ( |? ) out lo gpio-4 ( |bt_default_wake_host) in lo gpio-5 ( |power ) in hi gpio-9 ( |bt_default_reset ) out lo gpio-11 ( |? ) out hi GPIOs 32-63, platform/pinctrl, gpio1: gpio-34 ( |int-n ) in hi gpio-35 ( |vbus-5v ) out lo gpio-45 ( |hp det ) in lo gpio-46 ( |vsel ) out lo gpio-49 ( |vsel ) out lo gpio-56 ( |vcc3v3_pcie ) out lo GPIOs 64-95, platform/pinctrl, gpio2: gpio-83 ( |bt_default_rts ) in hi gpio-91 ( |bt_default_wake ) in lo GPIOs 96-127, platform/pinctrl, gpio3: gpio-111 ( |mdio-reset ) out hi GPIOs 128-159, platform/pinctrl, gpio4: gpio-154 ( |vcc5v0_host ) out hi rock64@rockpro64:~$ |
Похоже это не все GPIO, доступные через разъем расширения (TBC). Здесь вы найдете схему распиновки разъема Pi-2.
Ускоритель 3D графики на плате RockPro64 с Ubuntu 18.04
es2_info и es2gears уже были установлены.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
es2_info EGL_VERSION: 1.4 Midgard-"r14p0-01rel0" EGL_VENDOR: ARM EGL_EXTENSIONS: EGL_KHR_image_pixmap, EGL_KHR_partial_update, EGL_KHR_config_attribs, EGL_KHR_image, EGL_KHR_image_base, EGL_KHR_fence_sync, EGL_KHR_wait_sync, EGL_KHR_gl_colorspace, EGL_KHR_get_all_proc_addresses, EGL_IMG_context_priority, EGL_ARM_pixmap_multisample_discard, EGL_KHR_gl_texture_2D_image, EGL_KHR_gl_renderbuffer_image, EGL_KHR_create_context, EGL_KHR_surfaceless_context, EGL_KHR_gl_texture_cubemap_image, EGL_EXT_create_context_robustness, EGL_KHR_cl_event2 EGL_CLIENT_APIS: OpenGL_ES GL_VERSION: OpenGL ES 3.2 v1.r14p0-01rel0-git(966ed26).f44c85cb3d2ceb87e8be88e7592755c3 GL_RENDERER: Mali-T860 GL_EXTENSIONS: GL_ARM_rgba8, GL_ARM_mali_shader_binary, GL_OES_depth24, GL_OES_depth_texture, GL_OES_depth_texture_cube_map, GL_OES_packed_depth_stencil, GL_OES_rgb8_rgba8, GL_EXT_read_format_bgra, GL_OES_compressed_paletted_texture, GL_OES_compressed_ETC1_RGB8_texture, GL_OES_standard_derivatives, GL_OES_EGL_image, GL_OES_EGL_image_external, GL_OES_EGL_image_external_essl3, GL_OES_EGL_sync, GL_OES_texture_npot, GL_OES_vertex_half_float, GL_OES_required_internalformat, GL_OES_vertex_array_object, GL_OES_mapbuffer, GL_EXT_texture_format_BGRA8888, GL_EXT_texture_rg, GL_EXT_texture_type_2_10_10_10_REV, GL_OES_fbo_render_mipmap, GL_OES_element_index_uint, GL_EXT_shadow_samplers, GL_OES_texture_compression_astc, GL_KHR_texture_compression_astc_ldr, GL_KHR_texture_compression_astc_hdr, GL_KHR_texture_compression_astc_sliced_3d, GL_KHR_debug, GL_EXT_occlusion_query_boolean, GL_EXT_disjoint_timer_query, GL_EXT_blend_minmax, GL_EXT_discard_framebuffer, GL_OES_get_program_binary, GL_OES_texture_3D, GL_EXT_texture_storage, GL_EXT_multisampled_render_to_texture, GL_OES_surfaceless_context, GL_OES_texture_stencil8, GL_EXT_shader_pixel_local_storage, GL_ARM_shader_framebuffer_fetch, GL_ARM_shader_framebuffer_fetch_depth_stencil, GL_ARM_mali_program_binary, GL_EXT_sRGB, GL_EXT_sRGB_write_control, GL_EXT_texture_sRGB_decode, GL_KHR_blend_equation_advanced, GL_KHR_blend_equation_advanced_coherent, GL_OES_texture_storage_multisample_2d_array, GL_OES_shader_image_atomic, GL_EXT_robustness, GL_EXT_draw_buffers_indexed, GL_OES_draw_buffers_indexed, GL_EXT_texture_border_clamp, GL_OES_texture_border_clamp, GL_EXT_texture_cube_map_array, GL_OES_texture_cube_map_array, GL_OES_sample_variables, GL_OES_sample_shading, GL_OES_shader_multisample_interpolation, GL_EXT_shader_io_blocks, GL_OES_shader_io_blocks, GL_EXT_tessellation_shader, GL_OES_tessellation_shader, GL_EXT_primitive_bounding_box, GL_OES_primitive_bounding_box, GL_EXT_geometry_shader, GL_OES_geometry_shader, GL_ANDROID_extension_pack_es31a, GL_EXT_gpu_shader5, GL_OES_gpu_shader5, GL_EXT_texture_buffer, GL_OES_texture_buffer, GL_EXT_copy_image, GL_OES_copy_image, GL_EXT_color_buffer_half_float, GL_EXT_color_buffer_float, GL_EXT_YUV_target, GL_OVR_multiview, GL_OVR_multiview2, GL_OVR_multiview_multisampled_render_to_texture, GL_KHR_robustness, GL_KHR_robust_buffer_access_behavior, GL_EXT_draw_elements_base_vertex, GL_OES_draw_elements_base_vertex |
Таким образом, аппаратное ускорение 3D работает здесь и немного быстрее, чем на AIO-3399J (75 кадров в секунду против ~59 кадрах в секунду).
Запускаем также glmark2-es2 после его установки.
1 |
sudo apt install glmark2-es2 |
Все работает нормально, но с немного более низким числом баллов, чем на плате AIO-3399J (48 баллов):
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
glmark2-es2 ======================================================= glmark2 2014.03+git20150611.fa71af2d ======================================================= OpenGL Information GL_VENDOR: ARM GL_RENDERER: Mali-T860 GL_VERSION: OpenGL ES 3.2 v1.r14p0-01rel0-git(966ed26).f44c85cb3d2ceb87e8be88e7592755c3 ======================================================= [build] use-vbo=false: FPS: 49 FrameTime: 20.408 ms [build] use-vbo=true: FPS: 48 FrameTime: 20.833 ms [texture] texture-filter=nearest: FPS: 42 FrameTime: 23.810 ms [texture] texture-filter=linear: FPS: 90 FrameTime: 11.111 ms [texture] texture-filter=mipmap: FPS: 57 FrameTime: 17.544 ms [shading] shading=gouraud: FPS: 38 FrameTime: 26.316 ms [shading] shading=blinn-phong-inf: FPS: 39 FrameTime: 25.641 ms [shading] shading=phong: FPS: 42 FrameTime: 23.810 ms [shading] shading=cel: FPS: 36 FrameTime: 27.778 ms [bump] bump-render=high-poly: FPS: 33 FrameTime: 30.303 ms [bump] bump-render=normals: FPS: 40 FrameTime: 25.000 ms [bump] bump-render=height: FPS: 40 FrameTime: 25.000 ms [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 38 FrameTime: 26.316 ms [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 27 FrameTime: 37.037 ms [pulsar] light=false:quads=5:texture=false: FPS: 53 FrameTime: 18.868 ms [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 26 FrameTime: 38.462 ms [desktop] effect=shadow:windows=4: FPS: 35 FrameTime: 28.571 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 20 FrameTime: 50.000 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 21 FrameTime: 47.619 ms [buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 23 FrameTime: 43.478 ms [ideas] speed=duration: FPS: 31 FrameTime: 32.258 ms [jellyfish] <default>: FPS: 33 FrameTime: 30.303 ms [terrain] <default>: FPS: 10 FrameTime: 100.000 ms [shadow] <default>: FPS: 33 FrameTime: 30.303 ms [refract] <default>: FPS: 18 FrameTime: 55.556 ms [conditionals] fragment-steps=0:vertex-steps=0: FPS: 58 FrameTime: 17.241 ms [conditionals] fragment-steps=5:vertex-steps=0: FPS: 38 FrameTime: 26.316 ms [conditionals] fragment-steps=0:vertex-steps=5: FPS: 43 FrameTime: 23.256 ms [function] fragment-complexity=low:fragment-steps=5: FPS: 39 FrameTime: 25.641 ms [function] fragment-complexity=medium:fragment-steps=5: FPS: 35 FrameTime: 28.571 ms [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 38 FrameTime: 26.316 ms [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 38 FrameTime: 26.316 ms [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 37 FrameTime: 27.027 ms ======================================================= glmark2 Score: 37 ======================================================= |
Off-screen результаты для справки:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
glmark2-es2 --off-screen ======================================================= glmark2 2014.03+git20150611.fa71af2d ======================================================= OpenGL Information GL_VENDOR: ARM GL_RENDERER: Mali-T860 GL_VERSION: OpenGL ES 3.2 v1.r14p0-01rel0-git(966ed26).f44c85cb3d2ceb87e8be88e7592755c3 ======================================================= [build] use-vbo=false: FPS: 229 FrameTime: 4.367 ms [build] use-vbo=true: FPS: 293 FrameTime: 3.413 ms [texture] texture-filter=nearest: FPS: 338 FrameTime: 2.959 ms [texture] texture-filter=linear: FPS: 330 FrameTime: 3.030 ms [texture] texture-filter=mipmap: FPS: 315 FrameTime: 3.175 ms [shading] shading=gouraud: FPS: 241 FrameTime: 4.149 ms [shading] shading=blinn-phong-inf: FPS: 232 FrameTime: 4.310 ms [shading] shading=phong: FPS: 210 FrameTime: 4.762 ms [shading] shading=cel: FPS: 205 FrameTime: 4.878 ms [bump] bump-render=high-poly: FPS: 139 FrameTime: 7.194 ms [bump] bump-render=normals: FPS: 313 FrameTime: 3.195 ms [bump] bump-render=height: FPS: 297 FrameTime: 3.367 ms [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 188 FrameTime: 5.319 ms [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 205 FrameTime: 4.878 ms [pulsar] light=false:quads=5:texture=false: FPS: 302 FrameTime: 3.311 ms [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 172 FrameTime: 5.814 ms [desktop] effect=shadow:windows=4: FPS: 178 FrameTime: 5.618 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 33 FrameTime: 30.303 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 33 FrameTime: 30.303 ms [buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 41 FrameTime: 24.390 ms [ideas] speed=duration: FPS: 60 FrameTime: 16.667 ms [jellyfish] <default>: FPS: 166 FrameTime: 6.024 ms [terrain] <default>: FPS: 37 FrameTime: 27.027 ms [shadow] <default>: FPS: 161 FrameTime: 6.211 ms [refract] <default>: FPS: 73 FrameTime: 13.699 ms [conditionals] fragment-steps=0:vertex-steps=0: FPS: 305 FrameTime: 3.279 ms [conditionals] fragment-steps=5:vertex-steps=0: FPS: 194 FrameTime: 5.155 ms [conditionals] fragment-steps=0:vertex-steps=5: FPS: 299 FrameTime: 3.344 ms [function] fragment-complexity=low:fragment-steps=5: FPS: 239 FrameTime: 4.184 ms [function] fragment-complexity=medium:fragment-steps=5: FPS: 173 FrameTime: 5.780 ms [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 236 FrameTime: 4.237 ms [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 235 FrameTime: 4.255 ms [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 190 FrameTime: 5.263 ms ======================================================= glmark2 Score: 201 ======================================================= rock64@rockpro64:~$ |
Оценка также немного ниже (201 против 222), но это может быть из-за тепловой проблемы (радиатор).
Quake WebGL demo не работает в Chromium, так как WebGL не включен…
…и хотя ее можно запустить в Firefox демонстрация довольно медленная, поскольку отображается от 9 до 11 кадров в секунду, вместо от 50 до 60 кадров в секунду на плате AIO-3399J, или даже на ODROID-XU4Q запускаемой с Ubuntu 18.04.
Решение проблемы автоматического монтирования USB (и поддержка сообщества RockPro64)
В планах было воспроизведение видео с жесткого диска USB, но, для начала, решим проблему с автомонтированием USB HDD. Можно было бы монтировать разделы NTFS и EXT4 как root, но тогда файлы доступны только root. Мы попытались изменить настройки PCManFM для автоматического монтирования разделов, но бесполезно. В конце концов, мы обнаружили инструмент pmount, который позволяет монтировать диск как обычный пользовательский:
1 2 3 |
sudo apt install pmount pmount /dev/sda1 pmount /dev/sda2 |
Все работало просто отлично:
1 2 3 4 5 6 7 8 9 10 11 12 |
df -h Filesystem Size Used Avail Use% Mounted on udev 992M 0 992M 0% /dev tmpfs 200M 556K 199M 1% /run /dev/mmcblk0p7 15G 2.2G 12G 16% / tmpfs 996M 0 996M 0% /dev/shm tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 996M 0 996M 0% /sys/fs/cgroup /dev/mmcblk0p6 112M 4.0K 112M 1% /boot/efi tmpfs 200M 4.0K 200M 1% /run/user/1000 /dev/sda1 245G 182G 63G 75% /media/sda1 /dev/sda2 241G 181G 48G 80% /media/sda2 |
Нам не удалось смонтировать exFAT, так как эта файловая система не включена в образы прошивки, это, вероятно, просто вопрос построения их в качестве модулей ядра.
Одним из основных преимуществ плат Pine64 является то, что у них есть активные форумы пользователей и IRC-каналы #pine64 и #rock64, где всегда найдется кто-то, кто попытается вам помочь. Мы не пользовались форумами, но задали несколько вопросов на IRC-канале #Rock64, и люди попытались помочь. Один пользователь посоветовал установить gvfs (спасибо dukla!):
1 |
sudo apt install gvfs |
и, конечно же, три раздела были автоматически смонтированы в каталоге/media/rock 64, как показано на скриншоте ниже.
Воспроизведение видео на плате RockPro64
AIO3399-J поставляется не с любым видеоплеером, и нам не удалось воспроизвести видео с аппаратным декодированием на этой плате, хотя программное декодирование работает до 1080p.
Но, в случае с Rock Pro, образ 64-разрядной ОС Ubuntu 18.04, SMPlayer, браузер YouTube для SMPlayer, и MPV медиа-плеер уже установлен. Посмотрим несколько видео.
К сожалению, видео было очень изменчивым, и, как вы можете видеть, SMPlayer полагается на медиаплеер mpv со всем декодированным программным обеспечением.
Хорошие люди в IRC посоветовали использовать rkmpv вместо этого, но наша попытка с треском провалилась:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
rkmpv bbb_sunflower_1080p_60fps_normal.mp4 Playing: bbb_sunflower_1080p_60fps_normal.mp4 (+) Video --vid=1 (*) (h264 1920x1080 60.000fps) (+) Audio --aid=1 --alang=und (*) (mp3 2ch 48000Hz) Audio --aid=2 --alang=und (*) (ac3 6ch 48000Hz) File tags: Artist: Blender Foundation 2008, Janus Bager Kristensen 2013 Comment: Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net Composer: Sacha Goedegebure Genre: Animation Title: Big Buck Bunny, Sunflower version [vo/gpu] VT_GETMODE failed: Inappropriate ioctl for device [vo/gpu/opengl] Failed to set up VT switcher. Terminal switching will be unavailable. Illegal instruction |
Затем нам сказали следовать инструкциям по воспроизведению видео в Wiki, и установить следующее:
1 |
sudo apt install ffmpeg mpv libmali-rk-midgard-t86x-r14p0-gbm |
Используем libmail-rk-midgard, и после этого можно воспроизвести видео… вроде как:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
rkmpv bbb_sunflower_1080p_60fps_normal.mp4 Playing: bbb_sunflower_1080p_60fps_normal.mp4 (+) Video --vid=1 (*) (h264 1920x1080 60.000fps) (+) Audio --aid=1 --alang=und (*) (mp3 2ch 48000Hz) Audio --aid=2 --alang=und (*) (ac3 6ch 48000Hz) File tags: Artist: Blender Foundation 2008, Janus Bager Kristensen 2013 Comment: Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net Composer: Sacha Goedegebure Genre: Animation Title: Big Buck Bunny, Sunflower version [vo/gpu] VT_GETMODE failed: Inappropriate ioctl for device [vo/gpu/opengl] Failed to set up VT switcher. Terminal switching will be unavailable. mpi: mpp version: Without VCS, under bleeding hal_h264d_api: Assertion p_hal->vcodec_type & ((0x00000200) | (0x00000001) | (0x00000002)) failed at hal_h264d_init:186 mpp_device: mpp_device_init failed to find device for coding 0 type 7 hal_h264d_api: p_hal->vpu_socket <= 0 mpp_hal: mpp_hal_init hal h264d_rkdec init failed ret -2 mpp_hal: mpp_hal_init could not found coding type 7 mpp_dec: mpp_dec_init could not init hal mpp: error found on mpp initialization mpp: WARNING: setup buffer group before decoder init mpp: command 310002 param 0x55985771c0 ret -1 [ffmpeg] h264_rkmpp: Failed to assign buffer group (code = -1) [ffmpeg] h264_rkmpp: Failed to initialize RKMPP decoder. Could not open codec. AO: [pulse] 48000Hz stereo 2ch s16 VO: [gpu] 1920x1080 yuv420p AV: 00:00:01 / 00:10:34 (0%) A-V: 0.494 Dropped: 43 Audio/Video desynchronisation detected! Possible reasons include too slow hardware, temporary CPU spikes, broken drivers, and broken files. Audio position will not match to the video (see A-V status field). AV: 00:00:35 / 00:10:34 (5%) A-V: 51.684 Dropped: 1952 |
Видео, воспроизводимое в полноэкранном режиме, было очень изменчивым, и из сообщений об ошибках выше довольно ясно, что аппаратное декодирование видео не удалось. На форуме есть информация, что пользователям удается использовать rkmpv, но нам не удалось решить проблему. Во всяком случае, есть уверенность, что это будет работать в последующих выпусках прошивки, а rkmpv-это программа для просмотра аппаратного воспроизведения видео.
Еще одна проблема заключается в том, что видео YouTube воспроизводятся с ускоренной скоростью как в Firefox, так и в браузере YouTube для SMPlayer, но проблема известна и работает.
Просмотр веб-страниц в RockPro64
Firefox и Chromium предварительно установлены.
Однако, тайские шрифты отсутствуют, поэтому символы будут отображаться как блоки, поэтому устанавливаем тайские шрифты:
1 |
sudo apt install fonts-thai-tlwg |
Помимо этой небольшой проблемы, просмотр веб-страниц был довольно быстрым, как и на других платах RK3399 как с Chromium, так и с Firefox.
Нам не удалось поиграть в Candy Crush Saga в Chromium, из-за отсутствия Adobe Flash player, но Firefox мог справиться с этим, но только очень медленно. Оба ядра 5/6 (Cortex A72 AFAIK) активно использовались во время игры, но ядра 1-4 (Cortex A53) в основном были пассивны.
Как упоминалось ранее, Youtube ведет себя странно (2x или 4x ускоренное воспроизведение), а WebGL работает медленно в Firefox и не работает в Chromium. Таким образом, есть еще некоторые проблемы с просмотром веб-страниц, но в текущей прошивке Firefox работает немного лучше.
Производительность хранилища USB 3.0
Обычно мы тестируем внутреннее хранилище и производительность USB 3.0, но поскольку мы запускаем ОС на карте microSD вместо модуля eMMC, мы перешли прямо к тестированию USB 3.0 на разделе EXT-4 диска:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
$ iozone -e -I -a -s 1000M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2 Iozone: Performance Test of File I/O Version $Revision: 3.429 $ Compiled for 64 bit mode. Build: linux Output is in kBytes/sec Time Resolution = 0.000001 seconds. Processor cache size set to 1024 kBytes. Processor cache line size set to 32 bytes. File stride size set to 17 * record size. random random bkwd record stride kB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread 1024000 4 23159 26885 26531 26283 410 255 1024000 16 65181 73247 68223 66236 1580 1069 1024000 512 78280 85452 95970 95750 14898 19470 1024000 1024 89869 94851 95867 96655 26526 34260 1024000 16384 91158 94595 95816 96132 79414 84089 iozone test complete. |
Скорость последовательной записи около 91 Мбит/с и скорость последовательного чтения 95 Мбит/с, а также цифры, которые можно ожидать от этого механического жесткого диска через USB 3.0. Взглянем на файл журнала ядра…
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
[ 9092.190795] usb 5-1: USB disconnect, device number 2 [ 9092.195211] sd 0:0:0:0: [sda] Synchronizing SCSI cache [ 9092.286379] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=0x07 driverbyte=0x00 [ 9093.455012] usb 3-1: USB disconnect, device number 2 [ 9094.851443] usb 6-1: new low-speed USB device number 2 using ohci-platform [ 9095.032578] usb 6-1: New USB device found, idVendor=0461, idProduct=4d15 [ 9095.032613] usb 6-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0 [ 9095.032634] usb 6-1: Product: USB Optical Mouse [ 9095.041448] input: USB Optical Mouse as /devices/platform/fe3a0000.usb/usb6/6-1/6-1:1.0/0003:0461:4D15.0004/input/input5 [ 9095.093069] hid-generic 0003:0461:4D15.0004: input,hidraw2: USB HID v1.11 Mouse [USB Optical Mouse] on usb-fe3a0000.usb-1/input0 [ 9098.198585] usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd [ 9098.215522] usb 4-1: New USB device found, idVendor=0bc2, idProduct=2312 [ 9098.215541] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 9098.215549] usb 4-1: Product: Expansion [ 9098.215557] usb 4-1: Manufacturer: Seagate [ 9098.215565] usb 4-1: SerialNumber: NA495NNC [ 9098.231039] scsi host1: uas [ 9098.232966] scsi 1:0:0:0: Direct-Access Seagate Expansion 0636 PQ: 0 ANSI: 6 [ 9098.237510] sd 1:0:0:0: [sda] Spinning up disk... [ 9101.760475] .ready [ 9101.760878] sd 1:0:0:0: [sda] 1953525167 512-byte logical blocks: (1.00 TB/932 GiB) [ 9101.762119] sd 1:0:0:0: [sda] Write Protect is off [ 9101.762135] sd 1:0:0:0: [sda] Mode Sense: 2b 00 10 08 [ 9101.763015] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA [ 9101.763190] xhci-hcd xhci-hcd.6.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring [ 9101.764045] xhci-hcd xhci-hcd.6.auto: @000000007c44a340 00000000 00000000 1b000000 01078001 [ 9101.802052] sda: sda1 sda2 sda3 sda4 [ 9101.806984] sd 1:0:0:0: [sda] Attached SCSI disk [ 9105.259226] UDF-fs: warning (device sda2): udf_load_vrs: No VRS found [ 9105.259235] UDF-fs: warning (device sda2): udf_fill_super: No partition found (2) [ 9105.275183] ISOFS: Unable to identify CD-ROM format. [ 9105.278807] FAT-fs (sda2): bogus number of reserved sectors [ 9105.279305] FAT-fs (sda2): Can't find a valid FAT filesystem [ 9105.282944] hfsplus: unable to find HFS+ superblock [ 9105.291465] EXT4-fs (sda2): couldn't mount as ext3 due to feature incompatibilities [ 9105.295710] EXT4-fs (sda2): couldn't mount as ext2 due to feature incompatibilities [ 9105.307833] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: errors=remount-ro |
… видно что диск был отключен, прежде чем EXT4 был перемонтирован, примерно через 13 секунд. В IRC также посоветовали отключить USB 3.0, если возникают проблемы с автомонтированием USB. Более подробную информацию можно найти здесь.
Производительность сети-Gigabit Ethernet
Хотя вы можете добавить модуль WiFi через разъемы, в Rock Pro 64 нет встроенного WiFi, поэтому тестируем только производительность Gigabit Ethernet с помощью iperf.
- Полный дуплекс
1 2 3 4 5 6 7 |
Client connecting to 192.168.1.55, TCP port 5001 TCP window size: 178 KByte (default) ------------------------------------------------------------ [ 6] local 192.168.1.6 port 42072 connected with 192.168.1.55 port 5001 [ ID] Interval Transfer Bandwidth [ 6] 0.0-60.0 sec 3.07 GBytes 440 Mbits/sec [ 4] 0.0-60.0 sec 5.98 GBytes 856 Mbits/sec |
Как и в Android на других платах RK3399, так и в Linux с AIO-3399J, при полном дуплексе одно направление медленнее другого. Нам посоветовали следить за использованием процессора при этом, и iperf показало 4 потока, по-видимому, распределенных на ядрах Cortex A53 и A72.
Но, как обычно, как только мы передаем данные в одном направлении, все хорошо:
- Только Upload
1 2 |
[ 4] local 192.168.1.6 port 5001 connected with 192.168.1.55 port 35310 [ 4] 0.0-60.0 sec 6.57 GBytes 940 Mbits/sec |
- Только Download
1 2 3 |
[ 3] local 192.168.1.6 port 42138 connected with 192.168.1.55 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-60.0 sec 6.57 GBytes 941 Mbits/sec |
Для справки, загрузка была обработана ядром Cortex A53, которое использовалось не в полную силу (40%), в то время как при передаче было задействовано ядро Cortex A72 (ядро 5/6).
Альтернативный режим USB-C DisplayPort на RockPro64
Ранее мы рассматривали MINIX NEO-C plus USB-C адаптер с платами RK3399, используя один из его портов HDMI, все работало, за исключением одновременной работы HDMI и USB-C видео-выхода. Нам сказали, что это, должно быть, просто конфигурация дерева устройств, но у нас еще не было времени изучить это подробнее.
В отличие от адаптера, плата RockPro64 позволяет использовать выходы для дисплеев, подключенных к HDMI и USB-C, одновременно.
Плохая новость – как видно выше – вывод на дисплей, подключенный к порту USB-C полностью скремблированный. Опять же, это, возможно, вариант конфигурации, но нам не удалось найти информацию, касающуюся этого в Wiki.
Заключительные слова
Как и другой образ прошивки Linux на Rockchip RK3399, Ubuntu 18.04 + LXDE на RockPro64 работает, но с некоторыми проблемами, над которыми работает команда. В целом, производительность очень хорошая, 3D-графика работает, Gigabit Ethernet функционирует, как ожидалось, но некоторые функции не работают, так, в веб-браузере Firefox, WebGL и HTML5 игры были медленными, интерфейс USB 3.0, и аппаратное декодирование видео не работает (пока) в нашем случае, среди других небольших проблем – USB автоматическое монтирование, которое можно легко исправить путем установки дополнительного пакета.
ИМХО, главное преимущество Pine64 над такими компаниями, как FriendlyELEC или Firefly, является их сообщество, которое более активное на форумах и IRC.
RockPro64 самая дешевая плата RK3399 доступная на рынке на сегодняшний день, но вам также стоит учитывать необходимость добавить хранилище (карту микро SD или модуль eMMC), и опционально модуль WiFi + Bluetooth, поэтому разница в фактической цене будет не такой уж большой.
Плата RockPro64 (2 ГБ ОЗУ), рассмотренная здесь, продается всего за 59,99$, или вы можете получить версию ОЗУ 4 ГБ за 79,99$. Цена обеих моделей удивляет, но помните, что вам нужно некоторое решение для охлаждения (радиатор или fansink), карту микро-SD или флэш-память eMMC и источник питания 12В/3A. Так же плату можно приобрести на Ameridroid, и, ожидается, что плата появится на Amazon, так как ее старший брат – Rock64 – также предлагается там.
Благодарим сайт cnx-software.com за предоставленную информацию.
Оригинал статьи опубликован здесь.