Write by CNX-Software on 2017-2-11, original page
Khadas Vim is the only Amlogic S905X development board I’m aware of. There are 4 or 5 versions of the board, but currently only two models are sold: Khadas Vim with 8GB flash and single band WiFi + BLE 4.0, and Khadas VIM Pro with 16GB flash, and dual band WiFi + BLE 4.2. SZWesion, the company behind the board, has sent Khadas Vim Pro for evaluation. Today, I’ll take a few pictures of the board and its accessories, and report my experience playing with Ubuntu 16.04.2 on the board. They’ve also released Android, LibreELEC, and dual boot Android/Ubuntu (for Vim Pro only) images, which you can find in the firmware resources page.
Khadas Vim Pro Unboxing and Photos
My parcel included Khadas package that looks like a book, an HDMI cable, and the same IR remote control sent with GeekBox, the first board made by the company, and powered by a Rockchip RK3368 processor.
You can indeed open the package like a book, and you’ll find the board and a USB to USB type C cable inside, as well as some basic specifications.
You can verify you’ve got the right model on that back of the package which shows the memory and storage, in my case 2 GB + 16 GB.
The board comes with a neat acrylic case with opening for headers and ports. The top of the board features a 40-pin header, the Amlogic S905X processor (no heatsink), two RAM chips, the eMMC flash, the wireless module (AP6255), and most ports with two USB 2.0 ports, a USB type C port, HDMI 2.0a, and Fast Ethernet. There’s also a separate header close to the USB-C port giving access to Vin in case you don’t want to power your board through USB.
There’s also 2-pin battery connector on the left of the board for the real-time clock (RTC). The bottom side of the board includes two more RAM chips, and the micro SD slot.
Power, “function” and reset buttons can also be found on the side of the board, and there’s an IR receiver on the right of the 40-pin header
Ubuntu 16.04 on Khadas Vim (Pro)
While you can download the firmware on the “Firmware Resources” page, I recommend you check the Announcements & News section on the forums, as they normally include a changelog and some tips to configure your board. An Ubuntu 16.04 + XFCE image was released last month, but the company uploaded a Ubuntu 16.04.2 server image yesterday, so that’s the one I’m going to use today. A new Ubuntu 16.04 + XFCE image with better graphics support will be released sometimes next week.My plan is to do the update in my Linux computer. The firmware is distributed through Mediafire, so you’ll have to download it through your web browser. I also downloaded Vim_Uboot_170121.7z on the Firmware Resources pge since it’s needed for the SD card update method. Once we’ve got the firmware and U-boot binaries we can extract them with 7z.
1 2 |
7z x Vim_Ubuntu-server-16.04_V170211.7z 7z x Vim_Uboot_170121.7z |
Now insert the micro SD card inside your computer, find the device with lsblk, and check if it has more than one partition. Replace /dev/sdX with your own device.
1 2 3 4 5 6 7 8 9 10 |
sudo fdisk -l /dev/sdX Disk /dev/sdd: 7.4 GiB, 7948206080 bytes, 15523840 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x35e533a8 Device Boot Start End Sectors Size Id Type /dev/sdd1 30380 15508989 15478610 7.4G b W95 FAT32 |
If it has no partition or more than one, you’ll need to change the partition table using tools like fdisk, or gparted. The instructions provided on Khadas website are basically the same as I wrote in the post “How to Create a Bootable Recovery SD Card for Amlogic TV Boxes“.
1 2 3 4 5 |
sudo umount /dev/sdX1 sudo mkfs.vfat /dev/sdX1 sudo dd if=Vim_Uboot_170121/u-boot.bin.sd.bin of=/dev/sdX bs=1 count=442 sudo dd if=Vim_Uboot_170121/u-boot.bin.sd.bin of=/dev/sdX seek=1 skip=1 bs=512 sync |
Mount the partition, for example by removing and re-inserting the micro SD card into your computer, and copy two files needed for update:
1 |
cp -a Vim_Uboot_170121/aml_sdc_burn.ini Vim_Ubuntu-server-16.04_V170211/update.img [sd_mount_point] |
Eject the micro SD card:
1 |
sudo eject /dev/sdd |
Now connect your board with the cables would want to use (e.g. Ethernet, HDMI. etc…), and possibly connect a USB to TTL debug board to access the serial console in case of errors. I also connect a USB hub with my RF dongles for air mouse, and a USB keyboard.
The board comes pre-loaded with Android 6.0.1 with Linux 3.14, so you can connect the power first to make sure the board is working properly. Note that you’ll need to provide your own USB power supply. I used a 5V power supply, and not a fast charger found in some phone and starting at 12V. Now we can insert the micro SD card we’ve just prepared into the board, and boot into Upgrade Mode by keeping pressing on the power button (closest to the 40-pin header), pressing a short time on the reset button (closest to the USB port), and releasing the power button two or three seconds later. At this point, you should get a firmware upgrade interface on the HDMI display with a green progress bar, and once completed you’ll get a “Successful Android” logo.
This is what it looks like in the serial console during the update:
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 |
Following is the partition table stored in eMMC/TSD: name offset size flag ================================================================================ 0: bootloader 0 400000 0 1: reserved 2400000 4000000 0 2: cache 6c00000 20000000 2 3: env 27400000 800000 0 4: logo 28400000 2000000 1 5: recovery 2ac00000 2000000 1 6: rsv 2d400000 800000 1 7: tee 2e400000 800000 1 8: crypt 2f400000 2000000 1 9: misc 31c00000 2000000 1 10: instaboot 34400000 20000000 1 11: boot 54c00000 2000000 1 12: system 57400000 40000000 1 13: data 97c00000 30c200000 4 mmc write lba=0x12000, blocks=0x2 mmc write lba=0x12002, blocks=0x2 mmc_write_partition_tbl: mmc write partition OK! partition table success [burn_parts] burn_num = 3 burn_part0 = logo burn_part1 = ramdisk burn_part2 = rootfs [MSG]=====>To burn part [logo] [MSG]itemSizeNotAligned 0xbc0 [MSG]flash LOGIC partCap 0x2000000B [MSG]Down(store) part(logo) sz(0x11b5b0) fmt(normal) [MSG]totalSlotNum = 0, nextWriteBackSlot 18 [MSG]itemSizeNotAligned 0xbc0 [fat]0x:leftSz 9f0 < BPS 1000, gotSz a9f0 [MSG]Burn Start... [MSG]Burn complete [MSG]Verify Start... [MSG]To verify part logo in fmt normal [MSG]Verify End [MSG]VERIFY OK [MSG]=====>To burn part [ramdisk] [fat]Seek 0x3c6bb0 from 0x3bda20 [MSG]itemSizeNotAligned 0x450 [MSG]flash LOGIC partCap 0x2000000B [MSG]Down(store) part(ramdisk) sz(0x12ef800) fmt(normal) [MSG]totalSlotNum = 0, nextWriteBackSlot 303 [MSG]itemSizeNotAligned 0x450 [fat]0x:leftSz 3b0 < BPS 1000, gotSz f3b0 [MSG]Burn Start... [MSG]Burn complete [MSG]Verify Start... [MSG]To verify part ramdisk in fmt normal [MSG]Verify End [MSG]VERIFY OK [MSG]=====>To burn part [rootfs] [MSG]itemSizeNotAligned 0xc20 [MSG]flash LOGIC partCap 0x376a00000B [MSG]Down(store) part(rootfs) sz(0x18000000) fmt(normal) [MSG]totalSlotNum = 0, nextWriteBackSlot 1024 [MSG]itemSizeNotAligned 0xc20 [MSG]Burn Start... [fat]0x:leftSz 3e0 < BPS 1000, gotSz f3e0 [MSG]Burn complete [MSG]Verify Start... [MSG]To verify part rootfs in fmt normal [MSG]Verify End [MSG]VERIFY OK [MSG]=====>To burn part [bootloader] [MSG]itemSizeNotAligned 0xbf0 [MSG]Down(store) part(bootloader) sz(0xe0000) fmt(normal) [MSG]totalSlotNum = 0, nextWriteBackSlot 14 [MSG]itemSizeNotAligned 0xbf0 [fat]0x:leftSz 410 < BPS 1000, gotSz f410 [MSG]Burn Start... mmc switch to boot0 success mmc switch to boot1 success mmc switch to user success [MSG]align bootloader sz from 0xe0000 to 0x100000 [MSG]Burn complete mmc switch to boot0 success mmc switch to boot1 success mmc switch to user success [MSG]VERIFY OK ## save_setting ## [MSG]Set upgrade_step to 2 Saving Environment to aml-storage... mmc env offset: 0x27400000 Writing to MMC(1)... done [MSG]to close image [MSG]Reload bmps env. [MSG]======sdc burn SUCCESS. [MSG]stop here as poweroff and powerkey not supported in platform! [MSG]You can <Ctrl-c> to reboot |
So I pressed Control-C in the serial console (if you have not set it up just reboot the board), and it failed to boot with the multiple error messages:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
[OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters [OSD]fb_addr for logo: 0x3d800000 [OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters [OSD]fb_addr for logo: 0x3d800000 [CANVAS]canvas init [CANVAS]addr=0x3d800000 width=3840, height=2160 Err imgread(L340):Logo header err. There is no valid bmp file at the given address [store]To run cmd[emmc dtb_read 0x1000000 0x40000] read emmc dtb gpio: pin GPIOAO_2 (gpio 102) value is 1 get_cpu_id flag_12bit=1 Product checking: Khadas VIM. Net: dwmac.c9410000 Hit Enter or space or Ctrl+C key to stop autoboot -- : 0 Err imgread(L139):Fmt unsupported!genFmt 0x0 != 0x3 ee_gate_off ... Wrong Image Format for bootm command ERROR: can't get kernel image! ERROR: booting os 'Invalid OS' (0) is not supported ee_gate_on ... kvim# |
I contacted SZWesion about the issue, and they told me the SD card method did not work despite being documented on their website, and I had to use Amlogic USB Burning Tool in Windows instead. So I fired up a Windows 7 virtual machine, and I had no problem (for once) flashing the “update.img” file extract from Vim_Ubuntu-server-16.04_V170211.7z to the board.
This time it works and the board booted properly. Here’s the complete boot log for reference:
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 |
GXL:BL1:9ac50e:a1974b;FEAT:ADFC318C;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0; TE: 159112 BL2 Built : 13:48:56, Sep 23 2016. gxl g7459bd4 - jianxin.pan@droid06 set vcck to 1120 mv set vddee to 1000 mv Board ID = 6 CPU clk: 1200MHz DQS-corr enabled DDR scramble enabled DDR3 chl: Rank0+1 @ 768MHz - PASS Rank0: 1024MB(auto)-2T-11 Rank1: 1024MB(auto)-2T-11 DataBus test pass! AddrBus test pass! -s Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000 New fip structure! Load bl30 from eMMC, src: 0x00010200, des: 0x01100000, size: 0x0000d600 Load bl31 from eMMC, src: 0x00020200, des: 0x10100000, size: 0x00015400 Load bl33 from eMMC, src: 0x00038200, des: 0x01000000, size: 0x000a5c00 NOTICE: BL3-1: v1.0(debug):fb68908 NOTICE: BL3-1: Built : 18:30:11, Nov 1 2016 aml log : bl31 normal boot ! [Image: gxl_v1.1.3154-065f772 2016-09-29 14:08:54 yan.wang@droid05] OPS=0x82 51 a2 12 c7 ab 10 78 17 1f 1 1a 3 [0.401291 Inits done] secure task start! high task start! low task start! INFO: BL3-1: Initializing runtime services WARNING: No OPTEE provided by BL2 boot loader ERROR: Error initializing runtime service opteed_fast INFO: BL3-1: Preparing for EL3 exit to normal world INFO: BL3-1: Next image address = 0x1000000 INFO: BL3-1: Next image spsr = 0x3c9 U-Boot 2015.01-g0f90c8e-dirty (Feb 11 2017 - 00:33:13) DRAM: 2 GiB Relocation Offset is: 76ecf000 register usb cfg[0][1] = 0000000077f61928 vpu: error: vpu: check dts: FDT_ERR_BADMAGIC, load default parameters vpu: clk_level = 7 vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300) vpp: vpp_init boot_device_flag : 1 Nand PHY Ver:1.01.001.0006 (c) 2013 Amlogic Inc. init bus_cycle=6, bus_timing=7, system=5.0ns reset failed get_chip_type and ret:fffffffe get_chip_type and ret:fffffffe chip detect failed and ret:fffffffe nandphy_init failed and ret=0xfffffff1 MMC: aml_priv->desc_buf = 0x0000000073ecf6b0 aml_priv->desc_buf = 0x0000000073ed19d0 SDIO Port B: 0, SDIO Port C: 1 emmc/sd response timeout, cmd8, status=0x1ff2800 emmc/sd response timeout, cmd55, status=0x1ff2800 [mmc_startup] mmc refix success [mmc_init] mmc init success mmc read lba=0x14000, blocks=0x400 start dts,buffer=0000000073ed4270,dt_addr=0000000073ed4270 parts: 3 00: logo 0000000002000000 1 01: ramdisk 0000000002000000 1 02: rootfs ffffffffffffffff 4 get_dtb_struct: Get emmc dtb OK! Partition table get from SPL is : name offset size flag ================================================================================ 0: bootloader 0 400000 0 1: reserved 2400000 4000000 0 2: cache 6c00000 0 0 3: env 7400000 800000 0 4: logo 8400000 2000000 1 5: ramdisk ac00000 2000000 1 6: rootfs d400000 396a00000 4 mmc read lba=0x12000, blocks=0x2 mmc read lba=0x12002, blocks=0x2 mmc_read_partition_tbl: mmc read partition OK! eMMC/TSD partition table have been checked OK! mmc env offset: 0x7400000 In: serial Out: serial Err: serial reboot_mode=cold_boot hpd_state=0 set hdmitx VIC = 16 config HPLL = 2970 HPLL: 0xc000027b config HPLL done j = 4 vid_clk_div = 1 hdmitx phy setting done hdmitx: set enc for VIC: 16 rx version is 1.4 or below div=10 hdmtix: set audio [OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters [OSD]fb_addr for logo: 0x3d800000 [OSD]check dts: FDT_ERR_BADMAGIC, load default fb_addr parameters [OSD]fb_addr for logo: 0x3d800000 [CANVAS]canvas init [CANVAS]addr=0x3d800000 width=3840, height=2160 [store]To run cmd[emmc dtb_read 0x1000000 0x40000] read emmc dtb gpio: pin GPIOAO_2 (gpio 102) value is 1 get_cpu_id flag_12bit=1 Product checking: Khadas VIM. Net: dwmac.c9410000 Hit Enter or space or Ctrl+C key to stop autoboot -- : 0 ee_gate_off ... ## Booting Android Image at 0x01080000 ... load dtb from 0x1000000 ...... Loading Kernel Image(COMP_NONE) ... OK kernel loaded at 0x01080000, end = 0x01f0e360 Loading Ramdisk to 73a5d000, end 73ebd150 ... OK Loading Device Tree to 000000001fff3000, end 000000001ffff0c0 ... OK Starting kernel ... uboot time: 1656401 us domain-0 init dvfs: 4 [ 0.000000@0] Initializing cgroup subsys cpu [ 0.000000@0] Initializing cgroup subsys cpuacct [ 0.000000@0] Linux version 3.14.29 (gouwa@Server) (gcc version 4.8.4 (Ubunt7 [ 0.000000@0] CPU: AArch64 Processor [410fd034] revision 4 [ 0.000000@0] no prop version_code [ 0.000000@0] fdt Reserved memory table: [ 0.000000@0] linux,meson-fb: 0x000000007e000000 - 0x000000008000) [ 0.000000@0] linux,di: 0x000000007c200000 - 0x000000007e00) [ 0.000000@0] DI: DI reserved memory: created CMA memory pool at 0x000000007B [ 0.000000@0] linux,ion-dev: 0x0000000079200000 - 0x000000007c20) [ 0.000000@0] linux,ppmgr: 0x0000000079200000 - 0x000000007920) [ 0.000000@0] linux,codec_mm_cma: 0x0000000067800000 - 0x000000007380) [ 0.000000@0] linux,picdec: 0x0000000079200000 - 0x000000007920) [ 0.000000@0] Reserved memory: incorrect alignment of CMA region [ 0.000000@0] linux,codec_mm_reserved: 0x0000000075100000 - 0x000000007920) [ 0.000000@0] fdt Reserved memory total: 370 MiB [ 0.000000@0] cma: Reserved 8 MiB at 74800000 [ 0.000000@0] psci: probing function IDs from device-tree [ 0.000000@0] PERCPU: Embedded 12 pages/cpu @ffffffc0750a2000 s19072 r8192 d2 [ 0.000000@0] Built 1 zonelists in Zone order, mobility grouping on. Total 4 [ 0.000000@0] Kernel command line: root=LABEL=ROOTFS rootflags=data=writeb [ 0.000000@0] logo: osd1 [ 0.000000@0] logo: loaded [ 0.000000@0] logo: 0x3d800000 [ 0.000000@0] logo: 1080p60hz [ 0.000000@0] vout_serve: 1080p60hz [ 0.000000@0] vout_serve: enable: 1 [ 0.000000@0] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000@0] Dentry cache hash table entries: 262144 (order: 9, 2097152 byt) [ 0.000000@0] Inode-cache hash table entries: 131072 (order: 8, 1048576 byte) [ 0.000000@0] Memory: 1641440K/2060288K available (9443K kernel code, 976K r) [ 0.000000@0] Virtual kernel memory layout: [ 0.000000@0] vmalloc : 0xffffff8000000000 - 0xffffff8040000000 ( 102) [ 0.000000@0] vmemmap : 0xffffff8040010000 - 0xffffff8042380000 ( 3) [ 0.000000@0] modules : 0xffffffbffc000000 - 0xffffffc000000000 ( 6) [ 0.000000@0] memory : 0xffffffc000000000 - 0xffffffc07e000000 ( 201) [ 0.000000@0] .init : 0xffffffc001cf8000 - 0xffffffc001e19a80 ( 115) [ 0.000000@0] .text : 0xffffffc001080000 - 0xffffffc001cf7d14 ( 1276) [ 0.000000@0] .data : 0xffffffc001e1a000 - 0xffffffc001f0e360 ( 97) [ 0.000000@0] PM: Registered nosave memory: [mem 0x01080000-0x01cf6fff] [ 0.000000@0] SLUB: HWalign=64, Order=0-1, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000@0] arch_multi_cluster:0 [ 0.000000@0] Preemptible hierarchical RCU implementation. [ 0.000000@0] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. [ 0.000000@0] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000@0] NR_IRQS:64 nr_irqs:64 0 [ 0.000000@0] Architected cp15 timer(s) running at 24.00MHz (phys). [ 0.000004@0] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 28s [ 0.000264@0] Console: colour dummy device 80x25 [ 0.000830@0] console [tty0] enabled [ 0.000851@0] Calibrating delay loop (skipped), value calculated using timer) [ 0.000876@0] pid_max: default: 32768 minimum: 301 [ 0.000995@0] Security Framework initialized [ 0.001025@0] AppArmor: AppArmor initialized [ 0.001081@0] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.001098@0] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 byt) [ 0.003493@0] device-tree: Duplicate name in /efusekey, renamed to "key0#1" [ 0.003524@0] device-tree: Duplicate name in /efusekey, renamed to "key1#1" [ 0.003542@0] device-tree: Duplicate name in /efusekey, renamed to "key2#1" [ 0.003560@0] device-tree: Duplicate name in /efusekey, renamed to "key3#1" [ 0.006567@0] Initializing cgroup subsys debug [ 0.006587@0] Initializing cgroup subsys freezer [ 0.006633@0] ftrace: allocating 32154 entries in 126 pages [ 0.042833@0] /cpus/cpu@0: Missing clock-frequency property [ 0.042866@0] /cpus/cpu@1: Missing clock-frequency property [ 0.042882@0] /cpus/cpu@2: Missing clock-frequency property [ 0.042899@0] /cpus/cpu@3: Missing clock-frequency property [ 0.042915@0] hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 7 coune [ 0.084485@0] Meson chip version = RevA (21:A - 82:0) [ 0.102833@1] CPU1: Booted secondary processor [ 0.122820@2] CPU2: Booted secondary processor [ 0.142845@3] CPU3: Booted secondary processor [ 0.142919@0] Brought up 4 CPUs [ 0.142967@0] SMP: Total of 4 processors activated. [ 0.143517@0] devtmpfs: initialized [ 0.149150@0] sched: registering cpufreq notifiers for scale-invariant loads [ 0.149196@0] instabooting: 0 [ 0.158299@0] xor: measuring software checksum speed [ 0.252684@0] 8regs : 2521.600 MB/sec [ 0.352697@0] 8regs_prefetch: 2156.000 MB/sec [ 0.452730@0] 32regs : 2364.800 MB/sec [ 0.552762@0] 32regs_prefetch: 2286.400 MB/sec [ 0.552774@0] xor: using function: 8regs (2521.600 MB/sec) [ 0.552794@0] pinctrl core: initialized pinctrl subsystem [ 0.553369@0] regulator-dummy: no parameters [ 0.554109@0] NET: Registered protocol family 16 [ 0.556054@0] aml_vdac_init: module init [ 0.556245@0] register canvas platform driver [ 0.556337@0] register rdma platform driver [ 0.557018@0] vdso: 2 pages (1 code, 1 data) at base ffffffc001e24000 [ 0.557064@0] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.557345@0] DMA: preallocated 256 KiB pool for atomic allocations [ 0.558318@0] software IO TLB [mem 0x64400000-0x64800000] (4MB) mapped at [f] [ 0.558819@0] aml_i2c version: 20140813 [ 0.559060@0] i2c-core: driver [pmu4] using legacy resume method [ 0.559156@0] codec_mm:codec_mm_module_init [ 0.559386@0] aml_watch_point_probe, in [ 0.559769@0] gxbb_mpll_clk: register mpll_clk_out0 success done [ 0.559789@0] gxbb_mpll_clk: register mpll_clk_out1 success done [ 0.559805@0] gxbb_mpll_clk: register mpll_clk_out2 success done [ 0.560009@0] clk_sys: register PLL sys_pll success done [ 0.560030@0] gxl_clk: [ xtal ] ->clockrate: 24000000Hz [ 0.560043@0] gxl_clk: [ 32Khz ] ->clockrate: 32000Hz [ 0.560055@0] gxl_clk: [ clk81 ] ->clockrate: 166666666Hz [ 0.560068@0] gxl_clk: [ fixed_pll ] ->clockrate: 2000000000Hz [ 0.560081@0] gxl_clk: [ fclk_div2 ] ->clockrate: 1000000000Hz [ 0.560094@0] gxl_clk: [ fclk_div3 ] ->clockrate: 666666666Hz [ 0.560106@0] gxl_clk: [ fclk_div4 ] ->clockrate: 500000000Hz [ 0.560118@0] gxl_clk: [ fclk_div5 ] ->clockrate: 400000000Hz [ 0.560130@0] gxl_clk: [ fclk_div7 ] ->clockrate: 285714285Hz [ 0.560163@0] gxl_clk: clock initialization complete [ 0.560369@0] clkmsr: Gxl msr_clk_reg0=ffffff800005875c,msr_clk_reg2=ffffff84 [ 0.562825@0] aml_iomap: amlogic iomap probe done [ 0.563542@0] pinmux-gxl c1109880.pinmux: Init pinux probe! [ 0.564809@0] pinmux-gxl c1109880.pinmux: Probed amlogic pinctrl driver [ 0.565698@0] aml-i2c c11087c0.i2c: add adapter aml_i2c_adap2(ffffffc0651518) [ 0.566038@0] genirq: Setting trigger mode 8 for irq 241 failed (gic_set_typ) [ 0.566072@0] genirq: Setting trigger mode 8 for irq 242 failed (gic_set_typ) [ 0.566262@0] genirq: Setting trigger mode 8 for irq 241 failed (gic_set_typ) [ 0.566291@0] genirq: Setting trigger mode 8 for irq 242 failed (gic_set_typ) [ 0.570635@0] codec_mm has 2 memory regions [ 0.570687@0] codec_mm codec_mm.19: assigned reserved memory node linux,codek [ 0.570711@0] codec_mm codec_mm.19: assigned reserved memory node linux,codek [ 0.570844@0] codec_mm has 2 memory regions [ 0.570870@0] codec_mm codec_mm.19: assigned reserved memory node linux,codek [ 0.570891@0] codec_mm codec_mm.19: assigned reserved memory node linux,codek [ 0.572641@0] vpu: driver version: v02 [ 0.572682@0] vpu: load vpu_clk: 666667000Hz(7) [ 0.572813@0] vpu: vpu_probe OK [ 0.574397@0] tv_vout: tvout_probe [ 0.574424@0] tv_vout: major number 254 for disp [ 0.574435@0] vout_notify: vout_register_server [ 0.574446@0] tv_vout: register tv module server ok [ 0.574553@0] tv_vout: tvout_probe OK [ 0.575136@0] canvas_probe reg=00000000c8838000,size=400 [ 0.575171@0] canvas maped reg_base =ffffff800007c000 [ 0.579404@0] rdma_probe [ 0.855602@0] bio: create slab <bio-0> at 0 [ 1.023460@0] raid6: int64x1 486 MB/s [ 1.193532@0] raid6: int64x2 716 MB/s [ 1.363577@0] raid6: int64x4 1005 MB/s [ 1.533656@0] raid6: int64x8 855 MB/s [ 1.703753@0] raid6: neonx1 719 MB/s [ 1.873776@0] raid6: neonx2 1126 MB/s [ 2.043842@0] raid6: neonx4 1464 MB/s [ 2.213912@0] raid6: neonx8 1485 MB/s [ 2.213923@0] raid6: using algorithm neonx8 (1485 MB/s) [ 2.213934@0] raid6: using intx1 recovery algorithm [ 2.214767@0] SCSI subsystem initialized [ 2.215315@0] usbcore: registered new interface driver usbfs [ 2.215436@0] usbcore: registered new interface driver hub [ 2.215572@0] usbcore: registered new device driver usb [ 2.216477@0] i2c-gpio i2c_gpio.37: using pins 172 (SDA) and 173 (SCL) [ 2.216624@0] Linux video capture interface: v2.00 [ 2.216855@0] pps_core: LinuxPPS API ver. 1 registered [ 2.216870@0] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Gi> [ 2.216954@0] PTP clock support registered [ 2.217613@0] hdmitx: system: amhdmitx_init [ 2.217631@0] hdmitx: system: Ver: 2014May6 [ 2.217800@0] hdmitx: system: amhdmitx_probe [ 2.218181@0] hdmitx: system: not find match init-data [ 2.218200@0] hdmitx: system: not find match pwr-ctl [ 2.218213@0] hdmitx hpd irq = 89 [ 2.218665@0] hdmitx20: Mapped PHY: 0xc0800000 [ 2.218689@0] hdmitx20: Mapped PHY: 0xc1104400 [ 2.218716@0] hdmitx20: Mapped PHY: 0xc8100000 [ 2.218729@0] hdmitx20: Mapped PHY: 0xc8834000 [ 2.218741@0] hdmitx20: Mapped PHY: 0xc883a000 [ 2.218752@0] hdmitx20: Mapped PHY: 0xc883c000 [ 2.218766@0] hdmitx20: Mapped PHY: 0xd0100000 [ 2.218778@0] hdmitx20: Mapped PHY: 0xda83a000 [ 2.218796@0] hdmitx: alread display in uboot 0x10 [ 2.218825@0] avmute set to 1 [ 2.219169@0] vout_serve: vout_init_module [ 2.219308@0] tv_vout: tv_set_current_vmode[759]fps_target_mode=16 [ 2.219324@0] tv_vout: mode is 16,sync_duration_den=1,sync_duration_num=60 [ 2.219342@0] tv_vout: already display in uboot [ 2.219353@0] vout_serve: vinfo mode is: 1080p60hz [ 2.219365@0] vout_serve: init mode 1080p60hz [ 2.219478@0] vout_serve: create vout attribute OK [ 2.219491@0] vout_serve: meson_vout_probe OK [ 2.219687@0] logo: logo_init [ 2.219953@0] osd_rdma: osd_rdma_init: rdma_table p=0x74841000,op=0x748410000 [ 2.219974@0] osd_rdma: osd rdma request irq as second interrput function! [ 2.220162@0] Advanced Linux Sound Architecture Driver Initialized. [ 2.220815@0] Bluetooth: Core ver 2.18 [ 2.220940@0] NET: Registered protocol family 31 [ 2.220953@0] Bluetooth: HCI device and connection manager initialized [ 2.220973@0] Bluetooth: HCI socket layer initialized [ 2.220988@0] Bluetooth: L2CAP socket layer initialized [ 2.221019@0] Bluetooth: SCO socket layer initialized [ 2.221442@0] NetLabel: Initializing [ 2.221460@0] NetLabel: domain hash size = 128 [ 2.221470@0] NetLabel: protocols = UNLABELED CIPSOv4 [ 2.221531@0] NetLabel: unlabeled traffic allowed by default [ 2.221581@0] cfg80211: Calling CRDA to update world regulatory domain [ 2.222604@0] Switched to clocksource arch_sys_counter [ 2.249607@0] AppArmor: AppArmor Filesystem Enabled [ 2.260668@0] NET: Registered protocol family 2 [ 2.261199@0] TCP established hash table entries: 16384 (order: 5, 131072 by) [ 2.261355@0] TCP bind hash table entries: 16384 (order: 6, 262144 bytes) [ 2.261617@0] TCP: Hash tables configured (established 16384 bind 16384) [ 2.261691@0] TCP: reno registered [ 2.261708@0] UDP hash table entries: 1024 (order: 3, 32768 bytes) [ 2.261762@0] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes) [ 2.261983@0] NET: Registered protocol family 1 [ 2.262207@0] aml_wifi wifi.32: [wifi_dev_probe] no power_on_pin2 [ 2.262224@0] aml_wifi wifi.32: [wifi_dev_probe] set pwm as 32k output [ 2.262282@0] aml_wifi wifi.32: [wifi_dev_probe] interrupt_pin=241 [ 2.262298@0] aml_wifi wifi.32: [wifi_dev_probe] irq_num=100, irq_trigger_ty1 [ 2.262316@0] aml_wifi wifi.32: [wifi_dev_probe] power_on_pin=240 [ 2.262330@0] aml_wifi wifi.32: [wifi_dev_probe] clock_32k_pin=0 [ 2.262774@0] aml_wifi wifi.32: [wifi_setup_dt] wifi_setup_dt [ 2.262825@0] aml_wifi wifi.32: [wifi_setup_dt] interrupt_pin(241) [ 2.262849@0] aml_wifi wifi.32: [wifi_setup_dt] power_on_pin(240) [ 2.263173@0] Unpacking initramfs... [ 2.457563@0] Freeing initrd memory: 4480K (ffffffc073a5d000 - ffffffc073ebd) [ 2.459849@0] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 2.459965@0] audit: initializing netlink subsys (disabled) [ 2.460026@0] audit: type=2000 audit(2.430:1): initialized [ 2.460869@0] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 2.468753@0] VFS: Disk quotas dquot_6.5.2 [ 2.469027@0] Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 2.471879@0] msgmni has been set to 3614 [ 2.473216@0] Block layer SCSI generic (bsg) driver version 0.4 loaded (majo) [ 2.473247@0] io scheduler noop registered [ 2.473258@0] io scheduler deadline registered [ 2.473291@0] io scheduler cfq registered (default) [ 2.474882@0] meson-rng c8834000.rng: hwrng registered [ 2.478853@0] loop: module loaded [ 2.479874@0] mtdoops: mtd device (mtddev=name/number) must be supplied [ 2.480674@0] tun: Universal TUN/TAP device driver, 1.6 [ 2.480698@0] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [ 2.488038@0] libphy: stmmac: probed [ 2.488064@0] eth0: PHY ID 01814400 at 8 IRQ POLL (stmmac-0:08) active [ 2.488521@0] PPP generic driver version 2.4.2 [ 2.488813@0] PPP BSD Compression module registered [ 2.488832@0] PPP Deflate Compression module registered [ 2.488855@0] PPP MPPE Compression module registered [ 2.488867@0] NET: Registered protocol family 24 [ 2.489049@0] usbcore: registered new interface driver cdc_ether [ 2.489162@0] usbcore: registered new interface driver net1080 [ 2.489276@0] usbcore: registered new interface driver cdc_subset [ 2.489386@0] usbcore: registered new interface driver zaurus [ 2.489520@0] usbcore: registered new interface driver cdc_ncm [ 2.490044@0] platform c9000000.dwc3: Driver dwc3 requests probe deferral [ 2.490201@0] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.490219@0] ehci-h20ahb: H20AHB-EHCI Host Controller driver [ 2.490439@0] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 2.490800@0] usbcore: registered new interface driver cdc_acm [ 2.490822@0] cdc_acm: USB Abstract Control Model driver for USB modems and s [ 2.490947@0] usbcore: registered new interface driver usb-storage [ 2.491188@0] usbcore: registered new interface driver usbserial [ 2.491302@0] usbcore: registered new interface driver usbserial_generic [ 2.491396@0] usbserial: USB Serial support registered for generic [ 2.491511@0] usbcore: registered new interface driver pl2303 [ 2.491604@0] usbserial: USB Serial support registered for pl2303 [ 2.492229@0] amlogic-new-usb2 d0078000.usb2phy: USB2 phy probe:phy_mem:0xd00 [ 2.492484@0] amlogic-new-usb3 d0078080.usb3phy: This phy has no usb port [ 2.492526@0] amlogic-new-usb3 d0078080.usb3phy: USB3 phy probe:phy_mem:0xd00 [ 2.493361@0] mousedev: PS/2 mouse device common for all mice [ 2.493823@0] usbcore: registered new interface driver xpad [ 2.494084@0] i2c /dev entries driver [ 2.494604@0] usbcore: registered new interface driver uvcvideo [ 2.494627@0] USB Video Class driver (1.1.1) [ 2.495546@0] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: dm [ 2.495720@0] cpufreq-hotplug: cpufreq_gov_dbs_init: assumes CONFIG_NO_HZ [ 2.496456@0] ledtrig-cpu: registered to indicate activity on CPUs [ 2.496643@0] hidraw: raw HID events driver (C) Jiri Kosina [ 2.496917@0] usbcore: registered new interface driver usbhid [ 2.496933@0] usbhid: USB HID core driver [ 2.497786@0] meson_uart c81004c0.serial: ==uart0 reg addr = ffffff80001ee4c0 [ 2.497830@0] c81004c0.serial: ttyS0 at MMIO 0xc81004c0 (irq = 225, base_baut [ 2.497858@0] meson_uart c81004c0.serial: ttyS0 use xtal(8M) 24000000 change0 [ 4.042473@0] console [ttyS0] enabled [ 4.046518@0] meson_uart c11084c0.serial: ==uart1 reg addr = ffffff80001f04c0 [ 4.053213@0] c11084c0.serial: ttyS1 at MMIO 0xc11084c0 (irq = 58, base_baudt [ 4.063234@0] hdmitx: system: hdmitx_hdcp_init [ 4.067014@0] ESM HLD: Initializing... [ 4.070601@0] ESM HLD: Registering device range 'esm'... [ 4.075854@0] ESM HLD: Device range 'esm' has been registered. [ 4.081608@0] ESM HLD: Creating class /sys/class/elliptic... [ 4.087351@0] ESM HLD: The class /sys/class/elliptic has been created. [ 4.093693@0] ESM HLD: Creating device 'esm'... [ 4.098360@0] ESM HLD: Device 'esm' has been created. [ 4.103209@0] ESM HLD: Done initializing the HLD driver. INFO: HDCP22 key read fail! INFO: p1d 0 INFO: pd1 0 [ 4.124497@0] aml_vrtc rtc.31: rtc core: registered aml_vrtc as rtc0 [ 4.125899@0] secmon has 1 memory regions [ 4.129220@0] secmon: share in base: 0xffffff80001f8000, share out base: 0xf0 [ 4.137523@0] secmon secmon.4: assigned reserved memory node linux,secmon ok [ 4.144457@0] secmon: probe done [ 4.147967@0] storage: storage in base: 0xffffff8001600000 [ 4.153115@0] storage: storage out base: 0xffffff8001680000 [ 4.158595@0] storage: storage block base: 0xffffff8001700000 [ 4.164293@0] storage: probe done! [ 4.168195@0] aml_sd_emmc_probe: line 3558 [ 4.171736@0] mmc driver version: 1.07, 2015-01-21: fix a bug in tuning whicr [ 4.181539@0] aml_sd_emmc_reg_init 1146 [ 4.184969@0] get property: ocr_avail, value:0x00200080 [ 4.191400@0] get property: f_min, value:400000 [ 4.197502@0] get property: f_max, value:100000000 [ 4.203900@0] get property: max_req_size, value:0x00020000 [ 4.210346@0] get property: irq_in, value:3 [ 4.216045@0] get property: irq_out, value:5 [ 4.221759@0] get property: gpio_cd, str: [ 4.227173@0] get property: pinname, str:sd [ 4.232778@0] get property: jtag_pin, str: [ 4.238223@0] get property: card_type, value:5 [ 4.243906@0] get property: gpio_dat3, str: [ 4.249345@0] sd:pdata->caps = 7 [ 4.252522@0] sd:pdata->caps2 = 0 [ 4.293804@0] [aml_sd_emmc_probe] aml_sd_emmc_probe() success! [ 4.293807@2] [aml_is_card_insert] card OUT [ 4.293874@1] [aml_is_card_insert] card OUT [ 4.302316@0] aml_sd_emmc_probe: line 3558 [ 4.306616@0] aml_sd_emmc_reg_init 1146 [ 4.310213@0] get property: ocr_avail, value:0x00200080 [ 4.316618@0] get property: f_min, value:300000 [ 4.322758@0] get property: f_max, value:100000000 [ 4.329113@0] get property: max_req_size, value:0x00020000 [ 4.335591@0] get property: pinname, str:emmc [ 4.341377@0] get property: card_type, value:1 [ 4.347067@0] get property: gpio_dat3, str: [ 4.352487@0] get property: hw_reset, str: [ 4.357981@0] emmc:pdata->caps = c0000d47 [ 4.361892@0] emmc:pdata->caps2 = 18060 [ 4.365698@0] storage 1, boot 1 [ 4.368786@0] get_storage_dev return 1 [ 4.412613@0] [aml_sd_emmc_probe] aml_sd_emmc_probe() success! [ 4.418101@0] aml_sd_emmc_probe: line 3558 [ 4.418475@0] aml_sd_emmc_reg_init 1146 [ 4.420761@0] get property: ocr_avail, value:0x00200080 [ 4.427217@0] get property: f_min, value:400000 [ 4.433344@0] get property: f_max, value:200000000 [ 4.439655@0] get property: max_req_size, value:0x00020000 [ 4.446112@0] get property: pinname, str:sdio [ 4.451882@0] get property: card_type, value:3 [ 4.457640@0] sdio:pdata->caps = 7810f [ 4.461281@0] sdio:pdata->caps2 = 0 [ 4.502638@1] [aml_sd_emmc_probe] aml_sd_emmc_probe() success! [ 4.503371@2] ion_dev has 1 memory regions [ 4.511492@2] fb: osd_init_module [ 4.511642@2] fb: viu vsync irq: 35 [ 4.513665@2] meson-fb has 1 memory regions [ 4.517813@2] meson-fb meson-fb.16: assigned reserved memory node linux,mesok [ 4.525415@2] emmc: BKOPS_EN bit is not set [ 4.529605@2] fb: osd_probe vinfo:ffffffc001eaea88 [ 4.534362@2] fb: init fbdev bpp is:32 [ 4.538845@2] fb: Frame buffer memory assigned at [ 4.538845@2] fb: 0, phy: 0x000000007e000000, vir:0xffffff8001900000, size=K [ 4.538845@2] [ 4.538848@2] fb: ---------------clear fb0 memory ffffff8001900000 [ 4.543284@2] emmc: trying cali 0-th time(s) [ 4.551103@2] fb: osd[0] canvas.idx =0x40 [ 4.551105@2] fb: osd[0] canvas.addr=0x7e000000 [ 4.551107@2] fb: osd[0] canvas.width=7680 [ 4.551108@2] fb: osd[0] canvas.height=3240 [ 4.551110@2] fb: osd[0] frame.width=1920 [ 4.551111@2] fb: osd[0] frame.height=1080 [ 4.551155@2] emmc: delay[0]= 800 padding= 1, bidx=0 [ 4.551158@2] emmc: delay[1]= 1400 padding= 3, bidx=1 [ 4.551160@2] emmc: delay[2]= 800 padding= 1, bidx=0 [ 4.551163@2] emmc: delay[3]= 1200 padding= 4, bidx=1 [ 4.551165@2] emmc: delay[4]= 1200 padding= 4, bidx=1 [ 4.551167@2] emmc: delay[5]= 1000 padding= 5, bidx=1 [ 4.551170@2] emmc: delay[6]= 1200 padding= 4, bidx=1 [ 4.551172@2] emmc: delay[7]= 1200 padding= 4, bidx=1 [ 4.551175@2] emmc: calibration result @ 0: max(1400), min(800) [ 4.551178@2] emmc: line_delay =0x11211303, max_cal_result =1400 [ 4.551180@2] emmc: base_index_max 1, base_index_min 0 [ 4.551186@2] emmc: clk 100000000 SDR mode tuning start [ 4.551457@2] emmc: rx_tuning_result[0] = 10 [ 4.551718@2] emmc: rx_tuning_result[1] = 10 [ 4.551978@2] emmc: rx_tuning_result[2] = 10 [ 4.552239@2] emmc: rx_tuning_result[3] = 10 [ 4.552500@2] emmc: rx_tuning_result[4] = 10 [ 4.552790@2] emmc: rx_tuning_result[5] = 10 [ 4.553135@2] emmc: rx_tuning_result[6] = 10 [ 4.553396@2] emmc: rx_tuning_result[7] = 10 [ 4.553658@2] emmc: rx_tuning_result[8] = 10 [ 4.553920@2] emmc: rx_tuning_result[9] = 10 [ 4.553923@2] emmc: best_win_start =0, best_win_size =10 [ 4.553926@2] emmc: sd_emmc_regs->gclock=0x100024a,sd_emmc_regs->gadjust=0x20 [ 4.553931@2] emmc: gclock =0x100024a, gdelay=0x11211303, gadjust=0x2000 [ 4.554041@2] emmc: support driver strength type 1 [ 4.554087@2] emmc: try set sd/emmc to DDR mode [ 4.554091@2] emmc: try set sd/emmc to DDR mode [ 4.554179@2] emmc: new HS400 MMC card at address 0001 [ 4.554613@2] emmc: clock 100000000, 8-bit-bus-width [ 4.554613@2] [ 4.554614@2] mmcblk1: emmc:0001 AWPD3R 14.5 GiB [ 4.554757@2] mmcblk1boot0: emmc:0001 AWPD3R partition 1 4.00 MiB [ 4.554900@2] mmcblk1boot1: emmc:0001 AWPD3R partition 2 4.00 MiB [ 4.555040@2] mmcblk1rpmb: emmc:0001 AWPD3R partition 3 4.00 MiB [ 4.556326@2] mmcblk1: unknown partition table [ 4.557041@2] [mmc_read_partition_tbl] mmc read partition OK! [ 4.557042@2] add_emmc_partition [ 4.557283@2] [mmcblk1p01] bootloader offset 0x000000000000, size [ 4.557460@2] [mmcblk1p02] reserved offset 0x000002400000, size [ 4.557640@2] [mmcblk1p03] cache offset 0x000006c00000, size [ 4.557802@2] [mmcblk1p04] env offset 0x000007400000, size [ 4.557972@2] [mmcblk1p05] logo offset 0x000008400000, size [ 4.558138@2] [mmcblk1p06] ramdisk offset 0x00000ac00000, size [ 4.558306@2] [mmcblk1p07] rootfs offset 0x00000d400000, size [ 4.558333@2] card key: card_blk_probe. [ 4.558337@2] emmc_key_init:527 emmc key lba_start:0x12020,lba_end:0x12220 [ 4.558341@2] emmc key: emmc_key_init:552 ok. [ 4.558571@2] amlmmc_dtb_init: register dtb chardev [ 4.558656@2] amlmmc_dtb_init: register dtb chardev OK [ 4.558656@2] Exit aml_emmc_partition_ops OK. [ 4.561377@2] mmcblk1boot1: unknown partition table [ 4.562322@2] mmcblk1boot0: unknown partition table [ 4.562615@2] clear_emmc_wait_flag [ 4.595306@0] Console: switching to colour frame buffer device 240x67 [ 4.969346@0] fb: osd probe OK [ 4.973209@0] ge2d: ge2d_init_module [ 4.976737@0] ge2d: ge2d_dev major:242 [ 4.980587@2] ge2d: ge2d clock is 400 MHZ [ 4.984023@2] ge2d: ge2d: pdev=ffffffc0651fd800, irq=182, rstc=0xffffffc06520 [ 4.991713@2] ge2d: mapped phy: 0xd0160000 [ 4.995741@2] ge2d: ge2d start monitor [ 4.999520@3] ge2d: ge2d workqueue monitor start [ 4.999776@2] sysled: module init [ 4.999902@2] sysled: led_gpio = 154 [ 4.999904@2] sysled: active_low = 0 [ 5.000074@2] sysled: module probed ok [ 5.000485@2] pwmled: module init [ 5.000856@2] codec:Amlogic A/V streaming port init [ 5.002539@2] codec:get gate demux control ok ffffffc0640980c0 [ 5.002545@2] codec:get gate parser_top control ok ffffffc064098140 [ 5.002550@2] codec:get gate vpu_intr control ok ffffffc0640981c0 [ 5.002556@2] codec:get gate vdec control ok ffffffc064098240 [ 5.003292@2] codec:[tsync_pcr_init]init success. [ 5.003296@2] codec:amvideocap_init_module [ 5.003475@2] codec:amvideocap_probe,amvideocap [ 5.003479@2] codec:use cma buf. [ 5.003481@2] codec:amvideocap_dev_register [ 5.005389@2] amvenc_avc_probe -- reserved memory config fail. [ 5.005393@2] amvenc_avc - cma memory pool size: 40 MB [ 5.005411@2] encode_wq_init. [ 5.005420@2] encode start monitor. [ 5.005475@0] encode workqueue monitor start. [ 5.005941@2] jpegenc module init [ 5.006262@2] codec:picdec_driver_probe called. [ 5.006266@2] picdec has 1 memory regions [ 5.006290@2] codec:picdec_driver_probe done. [ 5.007369@2] codec:create_ge2d_work_queue video task ok [ 5.007822@2] codec:used fix clk for vdec clk source! [ 5.007828@2] codec:register clk_set_setting cpu[33] [ 5.008084@2] vpu_init [ 5.008085@2] The chip is not support hevc encoder [ 5.008088@2] DI: di_module_init ok. [ 5.008095@2] DI: di_module_init: major 236 [ 5.008449@2] DI: di_probe [ 5.008648@2] deinterlace has 1 memory regions [ 5.008683@2] deinterlace deinterlace.26: assigned reserved memory node linuk [ 5.008704@2] di_irq:78,timerc_irq:38 [ 5.158793@2] rdma_register, rdma_table_addr ffffff8000431000 rdma_table_add0 [ 5.168465@2] rdma_register success, handle 1 table_size 8192 [ 5.174153@2] DI: di_probe allocate rdma channel 1. [ 5.178980@2] DI: DI hw version 2. [ 5.183387@2] 0x000000db:Y=db,U=0,V=0 [ 5.187753@2] 0x000000dc:Y=dc,U=0,V=0 [ 5.192057@2] 0x000000dd:Y=dd,U=0,V=0 [ 5.196262@2] 0x000000de:Y=de,U=0,V=0 [ 5.200442@2] 0x000000df:Y=df,U=0,V=0 [ 5.204615@2] 0x000000e0:Y=e0,U=0,V=0 [ 5.208776@2] 0x000000e1:Y=e1,U=0,V=0 [ 5.212941@2] 0x000000e2:Y=e2,U=0,V=0 [ 5.217084@2] 0x000000e3:Y=e3,U=0,V=0 [ 5.221205@2] 0x000000f0:Y=f0,U=0,V=0 [ 5.225239@2] 0x000000f1:Y=f1,U=0,V=0 [ 5.229176@2] 0x000000f2:Y=f2,U=0,V=0 [ 5.233039@2] 0x000000f3:Y=f3,U=0,V=0 [ 5.236849@2] 0x000000f4:Y=f4,U=0,V=0 [ 5.240658@2] 0x000000f5:Y=f5,U=0,V=0 [ 5.244425@2] 0x000000f6:Y=f6,U=0,V=0 [ 5.248132@2] 0x000000f7:Y=f7,U=0,V=0 [ 5.251838@2] 0x000000f8:Y=f8,U=0,V=0 [ 5.255498@2] 0x000000f9:Y=f9,U=0,V=0 [ 5.259068@2] 0x000000fa:Y=fa,U=0,V=0 [ 5.262558@2] 0x000000fb:Y=fb,U=0,V=0 [ 5.266022@2] 0x000000fc:Y=fc,U=0,V=0 [ 5.269618@2] DI: di_probe here. [ 5.273499@2] efusekeynum: 4 [ 5.276895@2] efusekeyname: mac offset: 0 size: 6 [ 5.280990@2] efusekeyname: mac_bt offset: 6 size: 6 [ 5.287405@2] efusekeyname: mac_wifi offset: 12 size: 6 [ 5.293773@2] efusekeyname: usid offset: 18 size: 16 [ 5.300512@2] efuse efuse.10: probe OK! [ 5.304392@2] key unify config unifykey-num is 14 [ 5.308634@2] key unify fact unifykey-num is 14 [ 5.313106@2] aml_unifykeys_probe:1273=============unifykey_devno:ea00000 [ 5.320157@2] 6unifykey: device unifykeys created ok [ 5.325029@2] 6aml_unifykeys_init done! [ 5.328682@2] PPMGRDRV: warn: ppmgr module init func called [ 5.334380@2] PPMGRDRV: err: ppmgr_driver_probe called [ 5.339291@2] ppmgr has 1 memory regions [ 5.343226@2] PPMGRDRV: info: ppmgr_dev major:233 [ 5.348214@2] PPMGRDRV: info: ppmgr_probe done [ 5.352814@2] amlogic rfkill init [ 5.356443@2] enter bt_probe of_node [ 5.359884@2] not get gpio_en [ 5.363314@2] power on valid level is high [ 5.366252@2] Bluetooth: BlueSleep Mode Driver Ver 1.2 [ 5.373688@2] ionvideo-000: V4L2 device registered as video13 [ 5.378180@2] ionvid: info: Video Technology Magazine Ion Video [ 5.384077@2] ionvid: info: Capture Board ver 1.0 successfully loaded [ 5.390437@2] audio_dsp: [dsp]register dsp to char divece(257) [ 5.397144@2] amaudio: amaudio: driver amaudio succuess! [ 5.401829@2] amlvid:err: amlvideo_init called [ 5.405723@2] amlvid:err: amlvideo_create_instance called [ 5.412837@2] amlvid:err: v4l2_dev.name=:amlvideo-000 [ 5.417817@2] amlvideo-000: V4L2 device registered as video10 [ 5.423773@2] [RX]-hdmirx: hdmirx_init. [ 5.427410@2] ESM HLD: Initializing... [ 5.430961@2] ESM HLD: Registering device range 'esm_rx'... [ 5.436302@2] ESM HLD: Device range 'esm_rx' has been registered. [ 5.442297@2] ESM HLD: Creating class /sys/class/elliptic_rx... [ 5.448322@2] ESM HLD: The class /sys/class/elliptic_rx has been created. [ 5.454914@2] ESM HLD: Creating device 'esm_rx'... [ 5.459871@2] ESM HLD: Device 'esm_rx' has been created. [ 5.464925@2] ESM HLD: Done initializing the HLD driver. [ 5.470158@2] [viuin..]viuin_init_module viuin module init [ 5.476116@2] [viuin..]viuin_probe probe ok. [ 5.479918@2] module init [ 5.483522@2] [ 5.483522@2] VECM probe start [ 5.490627@2] aml_vecm_probe: ok [ 5.494814@2] saradc c1108680.saradc: initialized by BL30 [ 5.498371@2] saradc c1108680.saradc: calibration start: [ 5.503435@2] saradc c1108680.saradc: nominal=0, value=5 [ 5.508658@2] saradc c1108680.saradc: nominal=256, value=250 [ 5.514287@2] saradc c1108680.saradc: nominal=512, value=499 [ 5.519870@2] saradc c1108680.saradc: nominal=768, value=748 [ 5.525494@2] saradc c1108680.saradc: nominal=1023, value=995 [ 5.531128@2] saradc c1108680.saradc: calibration end: coef=4211 [ 5.537397@2] remote: Driver init [ 5.541184@2] remote: platform_data g_remote_ao_offset=580 [ 5.545822@2] remote: platform_data irq =228 [ 5.550042@2] remote: set drvdata completed [ 5.555928@2] remote: device_create_file completed [ 5.560528@2] input: aml_keypad as /devices/meson-remote.12/input/input0 [ 5.566239@2] remote: input_register_device completed [ 5.572004@2] remote: set_remote_mode[74] [ 5.577197@2] remote: remote config major:230 [ 5.581608@2] remote: physical address:0x631a8000 [ 5.586287@2] m1-adckp adc_keypad.48: adc_key: faild to get name_len! [ 5.591356@2] m1-adckp adc_keypad.48: home key(300) registed. [ 5.597316@2] input: adc_keypad as /devices/adc_keypad.48/input/input1 [ 5.604347@2] gpio-key gpio_keypad.47: gpio_key: 0 name(power) pin() [ 5.609800@2] gpio-key gpio_keypad.47: amlogic_gpio_name_map_num pin 0!:: [ 5.616576@2] gpio-key gpio_keypad.47: gpio_key: 0 power(147) [ 5.622248@2] gpio-key gpio_keypad.47: start setup_timer [ 5.627506@2] gpio-key gpio_keypad.47: power key(116) registed. [ 5.633636@2] input: gpio_keypad as /devices/gpio_keypad.47/input/input2 [ 5.640232@2] gpio-key gpio_keypad.47: gpio keypad register input device com. [ 5.647617@2] input input2: gpio keypad major:228 [ 5.653325@2] Sensor: lsm303d_init [ 5.658172@2] Sensor: stk8313_init [ 5.662810@2] Sensor: stk831x_init [ 5.667344@2] Sensor: mxc622x_acc_init [ 5.671823@2] Sensor: mxc6255xc_acc_init [ 5.676326@2] Sensor: l3gd20_gyr_init [ 5.682500@2] cpuinfo: probe done [ 5.687316@2] defendkey c8834500.defendkey: defendkey_devno:e200000 [ 5.692724@2] defendkey c8834500.defendkey: defendkey: device defendkey creak [ 5.700093@2] defendkey: driver init [ 5.705358@2] input: cec_input as /devices/virtual/input/input3 [ 5.710462@2] cectx aocec: no hdmirx reg resource [ 5.715046@2] cectx aocec: no hhi reg resource [ 5.719599@2] cectx aocec: can't find hdmirx [ 5.724029@2] input input2: key 116 up [ 5.729426@2] cec: wake up flag:0 [ 5.734701@2] aml_aes_dma c883e000.aml_aes: Aml AES_dma [ 5.739731@2] aml_tdes_dma c883e000.aml_tdes: Aml TDES_dma [ 5.744909@2] aml_sha_dma c883e000.aml_sha: Aml SHA1/SHA224/SHA256 dma [ 5.752393@2] aml_codec_T9015 c8832000.t9015: aml_T9015_audio_codec_probe [ 5.760436@2] aml_pcm_dai: pcm mode detection =1 [ 5.765492@2] aml_spdif_dai: enterd aml_spdif_play,set_clock:-1,sample_rate=4 [ 5.771554@2] aml_spdif_dai: set normal 512 fs /4 fs [ 5.776487@2] aml_audio_hw: IEC958 16bit [ 5.780951@2] hdmitx: audio: aout notify rate 48000 [ 5.785504@2] hdmitx: audio: aout notify size 16 [ 5.789938@2] hdmitx: audio: aout notify format CT_PCM [ 6.002832@2] aml_snd_card: headphone detection disable=1 [ 6.007300@2] aml_snd_card: no spk event delay time set [ 6.012741@2] aml_snd_m8_card aml_m8_snd.46: T9015-audio-hifi <-> I2S.39 mapk [ 6.020249@2] aml_snd_m8_card aml_m8_snd.46: dit-hifi <-> SPDIF.40 mapping ok [ 6.027039@2] aml_pcm: enter aml_pcm_new dai->name: PCM.41 dai->id: 0 [ 6.033443@2] aml_snd_m8_card aml_m8_snd.46: pcm2bt-pcm <-> PCM.41 mapping ok [ 6.040340@2] aml_snd_m8_card aml_m8_snd.46: ASoC: no source widget found foL [ 6.047950@2] aml_snd_m8_card aml_m8_snd.46: ASoC: Failed to add route LOUTLk [ 6.056741@2] aml_snd_m8_card aml_m8_snd.46: ASoC: no source widget found foR [ 6.064318@2] aml_snd_m8_card aml_m8_snd.46: ASoC: Failed to add route LOUTRk [BL31]: tee size: 0 [BL31]: tee size: 0 [BL31]: tee size: 0 [BL31]: tee size: 0 [ 6.080343@2] aml_snd_card: audio use jtag pinmux as i2s output, read val =0 WARNING: Unimplemented Sip Call: 0x82000036 [ 6.091867@2] GACT probability NOT on [ 6.096706@2] Mirror/redirect action on [ 6.101452@2] u32 classifier [ 6.106201@2] Actions configured [ 6.110969@2] Netfilter messages via NETLINK v0.30. [ 6.115902@2] nf_conntrack version 0.5.0 (16384 buckets, 65536 max) [ 6.121964@2] ctnetlink v0.93: registering with nfnetlink. [ 6.127615@2] xt_time: kernel timezone is -0000 [ 6.133103@2] ipip: IPv4 over IPv4 tunneling driver [ 6.138870@2] ip_tables: (C) 2000-2006 Netfilter Core Team [ 6.144124@2] arp_tables: (C) 2002 David S. Miller [ 6.149186@2] TCP: cubic registered [ 6.154198@2] Initializing XFRM netlink socket [ 6.160133@2] NET: Registered protocol family 10 [ 6.166320@2] mip6: Mobile IPv6 [ 6.171328@2] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 6.176574@2] sit: IPv6 over IPv4 tunneling driver [ 6.183177@2] NET: Registered protocol family 17 [ 6.188250@2] NET: Registered protocol family 15 [ 6.193298@2] Bridge firewalling registered [ 6.198295@2] Bluetooth: RFCOMM TTY layer initialized [ 6.203237@2] Bluetooth: RFCOMM socket layer initialized [ 6.208116@2] Bluetooth: RFCOMM ver 1.11 [ 6.212957@2] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 6.217814@2] Bluetooth: BNEP filters: protocol multicast [ 6.223022@2] Bluetooth: BNEP socket layer initialized [ 6.228070@2] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 6.234181@2] Bluetooth: HIDP socket layer initialized [ 6.239227@2] l2tp_core: L2TP core driver, V2.0 [ 6.243953@2] l2tp_ppp: PPPoL2TP kernel driver, V2.0 [ 6.248696@2] l2tp_ip: L2TP IP encapsulation support (L2TPv3) [ 6.254335@2] l2tp_netlink: L2TP netlink interface [ 6.259222@2] l2tp_eth: L2TP ethernet pseudowire support (L2TPv3) [ 6.265139@2] l2tp_debugfs: L2TP debugfs support [ 6.270074@2] l2tp_ip6: L2TP IP encapsulation support for IPv6 (L2TPv3) [ 6.276276@2] NET: Registered protocol family 35 [ 6.281605@2] Key type dns_resolver registered [ 6.287401@2] Registering SWP/SWPB emulation handler [ 6.294326@0] bio: create slab <bio-1> at 1 [ 6.300364@0] Btrfs loaded [ 6.305495@0] BTRFS: selftest: Running btrfs free space cache tests [ 6.311111@0] BTRFS: selftest: Running extent only tests [ 6.316415@0] BTRFS: selftest: Running bitmap only tests [ 6.321700@0] BTRFS: selftest: Running bitmap and extent tests [ 6.327450@0] BTRFS: selftest: Free space cache tests finished [ 6.333202@0] BTRFS: selftest: Running extent buffer operation tests [ 6.339355@0] BTRFS: selftest: Running btrfs_split_item tests [ 6.349176@0] BTRFS: selftest: Running find delalloc tests [ 6.586557@0] BTRFS: selftest: Running btrfs_get_extent tests [ 6.591678@0] BTRFS: selftest: Running hole first btrfs_get_extent test [ 6.682706@0] AppArmor: AppArmor sha1 policy hashing enabled [ 6.687590@0] regulator-dummy: disabling [ 7.394287@2] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 7.399180@2] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus1 [ 7.407328@2] xhci-hcd xhci-hcd.0.auto: irq 62, io mem 0xc9000000 [ 7.413136@2] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 7.419858@2] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumb1 [ 7.427229@2] usb usb1: Product: xHCI Host Controller [ 7.432191@2] usb usb1: Manufacturer: Linux 3.14.29 xhci-hcd [ 7.437854@2] usb usb1: SerialNumber: xhci-hcd.0.auto [ 7.443462@2] hub 1-0:1.0: USB hub found [ 7.448405@2] hub 1-0:1.0: 2 ports detected [ 7.453490@2] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 7.458361@2] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus2 [ 7.466254@2] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003 [ 7.473032@2] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumb1 [ 7.480335@2] usb usb2: Product: xHCI Host Controller [ 7.485405@2] usb usb2: Manufacturer: Linux 3.14.29 xhci-hcd [ 7.490944@2] usb usb2: SerialNumber: xhci-hcd.0.auto [ 7.496591@2] hub 2-0:1.0: USB hub found [ 7.501524@2] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -) [ 7.508397@3] aml_vrtc rtc.31: setting system clock to 2015-01-01 00:00:09 U) [ 7.517424@3] cpufreq-scpi cpufreq-meson.7: enter cpufreq [ 7.522498@3] cpufreq-scpi cpufreq-meson.7: probe cpufreq okay [ 7.530477@0] gxbb_pm: enter meson_pm_probe! [ 7.534764@0] gxbb_pm: meson_pm_probe done [ 7.539788@0] cpucore_cooling_register, max_cpu_core_num:4 [ 7.559285@0] aml_istbt_dev_ready NULL [ 7.563549@0] ALSA device list: [ 7.567685@0] #0: AML-M8AUDIO [ 7.572391@0] Freeing unused kernel memory: 1156K (ffffffc001cf8000 - ffffff) [ 7.623227@2] random: systemd-udevd urandom read with 42 bits of entropy avae [ 7.749417@0] mali-utgard d00c0000.mali: set min pp to default 1 [ 7.755268@0] mali-utgard d00c0000.mali: set min clk default to 0 [ 7.761012@0] mali-utgard d00c0000.mali: max clk set 5 [ 7.766069@0] mali-utgard d00c0000.mali: turbo clk set to 6 [ 7.771355@0] mali-utgard d00c0000.mali: default clk set to 2 [ 7.776849@0] usb 1-1: new high-speed USB device number 2 using xhci-hcd [ 7.796981@0] gpu cooling register okay with err=0 [ 7.804711@0] gpu core cooling register okay with err=0 [ 7.812064@0] Mali: Mali device driver loaded [ 7.922841@0] usb 1-1: New USB device found, idVendor=1a40, idProduct=0801 [ 7.928561@0] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumbe0 [ 7.935818@0] usb 1-1: Product: USB 2.0 Hub [ 7.946372@0] hub 1-1:1.0: USB hub found [ 7.950917@0] hub 1-1:1.0: 4 ports detected [ 7.977824@1] fb: osd[0] canvas.idx =0x40 [ 7.977827@1] fb: osd[0] canvas.addr=0x7e000000 [ 7.977830@1] fb: osd[0] canvas.width=5760 [ 7.977831@1] fb: osd[0] canvas.height=2160 [ 7.977832@1] fb: osd[0] frame.width=1920 [ 7.977834@1] fb: osd[0] frame.height=1080 [ 8.069478@3] fb: osd[0] enable: 1 (khadas_init.sh) [ 8.232644@1] usb 1-1.3: new high-speed USB device number 3 using xhci-hcd [ 8.352813@1] usb 1-1.3: New USB device found, idVendor=1a40, idProduct=0101 [ 8.359164@1] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNum0 [ 8.366591@1] usb 1-1.3: Product: USB 2.0 Hub [ 8.394361@2] hub 1-1.3:1.0: USB hub found [ 8.399440@2] hub 1-1.3:1.0: 4 ports detected [ 8.682644@0] usb 1-1.3.3: new full-speed USB device number 4 using xhci-hcd [ 8.785737@0] usb 1-1.3.3: New USB device found, idVendor=400c, idProduct=10a [ 8.792351@0] usb 1-1.3.3: New USB device strings: Mfr=1, Product=2, SerialN3 [ 8.799930@0] usb 1-1.3.3: Product: SAGE AirMouse [ 8.804925@0] usb 1-1.3.3: Manufacturer: SAGE [ 8.809859@0] usb 1-1.3.3: SerialNumber: ��麉��斍��碞��猥 [ 8.845586@0] input: SAGE SAGE AirMouse as /devices/c9000000.dwc3/xhci-hcd.04 [ 8.858986@2] hid-generic 0003:400C:107A.0001: input,hiddev0,hidraw0: USB HI0 [ 8.876613@0] input: SAGE SAGE AirMouse as /devices/c9000000.dwc3/xhci-hcd.05 [ 8.890247@0] hid-generic 0003:400C:107A.0002: input,hiddev0,hidraw1: USB HI1 [ 8.982663@0] usb 1-1.3.4: new full-speed USB device number 5 using xhci-hcd [ 9.084123@0] usb 1-1.3.4: New USB device found, idVendor=11c0, idProduct=550 [ 9.091365@0] usb 1-1.3.4: New USB device strings: Mfr=0, Product=2, SerialN0 [ 9.099012@0] usb 1-1.3.4: Product: Tronsmart [ 9.105196@2] usb 1-1.3.4: ep 0x2 - rounding interval to 64 microframes, ep s [ 9.114797@0] usb 1-1.3.4: ep 0x81 - rounding interval to 64 microframes, eps [ 9.132509@0] input: Tronsmart as /devices/c9000000.dwc3/xhci-hcd.0.auto/usb6 [ 9.145729@2] hid-generic 0003:11C0:5500.0003: input,hidraw2: USB HID v1.11 0 [ 18.209423@2] random: nonblocking pool is initialized [ 18.265052@1] EXT4-fs (mmcblk1p7): mounted filesystem with writeback data mok [ 18.388688@1] systemd[1]: System time before build time, advancing clock. [ 18.415876@2] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +) [ 18.435400@2] systemd[1]: Detected architecture arm64. [ 18.464952@2] systemd[1]: Set hostname to <Khadas>. [ 18.496660@0] meson_uart c81004c0.serial: ttyS0 use xtal(8M) 24000000 change0 [ 18.607307@2] systemd[1]: Listening on udev Kernel Socket. [ 18.621312@2] systemd[1]: Reached target Encrypted Volumes. [ 18.635218@2] systemd[1]: Started Dispatch Password Requests to Console Dire. [ 18.652156@2] systemd[1]: Set up automount Arbitrary Executable File Formats. [ 18.673088@2] systemd[1]: Created slice System Slice. [ 18.687592@2] systemd[1]: Reached target Slices. [ 18.702178@2] systemd[1]: Created slice system-getty.slice. [ 18.716921@2] systemd[1]: Listening on Journal Socket (/dev/log). [ 18.733344@2] systemd[1]: Listening on Journal Socket. [ 18.751802@2] systemd[1]: Starting Load Kernel Modules... [ 18.767754@2] systemd[1]: Listening on udev Control Socket. [ 18.785955@2] systemd[1]: Starting Create list of required static device nod. [ 18.791854@0] dhd_module_init: in [ 18.791859@0] ======== bcm_wlan_set_plat_data ======== [ 18.791862@0] host_oob_irq: 100 [ 18.791864@0] host_oob_irq_flags=0x414 [ 18.791865@0] dhd_wifi_platform_load: Enter [ 18.791885@0] Power-up adapter 'DHD generic adapter' [ 18.791887@0] wifi_platform_set_power = 1 [ 18.791888@0] ======== PULL WL_REG_ON HIGH! ======== [ 18.791906@0] aml_wifi wifi.32: [extern_wifi_set_enable] WIFI Disable! 240 [ 18.872178@2] systemd[1]: Reached target Swap. [ 18.888884@2] systemd[1]: Mounting POSIX Message Queue File System... [ 18.905466@2] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ 18.923902@2] systemd[1]: Mounting Huge Pages File System... [ 18.941053@2] systemd[1]: Mounting Debug File System... [ 18.957446@2] systemd[1]: Starting Remount Root and Kernel File Systems... [ 18.973839@2] systemd[1]: Started Forward Password Requests to Wall Director. [ 18.990741@2] systemd[1]: Reached target Paths. [ 18.991949@0] aml_wifi wifi.32: [extern_wifi_set_enable] WIFI Enable! 240 [ 19.015435@2] systemd[1]: Reached target Remote File Systems (Pre). [ 19.030544@2] systemd[1]: Reached target Remote File Systems. [ 19.046183@2] systemd[1]: Starting Journal Service... [ 19.061197@2] systemd[1]: Reached target Sockets. [ 19.076499@2] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 19.093753@2] systemd[1]: Mounted Huge Pages File System. [ 19.107325@2] systemd[1]: Mounted POSIX Message Queue File System. [ 19.121615@2] systemd[1]: Mounted Debug File System. [ 19.135885@2] systemd[1]: Started Create list of required static device node. [ 19.154920@2] systemd[1]: Started Remount Root and Kernel File Systems. [ 19.170273@2] systemd[1]: Started Journal Service. [ 19.278989@1] systemd-journald[2020]: Received request to flush runtime jour1 [ 19.492642@0] wifi_platform_bus_enumerate device present 1 [ 19.498731@0] ======== Card detection to detect SDIO card! ======== [ 19.560247@0] sdio: queuing unknown CIS tuple 0x80 (2 bytes) [ 19.573929@0] sdio: queuing unknown CIS tuple 0x80 (3 bytes) [ 19.582502@1] sdio: queuing unknown CIS tuple 0x80 (3 bytes) [ 19.597927@3] sdio: queuing unknown CIS tuple 0x80 (7 bytes) [ 19.604060@2] dwc_otg: usb0: type: 2 speed: 0, config: 0, dma: 0, id: 0, phy0 [ 19.711918@0] sdio: clk 200000000 SDR mode tuning start [ 19.718524@0] sdio: rx_tuning_result[0] = 10 [ 19.729403@0] sdio: rx_tuning_result[1] = 10 [ 19.739168@0] sdio: rx_tuning_result[2] = 10 [ 19.739354@0] sdio: rx_tuning_result[4] = 10 [ 19.739357@0] sdio: best_win_start =4, best_win_size =4 [ 19.739360@0] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x10 [ 19.739371@0] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x12000 [ 19.741939@0] sdio: queuing unknown CIS tuple 0x91 (3 bytes) [ 19.741966@0] sdio: new ultra high speed SDR104 SDIO card at address 0001 [ 19.742227@1] sdio: clock 200000000, 4-bit-bus-width [ 19.742227@1] [ 19.742227@1] [sdio_reinit] finish [ 19.773344@1] bcmsdh_register: register client driver [ 19.773472@1] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter [ 19.773550@1] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter [ 19.773553@1] bus num (host idx)=0, slot num (rca)=1 [ 19.773555@1] found adapter info 'DHD generic adapter' [ 19.773606@1] sdioh_attach: set sd_f2_blocksize 128 [ 19.773865@1] dhdsdio_probe : no mutex held. set lock [ 19.773971@1] F1 signature read @0x18000000=0x15264345 [ 19.778977@0] F1 signature OK, socitype:0x1 chip:0x4345 rev:0x6 pkg:0x2 [ 19.783125@0] DHD: dongle ram size is set to 819200(orig 819200) at 0x198000 [ 19.783222@0] dhd_conf_set_chiprev: chip=0x4345, chiprev=6 [ 19.783263@0] dhd_conf_set_conf_path_by_nv_path: config_path=/lib/firmware/bt [ 19.788466@0] dhd_conf_read_nv_by_chip: nv_by_chip_count=3 [ 19.788471@0] dhd_conf_read_nv_by_chip: chip=0xa9a6, chiprev=0, name=nvram_at [ 19.788474@0] dhd_conf_read_nv_by_chip: chip=0xa9a6, chiprev=1, name=nvram_at [ 19.788476@0] dhd_conf_read_nv_by_chip: chip=0xa9bf, chiprev=2, name=nvram_at [ 19.788620@0] dhd_conf_read_config: kso_enable = 0 [ 19.789182@0] wl_create_event_handler(): thread:wl_event_handler:81f started [ 19.789186@2] tsk Enter, tsk = 0xffffff800164d880 [ 19.789303@0] dhd_attach(): thread:dhd_watchdog_thread:820 started [ 19.789342@0] dhd_attach(): thread:dhd_dpc:821 started [ 19.789360@2] dhd_dpc_thread: set dpc_cpucore 0 from config.txt [ 19.789391@0] dhd_attach(): thread:dhd_rxf:822 started [ 19.789400@0] dhd_deferred_work_init: work queue initialized [ 19.801144@0] Dongle Host Driver, version 1.201.59.6 (r506368) [ 19.801144@0] Compiled in drivers/net/wireless/bcmdhd [ 19.801608@0] Register interface [wlan0] MAC: 44:2c:05:b6:b1:52 [ 19.801608@0] [ 19.801613@0] dhd_prot_ioctl : bus is down. we have nothing to do [ 19.801661@0] bcmsdh_oob_intr_unregister: Enter [ 19.801663@0] bcmsdh_oob_intr_unregister: irq is not registered [ 19.801670@0] dhd_txglom_enable: enable 0 [ 19.801673@0] dhd_conf_set_txglom_params: swtxglom=0, txglom_ext=0 [ 19.801674@0] dhd_conf_set_txglom_params: txglom_bucket_size=0 [ 19.801676@0] dhd_conf_set_txglom_params: txglomsize=0, deferred_tx_len=0, b0 [ 19.801677@0] dhd_conf_set_txglom_params: tx_in_rx=1, tx_max_offset=0 [ 19.801679@0] dhd_bus_devreset: WLAN OFF DONE [ 19.801714@0] wifi_platform_set_power = 0 [ 19.801716@0] ======== PULL WL_REG_ON LOW! ======== [ 19.801719@0] dhdsdio_probe : the lock is released. [ 19.801779@0] dhd_module_init: Exit err=0 [ 19.803497@3] ionvid: info: ionvideo open [ 19.809190@2] Bluetooth: Generic Bluetooth SDIO driver ver 0.1 [ 19.820880@2] dwc_otg: Core Release: 3.10a [ 19.820886@2] dwc_otg: Setting default values for core params [ 19.820902@2] dwc_otg: curmode: 0, host_only: 0 [ 19.833392@2] dwc_otg: Using Buffer DMA mode [ 19.833399@2] dwc_otg: OTG VER PARAM: 1, OTG VER FLAG: 1 [ 19.833401@2] dwc_otg: Working on port type = SLAVE [ 19.833406@2] dwc_otg: Dedicated Tx FIFOs mode [ 20.005101@3] ionvid: info: ionvideo_stop_generating!!!! [ 20.005118@3] ionvid: info: ionvideo release |
Once the boot is complete, you’ll be presented with a boot prompt on the HDMI monitor and the serial console:
1 2 3 |
Ubuntu 16.04.2 LTS Khadas ttyS0 Khadas login: |
After login with root / khadas crendentials, we can check some of the system details:
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 |
root@Khadas:~# cat /proc/cpuinfo Processor : AArch64 Processor rev 4 (aarch64) processor : 0 processor : 1 processor : 2 processor : 3 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 CPU implementer : 0x41 CPU architecture: AArch64 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4 Hardware : Amlogic Serial : 210a8200031a011f177810abc712a251 root@Khadas:~# df -h Filesystem Size Used Avail Use% Mounted on udev 802M 0 802M 0% /dev tmpfs 181M 5.3M 176M 3% /run /dev/rootfs 14G 229M 14G 2% / tmpfs 905M 0 905M 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 905M 0 905M 0% /sys/fs/cgroup root@Khadas:~# free -h total used free shared buff/cache available Mem: 1.8G 28M 1.7G 5.2M |