2013-10-22 11:13:22 |
Botao |
description |
On ARM Versatile Express A9 board with Linaro Android image:
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro-13.10-release/#build=2
SD Card directory is unavailable after ADB file transfer. The procedure list is:
1. Establish ADB connection over Ethernet;
2. From host machine, using "adb push" to transfer any file to path "/sdcard"
3. On target serial console, run "cd /sdcard"
Then the error shows:
root@vexpress:/data # cd /sdcard
/system/bin/sh: cd: /sdcard: Not a directory
2|root@vexpress:/data #
The file can be transferred successfully from host machine side, but can't be found under /sdcard |
On ARM Versatile Express A9 board with Linaro Android image:
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro-13.10-release/#build=2
SD Card directory is unavailable after ADB file transfer. The procedure list is:
1. Establish ADB connection over Ethernet;
2. From host machine, using "adb push" to transfer any file to path "/sdcard"
3. On target serial console, run "cd /sdcard"
Then the error shows:
root@vexpress:/data # cd /sdcard
/system/bin/sh: cd: /sdcard: Not a directory
2|root@vexpress:/data #
The file can be transferred successfully from host machine side, but can't be found under /sdcard
A reboot can eliminate this issue, though the transferred file is still missing. And the "/sdcard" can also be accessed before the file transfer. |
|
2013-10-22 11:42:57 |
Botao |
description |
On ARM Versatile Express A9 board with Linaro Android image:
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro-13.10-release/#build=2
SD Card directory is unavailable after ADB file transfer. The procedure list is:
1. Establish ADB connection over Ethernet;
2. From host machine, using "adb push" to transfer any file to path "/sdcard"
3. On target serial console, run "cd /sdcard"
Then the error shows:
root@vexpress:/data # cd /sdcard
/system/bin/sh: cd: /sdcard: Not a directory
2|root@vexpress:/data #
The file can be transferred successfully from host machine side, but can't be found under /sdcard
A reboot can eliminate this issue, though the transferred file is still missing. And the "/sdcard" can also be accessed before the file transfer. |
On ARM Versatile Express A9 board with Linaro Android image:
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro-13.10-release/#build=2
SD Card directory is unavailable after ADB file transfer. The procedure list is:
1. Establish ADB connection over Ethernet;
2. From host machine, using "adb push" to transfer any file to path "/sdcard"
3. On target serial console, run "cd /sdcard"
Then the error shows:
root@vexpress:/data # cd /sdcard
/system/bin/sh: cd: /sdcard: Not a directory
2|root@vexpress:/data #
The file can be transferred successfully from host machine side, but can't be found under /sdcard
A reboot can eliminate this issue, though the transferred file is still missing. And the "/sdcard" can also be accessed before the file transfer.
Also, here is the output of "df" and "mount" from my board:
##################################
root@vexpress:/ # df
Filesystem Size Used Free Blksize
/dev 504.1M 84.0K 504.0M 4096
/mnt/secure 504.1M 0.0K 504.1M 4096
/mnt/asec 504.1M 0.0K 504.1M 4096
/mnt/obb 504.1M 0.0K 504.1M 4096
/system 487.9M 433.5M 54.4M 4096
/cache 239.9M 2.0M 237.9M 1024
/data 487.8M 90.6M 397.2M 1024
/mnt/sdcard 2.3G 121.5M 2.2G 4096
/mnt/secure/asec 2.3G 121.5M 2.2G 4096
##################################
root@vexpress:/ # mount
rootfs / rootfs rw,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
tmpfs /mnt/secure tmpfs rw,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/block/mmcblk0p2 /system ext4 ro,relatime,data=ordered 0 0
/dev/block/mmcblk0p3 /cache ext4 rw,nosuid,nodev,noatime,errors=panic,data=ordered 0 0
/dev/block/mmcblk0p5 /data ext4 rw,nosuid,nodev,noatime,errors=panic,data=ordered 0 0
nodev /dev/gator gatorfs rw,relatime 0 0
/dev/block/vold/179:6 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codep0
/dev/block/vold/179:6 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
root@vexpress:/ # |
|