background image

 
NDVR2200F

                                                                           

Installation Guide & User’s 

 

 

1/8/2008                                               

                                                23/66

 

 

5.5. Building NFS File System Environment 

 

5.5.1. The necessary of NFS building 

Using the boot loader only  will make development of  Linux applications  or device drivers on a 

development  board  a  daunting  task.  It  is  simply  because  a  compiled  execution  file  should  be 

turned into a ramdisk image and downloaded at the boot loader. 

Mount  what  is  done  on  the  development  host  to  Linux  of  the  development  board  using  NFS 

system in order to perform this work efficiently. 

Using  NFS  allows  the  file  on  the  development  board  to  be  accessed  and  the  file  can  be 

operated in the development host. NFS allows even a very large file, which cannot be mounted 

on a ramdisk, to be used as it depends on host memory. 

5.5.2. NFS 

NFS, Network File System, allows the user to use a file on a remote host like a local file through 

RPC. This is supported by combining the kernel function of the client, which uses a remote host 

file  system,  and  the  NFS  server  of  the  server  that  provides  data.  Access  to  files  through  NFS 

works in various servers and host architectures. 

 

- Benefits of NFS 

It  supports  to  use  the  content,  which  are  developed  in  a  development  host,  immediately  in  a 

development board. 

Developers can simultaneously share the contents, which are developed on a PC. 

It supports to run a developed application irrespective of its size. 

 

5.5.3. Setting Host NFS Environment 

- Editing file 

Make the directory /nfs (for example) in order to share it through NFS and edit authentication. 

 

 

 

Edit the NFS configuration file, /etc/exports. 

 

 

# cd / 
# mkdir /nfs 
# chmod 777 nfs 
# chown nobody.nobody nfs 

Summary of Contents for SDVR2204PN

Page 1: ...sor ARM9 NVP1004MX 4 Channel Video Processor 4 Channel Video Decoder Encoder S S S SDVR DVR DVR DVR2204PN 2204PN 2204PN 2204PN 4 Channel Standalone H 264 DVR Installation Guide User s Manual Model Nam...

Page 2: ...NDVR2200F Installation Guide User s 1 8 2008 2 66 Revision history Version Date Description V1 0 2007 11 01 First release V1 1 2007 12 28...

Page 3: ...1 3 1 Connecting Serial Terminal 11 4 Terminal Setting in Linux Environment 4 Terminal Setting in Linux Environment 4 Terminal Setting in Linux Environment 4 Terminal Setting in Linux Environment 12...

Page 4: ...0 to Download Boot loader 34 7 1 1 Environment 34 34 34 34 7 1 2 Flash Programming 35 35 35 35 7 2 Setting the Boot loader Environment 42 7 3 Downloading Kernel Ramdisk and Software 43 8 B 8 B 8 B 8 B...

Page 5: ...7 57 57 8 15 Search 58 8 15 1 Time Search 58 58 58 58 8 15 2 Event Search 59 59 59 59 8 15 3 Manual Search 59 59 59 59 8 16 Zoom 60 8 17 Connect with Network Viewer 60 9 Network Viewer 9 Network Viewe...

Page 6: ...g Audio Signals are encoded to the PCM ADPCM data through the NAP9004 And also NVS2200F SoC System on Chip embedded a H 264 Encoder Decoder for Image compression and an ARM9 compatible core Moreover 4...

Page 7: ...ring 60 fps 720x240 50 fps 720x288 Display 1ch Full 4ch PIP and various combination Anti Rolling Zoom Freeze Event search Record search Time search Play Full Duplex Enable to Record during Live PB wor...

Page 8: ...Guide User s 1 8 2008 8 66 1 3 Board IDE PRIMARY CON FRONT KEY CON VGA RJ 45 USB2 0 RS 485 RS 232 PS 2 MOUSE JTAG ARM AUDIO OUT 1CH AUDIO IN 4CH VIDEO OUT 2CH VIDEO IN 4CH HDD Power Power Switch NVS2...

Page 9: ...32data bit as well 2 3 4channel Video Process NVP1004MX NVP1004MX quantizes 4ch analog video signal to digital data in real time Moreover as a video processor NVP1004MX offers various display and Fie...

Page 10: ...ter running the file In substance the upgraded software will be applied in DVR system after restart the system If there are several firmware programs in USB memory stick erase other programs except fo...

Page 11: ...2204PN board Configure the communications protocol as follows Bit rate per second B 38400 Data bit D 8 Parity P None Stop bit S 1 Flow control F No Turn the power of SDVR2204PN board ON if it is OFF I...

Page 12: ...using minicom Set the serial port on Linux For serial communication with SDVR2204PN board you need to modify minicom s environment set up The minicom parameters that are initially set are as follows...

Page 13: ...er to change the serial port Press an appropriate key on the keyboard to change the configuration A Change the serial device E Change parameters F G Change flow control Modify the four items above for...

Page 14: ...following the approach presented below Press an appropriate to set the parameters of SDVR2204PN board Press the Enter key to exit the Comm Parameters After configuration is completed be sure to select...

Page 15: ...ress the spacebar key to see the prompt of the boot loader of the SDVR2204PN board Press the enter key to see the shell prompt Exit the minicom The command to exit the minicom while it is under operat...

Page 16: ...ompiler is called a cross compiler This allows the development of environment for an embedded Linux device In general for the development of an embedded Linux Linux is used as the OS for the developme...

Page 17: ...n on the development board BOOTP and TFTP are used in this process BOOTP is used in order to get an IP on the development host and TFTP is program used in order to download real image from it Using te...

Page 18: ...out control commands of Linux This allows developers to use the editor that they are used to and a web browser with which they find it easy to search the information to develop an embedded Linux Flow...

Page 19: ...required to handle binary files such as ar nm ld ranlib objdump and others These can be downloaded from GNU site GCC GCC is an abbreviation of GNU CC which is compiler It includes compilers for C Fort...

Page 20: ...he information that the host sends to the client through BOOTP includes the filename of a boot image as well as IP address because a combination of BOOTP and TFTP is commonly used for network booting...

Page 21: ...in a program of small size like the boot loader Linked with BOOTP it is used for network booting TFTP is used in two ways as follows In general FTP uses TCP protocol three way handshaking approach bu...

Page 22: ...proach Testing tftp Find the tftpboot directory on a Linux host When you do not find it create one Copy boot loader kernel and ramdisk image from the CD to the tftpboot directory cp mnt cdrom NVS2200F...

Page 23: ...ramdisk to be used as it depends on host memory 5 5 2 NFS NFS Network File System allows the user to use a file on a remote host like a local file through RPC This is supported by combining the kernel...

Page 24: ...cure means 192 168 10 x IP address range is all shared Do the following if you want to make your system information not exposed to the others or accessible by specific host only Once done as above onl...

Page 25: ...o special attention is required nfs warning mount version older than kernel Write a random file on the mounted directory and then check if there is a file nfs If yes it means that the system is in nor...

Page 26: ...ng on Linux Rpm cmountd responds to a mount request coming from a client For a NFS client to be able to use a file system of a server the server needs to set its file system in a way that it can be sh...

Page 27: ...2 udp 111 portmapper 100024 1 udp 32768 status 100024 1 tcp 32768 status 391002 2 tcp 32769 sgi_fam 100011 1 udp 644 rquotad 100011 2 udp 644 rquotad 100011 1 tcp 647 rquotad 100011 2 tcp 647 rquotad...

Page 28: ...nected with NFS In SDVR2204PN board use the mnt nfs which is already created for a NFS mount directory If the NFS server IP is 192 168 10 200 when connecting with the NFS server use the command mount...

Page 29: ...he appropriate development network environment The following example shows setting a fixed IP address Check activation at boot time and write the following information as below IP address 192 168 10 2...

Page 30: ...group workgroup server string Samba Server hosts allow 192 168 1 22 255 255 255 0 printcap name etc printcap load printers yes log file var log samba smbd log max log size 50 security SHARE smb passwd...

Page 31: ...5 6 3 Checking Samba Searching the Samba Server On windows go to start find computer or person computer on network enter the IP address of Linux in the computer name field and click search Once you en...

Page 32: ...has been edited you can use the make bootsImage command only without running the make clean command But it is recommended to run the make clean command if the options or environment configuration hav...

Page 33: ...on Arrow keys navigate the menu Enter selects submenus Highlighted letters are hotkeys Pressing Y includes N excludes M modularizes features Press Esc Esc to exit for Help for Search Legend built in e...

Page 34: ...Boot loader Described in this section is how to download the boot loader onto the flash memory using OPENice A1000 7 1 1 Environment Flash Memory S29GL064A90TFIR7 S29GL128N11TF101 Flash Base Address...

Page 35: ...tallation Guide User s 1 8 2008 35 66 7 1 2 Flash Programming 7 1 2 1 Preparing SMU File NVS2200_FLASH dev Flash Programming Image File S29GL128N11TF axf 7 1 2 2 Flash Program 1 Select Configure Inter...

Page 36: ...User s 1 8 2008 36 66 2 Select Debugger Tap Setting JTAG Interface 3 Select Device file to NVS2200_Flash dev on SMU tap before select device file you must put NVS2200_Flash dev file in C Program File...

Page 37: ...NDVR2200F Installation Guide User s 1 8 2008 37 66 4 Select Flash config tap Check Download box Check Auto box Setting Flash Base Flash size RAM Base and RAM size Check User flash load box...

Page 38: ...NDVR2200F Installation Guide User s 1 8 2008 38 66 5 Select flash loader image S29GL128N11TF axf using below red circle button...

Page 39: ...NDVR2200F Installation Guide User s 1 8 2008 39 66 6 Push OK Button 7 Select File Download Binary Hex File...

Page 40: ...NDVR2200F Installation Guide User s 1 8 2008 40 66 8 Select download image Set Download Address Select Open button 9 Displayed Flash erasing message...

Page 41: ...NDVR2200F Installation Guide User s 1 8 2008 41 66 10 Displayed Flash writing message after completed flash erasing 11 If Progressive Bar is reached to 100 flash programming is done...

Page 42: ...XX XX XX Set the user MAC address setenv autostart 1 Set the application start automatically saveenv Save the variables above printenv Show the environment variables edited Once the environment varia...

Page 43: ...download_size appear on the screen erase 80050000 8019ffff cp b 2000000 80050000 download_size Note Enter a HEX value for the download_size Upon the completion of the kernel downloading reboot the sys...

Page 44: ...3 3 3 3 4 4 4 4 5 5 5 5 6 6 6 6 7 7 7 7 8 8 8 8 9 9 9 9 10 10 10 10 Enter Enter Enter Enter 1 1 1 1 2 2 2 2 3 3 3 3 4 4 4 4 5 5 5 5 6 6 6 6 7 7 7 7 8 8 8 8 9 9 9 9 10 10 10 10 Enter Enter Enter Enter...

Page 45: ...NDVR2200F Installation Guide User s 1 8 2008 45 66 8 2 Display Modes 1 2x2 2 Full 3 PIP...

Page 46: ...3 Audio input AO Audio output PS2 Mouse PS2 Mouse USB USB 2 0 Port VGA VGA output LAN LAN Port RJ45 RS232 Serial Port Debug 8 4 Main Menu Selecting SETUP in the menu bar by remote control or keypad wi...

Page 47: ...nnel 1 4ch controlling and all channels controlling as well for the convenience CHANNEL Camera No for its setting 1 4 ALL COLOR Set Contrast Brightness Hue Saturation 0 99 etc TITLE Camera Name AUDIO...

Page 48: ...nu Record menu In RECORD setting it offers individual channel 1 4ch controlling and all channels controlling as well for the convenience QUALITY Set the record quality LOW STANDARD HIGH HIGHEST RECORD...

Page 49: ...Camera number you want to set 1 4 ALL MOTION ENABLE Set motion function whether it use or not ON OFF SENSITIVITY Set the motion sensitivity SENSITYVITY SPATIAL BLACK WHITE LEVEL MOTION AREA Set the mo...

Page 50: ...1 4ch controlling and all channels controlling as well for the convenience SENSOR CHANNEL Sensor number you want to set 1 4 ALL SENSOR TYPE Set the sensor type NO NC PRE RECORD Set the pre record POS...

Page 51: ...t into Schedule setting submenu Schedule menu Support maximum 5 different schedules setting in this function For schedule record enter the RECORD menu and select schedule you want Using keypad ALWAYS...

Page 52: ...etwork setting submenu Network menu Enable to set IP Address port number Name server DDNS PPPoE etc IP MODE Set Network mode you use STATIC IP DHCP NONE PORT Connect to Network Client Viewer and set T...

Page 53: ...kup equipment the massage BACKUP DEVICE IS NOT FOUND will pop up 8 11 1 USB Backup Select USB from DEVICE blank in the BACKUP window and set the START END time as well System will calculate automatica...

Page 54: ...ting submenu It offers system information as well SYSTEM SET Menu 8 12 1 TIME SETUP Set the data and time for system 8 12 2 SYSTEM PASSWORD Set the system password for security if it necessary 8 12 3...

Page 55: ...6 LOG SET Set the system log 8 12 7 HDD FORMAT Format the Hard disk as you need 8 12 8 FIRMWARE UPGRADE Upgrade firmware 8 12 9 FACTORY RESET Make whole setting as a default value 8 12 10 LANGUAGE Se...

Page 56: ...m System will boot shown the message System initialize with logo 2 3 System also checks external unit Mouse and Hard disk 4 After booting is completed display divided into 4ch screen and menu bar It r...

Page 57: ...start to record according to setting value at RECORD menu 8 14 2 Event Record Record automatically if alarm and motion event is occurred 8 14 3 SCHEDULE Record image data according to schedule settin...

Page 58: ...ch setting submenu There are three parts for searching Time search Event search and Manual search Search menu 8 15 1 Time Search Select TIME SEARCH in the Search menu then Time search window will pop...

Page 59: ...THE SELECTED TIME will pop up 8 15 2 Event Search Select EVENT SEARCH in the Search menu then event search window will pop up Event Search Play Back With double click the list you want image will repl...

Page 60: ...OM ON or ZOOM OFF will pop up whether zoom activates or not Zoom function only works at 1ch Full display If try to operate zoom not in 1ch Full display the massage SELECT CAMERA will pop up Start Zoom...

Page 61: ...er s 1 8 2008 61 66 9 Network Viewer Network Viewer 9 1 Setting Setting Setting window will open like above image with selecting Setting image at upper right side of NetViewer In this part enable to c...

Page 62: ...System that you will connect and its password If succeed in connection there would pop up dialog box signed OK Connection Success Connection Error Password Error 9 3 Play Stop Clicking Play Stop butt...

Page 63: ...under left side of Viewer Enable to control by moving tap with mouse simply and this tab will be hided when DRV is connected 9 5 Live play Show inputted live image through camera in real time Display...

Page 64: ...de User s 1 8 2008 64 66 9 6 Playback Playback mode in Viewer List button in Playback Tab Select time you want to replay in Time Search and then click the Playback button to replay Event Search is not...

Page 65: ...e to save as AVI the image data which is playing on the Viewer now Save To AVI File name and setting channel with Avi Save Dialog window will pop up with selecting Avisave button in the Viewer First o...

Page 66: ...on Guide User s 1 8 2008 66 66 10 References http www falinux com HOWTO documents of Mr Youngchang Yoo http kelp or kr http www kernel org http www metmanias com http www kldp org LINUX Device Driver...

Reviews: