• 树莓派笔记


    • LCD和hdmi切换

    /home/LCD-show-master 目录下

    LCD-hdmi

    LCD35-show

    • 时区修改 

     sudo cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

     date -R

    • wifi配置

    cat  /etc/wpa_supplicant/wpa_supplicant.conf

    network={
    ssid="TP-02"
    psk="12345"
    key_mgmt=WPA-PSK
    }

    • 启动信息
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.80-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3                                                             (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #1098 SMP Fri Mar 9 19:11:42 GM                                                            T 2018
    [    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio                                                            n cache
    [    0.000000] OF: fdt:Machine model: Raspberry Pi 3 Model B Plus Rev 1.3
    [    0.000000] cma: Reserved 8 MiB at 0x3ac00000
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] On node 0 totalpages: 242688
    [    0.000000] free_area_init_node: node 0, pgdat 80c6f800, node_mem_map ba3a100                                                            0
    [    0.000000]   Normal zone: 2133 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 242688 pages, LIFO batch:31
    [    0.000000] percpu: Embedded 14 pages/cpu @ba35b000 s25600 r8192 d23552 u5734                                                            4
    [    0.000000] pcpu-alloc: s25600 r8192 d23552 u57344 alloc=14*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 pag                                                            es: 240555
    [    0.000000] Kernel command line: 8250.nr_uarts=1 bcm2708_fb.fbwidth=1184 bcm2                                                            708_fb.fbheight=624 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_si                                                            ze=0x40000000  dwc_otg.lpm_enable=0 console=tty1 console=ttyS0,115200 root=/dev/                                                            mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait fbcon=map:10 fbcon=font:Pro                                                            Font6x11 logo.nologo
    [    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: 940364K/970752K available (7168K kernel code, 487K rwdata                                                            , 2032K rodata, 1024K init, 770K bss, 22196K reserved, 8192K cma-reserved)
    [    0.000000] Virtual kernel memory layout:
                       vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                       fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                       vmalloc : 0xbb800000 - 0xff800000   (1088 MB)
                       lowmem  : 0x80000000 - 0xbb400000   ( 948 MB)
                       modules : 0x7f000000 - 0x80000000   (  16 MB)
                         .text : 0x80008000 - 0x80800000   (8160 kB)
                         .init : 0x80b00000 - 0x80c00000   (1024 kB)
                         .data : 0x80c00000 - 0x80c79cbc   ( 488 kB)
                          .bss : 0x80c7b000 - 0x80d3b9e4   ( 771 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000]  Build-time adjustment of leaf fanout to 32.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 19.20MHz (ph                                                            ys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles:                                                             0x46d987e47, max_idle_ns: 440795202767 ns
    [    0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 43980                                                            46511078ns
    [    0.000023] Switching to timer-based delay loop, resolution 52ns
    [    0.000298] Console: colour dummy device 80x30
    [    0.001204] console [tty1] enabled
    [    0.001253] Calibrating delay loop (skipped), value calculated using timer fr                                                            equency.. 38.40 BogoMIPS (lpj=192000)
    [    0.001320] pid_max: default: 32768 minimum: 301
    [    0.001655] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001697] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.002732] Disabling memory control group subsystem
    [    0.002836] CPU: Testing write buffer coherency: ok
    [    0.002900] ftrace: allocating 22627 entries in 67 pages
    [    0.050533] CPU0: update cpu_capacity 1024
    [    0.050584] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.050645] Setting up static identity map for 0x100000 - 0x100034
    [    0.052498] CPU1: update cpu_capacity 1024
    [    0.052505] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.053146] CPU2: update cpu_capacity 1024
    [    0.053152] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [    0.053776] CPU3: update cpu_capacity 1024
    [    0.053783] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [    0.053871] Brought up 4 CPUs
    [    0.054044] SMP: Total of 4 processors activated (153.60 BogoMIPS).
    [    0.054073] CPU: All CPU(s) started in HYP mode.
    [    0.054100] CPU: Virtualization extensions available.
    [    0.054919] devtmpfs: initialized
    [    0.066114] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3                                                             rev 4
    [    0.066436] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma                                                            x_idle_ns: 19112604462750000 ns
    [    0.066497] futex hash table entries: 1024 (order: 4, 65536 bytes)
    [    0.067058] pinctrl core: initialized pinctrl subsystem
    [    0.067992] NET: Registered protocol family 16
    [    0.070255] DMA: preallocated 1024 KiB pool for atomic coherent allocations
    [    0.079102] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint                                                             registers.
    [    0.079151] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.079323] Serial: AMBA PL011 UART driver
    [    0.081224] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
    [    0.081770] uart-pl011 3f201000.serial: could not find pctldev for node /soc/                                                            gpio@7e200000/uart0_pins, deferring probe
    [    0.082342] irq: no irq domain found for /soc/aux@0x7e215000 !
    [    0.151382] bcm2835-dma 3f007000.dma: DMA legacy API manager at bb80d000, dma                                                            chans=0x1
    [    0.153262] SCSI subsystem initialized
    [    0.153585] usbcore: registered new interface driver usbfs
    [    0.153688] usbcore: registered new interface driver hub
    [    0.153806] usbcore: registered new device driver usb
    [    0.160341] raspberrypi-firmware soc:firmware: Attached to firmware from 2018                                                            -03-13 18:45
    [    0.161763] clocksource: Switched to clocksource arch_sys_counter
    [    0.209309] VFS: Disk quotas dquot_6.6.0
    [    0.209420] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.209650] FS-Cache: Loaded
    [    0.209916] CacheFiles: Loaded
    [    0.222080] NET: Registered protocol family 2
    [    0.222972] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.223111] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.223321] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.223432] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.223499] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.223729] NET: Registered protocol family 1
    [    0.224168] RPC: Registered named UNIX socket transport module.
    [    0.224201] RPC: Registered udp transport module.
    [    0.224228] RPC: Registered tcp transport module.
    [    0.224256] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.225255] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counter                                                            s available
    [    0.227570] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [    0.243627] FS-Cache: Netfs 'nfs' registered for caching
    [    0.244625] NFS: Registering the id_resolver key type
    [    0.244683] Key type id_resolver registered
    [    0.244711] Key type id_legacy registered
    [    0.247119] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2                                                            51)
    [    0.247269] io scheduler noop registered
    [    0.247300] io scheduler deadline registered (default)
    [    0.247584] io scheduler cfq registered
    [    0.252825] BCM2708FB: allocated DMA memory fad00000
    [    0.252878] BCM2708FB: allocated DMA channel 0 @ bb80d000
    [    0.274071] Console: switching to colour frame buffer device 148x39
    [    0.287596] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
    [    0.289360] bcm2835-rng 3f104000.rng: hwrng registered
    [    0.289619] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000                                                            000(1024 MiB)
    [    0.290362] vc-sm: Videocore shared memory driver
    [    0.305403] brd: module loaded
    [    0.314267] loop: module loaded
    [    0.314393] Loading iSCSI transport class v2.0-870.
    [    0.315264] libphy: Fixed MDIO Bus: probed
    [    0.315510] usbcore: registered new interface driver lan78xx
    [    0.320149] usbcore: registered new interface driver smsc95xx
    [    0.324602] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
    [    0.557094] Core Release: 2.80a
    [    0.561513] Setting default values for core params
    [    0.566026] Finished setting default values for core params
    [    0.770873] Using Buffer DMA mode
    [    0.775256] Periodic Transfer Interrupt Enhancement - disabled
    [    0.779691] Multiprocessor Interrupt Enhancement - disabled
    [    0.784133] OTG VER PARAM: 0, OTG VER FLAG: 0
    [    0.788528] Dedicated Tx FIFOs mode
    [    0.793196] WARN::dwc_otg_hcd_init:1032: FIQ DMA bounce buffers: virt = 0xbad                                                            14000 dma = 0xfad14000 len=9024
    [    0.797813] FIQ FSM acceleration enabled for :
                   Non-periodic Split Transactions
                   Periodic Split Transactions
                   High-Speed Isochronous Endpoints
                   Interrupt/Control Split Transaction hack enabled
    [    0.820623] dwc_otg: Microframe scheduler enabled
    [    0.820675] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x8059b380
    [    0.825165] WARN::hcd_init_fiq:460: FIQ ASM at 0x8059b6f0 length 36
    [    0.829619] WARN::hcd_init_fiq:486: MPHI regs_base at 0xbb878000
    [    0.834088] dwc_otg 3f980000.usb: DWC OTG Controller
    [    0.838551] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number                                                             1
    [    0.843122] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
    [    0.847628] Init: Port Power? op_state=1
    [    0.852014] Init: Power Port (0)
    [    0.856522] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    0.860994] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=                                                            1
    [    0.865537] usb usb1: Product: DWC OTG Controller
    [    0.870028] usb usb1: Manufacturer: Linux 4.9.80-v7+ dwc_otg_hcd
    [    0.874595] usb usb1: SerialNumber: 3f980000.usb
    [    0.879932] hub 1-0:1.0: USB hub found
    [    0.884426] hub 1-0:1.0: 1 port detected
    [    0.889471] dwc_otg: FIQ enabled
    [    0.889475] dwc_otg: NAK holdoff enabled
    [    0.889479] dwc_otg: FIQ split-transaction FSM enabled
    [    0.889491] Module dwc_common_port init
    [    0.889700] usbcore: registered new interface driver usb-storage
    [    0.894314] mousedev: PS/2 mouse device common for all mice
    [    0.899582] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
    [    0.904270] bcm2835-cpufreq: min=600000 max=1400000
    [    0.909063] sdhci: Secure Digital Host Controller Interface driver
    [    0.913558] sdhci: Copyright(c) Pierre Ossman
    [    0.918280] sdhost-bcm2835 3f202000.sdhost: could not get clk, deferring prob                                                            e
    [    0.925017] mmc-bcm2835 3f300000.mmc: could not get clk, deferring probe
    [    0.929768] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.935898] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.940698] hidraw: raw HID events driver (C) Jiri Kosina
    [    0.945617] usbcore: registered new interface driver usbhid
    [    0.950288] usbhid: USB HID core driver
    [    0.955726] vchiq: vchiq_init_state: slot_zero = 0xbad80000, is_master = 0
    [    0.961801] [vc_sm_connected_init]: start
    [    0.970983] [vc_sm_connected_init]: end - returning 0
    [    0.975993] Initializing XFRM netlink socket
    [    0.980644] NET: Registered protocol family 17
    [    0.985286] Key type dns_resolver registered
    [    0.990054] Registering SWP/SWPB emulation handler
    [    0.995331] registered taskstats version 1
    [    1.006639] uart-pl011 3f201000.serial: cts_event_workaround enabled
    [    1.011261] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud                                                             = 0) is a PL011 rev2
    [    1.017653] console [ttyS0] disabled
    [    1.022314] 3f215040.serial: ttyS0 at MMIO 0x0 (irq = 220, base_baud = 312500                                                            00) is a 16550
    [    2.017974] console [ttyS0] enabled
    [    2.026644] Indeed it is in host mode hprt0 = 00021501
    [    2.097195] sdhost: log_buf @ bad13000 (fad13000)
    [    2.124728] random: fast init done
    [    2.191792] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
    [    2.204380] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
    [    2.215180] mmc-bcm2835 3f300000.mmc: DMA channel allocated
    [    2.246178] usb 1-1: new high-speed USB device number 2 using dwc_otg
    [    2.257783] Indeed it is in host mode hprt0 = 00001101
    [    2.327942] of_cfs_init
    [    2.335304] of_cfs_init: OK
    [    2.343548] Waiting for root device /dev/mmcblk0p2...
    [    2.349820] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
    [    2.351389] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
    [    2.352973] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
    [    2.355795] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
    [    2.415406] mmc1: new high speed SDIO card at address 0001
    [    2.453033] mmc0: host does not support reading read-only switch, assuming wr                                                            ite-enable
    [    2.472107] mmc0: new high speed SDHC card at address aaaa
    [    2.482876] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
    [    2.497247]  mmcblk0: p1 p2
    [    2.504792] usb 1-1: New USB device found, idVendor=0424, idProduct=2514
    [    2.516087] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [    2.529304] hub 1-1:1.0: USB hub found
    [    2.537603] hub 1-1:1.0: 4 ports detected
    [    2.645257] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. O                                                            pts: (null)
    [    2.658084] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [    2.673092] devtmpfs: mounted
    [    2.682411] Freeing unused kernel memory: 1024K
    [    2.871820] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
    [    3.012119] usb 1-1.1: New USB device found, idVendor=0424, idProduct=2514
    [    3.023789] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber                                                            =0
    [    3.036750] hub 1-1.1:1.0: USB hub found
    [    3.045515] hub 1-1.1:1.0: 3 ports detected
    [    3.119688] systemd[1]: System time before build time, advancing clock.
    [    3.252420] NET: Registered protocol family 10
    [    3.274736] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    3.309666] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SEL                                                            INUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +                                                            XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
    [    3.338206] systemd[1]: Detected architecture arm.
    [    3.371806] usb 1-1.1.3: new low-speed USB device number 4 using dwc_otg
    [    3.395505] systemd[1]: Set hostname to <raspberrypi>.
    [    3.535886] usb 1-1.1.3: New USB device found, idVendor=1bcf, idProduct=05c2
    [    3.548080] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumb                                                            er=0
    [    3.560726] usb 1-1.1.3: Product: RAPOO 1810E
    [    3.570140] usb 1-1.1.3: Manufacturer: MLK
    [    3.601200] input: MLK RAPOO 1810E as /devices/platform/soc/3f980000.usb/usb1                                                            /1-1/1-1.1/1-1.1.3/1-1.1.3:1.0/0003:1BCF:05C2.0001/input/input0
    [    3.692859] hid-generic 0003:1BCF:05C2.0001: input,hidraw0: USB HID v1.00 Key                                                            board [MLK RAPOO 1810E] on usb-3f980000.usb-1.1.3/input0
    [    3.744825] input: MLK RAPOO 1810E as /devices/platform/soc/3f980000.usb/usb1                                                            /1-1/1-1.1/1-1.1.3/1-1.1.3:1.1/0003:1BCF:05C2.0002/input/input1
    [    3.832573] hid-generic 0003:1BCF:05C2.0002: input,hiddev0,hidraw1: USB HID v                                                            1.00 Mouse [MLK RAPOO 1810E] on usb-3f980000.usb-1.1.3/input1
    [    3.874536] systemd[1]: Started Forward Password Requests to Wall Directory W                                                            atch.
    [    3.922651] systemd[1]: Created slice User and Session Slice.
    [    3.962190] systemd[1]: Listening on udev Kernel Socket.
    [    4.002181] systemd[1]: Listening on udev Control Socket.
    [    4.042236] systemd[1]: Listening on Journal Socket.
    [    4.082611] systemd[1]: Created slice System Slice.
    [    4.122593] systemd[1]: Created slice system-serialx2dgetty.slice.
    [    4.151792] usb 1-1.1.1: new high-speed USB device number 5 using dwc_otg
    [    4.302393] usb 1-1.1.1: New USB device found, idVendor=0424, idProduct=7800
    [    4.315536] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumb                                                            er=0
    [    4.604661] libphy: lan78xx-mdiobus: probed
    [    4.623589] i2c /dev entries driver
    [    5.216445] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [    5.543834] systemd-journald[142]: Received request to flush runtime journal                                                             from PID 1
    [    6.112525] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f2                                                            00000
    [    6.330805] brcmfmac: F1 signature read @0x18000000=0x15264345
    [    6.345854] usbcore: registered new interface driver brcmfmac
    [    6.537201] random: crng init done
    [    6.646913] brcmfmac: Firmware version = wl0: Feb 27 2018 03:15:32 version 7.                                                            45.154 (r684107 CY) FWID 01-4fbe0b04
    [    6.647518] 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
    [    7.658904] uart-pl011 3f201000.serial: no DMA platform data
    [    8.048504] Adding 102396k swap on /var/swap.  Priority:-1 extents:1 across:1                                                            02396k SSFS
    [    8.587540] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [    8.587571] brcmfmac: power management disabled
    [    9.208221] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   10.153364] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [   11.996190] fuse init (API version 7.26)
    [   13.999658] Bluetooth: Core ver 2.22
    [   13.999789] NET: Registered protocol family 31
    [   13.999794] Bluetooth: HCI device and connection manager initialized
    [   13.999813] Bluetooth: HCI socket layer initialized
    [   13.999827] Bluetooth: L2CAP socket layer initialized
    [   13.999854] Bluetooth: SCO socket layer initialized
    [   14.006373] Bluetooth: HCI UART driver ver 2.3
    [   14.006383] Bluetooth: HCI UART protocol H4 registered
    [   14.006385] Bluetooth: HCI UART protocol Three-wire (H5) registered
    [   14.006501] Bluetooth: HCI UART protocol Broadcom registered
    [   14.332753] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [   14.332761] Bluetooth: BNEP filters: protocol multicast
    [   14.332778] Bluetooth: BNEP socket layer initialized
    [   14.411049] Bluetooth: RFCOMM TTY layer initialized
    [   14.411071] Bluetooth: RFCOMM socket layer initialized
    [   14.411097] Bluetooth: RFCOMM ver 1.11
    

      

  • 相关阅读:
    java File获取字节流
    mybatis返回自增主键问题踩坑
    电脑右键没有新建选项解决
    mysql 索引
    高并发-原子性-AtomicInteger
    Cannot find the declaration of element 'ehcache'.
    CSRF拦截
    java责任链模式
    java实现一个简单的计数器
    Java并发编程
  • 原文地址:https://www.cnblogs.com/ahuo/p/10865011.html
Copyright © 2020-2023  润新知