VxWorks����ϵͳ����������֣�����������ڴ�������豸�������ļ�ϵͳ����������Э��ջ
I/O Systemѧϰ�ʼ�
�ڹ����У������������������⣺
- �ع����뽫�����ļ����棬�����ļ����뵼����Firmware����3��ʹ�þ��ڴ棨M���𣩵IJ�������Ϊһ���������⼸�����̶��漰��ϵͳ�����������ڵ��Ե�ʱ��ͽ���λ�źŵ�����رա��������һ�����⣬�ڵڶ��β�����ʱ��ʹ��printf()������ӡ�ĵ�����Ϣû�д�ӡ�������ն��ϣ����Ǵ�ӡ����Webҳ�档����ͼ��ʾ��image/printf_web_err.gif
- TL-SL3428��TL-SG3210�����ͺŵĽ�����������Ӳ�����Ź���·���������ĸ�λ�ź����1.6S֮��Ӳ�����Ź��Ż�ʹCPU��λ��Ϊ�˲��ø�λ�ź����֮���ٳ�����������ʾ������Ҫ�رմ����նˡ���TL-SL3428�������ܹ��ɹ�ʵ�֣�������TL-SG3210��ȴ���ܹ�ʵ�֡�
- ���ڴ����е�cli�������ϵͳ��������ܹ�ʹ��printf������������ʹ��cli�ṩ��RCC_EXT_WriteStrLine�Ⱥ�����������telent��ssh�£�printf����������Ͳ��ܹ������telent����ssh�ն��ϣ�����Ȼ������˱������console�ϡ�
�ڶ�����������н�һ���ĸ���֮���֣����ͱ����룬�����������������й�ϵ�������������I/O System��֪ʶ��������ˣ�����ϵͳ��ѧϰ�˲���ϵͳ��I/O System�������ݡ�
- IO System(1)
- IO System(2)
- stdin_stdout_stderr -- �����룬����������������
�ڴ����
�ڹ����У���vxWorks���ڴ�������֣���������������⣺
-
����ϵͳ�����������ļ����棬�����ļ�������ʱ�������ڴ治������⣨32M�ڴ���ͣ���Ҫ����4M���ҵĿռ䣩�����bug 11830��bug������������£�
����ӦSVN�汾����SVN 8780 ��bugԭ��������������ڴ治��ͼӼ�������ȷ����� ��bug�����Դ�����ڴ治�㣬�����еĻ����ϣ�32M�ڴ棩������������� ��bug�����������ع�ϵͳ�����������ļ����룬�����ļ����������ֵĶԴ��ڴ�ʹ�ò��֣�ʹ��ͬһƬ�ڴ�ռ䣬���ڷֱ�����ڴ����롣
�ڴ治��Ĵ�ӡ��Ϣ���£�
WEB������ʾ"Failed to save the config file."�����ڴ�ӡ"0x817b4ed0(mud1_t0):memPartAlloc:block too big - 1572880 in partition 0x80afa580." -> memShow status bytes blocks avg block max block ------ ---------- --------- ---------- ---------- current free 6154560 104 59178 6090096 alloc 15027104 4265 3523 - cumulative alloc 18914224 11103 1703 - value = 0 = 0x0 -> TP-LINK#MallocJumboMem() user:0 MallocJumboMem() user:0 MallocJumboMem() user:3 0x8121c950 (mud1_t0): memPartAlloc: block too big - 65552 in partition 0x80b005c0. 0x8121c950 (mud1_t0): memPartAlloc: block too big - 65552 in partition 0x80b005c0. 0x8121c950 (mud1_t0): memPartAlloc: block too big - 65552 in partition 0x80b005c0. compress error FreeJumboMem() -> memShow status bytes blocks avg block max block ------ ---------- --------- ---------- ---------- current free 1158768 1178 983 692288 alloc 20022896 6135 3263 - cumulative alloc 75651344 111293 679 - value = 0 = 0x0
- 11����Ա��C������ѵϰ��4�����ڻ��ϵͳ�㷨��buddy system��ģ��ʵ��һ���ڴ��������
�����������ⶼ�漰��OS��vxWorks���ڴ�����������Ƕ�̬�ڴ�������⡣������ˣ�������ѡ���ѧϰ�˲���ϵͳ���ڴ�����������ݡ�
�����
- ����������Linux�ںˡ� ������ �ڴ����
- vxWorksԴ�� memLib.c memPartLib.c memShow.c
����Э��ջѧϰ�ʼ�
��Ҫ�ο����ϣ�
- ��VxWorksЭ��ջ�о����桷 ����ǿ
- ��Wind River Network Stack 2.0���ݴ������̡���ף��
VxWorks�е�����Э��ջ����SENS��Scalable Enhanced Network Stack�������ɲü���ǿ������Э��ջ��SENS�ǻ���BSD4.4 TCP/IPЭ��ջ��չ�����ģ����ǰ���������BSD4.4 TCP/IPЭ��ջû�е�Э�飬ͬʱSENS��ʵ��һЩЭ�鹦��ʱ�����������������ԣ�������IPЭ��ʵ��ʱ�����˶ಥ���ܡ�
����
ջÄڴæÒç³öµĵ÷ÊÔ×ܽá -- ���������������ʼ��ܽ