2010ǯ11��18��
PARTNER-Jet��ľ��I/O�ݡ��Ȥ��ɤ߽ñ¤¤ï¿½ï¿½ï¿½
KZM-A9-Dual�ܡ�����Linux�ΥǥХ����ɥ饤�ФΥǥХå��򤷤Ƥޤ���
SD�����ɤ��ɤ�Ȥ��˥��顼�ˤʤäƤ��ޤ��ޤ���eMMC�����꤬�ʤ��Τˤʤ�ǡ�
��Ǻ��Ǥ�����ܡ��ɲ����󤫤�SD���Ÿ���ON�ˤʤäƤ��ʤ��ΤǤϡ��Ȥ������󤬡�
GPIO��P024��ON(1)�ˤ��ƤߤƤȤ������ȤʤΤǡ�PARTNER-Jet��I/O�ݡ��Ȥ��ɤ߽ñ¤¤ï¿½ï¿½ëµ¡Ç½ï¿½ï¿½È¤Ã¤Æ»î¤·ï¿½Æ¤ß¤Þ¤ï¿½ï¿½ï¿½ï¿½ï¿½
SD�����ɤ��������ФϤ����ȤǤ��Ƥ���Τǡ�SD�����ɤ򺹤��ȼ�ưŪ�˥����ͥ��SD�ɥ饤�Ф�SD�Υե����륷���ƥ�μ��̤�����å����褦�Ȥ���ΤǤ����������ǤΥ��ޥ�ɤ����顼�ˤʤäƤ��ޤäƤ��ޤ��������ͥ�Υ����ˤϰʲ��Υ��顼��å��������Ǥޤ���
mmc1: error -110 whilst initialising SD card
��GPIO��P024��ON�ˤ���פ���ˤϰʲ��μ���դ�ɬ�פ�����ޤ���
- GPIO��P024��������Ƥ��Ƥ���ԥ��GPIO�⡼�ɤ˥��åȤ��롣
- GPIO��P024��Pull Up/Pull Down������򤹤롣
- GPIO��P024�������Ϥ�������output�����ꤹ��
- GPIO��P024��1��ñ¤¹ï¿½ï¿½à¡£
(1)��(2)�Ͻ�����������꤬���Ǥˤ����ʤäƤ��뤳�Ȥ��ǧ���ޤ�����
(3)�� 0xe0050000 ��bit24��Ω�Ƥ�Ф褤�Ȥ������Ȥ��狼��ޤ�����
(4)�� 0xe005000c ��16bit�ǽñ¤¹ï¿½ï¿½ß¥Þ¥ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½16bit�ǽñ¤¹ï¿½ï¿½ï¿½ï¿½Í¤ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Ð¤è¤¤ï¿½È¤ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½È¤ï¿½ï¿½ï¤«ï¿½ï¿½Þ¤ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Ä¤Þ¤ê¡¢0xe005000c��0x01000100 ��ñ¤±¤Ð¤è¤¤ï¿½ï¿½
(3)��(4)��Ԥ���������̤ϥǥХ����ɥ饤�ФΥ������������ƺǥ���ѥ��뤷�ƻ���Ȥˤʤ�ΤǤ�����PARTNER-Jet�ǥ֥졼�������ƥ��ޥ�ɥ饤�󤫤�ľ�ܤ�����I/O�ݡ��Ȥ��ɤ߽ñ¤¤ï¿½ï¿½ë¤³ï¿½È¤ï¿½ï¿½Ç¤ï¿½ï¿½Þ¤ï¿½ï¿½ï¿½
pod���ޥ�ɤ�Ȥ��ޤ��� (Port Output by Double word)
>pod 0xe0050000,0x01000000 >pod 0xe005000c,0x01000100
GPIO P024�˽ñ¤¹ï¿½ï¿½ï¿½ï¿½ï¿½Í¤ï¿½ 0xe005000c���16bit���ɤ�г�ǧ�Ǥ��ޤ��������Ǥ�GPIO[16:31]���ɤ�ޤ���pid���ޥ�ɤ�Ȥ��ޤ���(Port Input by Double word)
>pid 0xe005000c address : data : bit data E005000C 00002100 0000 0000 0000 0000 0010 0001 0000 0000 >
16�ʿ���2�ʿ���ξ����ɽ������ޤ������̤Υ�����ɤॳ�ޥ�ɤ�����Ū�Υ��ɥ쥹�ʳ��ˤ⤽�μ��դΥ�����ɤ�Ǥ��ޤ��ޤ���������pid���ޥ�ɤǤϻ��ꤷ�����ɥ쥹������ԥ�ݥ���Ȥ��ɤ߹��ߤޤ���
GPIO P024�ϳΤ���1�ˤʤä��褦�Ǥ���
���줬ON�ˤʤ�ȥܡ��ɾ��LED5���������뤽���Ǥ�����������ǧ�Ǥ��ޤ�����
PARTNER-Jet��Go���ޥ�ɤ�CPU�μ¹Ԥ�Ƴ������ޤ���
>g
���ξ��֤�SD�����ɤ򥹥��åȤ˺����Ƥߤ��
mmc1: new SD card at address 0300 mmcblk1: mmc1:0300 SD512 488 MiB mmcblk1: p1 p2 p3
���ޤ������ޤ�������
/dev/mmcblk1p3��ޥ���Ȥ��ƥե����륷���ƥ���ɤ߽ñ¤¤ï¿½ï¿½ë¤³ï¿½È¤ï¿½Ç¤ï¿½ï¿½Þ¤ï¿½ï¿½ï¿½ï¿½ï¿½
�Ĥޤ�SD���Ÿ���ON�ˤʤäƤ��ʤ��ä��Ȥ����Τ�������
���λ��¤�����ǧ�Ǥ���С�Linux��SD�ΥǥХ����ɥ饤�Ф�GPIO P24��1�ˤ��륳���ɤ��ɲä���Ф褤�Ȥ������ȤǤ���
����Ϥ����ˤǤ��������褷�ޤ�����
���Τ��ȡ�LCD�ܡ��ɾ�ˤ��뽽�������ȥ�˥塼�������Хå��������Ȥ���褦�˥����ܡ��ɥǥХ����ɥ饤�Ф��������ΤǤ����������Υ����Ϥ�Ϥ�GPIO�ǤĤʤ��äƤ���Τǡ�Ʊ���褦��PARTNER-Jet��pod, pid���ޥ�ɤ����ư����ǧ���뤳�Ȥ��Ǥ��ޤ�����
(2010.12.2�ɵ�)
ʪ�����ɥ쥹��ľ�ܻ��ꤹ����ˡ
Linux��ư���Ƥ���Ȥ��ϴ���Ū��MMU��ON�ˤʤäƤ���Τ�CPU�ΰ������ɥ쥹�����Ʋ��ۥ��ɥ쥹�Ȥ��ư����ޤ����������ϡ��ɥ������λ��ͽ�˽񤤤Ƥ���I/O�ݡ��ȤΥ��ɥ쥹��ʪ�����ɥ쥹�Ǥ���
���Τ���I/O�ݡ��Ȥ�ľ��ʪ�����ɥ쥹�ǻ��ꤷ�������̤�¿���Ȼפ��ޤ���PARTNER-Jet��pid, pod���ޥ�ɤǤ� ,/p �Ȥ������ץ�����Ĥ���Ȼ��ꤵ�줿���ɥ쥹����Ū��ʪ�����ɥ쥹�Ȥ��ư������Ȥ��Ǥ��ޤ���
>pid 0xe005000c,/p address : data : bit data E005000C 00002100 0000 0000 0000 0000 0010 0001 0000 0000
��Ϣ����ڡ���
���ꥢ�륳�󥽡����UART0����UART1���ѹ�����(U-boot��)