RPi 3B: 通过NOOBS 1.9.0安装Raspbian系统

RPi 3B(树莓派3)终于到手了,从外观上看,与RPi 2B并没有什么太大的区别,但却有着很让人期待的WiFi与BT 4.1。下面我们来看看如何在ubuntu-14.04 x86_64系统上安装NOOBS系统到TF卡上。

2016_04_04_RPi_3B_top

  • 下载NOOBS 1.9.0

raspberrypi官网最新版本的NOOBS为1.9.0, Release date为2016-03-18:https://www.raspberrypi.org/downloads/noobs/

可以从这里下载:

https://downloads.raspberrypi.org/NOOBS/images/NOOBS-2016-03-18/NOOBS_v1_9_0.zip

  • 制作安装盘

1. 在TF卡上创建MSDOS分区表,并创建一个主分区:

$ sudo parted -a cylinder /dev/sdb mklabel msdos
Warning: The existing disk label on /dev/sdb will be destroyed and all data on this disk will be lost. Do you want to continue?
Yes/No? Yes                                                               
Information: You may need to update /etc/fstab.    
$ sudo parted -a cylinder /dev/sdb mkpart primary fat32 0% 100%
Information: You may need to update /etc/fstab.

NOTE:

a. 官方文档建议使用gparted/parted进行分区,我没当回事,使用fdisk进行分区,折腾了一个早上,安装时总是报:Error resizing FAT partition NO Implementation: Partition 1 isn’t aligned to cylinder boundaries. This is still unsupported.

于是使用fdisk进行512KB(32 heads * 32 sectors * 512 bytes)/4MB进行对齐,结果还是不行。无意中使用parted命令想去看一下分区表信息,发现parted根本就不能识别分区表,也会报同样的问题,上网去搜索了一下,才发现parted有bug。唉!

使用fdisk显示分区表信息(使用的是16GB的TF卡):

$ sudo fdisk -l /dev/sdb

Disk /dev/sdb: 15.9 GB, 15931539456 bytes
255 heads, 63 sectors/track, 1936 cylinders, total 31116288 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
Disk identifier: 0x000643c2

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              63    31101839    15550888+   c  W95 FAT32 (LBA)

b. 你需要知道你的TF卡被分配在了哪一个设备,由于我只有一个硬盘,并且没有其他的U盘设备,所以被分配在了/dev/sdb,你也可以通过如下命令查看:

$ dmesg
...
 4409.663731] usb-storage 3-10:1.0: USB Mass Storage device detected
[ 4409.663803] scsi8 : usb-storage 3-10:1.0
[ 4410.663905] scsi 8:0:0:0: Direct-Access     Mass     Storage Device   1.00 PQ: 0 ANSI: 0 CCS
[ 4410.664087] sd 8:0:0:0: Attached scsi generic sg1 type 0
[ 4410.868579] sd 8:0:0:0: [sdb] 31116288 512-byte logical blocks: (15.9 GB/14.8 GiB)
[ 4410.868743] sd 8:0:0:0: [sdb] Write Protect is off
[ 4410.868746] sd 8:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 4410.868886] sd 8:0:0:0: [sdb] No Caching mode page found
[ 4410.868888] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[ 4410.870709]  sdb: sdb1
[ 4410.871435] sd 8:0:0:0: [sdb] Attached SCSI removable disk

2. 格式化TF卡,挂载分区并将NOOBS_v1_9_0.zip解压到该分区中:

$ sudo mkfs.vfat /dev/sdb1
mkfs.fat 3.0.26 (2014-03-07)
$ sudo mount /dev/sdb1 /mnt/
$ cd /mnt/
$ sudo unzip /data/NOOBS_v1_9_0.zip 
Archive:  /data/NOOBS_v1_9_0.zip
  inflating: bcm2708-rpi-b.dtb       
  inflating: bcm2708-rpi-b-plus.dtb  
  inflating: bcm2709-rpi-2-b.dtb     
  inflating: bcm2710-rpi-3-b.dtb     
  inflating: bootcode.bin            
  inflating: BUILD-DATA              
   creating: defaults/
   creating: defaults/slides/
  inflating: defaults/slides/A.png   
  inflating: INSTRUCTIONS-README.txt
...

3. 卸载TF卡:

$ cd
$ sudo umount /dev/sdb1
$ sync
  • 安装Raspbian

将TF卡插入RPi 3B中开始安装(调整分区大小,写入3209MB的数据)。。。

linux kernel版本号:

pi@raspberrypi:~ $ cat /proc/version 
Linux version 4.1.19-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #858 SMP Tue Mar 15 15:56:00 GMT 2016

CPU相关信息:

pi@raspberrypi:~ $ cat /proc/cpuinfo 
processor	: 0
model name	: ARMv7 Processor rev 4 (v7l)
BogoMIPS	: 38.40
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

开机log:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.1.19-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #858 SMP Tue Mar 15 15:56:00 GMT 2016
[    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Raspberry Pi 3 Model B Rev 1.2
[    0.000000] cma: Reserved 8 MiB at 0x3a400000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 241664
[    0.000000] free_area_init_node: node 0, pgdat 80880fc0, node_mem_map b9bb4000
[    0.000000]   Normal zone: 2124 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 241664 pages, LIFO batch:31
[    0.000000] [bcm2709_smp_init_cpus] enter (9420->f3003010)
[    0.000000] [bcm2709_smp_init_cpus] ncores=4
[    0.000000] PERCPU: Embedded 12 pages/cpu @bafb0000 s20416 r8192 d20544 u49152
[    0.000000] pcpu-alloc: s20416 r8192 d20544 u49152 alloc=12*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 239540
[    0.000000] Kernel command line: 8250.nr_uarts=1 dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1440 bcm2708_fb.fbheight=900 bcm2709.boardrev=0xa22082 bcm2709.serial=0xxxxxxxxx smsc95xx.macaddr=xx:xx:xx:xx:xx:xx bcm2708_fb.fbswap=1 bcm2709.uart_clock=48000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 939376K/966656K available (6064K kernel code, 534K rwdata, 1664K rodata, 444K init, 757K bss, 19088K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xbb800000 - 0xff000000   (1080 MB)
    lowmem  : 0x80000000 - 0xbb000000   ( 944 MB)
    modules : 0x7f000000 - 0x80000000   (  16 MB)
      .text : 0x80008000 - 0x807945f0   (7730 kB)
      .init : 0x80795000 - 0x80804000   ( 444 kB)
      .data : 0x80804000 - 0x80889b10   ( 535 kB)
       .bss : 0x8088c000 - 0x809497dc   ( 758 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	Additional per-CPU info printed with stalls.
[    0.000000] NR_IRQS:608
[    0.000000] Architected 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.000008] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000025] Switching to timer-based delay loop, resolution 52ns
[    0.000243] Console: colour dummy device 80x30
[    0.001287] console [tty1] enabled
[    0.001340] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.001408] pid_max: default: 32768 minimum: 301
[    0.001733] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001775] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002773] Initializing cgroup subsys blkio
[    0.002821] Initializing cgroup subsys memory
[    0.002866] Initializing cgroup subsys devices
[    0.002909] Initializing cgroup subsys freezer
[    0.002958] Initializing cgroup subsys net_cls
[    0.003029] CPU: Testing write buffer coherency: ok
[    0.003119] ftrace: allocating 20313 entries in 60 pages
[    0.048545] CPU0: update cpu_capacity 1024
[    0.048607] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.048643] [bcm2709_smp_prepare_cpus] enter
[    0.048797] Setting up static identity map for 0x8240 - 0x8274
[    0.050565] [bcm2709_boot_secondary] cpu:1 started (0) 18
[    0.050788] [bcm2709_secondary_init] enter cpu:1
[    0.050829] CPU1: update cpu_capacity 1024
[    0.050835] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.051222] [bcm2709_boot_secondary] cpu:2 started (0) 17
[    0.051387] [bcm2709_secondary_init] enter cpu:2
[    0.051409] CPU2: update cpu_capacity 1024
[    0.051415] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.051780] [bcm2709_boot_secondary] cpu:3 started (0) 17
[    0.051911] [bcm2709_secondary_init] enter cpu:3
[    0.051931] CPU3: update cpu_capacity 1024
[    0.051937] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.052000] Brought up 4 CPUs
[    0.052098] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.052128] CPU: All CPU(s) started in HYP mode.
[    0.052154] CPU: Virtualization extensions available.
[    0.052856] devtmpfs: initialized
[    0.071549] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[    0.071832] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.072677] pinctrl core: initialized pinctrl subsystem
[    0.073228] NET: Registered protocol family 16
[    0.078354] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.079333] bcm2709.uart_clock = 48000000
[    0.083413] bcm2709: Mini UART enabled
[    0.083480] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.083527] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.083701] Serial: AMBA PL011 UART driver
[    0.083764] uart-pl011 3f201000.uart: could not find pctldev for node /soc/gpio@7e200000/uart0_pins, deferring probe
[    0.083961] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.149261] bcm2708-dmaengine 3f007000.dma: DMA legacy API manager at f3007000, dmachans=0xf35
[    0.149332] bcm2708-dmaengine 3f007000.dma: Initialized 7 DMA channels (+ 1 legacy)
[    0.149925] bcm2708-dmaengine 3f007000.dma: Load BCM2835 DMA engine driver
[    0.149961] bcm2708-dmaengine 3f007000.dma: dma_debug:0
[    0.150533] SCSI subsystem initialized
[    0.150742] usbcore: registered new interface driver usbfs
[    0.150856] usbcore: registered new interface driver hub
[    0.150975] usbcore: registered new device driver usb
[    0.151519] raspberrypi-firmware soc:firmware: Attached to firmware from 2016-03-15 14:47
[    0.178618] Switched to clocksource arch_sys_counter
[    0.220058] FS-Cache: Loaded
[    0.220347] CacheFiles: Loaded
[    0.229707] NET: Registered protocol family 2
[    0.230679] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.230820] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.231030] TCP: Hash tables configured (established 8192 bind 8192)
[    0.231146] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.231214] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.231545] NET: Registered protocol family 1
[    0.231869] RPC: Registered named UNIX socket transport module.
[    0.231901] RPC: Registered udp transport module.
[    0.231929] RPC: Registered tcp transport module.
[    0.231956] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.232908] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[    0.233980] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.247376] VFS: Disk quotas dquot_6.6.0
[    0.247706] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.249832] FS-Cache: Netfs 'nfs' registered for caching
[    0.250749] NFS: Registering the id_resolver key type
[    0.250817] Key type id_resolver registered
[    0.250845] Key type id_legacy registered
[    0.252922] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.253100] io scheduler noop registered
[    0.253140] io scheduler deadline registered (default)
[    0.253429] io scheduler cfq registered
[    0.255705] BCM2708FB: allocated DMA memory fa800000
[    0.255750] BCM2708FB: allocated DMA channel 0 @ f3007000
[    0.275333] Console: switching to colour frame buffer device 180x56
[    0.286809] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.288406] console [ttyS0] disabled
[    0.288509] 3f215040.uart: ttyS0 at MMIO 0x3f215040 (irq = 29, base_baud = 50000000) is a 16550
[    1.485388] console [ttyS0] enabled
[    1.492017] vc-cma: Videocore CMA driver
[    1.498440] vc-cma: vc_cma_base      = 0x00000000
[    1.506167] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    1.515022] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    1.524025] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
[    1.548905] brd: module loaded
[    1.560879] loop: module loaded
[    1.566831] vchiq: vchiq_init_state: slot_zero = 0xba880000, is_master = 0
[    1.579676] Loading iSCSI transport class v2.0-870.
[    1.588318] usbcore: registered new interface driver smsc95xx
[    1.597779] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.807485] Core Release: 2.80a
[    1.812647] Setting default values for core params
[    1.820525] Finished setting default values for core params
[    2.029997] Using Buffer DMA mode
[    2.035421] Periodic Transfer Interrupt Enhancement - disabled
[    2.044978] Multiprocessor Interrupt Enhancement - disabled
[    2.057698] OTG VER PARAM: 0, OTG VER FLAG: 0
[    2.068462] Dedicated Tx FIFOs mode
[    2.078129] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xba814000 dma = 0xfa814000 len=9024
[    2.097893] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
[    2.139751] dwc_otg: Microframe scheduler enabled
[    2.139806] WARN::hcd_init_fiq:412: FIQ on core 1 at 0x80417288
[    2.153096] WARN::hcd_init_fiq:413: FIQ ASM at 0x804175f8 length 36
[    2.166932] WARN::hcd_init_fiq:438: MPHI regs_base at 0xbb89c000
[    2.180366] dwc_otg 3f980000.usb: DWC OTG Controller
[    2.192171] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    2.207831] dwc_otg 3f980000.usb: irq 32, io mem 0x00000000
[    2.220639] Init: Port Power? op_state=1
[    2.230668] Init: Power Port (0)
[    2.239702] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.254391] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.269768] usb usb1: Product: DWC OTG Controller
[    2.281014] usb usb1: Manufacturer: Linux 4.1.19-v7+ dwc_otg_hcd
[    2.294388] usb usb1: SerialNumber: 3f980000.usb
[    2.306149] hub 1-0:1.0: USB hub found
[    2.315907] hub 1-0:1.0: 1 port detected
[    2.326221] dwc_otg: FIQ enabled
[    2.326230] dwc_otg: NAK holdoff enabled
[    2.326238] dwc_otg: FIQ split-transaction FSM enabled
[    2.326271] Module dwc_common_port init
[    2.326537] usbcore: registered new interface driver usb-storage
[    2.340032] mousedev: PS/2 mouse device common for all mice
[    2.353318] bcm2835-cpufreq: min=600000 max=1200000
[    2.365114] sdhci: Secure Digital Host Controller Interface driver
[    2.378784] sdhci: Copyright(c) Pierre Ossman
[    2.389771] sdhost: log_buf @ ba813000 (fa813000)
[    2.478653] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    2.513585] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[    2.518706] Indeed it is in host mode hprt0 = 00021501
[    2.538666] mmc-bcm2835 3f300000.mmc: DMA channel allocated
[    2.588735] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.591437] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.595700] mmc0: new high speed SDHC card at address aaaa
[    2.596157] mmcblk0: mmc0:aaaa SL16G 14.8 GiB 
[    2.600208]  mmcblk0: p1 p2 < p5 p6 p7 >
[    2.616892] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    2.618457] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.620024] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.622828] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    2.701786] ledtrig-cpu: registered to indicate activity on CPUs
[    2.708637] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.708758] Indeed it is in host mode hprt0 = 00001101
[    2.713687] mmc1: new high speed SDIO card at address 0001
[    2.753305] hidraw: raw HID events driver (C) Jiri Kosina
[    2.765752] usbcore: registered new interface driver usbhid
[    2.778298] usbhid: USB HID core driver
[    2.788399] Initializing XFRM netlink socket
[    2.798802] NET: Registered protocol family 17
[    2.809565] Key type dns_resolver registered
[    2.820345] Registering SWP/SWPB emulation handler
[    2.832197] registered taskstats version 1
[    2.842510] vc-sm: Videocore shared memory driver
[    2.853495] [vc_sm_connected_init]: start
[    2.863852] [vc_sm_connected_init]: end - returning 0
[    2.876675] 3f201000.uart: ttyAMA0 at MMIO 0x3f201000 (irq = 83, base_baud = 0) is a PL011 rev2
[    2.913033] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
[    2.918931] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    2.918940] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.919621] hub 1-1:1.0: USB hub found
[    2.919729] hub 1-1:1.0: 5 ports detected
[    2.978512] VFS: Mounted root (ext4 filesystem) readonly on device 179:7.
[    3.004509] devtmpfs: mounted
[    3.013461] Freeing unused kernel memory: 444K (80795000 - 80804000)
[    3.208666] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    3.318928] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    3.333766] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.351923] smsc95xx v1.0.4
[    3.388503] random: systemd urandom read with 68 bits of entropy available
[    3.408177] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[    3.434826] systemd[1]: Detected architecture 'arm'.
[    3.448500] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:8e:58:1c
[    3.548666] usb 1-1.2: new full-speed USB device number 4 using dwc_otg
[    3.603150] NET: Registered protocol family 10
[    3.615743] systemd[1]: Inserted module 'ipv6'
[    3.630518] systemd[1]: Set hostname to <raspberrypi>.
[    3.696099] usb 1-1.2: New USB device found, idVendor=046d, idProduct=c52b
[    3.711827] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.727790] usb 1-1.2: Product: USB Receiver
[    3.738741] usb 1-1.2: Manufacturer: Logitech
[    3.760227] input: Logitech USB Receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:046D:C52B.0001/input/input0
[    3.838918] hid-generic 0003:046D:C52B.0001: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-3f980000.usb-1.2/input0
[    3.875514] input: Logitech USB Receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C52B.0002/input/input1
[    3.959252] hid-generic 0003:046D:C52B.0002: input,hiddev0,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-3f980000.usb-1.2/input1
[    3.999475] hid-generic 0003:046D:C52B.0003: hiddev0,hidraw2: USB HID v1.11 Device [Logitech USB Receiver] on usb-3f980000.usb-1.2/input2
[    4.033209] systemd[1]: Expecting device dev-ttyS0.device...
[    4.052579] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[    4.069855] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    4.086878] systemd[1]: Starting Remote File Systems (Pre).
[    4.105837] systemd[1]: Reached target Remote File Systems (Pre).
[    4.120548] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[    4.145209] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    4.165377] systemd[1]: Starting Encrypted Volumes.
[    4.183623] systemd[1]: Reached target Encrypted Volumes.
[    4.197307] systemd[1]: Starting Swap.
[    4.213729] systemd[1]: Reached target Swap.
[    4.225555] systemd[1]: Expecting device dev-mmcblk0p6.device...
[    4.245683] systemd[1]: Starting Root Slice.
[    4.262908] systemd[1]: Created slice Root Slice.
[    4.275362] systemd[1]: Starting User and Session Slice.
[    4.294336] systemd[1]: Created slice User and Session Slice.
[    4.308505] systemd[1]: Starting Delayed Shutdown Socket.
[    4.327553] systemd[1]: Listening on Delayed Shutdown Socket.
[    4.341690] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[    4.362763] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    4.378914] systemd[1]: Starting Journal Socket (/dev/log).
[    4.398191] systemd[1]: Listening on Journal Socket (/dev/log).
[    4.412515] systemd[1]: Starting udev Control Socket.
[    4.430417] systemd[1]: Listening on udev Control Socket.
[    4.443708] systemd[1]: Starting udev Kernel Socket.
[    4.461368] systemd[1]: Listening on udev Kernel Socket.
[    4.474499] systemd[1]: Starting Journal Socket.
[    4.491636] systemd[1]: Listening on Journal Socket.
[    4.504256] systemd[1]: Starting System Slice.
[    4.521135] systemd[1]: Created slice System Slice.
[    4.533581] systemd[1]: Starting File System Check on Root Device...
[    4.555494] systemd[1]: Starting system-systemd\x2dfsck.slice.
[    4.574843] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    4.589343] systemd[1]: Starting system-autologin.slice.
[    4.607832] systemd[1]: Created slice system-autologin.slice.
[    4.621397] systemd[1]: Starting system-serial\x2dgetty.slice.
[    4.640059] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    4.654487] systemd[1]: Starting Increase datagram queue length...
[    4.676084] systemd[1]: Starting Restore / save the current clock...
[    4.707756] systemd[1]: Starting udev Coldplug all Devices...
[    4.747570] systemd[1]: Started Set Up Additional Binary Formats.
[    4.761802] systemd[1]: Mounted Huge Pages File System.
[    4.815542] systemd[1]: Starting Load Kernel Modules...
[    4.836244] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[    4.864516] systemd[1]: Mounting Debug File System...
[    4.886389] systemd[1]: Mounting POSIX Message Queue File System...
[    4.909379] systemd[1]: Starting Slices.
[    4.925124] systemd[1]: Reached target Slices.
[    4.944136] systemd[1]: Started Increase datagram queue length.
[    4.986656] systemd[1]: Started Create list of required static device nodes for the current kernel.
[    5.010515] fuse init (API version 7.23)
[    5.023085] systemd[1]: Mounted Debug File System.
[    5.043118] systemd[1]: Mounted POSIX Message Queue File System.
[    5.065056] systemd[1]: Started Restore / save the current clock.
[    5.085662] systemd[1]: Started udev Coldplug all Devices.
[    5.099785] i2c /dev entries driver
[    5.110510] systemd[1]: Time has been changed
[    5.136328] systemd[1]: Started Load Kernel Modules.
[    5.209634] systemd[1]: Started File System Check on Root Device.
[    5.300746] systemd[1]: Mounting Configuration File System...
[    5.321717] systemd[1]: Starting Apply Kernel Variables...
[    5.342769] systemd[1]: Mounting FUSE Control File System...
[    5.364673] systemd[1]: Starting Create Static Device Nodes in /dev...
[    5.387993] systemd[1]: Starting Syslog Socket.
[    5.393540] systemd[1]: Listening on Syslog Socket.
[    5.393703] systemd[1]: Starting Journal Service...
[    5.407071] systemd[1]: Started Journal Service.
[    5.572669] systemd-udevd[107]: starting version 215
[    5.992067] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    6.464281] cfg80211: Calling CRDA to update world regulatory domain
[    6.531958] brcmfmac: brcmf_sdio_drivestrengthinit: No SDIO Drive strength init done for chip 43430 rev 1 pmurev 24
[    6.533123] usbcore: registered new interface driver brcmfmac
[    6.724676] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Dec 15 2015 18:10:45 version 7.45.41.23 (r606571) FWID 01-xxxxxxxx
[    6.747839] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[    6.832847] bcm2835-rng 3f104000.rng: hwrng registered
[    6.868738] random: nonblocking pool is initialized
[    7.181615] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[    7.181644] cfg80211: World regulatory domain updated:
[    7.181653] cfg80211:  DFS Master region: unset
[    7.181663] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    7.181677] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    7.181690] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    7.181702] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[    7.181717] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    7.181731] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[    7.181744] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[    7.181756] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    7.181768] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   11.665785] EXT4-fs (mmcblk0p7): re-mounted. Opts: (null)
[   11.963845] systemd-journald[105]: Received request to flush runtime journal from PID 1
[   12.327602] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[   12.327631] brcmfmac: brcmf_add_if: ignore IF event
[   12.333547] brcmfmac: power management disabled
[   12.678773] cfg80211: Calling CRDA for country: GB
[   12.703333] cfg80211: Regulatory domain changed to country: GB
[   12.703357] cfg80211:  DFS Master region: ETSI
[   12.703367] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   12.703381] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   12.703396] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   12.703411] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   12.703424] cfg80211:   (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s)
[   12.703437] cfg80211:   (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[   15.233309] uart-pl011 3f201000.uart: no DMA platform data
[   16.109749] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   16.109890] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   21.949095] Bluetooth: Core ver 2.20
[   21.949156] NET: Registered protocol family 31
[   21.949162] Bluetooth: HCI device and connection manager initialized
[   21.949180] Bluetooth: HCI socket layer initialized
[   21.949195] Bluetooth: L2CAP socket layer initialized
[   21.949215] Bluetooth: SCO socket layer initialized
[   22.437691] Bluetooth: HCI UART driver ver 2.3
[   22.437705] Bluetooth: HCI UART protocol H4 registered
[   22.437710] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   22.437715] Bluetooth: HCI UART protocol BCM registered
[   26.062184] Adding 102396k swap on /var/swap.  Priority:-1 extents:2 across:110588k SSFS
[   37.135540] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)

