My favorites | Sign in
Project Home Issues Source
Repository:
Checkout   Browse   Changes   Clones    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
<?xml version='1.0'?>
<!-- $Revision: 1.8 $ $Date: 2009-09-10 11:02:51 $ -->

<mklepton>
<target name="gnu32_lepton">
<arch dest_path="$(HOME)/tauon/sys/root/src/kernel/core/arch/synthetic/x86" />
</target>

<target name="cortexm_lepton">
<arch dest_path="$(HOME)/tauon/sys/root/src/kernel/core/arch/cortexm" />
</target>

<kernel>
<!-- cpu type and frequency in MHz or Hz-->
<target name="gnu32_lepton">
<cpu freq="10"/>
</target>

<target name="cortexm_lepton">
<cpu type="cpu_arm9" freq="100"/>
</target>

<!-- total heap size (__KERNEL_HEAP_SIZE ) for all processes stack (only for m16C arch)-->
<heap size="10000" />

<!-- process max (__KERNEL_PROCESS_MAX: must be strictly less than thread max)-->
<process max="8" />

<!-- max open file (MAX_OPEN_FILE)-->
<openfiles max="16" />

<!-- max descriptor per process (OPEN_MAX)-->
<descriptors max="8" />

<!-- cpu built-in file-system (see fileflash device) -->
<!--cpufs size="6000" node="64" blocksz="32"/-->
<cpufs size="4000" node="64" blocksz="32"/>

<!-- bin path (__KERNEL_ENV_PATH)-->
<env path="/usr;/usr/sbin;/usr/bin" />

<!-- use ip stack (__KERNEL_NET_UIP)-->
<network use="on" />

</kernel>

<!-- devices drivers-->
<devices>
<!-- /dev/null -->
<dev name="dev_null_map" use="on"/>
<!-- /dev/proc -->
<dev name="dev_proc_map" use="on"/>
<!-- /dev/hd/hda -->
<dev name="dev_cpufs_map" use="on"/>
<!-- /dev/pipe -->
<dev name="dev_pipe_map" use="off"/>
<!-- /dev/tty0 -->
<dev name="dev_tty_map" use="off"/>
<!-- /dev/sock uip-->
<dev name="dev_sock_map" use="off"/>
<!-- /dev/sock lwip-->
<dev name="dev_lwip_sock_map" use="on"/>
<!-- /dev/ip lwip ip stack-->
<dev name="dev_lwip_stack_map" use="on"/>
<!-- /dev/fb -->
<dev name="dev_fb_map" use="off"/>
<!-- /dev/fb -->
<dev name="dev_loadavg_map" use="on"/>
</devices>

<target name="gnu32_lepton">
<devices>
<!-- special device /dev/vcpu to get shared memory address-->
<dev name="dev_linux_virtual_cpu_map" use="on"/>
<!-- /dev/hd/hd(x) -->
<dev name="dev_linux_filerom_map" use="on"/>
<!-- /dev/hd/hd(x) -->
<dev name="dev_linux_fileflash_map" use="on"/>
<!-- /dev/ttys0 -->
<dev name="dev_linux_com0_map" use="on"/>
<!-- /dev/ttys1 -->
<dev name="dev_linux_com1_map" use="on"/>
<!-- /dev/rtc0 -->
<dev name="dev_linux_rtc_map" use="on"/>
<!-- /dev/eth0 -->
<dev name="dev_linux_eth_map" use="on"/>
<!-- /dev/lcd0 -->
<dev name="dev_linux_screen_map" use="on"/>
<!-- /dev/kb0 -->
<dev name="dev_linux_kb_map" use="on"/>
<!-- /dev/sdcard0 -->
<dev name="dev_linux_sdcard_map" use="on"/>
</devices>
</target>


