您尚未登录。

楼主 # 2024-09-14 15:59:25

microxp
会员
注册时间: 2021-04-27
已发帖子: 76
积分: 124

有钱了,咱也能用上64位CPU了,入坑H618

玩了这么久,都是用的32位板子,最近打螺丝赚点小钱,买了一块H618,咱也来体验一把64位...
taobao买的H618,140的天价,1G+8G,带WIFI千兆网卡,一如既往的国货特色,硬件很nx,软件很拉跨,技术支持就等于没有
商家提供的几个镜像和全志SDK塞满了垃圾和预装,光镜像都2g,像我这种买不起网盘会员的人,光下载SDK和镜像都感觉很困难了。
好在H618主线支持不错,开始自己编主线.........
_20240914154607.jpg

64位linux相比32位就改两个东西,u-boot加一个Trusted Firmware
https://github.com/ARM-software/arm-trusted-firmware

然后编译器换成aarch64-linux-gnu-,安装
apt-get install gcc-aarch64-linux-gnu

其他的就和32位一样了,全部用orangepi_zero3的配置文件

1.编译u-boot
make CROSS_COMPILE=aarch64-linux-gnu- BL31=/root/TFA/build/sun50i_h616/debug/bl31.bin  orangepi_zero3_defconfig
make CROSS_COMPILE=aarch64-linux-gnu- BL31=/root/TFA/build/sun50i_h616/debug/bl31.bin
一次不报错编译完成。

U-Boot SPL 2024.10-rc4 (Sep 14 2024 - 11:37:46 +0800)
DRAM: 1024 MiB
Trying to boot from MMC1
NOTICE:  BL31: v2.11.0(debug):
NOTICE:  BL31: Built : 18:01:41, Sep 13 2024
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a098ec0, 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-rc4 (Sep 14 2024 - 11:37:46 +0800)HS Tech

CPU:   Allwinner H616 (SUN50I)
Model: OrangePi Zero3
DRAM:  1 GiB
Core:  58 devices, 23 uclasses, devicetree: separate
WDT:   Not starting watchdog@30090a0
MMC:   mmc@4020000: 0, mmc@4022000: 1
Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1... 
In:    serial@5000000
Out:   serial@5000000
Err:   serial@5000000
Hit any key to stop autoboot:  0 

2.编译kernel
64位kernel有个大坑,全志在主线里没有单独的配置文件?还是我没找到,只能用默认的defconfig文件
make ARCH=arm64  CROSS_COMPILE=aarch64-linux-gnu- defconfig
make make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j8
这导致编译进去很多没用的驱动和垃圾,编译过程特别慢,其他内核一般10分钟搞定,这个编了快一个钟头......
难道还得把这些默认选的几百个模块一个一个去掉?

