test SIE's uSD

Adam Wang adam at sharism.cc
Tue Aug 24 00:32:31 EDT 2010


Hi Xiangfu,

Thanks for your this
http://projects.qi-hardware.com/index.php/p/nn-usb-fpga/source/commit/6214615608d763c8fae468416f7394127b098429/

I 'scp' it into my SIE successfully.

and used new Kernel you built from this:
http://www.openmobilefree.net/other/downloads/SIE/openwrt-xburst-qi_lb60-uImage.bin

In BEN(Four-bit SD mode): the detect pin for uSD's socket is pin GPD0 of
cpu, SIE(One-bit SD mode)'s is GPC27

                 >> BEN(4*lines) >> SIE(1*line)
        SDDDET >> GPD0       >> GPC27
        SDCLK   >> GPD9       >> GPD9
        SDCMD  >> GPD8       >> GPD8
        SDD0    >> GPD10      >> GPD10
        SDD1    >> GPD11
        SDD2    >> GPD12
        SDD3    >> GPD13

In SIE : is pin GPC27 with low detect when inserting uSD.
http://projects.qi-hardware.com/index.php/p/nn-usb-fpga/source/tree/master/linux-2.6.32.7_sakc/arch/mips/include/asm/mach-jz4740/board-sakc.h
http://projects.qi-hardware.com/index.php/p/nn-usb-fpga/source/tree/master/linux-2.6.32.7_sakc/arch/mips/jz4740/board-sakc.c

So now I got: "ERROR - there is no memory card inserted"

if [ -b "/dev/mmcblk0" ] ; then
        echo "there is a memory card present"
else
        echo "ERROR - there is no memory card inserted"
        exit 1
fi

So I wasn't sure if the new Kernel used a "low" level to assign detect
status and support One-bit SD mode. Could you help me on this?

-- 
Best Regards
Adam Wang
http://www.nanonote.cc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.en.qi-hardware.com/pipermail/discussion/attachments/20100824/c46914dc/attachment.htm>


More information about the discussion mailing list


interactive