页次: 1
另外,鼠鼠我的电脑512G不够用了,准备重装ubuntu22了。下面是所有需要的安装命令:
sudo apt install gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev x11proto-core-dev libx11-dev lib32z1-dev libgl1-mesa-dev g++-multilib tofrodos libxml2-utils xsltproc device-tree-compiler apt git wget make gcc flex bison libssl-dev bc kmod build-essential pkg-config libusb-dev vim ninja-build ncurses-dev libgmp-dev libmpc-dev swig libgnutls28-dev libkrb5-dev libnss-mdns libpam-dev libsystemd-dev libusb-1.0-0-dev zlib1g-dev -y
sudo vmware-uninstall-tools.pl
sudo apt-get remove open-vm-tools
sudo apt-get remove --auto-remove open-vm-tools
sudo apt-get purge open-vm-tools
sudo apt-get purge --auto-remove open-vm-tools
sudo vmware-uninstall-tools.pl #完全卸载掉安装好的不能用的vmtools
sudo apt-get install open-vm-tools-desktop #安装vmware-tools
将kernel,uboot,buildroot的配置打包下载:
allConfig.rar
最后启动成功的页面是:
U-Boot SPL 2024.10 (Nov 10 2024 - 17:18:14 +0800)
DRAM: 2048 MiB
Trying to boot from MMC1
NOTICE: BL31: v2.11.0(debug):
NOTICE: BL31: Built : 22:07:56, Nov 9 2024
NOTICE: BL31: Detected Allwinner H616 SoC (1823)
NOTICE: BL31: Found U-Boot DTB at 0x4a0b4dd8, model: OrangePi Zero3
INFO: ARM GICv2 driver initialized
INFO: Configuring SPC Controller
INFO: Probing for PMIC on I2C:
INFO: PMIC: found AXP313
INFO: BL31: Platform setup done
INFO: BL31: Initializing runtime services
INFO: BL31: cortex_a53: CPU workaround for erratum 855873 was applied
INFO: BL31: cortex_a53: CPU workaround for erratum 1530924 was applied
INFO: PSCI: Suspend is unavailable
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x4a000000
INFO: SPSR = 0x3c9
INFO: Changed devicetree.
U-Boot 2024.10 (Nov 10 2024 - 17:18:14 +0800) Allwinner Technology
CPU: Allwinner H616 (SUN50I)
Model: OrangePi Zero3
DRAM: 2 GiB
Core: 59 devices, 25 uclasses, devicetree: separate
WDT: Not starting watchdog@30090a0
MMC: mmc@4020000: 0
Loading Environment from FAT... OK
In: serial@5000000
Out: serial@5000000
Err: serial@5000000
Allwinner mUSB OTG (Peripheral)
Net: eth0: ethernet@5020000using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
MAC de:ad:be:ef:00:01
HOST MAC de:ad:be:ef:00:00
RNDIS ready
, eth1: usb_ether
starting USB...
Bus usb@5200000: USB EHCI 1.00
Bus usb@5200400: USB OHCI 1.0
scanning bus usb@5200000 for devices... 1 USB Device(s) found
scanning bus usb@5200400 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
45244928 bytes read in 1987 ms (21.7 MiB/s)
21108 bytes read in 4 ms (5 MiB/s)
## Flattened Device Tree blob at 4fa00000
Booting using the fdt blob at 0x4fa00000
Working FDT set to 4fa00000
Loading Device Tree to 0000000049ff7000, end 0000000049fff273 ... OK
Working FDT set to 49ff7000
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.11.0 (root@casdfxx-virtual-machine) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1 SMP PREEMPT Sat Nov 9 23:29:09 CST 2024
[ 0.000000] KASLR disabled due to lack of seed
[ 0.000000] Machine model: Sipeed Longan Pi 3H
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: reserved mem: 0x0000000040000000..0x000000004003ffff (256 KiB) nomap non-reusable secmon@40000000
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x00000000bfffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0xbfbe89c0-0xbfbeafff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x00000000bfffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x000000004003ffff]
[ 0.000000] node 0: [mem 0x0000000040040000-0x00000000bfffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff]
[ 0.000000] cma: Reserved 32 MiB at 0x00000000bba00000 on node -1
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.5
[ 0.000000] percpu: Embedded 24 pages/cpu s60056 r8192 d30056 u98304
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] alternatives: applying boot alternatives
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] Fallback order for Node 0: 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 524288
[ 0.000000] Policy zone: DMA
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 2MB
[ 0.000000] software IO TLB: area num 4.
[ 0.000000] software IO TLB: mapped [mem 0x00000000bb500000-0x00000000bb700000] (2MB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=512 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[ 0.000000] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000971] Console: colour dummy device 80x25
[ 0.001075] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.001089] pid_max: default: 32768 minimum: 301
[ 0.001167] LSM: initializing lsm=capability
[ 0.001272] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.001290] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.003521] rcu: Hierarchical SRCU implementation.
[ 0.003527] rcu: Max phase no-delay instances is 1000.
[ 0.003738] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[ 0.005278] EFI services will not be available.
[ 0.005499] smp: Bringing up secondary CPUs ...
[ 0.006003] Detected VIPT I-cache on CPU1
[ 0.006089] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.006678] Detected VIPT I-cache on CPU2
[ 0.006734] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.007280] Detected VIPT I-cache on CPU3
[ 0.007336] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.007444] smp: Brought up 1 node, 4 CPUs
[ 0.007453] SMP: Total of 4 processors activated.
[ 0.007458] CPU: All CPU(s) started at EL2
[ 0.007484] CPU features: detected: 32-bit EL0 Support
[ 0.007488] CPU features: detected: 32-bit EL1 Support
[ 0.007494] CPU features: detected: CRC32 instructions
[ 0.007536] alternatives: applying system-wide alternatives
[ 0.008979] Memory: 1971196K/2097152K available (17088K kernel code, 5016K rwdata, 11652K rodata, 10240K init, 733K bss, 88740K reserved, 32768K cma-reserved)
[ 0.009871] devtmpfs: initialized
[ 0.015539] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.015561] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.016600] 21520 pages in range for non-PLT usage
[ 0.016606] 513040 pages in range for PLT usage
[ 0.016892] pinctrl core: initialized pinctrl subsystem
[ 0.018790] DMI not present or invalid.
[ 0.021519] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.022892] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[ 0.023683] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.024638] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.024675] audit: initializing netlink subsys (disabled)
[ 0.024858] audit: type=2000 audit(0.024:1): state=initialized audit_enabled=0 res=1
[ 0.026044] thermal_sys: Registered thermal governor 'step_wise'
[ 0.026050] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.026110] cpuidle: using governor menu
[ 0.026300] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.026403] ASID allocator initialised with 65536 entries
[ 0.029208] Serial: AMBA PL011 UART driver
[ 0.033735] platform 3001000.clock: Fixed dependency cycle(s) with /soc/rtc@7000000
[ 0.041427] platform 3001000.clock: Fixed dependency cycle(s) with /soc/rtc@7000000
[ 0.041542] platform 7000000.rtc: Fixed dependency cycle(s) with /soc/clock@3001000
[ 0.041607] platform 7000000.rtc: Fixed dependency cycle(s) with /soc/clock@7010000
[ 0.041923] platform 7000000.rtc: Fixed dependency cycle(s) with /soc/clock@7010000
[ 0.041982] platform 7010000.clock: Fixed dependency cycle(s) with /soc/clock@3001000
[ 0.042046] platform 7010000.clock: Fixed dependency cycle(s) with /soc/rtc@7000000
[ 0.045630] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.045637] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[ 0.045645] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.045649] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[ 0.045655] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.045659] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.045665] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.045670] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[ 0.047454] ACPI: Interpreter disabled.
[ 0.049547] iommu: Default domain type: Translated
[ 0.049553] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.049986] SCSI subsystem initialized
[ 0.050318] usbcore: registered new interface driver usbfs
[ 0.050355] usbcore: registered new interface driver hub
[ 0.050409] usbcore: registered new device driver usb
[ 0.051179] pps_core: LinuxPPS API ver. 1 registered
[ 0.051184] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.051200] PTP clock support registered
[ 0.051342] EDAC MC: Ver: 3.0.0
[ 0.051687] scmi_core: SCMI protocol bus registered
[ 0.052458] FPGA manager framework
[ 0.052548] Advanced Linux Sound Architecture Driver Initialized.
[ 0.053576] vgaarb: loaded
[ 0.053913] clocksource: Switched to clocksource arch_sys_counter
[ 0.054148] VFS: Disk quotas dquot_6.6.0
[ 0.054171] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.054536] pnp: PnP ACPI: disabled
[ 0.062081] NET: Registered PF_INET protocol family
[ 0.062257] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.064039] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[ 0.064072] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.064124] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.064257] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
[ 0.064883] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.064990] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.065043] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.065188] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.065551] RPC: Registered named UNIX socket transport module.
[ 0.065557] RPC: Registered udp transport module.
[ 0.065561] RPC: Registered tcp transport module.
[ 0.065565] RPC: Registered tcp-with-tls transport module.
[ 0.065569] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.065582] PCI: CLS 0 bytes, default 64
[ 0.070844] kvm [1]: nv: 529 coarse grained trap handlers
[ 0.071311] kvm [1]: IPA Size Limit: 40 bits
[ 0.074002] kvm [1]: vgic interrupt IRQ9
[ 0.074041] kvm [1]: Hyp nVHE mode initialized successfully
[ 0.075495] Initialise system trusted keyrings
[ 0.075676] workingset: timestamp_bits=42 max_order=19 bucket_order=0
[ 0.075993] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.076229] NFS: Registering the id_resolver key type
[ 0.076275] Key type id_resolver registered
[ 0.076280] Key type id_legacy registered
[ 0.076303] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.076310] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 0.076434] 9p: Installing v9fs 9p2000 file system support
[ 0.139234] Key type asymmetric registered
[ 0.139243] Asymmetric key parser 'x509' registered
[ 0.139300] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 0.139308] io scheduler mq-deadline registered
[ 0.139314] io scheduler kyber registered
[ 0.139349] io scheduler bfq registered
[ 0.182879] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.185588] printk: legacy console [ttyS0] disabled
[ 0.206180] 5000000.serial: ttyS0 at MMIO 0x5000000 (irq = 15, base_baud = 1500000) is a 16550A
[ 0.206240] printk: legacy console [ttyS0] enabled
[ 1.214404] msm_serial: driver initialized
[ 1.218859] SuperH (H)SCI(F) driver initialized
[ 1.223568] STM32 USART driver initialized
[ 1.236105] loop: module loaded
[ 1.240416] megasas: 07.727.03.00-rc1
[ 1.251412] tun: Universal TUN/TAP device driver, 1.6
[ 1.257420] thunder_xcv, ver 1.0
[ 1.260690] thunder_bgx, ver 1.0
[ 1.263949] nicpf, ver 1.0
[ 1.267872] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[ 1.275096] hns3: Copyright (c) 2017 Huawei Corporation.
[ 1.280462] hclge is initializing
[ 1.283814] e1000: Intel(R) PRO/1000 Network Driver
[ 1.288694] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 1.294465] e1000e: Intel(R) PRO/1000 Network Driver
[ 1.299431] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 1.305379] igb: Intel(R) Gigabit Ethernet Network Driver
[ 1.310779] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 1.316377] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[ 1.322644] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 1.328873] sky2: driver version 1.30
[ 1.333927] VFIO - User Level meta-driver version: 0.3
[ 1.342042] usbcore: registered new interface driver usb-storage
[ 1.352104] sun6i-rtc 7000000.rtc: registered as rtc0
[ 1.357190] sun6i-rtc 7000000.rtc: setting system clock to 1970-01-02T00:00:10 UTC (86410)
[ 1.365978] i2c_dev: i2c /dev entries driver
[ 1.371129] mv64xxx_i2c 7081400.i2c: can't get pinctrl, bus recovery not supported
[ 1.379339] axp20x-i2c 0-0036: AXP20x variant AXP313a found
[ 1.385792] axp20x-i2c 0-0036: AXP20X driver loaded
[ 1.398289] sdhci: Secure Digital Host Controller Interface driver
[ 1.404489] sdhci: Copyright(c) Pierre Ossman
[ 1.409619] Synopsys Designware Multimedia Card Interface Driver
[ 1.416696] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.424548] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.431356] SMCCC: SOC_ID: ID = jep106:091e:1823 Revision = 0x00000002
[ 1.438949] usbcore: registered new interface driver usbhid
[ 1.444530] usbhid: USB HID core driver
[ 1.451983] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 1.466596] NET: Registered PF_PACKET protocol family
[ 1.471759] 9pnet: Installing 9P2000 support
[ 1.476095] Key type dns_resolver registered
[ 1.492234] registered taskstats version 1
[ 1.496542] Loading compiled-in X.509 certificates
[ 1.510769] Demotion targets for Node 0: null
[ 1.530326] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 1.547984] sun50i-h616-pinctrl 300b000.pinctrl: initialized sunXi PIO driver
[ 1.556669] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 1.565797] sun50i-h616-r-pinctrl 7022000.pinctrl: initialized sunXi PIO driver
[ 1.578851] ehci-platform 5200000.usb: EHCI Host Controller
[ 1.581521] ehci-platform 5310000.usb: EHCI Host Controller
[ 1.584420] ehci-platform 5311000.usb: EHCI Host Controller
[ 1.584455] ehci-platform 5311000.usb: new USB bus registered, assigned bus number 1
[ 1.584493] ehci-platform 5200000.usb: new USB bus registered, assigned bus number 2
[ 1.584600] ehci-platform 5311000.usb: irq 288, io mem 0x05311000
[ 1.584947] ehci-platform 5200000.usb: irq 286, io mem 0x05200000
[ 1.587539] ohci-platform 5200400.usb: Generic Platform OHCI controller
[ 1.587568] ohci-platform 5200400.usb: new USB bus registered, assigned bus number 3
[ 1.587718] ohci-platform 5200400.usb: irq 289, io mem 0x05200400
[ 1.590114] ehci-platform 5310000.usb: new USB bus registered, assigned bus number 4
[ 1.590602] ohci-platform 5310400.usb: Generic Platform OHCI controller
[ 1.590620] ohci-platform 5310400.usb: new USB bus registered, assigned bus number 5
[ 1.590746] ohci-platform 5310400.usb: irq 290, io mem 0x05310400
[ 1.593694] ohci-platform 5311400.usb: Generic Platform OHCI controller
[ 1.593718] ohci-platform 5311400.usb: new USB bus registered, assigned bus number 6
[ 1.593842] ohci-platform 5311400.usb: irq 291, io mem 0x05311400
[ 1.593864] usb_phy_generic usb_phy_generic.1.auto: dummy supplies not allowed for exclusive requests (id=vbus)
[ 1.601962] ehci-platform 5200000.usb: USB 2.0 started, EHCI 1.00
[ 1.603566] ehci-platform 5310000.usb: irq 287, io mem 0x05310000
[ 1.604900] sunxi-mmc 4020000.mmc: Got CD GPIO
[ 1.609499] clk: Disabling unused clocks
[ 1.609649] PM: genpd: Disabling unused power domains
[ 1.609659] ALSA device list:
[ 1.609665] No soundcards found.
[ 1.611930] hub 2-0:1.0: USB hub found
[ 1.617953] ehci-platform 5311000.usb: USB 2.0 started, EHCI 1.00
[ 1.623399] hub 2-0:1.0: 1 port detected
[ 1.630174] sunxi-mmc 4020000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[ 1.633945] sunxi-mmc 4022000.mmc: initialized, max. request size: 2048 KB, uses new timings mode
[ 1.637924] ehci-platform 5310000.usb: USB 2.0 started, EHCI 1.00
[ 1.638605] hub 1-0:1.0: USB hub found
[ 1.638635] hub 1-0:1.0: 1 port detected
[ 1.650477] hub 3-0:1.0: USB hub found
[ 1.783652] hub 3-0:1.0: 1 port detected
[ 1.787104] mmc0: host does not support reading read-only switch, assuming write-enable
[.[ 1.795699] hub 4-0:1.0: 1 port detected
[ 1.797480] mmc0: new high speed SDHC card at address 0002
[ 1.800415] hub 6-0:1.0: USB hub found
[ 1.805783] mmcblk0: mmc0:0002 00000 7.42 GiB
[ 1.808889] hub 6-0:1.0: 1 port detected
[ 1.815468] mmcblk0: p1 p2
[ 1.817966] hub 5-0:1.0: USB hub found
[ 1.823715] hub 5-0:1.0: 1 port detected
[ 1.843308] EXT4-fs (mmcblk0p2): mounted filesystem 54c7b596-56de-4b2f-be41-d620e246221e ro with ordered data mode. Quota mode: none.
[ 1.855356] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.863126] devtmpfs: mounted
[ 1.870972] Freeing unused kernel memory: 10240K
[ 1.875680] Run /sbin/init as init process
[ 1.977050] mmc1: new HS200 MMC card at address 0001
[ 1.982902] mmcblk1: mmc1:0001 AT2S38 7.23 GiB
[ 1.995004] mmcblk1: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21 p22 p23 p24 p25
[ 2.008586] mmcblk1boot0: mmc1:0001 AT2S38 4.00 MiB
[ 2.015176] mmcblk1boot1: mmc1:0001 AT2S38 4.00 MiB
[ 2.050127] EXT4-fs (mmcblk0p2): re-mounted 54c7b596-56de-4b2f-be41-d620e246221e r/w. Quota mode: none.
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Starting mdev... OK
modprobe: can't change directory to '/lib/modules': No such file or directory
Saving 256 bits of non-creditable seed for next boot
Starting system message bus: [ 5.149930] random: crng init done
done
Starting network: OK
Welcome to h618 computer
h618 login: root
Password:
出现的恼人问题是:
[ 1.835844] Waiting for root device /dev/mmcblk0p2...
[ 2.034835] mmc1: new HS200 MMC card at address 0001
[ 2.040541] mmcblk1: mmc1:0001 AT2S38 7.23 GiB
[ 2.052350] mmcblk1: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21 p22 p23 p24 p25
[ 2.065914] mmcblk1boot0: mmc1:0001 AT2S38 4.00 MiB
[ 2.072237] mmcblk1boot1: mmc1:0001 AT2S38 4.00 MiB
板子是kicppi,用的dtb是从longan pi 3h编译过来的。u-boot参考orange pi zero3。
前期做u-boot与kernel都很正常。
但是在kernel启动到rootfs之间卡住了。使用mmcblk0p2,显示mmcblk1可用;使用mmcblk1p2显示mmcblk0可用。真的是我往左,它往右,要渴死送吃的。查了一下,bootargs又不支持多个root设置。
我出是从别人的帖子来的,别人好好的,我却遇到了这样的问题。无奈,检查了设备树,发现longan pi 3h的mmc的cd脚,检测sd卡是否插入,有效电平为高。显然不符合常识。于是将其改为低。然后就正常进入了。
编译好的资料如下:
这个问题我也遇到了,我用的是v3s。试过mplayer和mpv都出现一样的错误:Error opening/initializing the selected video_out (--vo) device.即使手动指定-vo fbdev,和使用drm都不行。屏幕一定是正常的,因为可以用fbv显示图片,也通过了modetest测试,虽然显示的内容比实际屏幕内容大,我用的是内核自带的,好像叫vkm什么来着。后来在B站上看到了一个v3s的小电脑,用的是st7789v的屏幕,与我用的800x480屏幕驱动不同。他用的是一个tft 的drm ,我用的是主线上的simplepanel-fb, panelsimple-vkm。ops确实是少了一些东西。打算明天使用st7789的驱动打印出各种ops函数的调用信息,看看到底是哪个函数起作用,然后在panelsimple驱动里补全试试。
页次: 1