Closed mengliwunian closed 1 year ago
本地的路径是:/usr/sbin/armbian-install
搜索 conv=fsync
改为 conv=sync
有多处,注意看好了改,保存后再写入试一下
卡这里 了。。。。
root@armbian:~# /usr/sbin/armbian-install [ STEPS ] Start install Armbian to eMMC... [ STEPS ] Start checking dependencies... [ INFO ] Dependency check completes, Start installing Armbian. [ STEPS ] Start initializing the environment... [ INFO ] Use mainline u-boot: [ no ] [ INFO ] Using the Ampart tool: [ yes ] [ INFO ] Show all lists: [ no ] [ INFO ] The device eMMC name: [ /dev/mmcblk2 ] [ STEPS ] Start selecting device... -------------------------------------------------------------------------------------- ID SOC MODEL DTB -------------------------------------------------------------------------------------- 101 s905d Phicomm-N1 meson-gxl-s905d-phicomm-n1.dtb 102 s905d Phicomm-N1(DMA-thresh) meson-gxl-s905d-phicomm-n1-thresh.dtb 103 s905x HG680P meson-gxl-s905x-p212.dtb 104 s905w TX3-Mini meson-gxl-s905w-tx3-mini.dtb 105 s905d MECOOL-KI-Pro meson-gxl-s905d-mecool-ki-pro.dtb 106 s905x T95 meson-gxl-s905x-p212.dtb 107 s905x B860H meson-gxl-s905x-b860h.dtb 108 s905x TBee meson-gxl-s905x-tbee.dtb 109 s905w W95 meson-gxl-s905w-p281.dtb 110 s905w X96-Mini meson-gxl-s905w-x96-mini.dtb 111 s905x TX9 meson-gxl-s905x-tx9.dtb 112 s905l3b M302A/M304A meson-gxl-s905l3b-m302a.dtb 113 s905l2 MGV2000/MGV3000 meson-gxl-s905l2-x7-5g.dtb 114 s905l2 Wojia-TV-IPBS9505 meson-gxl-s905l2-ipbs9505.dtb 115 s905l-b Q96-mini meson-gxl-s905x-p212.dtb 116 s905l3 CM311-1/HG680-LC meson-gxl-s905l2-x7-5g.dtb 117 s905l3b E900V22E meson-gxl-s905l3b-e900v22e.dtb 0 Other Customize Enter-custom-dtb-name -------------------------------------------------------------------------------------- [ OPTIONS ] Please Input ID: 117 [ INFO ] Input Box ID: [ 117 ] [ INFO ] FDTFILE: [ meson-gxl-s905l3b-e900v22e.dtb ] [ INFO ] MAINLINE_UBOOT: [ ] [ INFO ] BOOTLOADER_IMG: [ ] [ INFO ] UBOOT_OVERLOAD: [ u-boot-s905x-s912.bin ] [ INFO ] K510: [ 1 ] [ STEPS ] Start selecting file system type... ----------------------------------------------- ID TYPE ----------------------------------------------- 1 ext4 2 btrfs ----------------------------------------------- [ OPTIONS ] Please Input ID: 1 [ INFO ] Input Type ID: [ 1 ] [ INFO ] The type of file system: [ ext4 ] [ STEPS ] Start creating eMMC partition... [ INFO ] Start backup default bootloader. 4+0 records in 4+0 records out 4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.0749892 s, 55.9 MB/s [ 515.776543] rc rc1: two consecutive events of type space
没改对吧。你可以删除这个 conv=fsync 再试,把改了的 conv=sync 也删了 前后的空格要保留,别删没了
改成sync和直接删除conv=sync后,重启运行armbian-install这样报错:第二次再次运行卡上面3楼
root@armbian:/usr/sbin# armbian-install
[ STEPS ] Start install Armbian to eMMC...
[ STEPS ] Start checking dependencies...
[ INFO ] Dependency check completes, Start installing Armbian.
[ STEPS ] Start initializing the environment...
[ INFO ] Use mainline u-boot: [ no ]
[ INFO ] Using the Ampart tool: [ yes ]
[ INFO ] Show all lists: [ no ]
[ INFO ] The device eMMC name: [ /dev/mmcblk2 ]
[ STEPS ] Start selecting device...
--------------------------------------------------------------------------------------
ID SOC MODEL DTB
--------------------------------------------------------------------------------------
101 s905d Phicomm-N1 meson-gxl-s905d-phicomm-n1.dtb
102 s905d Phicomm-N1(DMA-thresh) meson-gxl-s905d-phicomm-n1-thresh.dtb
103 s905x HG680P meson-gxl-s905x-p212.dtb
104 s905w TX3-Mini meson-gxl-s905w-tx3-mini.dtb
105 s905d MECOOL-KI-Pro meson-gxl-s905d-mecool-ki-pro.dtb
106 s905x T95 meson-gxl-s905x-p212.dtb
107 s905x B860H meson-gxl-s905x-b860h.dtb
108 s905x TBee meson-gxl-s905x-tbee.dtb
109 s905w W95 meson-gxl-s905w-p281.dtb
110 s905w X96-Mini meson-gxl-s905w-x96-mini.dtb
111 s905x TX9 meson-gxl-s905x-tx9.dtb
112 s905l3b M302A/M304A meson-gxl-s905l3b-m302a.dtb
113 s905l2 MGV2000/MGV3000 meson-gxl-s905l2-x7-5g.dtb
114 s905l2 Wojia-TV-IPBS9505 meson-gxl-s905l2-ipbs9505.dtb
115 s905l-b Q96-mini meson-gxl-s905x-p212.dtb
116 s905l3 CM311-1/HG680-LC meson-gxl-s905l2-x7-5g.dtb
117 s905l3b E900V22E meson-gxl-s905l3b-e900v22e.dtb
0 Other Customize Enter-custom-dtb-name
--------------------------------------------------------------------------------------
[ OPTIONS ] Please Input ID: 117
[ INFO ] Input Box ID: [ 117 ]
[ INFO ] FDTFILE: [ meson-gxl-s905l3b-e900v22e.dtb ]
[ INFO ] MAINLINE_UBOOT: [ ]
[ INFO ] BOOTLOADER_IMG: [ ]
[ INFO ] UBOOT_OVERLOAD: [ u-boot-s905x-s912.bin ]
[ INFO ] K510: [ 1 ]
[ STEPS ] Start selecting file system type...
-----------------------------------------------
ID TYPE
-----------------------------------------------
1 ext4
2 btrfs
-----------------------------------------------
[ OPTIONS ] Please Input ID: 1
[ INFO ] Input Type ID: [ 1 ]
[ INFO ] The type of file system: [ ext4 ]
[ STEPS ] Start creating eMMC partition...
[ INFO ] Start backup default bootloader.
4+0 records in
4+0 records out
4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.0769952 s, 54.5 MB/s
[ 321.723948] mmcblk2: p1 p2
[ 321.883683] I/O error, dev mmcblk2, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 2
[ 321.886878] Buffer I/O error on dev mmcblk2, logical block 0, lost async page write
[ 321.971919] I/O error, dev mmcblk2, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 2
[ 321.975024] Buffer I/O error on dev mmcblk2, logical block 0, lost async page write
1+0 records in
1+0 records out
512 bytes copied, 0.00360667 s, 142 kB/s
[ 322.026368] I/O error, dev mmcblk2, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 2
[ 322.029502] Buffer I/O error on dev mmcblk2, logical block 0, lost async page write
[ INFO ] Start create MBR and partittion.
Warning: Error fsyncing/closing /dev/mmcblk2: Input/output error
[ 322.146898] I/O error, dev mmcblk2, sector 15106024 op 0x1:(WRITE) flags 0x800 phys_seg 3 prio class 2
[ 322.147423] I/O error, dev mmcblk2, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 3 prio class 2
[ 322.150724] Buffer I/O error on dev mmcblk2, logical block 1888253, lost async page write
[ 322.159221] Buffer I/O error on dev mmcblk2, logical block 0, lost async page write
[ 322.159264] Buffer I/O error on dev mmcblk2, logical block 1, lost async page write
[ 322.167374] Buffer I/O error on dev mmcblk2, logical block 1888254, lost async page write
[ 322.174933] Buffer I/O error on dev mmcblk2, logical block 2, lost async page write
[ 322.182538] Buffer I/O error on dev mmcblk2, logical block 1888255, lost async page write
[ 322.256042] I/O error, dev mmcblk2, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 2
[ 322.259152] Buffer I/O error on dev mmcblk2, logical block 0, lost async page write
Error: Input/output error during write on /dev/mmcblk2
[ 322.344048] I/O error, dev mmcblk2, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 2
Error: Input/output error during write on /dev/mmcblk2
[ 322.424118] I/O error, dev mmcblk2, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 2
Error: Input/output error during write on /dev/mmcblk2
[ INFO ] Restore the mybox bootloader: [ /usr/lib/u-boot/mybox-bootloader.img ]
444+0 records in
444+0 records out
444 bytes copied, 0.00517104 s, 85.9 kB/s
[ 322.458255] I/O error, dev mmcblk2, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 2
[ 322.471400] I/O error, dev mmcblk2, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 2 prio class 2
[ 322.475965] mmcblk2: p1 p2
[ 323.376843] mmcblk2: p1 p2
8191+0 records in
8191+0 records out
4193792 bytes (4.2 MB, 4.0 MiB) copied, 0.92561 s, 4.5 MB/s
[ STEPS ] Start processing the bootfs partition...
[ INFO ] Formatting BOOTFS partition.
mkfs.fat 4.2 (2021-01-31)
mkfs.vfat: unable to synchronize /dev/mmcblk2p1:Input/output error
[ 323.571117] FAT-fs (mmcblk2p1): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
[ 323.574351] FAT-fs (mmcblk2p1): error, fat_get_cluster: invalid cluster chain (i_pos 1)
[ 323.582055] FAT-fs (mmcblk2p1): Filesystem has been set read-only
mount: /ddbr/install: can't read superblock on /dev/mmcblk2p1.
[ ERROR ] Failed to mount BOOTFS partition
root@armbian:/usr/sbin#
不知道为什么不能写入数据。 你把盒子还原成原来的安卓系统,先在USB上玩吧。
绞尽脑汁倒是写入EMMC了,但是---启动不了。。U盘里面可以启动的
从EMMC启动卡这里了:
BL2 Built : 13:36:55, Jun 22 2020.
gxl g85d6ad1 - longyong.chen@droid02-sz
Board ID = 12, adc=919
set vcck to 1070 mv
set vddee to 1070 mv
CARD_3 low, new board
ddr4-2 board
CPU clk: 1200MHz
DDR4
DDR4 chl: Rank0+1 @ 864MHz - FAIL
DDR4 chl: Rank0 @ 864MHz
bist_test rank: 0 21 00 43 35 19 51 1f 00 3f 39 1c 56 1e 00 3d 3d 21 5a 1d 00 3b 3b 20 57 622 - PASS
Rank0: 2048MB(auto)-2T-18
AddrBus test pass!
-s
Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000
New fip structure!
Load bl30 from eMMC, src: 0x00010200, des: 0x013c0000, size: 0x00007600
Load bl301 from eMMC, src: 0x00018200, des: 0x01380000, size: 0x00002400
Load bl31 from eMMC, src: 0x0001c200, des: 0x10100000, size: 0x00019600
Load bl33 from eMMC, src: 0x00038200, des: 0x01000000, size: 0x0007b000
NOTICE: BL3-1: v1.0(debug):361f8a7
NOTICE: BL3-1: Built : 16:43:26, Dec 19 2018
NOTICE: BL31: GXL normal boot!
NOTICE: BL31: BL33 decompress pass
[Image: gxl_v1.1.3103-9234004 2018-12-27 10:43:23 yao.zhang@droid07]
efuse init ops = c5
efuse init hdcp = c, cf9=7
x2_hp_e = 0
bl30: check_permit, count is 1
bl30: check_permit: ok!
chipid: 0 0 3 c c 0 b6 b3 60 a0 0 c5 not ES chip
[0.617529 Inits done]
INFO: BL3-1: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader
ERROR: Error initializing runtime service opteed_fast
INFO: BL3-1: Preparing for EL3 exit to normal world
INFO: BL3-1: Next image address = 0x1000000
INFO: BL3-1: Next image spsr = 0x3c9
DRAM:
MMC: In: Out: Err: wipe_data=successfulSecd
wipe_cache=successful
upgrade_step=2
[BL31]: tee size: 0
rebootmode=cold_boot
Starting the controller
()
()
[BL31]: tee size: 0
[BL31]: tee size: 0
写入成功:
root@armbian:~# armbian-install
[ STEPS ] Start install Armbian to eMMC...
[ STEPS ] Start checking dependencies...
[ INFO ] Dependency check completes, Start installing Armbian.
[ STEPS ] Start initializing the environment...
[ INFO ] Use mainline u-boot: [ no ]
[ INFO ] Using the Ampart tool: [ yes ]
[ INFO ] Show all lists: [ no ]
[ INFO ] The device eMMC name: [ /dev/mmcblk2 ]
[ STEPS ] Start selecting device...
--------------------------------------------------------------------------------------
ID SOC MODEL DTB
--------------------------------------------------------------------------------------
101 s905d Phicomm-N1 meson-gxl-s905d-phicomm-n1.dtb
102 s905d Phicomm-N1(DMA-thresh) meson-gxl-s905d-phicomm-n1-thresh.dtb
103 s905x HG680P meson-gxl-s905x-p212.dtb
104 s905w TX3-Mini meson-gxl-s905w-tx3-mini.dtb
105 s905d MECOOL-KI-Pro meson-gxl-s905d-mecool-ki-pro.dtb
106 s905x T95 meson-gxl-s905x-p212.dtb
107 s905x B860H meson-gxl-s905x-b860h.dtb
108 s905x TBee meson-gxl-s905x-tbee.dtb
109 s905w W95 meson-gxl-s905w-p281.dtb
110 s905w X96-Mini meson-gxl-s905w-x96-mini.dtb
111 s905x TX9 meson-gxl-s905x-tx9.dtb
112 s905l3b M302A/M304A meson-gxl-s905l3b-m302a.dtb
113 s905l2 MGV2000/MGV3000 meson-gxl-s905l2-x7-5g.dtb
114 s905l2 Wojia-TV-IPBS9505 meson-gxl-s905l2-ipbs9505.dtb
115 s905l-b Q96-mini meson-gxl-s905x-p212.dtb
116 s905l3 CM311-1/HG680-LC meson-gxl-s905l2-x7-5g.dtb
117 s905l3b E900V22E meson-gxl-s905l3b-e900v22e.dtb
0 Other Customize Enter-custom-dtb-name
--------------------------------------------------------------------------------------
[ OPTIONS ] Please Input ID: 117
[ INFO ] Input Box ID: [ 117 ]
[ INFO ] FDTFILE: [ meson-gxl-s905l3b-e900v22e.dtb ]
[ INFO ] MAINLINE_UBOOT: [ ]
[ INFO ] BOOTLOADER_IMG: [ ]
[ INFO ] UBOOT_OVERLOAD: [ u-boot-s905x-s912.bin ]
[ INFO ] K510: [ 1 ]
[ STEPS ] Start selecting file system type...
-----------------------------------------------
ID TYPE
-----------------------------------------------
1 ext4
2 btrfs
-----------------------------------------------
[ OPTIONS ] Please Input ID: 1
[ INFO ] Input Type ID: [ 1 ]
[ INFO ] The type of file system: [ ext4 ]
[ STEPS ] Start creating eMMC partition...
[ INFO ] Start backup default bootloader.
4+0 records in
4+0 records out
4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.393842 s, 10.6 MB/s
[ 154.997953] mmcblk2: p1 p2
[ 155.151058] mmcblk2: p2
[ 155.266674] mmcblk2:
1+0 records in
1+0 records out
512 bytes copied, 0.00171875 s, 298 kB/s
[ INFO ] Start create MBR and partittion.
[ 155.416492] mmcblk2:
[ 155.567262] mmcblk2: p1
[ 155.775408] mmcblk2: p1 p2
[ INFO ] Restore the mybox bootloader: [ /usr/lib/u-boot/mybox-bootloader.img ]
444+0 records in
444+0 records out
444 bytes copied, 0.00453425 s, 97.9 kB/s
[ 155.798827] mmcblk2: p1 p2
8191+0 records in
8191+0 records out
4193792 bytes (4.2 MB, 4.0 [ 156.232101] mmcblk2: p1 p2
MiB) copied, 0.443735 s, 9.5 MB/s
[ STEPS ] Start processing the bootfs partition...
[ INFO ] Formatting BOOTFS partition.
mkfs.fat 4.2 (2021-01-31)
[ INFO ] Start copy BOOTFS partition data.
[ INFO ] Generate the new [ uEnv.txt ] file.
[ INFO ] Copy [ u-boot-s905x-s912.bin ] to u-boot.emmc
[ STEPS ] Start processing the rootfs partition...
[ INFO ] Formatting ROOTFS partition.
[ 171.843650] EXT4-fs (mmcblk2p2): mounted filesystem with ordered data mode. Quota mode: none.
[ INFO ] Start copy ROOTFS partition data.
[ INFO ] Copy the [ etc ] directory.
[ INFO ] Copy the [ home ] directory.
[ INFO ] Copy the [ lib64 ] directory.
[ INFO ] Copy the [ opt ] directory.
[ INFO ] Copy the [ root ] directory.
[ INFO ] Copy the [ selinux ] directory.
[ INFO ] Copy the [ srv ] directory.
[ INFO ] Copy the [ usr ] directory.
[ INFO ] Copy the [ var ] directory.
[ INFO ] Generate the new fstab file.
[ INFO ] Update the relevant parameters.
[ 269.456166] EXT4-fs (mmcblk2p2): unmounting filesystem.
[ SUCCESS ] Successful installed, please unplug the USB, re-insert the power supply to start the Armbian.
root@armbian:~#
目前尝试的dtb: meson-gxl-s905l2-ipbs9505.dtb、 meson-gxl-s905l2-x7-5g.dtb、 meson-gxl-s905l3b-e900v22e.dtb、 meson-gxl-s905l3b-m302a
使用上面4个dtb,写入EMMC后,Armbian_23.02.0_amlogic_s905l2_jammy_6.1.8_server_2023.01.28 固件,可以驱动网口,不能启动,日志见楼上。 Armbian_23.02.0_amlogic_s905l2_jammy_5.15.90_server_2023.01.28固件,可以正常启动,但是网口不能用。。。。。。 日志如下,最后一个meson-gxl-s905x-p212.dtb直接不能用报kernel panic
GXLX2:BL1:3cfee7:42a5ae;FEAT:ADFD318C:0;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0;
TE: 39466
BL2 Built : 13:36:55, Jun 22 2020.
gxl g85d6ad1 - longyong.chen@droid02-sz
Board ID = 12, adc=919
set vcck to 1070 mv
set vddee to 1070 mv
CARD_3 low, new board
ddr4-2 board
CPU clk: 1200MHz
DDR4
DDR4 chl: Rank0+1 @ 864MHz - FAIL
DDR4 chl: Rank0 @ 864MHz
bist_test rank: 0 22 00 44 35 19 52 1f 00 3f 39 1c 57 1f 00 3f 3e 21 5b 1e 00 3c 3c 20 58 622 - PASS
Rank0: 2048MB(auto)-2T-18
AddrBus test pass!
-s
Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000
New fip structure!
Load bl30 from eMMC, src: 0x00010200, des: 0x013c0000, size: 0x00007600
Load bl301 from eMMC, src: 0x00018200, des: 0x01380000, size: 0x00002400
Load bl31 from eMMC, src: 0x0001c200, des: 0x10100000, size: 0x00019600
Load bl33 from eMMC, src: 0x00038200, des: 0x01000000, size: 0x0007b000
NOTICE: BL3-1: v1.0(debug):361f8a7
NOTICE: BL3-1: Built : 16:43:26, Dec 19 2018
NOTICE: BL31: GXL normal boot!
NOTICE: BL31: BL33 decompress pass
[Image: gxl_v1.1.3103-9234004 2018-12-27 10:43:23 yao.zhang@droid07]
efuse init ops = c5
efuse init hdcp = c, cf9=7
x2_hp_e = 0
bl30: check_permit, count is 1
bl30: check_permit: ok!
chipid: 0 0 3 c c 0 b6 b3 60 a0 0 c5 not ES chip
[0.617144 Inits done]
INFO: BL3-1: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader
ERROR: Error initializing runtime service opteed_fast
INFO: BL3-1: Preparing for EL3 exit to normal world
INFO: BL3-1: Next image address = 0x1000000
INFO: BL3-1: Next image spsr = 0x3c9
DRAM:
MMC: In: Out: Err: wipe_data=successful
wipe_cache=successful
upgrade_step=2
[BL31]: tee size: 0
rebootmode=cold_boot
Starting the controller
()
start amlogic old u-boot
start test usb
()
()
()
()
Verifying Checksum ... OK
OK
OK
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.15.90-flippy-81+o (root@univm25) (Ubuntu clang version 14.0.0-1ubuntu1, Ubuntu LLD 14.0.0) #206 SMP PREEMPT Wed Jan 25 22:35:07 CST 2023
[ 0.000000] Machine model: Amlogic Meson GXL (S905L2) X7 5G Tv Box
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000063400000, 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-0x0000000077ffffff]
[ 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-0x0000000000ffffff]
[ 0.000000] node 0: [mem 0x0000000001000000-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-0x0000000077ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000077ffffff]
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv0.2 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: Trusted OS migration not required
[ 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: 483840
[ 0.000000] Kernel command line: root=UUID=e3e73133-23e3-407b-896a-7364c6eba067 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
[ 0.000000] Unknown kernel command line parameters "cgroup_enable=memory cgroup_memory=1", 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: 1581460K/1966080K available (15296K kernel code, 2728K rwdata, 4716K rodata, 1984K init, 887K bss, 122476K 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: 110 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.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000601] Console: colour dummy device 80x25
[ 0.001017] printk: console [tty0] enabled
[ 0.001078] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
[ 0.001106] pid_max: default: 32768 minimum: 301
[ 0.001306] LSM: Security Framework initializing
[ 0.001423] SELinux: Initializing.
[ 0.001689] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.001716] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.004009] rcu: Hierarchical SRCU implementation.
[ 0.005228] EFI services will not be available.
[ 0.005709] smp: Bringing up secondary CPUs ...
[ 0.006398] Detected VIPT I-cache on CPU1
[ 0.006469] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.007253] Detected VIPT I-cache on CPU2
[ 0.007316] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.008011] Detected VIPT I-cache on CPU3
[ 0.008065] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.008151] smp: Brought up 1 node, 4 CPUs
[ 0.008225] SMP: Total of 4 processors activated.
[ 0.008236] CPU features: detected: 32-bit EL0 Support
[ 0.008247] CPU features: detected: 32-bit EL1 Support
[ 0.008259] CPU features: detected: CRC32 instructions
[ 0.009083] CPU: All CPU(s) started at EL2
[ 0.009115] alternatives: patching kernel code
[ 0.011094] devtmpfs: initialized
[ 0.019524] Registered cp15_barrier emulation handler
[ 0.019566] Registered setend emulation handler
[ 0.019744] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[ 0.019775] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.026466] prandom: seed boundary self test passed
[ 0.027694] prandom: 100 self tests passed
[ 0.050644] prandom32: self test passed (less than 6 bits correlated)
[ 0.050701] pinctrl core: initialized pinctrl subsystem
[ 0.051359] DMI not present or invalid.
[ 0.051851] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.053994] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[ 0.054252] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.054445] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.054547] audit: initializing netlink subsys (disabled)
[ 0.054822] audit: type=2000 audit(0.053:1): state=initialized audit_enabled=0 res=1
[ 0.055960] thermal_sys: Registered thermal governor 'step_wise'
[ 0.056287] cpuidle: using governor ladder
[ 0.056484] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.056620] ASID allocator initialised with 65536 entries
[ 0.056803] Serial: AMBA PL011 UART driver
[ 0.076206] platform c883a000.hdmi-tx: Fixing up cyclic dependency with d0100000.vpu
[ 0.080975] platform cvbs-connector: Fixing up cyclic dependency with d0100000.vpu
[ 0.081266] platform hdmi-connector: Fixing up cyclic dependency with c883a000.hdmi-tx
[ 0.090117] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.090154] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.090169] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.090184] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 1.495419] cryptd: max_cpu_qlen set to 1000
[ 1.499243] "cryptomgr_test" (91) uses obsolete ecb(arc4) skcipher
[ 1.511638] alg: No test for 842 (842-generic)
[ 1.511788] alg: No test for 842 (842-scomp)
[ 1.603132] DRBG: Continuing without Jitter RNG
[ 1.686207] raid6: neonx8 gen() 2221 MB/s
[ 1.742953] raid6: neonx8 xor() 1605 MB/s
[ 1.799705] raid6: neonx4 gen() 2199 MB/s
[ 1.856443] raid6: neonx4 xor() 1541 MB/s
[ 1.913189] raid6: neonx2 gen() 2039 MB/s
[ 1.969936] raid6: neonx2 xor() 1440 MB/s
[ 2.026682] raid6: neonx1 gen() 1669 MB/s
[ 2.083417] raid6: neonx1 xor() 1178 MB/s
[ 2.140157] raid6: int64x8 gen() 1506 MB/s
[ 2.196900] raid6: int64x8 xor() 802 MB/s
[ 2.253636] raid6: int64x4 gen() 1622 MB/s
[ 2.310386] raid6: int64x4 xor() 823 MB/s
[ 2.367137] raid6: int64x2 gen() 1387 MB/s
[ 2.423860] raid6: int64x2 xor() 740 MB/s
[ 2.480590] raid6: int64x1 gen() 1166 MB/s
[ 2.537338] raid6: int64x1 xor() 583 MB/s
[ 2.537350] raid6: using algorithm neonx8 gen() 2221 MB/s
[ 2.537362] raid6: .... xor() 1605 MB/s, rmw enabled
[ 2.537373] raid6: using neon recovery algorithm
[ 2.537683] fbcon: Taking over console
[ 2.537725] ACPI: Interpreter disabled.
[ 2.539943] iommu: Default domain type: Translated
[ 2.539978] iommu: DMA domain TLB invalidation policy: strict mode
[ 2.540394] vgaarb: loaded
[ 2.541041] SCSI subsystem initialized
[ 2.541276] usbcore: registered new interface driver usbfs
[ 2.541338] usbcore: registered new interface driver hub
[ 2.541387] usbcore: registered new device driver usb
[ 2.541889] mc: Linux media interface: v0.10
[ 2.541944] videodev: Linux video capture interface: v2.00
[ 2.542213] EDAC MC: Ver: 3.0.0
[ 2.543395] Advanced Linux Sound Architecture Driver Initialized.
[ 2.544556] clocksource: Switched to clocksource arch_sys_counter
[ 2.544913] VFS: Disk quotas dquot_6.6.0
[ 2.545007] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 2.545179] FS-Cache: Loaded
[ 2.545708] pnp: PnP ACPI: disabled
[ 2.553067] NET: Registered PF_INET protocol family
[ 2.553273] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 2.554566] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[ 2.554626] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 2.554650] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 2.554842] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[ 2.555083] TCP: Hash tables configured (established 16384 bind 16384)
[ 2.555386] MPTCP token hash table entries: 2048 (order: 3, 49152 bytes, linear)
[ 2.555488] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 2.555543] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 2.555734] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 2.555770] NET: Registered PF_XDP protocol family
[ 2.555793] PCI: CLS 0 bytes, default 64
[ 2.556086] Trying to unpack rootfs image as initramfs...
[ 2.568733] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 2.569277] kvm [1]: IPA Size Limit: 40 bits
[ 2.570159] kvm [1]: vgic interrupt IRQ9
[ 2.570321] kvm [1]: Hyp mode initialized successfully
[ 3.159440] Freeing initrd memory: 8008K
[ 3.387147] Initialise system trusted keyrings
[ 3.387454] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[ 3.394863] zbud: loaded
[ 3.396575] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 3.397175] fuse: init (API version 7.34)
[ 3.397749] SGI XFS with ACLs, security attributes, quota, no debug enabled
[ 3.437061] NET: Registered PF_ALG protocol family
[ 3.487517] xor: measuring software checksum speed
[ 3.492358] 8regs : 2051 MB/sec
[ 3.495763] 32regs : 2909 MB/sec
[ 3.500370] arm64_neon : 2143 MB/sec
[ 3.500382] xor: using function: 32regs (2909 MB/sec)
[ 3.500399] Key type asymmetric registered
[ 3.500411] Asymmetric key parser 'x509' registered
[ 3.500551] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 3.500753] io scheduler mq-deadline registered
[ 3.500769] io scheduler kyber registered
[ 3.500961] io scheduler bfq registered
[ 3.528266] soc soc0: Amlogic Meson Unknown (Unknown) Revision 2a:e (c5:2) Detected
[ 3.530794] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
[ 3.533087] Serial: AMBA driver
[ 3.533490] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 22, base_baud = 1500000) is a meson_uart
[ 4.553735] printk: console [ttyAML0] enabled
[ 4.568476] brd: module loaded
[ 4.573310] loop: module loaded
[ 4.580757] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.581709] ehci-pci: EHCI PCI platform driver
[ 4.586133] ehci-platform: EHCI generic platform driver
[ 4.591919] usbcore: registered new interface driver cdc_wdm
[ 4.596906] usbcore: registered new interface driver usb-storage
[ 4.603391] mousedev: PS/2 mouse device common for all mice
[ 4.609557] SPI driver rmi4_spi has no spi_device_id for syna,rmi4-spi
[ 4.615757] meson-vrtc c81000a8.rtc: registered as rtc0
[ 4.619998] meson-vrtc c81000a8.rtc: setting system clock to 1970-01-01T00:00:04 UTC (4)
[ 4.628581] i2c_dev: i2c /dev entries driver
[ 4.634660] Registered IR keymap rc-cec
[ 4.636154] rc rc0: meson_ao_cec as /devices/platform/soc/c8100000.bus/c8100100.cec/rc/rc0
[ 4.644367] input: meson_ao_cec as /devices/platform/soc/c8100000.bus/c8100100.cec/rc/rc0/input0
[ 4.656838] sdhci: Secure Digital Host Controller Interface driver
[ 4.659062] sdhci: Copyright(c) Pierre Ossman
[ 4.663346] Synopsys Designware Multimedia Card Interface Driver
[ 4.670445] sdhci-pltfm: SDHCI platform and OF driver helper
[ 4.670750] meson-gx-mmc d0072000.mmc: Got CD GPIO
[ 4.670963] meson-gx-mmc d0074000.mmc: allocated mmc-pwrseq
[ 4.677996] meson-sm: secure-monitor enabled
[ 4.691949] gxl-crypto c883e000.crypto: will run requests pump with realtime priority
[ 4.697304] gxl-crypto c883e000.crypto: will run requests pump with realtime priority
[ 4.708923] hid: raw HID events driver (C) Jiri Kosina
[ 4.710157] usbcore: registered new interface driver usbhid
[ 4.714055] gpio irq setup: hwirq: 0x3A irqfirst: 0x34 irqlast: 0x3A pin[48]
[ 4.715678] usbhid: USB HID core driver
[ 4.722900] genirq: Setting trigger mode 3 for irq 46 failed (meson_gpio_irq_set_type+0x0/0x140)
[ 4.726952] platform-mhu c883c404.mailbox: Platform MHU Mailbox registered
[BL31]: tee size: 0
[ 4.750599] Initializing XFRM netlink socket
[ 4.751497] NET: Registered PF_INET6 protocol family
[ 4.792545] Segment Routing with IPv6
[ 4.792595] RPL Segment Routing with IPv6
[ 4.794753] In-situ OAM (IOAM) with IPv6
[ 4.798678] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 4.807745] bpfilter: Loaded bpfilter_umh pid 301
[ 4.809121] NET: Registered PF_PACKET protocol family
[ 4.814048] NET: Registered PF_KEY protocol family
[ 4.818995] 8021q: 802.1Q VLAN Support v1.8
[ 4.823334] registered taskstats version 1
[ 4.826989] Loading compiled-in X.509 certificates
[ 4.834997] zswap: loaded using pool zstd/zbud
[ 4.836705] Key type .fscrypt registered
[ 4.839968] Key type fscrypt-provisioning registered
[ 4.846237] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
[ 4.855222] mmc2: new DDR MMC card at address 0001
[ 4.857024] mmcblk2: mmc2:0001 S03111 7.20 GiB
[ 4.862923] mmcblk2: p1 p2
[ 4.864315] mmcblk2boot0: mmc2:0001 S03111 4.00 MiB
[ 4.869970] mmcblk2boot1: mmc2:0001 S03111 4.00 MiB
[ 4.874646] mmcblk2rpmb: mmc2:0001 S03111 4.00 MiB, chardev (240:0)
[ 4.884414] meson-drm d0100000.vpu: Queued 3 outputs on vpu
[ 4.911294] meson-dw-hdmi c883a000.hdmi-tx: Unsupported HDMI controller (0d0d:0d:0d)
[ 4.913770] meson-drm d0100000.vpu: failed to bind c883a000.hdmi-tx (ops 0xffffffc00a2fa480): -19
[ 4.922287] meson-drm d0100000.vpu: Couldn't bind all components
[ 4.928465] meson-drm d0100000.vpu: master bind failed: -19
[ 4.936078] meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found
[ 4.940262] meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found
[ 4.946546] meson8b-dwmac c9410000.ethernet: PTP uses main clock
[ 4.953439] meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37
[ 4.959439] meson8b-dwmac c9410000.ethernet: DWMAC1000
[ 4.964568] meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
[ 4.971984] meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
[ 4.979400] meson8b-dwmac c9410000.ethernet: COE Type 2
[ 4.984574] meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
[ 4.991561] meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
[ 4.997944] meson8b-dwmac c9410000.ethernet: Normal descriptors
[ 5.003808] meson8b-dwmac c9410000.ethernet: Ring mode enabled
[ 5.009587] meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 5.017532] meson8b-dwmac c9410000.ethernet: device MAC address 16:ab:e2:8a:cc:db
[ 5.028295] dwc3-meson-g12a d0078080.usb: USB2 ports: 2
[ 5.030110] dwc3-meson-g12a d0078080.usb: USB3 ports: 0
[ 5.549254] dwc2 c9100000.usb: supply vusb_d not found, using dummy regulator
[ 5.550935] dwc2 c9100000.usb: supply vusb_a not found, using dummy regulator
[ 5.558158] dwc2 c9100000.usb: EPs: 7, dedicated fifos, 712 entries in SPRAM
[ 5.567193] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 5.570565] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[ 5.578031] xhci-hcd xhci-hcd.1.auto: hcc params 0x0228f664 hci version 0x100 quirks 0x0000000002010010
[ 5.587227] xhci-hcd xhci-hcd.1.auto: irq 48, io mem 0xc9000000
[ 5.593253] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 5.598683] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[ 5.606072] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[ 5.612719] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 5.620722] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.627884] usb usb1: Product: xHCI Host Controller
[ 5.632709] usb usb1: Manufacturer: Linux 5.15.90-flippy-81+o xhci-hcd
[ 5.639178] usb usb1: SerialNumber: xhci-hcd.1.auto
[ 5.644558] hub 1-0:1.0: USB hub found
[ 5.647736] hub 1-0:1.0: 2 ports detected
[ 5.652167] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 5.659827] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[ 5.667903] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.675161] usb usb2: Product: xHCI Host Controller
[ 5.679895] usb usb2: Manufacturer: Linux 5.15.90-flippy-81+o xhci-hcd
[ 5.686357] usb usb2: SerialNumber: xhci-hcd.1.auto
[ 5.691741] hub 2-0:1.0: USB hub found
[ 5.694932] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
[ 5.706212] meson-gx-mmc d0070000.mmc: allocated mmc-pwrseq
[ 5.706725] scpi_protocol scpi: SCP Protocol legacy pre-1.0 firmware
get_dvfs_info 000c
[ 5.743975] ALSA device list:
[ 5.744023] No soundcards found.
[ 5.745916] Freeing unused kernel memory: 1984K
[ 5.757940] Run /init as init process
[ 5.901260] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[ 6.042363] usb 1-1: New USB device found, idVendor=0781, idProduct=5597, bcdDevice= 1.00
[ 6.044938] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6.052009] usb 1-1: Product: SanDisk 3.2Gen1
[ 6.061263] usb 1-1: Manufacturer: USB
[ 6.061318] usb 1-1: SerialNumber: 09019d7796a96ca7fb0f1485bc50d97c65c94b3ad3ae18a9666b554e2689f7b7b23b00000000000000000000101d68fbff0c55209755810752ab18e8
[ 6.077819] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 6.084092] scsi host0: usb-storage 1-1:1.0
[ 7.097419] scsi 0:0:0:0: Direct-Access USB SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 6
[ 7.103383] sd 0:0:0:0: [sda] 120176640 512-byte logical blocks: (61.5 GB/57.3 GiB)
[ 7.108456] sd 0:0:0:0: [sda] Write Protect is off
[ 7.112854] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 7.134314] sda: sda1 sda2
[ 7.137685] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 7.782214] EXT4-fs (sda2): recovery complete
[ 7.783309] EXT4-fs (sda2): mounted filesystem with writeback data mode. Opts: data=writeback. Quota mode: none.
[ 8.338746] systemd[1]: System time before build time, advancing clock.
[ 8.460509] systemd[1]: systemd 249.11-0ubuntu3.6 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)
[ 8.487703] systemd[1]: Detected architecture arm64.
[ 8.498398] systemd[1]: Hostname set to <armbian>.
[ 9.557682] systemd[1]: Queued start job for default target Graphical Interface.
[ 9.561364] random: systemd: uninitialized urandom read (16 bytes read)
[ 9.570602] systemd[1]: Created slice Slice /system/modprobe.
[ 9.572476] random: systemd: uninitialized urandom read (16 bytes read)
[ 9.580426] systemd[1]: Created slice Slice /system/serial-getty.
[ 9.584830] random: systemd: uninitialized urandom read (16 bytes read)
[ 9.593437] systemd[1]: Created slice Slice /system/systemd-fsck.
[ 9.598878] systemd[1]: Created slice User and Session Slice.
[ 9.603594] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 9.611725] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 9.620563] systemd[1]: Reached target Slice Units.
[ 9.624819] systemd[1]: Reached target Swaps.
[ 9.628977] systemd[1]: Reached target System Time Set.
[ 9.634431] systemd[1]: Reached target Local Verity Protected Volumes.
[ 9.661003] systemd[1]: Listening on RPCbind Server Activation Socket.
[ 9.663222] systemd[1]: Listening on Syslog Socket.
[ 9.673904] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 9.675919] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 9.683225] systemd[1]: Listening on Journal Audit Socket.
[ 9.688269] systemd[1]: Listening on Journal Socket (/dev/log).
[ 9.694227] systemd[1]: Listening on Journal Socket.
[ 9.698714] systemd[1]: systemd-networkd.socket: Socket service systemd-networkd.service not loaded, refusing.
[ 9.707708] systemd[1]: Failed to listen on Network Service Netlink Socket.
[ 9.719368] systemd[1]: Listening on udev Control Socket.
[ 9.721029] systemd[1]: Listening on udev Kernel Socket.
[ 9.730168] systemd[1]: Mounting Huge Pages File System...
[ 9.735852] systemd[1]: Mounting POSIX Message Queue File System...
[ 9.742421] systemd[1]: Mounting Kernel Debug File System...
[ 9.743525] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[ 9.751636] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
[ 9.768075] systemd[1]: Starting Restore / save the current clock...
[ 9.774788] systemd[1]: Starting Wait for network to be configured by ifupdown...
[ 9.782751] systemd[1]: Starting Set the console keyboard layout...
[ 9.790040] systemd[1]: Starting Create List of Static Device Nodes...
[ 9.801629] systemd[1]: Starting Load Kernel Module chromeos_pstore...
[ 9.809408] systemd[1]: Starting Load Kernel Module configfs...
[ 9.816419] systemd[1]: Starting Load Kernel Module drm...
[ 9.827262] systemd[1]: Starting Load Kernel Module efi_pstore...
[ 9.836228] systemd[1]: Starting Load Kernel Module fuse...
[ 9.842768] systemd[1]: Starting Load Kernel Module pstore_blk...
[ 9.849958] systemd[1]: Starting Load Kernel Module pstore_zone...
[ 9.856994] systemd[1]: Starting Load Kernel Module ramoops...
[ 9.864384] systemd[1]: Started Nameserver information manager.
[ 9.866453] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[ 9.882549] systemd[1]: Starting Load Kernel Modules...
[ 9.888513] systemd[1]: Starting Generate network units from Kernel command line...
[ 9.896729] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 9.904417] systemd[1]: Starting Coldplug All udev Devices...
[ 9.920502] systemd[1]: Mounted Huge Pages File System.
[ 9.921917] systemd[1]: Mounted POSIX Message Queue File System.
[ 9.927832] systemd[1]: Mounted Kernel Debug File System.
[ 9.933936] systemd[1]: Finished Restore / save the current clock.
[ 9.940638] systemd[1]: Finished Create List of Static Device Nodes.
[ 9.942898] EXT4-fs (sda2): re-mounted. Opts: discard,errors=remount-ro. Quota mode: none.
[ 9.958188] systemd[1]: modprobe@chromeos_pstore.service: Deactivated successfully.
[ 9.963041] systemd[1]: Finished Load Kernel Module chromeos_pstore.
[ 9.968700] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[ 9.975318] systemd[1]: Finished Load Kernel Module configfs.
[ 9.981654] systemd[1]: modprobe@drm.service: Deactivated successfully.
[ 9.987386] systemd[1]: Finished Load Kernel Module drm.
[ 9.993003] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[ 10.000203] systemd[1]: Finished Load Kernel Module efi_pstore.
[ 10.006030] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[ 10.012795] systemd[1]: Finished Load Kernel Module fuse.
[ 10.018209] systemd[1]: modprobe@pstore_blk.service: Deactivated successfully.
[ 10.025305] systemd[1]: Finished Load Kernel Module pstore_blk.
[ 10.031511] systemd[1]: modprobe@pstore_zone.service: Deactivated successfully.
[ 10.038215] systemd[1]: Finished Load Kernel Module pstore_zone.
[ 10.044485] systemd[1]: modprobe@ramoops.service: Deactivated successfully.
[ 10.051067] systemd[1]: Finished Load Kernel Module ramoops.
[ 10.059562] systemd[1]: Finished Load Kernel Modules.
[ 10.062147] systemd[1]: Finished Generate network units from Kernel command line.
[ 10.069995] systemd[1]: Finished Remount Root and Kernel File Systems.
[ 10.075599] systemd[1]: Reached target Preparation for Network.
[ 10.084421] systemd[1]: Mounting FUSE Control File System...
[ 10.091470] systemd[1]: Mounting Kernel Configuration File System...
[ 10.092904] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[ 10.107552] systemd[1]: Starting Load/Save Random Seed...
[ 10.113390] systemd[1]: Starting Apply Kernel Variables...
[ 10.119915] systemd[1]: Starting Create System Users...
[ 10.128659] systemd[1]: Finished Set the console keyboard layout.
[ 10.130561] systemd[1]: Mounted FUSE Control File System.
[ 10.145804] systemd[1]: Mounted Kernel Configuration File System.
[ 10.205948] systemd[1]: Finished Create System Users.
[ 10.211860] systemd[1]: Starting Create Static Device Nodes in /dev...
[ 10.240532] systemd[1]: Finished Apply Kernel Variables.
[ 10.272695] systemd[1]: Finished Create Static Device Nodes in /dev.
[ 10.274476] systemd[1]: Reached target Preparation for Local File Systems.
[ 10.286454] systemd[1]: Mounting /tmp...
[ 10.295754] systemd[1]: Starting Rule-based Manager for Device Events and Files...
[ 10.302596] systemd[1]: Mounted /tmp.
[ 10.414243] systemd[1]: Finished Coldplug All udev Devices.
[ 10.421277] systemd[1]: Starting Helper to synchronize boot up for ifupdown...
[ 10.531997] systemd[1]: Started Rule-based Manager for Device Events and Files.
[ 10.534823] systemd[1]: Condition check resulted in Show Plymouth Boot Screen being skipped.
[ 10.544822] systemd[1]: Condition check resulted in Dispatch Password Requests to Console Directory Watch when bootsplash is active being skipped.
[ 10.555351] systemd[1]: Condition check resulted in Forward Password Requests to Plymouth Directory Watch being skipped.
[ 10.568076] random: systemd: uninitialized urandom read (16 bytes read)
[ 10.572600] systemd[1]: Reached target Local Encrypted Volumes.
[ 10.804216] random: systemd: uninitialized urandom read (16 bytes read)
[ 10.814536] random: systemd: uninitialized urandom read (16 bytes read)
[ 10.847928] random: crng init done
[ 10.847981] random: 49 urandom warning(s) missed due to ratelimiting
[ 10.920287] systemd[1]: Finished Load/Save Random Seed.
[ 10.942654] systemd[1]: Condition check resulted in First Boot Complete being skipped.
[ 10.978516] Registered IR keymap rc-empty
[ 10.978730] rc rc1: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc1
[ 11.005573] rc rc1: lirc_dev: driver meson-ir registered at minor = 0, raw IR receiver, no transmitter
[ 11.013416] input: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc1/input1
[ 11.017320] systemd[1]: Found device /dev/ttyAML0.
[ 11.024535] meson-ir c8100580.ir: receiver initialized
[ 11.038242] meson_vdec: module is from the staging directory, the quality is unknown, you have been warned.
[ 11.056245] systemd[1]: Reached target Hardware activated USB gadget.
[ 11.180350] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 11.183746] lima d00c0000.gpu: gp - mali450 version major 0 minor 0
[ 11.196335] lima d00c0000.gpu: pp0 - mali450 version major 0 minor 0
[ 11.205308] lima d00c0000.gpu: pp1 - mali450 version major 0 minor 0
[ 11.207517] lima d00c0000.gpu: l2 cache 8K, 4-way, 64byte cache line, 128bit external bus
[ 11.215994] lima d00c0000.gpu: l2 cache 64K, 4-way, 64byte cache line, 128bit external bus
[ 11.235651] lima d00c0000.gpu: bus rate = 166666504
[ 11.235713] lima d00c0000.gpu: mod rate = 24000000
[ 11.241451] lima d00c0000.gpu: dev_pm_opp_set_regulators: no regulator (mali) found: -19
[ 11.299568] [drm] Initialized lima 1.1.0 20191231 for d00c0000.gpu on minor 0
[ 11.462986] systemd[1]: Found device /sys/subsystem/net/devices/eth0.
[ 11.560297] systemd[1]: Found device SanDisk_3.2Gen1 BOOT.
[ 11.597691] systemd[1]: Starting File System Check on /dev/disk/by-label/BOOT...
[ 11.625013] systemd[1]: Started File System Check Daemon to report status.
[ 11.629949] systemd[1]: Finished Helper to synchronize boot up for ifupdown.
[ 12.021094] systemd[1]: Finished File System Check on /dev/disk/by-label/BOOT.
[ 12.035151] systemd[1]: Mounting /boot...
[ 12.088204] FAT-fs (sda1): mounting with "discard" option, but the device does not support discard
[ 12.101179] systemd[1]: Mounted /boot.
[ 12.102032] systemd[1]: Reached target Local File Systems.
[ 12.110617] systemd[1]: Starting Armbian leds state...
[ 12.116610] systemd[1]: Starting Armbian ZRAM config...
[ 12.122935] systemd[1]: Starting Set console font and keymap...
[ 12.129946] systemd[1]: Started ifup for eth0.
[ 12.136850] systemd[1]: Starting Raise network interfaces...
[ 12.144721] systemd[1]: Starting Tell Plymouth To Write Out Runtime Data...
[ 12.146756] systemd[1]: Condition check resulted in RPC security service for NFS server being skipped.
[ 12.155642] systemd[1]: Condition check resulted in Mark the need to relabel after reboot being skipped.
[ 12.181427] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[ 12.186021] systemd[1]: Condition check resulted in Store a System Token in an EFI Variable being skipped.
[ 12.195011] systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped.
[ 12.204716] systemd[1]: Condition check resulted in Merge System Extension Images into /usr/ and /opt/ being skipped.
[ 12.218459] systemd[1]: Finished Armbian leds state.
[ 12.222633] systemd[1]: Finished Set console font and keymap.
[ 12.227768] systemd[1]: Finished Tell Plymouth To Write Out Runtime Data.
[ 12.404676] zram: Added device: zram0
[ 12.405599] zram: Added device: zram1
[ 12.408393] zram: Added device: zram2
[ 12.524450] zram0: detected capacity change from 0 to 1853600
[ 12.558030] Adding 926796k swap on /dev/zram0. Priority:5 extents:1 across:926796k SSFS
[ 12.657730] meson8b-dwmac c9410000.ethernet eth0: PHY [0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=49)
[ 12.666117] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 12.694127] zram1: detected capacity change from 0 to 102400
[ 12.763094] systemd[1]: Finished Armbian ZRAM config.
[ 12.771609] systemd[1]: Starting Armbian memory supported logging...
[ 12.849825] EXT4-fs (zram1): mounted filesystem without journal. Opts: discard. Quota mode: none.
[ 12.865764] systemd[1]: Finished Wait for network to be configured by ifupdown.
[ 14.201242] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[ 14.203202] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[ 14.210601] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[ 16.221362] systemd[1]: Finished Armbian memory supported logging.
[ 16.235281] systemd[1]: Starting Journal Service...
[ 16.417946] systemd[1]: Started Journal Service.
[ 16.445740] systemd-journald[793]: Received client request to flush runtime journal.
[ 16.587186] RPC: Registered named UNIX socket transport module.
[ 16.587492] RPC: Registered udp transport module.
[ 16.592251] RPC: Registered tcp transport module.
[ 16.596928] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 37.174576] VDDAO_3V3: disabling
Armbian 23.02.0-trunk Jammy ttyAML0
哪个dtb在5.15的固件里,在usb上可以正常工作呢?有线网卡可以正常识别使用。
5.15里面都能从USB、EMMC启动,但是网口均不能用;6.1.8里面,上面4个都只能从USB启动且网口都能使用,都不能从EMMC启动
你的原来的安卓系统版本是多少的?安卓9及以上?还是低版本?
均在安卓4.4.4上测试,昨天刷了一次安卓9.0,6.1.8还是不能启动,5.15没试过。我刷安卓9试试5.15看
在其他M401等几个魔百盒上,使用安卓9.0以上的固件驱动网卡正常,但是使用4.0的不正常。 如果你知道哪个安卓9.0以上版本适合你的盒子,可以刷一下安卓再试试。
线刷安卓9后,虽然安卓启动不了,但是用5.15可以从EMMC启动,网卡也能识别。勉强算是目前最优解了
分享下你现在使用的安卓9的下载链接,最好多找找,找个可以启动的安卓9 你在5.15里使用的哪个dtb?之前在6.1里使用的哪个u-boot 你下载最新的这版armbian,我改了下安装脚本,加了更多的错误跟踪,你之前卡安装看看能不能捕捉的更准确点。
你的主板的SOC标志是不是s905l3b呢?我看你说的是s905l3但是网上搜的结果是s905l3b
https://www.52pojie.cn/thread-1491835-1-1.html
第4楼里有网盘下载链接,我试了下能下载,你试试这个是不是9.0
之前卡安装,我把dtb的mmc部分去除了hs200后可以正常安装了,dtb用这三个都可以:meson-gxl-s905l2-ipbs9505.dtb、meson-gxl-s905l2-x7-5g.dtb、meson-gxl-s905l3b-e900v22e.dtb。但是要去除hs200
我主板的SOC标志是s905l3b,所以我习惯用meson-gxl-s905l3b-e900v22e.dtb这个,u-boot一直用的u-boot-s905x-s912.bin这个,5.15和6.1都是这个u-boot
安卓9.0我用的https://github.com/ophub/amlogic-s9xxx-armbian/issues/763 这里面的宝藏资源https://pan.baidu.com/s/1qSmtBgSEbKs6ZFm-yCr-XQ 提取码: nnw3
安卓9.0我用的#763 这里面的宝藏资源https://pan.baidu.com/s/1qSmtBgSEbKs6ZFm-yCr-XQ 提取码: nnw3
路径是这个吧:这个目录下好几个,你测试的是哪个? 《机顶盒免费固件大全》>《魔百和 CM/M 系列 固件合集》>《CM211系列》>【CM211-1_固件】> 《CM211-1-CH》
CM211-1-CH-S905L3-andriod9.0.rar 但是这个不能启动安卓,ttl连接显示一直在重复跑码。。。armbian5.15确可以,而且启动的时候显示读取u-boot.emmc失败,从uEnv.txt读取信息启动的。。。 6.1启动不了,可不可不要u-boot.emmc从uEnv.txt读取信息启动?
这2个是s905l3b的,你要不要试试装这个对版的,看看安卓的启动情况。
5.15可以不用u-boot(默认就没有) 6.1必须有u-boot,不然无法启动。
那两个是4.4的。刷入安卓肯定可以启动,不知道armbian正常不。。。我试试看。
6.1启动就卡这儿了
## Executing script at 01020000
reading u-boot.emmc
650183 bytes read in 22 ms (28.2 MiB/s)
## Starting application at 0x01000000 ...
[BL31]: tee size: 0
[BL31]: tee size: 0
meson-gxl-s905l2-x7-5g.dtb
这个可以搭配下面的2个bin使用,你测试下u-boot-p212.bin
u-boot-p212.bin
u-boot-s905x-s912.bin
u-boot-p212.bin报错如下,还是得CM211-1-CH-S905L3-andriod9.0.rar 底层包 + u-boot-s905x-s912.bin + 修改过的meson-gxl-s905l3b-e900v22e.dtb + 5.15
TE: 39789
BL2 Built : 13:36:55, Jun 22 2020.
gxl g85d6ad1 - longyong.chen@droid02-sz
Board ID = 12, adc=919
set vcck to 1070 mv
set vddee to 1070 mv
CARD_3 low, new board
ddr4-2 board
CPU clk: 1200MHz
DDR4
DDR4 chl: Rank0+1 @ 864MHz - FAIL
DDR4 chl: Rank0 @ 864MHz
bist_test rank: 0 21 00 43 36 1a 52 20 00 40 39 1c 56 1f 00 3e 3e 21 5b 1d 00 3b 3b 20 57 622 - PASS
Rank0: 2048MB(auto)-2T-18
AddrBus test pass!
-s
Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000
New fip structure!
Load bl30 from eMMC, src: 0x00010200, des: 0x013c0000, size: 0x00007600
Load bl301 from eMMC, src: 0x00018200, des: 0x01380000, size: 0x00002400
Load bl31 from eMMC, src: 0x0001c200, des: 0x10100000, size: 0x00019600
Load bl33 from eMMC, src: 0x00038200, des: 0x01000000, size: 0x0007b000
NOTICE: BL3-1: v1.0(debug):361f8a7
NOTICE: BL3-1: Built : 16:43:26, Dec 19 2018
NOTICE: BL31: GXL normal boot!
NOTICE: BL31: BL33 decompress pass
[Image: gxl_v1.1.3103-9234004 2018-12-27 10:43:23 yao.zhang@droid07]
efuse init ops = c5
efuse init hdcp = c, cf9=7
x2_hp_e = 0
bl30: check_permit, count is 1
bl30: check_permit: ok!
chipid: 0 0 3 c c 0 b6 b3 60 a0 0 c5 not ES chip
[0.620049 Inits done]
INFO: BL3-1: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader
ERROR: Error initializing runtime service opteed_fast
INFO: BL3-1: Preparing for EL3 exit to normal world
INFO: BL3-1: Next image address = 0x1000000
INFO: BL3-1: Next image spsr = 0x3c9
DRAM:
MMC: In: Out: Err: wipe_data=successful
wipe_cache=successful
upgrade_step=2
[BL31]: tee size: 0
rebootmode=cold_boot
Starting the controller
()
()
U-Boot 2021.04-00056-g13ac02db31-dirty (Apr 28 2021 - 22:52:02 +0800) p212
Model: Amlogic Meson GXL (S905X) P212 Development Board
SoC: Amlogic Meson Unknown (Unknown) Revision 2a:e (c5:2)
DRAM: 2 GiB
MMC: mmc@70000: 0, mmc@72000: 1, mmc@74000: 2
Loading Environment from nowhere... OK
In: serial
Out: serial
Err: serial
[BL31]: tee size: 0
[BL31]: tee size: 0
Net: eth0: ethernet@c9410000
Hit any key to stop autoboot: 0
starting USB...
Bus usb@c9000000: dwc3_meson_gxl_get_phys: usb2 ports: 2
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus usb@c9000000 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Device 0: unknown device
Card did not respond to voltage select! : -110
switch to partitions #0, OK
mmc2(part 0) is current device
Scanning mmc 2:1...
** No partition table - mmc 2 **
** No partition table - mmc 2 **
** No partition table - mmc 2 **
** No partition table - mmc 2 **
** No partition table - mmc 2 **
** No partition table - mmc 2 **
** No partition table - mmc 2 **
** No partition table - mmc 2 **
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Card did not respond to voltage select! : -110
Scanning disk mmc@70000.blk...
Disk mmc@70000.blk not ready
Scanning disk mmc@72000.blk...
Disk mmc@72000.blk not ready
Scanning disk mmc@74000.blk...
** fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Found 1 disks
No EFI system partition
BootOrder not defined
EFI boot manager: Cannot load any image
** No partition table - mmc 2 **
ethernet@c9410000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@c9410000
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/01-c2-21-25-32-b0-e5
ethernet@c9410000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@c9410000
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
ethernet@c9410000 Waiting for PHY auto negotiation to complete......
从你上面发的写入emmc的日志看,ampart分区工具没使用上,也就是说分区跳过多少的地方可能是错的。这会导致写入错误、启动及使用错误。确认一下你刷的安卓9系统的分区数据,改一下分区起止位置。
看12.10
https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/build-armbian/documents/README.cn.md
表格弄出来了,就是不知道怎么改
这是分区图,我试试这样改
BLANK1="68"
BOOT="512"
BLANK2="2712"
改完armbian-install 还要先把盒子刷回安卓9恢复分区,再重新写入emmc
改了,刷会安卓再写进EMMC,还是报一样的错
用你试好的配置方式,用5.15
这是分区图,我试试这样改
BLANK1="68" BOOT="512" BLANK2="2712"
这个分区图绝对是不对的,直接用ampart看下
ampart /dev/mmcblk2
可以的话也发一下DTB分区快照和EMMC分区快照
ampart /dev/mmcblk2 --mode dsnapshot 2>/dev/null
ampart /dev/mmcblk2 --mode esnapshot 2>/dev/null
@7Ji 你是专家,处理方法专业又简单,能不能请你帮忙更新一下文档,把12.10的安卓系统识别和使用方法等内容都进行更改,整个上下几节都重新更改,用你的ampart进行分析和使用。还有下面的12.11中的dtb提取等章节,现在的内容有点不准确(我根据f大在几处的聊天片段整理的,由于我0基础,在整理文档时难免会遗漏了一些东西,理解也不准确,会造成一些错误,比如各分区之间的空隙的8m少了,导致计算的分区位置错误,以及一些我没发现的其他问题)这会导致很多操作问题和未知的使用风险。
https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/build-armbian/documents/README.cn.md
好像不是分区问题,我照着p212的修改重新编译了u-boot,然后安卓4.4底层下,6.1可以从EMMC启动了,我重新刷回安卓,按楼上大佬说的,看看分区
@7Ji 大佬 ampart /dev/mmcblk2
DTB read into buffer helper and report: DTB 8 of 10
DTS report partitions: 13 partitions in the DTB:
=======================================================
ID| name | size|( human)| masks
-------------------------------------------------------
0: logo 2000000 ( 32.00M) 1
1: recovery 2000000 ( 32.00M) 1
2: rsv 800000 ( 8.00M) 1
3: tee 800000 ( 8.00M) 1
4: crypt 2000000 ( 32.00M) 1
5: misc 2000000 ( 32.00M) 1
6: instaboot 20000000 ( 512.00M) 1
7: boot 2000000 ( 32.00M) 1
8: system 40000000 (1024.00M) 1
9: cache 2d000000 ( 720.00M) 2
10: params 4000000 ( 64.00M) 2
11: bootfiles 2d000000 ( 720.00M) 2
12: data (AUTOFILL) 4
=======================================================
ampart /dev/mmcblk2 --mode dsnapshot 2>/dev/null 这句执行后,啥都木有显示
EMMC分区快照
root@armbian:/usr/bin# ampart /dev/mmcblk2 --mode esnapshot 2>/dev/null
bootloader:0:4194304:0 reserved:37748736:67108864:0 cache:113246208:754974720:2 env:876609536:8388608:0 logo:893386752:33554432:1 recovery:935329792:33554432:1 rsv:977272832:8388608:1 tee:994050048:8388608:1 crypt:1010827264:33554432:1 misc:1052770304:33554432:1 instaboot:1094713344:536870912:1 boot:1639972864:33554432:1 system:1681915904:1073741824:1 params:2764046336:67108864:2 bootfiles:2839543808:754974720:2 data:3602907136:4131389440:4
bootloader:0x0:0x400000:0 reserved:0x2400000:0x4000000:0 cache:0x6c00000:0x2d000000:2 env:0x34400000:0x800000:0 logo:0x35400000:0x2000000:1 recovery:0x37c00000:0x2000000:1 rsv:0x3a400000:0x800000:1 tee:0x3b400000:0x800000:1 crypt:0x3c400000:0x2000000:1 misc:0x3ec00000:0x2000000:1 instaboot:0x41400000:0x20000000:1 boot:0x61c00000:0x2000000:1 system:0x64400000:0x40000000:1 params:0xa4c00000:0x4000000:2 bootfiles:0xa9400000:0x2d000000:2 data:0xd6c00000:0xf6400000:4
bootloader:0B:4M:0 reserved:36M:64M:0 cache:108M:720M:2 env:836M:8M:0 logo:852M:32M:1 recovery:892M:32M:1 rsv:932M:8M:1 tee:948M:8M:1 crypt:964M:32M:1 misc:1004M:32M:1 instaboot:1044M:512M:1 boot:1564M:32M:1 system:1604M:1024M:1 params:2636M:64M:2 bootfiles:2708M:720M:2 data:3436M:3940M:4
ampart /dev/mmcblk2
的日志里应该有至少两张表,若干张DTB里的分区信息(如果设备有多DTB,总之至少一个),和一张EMMC分区信息
@7Ji 10个dtb的。我选择了匹配我的第8个 ,下面是全部的
root@armbian:/usr/bin# ampart /dev/mmcblk2
CLI interface: Mode not set or invalid, you must specify the mode with --mode [mode] argument
CLI interface: Operating on target file/block device '/dev/mmcblk2'
IO identify target type: '/dev/mmcblk2' is a block device, getting its size via ioctl
IO identify target type: size of '/dev/mmcblk2' is 7734296576
IO identify target type: Guessing content type by size
IO identify target type: Size larger than reserved partition, considering content full disk
IO identify target type: Getting content type via reading
IO identify target type: Content type full disk, as pure 0 in the header was found
IO identify target type: Read and Size results are the same, using any
IO identify target type: target is a block device with a size of 7734296576 bytes, and contains the content of full disk
CLI interface: Content type set as auto, will use the type identified earlier as type
CLI interface: Content auto identified as whole disk
CLI describe options: mode , operating on /dev/mmcblk2, content type disk, migration strategy: essential, dry run: no, reserved gap: 33554432 (32.000000M), generic gap: 8388608 (8.000000M), reserved offset: 37748736 (36.000000M), dtb offset: 4194304 (4.000000M)
IO seek DTB: Seeking to 41943040
DTB checksum: Calculated 07628bdb, Recorded 07628bdb
DTB read: Using first 256K in DTB partition
unzip: Decompressing raw deflated data, in size 262111, allocated 1048448
DTB parse multi entries: Entry 1th of 10, gxl_p211_1g, for SoC gxl, platform p211, variant 1g
DTB parse multi entries: Entry 2th of 10, gxl_p211_2g, for SoC gxl, platform p211, variant 2g
DTB parse multi entries: Entry 3th of 10, gxlx_p261_1g, for SoC gxlx, platform p261, variant 1g
DTB parse multi entries: Entry 4th of 10, gxlx_p261_2g, for SoC gxlx, platform p261, variant 2g
DTB parse multi entries: Entry 5th of 10, gxlx_p265_1g, for SoC gxlx, platform p265, variant 1g
DTB parse multi entries: Entry 6th of 10, gxlx_p265_2g, for SoC gxlx, platform p265, variant 2g
DTB parse multi entries: Entry 7th of 10, gxlx2_p291_1g, for SoC gxlx2, platform p291, variant 1g
DTB parse multi entries: Entry 8th of 10, gxlx2_p291_2g, for SoC gxlx2, platform p291, variant 2g
DTB parse multi entries: Entry 9th of 10, gxlx2_p295_1g, for SoC gxlx2, platform p295, variant 1g
DTB parse multi entries: Entry 10th of 10, gxlx2_p295_2g, for SoC gxlx2, platform p295, variant 2g
DTB get size: size recorded in header is 0x98c0
DTS get node from path: Early quit for root node
DTB get target: target is gxl_p211_1g
DTB entry split target string: SoC gxl, platform p211, variant 1g
DTS sort partitions: partitions now in part-num order defined in partitions node's properties
DTB get size: size recorded in header is 0x98c8
DTS get node from path: Early quit for root node
DTB get target: target is gxl_p211_2g
DTB entry split target string: SoC gxl, platform p211, variant 2g
DTS sort partitions: partitions now in part-num order defined in partitions node's properties
DTB get size: size recorded in header is 0x9b9a
DTS get node from path: Early quit for root node
DTB get target: target is gxlx_p261_1g
DTB entry split target string: SoC gxlx, platform p261, variant 1g
DTS sort partitions: partitions now in part-num order defined in partitions node's properties
DTB get size: size recorded in header is 0x9a9e
DTS get node from path: Early quit for root node
DTB get target: target is gxlx_p261_2g
DTB entry split target string: SoC gxlx, platform p261, variant 2g
DTS sort partitions: partitions now in part-num order defined in partitions node's properties
DTB get size: size recorded in header is 0x9c47
DTS get node from path: Early quit for root node
DTB get target: target is gxlx_p265_1g
DTB entry split target string: SoC gxlx, platform p265, variant 1g
DTS sort partitions: partitions now in part-num order defined in partitions node's properties
DTB get size: size recorded in header is 0x9c53
DTS get node from path: Early quit for root node
DTB get target: target is gxlx_p265_2g
DTB entry split target string: SoC gxlx, platform p265, variant 2g
DTS sort partitions: partitions now in part-num order defined in partitions node's properties
DTB get size: size recorded in header is 0x9b52
DTS get node from path: Early quit for root node
DTB get target: target is gxlx2_p291_1g
DTB entry split target string: SoC gxlx2, platform p291, variant 1g
DTS sort partitions: partitions now in part-num order defined in partitions node's properties
DTB get size: size recorded in header is 0x9b56
DTS get node from path: Early quit for root node
DTB get target: target is gxlx2_p291_2g
DTB entry split target string: SoC gxlx2, platform p291, variant 2g
DTS sort partitions: partitions now in part-num order defined in partitions node's properties
DTB get size: size recorded in header is 0x9c5b
DTS get node from path: Early quit for root node
DTB get target: target is gxlx2_p295_1g
DTB entry split target string: SoC gxlx2, platform p295, variant 1g
DTS sort partitions: partitions now in part-num order defined in partitions node's properties
DTB get size: size recorded in header is 0x9bc4
DTS get node from path: Early quit for root node
DTB get target: target is gxlx2_p295_2g
DTB entry split target string: SoC gxlx2, platform p295, variant 2g
DTS sort partitions: partitions now in part-num order defined in partitions node's properties
DTB read into buffer helper and report: DTB 1 of 10
DTS report partitions: 13 partitions in the DTB:
=======================================================
ID| name | size|( human)| masks
-------------------------------------------------------
0: logo 2000000 ( 32.00M) 1
1: recovery 2000000 ( 32.00M) 1
2: rsv 800000 ( 8.00M) 1
3: tee 800000 ( 8.00M) 1
4: crypt 2000000 ( 32.00M) 1
5: misc 2000000 ( 32.00M) 1
6: instaboot 20000000 ( 512.00M) 1
7: boot 2000000 ( 32.00M) 1
8: system 40000000 (1024.00M) 1
9: cache 2d000000 ( 720.00M) 2
10: params 4000000 ( 64.00M) 2
11: bootfiles 2d000000 ( 720.00M) 2
12: data (AUTOFILL) 4
=======================================================
DTB read into buffer helper and report: DTB 2 of 10
DTS report partitions: 13 partitions in the DTB:
=======================================================
ID| name | size|( human)| masks
-------------------------------------------------------
0: logo 2000000 ( 32.00M) 1
1: recovery 2000000 ( 32.00M) 1
2: rsv 800000 ( 8.00M) 1
3: tee 800000 ( 8.00M) 1
4: crypt 2000000 ( 32.00M) 1
5: misc 2000000 ( 32.00M) 1
6: instaboot 20000000 ( 512.00M) 1
7: boot 2000000 ( 32.00M) 1
8: system 40000000 (1024.00M) 1
9: cache 2d000000 ( 720.00M) 2
10: params 4000000 ( 64.00M) 2
11: bootfiles 2d000000 ( 720.00M) 2
12: data (AUTOFILL) 4
=======================================================
DTB read into buffer helper and report: DTB 3 of 10
DTS report partitions: 13 partitions in the DTB:
=======================================================
ID| name | size|( human)| masks
-------------------------------------------------------
0: logo 2000000 ( 32.00M) 1
1: recovery 2000000 ( 32.00M) 1
2: rsv 800000 ( 8.00M) 1
3: tee 800000 ( 8.00M) 1
4: crypt 2000000 ( 32.00M) 1
5: misc 2000000 ( 32.00M) 1
6: instaboot 20000000 ( 512.00M) 1
7: boot 2000000 ( 32.00M) 1
8: system 40000000 (1024.00M) 1
9: cache 2d000000 ( 720.00M) 2
10: params 4000000 ( 64.00M) 2
11: bootfiles 2d000000 ( 720.00M) 2
12: data (AUTOFILL) 4
=======================================================
DTB read into buffer helper and report: DTB 4 of 10
DTS report partitions: 14 partitions in the DTB:
=======================================================
ID| name | size|( human)| masks
-------------------------------------------------------
0: logo 2000000 ( 32.00M) 1
1: recovery 2000000 ( 32.00M) 1
2: rsv 800000 ( 8.00M) 1
3: tee 800000 ( 8.00M) 1
4: crypt 2000000 ( 32.00M) 1
5: misc 2000000 ( 32.00M) 1
6: instaboot 20000000 ( 512.00M) 1
7: boot 2000000 ( 32.00M) 1
8: system 40000000 (1024.00M) 1
9: cache 20000000 ( 512.00M) 2
10: params 4000000 ( 64.00M) 2
11: ctc 12c00000 ( 300.00M) 2
12: bootfiles 20000000 ( 512.00M) 2
13: data (AUTOFILL) 4
=======================================================
DTB read into buffer helper and report: DTB 5 of 10
DTS report partitions: 13 partitions in the DTB:
=======================================================
ID| name | size|( human)| masks
-------------------------------------------------------
0: logo 2000000 ( 32.00M) 1
1: recovery 2000000 ( 32.00M) 1
2: rsv 800000 ( 8.00M) 1
3: tee 800000 ( 8.00M) 1
4: crypt 2000000 ( 32.00M) 1
5: misc 2000000 ( 32.00M) 1
6: instaboot 20000000 ( 512.00M) 1
7: boot 2000000 ( 32.00M) 1
8: system 40000000 (1024.00M) 1
9: cache 2d000000 ( 720.00M) 2
10: params 4000000 ( 64.00M) 2
11: bootfiles 2d000000 ( 720.00M) 2
12: data (AUTOFILL) 4
=======================================================
DTB read into buffer helper and report: DTB 6 of 10
DTS report partitions: 13 partitions in the DTB:
=======================================================
ID| name | size|( human)| masks
-------------------------------------------------------
0: logo 2000000 ( 32.00M) 1
1: recovery 2000000 ( 32.00M) 1
2: rsv 800000 ( 8.00M) 1
3: tee 800000 ( 8.00M) 1
4: crypt 2000000 ( 32.00M) 1
5: misc 2000000 ( 32.00M) 1
6: instaboot 20000000 ( 512.00M) 1
7: boot 2000000 ( 32.00M) 1
8: system 40000000 (1024.00M) 1
9: cache 2d000000 ( 720.00M) 2
10: params 4000000 ( 64.00M) 2
11: bootfiles 2d000000 ( 720.00M) 2
12: data (AUTOFILL) 4
=======================================================
DTB read into buffer helper and report: DTB 7 of 10
DTS report partitions: 13 partitions in the DTB:
=======================================================
ID| name | size|( human)| masks
-------------------------------------------------------
0: logo 2000000 ( 32.00M) 1
1: recovery 2000000 ( 32.00M) 1
2: rsv 800000 ( 8.00M) 1
3: tee 800000 ( 8.00M) 1
4: crypt 2000000 ( 32.00M) 1
5: misc 2000000 ( 32.00M) 1
6: instaboot 20000000 ( 512.00M) 1
7: boot 2000000 ( 32.00M) 1
8: system 40000000 (1024.00M) 1
9: cache 2d000000 ( 720.00M) 2
10: params 4000000 ( 64.00M) 2
11: bootfiles 2d000000 ( 720.00M) 2
12: data (AUTOFILL) 4
=======================================================
DTB read into buffer helper and report: DTB 8 of 10
DTS report partitions: 13 partitions in the DTB:
=======================================================
ID| name | size|( human)| masks
-------------------------------------------------------
0: logo 2000000 ( 32.00M) 1
1: recovery 2000000 ( 32.00M) 1
2: rsv 800000 ( 8.00M) 1
3: tee 800000 ( 8.00M) 1
4: crypt 2000000 ( 32.00M) 1
5: misc 2000000 ( 32.00M) 1
6: instaboot 20000000 ( 512.00M) 1
7: boot 2000000 ( 32.00M) 1
8: system 40000000 (1024.00M) 1
9: cache 2d000000 ( 720.00M) 2
10: params 4000000 ( 64.00M) 2
11: bootfiles 2d000000 ( 720.00M) 2
12: data (AUTOFILL) 4
=======================================================
DTB read into buffer helper and report: DTB 9 of 10
DTS report partitions: 13 partitions in the DTB:
=======================================================
ID| name | size|( human)| masks
-------------------------------------------------------
0: logo 2000000 ( 32.00M) 1
1: recovery 2000000 ( 32.00M) 1
2: rsv 800000 ( 8.00M) 1
3: tee 800000 ( 8.00M) 1
4: crypt 2000000 ( 32.00M) 1
5: misc 2000000 ( 32.00M) 1
6: instaboot 20000000 ( 512.00M) 1
7: boot 2000000 ( 32.00M) 1
8: system 40000000 (1024.00M) 1
9: cache 2d000000 ( 720.00M) 2
10: params 4000000 ( 64.00M) 2
11: bootfiles 2d000000 ( 720.00M) 2
12: data (AUTOFILL) 4
=======================================================
DTB read into buffer helper and report: DTB 10 of 10
DTS report partitions: 13 partitions in the DTB:
=======================================================
ID| name | size|( human)| masks
-------------------------------------------------------
0: logo 2000000 ( 32.00M) 1
1: recovery 2000000 ( 32.00M) 1
2: rsv 800000 ( 8.00M) 1
3: tee 800000 ( 8.00M) 1
4: crypt 2000000 ( 32.00M) 1
5: misc 2000000 ( 32.00M) 1
6: instaboot 20000000 ( 512.00M) 1
7: boot 2000000 ( 32.00M) 1
8: system 40000000 (1024.00M) 1
9: cache 2d000000 ( 720.00M) 2
10: params 4000000 ( 64.00M) 2
11: bootfiles 2d000000 ( 720.00M) 2
12: data (AUTOFILL) 4
=======================================================
IO seek EPT: Seeking to 37748736
EPT report: 16 partitions in the table:
===================================================================================
ID| name | offset|( human)| size|( human)| masks
-----------------------------------------------------------------------------------
0: bootloader 0 ( 0.00B) 400000 ( 4.00M) 0
(GAP) 2000000 ( 32.00M)
1: reserved 2400000 ( 36.00M) 4000000 ( 64.00M) 0
(GAP) 800000 ( 8.00M)
2: cache 6c00000 ( 108.00M) 2d000000 ( 720.00M) 2
(GAP) 800000 ( 8.00M)
3: env 34400000 ( 836.00M) 800000 ( 8.00M) 0
(GAP) 800000 ( 8.00M)
4: logo 35400000 ( 852.00M) 2000000 ( 32.00M) 1
(GAP) 800000 ( 8.00M)
5: recovery 37c00000 ( 892.00M) 2000000 ( 32.00M) 1
(GAP) 800000 ( 8.00M)
6: rsv 3a400000 ( 932.00M) 800000 ( 8.00M) 1
(GAP) 800000 ( 8.00M)
7: tee 3b400000 ( 948.00M) 800000 ( 8.00M) 1
(GAP) 800000 ( 8.00M)
8: crypt 3c400000 ( 964.00M) 2000000 ( 32.00M) 1
(GAP) 800000 ( 8.00M)
9: misc 3ec00000 (1004.00M) 2000000 ( 32.00M) 1
(GAP) 800000 ( 8.00M)
10: instaboot 41400000 ( 1.02G) 20000000 ( 512.00M) 1
(GAP) 800000 ( 8.00M)
11: boot 61c00000 ( 1.53G) 2000000 ( 32.00M) 1
(GAP) 800000 ( 8.00M)
12: system 64400000 ( 1.57G) 40000000 (1024.00M) 1
(GAP) 800000 ( 8.00M)
13: params a4c00000 ( 2.57G) 4000000 ( 64.00M) 2
(GAP) 800000 ( 8.00M)
14: bootfiles a9400000 ( 2.64G) 2d000000 ( 720.00M) 2
(GAP) 800000 ( 8.00M)
15: data d6c00000 ( 3.36G) f6400000 ( 3.85G) 4
===================================================================================
EPT report: Minumum block in table: 0x400000, 4194304, 4.000000M
CLI dispatcher: invalid mode
root@armbian:/usr/bin#
按照快照还原的你的EMMC分区表应该是这个样子的,参照这个判断哪里不能写哪里能写
===================================================================================
ID| name | offset|( human)| size|( human)| masks
-----------------------------------------------------------------------------------
0: bootloader 0 ( 0.00B) 400000 ( 4.00M) 0
(GAP) 2000000 ( 32.00M)
1: reserved 2400000 ( 36.00M) 4000000 ( 64.00M) 0
(GAP) 800000 ( 8.00M)
2: cache 6c00000 ( 108.00M) 2d000000 ( 720.00M) 2
(GAP) 800000 ( 8.00M)
3: env 34400000 ( 836.00M) 800000 ( 8.00M) 0
(GAP) 800000 ( 8.00M)
4: logo 35400000 ( 852.00M) 2000000 ( 32.00M) 1
(GAP) 800000 ( 8.00M)
5: recovery 37c00000 ( 892.00M) 2000000 ( 32.00M) 1
(GAP) 800000 ( 8.00M)
6: rsv 3a400000 ( 932.00M) 800000 ( 8.00M) 1
(GAP) 800000 ( 8.00M)
7: tee 3b400000 ( 948.00M) 800000 ( 8.00M) 1
(GAP) 800000 ( 8.00M)
8: crypt 3c400000 ( 964.00M) 2000000 ( 32.00M) 1
(GAP) 800000 ( 8.00M)
9: misc 3ec00000 (1004.00M) 2000000 ( 32.00M) 1
(GAP) 800000 ( 8.00M)
10: instaboot 41400000 ( 1.02G) 20000000 ( 512.00M) 1
(GAP) 800000 ( 8.00M)
11: boot 61c00000 ( 1.53G) 2000000 ( 32.00M) 1
(GAP) 800000 ( 8.00M)
12: system 64400000 ( 1.57G) 40000000 (1024.00M) 1
(GAP) 800000 ( 8.00M)
13: params a4c00000 ( 2.57G) 4000000 ( 64.00M) 2
(GAP) 800000 ( 8.00M)
14: bootfiles a9400000 ( 2.64G) 2d000000 ( 720.00M) 2
(GAP) 800000 ( 8.00M)
15: data d6c00000 ( 3.36G) f6400000 ( 3.85G) 4
===================================================================================
DTB的分区信息可以推出EMMC分区表,不过实际的EMMC分区表是最重要的
@7Ji 大佬,这个表跟上面我贴图的没区别呀QAQ,那下面的boot 和 blank2填多少 ,能帮忙看下吗
BLANK1="68"
BOOT="XXX"
BLANK2="XXX"
@7Ji 你是专家,处理方法专业又简单,能不能请你帮忙更新一下文档,把12.10的安卓系统识别和使用方法等内容都进行更改,整个上下几节都重新更改,用你的ampart进行分析和使用。还有下面的12.11中的dtb提取等章节,现在的内容有点不准确(我根据f大在几处的聊天片段整理的,由于我0基础,在整理文档时难免会遗漏了一些东西,理解也不准确,会造成一些错误,比如各分区之间的空隙的8m少了,导致计算的分区位置错误,以及一些我没发现的其他问题)这会导致很多操作问题和未知的使用风险。
https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/build-armbian/documents/README.cn.md
ampart不能在安卓下无root权限的状态下使用,要是写的话要加一堆不同情况,(安卓/Armbian 2 * 有root/无root 2)。为了便于汇报我可能也得再写几个外层调用ampart的脚本直接生成带评注的csv
@7Ji 大佬,这个表跟上面我贴图的没区别呀QAQ,那下面的boot 和 blank2填多少 ,能帮忙看下吗
BLANK1="68" BOOT="XXX" BLANK2="XXX"
可以使用的区域是
blank1 100 boot 736 blank2 1
并不能全部使用
如果能用ampart的dtb调整模式把cache的大小压到0,比如用dclone还原一个data::-1:4
的快照,那么就可以用更多
@7Ji 只写在armbian的U盘中的使用方法。介绍如何U盘启动后,通过什么方法获得。
如果能脚本化更简单,直接添加脚本例如:/usr/sbin/armbian-ampart
。一个命令把各种数据分别导出至U盘中的/ddbr/ampart目录下。
@7Ji 只写在armbian的U盘中的使用方法。介绍如何U盘启动后,通过什么方法获得。
如果能脚本化更简单,直接添加脚本例如:
/usr/sbin/armbian-ampart
。一个命令把各种数据分别导出至U盘中的/ddbr/ampart目录下。
写了个web汇报的项目 https://github.com/7Ji/ampart-web-reporter
挂在了我的网站上 https://7ji.github.io/ampart-web-reporter
这个网页支持在URL上传递快照,格式是
https://7ji.github.io/ampart-web-reporter/?dsnapshot={dsnapshot}&esnapshot={esnapshot}
机器上运行的脚本可以直接汇报一个带快照的URL把快照作为参数传给用户,机器本身不需要联网,只有看的人要联网。比如给一个这样的URL:
https://7ji.github.io/ampart-web-reporter/?esnapshot=bootloader:0:4194304:0 reserved:37748736:67108864:0 cache:113246208:754974720:2 env:876609536:8388608:0 logo:893386752:33554432:1 recovery:935329792:33554432:1 rsv:977272832:8388608:1 tee:994050048:8388608:1 crypt:1010827264:33554432:1 misc:1052770304:33554432:1 instaboot:1094713344:536870912:1 boot:1639972864:33554432:1 system:1681915904:1073741824:1 params:2764046336:67108864:2 bootfiles:2839543808:754974720:2 data:3602907136:4131389440:4&dsnapshot=logo::33554432:1 recovery::33554432:1 rsv::8388608:1 tee::8388608:1 crypt::33554432:1 misc::33554432:1 instaboot::536870912:1 boot::33554432:1 system::1073741824:1 cache::536870912:2 params::67108864:2 data::-1:4
或者也可以给短链接,应该有免费的短链接服务
复制网址,打开就可以看到整理好格式的表格
https://7ji.github.io/ampart-web-reporter/?esnapshot=bootloader:0:4194304:0 reserved:37748736:67108864:0 cache:113246208:754974720:2 env:876609536:8388608:0 logo:893386752:33554432:1 recovery:935329792:33554432:1 rsv:977272832:8388608:1 tee:994050048:8388608:1 crypt:1010827264:33554432:1 misc:1052770304:33554432:1 instaboot:1094713344:536870912:1 boot:1639972864:33554432:1 system:1681915904:1073741824:1 params:2764046336:67108864:2 bootfiles:2839543808:754974720:2 data:3602907136:4131389440:4&dsnapshot=logo::33554432:1 recovery::33554432:1 rsv::8388608:1 tee::8388608:1 crypt::33554432:1 misc::33554432:1 instaboot::536870912:1 boot::33554432:1 system::1073741824:1 cache::536870912:2 params::67108864:2 data::-1:4
这个URL的生成命令是什么?
https://is.gd 这个网站是免费的短网址,可以自己指定缩写。 我的依赖安装URL就是使用的这个 https://is.gd/depend_ubuntu2204_armbian
我还没写脚本,不过只要一行命令
echo "https://7ji.github.io/ampart-web-reporter/?dsnapshot=$(ampart /dev/mmcblk2 --mode dsnapshot 2>/dev/null | head -n 1)&esnapshot=$(ampart /dev/mmcblk2 --mode esnapshot 2>/dev/null | head -n 1)"
这个网址还挺长的,有的浏览器有128字节长度的限制。 你独立发个帖子,介绍这个使用方法吧,跟在这个帖子后面以后不好找到了。
@7Ji 大佬,我刷安卓9后分区变了,帮我看看blank1 boot blank2 分别填多少 感谢!!
root@armbian:~# ampart /dev/mmcblk2
CLI interface: Mode not set or invalid, you must specify the mode with --mode [mode] argument
CLI interface: Operating on target file/block device '/dev/mmcblk2'
IO identify target type: '/dev/mmcblk2' is a block device, getting its size via ioctl
IO identify target type: size of '/dev/mmcblk2' is 7734296576
IO identify target type: Guessing content type by size
IO identify target type: Size larger than reserved partition, considering content full disk
IO identify target type: Getting content type via reading
IO identify target type: Content type full disk, as pure 0 in the header was found
IO identify target type: Read and Size results are the same, using any
IO identify target type: target is a block device with a size of 7734296576 bytes, and contains the content of full disk
CLI interface: Content type set as auto, will use the type identified earlier as type
CLI interface: Content auto identified as whole disk
CLI describe options: mode , operating on /dev/mmcblk2, content type disk, migration strategy: essential, dry run: no, reserved gap: 33554432 (32.000000M), generic gap: 8388608 (8.000000M), reserved offset: 37748736 (36.000000M), dtb offset: 4194304 (4.000000M)
IO seek DTB: Seeking to 41943040
DTB checksum: Calculated ee66d5c6, Recorded ee66d5c6
DTB read: Using first 256K in DTB partition
unzip: Decompressing raw deflated data, in size 262118, allocated 1048512
DTB parse multi entries: Entry 1th of 6, gxlx2_p291_1g, for SoC gxlx2, platform p291, variant 1g
DTB parse multi entries: Entry 2th of 6, gxlx2_p291_2g, for SoC gxlx2, platform p291, variant 2g
DTB parse multi entries: Entry 3th of 6, gxlx2_p291_3g, for SoC gxlx2, platform p291, variant 3g
DTB parse multi entries: Entry 4th of 6, gxlx2_p295_1g, for SoC gxlx2, platform p295, variant 1g
DTB parse multi entries: Entry 5th of 6, gxlx2_p295_2g, for SoC gxlx2, platform p295, variant 2g
DTB parse multi entries: Entry 6th of 6, gxlx2_p295_3g, for SoC gxlx2, platform p295, variant 3g
DTB get size: size recorded in header is 0xe631
DTS get node from path: Early quit for root node
DTB get target: target is gxlx2_p291_1g
DTB entry split target string: SoC gxlx2, platform p291, variant 1g
DTS stringblock essential offset: can not find linux,phandle in stringblock
DTS sort partitions: partitions now in part-num order defined in partitions node's properties
DTB get size: size recorded in header is 0xe5dd
DTS get node from path: Early quit for root node
DTB get target: target is gxlx2_p291_2g
DTB entry split target string: SoC gxlx2, platform p291, variant 2g
DTS stringblock essential offset: can not find linux,phandle in stringblock
DTS sort partitions: partitions now in part-num order defined in partitions node's properties
DTB get size: size recorded in header is 0xe5e1
DTS get node from path: Early quit for root node
DTB get target: target is gxlx2_p291_3g
DTB entry split target string: SoC gxlx2, platform p291, variant 3g
DTS stringblock essential offset: can not find linux,phandle in stringblock
DTS sort partitions: partitions now in part-num order defined in partitions node's properties
DTB get size: size recorded in header is 0xe484
DTS get node from path: Early quit for root node
DTB get target: target is gxlx2_p295_1g
DTB entry split target string: SoC gxlx2, platform p295, variant 1g
DTS stringblock essential offset: can not find linux,phandle in stringblock
DTS sort partitions: partitions now in part-num order defined in partitions node's properties
DTB get size: size recorded in header is 0xe4b0
DTS get node from path: Early quit for root node
DTB get target: target is gxlx2_p295_2g
DTB entry split target string: SoC gxlx2, platform p295, variant 2g
DTS stringblock essential offset: can not find linux,phandle in stringblock
DTS sort partitions: partitions now in part-num order defined in partitions node's properties
DTB get size: size recorded in header is 0xe4b4
DTS get node from path: Early quit for root node
DTB get target: target is gxlx2_p295_3g
DTB entry split target string: SoC gxlx2, platform p295, variant 3g
DTS stringblock essential offset: can not find linux,phandle in stringblock
DTS sort partitions: partitions now in part-num order defined in partitions node's properties
DTB read into buffer helper and report: DTB 1 of 6
DTS report partitions: 17 partitions in the DTB:
=======================================================
ID| name | size|( human)| masks
-------------------------------------------------------
0: logo 800000 ( 8.00M) 1
1: recovery 1800000 ( 24.00M) 1
2: misc 800000 ( 8.00M) 1
3: dtbo 800000 ( 8.00M) 1
4: cri_data 800000 ( 8.00M) 2
5: param 1000000 ( 16.00M) 2
6: boot 1000000 ( 16.00M) 1
7: rsv 1000000 ( 16.00M) 1
8: metadata 1000000 ( 16.00M) 1
9: vbmeta 200000 ( 2.00M) 1
10: tee 2000000 ( 32.00M) 1
11: vendor 14000000 ( 320.00M) 1
12: odm 8000000 ( 128.00M) 1
13: system 50000000 ( 1.25G) 1
14: product 8000000 ( 128.00M) 1
15: cache 46000000 ( 1.09G) 2
16: data (AUTOFILL) 4
=======================================================
DTB read into buffer helper and report: DTB 2 of 6
DTS report partitions: 17 partitions in the DTB:
=======================================================
ID| name | size|( human)| masks
-------------------------------------------------------
0: logo 800000 ( 8.00M) 1
1: recovery 1800000 ( 24.00M) 1
2: misc 800000 ( 8.00M) 1
3: dtbo 800000 ( 8.00M) 1
4: cri_data 800000 ( 8.00M) 2
5: param 1000000 ( 16.00M) 2
6: boot 1000000 ( 16.00M) 1
7: rsv 1000000 ( 16.00M) 1
8: metadata 1000000 ( 16.00M) 1
9: vbmeta 200000 ( 2.00M) 1
10: tee 2000000 ( 32.00M) 1
11: vendor 14000000 ( 320.00M) 1
12: odm 8000000 ( 128.00M) 1
13: system 50000000 ( 1.25G) 1
14: product 8000000 ( 128.00M) 1
15: cache 46000000 ( 1.09G) 2
16: data (AUTOFILL) 4
=======================================================
DTB read into buffer helper and report: DTB 3 of 6
DTS report partitions: 17 partitions in the DTB:
=======================================================
ID| name | size|( human)| masks
-------------------------------------------------------
0: logo 800000 ( 8.00M) 1
1: recovery 1800000 ( 24.00M) 1
2: misc 800000 ( 8.00M) 1
3: dtbo 800000 ( 8.00M) 1
4: cri_data 800000 ( 8.00M) 2
5: param 1000000 ( 16.00M) 2
6: boot 1000000 ( 16.00M) 1
7: rsv 1000000 ( 16.00M) 1
8: metadata 1000000 ( 16.00M) 1
9: vbmeta 200000 ( 2.00M) 1
10: tee 2000000 ( 32.00M) 1
11: vendor 14000000 ( 320.00M) 1
12: odm 8000000 ( 128.00M) 1
13: system 50000000 ( 1.25G) 1
14: product 8000000 ( 128.00M) 1
15: cache 46000000 ( 1.09G) 2
16: data (AUTOFILL) 4
=======================================================
DTB read into buffer helper and report: DTB 4 of 6
DTS report partitions: 17 partitions in the DTB:
=======================================================
ID| name | size|( human)| masks
-------------------------------------------------------
0: logo 800000 ( 8.00M) 1
1: recovery 1800000 ( 24.00M) 1
2: misc 800000 ( 8.00M) 1
3: dtbo 800000 ( 8.00M) 1
4: cri_data 800000 ( 8.00M) 2
5: param 1000000 ( 16.00M) 2
6: boot 1000000 ( 16.00M) 1
7: rsv 1000000 ( 16.00M) 1
8: metadata 1000000 ( 16.00M) 1
9: vbmeta 200000 ( 2.00M) 1
10: tee 2000000 ( 32.00M) 1
11: vendor 14000000 ( 320.00M) 1
12: odm 8000000 ( 128.00M) 1
13: system 50000000 ( 1.25G) 1
14: product 8000000 ( 128.00M) 1
15: cache 46000000 ( 1.09G) 2
16: data (AUTOFILL) 4
=======================================================
DTB read into buffer helper and report: DTB 5 of 6
DTS report partitions: 17 partitions in the DTB:
=======================================================
ID| name | size|( human)| masks
-------------------------------------------------------
0: logo 800000 ( 8.00M) 1
1: recovery 1800000 ( 24.00M) 1
2: misc 800000 ( 8.00M) 1
3: dtbo 800000 ( 8.00M) 1
4: cri_data 800000 ( 8.00M) 2
5: param 1000000 ( 16.00M) 2
6: boot 1000000 ( 16.00M) 1
7: rsv 1000000 ( 16.00M) 1
8: metadata 1000000 ( 16.00M) 1
9: vbmeta 200000 ( 2.00M) 1
10: tee 2000000 ( 32.00M) 1
11: vendor 14000000 ( 320.00M) 1
12: odm 8000000 ( 128.00M) 1
13: system 50000000 ( 1.25G) 1
14: product 8000000 ( 128.00M) 1
15: cache 46000000 ( 1.09G) 2
16: data (AUTOFILL) 4
=======================================================
DTB read into buffer helper and report: DTB 6 of 6
DTS report partitions: 17 partitions in the DTB:
=======================================================
ID| name | size|( human)| masks
-------------------------------------------------------
0: logo 800000 ( 8.00M) 1
1: recovery 1800000 ( 24.00M) 1
2: misc 800000 ( 8.00M) 1
3: dtbo 800000 ( 8.00M) 1
4: cri_data 800000 ( 8.00M) 2
5: param 1000000 ( 16.00M) 2
6: boot 1000000 ( 16.00M) 1
7: rsv 1000000 ( 16.00M) 1
8: metadata 1000000 ( 16.00M) 1
9: vbmeta 200000 ( 2.00M) 1
10: tee 2000000 ( 32.00M) 1
11: vendor 14000000 ( 320.00M) 1
12: odm 8000000 ( 128.00M) 1
13: system 50000000 ( 1.25G) 1
14: product 8000000 ( 128.00M) 1
15: cache 46000000 ( 1.09G) 2
16: data (AUTOFILL) 4
=======================================================
IO seek EPT: Seeking to 37748736
EPT report: 20 partitions in the table:
===================================================================================
ID| name | offset|( human)| size|( human)| masks
-----------------------------------------------------------------------------------
0: bootloader 0 ( 0.00B) 400000 ( 4.00M) 0
(GAP) 2000000 ( 32.00M)
1: reserved 2400000 ( 36.00M) 4000000 ( 64.00M) 0
(GAP) 800000 ( 8.00M)
2: cache 6c00000 ( 108.00M) 46000000 ( 1.09G) 2
(GAP) 800000 ( 8.00M)
3: env 4d400000 ( 1.21G) 800000 ( 8.00M) 0
(GAP) 800000 ( 8.00M)
4: logo 4e400000 ( 1.22G) 800000 ( 8.00M) 1
(GAP) 800000 ( 8.00M)
5: recovery 4f400000 ( 1.24G) 1800000 ( 24.00M) 1
(GAP) 800000 ( 8.00M)
6: misc 51400000 ( 1.27G) 800000 ( 8.00M) 1
(GAP) 800000 ( 8.00M)
7: dtbo 52400000 ( 1.29G) 800000 ( 8.00M) 1
(GAP) 800000 ( 8.00M)
8: cri_data 53400000 ( 1.30G) 800000 ( 8.00M) 2
(GAP) 800000 ( 8.00M)
9: param 54400000 ( 1.32G) 1000000 ( 16.00M) 2
(GAP) 800000 ( 8.00M)
10: boot 55c00000 ( 1.34G) 1000000 ( 16.00M) 1
(GAP) 800000 ( 8.00M)
11: rsv 57400000 ( 1.36G) 1000000 ( 16.00M) 1
(GAP) 800000 ( 8.00M)
12: metadata 58c00000 ( 1.39G) 1000000 ( 16.00M) 1
(GAP) 800000 ( 8.00M)
13: vbmeta 5a400000 ( 1.41G) 200000 ( 2.00M) 1
(GAP) 800000 ( 8.00M)
14: tee 5ae00000 ( 1.42G) 2000000 ( 32.00M) 1
(GAP) 800000 ( 8.00M)
15: vendor 5d600000 ( 1.46G) 14000000 ( 320.00M) 1
(GAP) 800000 ( 8.00M)
16: odm 71e00000 ( 1.78G) 8000000 ( 128.00M) 1
(GAP) 800000 ( 8.00M)
17: system 7a600000 ( 1.91G) 50000000 ( 1.25G) 1
(GAP) 800000 ( 8.00M)
18: product cae00000 ( 3.17G) 8000000 ( 128.00M) 1
(GAP) 800000 ( 8.00M)
19: data d3600000 ( 3.30G) f9a00000 ( 3.90G) 4
===================================================================================
EPT get minumum block: Shift down block size from 0x400000 due to part 14 (vbmeta)'s size 0x200000
EPT report: Minumum block in table: 0x200000, 2097152, 2.000000M
CLI dispatcher: invalid mode
@lihonglinglory 如果要分享分区布局,复制粘贴下面这条命令,然后把网址复制出来
echo "https://7ji.github.io/ampart-web-reporter/?dsnapshot=$(ampart /dev/mmcblk2 --mode dsnapshot 2>/dev/null | head -n 1)&esnapshot=$(ampart /dev/mmcblk2 --mode esnapshot 2>/dev/null | head -n 1)"
@7Ji 大佬这是链接
自己估的这样对吗?
blank1 100
boot 1136
blank2 1
https://7ji.github.io/ampart-web-reporter/?dsnapshot=logo::8388608:1 recovery::25165824:1 misc::8388608:1 dtbo::8388608:1 cri_data::8388608:2 param::16777216:2 boot::16777216:1 rsv::16777216:1 metadata::16777216:1 vbmeta::2097152:1 tee::33554432:1 vendor::335544320:1 odm::134217728:1 system::1342177280:1 product::134217728:1 cache::1174405120:2 data::-1:4&esnapshot=bootloader:0:4194304:0 reserved:37748736:67108864:0 cache:113246208:1174405120:2 env:1296039936:8388608:0 logo:1312817152:8388608:1 recovery:1329594368:25165824:1 misc:1363148800:8388608:1 dtbo:1379926016:8388608:1 cri_data:1396703232:8388608:2 param:1413480448:16777216:2 boot:1438646272:16777216:1 rsv:1463812096:16777216:1 metadata:1488977920:16777216:1 vbmeta:1514143744:2097152:1 tee:1524629504:33554432:1 vendor:1566572544:335544320:1 odm:1910505472:134217728:1 system:2053111808:1342177280:1 product:3403677696:134217728:1 data:3546284032:4188012544:4
blank1 100 boot 1136 blank2 1
欧克 欧克 感谢
Standard chat template, no routine, no chat. 标准聊天模板,无套路不聊天。
Device Information | 设备信息
Armbian Version | 系统版本
Describe the bug | 问题描述 Describe the problem in detail and attach screenshots if necessary. 详细描述问题,并在必要时附上屏幕截图。
使用Armbian_23.02.0_amlogic_s905l2_jammy_6.1.8_server_2023.01.28 固件
dtb 尝试了很多个, meson-gxl-s905l2-ipbs9505.dtb、 meson-gxl-s905l2-x7-5g.dtb、 meson-gxl-s905l3b-e900v22e.dtb
能识别EMMC,但是写入EMMC失败,尝试过降频到100的meson-gxl-s905l2-e900v21e能识别,还是写不进去
EMMC型号是康佳KAS03111,见后图
EMMC型号:
官方安卓提取dtb及dts: gxlx2_p291_2g.zip
附上错误日志: