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.19k stars 1.98k forks source link

905l3a烧录emmc报错 #1430

Closed Pardonx closed 1 year ago

Pardonx commented 1 year ago

Device Information | 设备信息

Armbian Version | 系统版本

Describe the bug | 问题描述 烧录emmc失败 系统在usb是正常的 俩个一个就可以烧录emmc 改了32g的失败

降频dtb已经试过了,四个内核都不行。 安卓包换了俩个

QQ截图20230526203505 QQ截图20230526203736

[ INFO ] Copying [ usr ] ... tar: usr/lib/armbian/armbian-allwinner-battery: time stamp 2023-05-18 14:49:01 is 1824.261719792 s in the future tar: usr/lib/armbian/armbian-firstrun: time stamp 2023-05-18 14:49:01 is 1824.258485 s in the future tar: usr/lib/armbian: time stamp 2023-05-18 14:49:01 is 1824.258283083 s in the future tar: usr/lib/systemd/system/networking.service: time stamp 2023-05-18 14:49:01 is 1817.56314366 s in the future tar: usr/lib/tc/: Cannot savedir: Bad message tar: usr/lib/nand-sata-install.bak/a13/bootloader/linux: Cannot mkdir: Structure needs cleaning tar: usr/lib/nand-sata-install.bak/a13/bootloader/linux: Cannot mkdir: Structure needs cleaning tar: usr/lib/nand-sata-install.bak/a13/bootloader/linux/u-boot.bin: Cannot open: No such file or directory tar: usr/lib/nand-sata-install.bak/a13/bootloader/linux: Cannot mkdir: Structure needs cleaning tar: usr/lib/nand-sata-install.bak/a13/bootloader/linux/linux.ini: Cannot open: No such file or directory tar: usr/lib/nand-sata-install.bak/a13/bootloader/boot.ini: Cannot open: Structure needs cleaning tar: usr/lib/firmware/rtl_nic/: Cannot savedir: Bad message tar: usr/lib/firmware/ap6210/: Cannot savedir: Bad message tar: usr/lib/firmware/brcm/brcmfmac4330-sdio.crocon,mxq-pro-plus.txt: time stamp 2023-05-18 14:49:01 is 1811.520582095 s in the future tar: usr/lib/firmware/brcm/brcmfmac43455-sdio.phicomm,n1.txt: time stamp 2023-05-18 14:49:01 is 1811.361809329 s in the future tar: usr/lib/firmware/brcm/brcmfmac4359-sdio.ali,ct2000.txt: time stamp 2023-05-18 14:49:01 is 1811.304038032 s in the future tar: usr/lib/firmware/brcm/brcmfmac4339-sdio.amlogic,sm1.txt: time stamp 2023-05-18 14:49:01 is 1811.300008448 s in the future tar: usr/lib/firmware/brcm/brcmfmac43455-sdio.amlogic,sm1.txt: time stamp 2023-05-18 14:49:01 is 1811.299707198 s in the future tar: usr/lib/firmware/brcm/brcmfmac4356-sdio.azw,gtking.txt: time stamp 2023-05-18 14:49:01 is 1811.20746723 s in the future tar: usr/lib/firmware/brcm/brcmfmac4375-sdio.azw,gtking.txt: time stamp 2023-05-18 14:49:01 is 1811.175786727 s in the future tar: usr/lib/firmware/brcm/brcmfmac4354-sdio.amlogic,sm1.txt: time stamp 2023-05-18 14:49:01 is 1811.053019756 s in the future tar: usr/lib/firmware/brcm/brcmfmac43456-sdio.amlogic,sm1.txt: time stamp 2023-05-18 14:49:01 is 1810.921597618 s in the future

Message from syslogd@armbian at May 18 14:18:51 ... kernel:[ 1148.523455] Internal error: Oops: 96000004 [#1] PREEMPT SMP

Message from syslogd@armbian at May 18 14:18:51 ... kernel:[ 1148.771271] Code: f9405ef3 8b030280 b9400b42 dac00c00 (f8636a83) /usr/sbin/armbian-install: line 527: 7999 Segmentation fault tar -xf - [ INFO ] Copying [ var ] ...

Message from syslogd@armbian at May 18 14:18:51 ... kernel:[ 1148.838602] Internal error: Oops: 96000004 [#2] PREEMPT SMP

Message from syslogd@armbian at May 18 14:18:51 ... kernel:[ 1149.068005] Code: f9405ef3 8b030280 b9400b42 dac00c00 (f8636a83) tar: This does not look like a tar archive tar: Exiting with failure status due to previous errors

Message from syslogd@armbian at May 18 14:18:51 ... kernel:[ 1149.128694] Internal error: Oops: 96000004 [#3] PREEMPT SMP

Message from syslogd@armbian at May 18 14:18:51 ... kernel:[ 1149.350259] Code: f9405ef3 8b030280 b9400b42 dac00c00 (f8636a83) /usr/sbin/armbian-install: line 489: 10230 Segmentation fault ln -sf /usr/bin ${DIR_INSTALL}/bin

Message from syslogd@armbian at May 18 14:19:13 ... kernel:[ 1171.096354] Internal error: Oops: 96000004 [#4] PREEMPT SMP

Message from syslogd@armbian at May 18 14:19:13 ... kernel:[ 1171.323662] Code: f9405ef3 8b030280 b9400b42 dac00c00 (f8636a83)

报错最少第一次只有内核报错

ophub commented 1 year ago

把设备接入网络,同步一下时间再试试,错误提示5.18日是未来日期。我也是第一次见日期不对还影响写入?

janko888 commented 1 year ago

tar命令 解包时校验了包的创建时间和当前系统的时间,提示出错。

也可以在tar命令时加上-m参数,解压时将文件夹时间轴修改为当前系统时间。 tar -mzxvf xxx.tar.gz

ophub commented 1 year ago

janko888的办法是正解,可以使用-m, --touch选项,强制 tar 将每个提取文件的访问和修改时间设置为当前系统时间。我已经更新了脚本,你先同步下,再安装试试:

armbian-sync
armbian-install
Pardonx commented 1 year ago

janko888的办法是正解,可以使用-m, --touch选项,强制 tar 将每个提取文件的访问和修改时间设置为当前系统时间。我已经更新了脚本,你先同步下,再安装试试:

armbian-sync
armbian-install

好的,谢谢o大