1 mike 1.1.2.1 Synopsis:
2 =========
3
4 This document explains how to get VxWorks running on the IQ8134.
5
6 Configuring RedBoot:
7 ====================
8
9 RedBoot> fconfig -i
10
11 <...answer prompts...>
12
13 Downloading the VxWorks image:
14 ==============================
15
16 RedBoot> load -m HTTP -h 192.168.1.20 /vxWorks
17 Entry point: 0x00200000, address range: 0x00200000-0x002d8450
18
19 RedBoot> load -v -m tftp -h 192.168.1.20 /vxWorks
20
21 Running VxWorks:
22 mike 1.1.2.1 ================
23
24 RedBoot> exec
25
26 Flashing the IQ8134:
27 ====================
28
29 Image Flash Address
30 ---------------------------------
31 dual_boot.bin 0x00000000
32 bootrom_0.bin 0x00040000
33 bootrom_1.bin 0x00400000
34
35 Flash log:
36
37 RedBoot> load -b 0x500000 -r -m tftp bootrom_0.bin
38 RedBoot> fis unlock -f 0xF0040000 -l 0x80000
39 RedBoot> fis write -b 0x500000 -f 0xF0040000 -l 0x80000
40 RedBoot> fis lock -f 0xF0040000 -l 0x80000
41
42 RedBoot> load -b 0x500000 -r -m tftp bootrom_1.bin
43 mike 1.1.2.1 RedBoot> fis unlock -f 0xF0400000 -l 0x80000
44 RedBoot> fis write -b 0x500000 -f 0xF0400000 -l 0x80000
45 RedBoot> fis lock -f 0xF0400000 -l 0x80000
46
47 RedBoot> load -b 0x500000 -r -m tftp dual_boot.bin
48 RedBoot> fis unlock -f 0xF0000000 -l 0x20000
49 RedBoot> fis write -b 0x500000 -f 0xF0000000 -l 0x20000
50 RedBoot> fis lock -f 0xF0000000 -l 0x20000
51
52 Creating the BSP:
53 =================
54
55 $ vxprj create iq8134x diab vxsim.wpj
56 $ make RAM_LOW_ADRS=07200000 RAM_HIGH_ADRS=07600000
57
|
58 mike 1.1.2.2
59 Connecting to target:
60 =====================
61
62 $ wtxregd start
|
63 mike 1.1.2.3 $ tgtsvr -V -RW 192.168.1.55 (image must be at /vxWorks and /tftp/vxWorks)
|
64 mike 1.1.2.2 $ windsh 192.168.1.55@redbird
65
|
66 mike 1.1.2.3 NFS:
67 ====
68
69 $ hostAdd("redbird", "192.168.1.20")
70 value = 0 = 0x0
71 $ nfsMount("redbird", "/iq8134x", 0)
72 value = 0 = 0x0
73
74 Boot params:
75 ============
76 boot device : gei
77 unit number : 0
78 processor number : 0
79 host name : host
80 file name : /share/vxWorks
81 inet on ethernet (e) : 192.168.1.55
82 inet on backplane (b): 192.168.1.55
83 host inet (h) : 192.168.1.20
84 flags (f) : 0x80
85 target name (tn) : iq8134
86
87 mike 1.1.2.3 Loading a task:
88 ===============
89
|
90 mike 1.1.2.4 $ ld < cimserver
|
91 mike 1.1.2.3 $ lkAddr cimserver
|
92 mike 1.1.2.4 ... (get address from this list and use in next command ) ...
|
93 mike 1.1.2.3 $ taskSpawn("t123", 100, 0x19, 64536, 0x079217e4)
94
|