OSDN Git Service

2013.10.24
[uclinux-h8/uClinux-dist.git] / Documentation / COBRAXXXX / en / COBRAXXXX-Getting-started_en.txt
1 File:       COBRAXXXX-Getting-started_en.txt
2 Location:   uClinux-dist/Documentation/COBRAXXXX/en/
3 Author:     Heiko Degenhardt (linux@sentec-elektronik.de)
4 Contents:   Basic steps to get started with the boards.
5 Version:    v01.00
6 Date:       Wed Mar 24 17:59:40 CET 2004
7 License:    This document is under the GNU GPL
8             (see uClinux-dist/COPYING)
9 ______________________________________________________________________
10
11 CHANGES
12 040324  v01.00 Creation
13         (new file, because it is for both boards now
14         (hede)
15 ______________________________________________________________________
16
17 STARTING
18
19 To get started with the development of uClinux, please read the
20 document uClinux-dist/README. It contains everything you need to set
21 up your tool chain, to configure the kernel and so on.
22
23 To get a first working image you should go into the main config menu
24 ("uClinux v3.1.0 Configuration") and select the "Target Platform
25 Selection". There you choose "senTec" as vendor, and your
26 plattform (COBRA5272 or COBRA5282).
27
28 Under "Kernel/Library/Defaults Selection" you can choose
29 your preferred kernel (we suggest linux-2.4.x at first),
30 and which libc version you want to use (uClibc should
31 work).
32
33 Then you leave the main menu with "Exit", and answer "Yes"
34 to save the new config. Finally you do "make dep;make".
35
36 You should find a file called images/image.bin if the build
37 process is finished. The build tool also attempts to
38 copy image.bin into the /tftpboot directory. If you see
39 an error in that step, please verify the existance and
40 the permissions of that directory. If it is there, you can
41 type "dn image.bin" in dBUG, and it will try to download that
42 image. If you get an error, look if the setup of your TFTP
43 server is correct, and that the config of IP addresses, netmask,
44 filename and filetype in dBUG are correct ("show" to check,
45 "set" to correct). If the download is successful, you can
46 start the image then with "go 20000" (on COBRA5272) or
47 "go 10000" (on COBRA5282).
48
49 HINT: You can try to mount a directory /home/uClinux
50 via NFS, that could be your working directory for software
51 development. If that doesn't work, please check that
52 a) the directory (or a link by the same name) exists
53 b) you have permissions to mount it
54 c) the setup for the IP is correkt. If they are not, please
55    correct the settings either in romfs/etc/rc and "make romfs"
56    then, or in vendors/senTec/romfs/etc/rc and do a "make" again.
57    (The setup of the IPs in dBUG seem to work already, because
58    you wouldn't have a chance to download the image).
59
60 FEEDBACK
61
62 If you find errors, or have some tips or questions concerning this
63 document, please send an email to linux@sentec-elektronik.de.
64
65 ______________________________________________________________________
66 (c) 2004, senTec Elektronik GmbH, Heiko Degenhardt
67