树莓派官方只维护了基于debian的32位arm版本Raspbian,并没有官方支持的arm64位版本。从树莓派3B开始就已经使用了64位CPU,但是现在已经差不多两年过去了,官方似乎也还并没有要支持64位的意思,这真是一件蛋疼的事情!!!
本身我自己也一直想在pi上面跑64位系统版本,且在树莓派实验室网站也有一篇介绍在pi3B上跑64位系统会比32位系统有近30倍性能提升的文章,这就更加加强了我要跑64位系统的想法。但是找遍网络也没有现成可用的,即使有是其它爱好者自己移植的,例如只有64位内核,rootfs和各种用户态组件都还是使用树莓派官方支持的32位等等......,实际上这样的移植并不是真正的64位系统,只是有一个64位内核,而用户态全都跑在32位模式。唯一一个官方支持pi64位的系统suse linux也只支持3B,并不支持3B+,3B+启动不了suse linux的64位镜像,这种现状不是我想要的,没有办法,只能自己走上折腾之路。
我个人很喜欢debian,且自己在家里和公司里的电脑都是安装debian作为主力系统使用的,所以目光自然就盯上了debian系统。debian没有让我失望,其官方是支持arm64版本的,只是没有官方支持树莓派。既然我们的pi使用的是64柆CPU,是不是也有可能让pi启动debian官方的arm64版本呢?理论上应该是可以的,且我要实现它。所以就定了这个目标,向着目标前进了。
debian的官方arm64版本:debian-9.4.0-arm64-DVD-1.iso
经过多天的研究和探索,终于让debian官方的arm64版本成功在pi上启动(由于debian官方内核不能直接挂载pi上的rootfs,还没来得及研究原因,直接上了自己的内核,所以除内核是自己编译的之外,其它组件都是debian官方的arm64版本,其它一些iso安装文件中没有的软件也都是从debian的国内源通过apt-get安装的),且网络等重要部件工作正常,可以正常ssh到树莓派,如下是运行展示:
1、版本信息
jiangxianxu@debianOnRpi:~$ uname -a
Linux debianOnRpi 4.14.44-v8 #3 SMP PREEMPT Thu May 31 20:50:49 CST 2018 aarch64 GNU/Linux
jiangxianxu@debianOnRpi:~$ cat /proc/version
Linux version 4.14.44-v8 (jiangxianxu@debian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18)) #3 SMP PREEMPT Thu May 31 20:50:49 CST 2018
jiangxianxu@debianOnRpi:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.4 (stretch)
Release: 9.4
Codename: stretch
jiangxianxu@debianOnRpi:~$
2、重要部件信息:
jiangxianxu@debianOnRpi:~$ lscpu
Architecture: aarch64
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Model: 4
CPU max MHz: 1400.0000
CPU min MHz: 600.0000
BogoMIPS: 38.40
Flags: fp asimd evtstrm crc32 cpuid
jiangxianxu@debianOnRpi:~$ lsusb
Bus 001 Device 004: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
jiangxianxu@debianOnRpi:~$ sudo ifconfig -a
enxb827eba1dddd: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether b8:27:eb:a1:dd:dd txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.110 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::ba27:ebff:fef4:8888 prefixlen 64 scopeid 0x20<link>
ether b8:27:eb:f4:88:88 txqueuelen 1000 (Ethernet)
RX packets 3259 bytes 411999 (402.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 686 bytes 93694 (91.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
jiangxianxu@debianOnRpi:~$
3、pi工作信息:
jiangxianxu@debianOnRpi:~$ who
jiangxianxu pts/0 2018-06-02 15:12 (192.168.0.104)
jiangxianxu@debianOnRpi:~$
jiangxianxu@debianOnRpi:~$ free -h
total used free shared buff/cache available
Mem: 918M 33M 654M 11M 230M 858M
Swap: 0B 0B 0B
jiangxianxu@debianOnRpi:~$
jiangxianxu@debianOnRpi:~$ cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
driver: BCM2835 CPUFreq
CPUs which run at the same hardware frequency: 0 1 2 3
CPUs which need to have their frequency coordinated by software: 0 1 2 3
maximum transition latency: 355 us.
hardware limits: 600 MHz - 1.40 GHz
available frequency steps: 600 MHz, 1.40 GHz
available cpufreq governors: conservative, ondemand, userspace, powersave, performance, schedutil
current policy: frequency should be within 600 MHz and 1.40 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 600 MHz.
cpufreq stats: 600 MHz:99.99%, 1.40 GHz:0.01% (214)
analyzing CPU 1:
driver: BCM2835 CPUFreq
CPUs which run at the same hardware frequency: 0 1 2 3
CPUs which need to have their frequency coordinated by software: 0 1 2 3
maximum transition latency: 355 us.
hardware limits: 600 MHz - 1.40 GHz
available frequency steps: 600 MHz, 1.40 GHz
available cpufreq governors: conservative, ondemand, userspace, powersave, performance, schedutil
current policy: frequency should be within 600 MHz and 1.40 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 600 MHz.
cpufreq stats: 600 MHz:99.99%, 1.40 GHz:0.01% (214)
analyzing CPU 2:
driver: BCM2835 CPUFreq
CPUs which run at the same hardware frequency: 0 1 2 3
CPUs which need to have their frequency coordinated by software: 0 1 2 3
maximum transition latency: 355 us.
hardware limits: 600 MHz - 1.40 GHz
available frequency steps: 600 MHz, 1.40 GHz
available cpufreq governors: conservative, ondemand, userspace, powersave, performance, schedutil
current policy: frequency should be within 600 MHz and 1.40 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 600 MHz.
cpufreq stats: 600 MHz:99.99%, 1.40 GHz:0.01% (214)
analyzing CPU 3:
driver: BCM2835 CPUFreq
CPUs which run at the same hardware frequency: 0 1 2 3
CPUs which need to have their frequency coordinated by software: 0 1 2 3
maximum transition latency: 355 us.
hardware limits: 600 MHz - 1.40 GHz
available frequency steps: 600 MHz, 1.40 GHz
available cpufreq governors: conservative, ondemand, userspace, powersave, performance, schedutil
current policy: frequency should be within 600 MHz and 1.40 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 600 MHz.
cpufreq stats: 600 MHz:99.99%, 1.40 GHz:0.01% (214)
jiangxianxu@debianOnRpi:~$
4、软件安装信息:
jiangxianxu@debianOnRpi:~$ sudo apt-get update
Ign:1 http://mirrors.163.com/debian stretch InRelease
Get:2 http://mirrors.163.com/debian stretch-updates InRelease [91.0 kB]
Get:3 http://mirrors.163.com/debian stretch-backports InRelease [91.8 kB]
Get:4 http://mirrors.163.com/debian-security stretch/updates InRelease [94.3 kB]
Hit:5 http://mirrors.163.com/debian stretch Release
Get:6 http://mirrors.163.com/debian stretch-backports/main Sources.diff/Index [27.8 kB]
Get:7 http://mirrors.163.com/debian stretch-backports/main arm64 Packages.diff/Index [27.8 kB]
Get:8 http://mirrors.163.com/debian stretch-backports/main Sources 2018-06-02-0809.09.pdiff [971 B]
Get:8 http://mirrors.163.com/debian stretch-backports/main Sources 2018-06-02-0809.09.pdiff [971 B]
Get:9 http://mirrors.163.com/debian stretch-backports/main arm64 Packages 2018-06-02-0809.09.pdiff [316 B]
Get:9 http://mirrors.163.com/debian stretch-backports/main arm64 Packages 2018-06-02-0809.09.pdiff [316 B]
Get:10 http://mirrors.163.com/debian-security stretch/updates/main Sources [141 kB]
Get:12 http://mirrors.163.com/debian-security stretch/updates/main arm64 Packages [337 kB]
Get:13 http://mirrors.163.com/debian-security stretch/updates/main Translation-en [166 kB]
Fetched 979 kB in 2s (415 kB/s)
Reading package lists... Done
jiangxianxu@debianOnRpi:~$ sudo apt-get install gcc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
gcc-multilib autoconf automake libtool gdb gcc-doc
The following NEW packages will be installed:
gcc
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/5,204 B of archives.
After this operation, 44.0 kB of additional disk space will be used.
Selecting previously unselected package gcc.
(Reading database ... 36132 files and directories currently installed.)
Preparing to unpack .../gcc_4%3a6.3.0-4_arm64.deb ...
Unpacking gcc (4:6.3.0-4) ...
Setting up gcc (4:6.3.0-4) ...
Processing triggers for man-db (2.7.6.1-2) ...
jiangxianxu@debianOnRpi:~$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/aarch64-linux-gnu/6/lto-wrapper
Target: aarch64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 6.3.0-18+deb9u1' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=aarch64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-arm64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-arm64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-arm64 --with-arch-directory=aarch64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-multiarch --enable-fix-cortex-a53-843419 --enable-checking=release --build=aarch64-linux-gnu --host=aarch64-linux-gnu --target=aarch64-linux-gnu
Thread model: posix
gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)
jiangxianxu@debianOnRpi:~$
5、工具软件文件属性:
jiangxianxu@debianOnRpi:~$ whereis gcc
gcc: /usr/bin/gcc /usr/lib/gcc
jiangxianxu@debianOnRpi:~$ ll /usr/bin/gcc
lrwxrwxrwx 1 root root 5 Apr 8 2017 /usr/bin/gcc -> gcc-6
jiangxianxu@debianOnRpi:~$ ll /usr/bin/gcc-6
lrwxrwxrwx 1 root root 23 Feb 14 05:53 /usr/bin/gcc-6 -> aarch64-linux-gnu-gcc-6
jiangxianxu@debianOnRpi:~$ file /usr/bin/aarch64-linux-gnu-gcc-6
/usr/bin/aarch64-linux-gnu-gcc-6: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[sha1]=96a21a6c0df6db50089eac16958b5f299f921a01, stripped
jiangxianxu@debianOnRpi:~$
jiangxianxu@debianOnRpi:~$ whereis ls
ls: /bin/ls /usr/share/man/man1/ls.1.gz
jiangxianxu@debianOnRpi:~$ ll /bin/ls
-rwxr-xr-x 1 root root 122456 Feb 22 2017 /bin/ls
jiangxianxu@debianOnRpi:~$ file /bin/ls
/bin/ls: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[sha1]=a242161239cb1f4ea9b8a7455013295e5473e3ec, stripped
jiangxianxu@debianOnRpi:~$
jiangxianxu@debianOnRpi:~$ whereis cp
cp: /bin/cp /usr/share/man/man1/cp.1.gz
jiangxianxu@debianOnRpi:~$ ll /bin/cp
-rwxr-xr-x 1 root root 114056 Feb 22 2017 /bin/cp
jiangxianxu@debianOnRpi:~$ file /bin/cp
/bin/cp: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[sha1]=ef3e4c136aa0d0eccb6fda173d32e9c796463ae3, stripped
jiangxianxu@debianOnRpi:~$
6、启动信息:
jiangxianxu@debianOnRpi:~$ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.44-v8 (jiangxianxu@debian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18)) #3 SMP PREEMPT Thu May 31 20:50:49 CST 2018
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] Machine model: Raspberry Pi 3 Model B Plus Rev 1.3
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 8 MiB at 0x000000003ac00000
[ 0.000000] On node 0 totalpages: 242688
[ 0.000000] DMA zone: 3792 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 242688 pages, LIFO batch:31
[ 0.000000] percpu: Embedded 22 pages/cpu @fffffff17ab78000 s50456 r8192 d31464 u90112
[ 0.000000] pcpu-alloc: s50456 r8192 d31464 u90112 alloc=22*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: enabling workaround for ARM erratum 845719
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 238896
[ 0.000000] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=0ba16b58-02 rw rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.000000] Memory: 930136K/970752K available (7164K kernel code, 892K rwdata, 2372K rodata, 2688K init, 694K bss, 32424K reserved, 8192K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB)
[ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000 ( 250 GB)
[ 0.000000] .text : 0xffffff8308080000 - 0xffffff8308780000 ( 7168 KB)
[ 0.000000] .rodata : 0xffffff8308780000 - 0xffffff83089e0000 ( 2432 KB)
[ 0.000000] .init : 0xffffff83089e0000 - 0xffffff8308c80000 ( 2688 KB)
[ 0.000000] .data : 0xffffff8308c80000 - 0xffffff8308d5f200 ( 893 KB)
[ 0.000000] .bss : 0xffffff8308d5f200 - 0xffffff8308e0ca68 ( 695 KB)
[ 0.000000] fixed : 0xffffffbefe7fb000 - 0xffffffbefec00000 ( 4116 KB)
[ 0.000000] PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000 ( 16 MB)
[ 0.000000] vmemmap : 0xffffffbf00000000 - 0xffffffc000000000 ( 4 GB maximum)
[ 0.000000] 0xffffffbfc5000000 - 0xffffffbfc5ed0000 ( 14 MB actual)
[ 0.000000] memory : 0xfffffff140000000 - 0xfffffff17b400000 ( 948 MB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 25498 entries in 100 pages
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000006] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000235] Console: colour dummy device 80x25
[ 0.001069] console [tty1] enabled
[ 0.001102] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=19200)
[ 0.001147] pid_max: default: 32768 minimum: 301
[ 0.001494] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.001541] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.002547] Disabling memory control group subsystem
[ 0.007099] ASID allocator initialised with 32768 entries
[ 0.009096] Hierarchical SRCU implementation.
[ 0.011348] EFI services will not be available.
[ 0.013162] smp: Bringing up secondary CPUs ...
[ 0.020364] Detected VIPT I-cache on CPU1
[ 0.020432] CPU1: Booted secondary processor [410fd034]
[ 0.027468] Detected VIPT I-cache on CPU2
[ 0.027513] CPU2: Booted secondary processor [410fd034]
[ 0.034581] Detected VIPT I-cache on CPU3
[ 0.034624] CPU3: Booted secondary processor [410fd034]
[ 0.034761] smp: Brought up 1 node, 4 CPUs
[ 0.034888] SMP: Total of 4 processors activated.
[ 0.034917] CPU features: detected feature: 32-bit EL0 Support
[ 0.034946] CPU features: detected feature: Kernel page table isolation (KPTI)
[ 0.038422] CPU: All CPU(s) started at EL2
[ 0.038470] alternatives: patching kernel code
[ 0.039788] devtmpfs: initialized
[ 0.051784] random: get_random_u32 called from bucket_table_alloc+0xf8/0x288 with crng_init=0
[ 0.052477] Enabled cp15_barrier support
[ 0.052518] Enabled setend support
[ 0.052860] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[ 0.052914] futex hash table entries: 1024 (order: 5, 131072 bytes)
[ 0.053554] pinctrl core: initialized pinctrl subsystem
[ 0.053810] DMI not present or invalid.
[ 0.054173] NET: Registered protocol family 16
[ 0.059007] cpuidle: using governor menu
[ 0.059414] vdso: 2 pages (1 code @ ffffff8308787000, 1 data @ ffffff8308c84000)
[ 0.059464] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.062326] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.062503] Serial: AMBA PL011 UART driver
[ 0.064768] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 0.065410] uart-pl011 3f201000.serial: could not find pctldev for node /soc/gpio@7e200000/uart0_pins, deferring probe
[ 0.098443] bcm2835-dma 3f007000.dma: DMA legacy API manager at ffffff800801d000, dmachans=0x1
[ 0.100197] SCSI subsystem initialized
[ 0.100505] usbcore: registered new interface driver usbfs
[ 0.100589] usbcore: registered new interface driver hub
[ 0.100709] usbcore: registered new device driver usb
[ 0.100931] dmi: Firmware registration failed.
[ 0.101421] raspberrypi-firmware soc:firmware: Attached to firmware from 2018-04-16 18:16
[ 0.102888] clocksource: Switched to clocksource arch_sys_counter
[ 0.194060] VFS: Disk quotas dquot_6.6.0
[ 0.194187] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.194396] FS-Cache: Loaded
[ 0.194649] CacheFiles: Loaded
[ 0.205152] NET: Registered protocol family 2
[ 0.205947] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.206088] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[ 0.206336] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.206575] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.206645] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.206980] NET: Registered protocol family 1
[ 0.207589] RPC: Registered named UNIX socket transport module.
[ 0.207618] RPC: Registered udp transport module.
[ 0.207640] RPC: Registered tcp transport module.
[ 0.207662] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.209493] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[ 0.211418] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[ 0.222072] FS-Cache: Netfs 'nfs' registered for caching
[ 0.222835] NFS: Registering the id_resolver key type
[ 0.222915] Key type id_resolver registered
[ 0.222941] Key type id_legacy registered
[ 0.225609] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.225823] io scheduler noop registered
[ 0.225851] io scheduler deadline registered (default)
[ 0.226204] io scheduler cfq registered
[ 0.226232] io scheduler mq-deadline registered
[ 0.226258] io scheduler kyber registered
[ 0.229110] BCM2708FB: allocated DMA memory fac40000
[ 0.229184] BCM2708FB: allocated DMA channel 0 @ ffffff800801d000
[ 0.235910] Console: switching to colour frame buffer device 82x26
[ 0.241150] bcm2835-rng 3f104000.rng: hwrng registered
[ 0.242652] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 0.246214] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 0.249353] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 0.263119] brd: module loaded
[ 0.275895] loop: module loaded
[ 0.277361] Loading iSCSI transport class v2.0-870.
[ 0.279714] libphy: Fixed MDIO Bus: probed
[ 0.281289] usbcore: registered new interface driver lan78xx
[ 0.282821] usbcore: registered new interface driver smsc95xx
[ 0.284227] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 0.513761] Core Release: 2.80a
[ 0.515173] Setting default values for core params
[ 0.516621] Finished setting default values for core params
[ 0.718360] Using Buffer DMA mode
[ 0.719827] Periodic Transfer Interrupt Enhancement - disabled
[ 0.721341] Multiprocessor Interrupt Enhancement - disabled
[ 0.722889] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 0.724409] Dedicated Tx FIFOs mode
[ 0.726340] WARN::dwc_otg_hcd_init:1046: FIQ DMA bounce buffers: virt = 0x08181000 dma = 0xfac54000 len=9024
[ 0.729325] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[ 0.736066] dwc_otg: Microframe scheduler enabled
[ 0.736123] WARN::hcd_init_fiq:486: MPHI regs_base at 0x0803d000
[ 0.737600] dwc_otg 3f980000.usb: DWC OTG Controller
[ 0.739015] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 0.740474] dwc_otg 3f980000.usb: irq 15, io mem 0x00000000
[ 0.741961] Init: Port Power? op_state=1
[ 0.743380] Init: Power Port (0)
[ 0.745015] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.746474] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.747929] usb usb1: Product: DWC OTG Controller
[ 0.749353] usb usb1: Manufacturer: Linux 4.14.44-v8 dwc_otg_hcd
[ 0.750784] usb usb1: SerialNumber: 3f980000.usb
[ 0.752897] hub 1-0:1.0: USB hub found
[ 0.754313] hub 1-0:1.0: 1 port detected
[ 0.756263] dwc_otg: FIQ enabled
[ 0.756271] dwc_otg: NAK holdoff enabled
[ 0.756279] dwc_otg: FIQ split-transaction FSM enabled
[ 0.756292] Module dwc_common_port init
[ 0.756854] usbcore: registered new interface driver usb-storage
[ 0.758347] IR NEC protocol handler initialized
[ 0.759670] IR RC5(x/sz) protocol handler initialized
[ 0.760989] IR RC6 protocol handler initialized
[ 0.762306] IR JVC protocol handler initialized
[ 0.763599] IR Sony protocol handler initialized
[ 0.764898] IR SANYO protocol handler initialized
[ 0.766184] IR Sharp protocol handler initialized
[ 0.767415] IR MCE Keyboard/mouse protocol handler initialized
[ 0.768659] IR XMP protocol handler initialized
[ 0.770691] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[ 0.772282] bcm2835-cpufreq: min=600000 max=1400000
[ 0.774029] sdhci: Secure Digital Host Controller Interface driver
[ 0.775353] sdhci: Copyright(c) Pierre Ossman
[ 0.777024] mmc-bcm2835 3f300000.mmc: could not get clk, deferring probe
[ 0.778717] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[ 0.780184] Error: Driver 'sdhost-bcm2835' is already registered, aborting...
[ 0.781563] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.784475] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.786064] hidraw: raw HID events driver (C) Jiri Kosina
[ 0.787674] usbcore: registered new interface driver usbhid
[ 0.789104] usbhid: USB HID core driver
[ 0.790778] Initializing XFRM netlink socket
[ 0.792206] NET: Registered protocol family 17
[ 0.793713] Key type dns_resolver registered
[ 0.796253] registered taskstats version 1
[ 0.806002] uart-pl011 3f201000.serial: cts_event_workaround enabled
[ 0.807630] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 72, base_baud = 0) is a PL011 rev2
[ 0.812940] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[ 0.814563] mmc-bcm2835 3f300000.mmc: DMA channel allocated
[ 0.840743] sdhost: log_buf @ ffffff80080a5000 (fac53000)
[ 0.864940] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 0.868087] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 0.871166] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 0.875436] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 0.890913] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 0.894058] of_cfs_init
[ 0.895416] of_cfs_init: OK
[ 0.897207] Waiting for root device PARTUUID=0ba16b58-02...
[ 0.952677] random: fast init done
[ 0.960310] mmc1: new high speed SDIO card at address 0001
[ 0.962035] Indeed it is in host mode hprt0 = 00021501
[ 0.987277] mmc0: host does not support reading read-only switch, assuming write-enable
[ 0.993558] mmc0: new high speed SDHC card at address aaaa
[ 0.995385] bounce: isa pool size: 16 pages
[ 0.996918] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
[ 1.028340] mmcblk0: p1 p2 p3
[ 1.066767] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.069445] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 1.072059] devtmpfs: mounted
[ 1.078690] Freeing unused kernel memory: 2688K
[ 1.136950] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 1.138717] Indeed it is in host mode hprt0 = 00001101
[ 1.326353] usb 1-1: New USB device found, idVendor=0424, idProduct=2514
[ 1.328023] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.330430] hub 1-1:1.0: USB hub found
[ 1.332205] hub 1-1:1.0: 4 ports detected
[ 1.474827] systemd[1]: System time before build time, advancing clock.
[ 1.621967] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 1.645220] NET: Registered protocol family 10
[ 1.648281] Segment Routing with IPv6
[ 1.667517] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.696495] random: systemd: uninitialized urandom read (16 bytes read)
[ 1.712353] usb 1-1.1: New USB device found, idVendor=0424, idProduct=2514
[ 1.714023] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.716390] random: systemd: uninitialized urandom read (16 bytes read)
[ 1.716468] hub 1-1.1:1.0: USB hub found
[ 1.716626] hub 1-1.1:1.0: 3 ports detected
[ 1.724833] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[ 1.730260] systemd[1]: Detected architecture arm64.
[ 1.741834] systemd[1]: Set hostname to <debianOnRpi>.
[ 1.777773] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.070811] dwc_otg_handle_wakeup_detected_intr lxstate = 2
[ 2.154160] systemd[1]: Created slice User and Session Slice.
[ 2.158730] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 2.164579] systemd[1]: Listening on Syslog Socket.
[ 2.168659] systemd[1]: Listening on udev Kernel Socket.
[ 2.173276] systemd[1]: Created slice System Slice.
[ 2.177915] systemd[1]: Created slice system-getty.slice.
[ 2.182097] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 2.416601] usb 1-1.1.1: new high-speed USB device number 4 using dwc_otg
[ 2.427606] random: crng init done
[ 2.429169] random: 7 urandom warning(s) missed due to ratelimiting
[ 2.508825] usb 1-1.1.1: New USB device found, idVendor=0424, idProduct=7800
[ 2.510433] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.524706] systemd-journald[95]: Received request to flush runtime journal from PID 1
[ 2.797607] libphy: lan78xx-mdiobus: probed
[ 3.000641] vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 3.031625] vchiq: vchiq_init_state: slot_zero = ffffff8008b0c000, is_master = 0
[ 3.141935] lan78xx 1-1.1.1:1.0 enxb827eba1dddd: renamed from eth0
[ 3.402130] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 3.502550] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006
[ 3.520805] usbcore: registered new interface driver brcmfmac
[ 3.710265] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
[ 3.710991] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 9.10.105 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-03-09 18:56:28
[ 4.348860] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 4.352115] brcmfmac: power management disabled
[ 7.487384] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
jiangxianxu@debianOnRpi:~$
到此就是全部的64位系统展示,全文完!