第二个发现是64位不支持内核压缩了,编译出来得是Image文件,足足有20M!

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.9.9 (root@xpdeb) (aarch64-linux-gnu-gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 SMP PREEMPT Sat Sep 14 14:33:21 CST 2024
[    0.000000] KASLR disabled due to lack of seed
[    0.000000] Machine model: OrangePi Zero3
[    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-0x000000007fffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x7fde99c0-0x7fdebfff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x000000007fffffff]
[    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-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] cma: Reserved 32 MiB at 0x000000007cc00000 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 22 pages/cpu s51240 r8192 d30680 u90112
[    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 rw panic=10
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] Fallback order for Node 0: 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 258048
[    0.000000] Policy zone: DMA
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 1MB
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x000000007ca00000-0x000000007cb00000] (1MB)
[    0.000000] Memory: 971028K/1048576K available (12608K kernel code, 1456K rwdata, 4564K rodata, 2688K init, 572K bss, 44780K reserved, 32768K cma-reserved)
[    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.000275] Console: colour dummy device 80x25
[    0.000349] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.000360] pid_max: default: 32768 minimum: 301
[    0.000421] LSM: initializing lsm=capability
[    0.000502] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.000512] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.001410] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.002168] rcu: Hierarchical SRCU implementation.
[    0.002171] rcu:     Max phase no-delay instances is 1000.
[    0.002673] smp: Bringing up secondary CPUs ...
[    0.003051] Detected VIPT I-cache on CPU1
[    0.003123] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.003565] Detected VIPT I-cache on CPU2
[    0.003598] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.003983] Detected VIPT I-cache on CPU3
[    0.004015] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.004091] smp: Brought up 1 node, 4 CPUs
[    0.004097] SMP: Total of 4 processors activated.
[    0.004100] CPU: All CPU(s) started at EL2
[    0.004103] CPU features: detected: 32-bit EL0 Support
[    0.004107] CPU features: detected: CRC32 instructions
[    0.004136] alternatives: applying system-wide alternatives
[    0.005259] devtmpfs: initialized
[    0.008533] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.008549] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.009717] pinctrl core: initialized pinctrl subsystem
[    0.011871] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.012732] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.012824] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.012966] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.013171] audit: initializing netlink subsys (disabled)
[    0.013372] audit: type=2000 audit(0.012:1): state=initialized audit_enabled=0 res=1
[    0.013753] thermal_sys: Registered thermal governor 'step_wise'
[    0.013757] thermal_sys: Registered thermal governor 'power_allocator'
[    0.013787] cpuidle: using governor menu
[    0.013854] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.013913] ASID allocator initialised with 65536 entries
[    0.014057] Serial: AMBA PL011 UART driver
[    0.016010] platform 3001000.clock: Fixed dependency cycle(s) with /soc/rtc@7000000
[    0.017827] platform 3001000.clock: Fixed dependency cycle(s) with /soc/rtc@7000000
[    0.017875] platform 7000000.rtc: Fixed dependency cycle(s) with /soc/clock@3001000
[    0.017916] platform 7000000.rtc: Fixed dependency cycle(s) with /soc/clock@7010000
[    0.017996] platform 7000000.rtc: Fixed dependency cycle(s) with /soc/clock@7010000
[    0.018035] platform 7010000.clock: Fixed dependency cycle(s) with /soc/clock@3001000
[    0.018073] platform 7010000.clock: Fixed dependency cycle(s) with /soc/rtc@7000000
[    0.018853] Modules: 27248 pages in range for non-PLT usage
[    0.018856] Modules: 518768 pages in range for PLT usage
[    0.019365] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.019371] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.019375] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.019378] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.019382] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.019385] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.019388] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.019391] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.019739] Demotion targets for Node 0: null
[    0.020897] iommu: Default domain type: Translated
[    0.020902] iommu: DMA domain TLB invalidation policy: strict mode
[    0.021199] SCSI subsystem initialized
[    0.021356] usbcore: registered new interface driver usbfs
[    0.021378] usbcore: registered new interface driver hub
[    0.021400] usbcore: registered new device driver usb
[    0.021596] pps_core: LinuxPPS API ver. 1 registered
[    0.021600] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.021611] PTP clock support registered
[    0.021640] EDAC MC: Ver: 3.0.0
[    0.021867] scmi_core: SCMI protocol bus registered
[    0.022821] vgaarb: loaded
[    0.023033] clocksource: Switched to clocksource arch_sys_counter
[    0.023212] VFS: Disk quotas dquot_6.6.0
[    0.023240] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.028566] NET: Registered PF_INET protocol family
[    0.028682] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.029432] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[    0.029481] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.029492] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.029541] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.029830] TCP: Hash tables configured (established 8192 bind 8192)
[    0.029922] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.029945] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.030041] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.030885] PCI: CLS 0 bytes, default 64
[    0.031884] Initialise system trusted keyrings
[    0.031988] workingset: timestamp_bits=42 max_order=18 bucket_order=0
[    0.075824] Key type asymmetric registered
[    0.075829] Asymmetric key parser 'x509' registered
[    0.075874] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.075880] io scheduler mq-deadline registered
[    0.075884] io scheduler kyber registered
[    0.075915] io scheduler bfq registered
[    0.083462] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.089925] loop: module loaded
[    0.090345] megasas: 07.727.03.00-rc1
[    0.092664] tun: Universal TUN/TAP device driver, 1.6
[    0.092981] thunder_xcv, ver 1.0
[    0.093005] thunder_bgx, ver 1.0
[    0.093024] nicpf, ver 1.0
[    0.093208] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    0.093213] hns3: Copyright (c) 2017 Huawei Corporation.
[    0.093238] hclge is initializing
[    0.093265] e1000: Intel(R) PRO/1000 Network Driver
[    0.093269] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    0.093289] e1000e: Intel(R) PRO/1000 Network Driver
[    0.093291] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    0.093310] igb: Intel(R) Gigabit Ethernet Network Driver
[    0.093313] igb: Copyright (c) 2007-2014 Intel Corporation.
[    0.093331] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    0.093335] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    0.093396] sky2: driver version 1.30
[    0.093735] VFIO - User Level meta-driver version: 0.3
[    0.094047] usbcore: registered new interface driver usb-storage
[    0.094120] usbcore: registered new device driver onboard-usb-hub
[    0.095208] sun6i-rtc 7000000.rtc: registered as rtc0
[    0.095228] sun6i-rtc 7000000.rtc: setting system clock to 1970-01-02T00:00:03 UTC (86403)
[    0.095510] i2c_dev: i2c /dev entries driver
[    0.095681] mv64xxx_i2c 7081400.i2c: can't get pinctrl, bus recovery not supported
[    0.095998] i2c 0-0036: Fixed dependency cycle(s) with /soc/pinctrl@300b000
[    0.097206] sdhci: Secure Digital Host Controller Interface driver
[    0.097210] sdhci: Copyright(c) Pierre Ossman
[    0.097347] Synopsys Designware Multimedia Card Interface Driver
[    0.097651] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.098141] ledtrig-cpu: registered to indicate activity on CPUs
[    0.098296] SMCCC: SOC_ID: ID = jep106:091e:1823 Revision = 0x00000002
[    0.098615] usbcore: registered new interface driver usbhid
[    0.098618] usbhid: USB HID core driver
[    0.099242] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.100071] NET: Registered PF_PACKET protocol family
[    0.100102] Key type dns_resolver registered
[    0.105953] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[    0.106064] registered taskstats version 1
[    0.106189] Loading compiled-in X.509 certificates
[    0.120663] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.126933] sun50i-h616-pinctrl 300b000.pinctrl: initialized sunXi PIO driver
[    0.127358] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.127558] sun50i-h616-r-pinctrl 7022000.pinctrl: initialized sunXi PIO driver
[    0.127809] dw-apb-uart 5000000.serial: Error applying setting, reverse things back
[    0.128051] sun6i-spi 5010000.spi: Error applying setting, reverse things back
[    0.128808] axp20x-i2c 0-0036: AXP20x variant AXP313a found
[    0.130510] axp20x-i2c 0-0036: AXP20X driver loaded
[    0.132550] sunxi-mmc 4020000.mmc: Error applying setting, reverse things back
[    0.132890] sunxi-mmc 4022000.mmc: Error applying setting, reverse things back
[    0.133009] dw-apb-uart 5000000.serial: Error applying setting, reverse things back
[    0.133236] sun6i-spi 5010000.spi: Error applying setting, reverse things back
[    0.135219] sun50i-h616-pinctrl 300b000.pinctrl: pin PC13 already requested by 300b000.pinctrl:77; cannot claim for 4022000.mmc
[    0.135232] sun50i-h616-pinctrl 300b000.pinctrl: error -EINVAL: pin-77 (4022000.mmc)
[    0.135240] sun50i-h616-pinctrl 300b000.pinctrl: error -EINVAL: could not request pin 77 (PC13) from group PC13  on device 300b000.pinctrl
[    0.135246] sunxi-mmc 4022000.mmc: Error applying setting, reverse things back
[    0.135579] sunxi-mmc 4020000.mmc: Got CD GPIO
[    0.135770] printk: legacy console [ttyS0] disabled
[    0.156309] 5000000.serial: ttyS0 at MMIO 0x5000000 (irq = 294, base_baud = 1500000) is a 16550A
[    0.156350] printk: legacy console [ttyS0] enabled
[    0.159050] sunxi-mmc 4020000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[    0.165451] ehci-platform 5200000.usb: EHCI Host Controller
[    0.165544] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    0.165577] ohci-platform 5200400.usb: Generic Platform OHCI controller
[    0.165594] ohci-platform 5200400.usb: new USB bus registered, assigned bus number 1
[    0.165670] ohci-platform 5200400.usb: irq 297, io mem 0x05200400
[    0.167796] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    0.168401] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[    0.168446] clk: Disabling unused clocks
[    0.168570] PM: genpd: Disabling unused power domains
[    0.168660] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    0.168670] cfg80211: failed to load regulatory.db
[    0.213053] mmc0: host does not support reading read-only switch, assuming write-enable
[    0.213919] ehci-platform 5200000.usb: new USB bus registered, assigned bus number 2
[    0.218378] mmc0: new high speed SDHC card at address 59b4
[    0.222664] ehci-platform 5200000.usb: irq 296, io mem 0x05200000
[    0.226032] mmcblk0: mmc0:59b4 SDU1  7.51 GiB
[    0.231626] hub 1-0:1.0: USB hub found
[    0.234537]  mmcblk0: p1 p2
[    0.236272] hub 1-0:1.0: 1 port detected
[    0.243038] ehci-platform 5200000.usb: USB 2.0 started, EHCI 1.00
[    1.513720] hub 2-0:1.0: USB hub found
[    1.517499] hub 2-0:1.0: 1 port detected
[    1.526138] List of all partitions:
[    1.529647] b300         7879680 mmcblk0 
[    1.529652]  driver: mmcblk
[    1.536447]   b301           32768 mmcblk0p1 dbbe3613-01
[    1.536452] 
[    1.543242]   b302         7845888 mmcblk0p2 dbbe3613-02
[    1.543247] 
[    1.550040] No filesystem could mount root, tried: 
[    1.550042]  ext3
[    1.554915]  ext2
[    1.556841]  ext4
[    1.558761]  vfat
[    1.560687] 
[    1.564100] Kernel panic - not syncing: VFS: Unable to mount root fs on "/dev/mmcblk0p2" or unknown-block(179,2)

