树莓派|树莓派镜像制作

前言 本文主要讲诉如何制作一个树莓派的启动镜像(本人使用的是4b+)
镜像下载 镜像下载64bit
xz文件大小在756M,解压后镜像3.95个G
树莓派|树莓派镜像制作
文章图片

上面的镜像下载比较慢,可以使用国内的镜像源,参考这篇文章树莓派镜像下载
格式化 注意镜像假如比较更行较大,需要擦除格式化在做镜像
树莓派|树莓派镜像制作
文章图片

树莓派|树莓派镜像制作
文章图片

选择你将要做的盘,直接格式化即可
镜像烧写 树莓派|树莓派镜像制作
文章图片

选择前面下载的树莓派镜像后,点击write直接写入即可!
调试 串口打开 在boot分区的config.txt文件中打开并添加如下配置
uart_2ndstage=1
enable_uart=1
树莓派|树莓派镜像制作
文章图片

除了上面的配置后,还需要如下配置
config.txt
uart_2ndstage=1
enable_uart=1
dtoverlay=miniuart-bt
这样就停止了蓝牙,解除了对串口的占用。
cmdline.txt
dwc_otg.lpm_enable=0 console=tty1 console=serial0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
如上配置后使用这个镜像就能采用串口登入了pi了树莓派|树莓派镜像制作
文章图片

备注 烧写20190926上面的镜像后,接上显示器启动就有显示了,可以不开上面的配置打开串口。我这发现一个情况树莓派tf烧写镜像后屏幕有点闪,换了一个适配器后还是不显示,后来偶然接了另一个插座好了,你说神不神奇,我原来插在另一个插排上的,换一个插座好了。。。。。
屏幕适配
不适配的原生显示是这样的
树莓派|树莓派镜像制作
文章图片

config配置如下:
framebuffer_width=800
framebuffer_height=480
hdmi_group=2
hdmi_mode=14
上面的配置你会发现其实是选择了一个接近的分辨率hdmi_mode=14 848x480 60Hz
显示的话可以发现显示出屏幕外了。
树莓派|树莓派镜像制作
文章图片

原因就是显示器和分辨率不统一继续调整
方法一:自定义分辨率(我这不行)
说明链接
hdmi_cvt=800 480 100 6 0 0 1
方法二:显示区域往屏幕里挤
hdmi_group=2
hdmi_mode=13
disable_overscan=0
overscan_right=120
overscan_left=0
overscan_top=0
overscan_bottom=0
选择一个接近的
hdmi_mode=13 800x600 120Hz
修改完后是这个样子
树莓派|树莓派镜像制作
文章图片

思考:会不会本来这个弹框框的设计就超过了你的屏幕宽度,有没有把屏幕横屏试试呢
屏幕旋转:(没配置成功)
display_hdmi_rotate=3 //0为不旋转 90度为1,180度为2,270度为3
最终我的配置如下

# mine cfg framebuffer_width=800 framebuffer_height=480 hdmi_group=2 hdmi_mode=13 # end mine

