OSDN Git Service

2013.10.24
[uclinux-h8/uClinux-dist.git] / Documentation / NETBURNER-MOD5272-HOWTO
1 NetBurner MOD5272 How To
2 ------------------------
3
4 This is some tips about how to archive uClinux running in NetBurner MOD5272,
5 but it is applied to MOD5282 too.
6
7 The NetBurner TFTP client don't work correctly with Linux TFTP server, to
8 get it working you need manually set the target IP and MAC in your host
9 (where TFTP server is running) to it use the ARP command:
10
11     arp -s 192.168.0.1 00:03:F4:01:1E:F0
12
13 Where 192.168.0.1 is the target (MOD5272) board and 00:03:F4:01:1E:F0 is
14 the target MAC address.
15
16 You need copy the image.s19 to your TFTP directory using uppercase characters,
17 because the NetBurner TFTP client convert the input file name to uppercase:
18
19     cp images/image.s19 /tftpboot/IMAGE.S19
20
21 Start the board and enter in NetBurner monitor (press 'A' key in serial
22 console), then execute:
23
24     NB> ndl image.s19
25
26 When the download finished execute:
27
28     NB> go 2000000
29
30 Then uClinux will start.
31
32 If you want write uClinux in MOD5272 flash memory use the compcode from
33 NetBurner SDK, you can recompile this program to Linux since source code is
34 available. Execute this command:
35
36     compcode IMAGE.S19 IMAGEAPP.S19
37
38 To write it in MOD5272 flash use this command:
39
40     NB> nfla imageapp.s19
41
42
43 Alan Carvalho de Assis
44 alancarbr@yahoo.com.br
45