3.制作文件系统..
还得用debootstrap单独做个64位系统
debootstrap --arch=arm64 --foreign jammy ./ubuntu-rootfs https://mirrors.163.com/ubuntu-ports/
一次成功,没有报错,刷入系统开机。

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.9.9 (root@xpdeb) (aarch64-linux-gnu-gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #2 SMP PREEMPT Sat Sep 14 14:33:21 CST 2024
[    0.000000] KASLR disabled due to lack of seed
[    0.000000] Machine model: OrangePi Zero3
[    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-0x000000007fffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x7fde99c0-0x7fdebfff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x000000007fffffff]
[    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-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] cma: Reserved 32 MiB at 0x000000007cc00000 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 22 pages/cpu s51240 r8192 d30680 u90112
[    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 rw panic=10
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] Fallback order for Node 0: 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 258048
[    0.000000] Policy zone: DMA
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 1MB
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x000000007ca00000-0x000000007cb00000] (1MB)
[    0.000000] Memory: 971028K/1048576K available (12608K kernel code, 1456K rwdata, 4564K rodata, 2688K init, 572K bss, 44780K reserved, 32768K cma-reserved)
[    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.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000273] Console: colour dummy device 80x25
[    0.000345] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.000356] pid_max: default: 32768 minimum: 301
[    0.000415] LSM: initializing lsm=capability
[    0.000495] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.000505] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.001401] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.002159] rcu: Hierarchical SRCU implementation.
[    0.002162] rcu:     Max phase no-delay instances is 1000.
[    0.002658] smp: Bringing up secondary CPUs ...
[    0.003034] Detected VIPT I-cache on CPU1
[    0.003106] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.003550] Detected VIPT I-cache on CPU2
[    0.003583] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.003967] Detected VIPT I-cache on CPU3
[    0.003999] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.004070] smp: Brought up 1 node, 4 CPUs
[    0.004076] SMP: Total of 4 processors activated.
[    0.004079] CPU: All CPU(s) started at EL2
[    0.004082] CPU features: detected: 32-bit EL0 Support
[    0.004086] CPU features: detected: CRC32 instructions
[    0.004116] alternatives: applying system-wide alternatives
[    0.005239] devtmpfs: initialized
[    0.008516] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.008532] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.009691] pinctrl core: initialized pinctrl subsystem
[    0.011826] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.012749] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.013192] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.013692] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.013720] audit: initializing netlink subsys (disabled)
[    0.013951] audit: type=2000 audit(0.012:1): state=initialized audit_enabled=0 res=1
[    0.014310] thermal_sys: Registered thermal governor 'step_wise'
[    0.014314] thermal_sys: Registered thermal governor 'power_allocator'
[    0.014345] cpuidle: using governor menu
[    0.014433] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.014497] ASID allocator initialised with 65536 entries
[    0.014635] Serial: AMBA PL011 UART driver
[    0.016601] platform 3001000.clock: Fixed dependency cycle(s) with /soc/rtc@7000000
[    0.018434] platform 3001000.clock: Fixed dependency cycle(s) with /soc/rtc@7000000
[    0.018477] platform 7000000.rtc: Fixed dependency cycle(s) with /soc/clock@3001000
[    0.018517] platform 7000000.rtc: Fixed dependency cycle(s) with /soc/clock@7010000
[    0.018593] platform 7000000.rtc: Fixed dependency cycle(s) with /soc/clock@7010000
[    0.018636] platform 7010000.clock: Fixed dependency cycle(s) with /soc/clock@3001000
[    0.018678] platform 7010000.clock: Fixed dependency cycle(s) with /soc/rtc@7000000
[    0.019463] Modules: 27248 pages in range for non-PLT usage
[    0.019466] Modules: 518768 pages in range for PLT usage
[    0.019966] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.019971] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.019976] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.019979] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.019982] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.019985] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.019989] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.019991] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.020355] Demotion targets for Node 0: null
[    0.021280] iommu: Default domain type: Translated
[    0.021286] iommu: DMA domain TLB invalidation policy: strict mode
[    0.021751] SCSI subsystem initialized
[    0.021906] usbcore: registered new interface driver usbfs
[    0.021928] usbcore: registered new interface driver hub
[    0.021957] usbcore: registered new device driver usb
[    0.022154] pps_core: LinuxPPS API ver. 1 registered
[    0.022157] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.022168] PTP clock support registered
[    0.022196] EDAC MC: Ver: 3.0.0
[    0.022442] scmi_core: SCMI protocol bus registered
[    0.023952] vgaarb: loaded
[    0.024189] clocksource: Switched to clocksource arch_sys_counter
[    0.024388] VFS: Disk quotas dquot_6.6.0
[    0.024414] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.029625] NET: Registered PF_INET protocol family
[    0.029749] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.030515] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[    0.030556] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.030567] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.030616] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.030912] TCP: Hash tables configured (established 8192 bind 8192)
[    0.030995] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.031017] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.031107] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.031942] PCI: CLS 0 bytes, default 64
[    0.032880] Initialise system trusted keyrings
[    0.032989] workingset: timestamp_bits=42 max_order=18 bucket_order=0
[    0.076784] Key type asymmetric registered
[    0.076789] Asymmetric key parser 'x509' registered
[    0.076831] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.076837] io scheduler mq-deadline registered
[    0.076842] io scheduler kyber registered
[    0.076870] io scheduler bfq registered
[    0.084390] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.090844] loop: module loaded
[    0.091272] megasas: 07.727.03.00-rc1
[    0.093626] tun: Universal TUN/TAP device driver, 1.6
[    0.093943] thunder_xcv, ver 1.0
[    0.093968] thunder_bgx, ver 1.0
[    0.093986] nicpf, ver 1.0
[    0.094165] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    0.094169] hns3: Copyright (c) 2017 Huawei Corporation.
[    0.094195] hclge is initializing
[    0.094223] e1000: Intel(R) PRO/1000 Network Driver
[    0.094227] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    0.094246] e1000e: Intel(R) PRO/1000 Network Driver
[    0.094249] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    0.094270] igb: Intel(R) Gigabit Ethernet Network Driver
[    0.094274] igb: Copyright (c) 2007-2014 Intel Corporation.
[    0.094291] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    0.094295] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    0.094356] sky2: driver version 1.30
[    0.094703] VFIO - User Level meta-driver version: 0.3
[    0.095014] usbcore: registered new interface driver usb-storage
[    0.095088] usbcore: registered new device driver onboard-usb-hub
[    0.096151] sun6i-rtc 7000000.rtc: registered as rtc0
[    0.096172] sun6i-rtc 7000000.rtc: setting system clock to 1970-01-02T00:00:03 UTC (86403)
[    0.096460] i2c_dev: i2c /dev entries driver
[    0.096631] mv64xxx_i2c 7081400.i2c: can't get pinctrl, bus recovery not supported
[    0.096954] i2c 0-0036: Fixed dependency cycle(s) with /soc/pinctrl@300b000
[    0.098166] sdhci: Secure Digital Host Controller Interface driver
[    0.098170] sdhci: Copyright(c) Pierre Ossman
[    0.098307] Synopsys Designware Multimedia Card Interface Driver
[    0.098619] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.099104] ledtrig-cpu: registered to indicate activity on CPUs
[    0.099264] SMCCC: SOC_ID: ID = jep106:091e:1823 Revision = 0x00000002
[    0.099591] usbcore: registered new interface driver usbhid
[    0.099595] usbhid: USB HID core driver
[    0.100226] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.101055] NET: Registered PF_PACKET protocol family
[    0.101087] Key type dns_resolver registered
[    0.107020] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[    0.107133] registered taskstats version 1
[    0.107266] Loading compiled-in X.509 certificates
[    0.121201] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.127434] sun50i-h616-pinctrl 300b000.pinctrl: initialized sunXi PIO driver
[    0.127890] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.128108] sun50i-h616-r-pinctrl 7022000.pinctrl: initialized sunXi PIO driver
[    0.128382] dw-apb-uart 5000000.serial: Error applying setting, reverse things back
[    0.128629] sun6i-spi 5010000.spi: Error applying setting, reverse things back
[    0.129389] axp20x-i2c 0-0036: AXP20x variant AXP313a found
[    0.131097] axp20x-i2c 0-0036: AXP20X driver loaded
[    0.133123] sunxi-mmc 4020000.mmc: Error applying setting, reverse things back
[    0.133293] sunxi-mmc 4022000.mmc: Error applying setting, reverse things back
[    0.133537] dw-apb-uart 5000000.serial: Error applying setting, reverse things back
[    0.133781] sun6i-spi 5010000.spi: Error applying setting, reverse things back
[    0.135473] sunxi-mmc 4020000.mmc: Got CD GPIO
[    0.135800] sun50i-h616-pinctrl 300b000.pinctrl: pin PC13 already requested by 300b000.pinctrl:77; cannot claim for 4022000.mmc
[    0.135808] sun50i-h616-pinctrl 300b000.pinctrl: error -EINVAL: pin-77 (4022000.mmc)
[    0.135815] sun50i-h616-pinctrl 300b000.pinctrl: error -EINVAL: could not request pin 77 (PC13) from group PC13  on device 300b000.pinctrl
[    0.135822] sunxi-mmc 4022000.mmc: Error applying setting, reverse things back
[    0.136292] printk: legacy console [ttyS0] disabled
[    0.156983] 5000000.serial: ttyS0 at MMIO 0x5000000 (irq = 294, base_baud = 1500000) is a 16550A
[    0.157031] printk: legacy console [ttyS0] enabled
[    0.160203] sunxi-mmc 4020000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[    0.166072] ehci-platform 5200000.usb: EHCI Host Controller
[    0.166151] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    0.166175] ohci-platform 5200400.usb: Generic Platform OHCI controller
[    0.166193] ohci-platform 5200400.usb: new USB bus registered, assigned bus number 1
[    0.166272] ohci-platform 5200400.usb: irq 297, io mem 0x05200400
[    0.167320] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    0.167924] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[    0.167969] clk: Disabling unused clocks
[    0.168096] PM: genpd: Disabling unused power domains
[    0.168199] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    0.168209] cfg80211: failed to load regulatory.db
[    0.211256] mmc0: host does not support reading read-only switch, assuming write-enable
[    0.214577] ehci-platform 5200000.usb: new USB bus registered, assigned bus number 2
[    0.219042] mmc0: new high speed SDHC card at address 59b4
[    0.223339] ehci-platform 5200000.usb: irq 296, io mem 0x05200000
[    0.226697] mmcblk0: mmc0:59b4 SDU1  7.51 GiB
[    0.228781] hub 1-0:1.0: USB hub found
[    0.228810] hub 1-0:1.0: 1 port detected
[    0.248194] ehci-platform 5200000.usb: USB 2.0 started, EHCI 1.00
[    0.251008]  mmcblk0: p1 p2
[    0.256874] hub 2-0:1.0: USB hub found
[    1.518132] hub 2-0:1.0: 1 port detected
[    1.646655] EXT4-fs (mmcblk0p2): mounted filesystem 6e3b4d84-a74c-4713-899b-23fac0b5206c r/w with ordered data mode. Quota mode: none.
[    1.658793] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.672660] devtmpfs: mounted
[    1.676523] Freeing unused kernel memory: 2688K
[    1.681131] Run /sbin/init as init process
[    2.209544] systemd[1]: System time before build time, advancing clock.
[    2.279585] systemd[1]: systemd 249.11-0ubuntu3 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS -OPENSSL +ACL +BLKID +CURL +ELFUTILS -FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP -LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[    2.310681] systemd[1]: Detected architecture arm64.

