Closed indiboy closed 2 years ago
8GBU盘刷了最新的bullseye,c和e,都不正常,能亮红灯,路由器上找不到设备。 检查发现U盘的ext4系统分区不会自动扩大,还是烧录后的1点几个G大小
1.0板子,所有版本,直刷和U盘启动均不能正常启动,报错信息也看不明 TTL打印的启动该信息:
CPU clock is 792MHz
DDR mode: 32 bit mode (auto) DDR size: 1GB (auto) DDR check: Pass! DDR clock: 696MHz with 2T mode DDR pll bypass: Disabled DDR init use : 17258 us
HHH Boot From SDIO C SD_boot_type: 00000002 card_type: 00000003 0x0000009f ucl decompress...pass 0x12345678 Boot from internal device 1st eMMC on SDIO C
TE : 190217
System Started
U-boot-00000-g9a29cb7(m8b_onecloud@onecloud) (Jul 27 2022 - 09:45:22)
0: bootloader 0 400000 0 1: reserved 2400000 4000000 0 2: cache 6c00000 0 0 3: env 7400000 800000 0 4: resource 8400000 2000000 4 5: boot ac00000 10000000 4 6: rootfs 1b400000 1b6c00000 4 mmc read lba=0x12000, blocks=0x1 mmc read lba=0x12001, blocks=0x1 mmc_read_partition_tbl: mmc read partition OK! eMMC/TSD partition table have been checked OK! device_boot_flag=2 EMMC BOOT: not init nand do not init nand : cause boot_device_flag without nand MMC BOOT, emmc_env_relocate_spec : env_relocate_spec 74 set_storage_device_flag: store 2 vpu clk_level = 3 set vpu clk: 182150000Hz, readback: 182150000Hz(0x701) Net: Meson_Ethernet cvbs trimming.1.v5: 0xa0, 0x0 tv_enable hdmi_tx_power_init TV mode 1080p selected. mode = 8 vic = 16 set HDMI vic: 16 mode is: 8 viu chan = 1 config HPLL config HPLL done reconfig packet setting done Enter USB burn Try connect time out 1001, 1000, 774 Hit Enter key to stop autoboot -- : 0 exit abortboot: 0 (Re)start USB(0)... USB0: dwc_usb driver version: 2.94 6-June-2012 USB (0) peri reg base: c1108800 USB (0) use clock source: XTAL input USB (0) base addr: 0xc9040000 Force id mode: Host dwc_otg: No USB device found ! lowlevel init failed USB1: dwc_usb driver version: 2.94 6-June-2012 USB (1) peri reg base: c1108820 USB (1) use clock source: XTAL input USB (1) base addr: 0xc90c0000 Force id mode: Host dwc_otg: Highspeed device found !
scanning bus 1 for devices... 1 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found reading boot.scr
1621 bytes read
Try to boot from usb 0 reading /armbianEnv.txt
Unable to read "/armbianEnv.txt" from usb 0:1 reading /uImage
8991296 bytes read reading /uInitrd
9226094 bytes read reading /dtb/meson8b-onecloud.dtb
19867 bytes read
Image Name: Linux Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 8991232 Bytes = 8.6 MiB Load Address: 02080000 Entry Point: 02080000 Verifying Checksum ... OK
Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 9226030 Bytes = 8.8 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK
Booting using the fdt blob at 0x21800000 board_usb_stop cfg: 0 Loading Kernel Image ... OK OK uboot time: 27500704 us. EFUSE machid is not set. Using machid 0xf81 from environment faild to get aml_reserved_end address the default relocate ramdisk and fdt address-relocate_addr: 0x20000000 Loading Ramdisk to 1f733000, end 1ffff72e ... OK Loading Device Tree to 1f72b000, end 1f732d9a ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x200
[ 0.000000] Linux version 5.14.21-meson (root@fv-az460-364) (arm-linux-gnueabihf-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0, GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #trunk SMP Mon Aug 8 16:48:28 UTC 2022
[ 0.000000] CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Xunlei OneCloud
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 64 MiB at 0x3c000000
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x000000002fffffff]
[ 0.000000] HighMem [mem 0x0000000030000000-0x000000003fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x00000000001fffff]
[ 0.000000] node 0: [mem 0x0000000000200000-0x000000003fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff]
[ 0.000000] percpu: Embedded 21 pages/cpu s55628 r8192 d22196 u86016
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 260416
[ 0.000000] Kernel command line: root=/dev/sda2 rootwait rw console=ttyAML0,115200n8 no_console_suspend consoleblank=0
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[ 0.000000] Memory: 941380K/1048576K available (13312K kernel code, 1354K rwdata, 3580K rodata, 1024K init, 353K bss, 41660K reserved, 65536K cma-reserved, 196608K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] trace event string verifier disabled
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Rude variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] irq_meson_gpio: 119 to 8 gpio interrupt mux initialized
[ 0.000000] L2C-310 erratum 769419 enabled
[ 0.000000] L2C-310 early BRESP only supported with Cortex-A9
[ 0.000000] L2C-310: disabling Cortex-A9 specific feature bits
[ 0.000000] L2C-310 ID prefetch enabled, offset 8 lines
[ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[ 0.000000] L2C-310 cache controller enabled, 8 ways, 512 kB
[ 0.000000] L2C-310: CACHE_ID 0x4100a0c9, AUX_CTRL 0x3ec60000
[ 0.000000] random: get_random_bytes called from start_kernel+0x558/0x73c with crng_init=0
[ 0.000003] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[ 0.000050] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[ 0.000111] Switching to timer-based delay loop, resolution 1000ns
[ 0.001108] Console: colour dummy device 80x30
[ 0.001192] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[ 0.001219] pid_max: default: 32768 minimum: 301
[ 0.001396] LSM: Security Framework initializing
[ 0.001459] Yama: becoming mindful.
[ 0.001539] SELinux: Initializing.
[ 0.001632] TOMOYO Linux initialized
[ 0.001725] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.001755] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.003047] CPU: Testing write buffer coherency: ok
[ 0.003511] CPU0: thread -1, cpu 0, socket 2, mpidr 80000200
[ 0.005058] Setting up static identity map for 0x300000 - 0x300060
[ 0.005269] rcu: Hierarchical SRCU implementation.
[ 0.006448] EFI services will not be available.
[ 0.006851] smp: Bringing up secondary CPUs ...
[ 0.007779] CPU1: thread -1, cpu 1, socket 2, mpidr 80000201
[ 0.008868] CPU2: thread -1, cpu 2, socket 2, mpidr 80000202
[ 0.009889] CPU3: thread -1, cpu 3, socket 2, mpidr 80000203
[ 0.010045] smp: Brought up 1 node, 4 CPUs
[ 0.010085] SMP: Total of 4 processors activated (8.00 BogoMIPS).
[ 0.010101] CPU: All CPU(s) started in SVC mode.
[ 0.011024] devtmpfs: initialized
[ 0.017593] VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1
[ 0.017924] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.018002] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.022337] pinctrl core: initialized pinctrl subsystem
[ 0.023436] DMI not present or invalid.
[ 0.023965] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.032257] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.033079] audit: initializing netlink subsys (disabled)
[ 0.033388] audit: type=2000 audit(0.030:1): state=initialized audit_enabled=0 res=1
[ 0.034381] thermal_sys: Registered thermal governor 'fair_share'
[ 0.034395] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.034410] thermal_sys: Registered thermal governor 'step_wise'
[ 0.034423] thermal_sys: Registered thermal governor 'user_space'
[ 0.034913] cpuidle: using governor menu
[ 0.035253] No ATAGs?
[ 0.035445] hw-breakpoint: found 2 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.035471] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.036399] Serial: AMBA PL011 UART driver
[ 0.067250] Kprobes globally optimized
[ 0.070656] cryptd: max_cpu_qlen set to 1000
[ 0.240422] raid6: neonx8 gen() 502 MB/s
[ 0.410401] raid6: neonx8 xor() 352 MB/s
[ 0.580422] raid6: neonx4 gen() 551 MB/s
[ 0.750402] raid6: neonx4 xor() 394 MB/s
[ 0.920431] raid6: neonx2 gen() 620 MB/s
[ 1.090397] raid6: neonx2 xor() 429 MB/s
[ 1.260456] raid6: neonx1 gen() 433 MB/s
[ 1.430394] raid6: neonx1 xor() 369 MB/s
[ 1.600500] raid6: int32x8 gen() 190 MB/s
[ 1.770414] raid6: int32x8 xor() 121 MB/s
[ 1.940411] raid6: int32x4 gen() 217 MB/s
[ 2.110445] raid6: int32x4 xor() 132 MB/s
[ 2.280459] raid6: int32x2 gen() 256 MB/s
[ 2.450423] raid6: int32x2 xor() 133 MB/s
[ 2.620484] raid6: int32x1 gen() 258 MB/s
[ 2.790420] raid6: int32x1 xor() 127 MB/s
[ 2.790438] raid6: using algorithm neonx2 gen() 620 MB/s
[ 2.790451] raid6: .... xor() 429 MB/s, rmw enabled
[ 2.790462] raid6: using neon recovery algorithm
[ 2.792799] VCC5V: supplied by P12V
[ 2.793260] VCC3V3: supplied by P12V
[ 2.793738] VCC1V8: supplied by P12V
[ 2.794255] VCC_DDR: supplied by VCC3V3
[ 2.796966] vgaarb: loaded
[ 2.798318] SCSI subsystem initialized
[ 2.799036] usbcore: registered new interface driver usbfs
[ 2.799119] usbcore: registered new interface driver hub
[ 2.799198] usbcore: registered new device driver usb
[ 2.799838] pps_core: LinuxPPS API ver. 1 registered
[ 2.799857] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 2.799892] PTP clock support registered
[ 2.800123] EDAC MC: Ver: 3.0.0
[ 2.802163] NetLabel: Initializing
[ 2.802186] NetLabel: domain hash size = 128
[ 2.802197] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 2.802331] NetLabel: unlabeled traffic allowed by default
[ 2.802981] clocksource: Switched to clocksource timer
[ 2.854852] VFS: Disk quotas dquot_6.6.0
[ 2.854978] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 2.956077] NET: Registered PF_INET protocol family
[ 2.956330] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 2.957763] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 2.957841] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 2.957988] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 2.958145] TCP: Hash tables configured (established 8192 bind 8192)
[ 2.958456] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear)
[ 2.958562] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 2.958632] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 2.958923] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 2.958971] NET: Registered PF_XDP protocol family
[ 2.958995] PCI: CLS 0 bytes, default 64
[ 2.961099] Trying to unpack rootfs image as initramfs...
[ 2.963247] hw perfevents: enabled with armv7_cortex_a5 PMU driver, 3 counters available
[ 2.965173] Initialise system trusted keyrings
[ 2.965258] Key type blacklist registered
[ 2.965622] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 2.978000] integrity: Platform Keyring initialized
[ 3.120766] xor: measuring software checksum speed
[ 3.135200] arm4regs : 688 MB/sec
[ 3.150344] 8regs : 653 MB/sec
[ 3.166680] 32regs : 604 MB/sec
[ 3.180884] neon : 694 MB/sec
[ 3.180907] xor: using function: neon (694 MB/sec)
[ 3.180951] Key type asymmetric registered
[ 3.180967] Asymmetric key parser 'x509' registered
[ 3.181219] bounce: pool size: 64 pages
[ 3.181375] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 3.181685] io scheduler mq-deadline registered
[ 3.181710] io scheduler kyber registered
[ 3.181922] io scheduler bfq registered
[ 3.196500] soc soc0: Amlogic Meson8b (S805) RevA (1b - 0:B72) detected
[ 3.198283] VCC_CORE: supplied by P12V
[ 3.200221] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[ 3.214875] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 34, base_baud = 9960937) is a meson_uart
[ 3.754817] Freeing initrd memory: 9012K
[ 3.756158] printk: console [ttyAML0] enabled
[ 4.124075] STMicroelectronics ASC driver initialized
[ 4.148704] brd: module loaded
[ 4.163315] loop: module loaded
[ 4.167716] libphy: Fixed MDIO Bus: probed
[ 4.169815] tun: Universal TUN/TAP device driver, 1.6
[ 4.172378] e1000e: Intel(R) PRO/1000 Network Driver
[ 4.176215] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 4.182170] igb: Intel(R) Gigabit Ethernet Network Driver
[ 4.187485] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 4.194885] pegasus: Pegasus/Pegasus II USB Ethernet driver
[ 4.198634] usbcore: registered new interface driver pegasus
[ 4.204320] usbcore: registered new interface driver asix
[ 4.209653] usbcore: registered new interface driver ax88179_178a
[ 4.215761] usbcore: registered new interface driver cdc_ether
[ 4.221580] usbcore: registered new interface driver smsc95xx
[ 4.227309] usbcore: registered new interface driver net1080
[ 4.232925] usbcore: registered new interface driver cdc_subset
[ 4.238852] usbcore: registered new interface driver zaurus
[ 4.244433] usbcore: registered new interface driver cdc_ncm
[ 4.251892] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.256528] ehci-pci: EHCI PCI platform driver
[ 4.260987] ehci-platform: EHCI generic platform driver
[ 4.266371] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 4.272338] ohci-pci: OHCI PCI platform driver
[ 4.276831] ohci-platform: OHCI generic platform driver
[ 4.282698] usbcore: registered new interface driver usb-storage
[ 4.290963] i2c /dev entries driver
[ 4.293970] meson_wdt c1109900.watchdog: Watchdog enabled (timeout=8 sec, nowayout=0)
[ 4.305264] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 792000 KHz, changing to: 816000 KHz
[ 4.311404] sdhci: Secure Digital Host Controller Interface driver
[ 4.317633] sdhci: Copyright(c) Pierre Ossman
[ 4.320767] SPI driver mmc_spi has no spi_device_id for mmc-spi-slot
[ 4.327303] sdhci-pltfm: SDHCI platform and OF driver helper
[ 4.329181] platform c1108c20.mmc:slot@1: Got CD GPIO
[ 4.338530] ledtrig-cpu: registered to indicate activity on CPUs
[ 4.344210] usbcore: registered new interface driver usbhid
[ 4.349336] usbhid: USB HID core driver
[ 4.354114] drop_monitor: Initializing network drop monitor service
[ 4.359631] Initializing XFRM netlink socket
[ 4.366020] NET: Registered PF_INET6 protocol family
[ 5.848675] Segment Routing with IPv6
[ 5.849672] RPL Segment Routing with IPv6
[ 5.855553] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 5.911947] NET: Registered PF_PACKET protocol family
[ 5.915536] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 5.931052] Key type dns_resolver registered
[ 5.939166] ThumbEE CPU extension supported.
[ 5.940233] Registering SWP/SWPB emulation handler
[ 5.972684] registered taskstats version 1
[ 5.974744] Loading compiled-in X.509 certificates
[ 6.325519] Loaded X.509 cert 'Build time autogenerated kernel key: b4223d5f7a2f5f2221338d04d52e2905135b1e69'
[ 6.342393] Key type ._fscrypt registered
[ 6.344092] Key type .fscrypt registered
[ 6.345327] Key type fscrypt-provisioning registered
[ 6.482865] Btrfs loaded, crc32c=crc32c-generic, integrity-checker=on, zoned=no
[ 7.450582] Key type encrypted registered
[ 7.452567] ima: No TPM chip found, activating TPM-bypass!
[ 7.456596] ima: Allocated hash algorithm: sha256
[ 7.461316] ima: No architecture policies found
[ 319.499246] rcu: INFO: rcu_sched self-detected stall on CPU
[ 319.500460] rcu: 3-...!: (1 ticks this GP) idle=102/1/0x40000002 softirq=48/48 fqs=0
[ 319.507832] (t=31512 jiffies g=-1115 q=207)
[ 319.512071] rcu: rcu_sched kthread timer wakeup didn't happen for 31511 jiffies! g-1115 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
[ 319.523344] rcu: Possible timer handling issue on cpu=3 timer-softirq=201
[ 319.530209] rcu: rcu_sched kthread starved for 31512 jiffies! g-1115 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=3
[ 319.540539] rcu: Unless rcu_sched kthread gets sufficient CPU time, OOM is now expected behavior.
[ 319.549477] rcu: RCU grace-period kthread stack dump:
[ 319.554528] task:rcu_sched state:I stack: 0 pid: 13 ppid: 2 flags:0x00000000
[ 319.563053] [
系统崩了,大概率确实是电压太低了。待修复。
大佬:最新版与6.30版本主要修复了啥?个人轻度应用,感觉6.30挺好用!
具体看commit log
。官方有一些别的修改。
我自己的提交的话就是:
请分别使用压缩包里面的
dtb
文件替换/boot/dtb/meson8b-onecloud.dtb
,试试看能不能正常启动。
1.0版,使用10.dtb,成功启动11日的bullseye_edge_5.18.0_xfce_desktop,感谢大佬!
dtb.zip 请分别使用压缩包里面的
dtb
文件替换/boot/dtb/meson8b-onecloud.dtb
,试试看能不能正常启动。1.0版,使用10.dtb,成功启动11日的bullseye_edge_5.18.0_xfce_desktop,感谢大佬!
20.dtb
可以正常启动吗
dtb.zip 请分别使用压缩包里面的
dtb
文件替换/boot/dtb/meson8b-onecloud.dtb
,试试看能不能正常启动。1.0版,使用10.dtb,成功启动11日的bullseye_edge_5.18.0_xfce_desktop,感谢大佬!
20.dtb
可以正常启动吗
不好意思,10.dtb启动成功,一激动没继续测试,要周一再试20.dtb了
dtb.zip 请分别使用压缩包里面的
dtb
文件替换/boot/dtb/meson8b-onecloud.dtb
,试试看能不能正常启动。1.0版,使用10.dtb,成功启动11日的bullseye_edge_5.18.0_xfce_desktop,感谢大佬!
20.dtb
可以正常启动吗
20.dtb不能启动
Fix in c32fb1f9.
一直显示U盘启动中,复制s805的脚本进去也没有用了。 直刷的由于太大了刷新总是出错。
目前依然是使用我写的教程,1.3还是可以启动的。最新8月8号可用 刷的是完整版底包,精简版底包好像不可以?启动比较慢,写入后速度正常。 地址点击查看 https://github.com/hzyitc/armbian-onecloud/issues/13 1.0版的建议使用 https://github.com/hzyitc/armbian-onecloud/releases/tag/fix-vcc_core-temportally-ci-20220630-0000