diff options
Diffstat (limited to 'sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix')
9 files changed, 0 insertions, 196 deletions
diff --git a/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/collie/sharp_mmcsd_m.o b/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/collie/sharp_mmcsd_m.o deleted file mode 100644 index e69de29bb2..0000000000 --- a/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/collie/sharp_mmcsd_m.o +++ /dev/null diff --git a/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/corgi/sharp_mmcsd_m.o b/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/corgi/sharp_mmcsd_m.o deleted file mode 100644 index e69de29bb2..0000000000 --- a/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/corgi/sharp_mmcsd_m.o +++ /dev/null diff --git a/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/husky/sharp_mmcsd_m.o b/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/husky/sharp_mmcsd_m.o deleted file mode 100644 index e69de29bb2..0000000000 --- a/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/husky/sharp_mmcsd_m.o +++ /dev/null diff --git a/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/poodle/sharp_mmcsd_m.o b/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/poodle/sharp_mmcsd_m.o deleted file mode 100644 index e69de29bb2..0000000000 --- a/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/poodle/sharp_mmcsd_m.o +++ /dev/null diff --git a/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sd b/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sd deleted file mode 100644 index 9a9caf6d23..0000000000 --- a/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sd +++ /dev/null @@ -1,67 +0,0 @@ -#!/bin/sh - -# rc.sd 1.00 2001/08/08 22:40:44 (Hideki Hayami) -# -# Tags for init configuration tools -# -# processname: sdmgr -# pidfile: /var/run/sdmgr.pid -# description: currently SD support is only for memory devices \ -# which is used as block device. - -# Source function library. -# . /etc/rc.d/init.d/functions - -MODULE=sharp_mmcsd_m - -usage() -{ - echo "Usage: $0 {start|stop|status|restart|reload}" -} - - - -if [ $# -lt 1 ] ; then usage ; break ; fi -action=$1 - -case "$action" in - -start) - echo -n "Start SD services:" - /sbin/modprobe $MODULE 2>/dev/null - if [ -s /var/run/sdmgr.pid ]; then - kill -0 `cat /var/run/sdmgr.pid` 2>/dev/null; - else - /sbin/sdmgr >/dev/null 2>&1 & - RETVAL=$? - [ $RETVAL -eq 0 ] && touch /var/lock/subsys/sd - fi - sleep 1 - echo " sdmgr." - ;; - -stop) - echo -n "Stop SD services:" - killall sdmgr - if grep -q $MODULE /proc/modules ; then - /sbin/rmmod $MODULE - fi - rm -f /var/lock/subsys/sd - echo " sdmgr." - ;; - -status) - ;; - -restart|reload) - $0 stop - $0 start - ;; - -*) - usage - ;; - -esac - -exit 0 diff --git a/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sdcontrol b/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sdcontrol deleted file mode 100644 index 0b668f1f0a..0000000000 --- a/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sdcontrol +++ /dev/null @@ -1,129 +0,0 @@ -#!/bin/sh -# -# sdcontrol 1.0 2001/8/8 21:33:19 (Hideki Hayami) -# -# Initialize or shutdown a SD card device -# -# The first argument should be either 'insert' of 'eject'. -# - -ACTION=$1 -DEVICE=/dev/mmcda1 -MOUNT_POINT=/mnt/card -SMB_MOUNT=/home/samba/SD_Card -INSTALL_DIR=Documents/Install_Files -#FSTYPE="-t vfat" -FATOPTS="-o noatime,quiet,umask=000,iocharset=utf8" -EXT2OPTS="-o noatime" - -###### for QPE ###### -get_pid() -{ - echo $1 -} - -wait_release() -{ - count=1 - while true - do - umount $MOUNT_POINT - if [ $? = 0 ]; then - #echo umount >> /tmp/sd - return - fi - echo count=$count >> /tmp/sd - if [ `expr $count \>= 500` = 1 ]; then - #echo time out >> /tmp/sd - return - fi - count=`expr $count + 1` - usleep 200000 - done -} - -kill_task() -{ - ps_line=`ps ax | grep 'qpe$'` # no -w on busybox - qpe_pid=`get_pid $ps_line` - #echo qpe_pid = $qpe_pid >> /tmp/sd - target_pids=`fuser -m $DEVICE | cut -d : -f2` - #echo $target_pids >> /tmp/sd - if [ "$target_pids" = "" ]; then - return - fi - is_exist_qpe=`echo $target_pids | grep $qpe_pid` # no -w on busybox - if [ "$is_exist_qpe" = "" ]; then - kill -9 $target_pids - #echo kill -9 $target_pids >> /tmp/sd - else - #echo "found qpe!!!" >> /tmp/sd - target_pids=`echo $target_pids | sed -e "s/$qpe_pid//"` - if [ "$target_pids" != "" ]; then - kill -9 $target_pids - #echo kill -9 $target_pids >> /tmp/sd - fi - wait_release - exit 0 - fi -} -###### for QPE ###### - - -case "$ACTION" in -'insert') - mount $FSTYPE $FATOPTS $DEVICE $MOUNT_POINT - MOUNT_RES=`mount | grep $DEVICE` - if [ "$MOUNT_RES" = "" ]; then - mount $FSTYPE $EXT2OPTS $DEVICE $MOUNT_POINT - fi - MOUNT_RES=`mount | grep $DEVICE` - - if [ "$MOUNT_RES" = "" ]; then - mount $FSTYPE $DEVICE $MOUNT_POINT - fi - chkmntsh ${MOUNT_POINT} - if [ -d $SMB_MOUNT ] ; then - rm -rf $SMB_MOUNT - fi - ln -s $MOUNT_POINT $SMB_MOUNT - mkdir -p $MOUNT_POINT/$INSTALL_DIR - #echo mount $? >> /tmp/sd - ;; -'eject') - fuser -s -m $DEVICE - if [ $? = 1 ]; then - umount $MOUNT_POINT - rm $SMB_MOUNT - else - exit 1 - fi - ;; -'compeject') - is_mount=`mount | grep $DEVICE` - if [ "$is_mount" = "" ]; then - exit 0 - fi - kill_task # for QPE - #fuser -k -m $DEVICE > /dev/null - umount $MOUNT_POINT - if [ $? != 0 ]; then - usleep 500000 - umount $MOUNT_POINT - #echo umount $? >> /tmp/sd - #else - # echo umount >> /tmp/sd - fi - rm $SMB_MOUNT - ;; -'change') - $0 compeject - $0 insert - ;; -'*') - exit 1 - ;; -esac - -exit 0 - diff --git a/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sdmgr b/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sdmgr deleted file mode 100644 index e69de29bb2..0000000000 --- a/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/sdmgr +++ /dev/null diff --git a/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/shepherd/sharp_mmcsd_m.o b/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/shepherd/sharp_mmcsd_m.o deleted file mode 100644 index e69de29bb2..0000000000 --- a/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/shepherd/sharp_mmcsd_m.o +++ /dev/null diff --git a/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/tosa/sharp_mmcsd_m.o b/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/tosa/sharp_mmcsd_m.o deleted file mode 100644 index e69de29bb2..0000000000 --- a/sharp-binary-only/sharp-sdmmc-support-2.4.18-rmk7-pxa3-embedix/tosa/sharp_mmcsd_m.o +++ /dev/null |