diff --git a/docs/cubie/a7z/faq.md b/docs/cubie/a7z/faq.md index 875748f20..fc61ada6a 100644 --- a/docs/cubie/a7z/faq.md +++ b/docs/cubie/a7z/faq.md @@ -114,3 +114,51 @@ sudo apt install vlc ``` + +## 系统安装与软件更新问题 + +### 安装软件或更新 initramfs 时系统卡死 + +在 Cubie A7Z 上安装软件或更新 initramfs 时,如果系统卡死并出现以下错误: +- `FDT_ERR_BADMAGIC` 设备树错误 +- SD 卡时序错误(`RTO` - Response Timeout) +- 系统挂起或响应缓慢 + +#### 排查方法: + +1. **检查 SD 卡质量与兼容性**: + - 使用知名品牌的正品 SD 卡(如 Samsung EVO、SanDisk Extreme、Kingston Canvas) + - 推荐使用 U3/A2 速度等级的 SD 卡以获得更好的持续性能 + - 避免使用标称速度过高(300MB/s+)的 SD 卡,可能与 Allwinner 平台存在兼容性问题 + - 确保 SD 卡不是假冒产品(假冒卡通常报告错误的规格) + +2. **检查电源供应**: + - 使用专用的 5V/4A 电源适配器 + - 在更新 initramfs 或安装软件时断开所有外设 + - 确保电源线连接牢固,无接触不良 + +3. **软件解决方法**: + - 手动更新 initramfs 并降低 I/O 优先级: + + + ```bash + sudo ionice -c 3 update-initramfs -u + ``` + + + - 如果系统在安装软件包时挂起,尝试逐个安装软件包 + - 考虑使用不同的系统镜像版本(如果有可用的更新版本) + +4. **SD 卡性能优化**: + - 如果使用极高速 SD 卡,可以尝试在 U-Boot 中限制 SD 卡速度 + - 检查 SD 卡是否有坏块或文件系统错误 + +5. **系统日志检查**: + - 通过串口查看完整的系统启动日志 + - 检查 `dmesg` 输出中是否有 SD/MMC 控制器错误 + - 查看 `/var/log/syslog` 中 initramfs 更新过程的详细错误信息 + +如果以上方法都无法解决问题,可能是内核或驱动程序的问题,建议: +- 更新到最新的系统镜像 +- 向 Radxa 技术支持报告具体错误日志 +- 考虑使用 UFS 存储作为替代方案 diff --git a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/faq.md b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/faq.md index 43e539acf..048e1e2ce 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/faq.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/faq.md @@ -110,3 +110,51 @@ sudo apt search vlc sudo apt install vlc ``` + +## System Installation and Software Update Issues + +### System Hangs During Software Installation or initramfs Update + +On the Cubie A7Z, if the system hangs during software installation or initramfs update with the following errors: +- `FDT_ERR_BADMAGIC` device tree errors +- SD card timing errors (`RTO` - Response Timeout) +- System freezes or becomes unresponsive + +#### Troubleshooting Steps: + +1. **Check SD Card Quality and Compatibility**: + - Use genuine SD cards from reputable brands (such as Samsung EVO, SanDisk Extreme, Kingston Canvas) + - Recommended to use U3/A2 speed class SD cards for better sustained performance + - Avoid SD cards with extremely high theoretical speeds (300MB/s+) as they may have compatibility issues with Allwinner platforms + - Ensure the SD card is not counterfeit (counterfeit cards often report incorrect specifications) + +2. **Check Power Supply**: + - Use a dedicated 5V/4A power adapter + - Disconnect all peripherals during initramfs updates or software installation + - Ensure the power cable is securely connected without loose contacts + +3. **Software Workarounds**: + - Manually update initramfs with lower I/O priority: + + + ```bash + sudo ionice -c 3 update-initramfs -u + ``` + + + - If the system hangs during package installation, try installing packages one at a time + - Consider using a different system image version if an updated version is available + +4. **SD Card Performance Optimization**: + - If using extremely high-speed SD cards, try limiting the SD card speed in U-Boot + - Check the SD card for bad blocks or filesystem errors + +5. **System Log Checking**: + - View complete system boot logs via serial port + - Check `dmesg` output for SD/MMC controller errors + - Examine `/var/log/syslog` for detailed error information during initramfs updates + +If the above methods do not resolve the issue, it may be a kernel or driver problem. We recommend: +- Updating to the latest system image +- Reporting specific error logs to Radxa technical support +- Considering UFS storage as an alternative solution