WiFi & BT使用的是BCM43438,WiFi phy相关信息如下:

Wiphy phy0
	max # scan SSIDs: 10
	max scan IEs length: 2048 bytes
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Device supports roaming.
	Device supports T-DLS.
	Supported Ciphers:
		* WEP40 (00-0f-ac:1)
		* WEP104 (00-0f-ac:5)
		* TKIP (00-0f-ac:2)
		* CCMP (00-0f-ac:4)
		* CMAC (00-0f-ac:6)
	Available Antennas: TX 0 RX 0
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * P2P-client
		 * P2P-GO
		 * P2P-device
	Band 1:
		Capabilities: 0x1020
			HT20
			Static SM Power Save
			RX HT20 SGI
			No RX STBC
			Max AMSDU length: 3839 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 16 usec (0x07)
		HT TX/RX MCS rate indexes supported: 0-7
		Bitrates (non-HT):
			* 1.0 Mbps
			* 2.0 Mbps (short preamble supported)
			* 5.5 Mbps (short preamble supported)
			* 11.0 Mbps (short preamble supported)
			* 6.0 Mbps
			* 9.0 Mbps
			* 12.0 Mbps
			* 18.0 Mbps
			* 24.0 Mbps
			* 36.0 Mbps
			* 48.0 Mbps
			* 54.0 Mbps
		Frequencies:
			* 2412 MHz [1] (20.0 dBm)
			* 2417 MHz [2] (20.0 dBm)
			* 2422 MHz [3] (20.0 dBm)
			* 2427 MHz [4] (20.0 dBm)
			* 2432 MHz [5] (20.0 dBm)
			* 2437 MHz [6] (20.0 dBm)
			* 2442 MHz [7] (20.0 dBm)
			* 2447 MHz [8] (20.0 dBm)
			* 2452 MHz [9] (20.0 dBm)
			* 2457 MHz [10] (20.0 dBm)
			* 2462 MHz [11] (20.0 dBm)
	Supported commands:
		 * new_interface
		 * set_interface
		 * new_key
		 * start_ap
		 * join_ibss
		 * set_pmksa
		 * del_pmksa
		 * flush_pmksa
		 * remain_on_channel
		 * frame
		 * set_channel
		 * tdls_oper
		 * start_sched_scan
		 * start_p2p_device
		 * crit_protocol_start
		 * crit_protocol_stop
		 * connect
		 * disconnect
	Supported TX frame types:
		 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
	Supported RX frame types:
		 * managed: 0x40 0xd0
		 * P2P-client: 0x40 0xd0
		 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * P2P-device: 0x40 0xd0
	software interface modes (can always be added):
	valid interface combinations:
		 * #{ IBSS, managed, AP } <= 2, #{ P2P-client, P2P-GO } <= 1, #{ P2P-device } <= 1,
		   total <= 3, #channels <= 2
	Device supports scan flush.

发表评论

电子邮件地址不会被公开。 必填项已用*标注