规格
以下是CEA规定的电视规格分辨率。这些分辨率的hdmi_group=1。
hdmi_mode=1 VGA
hdmi_mode=2 480p 60Hz
hdmi_mode=3 480p 60Hz H
hdmi_mode=4 720p 60Hz
hdmi_mode=5 1080i 60Hz
hdmi_mode=6 480i 60Hz
hdmi_mode=7 480i 60Hz H
hdmi_mode=8 240p 60Hz
hdmi_mode=9 240p 60Hz H
hdmi_mode=10 480i 60Hz 4x
hdmi_mode=11 480i 60Hz 4x H
hdmi_mode=12 240p 60Hz 4x
hdmi_mode=13 240p 60Hz 4x H
hdmi_mode=14 480p 60Hz 2x
hdmi_mode=15 480p 60Hz 2x H
hdmi_mode=16 1080p 60Hz
hdmi_mode=17 576p 50Hz
hdmi_mode=18 576p 50Hz H
【树莓派|树莓派镜像制作】hdmi_mode=19 720p 50Hz
hdmi_mode=20 1080i 50Hz
hdmi_mode=21 576i 50Hz
hdmi_mode=22 576i 50Hz H
hdmi_mode=23 288p 50Hz
hdmi_mode=24 288p 50Hz H
hdmi_mode=25 576i 50Hz 4x
hdmi_mode=26 576i 50Hz 4x H
hdmi_mode=27 288p 50Hz 4x
hdmi_mode=28 288p 50Hz 4x H
hdmi_mode=29 576p 50Hz 2x
hdmi_mode=30 576p 50Hz 2x H
hdmi_mode=31 1080p 50Hz
hdmi_mode=32 1080p 24Hz
hdmi_mode=33 1080p 25Hz
hdmi_mode=34 1080p 30Hz
hdmi_mode=35 480p 60Hz 4x
hdmi_mode=36 480p 60Hz 4xH
hdmi_mode=37 576p 50Hz 4x
hdmi_mode=38 576p 50Hz 4x H
hdmi_mode=39 1080i 50Hz reduced blanking
hdmi_mode=40 1080i 100Hz
hdmi_mode=41 720p 100Hz
hdmi_mode=42 576p 100Hz
hdmi_mode=43 576p 100Hz H
hdmi_mode=44 576i 100Hz
hdmi_mode=45 576i 100Hz H
hdmi_mode=46 1080i 120Hz
hdmi_mode=47 720p 120Hz
hdmi_mode=48 480p 120Hz
hdmi_mode=49 480p 120Hz H
hdmi_mode=50 480i 120Hz
hdmi_mode=51 480i 120Hz H
hdmi_mode=52 576p 200Hz
hdmi_mode=53 576p 200Hz H
hdmi_mode=54 576i 200Hz
hdmi_mode=55 576i 200Hz H
hdmi_mode=56 480p 240Hz
hdmi_mode=57 480p 240Hz H
hdmi_mode=58 480i 240Hz
hdmi_mode=59 480i 240Hz H
H means 16:9variant (of a normally 4:3 mode).
2x means pixeldoubled (i.e. higher clock rate, with each pixel repeated twice)
4x means pixelquadrupled (i.e. higher clock rate, with each pixel repeated four times)
以下是计算机显示器使用的分辨率。这些分辨率的hdmi_group=2。
hdmi_mode=1 640x350 85Hz
hdmi_mode=2 640x400 85Hz
hdmi_mode=3 720x400 85Hz
hdmi_mode=4 640x480 60Hz
hdmi_mode=5 640x480 72Hz
hdmi_mode=6 640x480 75Hz
hdmi_mode=7 640x480 85Hz
hdmi_mode=8 800x600 56Hz
hdmi_mode=9 800x600 60Hz
hdmi_mode=10 800x600 72Hz
hdmi_mode=11 800x600 75Hz
hdmi_mode=12 800x600 85Hz
hdmi_mode=13 800x600 120Hz
hdmi_mode=14 848x480 60Hz
hdmi_mode=15 1024x768 43Hz DO NOT USE
hdmi_mode=16 1024x768 60Hz
hdmi_mode=17 1024x768 70Hz
hdmi_mode=18 1024x768 75Hz
hdmi_mode=19 1024x768 85Hz
hdmi_mode=20 1024x768 120Hz
hdmi_mode=21 1152x864 75Hz
hdmi_mode=22 1280x768 reduced blanking
hdmi_mode=23 1280x768 60Hz
hdmi_mode=24 1280x768 75Hz
hdmi_mode=25 1280x768 85Hz
hdmi_mode=26 1280x768 120Hz reduced blanking
hdmi_mode=27 1280x800 reduced blanking
hdmi_mode=28 1280x800 60Hz
hdmi_mode=29 1280x800 75Hz
hdmi_mode=30 1280x800 85Hz
hdmi_mode=31 1280x800 120Hz reduced blanking
hdmi_mode=32 1280x960 60Hz
hdmi_mode=33 1280x960 85Hz
hdmi_mode=34 1280x960 120Hz reduced blanking
hdmi_mode=35 1280x1024 60Hz
hdmi_mode=36 1280x1024 75Hz
hdmi_mode=37 1280x1024 85Hz
hdmi_mode=38 1280x1024 120Hz reduced blanking
hdmi_mode=39 1360x768 60Hz
hdmi_mode=40 1360x768 120Hz reduced blanking
hdmi_mode=41 1400x1050 reduced blanking
hdmi_mode=42 1400x1050 60Hz
hdmi_mode=43 1400x1050 75Hz
hdmi_mode=44 1400x1050 85Hz
hdmi_mode=45 1400x1050 120Hz reduced blanking
hdmi_mode=46 1440x900 reduced blanking
hdmi_mode=47 1440x900 60Hz
hdmi_mode=48 1440x900 75Hz
hdmi_mode=49 1440x900 85Hz
hdmi_mode=50 1440x900 120Hz reduced blanking
hdmi_mode=51 1600x1200 60Hz
hdmi_mode=52 1600x1200 65Hz
hdmi_mode=53 1600x1200 70Hz
hdmi_mode=54 1600x1200 75Hz
hdmi_mode=55 1600x1200 85Hz
hdmi_mode=56 1600x1200 120Hz reduced blanking
hdmi_mode=57 1680x1050 reduced blanking
hdmi_mode=58 1680x1050 60Hz
hdmi_mode=59 1680x1050 75Hz
hdmi_mode=60 1680x1050 85Hz
hdmi_mode=61 1680x1050 120Hz reduced blanking
hdmi_mode=62 1792x1344 60Hz
hdmi_mode=63 1792x1344 75Hz
hdmi_mode=64 1792x1344 120Hz reduced blanking
hdmi_mode=65 1856x1392 60Hz
hdmi_mode=66 1856x1392 75Hz
hdmi_mode=67 1856x1392 120Hz reduced blanking
hdmi_mode=68 1920x1200 reduced blanking
hdmi_mode=69 1920x1200 60Hz
hdmi_mode=70 1920x1200 75Hz
hdmi_mode=71 1920x1200 85Hz
hdmi_mode=72 1920x1200 120Hz reduced blanking
hdmi_mode=73 1920x1440 60Hz
hdmi_mode=74 1920x1440 75Hz
hdmi_mode=75 1920x1440 120Hz reduced blanking
hdmi_mode=76 2560x1600 reduced blanking
hdmi_mode=77 2560x1600 60Hz
hdmi_mode=78 2560x1600 75Hz
hdmi_mode=79 2560x1600 85Hz
hdmi_mode=80 2560x1600 120Hz reduced blanking
hdmi_mode=81 1366x768 60Hz
hdmi_mode=82 1080p 60Hz
hdmi_mode=83 1600x900 reduced blanking
hdmi_mode=84 2048x1152 reduced blanking
hdmi_mode=85 720p 60Hz
hdmi_mode=86 1366x768 reduced blanking
启动打印
Read start4.elf bytes2769540 hnd 0x00000000 Read fixup4.dat bytes6167 hnd 0x00000000 Firmware: cd3add54955f8fa065b414d8fc07c525e7ddffc8 Sep 24 2019 17:34:30 0x00a03111 0x00000000 0x00000000 MEM GPU: 76 ARM: 948 TOTAL: 1024 Starting start4.elf @ 0xfec00200 partition 0 +[0.000000] Booting Linux on physical CPU 0x0 [0.000000] Linux version 4.19.75-v7l+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1270 SMP Tue Sep 24 18:51:41 BST 2019 [0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d [0.000000] CPU: div instructions available: patching division code [0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache [0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.1 [0.000000] Memory policy: Data cache writealloc [0.000000] cma: Reserved 256 MiB at 0x000000001ec00000 [0.000000] random: get_random_bytes called from start_kernel+0xc0/0x4e8 with crng_init=0 [0.000000] percpu: Embedded 17 pages/cpu s39488 r8192 d21952 u69632 [0.000000] Built 1 zonelists, mobility grouping on.Total pages: 240960 [0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 cma=64M cma=256Msmsc95xx.macaddr=DC:A6:32:12:60:28 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000dwc_otg.lpm_enable=0 console=tty1 console=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait [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: 682472K/970752K available (8192K kernel code, 661K rwdata, 2352K rodata, 2048K init, 850K bss, 26136K reserved, 262144K cma-reserved, 184320K highmem) [0.000000] Virtual kernel memory layout: [0.000000]vector: 0xffff0000 - 0xffff1000(4 kB) [0.000000]fixmap: 0xffc00000 - 0xfff00000(3072 kB) [0.000000]vmalloc : 0xf0800000 - 0xff800000( 240 MB) [0.000000]lowmem: 0xc0000000 - 0xf0000000( 768 MB) [0.000000]pkmap: 0xbfe00000 - 0xc0000000(2 MB) [0.000000]modules : 0xbf000000 - 0xbfe00000(14 MB) [0.000000].text : 0x(ptrval) - 0x(ptrval)(10208 kB) [0.000000].init : 0x(ptrval) - 0x(ptrval)(2048 kB) [0.000000].data : 0x(ptrval) - 0x(ptrval)( 662 kB) [0.000000].bss : 0x(ptrval) - 0x(ptrval)( 851 kB) [0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [0.000000] ftrace: allocating 28124 entries in 83 pages [0.000000] rcu: Hierarchical RCU implementation. [0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [0.000000] GIC: Using split EOI/Deactivate mode [0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys). [0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns [0.000005] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns [0.000022] Switching to timer-based delay loop, resolution 18ns [0.000249] Console: colour dummy device 80x30 [0.000705] console [tty1] enabled [0.000758] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000) [0.000800] pid_max: default: 32768 minimum: 301 [0.001073] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [0.001106] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [0.001860] CPU: Testing write buffer coherency: ok [0.002284] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [0.002934] Setting up static identity map for 0x200000 - 0x20003c [0.003104] rcu: Hierarchical SRCU implementation. [0.003977] smp: Bringing up secondary CPUs ... [0.004880] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [0.005901] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [0.006880] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [0.007012] smp: Brought up 1 node, 4 CPUs [0.007080] SMP: Total of 4 processors activated (432.00 BogoMIPS). [0.007103] CPU: All CPU(s) started in HYP mode. [0.007123] CPU: Virtualization extensions available. [0.007913] devtmpfs: initialized [0.018154] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0 [0.018387] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [0.018428] futex hash table entries: 1024 (order: 4, 65536 bytes) [0.025338] pinctrl core: initialized pinctrl subsystem [0.026204] NET: Registered protocol family 16 [0.029185] DMA: preallocated 1024 KiB pool for atomic coherent allocations [0.030630] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [0.030661] hw-breakpoint: maximum watchpoint size is 8 bytes. [0.030860] Serial: AMBA PL011 UART driver [0.033899] bcm2835-mbox fe00b880.mailbox: mailbox enabled [0.069682] bcm2835-dma fe007000.dma: DMA legacy API manager at (ptrval), dmachans=0x1 [0.072173] vgaarb: loaded [0.072559] SCSI subsystem initialized [0.072763] usbcore: registered new interface driver usbfs [0.072843] usbcore: registered new interface driver hub [0.072952] usbcore: registered new device driver usb [0.090389] raspberrypi-firmware soc:firmware: Attached to firmware from 2019-09-24 17:34, variant start [0.100107] raspberrypi-firmware soc:firmware: Firmware hash is cd3add54955f8fa065b414d8fc07c525e7ddffc8 [0.111545] clocksource: Switched to clocksource arch_sys_counter [0.188897] VFS: Disk quotas dquot_6.6.0 [0.188997] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [0.189160] FS-Cache: Loaded [0.189349] CacheFiles: Loaded [0.189878] simple-framebuffer: probe of 0.framebuffer failed with error -12 [0.199069] NET: Registered protocol family 2 [0.199738] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes) [0.199783] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [0.199868] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [0.199953] TCP: Hash tables configured (established 8192 bind 8192) [0.200085] UDP hash table entries: 512 (order: 2, 16384 bytes) [0.200128] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [0.200427] NET: Registered protocol family 1 [0.200972] RPC: Registered named UNIX socket transport module. [0.200998] RPC: Registered udp transport module. [0.201020] RPC: Registered tcp transport module. [0.201041] RPC: Registered tcp NFSv4.1 backchannel transport module. [0.204081] Initialise system trusted keyrings [0.204257] workingset: timestamp_bits=14 max_order=18 bucket_order=4 [0.213188] FS-Cache: Netfs 'nfs' registered for caching [0.213693] NFS: Registering the id_resolver key type [0.213730] Key type id_resolver registered [0.213752] Key type id_legacy registered [0.213783] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [0.216035] Key type asymmetric registered [0.216062] Asymmetric key parser 'x509' registered [0.216182] bounce: pool size: 64 pages [0.216245] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) [0.216420] io scheduler noop registered [0.216444] io scheduler deadline registered (default) [0.216607] io scheduler cfq registered [0.216630] io scheduler mq-deadline registered (default) [0.216653] io scheduler kyber registered [0.219628] brcm-pcie fd500000.pcie: could not get clock [0.219702] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges: [0.219755] brcm-pcie fd500000.pcie:MEM 0x600000000..0x603ffffff -> 0xf8000000 [0.271579] brcm-pcie fd500000.pcie: link up, 5.0 Gbps x1 (!SSC) [0.271833] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00 [0.271864] pci_bus 0000:00: root bus resource [bus 00-01] [0.271893] pci_bus 0000:00: root bus resource [mem 0x600000000-0x603ffffff] (bus address [0xf8000000-0xfbffffff]) [0.274822] PCI: bus0: Fast back to back transfers disabled [0.274853] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [0.278260] PCI: bus1: Fast back to back transfers disabled [0.278335] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff] [0.278368] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit] [0.278456] pci 0000:00:00.0: PCI bridge to [bus 01] [0.278486] pci 0000:00:00.0:bridge window [mem 0x600000000-0x6000fffff] [0.278702] pcieport 0000:00:00.0: enabling device (0140 -> 0142) [0.278881] pcieport 0000:00:00.0: Signaling PME with IRQ 56 [0.279051] pcieport 0000:00:00.0: AER enabled with IRQ 56 [0.279232] pci 0000:01:00.0: enabling device (0140 -> 0142) [0.281054] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled [0.283138] iproc-rng200 fe104000.rng: hwrng registered [0.283375] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB) [0.283890] vc-sm: Videocore shared memory driver [0.284290] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000 [0.294232] brd: module loaded [0.303766] loop: module loaded [0.304517] Loading iSCSI transport class v2.0-870. [0.306190] libphy: Fixed MDIO Bus: probed [0.306629] bcmgenet fd580000.genet: failed to get enet clock [0.306661] bcmgenet fd580000.genet: GENET 5.0 EPHY: 0x0000 [0.306691] bcmgenet fd580000.genet: failed to get enet-wol clock [0.306720] bcmgenet fd580000.genet: failed to get enet-eee clock [0.306756] bcmgenet: Skipping UMAC reset [0.306992] unimac-mdio unimac-mdio.-19: DMA mask not set [0.321574] libphy: bcmgenet MII bus: probed [0.362062] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus at 0x(ptrval) [0.362966] usbcore: registered new interface driver r8152 [0.363048] usbcore: registered new interface driver lan78xx [0.363116] usbcore: registered new interface driver smsc95xx [0.363432] xhci_hcd 0000:01:00.0: xHCI Host Controller [0.363477] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1 [0.365363] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000001000000890 [0.365696] genirq: irq_chip Brcm_MSI did not update eff. affinity mask of irq 57 [0.366571] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19 [0.366604] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [0.366633] usb usb1: Product: xHCI Host Controller [0.366656] usb usb1: Manufacturer: Linux 4.19.75-v7l+ xhci-hcd [0.366680] usb usb1: SerialNumber: 0000:01:00.0 [0.367206] hub 1-0:1.0: USB hub found [0.367299] hub 1-0:1.0: 1 port detected [0.367774] xhci_hcd 0000:01:00.0: xHCI Host Controller [0.367810] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2 [0.367846] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed [0.368268] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19 [0.368300] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [0.368329] usb usb2: Product: xHCI Host Controller [0.368352] usb usb2: Manufacturer: Linux 4.19.75-v7l+ xhci-hcd [0.368376] usb usb2: SerialNumber: 0000:01:00.0 [0.368874] hub 2-0:1.0: USB hub found [0.368946] hub 2-0:1.0: 4 ports detected [0.370154] dwc_otg: version 3.00a 10-AUG-2012 (platform bus) [0.397088] dwc_otg fe980000.usb: base=(ptrval) [0.597351] Core Release: 2.80a [0.597385] Setting default values for core params [0.597427] Finished setting default values for core params [0.797770] Using Buffer DMA mode [0.797794] Periodic Transfer Interrupt Enhancement - disabled [0.797817] Multiprocessor Interrupt Enhancement - disabled [0.797841] OTG VER PARAM: 0, OTG VER FLAG: 0 [0.797910] Dedicated Tx FIFOs mode [0.798318] WARN::dwc_otg_hcd_init:1045: FIQ DMA bounce buffers: virt = ded34000 dma = 0x00000000ded34000 len=9024 [0.798367] FIQ FSM acceleration enabled for : [0.798367] Non-periodic Split Transactions [0.798367] Periodic Split Transactions [0.798367] High-Speed Isochronous Endpoints [0.798367] Interrupt/Control Split Transaction hack enabled [0.798480] WARN::hcd_init_fiq:457: FIQ on core 1 [0.798510] WARN::hcd_init_fiq:458: FIQ ASM at c07b6224 length 36 [0.798541] WARN::hcd_init_fiq:497: MPHI regs_base at f0810200 [0.798590] dwc_otg fe980000.usb: DWC OTG Controller [0.798634] dwc_otg fe980000.usb: new USB bus registered, assigned bus number 3 [0.798684] dwc_otg fe980000.usb: irq 38, io mem 0x00000000 [0.798750] Init: Port Power? op_state=1 [0.798771] Init: Power Port (0) [0.799045] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19 [0.799078] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [0.799107] usb usb3: Product: DWC OTG Controller [0.799131] usb usb3: Manufacturer: Linux 4.19.75-v7l+ dwc_otg_hcd [0.799155] usb usb3: SerialNumber: fe980000.usb [0.799676] hub 3-0:1.0: USB hub found [0.799738] hub 3-0:1.0: 1 port detected [0.800583] usbcore: registered new interface driver uas [0.800708] usbcore: registered new interface driver usb-storage [0.800885] mousedev: PS/2 mouse device common for all mice [0.802124] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer [0.802366] bcm2835-cpufreq: min=600000 max=1500000 [0.802990] sdhci: Secure Digital Host Controller Interface driver [0.803014] sdhci: Copyright(c) Pierre Ossman [0.803408] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe [0.803799] sdhci-pltfm: SDHCI platform and OF driver helper [0.806815] ledtrig-cpu: registered to indicate activity on CPUs [0.806978] hidraw: raw HID events driver (C) Jiri Kosina [0.807137] usbcore: registered new interface driver usbhid [0.807160] usbhid: USB HID core driver [0.807941] vchiq: vchiq_init_state: slot_zero = (ptrval), is_master = 0 [0.809688] [vc_sm_connected_init]: start [0.820316] [vc_sm_connected_init]: end - returning 0 [0.821419] Initializing XFRM netlink socket [0.821461] NET: Registered protocol family 17 [0.821612] Key type dns_resolver registered [0.821937] Registering SWP/SWPB emulation handler [0.822553] registered taskstats version 1 [0.822582] Loading compiled-in X.509 certificates [0.830164] uart-pl011 fe201000.serial: cts_event_workaround enabled [0.830253] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 34, base_baud = 0) is a PL011 rev2 [0.941585] usb 1-1: new high-speed USB device number 2 using xhci_hcd [0.947727] console [ttyAMA0] enabled [1.144187] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21 [1.163178] fe215040.serial: ttyS0 at MMIO 0x0 (irq = 36, base_baud = 62500000) is a 16550 [1.165705] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [1.172421] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver [1.176592] usb 1-1: Product: USB2.0 Hub [1.182142] brcmstb_thermal fd5d2200.thermal: registered AVS TMON of-sensor driver [2.169004] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0 [2.175059] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated [2.182115] hub 1-1:1.0: USB hub found [2.186128] hub 1-1:1.0: 4 ports detected [2.206882] sdhci-iproc fe340000.emmc2: Linked as a consumer to regulator.1 [2.230198] mmc1: queuing unknown CIS tuple 0x80 (2 bytes) [2.237339] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [2.244471] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [2.250008] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA [2.259712] of_cfs_init [2.262275] of_cfs_init: OK [2.265649] uart-pl011 fe201000.serial: no DMA platform data [2.271692] Waiting for root device /dev/mmcblk0p2... [2.274234] mmc1: queuing unknown CIS tuple 0x80 (7 bytes) [2.283886] mmc1: queuing unknown CIS tuple 0x80 (3 bytes) [2.332093] random: fast init done [2.361703] mmc1: new high speed SDIO card at address 0001 [2.401582] mmc0: Tuning timeout, falling back to fixed sampling clock [2.408184] mmc0: new ultra high speed DDR50 SDHC card at address 0001 [2.415875] mmcblk0: mmc0:0001 SD16G 29.6 GiB (quirks 0x80000000) [2.423837]mmcblk0: p1 p2 [2.454210] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem [2.461574] EXT4-fs (mmcblk0p2): write access will be enabled during recovery [2.775052] EXT4-fs (mmcblk0p2): recovery complete [2.790593] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [2.798769] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [2.805666] devtmpfs: mounted [2.814886] Freeing unused kernel memory: 2048K [2.819658] Run /sbin/init as init process [3.261483] systemd[1]: System time before build time, advancing clock. [3.372975] NET: Registered protocol family 10 [3.378627] Segment Routing with IPv6 [3.421317] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid) [3.443783] systemd[1]: Detected architecture arm.Welcome to Raspbian GNU/Linux 10 (buster)![3.483071] systemd[1]: Set hostname to . [3.494791] systemd[1]: Failed to bump fs.file-max, ignoring: Invalid argument [3.781164] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling. [3.798353] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.) [4.248632] random: systemd: uninitialized urandom read (16 bytes read) [4.263902] random: systemd: uninitialized urandom read (16 bytes read) [4.270855] systemd[1]: Listening on initctl Compatibility Named Pipe. [OK] Listening on initctl Compatibility Named Pipe. [4.311798] random: systemd: uninitialized urandom read (16 bytes read) [4.318835] systemd[1]: Listening on udev Kernel Socket. [OK] Listening on udev Kernel Socket. [4.355599] systemd[1]: Created slice User and Session Slice. [OK] Created slice User and Session Slice. [4.391949] systemd[1]: Reached target Slices. [OK] Reached target Slices. [OK] Created slice system-systemd\x2dfsck.slice. [OK] Listening on udev Control Socket. [OK] Listening on Syslog Socket. [OK] Listening on Journal Socket (/dev/log). [OK] Reached target Swap. [OK] Set up automount Arbitrary…s File System Automount Point. [OK] Listening on Journal Socket. Starting Restore / save the current clock... Starting udev Coldplug all Devices... Starting Journal Service... Starting Set the console keyboard layout... Mounting RPC Pipe File System... Starting Load Kernel Modules... Starting Create list of re…odes for the current kernel... [4.876391] i2c /dev entries driver Mounting POSIX Message Queue File System... [OK] Started Forward Password R…uests to Wall Directory Watch. [OK] Created slice system-serial\x2dgetty.slice. [OK] Created slice system-getty.slice. [OK] Listening on fsck to fsckd communication Socket. Mounting Kernel Debug File System... [OK] Started Journal Service. [OK] Started Restore / save the current clock. [OK] Started Set the console keyboard layout. [OK] Mounted RPC Pipe File System. [OK] Started Load Kernel Modules. [OK] Started Create list of req… nodes for the current kernel. [OK] Mounted POSIX Message Queue File System. [OK] Mounted Kernel Debug File System. Mounting Kernel Configuration File System... Starting Apply Kernel Variables... Starting File System Check on Root Device... [OK] Started udev Coldplug all Devices. [OK] Mounted Kernel Configuration File System. [OK] Started Apply Kernel Variables. [OK] Started File System Check on Root Device. [OK] Started File System Check Daemon to report status. Starting Remount Root and Kernel File Systems... Starting Helper to synchronize boot up for ifupdown... [OK] Started Helper to synchronize boot up for ifupdown. [OK] Started Remount Root and Kernel File Systems. Starting Load/Save Random Seed... Starting Create System Users... Starting Flush Journal to Persistent Storage... [OK] Started Load/Save Random Seed. [OK] Started Create System Users. Starting Create Static Device Nodes in /dev... [OK] Started Flush Journal to Persistent Storage. [OK] Started Create Static Device Nodes in /dev. Starting udev Kernel Device Manager... [OK] Reached target Local File Systems (Pre). [OK] Started udev Kernel Device Manager. Starting Show Plymouth Boot Screen... [OK] Started Show Plymouth Boot Screen. [OK] Started Forward Password R…s to Plymouth Directory Watch. [OK] Reached target Local Encrypted Volumes. [OK] Reached target Paths. [OK] Found device /dev/ttyAMA0. [OK] Found device /dev/serial1. [OK] Found device /dev/disk/by-partuuid/d9b3f436-01. [OK] Listening on Load/Save RF …itch Status /dev/rfkill Watch. Starting File System Check…isk/by-partuuid/d9b3f436-01... Starting Load/Save RF Kill Switch Status... [OK] Started Load/Save RF Kill Switch Status. [OK] Started File System Check …/disk/by-partuuid/d9b3f436-01. Mounting /boot... [OK] Mounted /boot. [OK] Reached target Local File Systems. Starting Create Volatile Files and Directories... Starting Raise network interfaces... Starting Tell Plymouth To Write Out Runtime Data... Starting Set console font and keymap... Starting Preprocess NFS configuration... [OK] Started Tell Plymouth To Write Out Runtime Data. [OK] Started Preprocess NFS configuration. [OK] Reached target NFS client services. [OK] Reached target Remote File Systems (Pre). [OK] Reached target Remote File Systems. [OK] Started Set console font and keymap. [OK] Started Create Volatile Files and Directories. Starting Update UTMP about System Boot/Shutdown... Starting Network Time Synchronization... [OK] Started Update UTMP about System Boot/Shutdown. [OK] Started Raise network interfaces. [OK] Started Network Time Synchronization. [OK] Reached target System Time Synchronized. [OK] Reached target System Initialization. [OK] Started Daily Cleanup of Temporary Directories. [OK] Started Daily man-db regeneration. [OK] Listening on triggerhap[9.032071] Under-voltage detected! (0x00050005) py.socket. [OK] Started Daily rotation of log files. [OK] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. [OK] Started Daily apt download activities. [OK] Started Daily apt upgrade and clean activities. [OK] Reached target Timers. [OK] Listening on D-Bus System Message Bus Socket. [OK] Reached target Sockets. [OK] Reached target Basic System. Starting System Logging Service... Starting Check for v3d driver... [OK] Started D-Bus System Message Bus. Starting LSB: Switch to on…nless shift key is pressed)... Starting Disk Manager... Starting Avahi mDNS/DNS-SD Stack... [OK] Started Regular background program processing daemon. [OK] Started Manage Sound Card State (restore and store). Starting Save/Restore Sound Card State... Starting triggerhappy global hotkey daemon... Starting rng-tools.service... Starting dhcpcd on all interfaces... Starting Configure Bluetooth Modems connected by UART... Starting dphys-swapfile - …unt, and delete a swap file... Starting WPA supplicant... Starting Login Service... Starting Check for Raspberry Pi EEPROM updates... [OK] Started Save/Restore Sound Card State. [OK] Reached target Sound Card. [OK] Started triggerhappy global hotkey daemon. [OK] Started System Logging Service. [OK] Started Check for v3d driver. [OK] Started rng-tools.service. [OK] Started dhcpcd on all interfaces. [OK] Started Login Service. [OK] Started Avahi mDNS/DNS-SD Stack. [OK] Started WPA supplicant. [OK] Reached target Network. Starting /etc/rc.local Compatibility... Starting Permit User Sessions... [OK] Started /etc/rc.local Compatibility. [OK] Started LSB: Switch to ond…(unless shift key is pressed). [OK] Started dphys-swapfile - s…mount, and delete a swap file. [OK] Started Permit User Sessions. Starting Authorization Manager... Starting Light Display Manager... Starting Hold until boot process finishes up... [OK] Started Check for Raspberry Pi EEPROM updates. [OK] Started Authorization Manager.Raspbian GNU/Linux 10 raspberrypi ttyAMA0pispberrypi login: Password: Login incorrect raspberrypi login: pi Password: Last login: Thu Sep 26 01:31:16 BST 2019 on tty1 Linux raspberrypi 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019 armv7lThe programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. pi@raspberrypi:~$ pi@raspberrypi:~$ pi@raspberrypi:~$ pi@raspberrypi:~$ ls MagPi pi@raspberrypi:~$

2022-64镜像 树莓派|树莓派镜像制作
文章图片

串口输出 uart_2ndstage=1
enable_uart=1
dtoverlay=miniuart-bt
force_turbo=1
输出不了。不知道为啥
用户 Username:pi
Password:raspberry
问题
  1. 我的树莓派烧写镜像后打开串口打印发现跳转没法应,这个时候只需要等待一会儿好像要更行eeprom啥东西的,让他自己重启3次就好了,如果还不行那就换上2A 的电源试试,电源很重要,刷2019的镜像起来就有显示了屏幕。

    推荐阅读