Welcome to Ubuntu 22.04 LTS!

[    2.328784] systemd[1]: Hostname set to <xpdeb>.
[    2.913698] systemd[1]: Queued start job for default target Graphical Interface.
[    6.864203] random: crng init done
[    6.885638] systemd[1]: Created slice Slice /system/modprobe.
[  OK  ] Created slice Slice /system/modprobe.
[    6.909254] systemd[1]: Created slice Slice /system/serial-getty.
[  OK  ] Created slice Slice /system/serial-getty.
[    6.932883] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    6.956500] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password 鈥s to Console Directory Watch.
[    6.988372] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R鈥ests to Wall Directory Watch.
[    7.012407] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
[    7.024060] systemd[1]: Reached target Local Encrypted Volumes.
[  OK  ] Reached target Local Encrypted Volumes.
[    7.044341] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    7.064260] systemd[1]: Reached target Slice Units.
[  OK  ] Reached target Slice Units.
[    7.084278] systemd[1]: Reached target Swaps.
[  OK  ] Reached target Swaps.
[    7.104287] systemd[1]: Reached target Local Verity Protected Volumes.
[  OK  ] Reached target Local Verity Protected Volumes.
[    7.128684] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    7.148417] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[    7.172878] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[    7.192507] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    7.212549] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    7.232656] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    7.252468] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    7.272262] systemd[1]: Reached target Socket Units.
[  OK  ] Reached target Socket Units.
[    7.316395] systemd[1]: Mounting Huge Pages File System...
         Mounting Huge Pages File System...
[    7.339226] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    7.363228] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[    7.384641] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    7.436640] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    7.460788] systemd[1]: Starting Set the console keyboard layout...
         Starting Set the console keyboard layout...
[    7.484559] systemd[1]: Condition check resulted in Create List of Static Device Nodes being skipped.
[    7.524764] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[    7.547685] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[    7.600634] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[    7.626112] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[    7.647567] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[    7.675565] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[    7.701014] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Finished Set the console keyboard layout.
[  OK  ] Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module drm.
[  OK  ] Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Modules.
[  OK  ] Finished Remount Root and Kernel File Systems.
         Mounting Kernel Configuration File System...
         Starting Flush Journal to Persistent Storage...
[    7.940227] systemd-journald[96]: Received client request to flush runtime journal.
         Starting Load/Save Random Seed...
         Starting Apply Kernel Variables...
         Starting Create System Users...
[  OK  ] Finished Coldplug All udev Devices.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Finished Create System Users.
[  OK  ] Finished Apply Kernel Variables.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Preparation for Local File Systems.
[  OK  ] Reached target Local File Systems.
         Starting Set console font and keymap...
         Starting Create Volatile Files and Directories...
         Starting Rule-based Manage鈥or Device Events and Files...
[  OK  ] Finished Set console font and keymap.
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Network Name Resolution...
         Starting Network Time Synchronization...
         Starting Record System Boot/Shutdown in UTMP...
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Finished Record System Boot/Shutdown in UTMP.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Trigger to poll fo鈥 enabled on GCP LTS non-pro).
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Started Ubuntu Advantage Timer for running repeated jobs.
[  OK  ] Reached target Path Units.
[  OK  ] Reached target Basic System.
[  OK  ] Reached target System Time Set.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Daily dpkg database backup timer.
[  OK  ] Started Periodic ext4 Onli鈥ta Check for All Filesystems.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Message of the Day.
[  OK  ] Reached target Timer Units.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Save initial kernel messages after boot.
         Starting Remove Stale Onli鈥4 Metadata Check Snapshots...
         Starting Dispatcher daemon for systemd-networkd...
         Starting System Logging Service...
         Starting OpenBSD Secure Shell server...
         Starting User Login Management...
         Starting Permit User Sessions...
