Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M401A 制作了启动盘,但是黑屏无法启动 #804

Closed
halida opened this issue Dec 11, 2022 · 12 comments
Closed

M401A 制作了启动盘,但是黑屏无法启动 #804

halida opened this issue Dec 11, 2022 · 12 comments
Labels
documentation Improvements or additions to documentation

Comments

@halida
Copy link

halida commented Dec 11, 2022

Device Information | 设备信息

  • SOC: s905l3a (问了卖家)
  • Model 魔百和 M401A

Armbian Version | 系统版本

  • Kernel Version: 5.15.82
  • Release: jammy

Describe the bug | 问题描述

下载和烧录以下镜像:
Armbian_23.02.0_amlogic_s905l3a_jammy_5.15.82_server_2022.12.09.img.gz
Armbian_23.02.0_amlogic_s905l3a_jammy_6.0.12_server_2022.12.09.img.gz
用adb connect IP
adb shell reboot update
然后插入优盘,屏幕提示无视频输入,然后一直卡在这里。
如果不插入优盘,会提示update失败和重启菜单。

请问有什么调试和判断方法?

@halida
Copy link
Author

halida commented Dec 11, 2022

卖家说还需要改dtb和uEna,不知道怎么改。

@halida
Copy link
Author

halida commented Dec 11, 2022

改了uEnv.txt:

FDT=/dtb/amlogic/meson-g12a-s905l3a-m401a.dtb

但是还是不行,设备黑屏,读了一下U盘,就没有反应了。

@ophub
Copy link
Owner

ophub commented Dec 11, 2022

#732

看这个

@halida
Copy link
Author

halida commented Dec 11, 2022

#732

看这个

现在是优盘都没有启动起来,插了键盘,numlock也没有反应。要换dtb文件?

@halida
Copy link
Author

halida commented Dec 11, 2022

根据这里的教程:
https://bbs.hassbian.com/thread-17263-1-1.html

用了这个 meson-g12a-u200.dtb 启动起来了。
6.0不行,换5.15可以。
Armbian_23.02.0_amlogic_s905l3a_jammy_5.15.82_server_2022.12.09.img.gz

@ophub
Copy link
Owner

ophub commented Dec 11, 2022

好的,那就有u200吧,这些盒子,同名不同芯的很多,不同省份的魔百和也有不一样的,只看名称可能不准确。XCray在这个问答区里也有很多关于M401A的经验分享,你可以多看看往期的帖子。

@ophub ophub added the documentation Improvements or additions to documentation label Dec 11, 2022
@halida
Copy link
Author

halida commented Dec 12, 2022

armbian-install失败了,提示:

[ 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

看看磁盘:

halida@armbian:~/workspace$ lsblk
NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda            8:0    1  14.5G  0 disk 
├─sda1         8:1    1   255M  0 part /boot
└─sda2         8:2    1  14.3G  0 part /var/log.hdd
                                       /
mmcblk2      179:0    0  14.6G  0 disk 
├─mmcblk2p1  179:1    0   255M  0 part 
└─mmcblk2p2  179:2    0  13.2G  0 part 
mmcblk2boot0 179:32   0     4M  1 disk 
mmcblk2boot1 179:64   0     4M  1 disk 
zram0        254:0    0 473.8M  0 disk [SWAP]
zram1        254:1    0    50M  0 disk /var/log
zram2        254:2    0     0B  0 disk 

@halida
Copy link
Author

halida commented Dec 12, 2022

看armbian-install,改成304的方法,提示:

[ INFO ] Start create MBR and partittion.
[ INFO ] Restore the mybox bootloader: [ /usr/lib/u-boot/mybox-bootloader.img ]
444+0 records in
444+0 records out
444 bytes copied, 0.0114895 s, 38.6 kB/s
dd: fsync failed for '/dev/mmcblk2': Input/output error
8191+0 records in
8191+0 records out
4193792 bytes (4.2 MB, 4.0 MiB) copied, 4.90525 s, 855 kB/s
[ STEPS ] Start processing the bootfs partition...
[ INFO ] Formatting BOOTFS partition.
mkfs.fat 4.2 (2021-01-31)
[ INFO ] Start copy BOOTFS partition data.
cp: error writing '/ddbr/install/vmlinuz-5.15.82-flippy-79+o': Input/output error
cp: cannot create regular file '/ddbr/install/zImage': Read-only file system
[ INFO ] Generate the new [ uEnv.txt ] file.
rm: cannot remove '/ddbr/install/uEnv.txt': Read-only file system
/usr/sbin/armbian-install: line 407: /ddbr/install/uEnv.txt: Read-only file system
rm: cannot remove '/ddbr/install/s905_autoscript': Read-only file system
rm: cannot remove '/ddbr/install/s905_autoscript.cmd': Read-only file system
rm: cannot remove '/ddbr/install/aml_autoscript': Read-only file system
rm: cannot remove '/ddbr/install/aml_autoscript.cmd': Read-only file system
mv: cannot move '/ddbr/install/boot-emmc.ini' to '/ddbr/install/boot.ini': Read-only file system
sed: couldn't open temporary file /ddbr/install/sed4930Hh: Read-only file system
mv: cannot move '/ddbr/install/boot-emmc.scr' to '/ddbr/install/boot.scr': Read-only file system
mv: cannot move '/ddbr/install/boot-emmc.cmd' to '/ddbr/install/boot.cmd': Read-only file system
[ STEPS ] Start processing the rootfs partition...
[ INFO ] Formatting ROOTFS partition.
btrfs-progs v5.16.2
See http://btrfs.wiki.kernel.org for more information.

Performing full device TRIM /dev/mmcblk2p2 (13.75GiB) ...
NOTE: several default settings have changed in version 5.15, please make sure
      this does not affect your deployments:
      - DUP for metadata (-m dup)
      - enabled no-holes (-O no-holes)
      - enabled free-space-tree (-R free-space-tree)

ERROR: error during mkfs: Operation not permitted
mount: /ddbr/install: wrong fs type, bad option, bad superblock on /dev/mmcblk2p2, missing codepage or helper program, or other error.
[ ERROR ] Failed to mount ROOTFS partition

@ophub
Copy link
Owner

ophub commented Dec 12, 2022

M401A的那个你不能用,可能是频率高,最高的那个1800之前也有人不能使用,删除这个测试下。

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

你无法正常使用emmc的问题调频后应该可以解决。

@halida
Copy link
Author

halida commented Dec 12, 2022

删除这个是不是还需要重新编译啊?

@ophub ophub closed this as completed Dec 13, 2022
@HoYin90
Copy link

HoYin90 commented Dec 16, 2022

根据这里的教程: https://bbs.hassbian.com/thread-17263-1-1.html

用了这个 meson-g12a-u200.dtb 启动起来了。 6.0不行,换5.15可以。 Armbian_23.02.0_amlogic_s905l3a_jammy_5.15.82_server_2022.12.09.img.gz

6.0的我也是黑屏

@halida
Copy link
Author

halida commented Dec 24, 2022

@HoYin90 请问你跑起来了吗?烧录成功了不?我现在还是只能u盘跑。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants