『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
楼主: XCray

[修仙教程] 【大功告成】23年7月更:M401A/CM311-1a盒子Armbian安装极其简单

  [复制链接]

7

主题

1064

帖子

3342

积分

论坛元老

Rank: 8Rank: 8

积分
3342
金钱
2278
HASS币
0
发表于 2022-8-18 10:18:19 | 显示全部楼层
XCray 发表于 2022-8-18 09:26
有种东西叫HDMI音视频分离器,估计你用挺合适。

感觉系统得能检测到并激活显示通道(HDMI、AV),相应的 ...

我猜也是这样的,不学习就是不行,我搜了下回音壁,要支持hdmi arc才行,不知道这货能不能在armbian上开通,还在搜索。感谢大佬。
回复

使用道具 举报

7

主题

1064

帖子

3342

积分

论坛元老

Rank: 8Rank: 8

积分
3342
金钱
2278
HASS币
0
发表于 2022-8-19 09:19:03 | 显示全部楼层
XCray 发表于 2022-8-18 06:28
你这才连电视呀?我记得几天前建议过你试试电视机。。。

在HDMI兼容性方面,电视机要比显示器普遍好得多 ...

3.5的莲花头接电视上并不出声,蓝牙音箱接上也不出声,应该是默认hdmi输出,其他的通道需要设置。
回复

使用道具 举报

98

主题

2866

帖子

1万

积分

超级版主

智能家居&单板滑雪痴迷爱好者

Rank: 8Rank: 8

积分
11435
金钱
8504
HASS币
460

教程狂人突出贡献

 楼主| 发表于 2022-8-19 10:57:15 | 显示全部楼层
隔壁的王叔叔 发表于 2022-8-19 09:19
3.5的莲花头接电视上并不出声,蓝牙音箱接上也不出声,应该是默认hdmi输出,其他的通道需要设置。 ...

我没试过,猜测蓝牙音箱连接后mpd里应该可以选它。3.5那个就不知道了,你连着3.5开机电视上有显示吗?
回复

使用道具 举报

7

主题

1064

帖子

3342

积分

论坛元老

Rank: 8Rank: 8

积分
3342
金钱
2278
HASS币
0
发表于 2022-8-19 12:08:37 | 显示全部楼层
XCray 发表于 2022-8-19 10:57
我没试过,猜测蓝牙音箱连接后mpd里应该可以选它。3.5那个就不知道了,你连着3.5开机电视上有显示吗? ...

没有,开着3.5,电视上没动静。蓝牙昨天连接了,mpd里没有看。今天再试试。
回复

使用道具 举报

4

主题

48

帖子

1826

积分

金牌会员

Rank: 6Rank: 6

积分
1826
金钱
1773
HASS币
20
发表于 2022-8-20 08:15:25 | 显示全部楼层
fallendawn 发表于 2022-8-4 02:44
运行一段时间 一个小时左右 随机的  又GG了  好像每次运行一段时间都会 而且不重启  
目前情况还是不可用

遇到同样的问题,麻烦问一下是怎么解决的,请大神们出手相助
1660952490943.png
回复

使用道具 举报

98

主题

2866

帖子

1万

积分

超级版主

智能家居&单板滑雪痴迷爱好者

Rank: 8Rank: 8

积分
11435
金钱
8504
HASS币
460

教程狂人突出贡献

 楼主| 发表于 2022-8-20 08:42:46 | 显示全部楼层
ttt105 发表于 2022-8-20 08:15
遇到同样的问题,麻烦问一下是怎么解决的,请大神们出手相助

问的时候最好把自己用的哪个镜像、内核版本、哪个dtb、哪个uboot、U盘启动还是emmc启动、emmc写没写bootloader、之前盒子用的什么安卓包等背景交待一下,你这样只说现象,可能的原因有很多,没法猜。

首先怀疑dtb用的不对,其次是uboot。有人改dtb追求超频,反而造成了很多盒子连启动都成问题,这玩意儿也超频感觉实在没啥必要。
回复

使用道具 举报

4

主题

48

帖子

1826

积分

金牌会员

Rank: 6Rank: 6

积分
1826
金钱
1773
HASS币
20
发表于 2022-8-20 11:29:54 | 显示全部楼层
本帖最后由 ttt105 于 2022-8-20 11:54 编辑
XCray 发表于 2022-8-20 08:42
问的时候最好把自己用的哪个镜像、内核版本、哪个dtb、哪个uboot、U盘启动还是emmc启动、emmc写没写bootl ...

1、U盘启动,2、使用是Armbian_22.08.0_Aml_s912_jammy_5.15.60_server_2022.08.13
3、Ubuntu的内核
4、dtb使用的是贴子里的meson-g12a-u201
5、之前写入过一次MMC,但是写了一半失败了
6、之前是使用的盒子自带的原版的安卓包,没有刷过机

另外:MMC里的bootloader怎么修改,我不太会,我 是小白一个
用把调试的收发口用TTL线接到电脑上,把运行记录复制过来了,请大神帮助分析一下哪里出了问题

<debug_uart>


U-Boot 2022.04-00910-gea5583b90f-dirty (Apr 22 2022 - 23:37:44 +0800) e900v22c

Model: Skyworth E900V22C Multimedia Box
SoC:   Amlogic Meson G12A (Unknown) Revision 28:c (70:2)
DRAM:  2 GiB
Core:  375 devices, 20 uclasses, devicetree: separate
MMC:   sd@ffe05000: 0, mmc@ffe07000: 1
Loading Environment from nowhere... OK
In:    serial@3000
Out:   serial@3000
Err:   serial@3000
Net:   eth0: ethernet@ff3f0000
Hit any key to stop autoboot:  0 
Card did not respond to voltage select! : -110
unable to select a mode : -5
MMC Device 2 not found
no mmc device at slot 2
starting USB...
Bus usb@ff500000: Register 3000140 NbrPorts 3
Starting the controller
USB XHCI 1.10
scanning bus usb@ff500000 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found

Device 0: Vendor: AI       Rev:  Prod: Mass Storage    
            Type: Removable Hard Disk
            Capacity: 15376.0 MB = 15.0 GB (31490176 x 512)
... is now current device
Scanning usb 0:1...
Found U-Boot script /boot.scr
1123 bytes read in 2 ms (547.9 KiB/s)
## Executing script at 08000000
Start AMLOGIC mainline U-boot
## Error: "bootfromsd" not defined
352 bytes read in 1 ms (343.8 KiB/s)
## Error: "mac" not defined
## Error: "eth_mac" not defined
ethaddr=de:69:5d:5a:8e:ed
26579456 bytes read in 897 ms (28.3 MiB/s)
8198052 bytes read in 278 ms (28.1 MiB/s)
46401 bytes read in 9 ms (4.9 MiB/s)
## Loading init Ramdisk from Legacy Image at 13000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    8197988 Bytes = 7.8 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 08008000
   Booting using the fdt blob at 0x8008000
   Loading Ramdisk to 3f82e000, end 3ffff764 ... OK
   Loading Device Tree to 000000003f81f000, end 000000003f82d540 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.60-flippy-75+o (root@univm25) (Ubuntu clang version 14.0.0-1ubuntu1, Ubuntu LLD 14.0.0) #152 SMP PREEMPT Thu Aug 11 20:37:57 CST 2022
[    0.000000] Machine model: Amlogic Meson G12A U200 Development Board
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000070000000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-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 0x0000000000000000-0x0000000004ffffff]
[    0.000000]   node   0: [mem 0x0000000005000000-0x00000000072fffff]
[    0.000000]   node   0: [mem 0x0000000007300000-0x000000000fffffff]
[    0.000000]   node   0: [mem 0x0000000010000000-0x00000000101fffff]
[    0.000000]   node   0: [mem 0x0000000010200000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 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.1
[    0.000000] percpu: Embedded 19 pages/cpu s37720 r8192 d31912 u77824
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] Kernel command line: root=UUID=9c7e5ea5-d520-4ffd-b143-68fd7c950a04 rootflags=data=writeback rw rootfstype=ext4 console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 mac=de:69:5d:5a:8e:ed
[    0.000000] Unknown kernel command line parameters "cgroup_enable=memory cgroup_memory=1 mac=de:69:5d:5a:8e:ed", will be passed to user space.
[    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] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1725664K/2097152K available (15168K kernel code, 2724K rwdata, 5956K rodata, 1984K init, 887K bss, 109344K reserved, 262144K 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 restricting CPUs from NR_CPUS=8 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 30 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    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] irq_meson_gpio: 100 to 8 gpio interrupt mux initialized
[    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.000220] Console: colour dummy device 80x25
[    0.000635] printk: console [tty0] enabled
[    0.000694] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
[    0.000718] pid_max: default: 32768 minimum: 301
[    0.000914] LSM: Security Framework initializing
[    0.001020] SELinux:  Initializing.
[    0.001277] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.001304] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.003414] rcu: Hierarchical SRCU implementation.
[    0.004709] EFI services will not be available.
[    0.005036] smp: Bringing up secondary CPUs ...
[    0.005658] Detected VIPT I-cache on CPU1
[    0.005718] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.006349] Detected VIPT I-cache on CPU2
[    0.006382] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.007050] Detected VIPT I-cache on CPU3
[    0.007078] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.007147] smp: Brought up 1 node, 4 CPUs
[    0.007212] SMP: Total of 4 processors activated.
[    0.007224] CPU features: detected: 32-bit EL0 Support
[    0.007234] CPU features: detected: 32-bit EL1 Support
[    0.007247] CPU features: detected: CRC32 instructions
[    0.008094] CPU: All CPU(s) started at EL2
[    0.008124] alternatives: patching kernel code
[    0.009968] devtmpfs: initialized
[    0.021333] Registered cp15_barrier emulation handler
[    0.021382] Registered setend emulation handler
[    0.021515] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.021545] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.027814] prandom: seed boundary self test passed
[    0.029003] prandom: 100 self tests passed
[    0.051979] prandom32: self test passed (less than 6 bits correlated)
[    0.052034] pinctrl core: initialized pinctrl subsystem
[    0.052717] DMI not present or invalid.
[    0.053185] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.055010] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.055165] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.055357] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.055433] audit: initializing netlink subsys (disabled)
[    0.055601] audit: type=2000 audit(0.053:1): state=initialized audit_enabled=0 res=1
[    0.056873] thermal_sys: Registered thermal governor 'step_wise'
[    0.057270] cpuidle: using governor ladder
[    0.057445] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.057554] ASID allocator initialised with 65536 entries
[    0.057697] Serial: AMBA PL011 UART driver
[    0.080661] platform ff900000.vpu: Fixing up cyclic dependency with ff600000.hdmi-tx
[    0.088885] platform cvbs-connector: Fixing up cyclic dependency with ff900000.vpu
[    0.089842] platform hdmi-connector: Fixing up cyclic dependency with ff600000.hdmi-tx
[    0.101848] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.101882] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.101897] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.101912] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    1.504172] cryptd: max_cpu_qlen set to 1000
[    1.507720] "cryptomgr_test" (94) uses obsolete ecb(arc4) skcipher
[    1.519166] alg: No test for 842 (842-generic)
[    1.519311] alg: No test for 842 (842-scomp)
[    1.609398] DRBG: Continuing without Jitter RNG
[    1.692533] raid6: neonx8   gen()  2223 MB/s
[    1.749280] raid6: neonx8   xor()  1599 MB/s
[    1.806047] raid6: neonx4   gen()  2215 MB/s
[    1.862792] raid6: neonx4   xor()  1536 MB/s
[    1.919561] raid6: neonx2   gen()  2031 MB/s
[    1.976308] raid6: neonx2   xor()  1435 MB/s
[    2.033090] raid6: neonx1   gen()  1661 MB/s
[    2.089826] raid6: neonx1   xor()  1168 MB/s
[    2.146593] raid6: int64x8  gen()  1506 MB/s
[    2.203346] raid6: int64x8  xor()   801 MB/s
[    2.260103] raid6: int64x4  gen()  1620 MB/s
[    2.316853] raid6: int64x4  xor()   823 MB/s
[    2.373628] raid6: int64x2  gen()  1381 MB/s
[    2.430402] raid6: int64x2  xor()   736 MB/s
[    2.487120] raid6: int64x1  gen()  1162 MB/s
[    2.543861] raid6: int64x1  xor()   583 MB/s
[    2.543874] raid6: using algorithm neonx8 gen() 2223 MB/s
[    2.543886] raid6: .... xor() 1599 MB/s, rmw enabled
[    2.543897] raid6: using neon recovery algorithm
[    2.544068] fbcon: Taking over console
[    2.544100] ACPI: Interpreter disabled.
[    2.545585] VDDAO_3V3: supplied by 12V
[    2.545980] iommu: Default domain type: Translated 
[    2.545994] iommu: DMA domain TLB invalidation policy: strict mode 
[    2.546346] vgaarb: loaded
[    2.546857] SCSI subsystem initialized
[    2.547087] usbcore: registered new interface driver usbfs
[    2.547135] usbcore: registered new interface driver hub
[    2.547178] usbcore: registered new device driver usb
[    2.547624] mc: Linux media interface: v0.10
[    2.547658] videodev: Linux video capture interface: v2.00
[    2.547923] EDAC MC: Ver: 3.0.0
[    2.549016] Advanced Linux Sound Architecture Driver Initialized.
[    2.550082] clocksource: Switched to clocksource arch_sys_counter
[    2.550383] VFS: Disk quotas dquot_6.6.0
[    2.550455] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    2.550613] FS-Cache: Loaded
[    2.551012] pnp: PnP ACPI: disabled
[    2.558161] NET: Registered PF_INET protocol family
[    2.558360] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    2.559566] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    2.559610] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    2.559633] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    2.559826] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    2.560058] TCP: Hash tables configured (established 16384 bind 16384)
[    2.560271] MPTCP token hash table entries: 2048 (order: 3, 49152 bytes, linear)
[    2.560364] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    2.560419] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    2.560588] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    2.560624] NET: Registered PF_XDP protocol family
[    2.560643] PCI: CLS 0 bytes, default 64
[    2.560892] Trying to unpack rootfs image as initramfs...
[    2.570826] kvm [1]: IPA Size Limit: 40 bits
[    2.571775] kvm [1]: vgic interrupt IRQ9
[    2.571926] kvm [1]: Hyp mode initialized successfully
[    3.105414] Freeing initrd memory: 8004K
[    3.307690] Initialise system trusted keyrings
[    3.307889] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    3.314923] zbud: loaded
[    3.317046] fuse: init (API version 7.34)
[    3.317516] SGI XFS with ACLs, security attributes, quota, no debug enabled
[    3.357699] NET: Registered PF_ALG protocol family
[    3.408120] xor: measuring software checksum speed
[    3.412939]    8regs           :  2051 MB/sec
[    3.416343]    32regs          :  2908 MB/sec
[    3.420933]    arm64_neon      :  2154 MB/sec
[    3.420945] xor: using function: 32regs (2908 MB/sec)
[    3.420960] Key type asymmetric registered
[    3.420971] Asymmetric key parser 'x509' registered
[    3.421075] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    3.421212] io scheduler mq-deadline registered
[    3.421227] io scheduler kyber registered
[    3.421377] io scheduler bfq registered
[    3.449446] soc soc0: Amlogic Meson G12A (Unknown) Revision 28:c (70:2) Detected
[    3.451003] VDDCPU: supplied by 12V
[    3.452403] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
[    3.454355] Serial: AMBA driver
[    3.454740] ff803000.serial: ttyAML0 at MMIO 0xff803000 (irq = 22, base_baud = 1500000) is a meson_uart
[    4.469969] printk: console [ttyAML0] enabled
[    4.474903] ffd24000.serial: ttyAML1 at MMIO 0xffd24000 (irq = 30, base_baud = 1500000) is a meson_uart
[    4.492361] brd: module loaded
[    4.496399] loop: module loaded
[    4.503947] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.504862] ehci-pci: EHCI PCI platform driver
[    4.509311] ehci-platform: EHCI generic platform driver
[    4.514962] usbcore: registered new interface driver cdc_wdm
[    4.520100] usbcore: registered new interface driver usb-storage
[    4.526455] mousedev: PS/2 mouse device common for all mice
[    4.532478] SPI driver rmi4_spi has no spi_device_id for syna,rmi4-spi
[    4.538680] meson-vrtc ff8000a8.rtc: registered as rtc0
[    4.543176] meson-vrtc ff8000a8.rtc: setting system clock to 1970-01-01T00:00:04 UTC (4)
[    4.551598] i2c_dev: i2c /dev entries driver
[    4.559189] debugfs: Directory 'ff800280.cec' with parent 'regmap' already present!
[    4.563360] Registered IR keymap rc-cec
[    4.566903] rc rc0: meson_g12a_ao_cec as /devices/platform/soc/ff800000.bus/ff800280.cec/rc/rc0
[    4.575563] input: meson_g12a_ao_cec as /devices/platform/soc/ff800000.bus/ff800280.cec/rc/rc0/input0
[    4.592161] ------------[ cut here ]------------
[    4.592199] kobject: ¿' ((____ptrval____)): is not initialized, yet kobject_put() is being called.
[    4.600350] WARNING: CPU: 3 PID: 1 at lib/kobject.c:752 kobject_put+0x34/0x90
[    4.607374] Modules linked in:
[    4.610394] CPU: 3 PID: 1 Comm: swapper/0 Not tainted 5.15.60-flippy-75+o #152
[    4.617551] Hardware name: Amlogic Meson G12A U200 Development Board (DT)
[    4.620079] Unable to handle kernel paging request at virtual address ffffffc05e17a280
[    4.624280] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    4.632127] Mem abort info:
[    4.639027] pc : kobject_put+0x34/0x90
[    4.641787]   ESR = 0x96000005
[    4.645496] lr : kobject_put+0x34/0x90
[    4.648515]   EC = 0x25: DABT (current EL), IL = 32 bits
[    4.652223] sp : ffffffc00802bba0
[    4.657485]   SET = 0, FnV = 0
[    4.660762] x29: ffffffc00802bba0
[    4.663781]   EA = 0, S1PTW = 0
[    4.663781]  x28: 0000000000000000 x27: 0000000000000000
[    4.667058]   FSC = 0x05: level 1 translation fault
[    4.670163] 
[    4.675425] Data abort info:
[    4.680255] x26: 0000000000000000
[    4.681721]   ISV = 0, ISS = 0x00000005
[    4.684567]  x25: 0000000000000000
[    4.687845]   CM = 0, WnR = 0
[    4.691640]  x24: 0000000000000000
[    4.695004] swapper pgtable: 4k pages, 39-bit VAs, pgdp=0000000009537000
[    4.697936] 
[    4.701300] [ffffffc05e17a280] pgd=0000000000000000
[    4.707941] x23: 0000000000000000
[    4.709407] , p4d=0000000000000000
[    4.714237]  x22: 0000000000000000
[    4.717515] , pud=0000000000000000
[    4.720878]  x21: ffffff800008d400
[    4.724242] 
[    4.727606] 
[    4.730971] Internal error: Oops: 96000005 [#1] PREEMPT SMP
[    4.732436] x20: ffffff8001031f08
[    4.733903] Modules linked in:
[    4.739422]  x19: ffffff8001031f08
[    4.742700] 
[    4.745718]  x18: ffffffffffffffff
[    4.749082] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.15.60-flippy-75+o #152
[    4.750548] 
[    4.753912] Hardware name: Amlogic Meson G12A U200 Development Board (DT)
[    4.761071] x17: 656a626f6b207465
[    4.762537] pstate: 000000c5 (nzcv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    4.769265]  x16: 00000000ffffe000
[    4.772542] pc : update_process_times+0x6c/0xd0
[    4.779442]  x15: 0000000000000004
[    4.782806] lr : tick_sched_timer+0x15c/0x1c0
[    4.787291] 
[    4.790655] sp : ffffffc008003df0
[    4.794967] x14: ffffffc00a7b23c0
[    4.796433] x29: ffffffc008003df0
[    4.799711]  x13: 0000000000001fff
[    4.802988]  x28: ffffff806ff48fe8
[    4.806266]  x12: 0000000000000003
[    4.809630]  x27: 0000000112f9e3c5
[    4.812993] 
[    4.816357] 
[    4.819721] x11: 00000000ffffdfff
[    4.821187] x26: ffffff806ff48fd8
[    4.822653]  x10: 0000000000000001
[    4.825931]  x25: ffffff806ff48fd0
[    4.829208]  x9 : c1a744b753090e00
[    4.832572]  x24: ffffffc0091ad510
[    4.835936] 
[    4.839300] 
[    4.842663] x8 : c1a744b753090e00
[    4.844130] x23: ffffff806ff49498
[    4.845596]  x7 : 0720072007200720
[    4.848873]  x22: 000000000032dcd5
[    4.852151]  x6 : 0720072007200720
[    4.855515]  x21: ffffffc00a736000
[    4.858878] 
[    4.862242] 
[    4.865606] x5 : ffffff800002af00
[    4.867072] x20: ffffffc00a7476c0
[    4.868538]  x4 : 0000000000000001
[    4.871816]  x19: 0000000000000000
[    4.875093]  x3 : 0000000000000000
[    4.878457]  x18: ffffffc00a2e0e14
[    4.881821] 
[    4.885185] 
[    4.888548] x2 : 0000000000000000
[    4.890015] x17: ffffffc065835000
[    4.891481]  x1 : ffffffc00a29737e
[    4.894758]  x16: ffffffc008004000
[    4.898036]  x0 : 0000000000000059
[    4.901400]  x15: 000032dcd5ab3080
[    4.904763] 
[    4.908127] 
[    4.911491] Call trace:
[    4.912957] x14: 0000000000013880
[    4.914424]  kobject_put+0x34/0x90
[    4.916838]  x13: 0000000000ff2aa3
[    4.920116]  driver_register+0x68/0x114
[    4.923480]  x12: 0032dcd555555555
[    4.926844]  __platform_driver_register+0x24/0x30
[    4.930638] 
[    4.934002]  psci_idle_init+0x30/0xb4
[    4.938660] x11: 55cfb3f427fc4ae9
[    4.940126]  __initstub__kmod_cpuidle_psci__364_455_psci_idle_init6+0x10/0x1c
[    4.943748]  x10: ffffffc00a716248
[    4.947026]  do_one_initcall+0xa8/0x20c
[    4.954098]  x9 : ffffffc00a712d00
[    4.957462]  do_initcall_level+0x94/0xb4
[    4.961257] 
[    4.964621]  do_initcalls+0x54/0x94
[    4.968502] x8 : ffffffc00a73ec80
[    4.969969]  do_basic_setup+0x1c/0x28
[    4.973418]  x7 : 000032dcd555bd80
[    4.976696]  kernel_init_freeable+0x120/0x184
[    4.980318]  x6 : ffffffffffaa4280
[    4.983682]  kernel_init+0x20/0x19c
[    4.987995] 
[    4.991359]  ret_from_fork+0x10/0x20
[    4.994808] x5 : ffffffc00aa26ca0
[    4.996286] ---[ end trace f00ab9faa1f9ea58 ]---
[    4.999811]  x4 : ffffffc00aa26df0
[    5.003103] ------------[ cut here ]------------
[    5.007660]  x3 : ffffffc00aa26c40
[    5.007663] x2 : ffffffffffffffd0 x1 : 0000000000000000
[    5.011029] refcount_t: underflow; use-after-free.
[    5.015595]  x0 : ffffffc00a7476c0
[    5.015598] Call trace:
[    5.015601]  update_process_times+0x6c/0xd0
[    5.018999] WARNING: CPU: 3 PID: 1 at lib/refcount.c:28 refcount_warn_saturate+0x108/0x148
[    5.024134]  tick_sched_timer+0x15c/0x1c0
[    5.028877] Modules linked in:
[    5.032241]  __hrtimer_run_queues+0x124/0x1d0
[    5.034656] 
[    5.038796]  hrtimer_interrupt+0xec/0x3ac
[    5.046990] CPU: 3 PID: 1 Comm: swapper/0 Tainted: G        W         5.15.60-flippy-75+o #152
[    5.050957]  arch_timer_handler_phys+0x3c/0x4c
[    5.053976] Hardware name: Amlogic Meson G12A U200 Development Board (DT)
[    5.058289]  handle_percpu_devid_irq+0x98/0x17c
[    5.059755] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    5.063722]  handle_domain_irq+0x80/0xe4
[    5.072261] pc : refcount_warn_saturate+0x108/0x148
[    5.076660]  gic_handle_irq+0x68/0xfc
[    5.083387] lr : refcount_warn_saturate+0x108/0x148
[    5.087872]  call_on_irq_stack+0x2c/0x38
[    5.094772] sp : ffffffc00802bb90
[    5.098654]  do_interrupt_handler+0x3c/0x50
[    5.103483] x29: ffffffc00802bb90
[    5.107106]  el1_interrupt+0x30/0x5c
[    5.111936]  x28: 0000000000000000
[    5.115817]  el1h_64_irq_handler+0x18/0x24
[    5.119095]  x27: 0000000000000000
[    5.123235]  el1h_64_irq+0x78/0x7c
[    5.126512] 
[    5.130048]  arch_local_irq_enable+0xc/0x2c
[    5.133412] x26: 0000000000000000
[    5.137466]  default_idle_call+0x24/0x84
[    5.140830]  x25: 0000000000000000
[    5.144193]  cpuidle_idle_call+0x68/0x1bc
[    5.145660]  x24: 0000000000000000
[    5.149800]  do_idle.llvm.4456263127363871124+0x88/0xcc
[    5.153077] 
[    5.156959]  cpu_startup_entry+0x24/0x28
[    5.160322] x23: 0000000000000000
[    5.164290]  kernel_init+0x0/0x19c
[    5.167653]  x22: 0000000000000000
[    5.172829]  start_kernel+0x0/0x4bc
[    5.174295]  x21: ffffff800008d400
[    5.178176]  start_kernel+0x39c/0x4bc
[    5.181453] 
[    5.184817]  __primary_switched+0xa4/0x7b98
[    5.188181] x20: ffffff8001031f08
[    5.191634] Code: f000ad08 f000aba9 91320108 91340129 (f8605908) 
[    5.194995]  x19: ffffff8001031f08
[    5.198618] ---[ end trace f00ab9faa1f9ea59 ]---
[    5.200083]  x18: ffffffffffffffff
[    5.204225] Kernel panic - not syncing: Oops: Fatal exception in interrupt
[    5.207501] 
[    5.213539] SMP: stopping secondary CPUs
[    5.216902] x17: ffffffc00802b83f x16: 0000000000000000 x15: 0720072007200720
[    5.244071] x14: 0720072007200720 x13: 0000000000000000 x12: 0000000000000000
[    5.251144] x11: 00000000ffffffff x10: 0000000000000001 x9 : c1a744b753090e00
[    5.258216] x8 : c1a744b753090e00 x7 : 0720072007200720 x6 : 0720072007200720
[    5.265289] x5 : ffffff800002af00 x4 : ffffff800002afa0 x3 : ffffffc00995ab34
[    5.272361] x2 : 0000000000000026 x1 : 0000000000000000 x0 : 0000000000000026
[    5.279434] Call trace:
[    5.281849]  refcount_warn_saturate+0x108/0x148
[    5.286334]  kobject_put+0x8c/0x90
[    5.289698]  driver_register+0x68/0x114
[    5.293493]  __platform_driver_register+0x24/0x30
[    5.298150]  psci_idle_init+0x30/0xb4
[    5.301773]  __initstub__kmod_cpuidle_psci__364_455_psci_idle_init6+0x10/0x1c
[    5.308845]  do_one_initcall+0xa8/0x20c
[    5.312640]  do_initcall_level+0x94/0xb4
[    5.316521]  do_initcalls+0x54/0x94
[    5.319971]  do_basic_setup+0x1c/0x28
[    5.323594]  kernel_init_freeable+0x120/0x184
[    5.327906]  kernel_init+0x20/0x19c
[    5.331356]  ret_from_fork+0x10/0x20
[    5.334893] ---[ end trace f00ab9faa1f9ea5a ]---
[    5.339467] Kernel Offset: disabled
[    5.342914] CPU features: 0x00002001,00000846
[    5.347226] Memory Limit: none
[    5.350247] ---[ end Kernel panic - not syncing: Oops: Fatal exception in interrupt ]---


回复

使用道具 举报

98

主题

2866

帖子

1万

积分

超级版主

智能家居&单板滑雪痴迷爱好者

Rank: 8Rank: 8

积分
11435
金钱
8504
HASS币
460

教程狂人突出贡献

 楼主| 发表于 2022-8-20 12:45:17 | 显示全部楼层
ttt105 发表于 2022-8-20 11:29
1、U盘启动,2、使用是Armbian_22.08.0_Aml_s912_jammy_5.15.60_server_2022.08.13
3、Ubuntu的内核
4、dt ...

你说的还缺少很多关键信息,而且有些矛盾啊

先说说是什么盒子???为啥用s912的镜像?

没有“Ubuntu的内核”这种说法 你说的那个镜像用的5.15.60的内核。

帖子里的meson-g12a-u201是M401A或CM311-1a用的(也不是所有同型号的盒子都能用,盒子厂家没谱)。

之前写入过一次emmc——当时用什么镜像/内核/dtb/uboot启动的?
写了一半失败了——怎么还有这种事情?当时具体信息还能说出来多少?失败之后没有用线刷包再刷一遍??

你贴出来的TTL记录显示开头运行的已经是e900v22c的uboot了,而你说的镜像是不会运行这个uboot的,怀疑是你上次失败的写入遗留在emmc里的。

建议:先把背景信息尽量都说出来、用合适的安卓线刷包重新刷一遍,然后再用5.4-5.9以及5.15内核的镜像写入U盘启动,看看啥现象。
回复

使用道具 举报

2

主题

149

帖子

1171

积分

金牌会员

Rank: 6Rank: 6

积分
1171
金钱
1022
HASS币
0
发表于 2022-8-20 15:58:39 | 显示全部楼层
XCray 发表于 2022-8-8 10:48
重新整理安装步骤(该款盒子Armbian安装终极教程?你的盒子不一定直接就能用,一定要先自行用U盘测试dtb和u ...

大佬,CM311-1a使用5.15内核,需要做第6步吗?
回复

使用道具 举报

98

主题

2866

帖子

1万

积分

超级版主

智能家居&单板滑雪痴迷爱好者

Rank: 8Rank: 8

积分
11435
金钱
8504
HASS币
460

教程狂人突出贡献

 楼主| 发表于 2022-8-20 16:48:38 | 显示全部楼层
luckfly 发表于 2022-8-20 15:58
大佬,CM311-1a使用5.15内核,需要做第6步吗?

不需要。

另建议修改/etc/ophub-release:
MAINLINE_UBOOT=''

避免以后误写bootloader变砖
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-19 23:54 , Processed in 0.063721 second(s), 33 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表