[  OK  ] Started Network Name Resolution.
[  OK  ] Finished Permit User Sessions.
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Started Serial Getty on ttyS0.
         Starting Set console scheme...
[  OK  ] Finished Set console scheme.
[  OK  ] Created slice Slice /system/getty.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started System Logging Service.
[  OK  ] Started User Login Management.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Finished Remove Stale Onli鈥xt4 Metadata Check Snapshots.
[  OK  ] Started Dispatcher daemon for systemd-networkd.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Record Runlevel Change in UTMP...
[  OK  ] Finished Record Runlevel Change in UTMP.

Ubuntu 22.04 LTS xpdeb ttyS0

xpdeb login: 

总结:H618主线支持已经不错了,可用,放假有空再来微调设备树,现在只能先用OrangePi Zero3的设备树,目前只发现PC13被占用,OrangePi Zero3的PC13是给灯用的。

最近编辑记录 microxp (2024-09-14 16:17:03)

离线

#1 2024-09-15 12:39:45

armstrong
会员
注册时间: 2019-04-10
已发帖子: 285
积分: 194.5

Re: 有钱了,咱也能用上64位CPU了,入坑H618

多谢楼主分享!

离线

楼主 #2 2024-09-16 19:03:34

microxp
会员
注册时间: 2021-04-27
已发帖子: 76
积分: 124

Re: 有钱了,咱也能用上64位CPU了,入坑H618

今天发现第一个坑,全志的uboot主线emmc启动都有问题,h616,h618都是如此,还不确定是所有emmc都出问题还是特定型号,同一个spl u-boo刷到sd卡正常,刷到emmc卡就会出现read block error错误,但是看老外非常多人玩h618盒子的,硬件不同,但都是同样的问题,应该是普遍的。解决方法是把uboot里的emmc降频率,sipeed已经给u-boot打了补丁,https://github.com/sipeed/LonganPi-3H-SDK/blob/main/uboot/0007-lpi3h-drivers-emmc-add-emmc-boot-support.patch,看它是把频率降到了20Mhz,我自己改的是降到了12Mhz

最近编辑记录 microxp (2024-09-17 00:10:44)

离线

#3 2024-09-18 21:03:59

jordonwu
会员
注册时间: 2021-07-05
已发帖子: 63
积分: 44

Re: 有钱了,咱也能用上64位CPU了,入坑H618

这是哪家的板子?

离线

楼主 #4 2024-09-18 22:07:57

microxp
会员
注册时间: 2021-04-27
已发帖子: 76
积分: 124

Re: 有钱了,咱也能用上64位CPU了,入坑H618

jordonwu 说:

这是哪家的板子?

上面有logo呀,kickpi,以前我也没听过,看质量还行

离线

楼主 #5 2024-09-18 22:22:07

microxp
会员
注册时间: 2021-04-27
已发帖子: 76
积分: 124

Re: 有钱了,咱也能用上64位CPU了,入坑H618

今天踩第二个坑,调有线网,发现有线网速度很慢,10k都不到,但是看网卡状态都正常,最后发现orangepi的设备树文件有问题,
sun50i-h618-orangepi-zero3.dts中
&emac0 {
    allwinner,tx-delay-ps = <700>;
    phy-mode = "rgmii-rxid";
    phy-supply = <&reg_dldo1>;
它少写了一行rx的,导致网络完全不能工作,这板子的phy芯片和orangepi的不一样,又翻翻原理图发现orangepi zero3和这板子除了个h618芯片一样,其他的都不一样,但是sipeed家的longan pi 3h和这板子硬件基本一模一样,就几个引出脚不一样。6.11内核已经带了sipeed 3h的配置文件,正好直接换linux 6.11内核,设备树用sun50i-h618-longanpi-3h.dts,编译后网速终于正常,1000m满速很稳定。
结论:这板子推荐配6.11以后的内核,6.11里还带了h618的cpu驱动,终于可以调节频率了,以前版本的linux都是一个频率跑到死,因为没带cpu驱动。

最近编辑记录 microxp (2024-09-18 22:39:16)

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn