ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
6.09k stars 1.95k forks source link

E900V22D 安装到 eMMC 失败 #442

Closed arlequinfei closed 2 years ago

arlequinfei commented 2 years ago

Describe the bug 安装前使用的是“ (鑫爺固件)E900V22C当贝桌面语音固件《创维简约开机动画》”这个固件,使用Armbian_22.08.0_Aml_s905l3a_jammy_5.10.134_server_2022.07.30.img 从U盘启动,执行 armbian-install命令,安装失败。 报错是 /dev/mmcblk2p1 does not exist。5.15内核的无法引导,故使用5.10内核的。

Screenshots

[ OPTIONS ] Please Input ID: 304
[ INFO ] Input Box ID: [ 304 ]
[ INFO ] FDTFILE: [ meson-g12a-s905l3a-e900v22c.dtb ]
[ INFO ] UBOOT_OVERLOAD: [ u-boot-e900v22c.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...
1+0 records in
1+0 records out
512 bytes copied, 0.00133571 s, 383 kB/s
[ INFO ] Start create MBR and partittion.
[ INFO ] Write Mainline bootloader: [ /usr/lib/u-boot/e900v22c-u-boot.bin.sd.bin ]
dd: fsync failed for '/dev/mmcblk2': Input/output error
444+0 records in
444+0 records out
444 bytes copied, 0.0252749 s, 17.6 kB/s
dd: fsync failed for '/dev/mmcblk2': Input/output error
2023+1 records in
2023+1 records out
1036144 bytes (1.0 MB, 1012 KiB) copied, 8.73333 s, 119 kB/s
[ STEPS ] Start processing the bootfs partition...
[ INFO ] Formatting BOOTFS partition.
mkfs.fat 4.2 (2021-01-31)
mkfs.vfat: unable to open /dev/mmcblk2p1: No such file or directory
mount: /ddbr/install: special device /dev/mmcblk2p1 does not exist.
[ ERROR ] Failed to mount BOOTFS partition

lsblk 信息如下

root@armbian:~# lsblk 
NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
sda            8:0    1  7.5G  0 disk 
├─sda1         8:1    1  255M  0 part /boot
└─sda2         8:2    1  7.2G  0 part /var/log.hdd
                                      /
mmcblk2      179:0    0  7.2G  0 disk 
mmcblk2boot0 179:32   0    4M  1 disk 
mmcblk2boot1 179:64   0    4M  1 disk 
zram0        254:0    0  977M  0 disk [SWAP]
zram1        254:1    0   50M  0 disk /var/log
zram2        254:2    0  977M  0 disk /var/tmp

Armbian Version

Device (please complete the following information):

ophub commented 2 years ago

https://docs.qq.com/doc/DWFprWWxZa290VXNk

他们测试的是魔百盒的。从你的日志看,你的emmc不支持写入,只能在usb使用。

arlequinfei commented 2 years ago

多谢大神。不知道线刷是否可以呢?网上很没找到线刷armbian的教程。

ophub commented 2 years ago

这个教程里有qq群,你进群问问,群里有更多说明文档

xcray commented 2 years ago

这种问题是不是重新编译dtb、把那个频率降低可以解决? 感觉和他们说的“无法写入emmc”比较像,而我碰到的问题是“能写入但不能启动”

a520ass commented 2 years ago

用我那个22d的dtb就可以写入emmc

ophub commented 2 years ago

https://github.com/unifreq/linux-5.15.y/blob/main/arch/arm64/boot/dts/amlogic/meson-g12a-s905l3a-e900v22c.dts

这是dtb源码。如果高频不稳定可以自己选择一个低一点的,有多个频率可选。

https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/build-armbian/common-files/rootfs/etc/default/cpufrequtils

一般高频不稳定的时候可以设定的低一点。但是无法写入emmc、无法启动这种情况和频率没有直接关系。

这个文档看似有时时间没更新了,你可以进他的qq群了解一下最新情况