OSDN Git Service

2013.10.24
[uclinux-h8/uClinux-dist.git] / Documentation / FAQ
1 uClinux FAQ
2 -----------
3
4
5 Q: During the link process I get error messages like:
6
7 /usr/local/bin/m68k-elf-ld.real: address 0x1069fe of linux section .bss is not
8 within region ram
9
10 or:
11
12 /usr/local/m68k-elf/bin/ld.real: region flatmem is full (../../bin/xxxx.elf
13 section .bss)
14
15 A: This can be caused by a missconfiguration of the linker description file 
16 (1st
17 example)as well as by your program exceeding the maximum size (2nd example). 
18 The
19 linker description file for the kernel can be found under the ./arch directory
20 for your specific architecture. It's name is 'ram.ld'. If your application is
21 getting to large - or the default setting of 1 MB is to sparse :) - you might
22 want to fiddle around with 'elf2flt.ld' within your toolchain's path. A
23 description of the linker file syntax can be found at ???(Greg?).
24
25
26 Q: What do I need to mount NFS
27
28 A: In the Kernel you have to enable
29
30 * your network device (should be the default)
31 * TCP/IP Networking (should be the default)
32 * File systems -> Network file systems -> NFS File system support
33 * you might need NFSv3 support (for a SuSE 7.3 server you do)
34
35 In the userland:
36
37 * Network->Applications->portmap (recommended)
38 * the mount / unmount command from Filesystem Applications or the BusyBox
39
40 Now you can call:
41
42   mount -t nfs 192.168.0.1:/myexport /mnt -o nolock
43
44 To mount a share without the portmapper. If you forget the nolock option the
45 command will block. If you have the portmapper call:
46
47   portmap &
48   mount -t nfs 192.168.0.1:/myexport /mnt
49