adb传输失败,文件系统变成只读的
-
之前测试还是正常的,今天SDK编译出来的就不行了,我的是nor flash的,求助大神
-
mount看看overlayfs挂载了吗
-
@awwwwa 没有挂载
-
@towel_roll dmesg看一下为什么没有挂载上
-
@awwwwa
root@TinaLinux:/# dmesg
[ 2.250332] NET: Registered protocol family 17
[ 2.255484] Bluetooth: RFCOMM TTY layer initialized
[ 2.261094] Bluetooth: RFCOMM socket layer initialized
[ 2.266929] Bluetooth: RFCOMM ver 1.11
[ 2.300836] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator
[ 2.316779] sunxi-i2c sunxi-i2c2: probe success
[ 2.324014] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
[ 2.338838] get ehci0-controller wakeup-source is fail.
[ 2.344781] sunxi ehci0-controller don't init wakeup source
[ 2.351108] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006acff8, 0x:ffffffd0040fd000, irq_no:2e
[ 2.364640] [sunxi-ehci0]: Not init ehci0
[ 2.369712] get ohci0-controller wakeup-source is fail.
[ 2.375661] sunxi ohci0-controller don't init wakeup source
[ 2.381982] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006ad3c0
[ 2.392379] [sunxi-ohci0]: Not init ohci0
[ 2.399762] otg manager soc@3000000:usbc0@0: soc@3000000:usbc0@0 supply usbc not found, using dummy regulator
[ 2.414141] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 2.423832] clk: Not disabling unused clocks
[ 2.428720] ALSA device list:
[ 2.432030] #0: audiocodec
[ 2.435249] alloc_fd: slot 0 not NULL!
[ 2.439519] cfg80211: failed to load regulatory.db
[ 2.449812] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 2.463585] devtmpfs: mounted
[ 2.467126] Freeing unused kernel memory: 152K
[ 2.472183] This architecture does not have kernel memory protection.
[ 2.479444] Run /sbin/init as init process
[ 2.908035] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1
[ 3.432292] init: Console is alive
[ 3.436553] init: - preinit -
[ 3.447940]
[ 3.447940] insmod_device_driver
[ 3.447940]
[ 3.455186] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator
[ 3.634462] device_chose finished 142!
[ 4.126192] random: crng init done
[ 5.385604] mount_root: Could not open mtd device: /dev/mtd5
[ 5.392266] mount_root: reading rootfs failed
[ 5.397252] mount_root: mounting /dev/root
[ 5.402603] mount_root: loading kmods from internal overlay
[ 5.719462] block: attempting to load /etc/config/fstab
[ 5.760896] block: extroot: device not present, retrying in 5 seconds
[ 10.895167] block: extroot: cannot find device UDISK
[ 10.916806] procd: - early -
[ 11.154796] procd: - ubus -
[ 11.168968] procd (1): /proc/110/oom_adj is deprecated, please use /proc/110/oom_score_adj instead.
[ 11.479008] procd: - init -
[ 11.896654] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate!
[ 13.500964] file system registered
[ 13.600429] configfs-gadget 4100000.udc-controller: failed to start g1: -19
[ 13.978131] read descriptors
[ 13.981392] read strings
[ 14.228187] sunxi_set_cur_vol_work()489 WARN: get power supply failed
[ 14.271638] android_work: sent uevent USB_STATE=CONNECTED
[ 14.289784] configfs-gadget gadget: high-speed config #1: c
[ 14.296162] android_work: sent uevent USB_STATE=CONFIGURED
[ 15.667266] ======== XRADIO WIFI OPEN ========
[ 15.673040] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31
[ 15.679883] [XRADIO] Allocated hw_priv @ 000000006f2f4ae7
[ 15.697998] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1
[ 15.714277] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
[ 15.928297] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 15.939432] [XRADIO] Detect SDIO card 1
[ 15.948015] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[ 15.968165] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 15.993252] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[ 16.000930] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[ 16.007768] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 16.022451] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 16.036276] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 16.043856] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 16.051411] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 16.058956] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 16.065715] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 18.008046] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success
[ 18.115320] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 18.126458] [XRADIO] Remove SDIO card 1
[ 18.138000] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[ 18.147621] [SBUS_ERR] sdio probe timeout!
[ 18.152270] [XRADIO_ERR] sbus_sdio_init failed
[ 18.158593] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 18.170486] xradio_core_init failed (-110)!
[ 18.201608] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[ 18.209345] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[ 18.216173] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 18.231021] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 18.244870] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 18.252506] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 18.260587] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 18.268126] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 18.274880] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 32.487938] usb1-vbus: disabling -
@awwwwa 文件系统挂载失败导致的?这个一般是SDK里面什么配置的导致的呀,我是修改了rootfs的size大小
-
@towel_roll rootfs空间太大了把UDSIK都占了
-
@awwwwa 需要改哪些参数吗,我把rootfs压缩到原本的大小就可以了,但是我的rootfs会比预设的大一点,目前是通过修改sys_partition_nor.fex实现的,我的nor flash是32M的,是有空间的
-
@towel_roll 你这个是啥平台,D1?使用nor介质启动?
使用nor的话,尝试下128扇区对齐,即12240->12280 -
@daizebin 好,我试试,是D1S 的
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号