<target name="cortexm_lepton">
<devices>
<!-- /dev/ttys3 -->
<dev name="dev_k60n512_uart_s3_map" use="on"/>
<!-- /dev/rtc0 -->
<dev name="dev_k60n512_rtc_map" use="on"/>
<!-- /dev/eth0 -->
<dev name="dev_twrk60n512_enet_map" use="on"/>
<!-- /dev/sdhc -->
<dev name="dev_k60n512_sdhc_map" use="on"/>
<!-- /dev/sdhc -->
<dev name="dev_sd_map" use="on"/>
<!-- /dev/dspi0 -->
<dev name="dev_k60n512_dspi_2_map" use="on"/>
<!-- /dev/ttys0 -->
<dev name="dev_k60n512_uart_s0_map" use="off"/>
<!-- /dev/ttys4 -->
<dev name="dev_k60n512_uart_s4_map" use="off"/>
<!-- /dev/i2c0 -->
<dev name="dev_twrk60n512_i2c_0_m24xx_map" use="off"/>
<!-- /dev/hd/hdc -->
<dev name="dev_eeprom_24xxx_0_map" use="off"/>
<!-- /dev/i2c1 on i2c0 use dev_twrk60n512_i2c_0_mma7660_map or
dev_twrk60n512_i2c_0_m24xx_map + dev_eeprom_24xxx_0_map-->
<dev name="dev_twrk60n512_i2c_0_mma7660_map" use="on"/>
<!-- /dev/gleds -->
<dev name="dev_twrk60n512_gpio_leds_map" use="on"/>
</devices>
</target>

<!-- mount device on boot .mount -->
<mount dest_path="$(HOME)/tauon/sys/user/tauon_sampleapp/etc">
<!-- mount EEPROM on /etc -->
<!--disk type="ufs" dev="/dev/hd/hdb" point="/etc" /-->
<!-- mount EEPROM on /usr -->
<disk type="ufs" dev="/dev/hd/hdc" point="/usr" />
</mount>

<!-- launch process on boot target path: /usr/etc/.boot-->
<target name="gnu32_lepton">
<boot dest_path="$(HOME)/tauon/sys/user/tauon_sampleapp/etc">
<!--command arg="initd -i /dev/ttys1 -o /dev/ttys1" /-->
<command arg="initd -i /dev/ttys1 -o /dev/tty0" />
</boot>
</target>

<!-- specially for K60n512 -->
<target name="cortexm_lepton">
<boot dest_path="$(HOME)/tauon/sys/user/tauon_sampleapp/etc">
<command arg="initd -t 100 -i /dev/ttys3 -o /dev/ttys3" />
</boot>
</target>

<!-- binaries. see ...-->
<!-- /usr/bin -->
<binaries src_path="sbin" dest_path="sbin">
<target name="gnu32_lepton">
<bin name="initd" stack="8192" priority="10" timeslice="5" />
<bin name="lsh" stack="8192" priority="10" timeslice="5" />
<bin name="mount" stack="8192" priority="10" timeslice="5" />
<bin name="umount" stack="8192" priority="10" timeslice="5" />
<bin name="ls" stack="8192" priority="10" timeslice="5" />
<bin name="ps" stack="8192" priority="10" timeslice="5" />
<bin name="kill" stack="8192" priority="10" timeslice="5" />
<bin name="touch" stack="8192" priority="10" timeslice="5" />
<bin name="cat" stack="8192" priority="10" timeslice="5" />
<bin name="more" stack="8192" priority="10" timeslice="5" />
<bin name="mkfs" stack="8192" priority="10" timeslice="5" />
<bin name="df" stack="8192" priority="10" timeslice="5" />
<bin name="uname" stack="8192" priority="10" timeslice="5" />
<bin name="pwd" stack="8192" priority="10" timeslice="5" />
<bin name="rmdir" stack="8192" priority="10" timeslice="5" />
<bin name="mkdir" stack="8192" priority="10" timeslice="5" />
<bin name="rm" stack="8192" priority="10" timeslice="5" />
<bin name="od" stack="8192" priority="10" timeslice="5" />
<bin name="date" stack="8192" priority="10" timeslice="5" />
<bin name="echo" stack="8192" priority="10" timeslice="5" />
</target>
</binaries>

<binaries src_path="sbin" dest_path="sbin">
<target name="cortexm_lepton">
<bin name="initd" stack="2048" priority="10" timeslice="1" />
<bin name="lsh" stack="2048" priority="10" timeslice="1" />
<bin name="mount" stack="2048" priority="10" timeslice="1" />
<bin name="umount" stack="2048" priority="10" timeslice="1" />
<bin name="ls" stack="2048" priority="10" timeslice="1" />
<bin name="ps" stack="2048" priority="10" timeslice="1" />
<!--bin name="kill" stack="2048" priority="10" timeslice="5" /-->
<!--bin name="touch" stack="2048" priority="10" timeslice="5" /-->
<bin name="cat" stack="2048" priority="10" timeslice="1" />
<!--bin name="more" stack="2048" priority="10" timeslice="5" /-->
<bin name="mkfs" stack="2048" priority="10" timeslice="1" />
<bin name="df" stack="2048" priority="10" timeslice="1" />
<bin name="uname" stack="2048" priority="10" timeslice="1" />
<bin name="pwd" stack="2048" priority="10" timeslice="1" />
<bin name="rmdir" stack="2048" priority="10" timeslice="1" />
<bin name="mkdir" stack="2048" priority="10" timeslice="1" />
<bin name="rm" stack="2048" priority="10" timeslice="1" />
<!--bin name="od" stack="2048" priority="10" timeslice="5" /-->
<bin name="date" stack="2048" priority="10" timeslice="1" />
<bin name="echo" stack="2048" priority="10" timeslice="1" />
</target>
</binaries>

<binaries src_path="bin" dest_path="bin">
<target name="cortexm_lepton">
<!-- tools test-->
<bin name="test" stack="2048" priority="10" timeslice="1" />
<bin name="test2" stack="2048" priority="10" timeslice="1" />
<bin name="tsti2c" stack="4096" priority="10" timeslice="1" />
<bin name="tstleds" stack="1024" priority="10" timeslice="1" />
</target>
</binaries>

<binaries src_path="bin/net" dest_path="bin/net">
<bin name="ifconfig" stack="2048" priority="10" timeslice="1"/>
<bin name="telnetd" stack="2048" priority="10" timeslice="1"/>
<bin name="ftpd" stack="2048" priority="10" timeslice="1"/>
</binaries>

<files>
<!-- /usr/etc (hda internal flash mount on /bin) -->
<file name=".init" src_file="$(HOME)/tauon/sys/user/tauon_sampleapp/etc/.init_with_net_k60" dest_path="etc" />
<file name=".boot" src_file="$(HOME)/tauon/sys/user/tauon_sampleapp/etc/.boot" dest_path="etc" />
<file name=".mount" src_file="$(HOME)/tauon/sys/user/tauon_sampleapp/etc/.mount" dest_path="etc" />
</files>

<files>
<target name="cortexm_lepton">
<file name="fatft.sh" src_file="$(HOME)/tauon/sys/user/tauon_sampleapp/src/sh/fatsd_cortexm.sh" dest_path="bin/sh" />
</target>
</files>

</mklepton>

Change log

947f77704e38 by lepton.jjp <lepton.jjp> on Feb 10, 2012   Diff
add leds test
Go to: 
Project members, sign in to write a code review

Older revisions

f3b5ea3c3d3f by lepton.jjp <lepton.jjp> on Feb 10, 2012   Diff
add new i2c devices
fcedd67b42f8 by lepton.jjp <lepton.jjp> on Feb 6, 2012   Diff
add example of i2c devices MMA7660fc
a136e97918c3 by lepton.jjp <lepton.jjp> on Feb 2, 2012   Diff
add new devices for sample application
All revisions of this file

File info

Size: 9638 bytes, 231 lines
Powered by Google Project Hosting