If you are trying to push something onto your device. Forget to mount your sdcard. Because the command "adb push system.img /sdcard" reads the destination of your device's own drive structure. "/sdcard" doesn't mean you need to have a mount point or directory on your own computer. In the contrary, it exists on the device's flash drive.
In addition, once you have mounted your sdcard onto your computer, you can not use the command "adb push" anymore, because it is only readable at this moment. But you can still copy and paste your files directly without using adb push. Normally, the device's flash drive is separeted into three folders. For me, there are: /data, /mnt, /system and under /mnt, we have "sdcard". What's more, we have created a hard link named "sdcard" at the root of system which points to "/mnt/ sdcard". To know more about the system structure, try the command "adb shell", then you can type the unix command like "ls" there. Regards! On Apr 6, 3:30 am, BiX <[email protected]> wrote: > I plugged in my thumb drive to a usb hub connected to Beagleboard > running Gingerbread and minicom shows that the device is recognized as > shown below: > > usb 1-2.3: new high speed USB device using ehci-omap and address > 4 > usb 1-2.3: New USB device found, idVendor=0781, > idProduct=5567 > usb 1-2.3: New USB device strings: Mfr=1, Product=2, > SerialNumber=3 > usb 1-2.3: Product: Cruzer > Blade > usb 1-2.3: Manufacturer: > SanDisk > usb 1-2.3: SerialNumber: > 20044318630C8D218CFD > scsi1 : usb-storage > 1-2.3:1.0 > scsi 1:0:0:0: Direct-Access SanDisk Cruzer Blade 1.00 PQ: 0 > ANSI: 2 > sd 1:0:0:0: Attached scsi generic sg1 type > 0 > sd 1:0:0:0: [sdb] 15625216 512-byte logical blocks: (8.00 GB/7.45 > GiB) > sd 1:0:0:0: [sdb] Write Protect is > off > sd 1:0:0:0: [sdb] Assuming drive cache: write > through > sd 1:0:0:0: [sdb] Assuming drive cache: write > through > > sdb: > > sdb1 > sd 1:0:0:0: [sdb] Assuming drive cache: write > through > sd 1:0:0:0: [sdb] Attached SCSI removable disk > > However, executing a mount does not show the device: > > # mount > rootfs / rootfs rw 0 0 > /dev/root / ext3 rw,relatime,errors=continue,data=writeback 0 0 > tmpfs /dev tmpfs rw,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/asec tmpfs rw,relatime,mode=755,gid=1000 0 0 > tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0 > /dev/block/vold/179:1 /mnt/sdcard vfat > rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount- > ro 0 0 > /dev/block/vold/179:1 /mnt/secure/asec vfat > rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount- > ro 0 0 > tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 > 0 > > # df > Filesystem Size Used Free Blksize > / 3G 184M 3G 4096 > / 3G 184M 3G 4096 > /dev 120M 44K 120M 4096 > /mnt/asec 120M 0K 120M 4096 > /mnt/obb 120M 0K 120M 4096 > /mnt/sdcard 69M 4M 65M 512 > /mnt/secure/asec 69M 4M 65M 512 > > Am I missing any modules or steps? I've built all the SCSI modules > already and usb mass storage. -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
