Home
E:\trans\ok6410b linux\Arm11 OK6410-B development
Contents
1. v Led Led Led3 Leda During each time operation the terminal of serial port will display status of LED leds 8 1 leds 11 leds 2 0 leds 3 0 LED Test source code path CD Linux 3 0 1 apptest QT ApplicationTest ledTest 3 13 Buzzer test Click ForlinxTest tab on the desktop under qtopia system you could find PWMTest icon PWMTest is the test program of board B unus O 3GDialup ADTest LedTest PYWhAT est E tg s a Web Browser WiFiTest AUC PEDI eau a 8521 11 03 Click PWMTest there will be a aL panel Click StartBuzzer the buzzer http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL begin to buzz click StopBuzzer the buzzer stop to buzz You could use the button in the red wire frame to control the frequency it contains coarse tuning and fine tuning FWhTest A N GB PWM Test source code path CD Linux 3 0 1 apptest QT ApplicationTest PWM Test 3 14 TV output Connection method Using TV Out output cable to connect TV interface on the development board and TV video in interface Start the board and enter into Linux3 0 system execute command tv out in the command line and then graphical interface will been found in TV set Restart to board to enter into LCD output Tv out source code directory CD Linux 3 0 1 1 apptest tv_ out 3 15 Irda Test Irda test program is located under usr bin the t
2. b KS KA FORLINX EMBEDDED LE TN 25 tp lt p 4 De lt lt MI 2 x ag lt gt ssp e TL I4 Ts AAS 8938 M60500 5 7 Q oo 099 VA LE 28 mar Zn Z2 Linux belongs to you world waw witech co 4 apar OK6410 B Linux User Manual Devoted to create the best embedded products www witech com cn www forlinx com www helloarm com OK6410 B LINUX3 0 1USER MANUAL Contents b Chapiri xu 2 2 Chapter2 Linux s one key infusion nennen nennen nnns 3 3 Chapters Test BI 3 0 16 4 Chapter4 Peripheral modules Test a 47 5 Chapter5 Establishment of Linux development environment on the host computer 63 6 Chapter6 Compile kernels of UBOOT and Linux 76 7 Chapter7 Image making of the yaffs2 file system 80 8 Chapter8 Coding and decoding test of multimedia hardware 80 zi EE S Oo ooo E http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL Chapter 1 Preface Thanks for selecting the Forlinx embedded products Since the establishment in the year of 2006 F
3. 7 Ee a 3 8 j 21 13 If you need to quit click X on the top right corner 3 10 record test There are two methods for record test audio note test and ben test 3 10 1 Audio note Click application option in the qtopia en an icon of Voice Notes will be found http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL It is used for recording voices HS Applications Pictures oyster Infi Today Videos V NC Voice Notes ka au ENS T BEER Click new to create a new audio file R Voice Mates Options storage Location Internal Storage Max Time 1 days 1 hrs Ea ERE Click Record to record voices click stop to terminate the record a new file will be created click it to broadcast 3 10 2 Ben test program At first plug in the earphone and microphone Ben executable file is under usr bin test procedures are as follows 40 http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL gt oDn Q h QLSQNs Q Q h S AIAOO LR root amp F RLINM641018 cd usr bin root FORLINK641014 ben Saying saying mun 48600Said saying mun 480005 1 When the saying appears the system enter into the record status After finished the record press the enter button saying mun 480005aid appears and the recorded voice will play Bens source code path CD Linux 3 0 1 apptest QT ApplicationTest ben
4. TK packets B errors dropped B overruns carrier collisions 4 txqueuelen 8 RM bytes 0 8 0 B bytes 0 0 B If the board is connected with router that could support DHCP to automatically allocate IP address you could type in udhcpc i eth command in the DNW or hyper terminal to dynamically obtain IP address i parameters are used to designate the name of network card Cable network card name of the Forlinx board is etho eSet up IP address through graphical interface In the Qtopia2 2 0desktop environment there is an IP address set up software in the Forlinx program group This software not only could set up fixed IP address but also could obtain IP address dynamically from router It is a great assistant in the network application 2235 a http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL AD Test F WhTest serialpart setlP ga iL w Web Browser WiFiTest A EDD A ET ENSE 11 03 Double click set IP icon B DHCP seti Metmask 255 255 255 Gateway 132 169 o el Farlinx Embedded Apply Close 0 7 85 11 45 You could use soft keyboard or USB keyboard to input IP address 28 SS K ED REw9R K M X l i i iijss s sais lt lt ssaias zUa m ag Ai eS http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL You could use dynamic IP to obtain functions and the router could support DHCP is needed Click DHCP
5. JPEG input buffer MPEG4 VC 1 9 JPEG output 600x480 KH 263 raw siream fle J buffer I I FRAME BUFFER Video buffer Input 8 to begin the test select number gt 8 8 Camera preview amp MFC encoding Forlinx Embedded v Using IP MFC Post processor LCD Camera Display size VGACBAOxA80 e Encoding Exit Select gt Input e and begin coding Its length reaches 100 frame Input x to quit Sampling effect of camera 90 EE S O EN oon http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL 8 2 9 H 264 decoding amp camera preview This program simultaneously operate H 264 decoding and camera preview and it also could execute the decoding of present frame 91 EE S O EN oon http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL CAMERA Ee c o Post processor Color space conversion amp scaing 2v um db Su m em Om d MPEGA VC 1 H 264 26 H 263 93 raw etreem 800x480 FRAME BUFFER 0 Video buffer FRAME BUFFER 1 Video buffer select number gt 9 9 MFC de Forl ins Embedded PME Using IP Post or LCD Camera Camera preview size ae 240 Display size LIE 7 y T Encoding Exit Select gt e 5 Input e and begin coding Its l
6. DV 77 input buffer MFC output buffer Post processor e Color space conversion amp scaing JPEG input buffer JPEG output buffer Loca Path LCD controller r RGB 5 6 5 RGB 8 8 8 800x480 Input 11 to begin the test select number gt 11 i1 Camera input amp JPEG encoding Gd Using IP Post sor LOD Camera Camera preview size YGA 640x480 Capture size VGACEAOx Capture Exit Select gt Input c to capture a screen shot Input x to quit 96 ND http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL 8 2 12 JPEG decoding This program is used for JPEG decoding and display them on the LCD MEMORY CAMERA NTSC D1 DV 720x486 AHB bus MFC input buffer MFC output buffer JPEG input buffer JPEG output buffer Post processor Color space conversion amp scaing mte 3 1 Input 12 to begin the test the effect is as follows 97 EE S OU o i n pP 5 h A a 2 cC eee r http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL I Q Pgassrrs r r r KP C c nq lt 8 3 Multimedia integration test 2 Above tests is operated depend on the source codes provided by Samsung only inhe
7. bad blocks Source code could be found in NAND driver If the Linux operation system could not be started because of bad blocks and then you need to find a way to solve these logic bad blocks the bad blocks may not really work well The failed starting caused by logic bad blocks could be disposed according to next steps Step1 Connect COMO in the board and PC serial port through serial port cable open and set up DNW software Step2 Power on the board press the space key in the PC keyboard and stay in the Eboot status after you find out DNW software occurring hit any key to stop autoboot 1 Because there is only 1 second so that pressing the space key should be done within a very short period of time 14 a 5 U Uz E K L K h KhhhKKKX 4 EE RKE DI IKEWXBIdibG s p o 2 cC ee l ll e eL RL L Il 0T R http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL I NM CPU SdC6418 0532HHz Fclk 532HHz Hclk 133HHz Pclk 66HHz Serial CLKUART SYNC Mode Board sShHDR6 518 DR H 250 HB Flash B H HD 2048 HB Im serial Out serial lit any key to stop autoboot 1 Step3 Type nand scrub under uboot status HAHD scrub device B whole chip Warning scrub option will erase all factory set bad blacks There is no reliable way to recouer them Use this command only for testing purposes if you are sure of what you are doing Really scrub this flash
8. scratch julian lite respin linux install arm none linux gnueabi bin Thread model posix gcc version 4 3 2 Sourcery G Lite 2008q3 72 root forlinx virtual machine 4 It shows that the cross compiler has been successfully installed into the system the compiler also could be used to compile Uboot code and kernel code Chapter 6 Compile kernels of UBOOT and Linux This chapter tells you how to compile the Uboot and Linux kernel on PC Linux Before operating tests in this chapter please read chapter 5 establishment of development environment for reference Note In this chapter if there were no special instructions all executable commands and setting environments are all in conformity with the Linux of PC Adding at the beginning of each command to indicate the start of each command uboot1 1 6 FORLINX 6410 tgz uboot source code compressed Linux 3 0 1 uboot_sourcedode package FORLINX linux 3 0 1 tar gz Linux 3 0 1Source code compressed Linux 3 0 1 kernel_sourcecode package 76 http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL I C aCCe e C Celclrxreee 6 1 Compile u boot 1 1 6 Copy and paste the uboot source code compressed package uboot1 1 6 FORLINX 6410 tgz into the forlinx directory of Ubuntu decompress and compile it The operation procedures under Ubuntu are as follows tar zxf uboot1 1 6 FORLINX 6410 tgz decompress uboot source code 6 1 1 Compiling method of U
9. u boot selected 674 1 KB Free space 18 3 GB 6 2 Compile Linux 3 0 1 Copy and paste the compressed package FORLINX linux 3 0 1 tar gz to your working directory decompress it tar zxf FORLINX linux 3 0 1 tar gz 6 2 1 Kernel configuration You may need to install libncurses5 to execute make menuconfig command installation could be done by using the following commands This step requires the connection between PC and internet sudo apt get install libncurses5 dev If the installation package libncurses5 dev could not be found after executing commands and then you need to execute sudo apt get update in advance 6 2 2 Kernel compiling Command is make zimage After compiling a Linux kernel image file could be found in the arch arm boot 6 2 3 Source code path of development board driver 200 O 8 sc CNW http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL I OQ 995 1 DM9000 net card driver drivers net dm9000 c 2 Serial port it contains three serial port driver 0 1 2 4 corresponding device name is dev ttySACO 1 2 4 drivers tty serial s3c6400 c 4 LED driver drivers char s3c6410 leds c 5 Watchdog driver drivers watchdog s3c2410 wat c 6 Touch screen driver drivers input touchscreen s3c ts c 7 yaffs2 file system source code directory fs yaffs2 9 SD MMC card driver source code directory drivers mmc 10 Nandflash driver drivers mtd nand 11
10. 1 12 04 25 19 27 59 10086 1 12 04 29 135 27 3910066 1 j 12 04 25 19 27 99 10006 1 4 12 04 23 15 23 03 10650206 1 1 B 1 T scan all mes 12 04 25 19 25 05 1060206 12 04 25 19 29 05 10655286 12 04 29 10 29 99 10650910 8 12 04 26 11 32 18 0 0mm NN p We IRAIL DOE FORLINX EMBEDDED RE 11 8 Double click one of the messages the short message content will be displayed res see E T Time 12 04 26 11 32 18 Content hello Ee A St 1351 DNE 2 7 BP 85211217 e lo ll lll JO E AIL FORLINX EMBEDDED Step8 Test the net surfing function of the gprs Click the gprs button in the main interface the gprs diaglogue box will be pop up and then click the connect button to dial up 61 EE S OU o i n pP 5 h A a 2 cC eee r http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL GPRS Farm x m sent IPCP CanfReg id 0x2 lt addr 0 rcvd PCP ConfReg 02 sent PCF CanfAck id2Uxez 1 2 3 PCP Coniak 4 02 addr 11 sent ConfReq id 0x3 addr 1t l 5 6 rcvd IPCP Conf amp ck id 0 5 addr 11 SS p Could not determine remate IP addre REX local IP address 10 64 124 200 remote IP address 10 64 54 54 OK gprs primary DNS address 211 136 20 2 secondary ONS address 11 156 1 7 call e FII connect disconnect a maes LE BS B 1310 Click the Ok button on the top right corn
11. 5555 cons nand SSKEV EAE loopback u boot bin 251 z Image The methods above are used to test SD card through command line Of course if you do not like to use command line to test n could select graphical interface eee http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL lt Forline test Li N 3 3tbialup AD Test Key Test F WhTest serialpart setlF lil i Web Browser WiFiTest A PEDI 8 11 03 You could use the file browser to browse files in the NandFlash SD card U disk When a SD card is put into the development board open SD card directory When using the U disk open U disk directory ZBIEBNENEUT Dir Sort gt m X DD B BHlost found 2 0K 1999 12 31 Sjmnt 2 0K 1999 12 31 2 0K 2011 11 25 proc 0B 1969 12 31 Froot 2 0K 1999 12 31 shin 2 0K 2011 10 20 w sdcard 1969 12 931 sys 0B 1999 12 31 Simp OB 1999 12 31 Sjudisk 2 0K 2011 02 17 usr 2 0K 2011 10 19 Svar B 1999 12 31 82 BER A abes ul Double click SD card directory and then you could find contents of it 21 EE S O EN oon http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL Hie arae Dir Sor oS X8 f cramfs 2g 8M 2011 07 21 Le mmc hin eB 2012 02 04 P multimediatest eed 1K 2012 02 01 OK 641 0 11 1 11 5M 2011 11 08 P OK 641 O BEAR LINUX 3 0 1 PEAR 11 doc 11 44 2011 11 08
12. C Co CrererCrcLCLCLRqr 95 http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL I 3 7 1 Relevant configuration of network In the tests of this chapter the environment of network is as follows Network connection mode connect board directly with router that could connect with internet IP 192 168 0 232 Router IP 192 168 0 201 Subnet mask 255 255 255 0 The network using environment of each board is different we use the above network environment to demonstrate for you Please configurate it according to the real network environment Set up IP address through command line itcontig ethO 192 168 0 232 setup IP 192 168 0 232 ifconfig ethO up eth0 dm9000 4 fiz ifcontig check the present network condition 10 189 ifconfig eth 192 168 0 232 rootfla 0RLINH641801H ifconfig ethD up root FORLINK64101 4 ifconfig eth Link encap Ethernet HWladdr 08 90 90 90 90 90 inet addr 192 168 8 232 Bcast 192 168 0 255 Mask 255 255 255 8 UP BROADCAST RUNNING MULTICAST MIU 1588 Metric 1 HA lt 3402 errors B dropped B overruns B frame 8 TK packets 1 errors B dropped B overruns B carrier collisions B txqueuelen 1600 bytes 371963 363 2 KiB TK bytes 42 42 8 B Interrupt 188 Base address 6 x6000 lo Link encap Local Loopback inet addr 127 0 0 1 WMask 255 0 6 6 UP LOOPBACK RUNNING HIU 16436 Wetric 1 packets errors dropped overruns 8
13. Out serial Err serial Step 4 Case 1 Execute the following commands to set up parameters of 3 5 inch touch screen setenv bootargs root dev mtdblock2 rootfstype yaffs2 console ttySACO 115200 Icdsize 35 This is one piece of command which were written in two lines because of limit of length please do not press space key and enter key before the second line Saveenv save parameters in the Nandflash reset uboot commmand for restarting the board Case 2 Execute the following comma to set up parameters of 4 3 inch touch screen eee http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL I setenv bootargs root dev mtdblock2 rootfstype yaffs2 console ttySACO 115200 Icdsize 43 This is one piece of command which were written in two lines because of limit of length please do not press space key and enter key before the second line Zsaveenv save parameters in the Nandflash reset uboot command for restarting the board Case 3 Execute the following commands to set up parameters of 5 6 inch touch screen setenv bootargs root dev mtdblock2 rootfstype yaffs2 console ttySACO 115200 Icdsize 56 This is one piece of command which were written in two lines because of limit of length please do not press space key and enter key before the second line Saveenv save parameters the Nandflash reset uboot command for restarting the board Case4 Execute the following commands to set up p
14. Pl Otopiad 4 3 tar gz 2D 5M 2012 02 11 Plrootts vafis 1 4 2012 02 11 2 410 LINUX 3 0 18 11 doc 11 4M 2011 11 08 6 ofo4k 1999 12 31 P u boot bin 206 0 2012 02 04 PJubootl 16 2012 02 04 tar gz 18 8M 2012 02 04 4 1 JM 2012 02 10 eau 521 11 48 3 5 Switching between mouse input and touch input This system can not support these two input models at the same time The method of switching to the USB mouse input type Zmouseinput in the terminal root FORLINX6416 mouseinput root FORLINK6416 mouse root FORLINK6416 4 lt The method of switching to the touch input type touchinput in the terminal root FORLINX6416 touchinput root FORLINS6416 touch root FORLINA6418 Touch input and mouse input commands are scripts which locate in the directory of sbin of root file system the path is shown in following picture aD px EE S OU cC eee r http www forlinx net 2012 12 27 root FORLINS6416 sbin root FORLINX6416 adjtimex arp blkid bretl chpassud chroot crond depmod deumem dhcprelay dnsd fakeidentd Fbset Fbsplash Fdisk Findfs freeramdisk Fsck Ffsck minix getty 3 6 USB host interface testing 3 6 1 USB mouse pud 15 halt hdparm httpd huclock ifconfig ifdown ifenslaue inetd init insmod iuconfig iwlist klogd loadfont loadkmap logread losetup lpd lsmod OK6410 B LINUX3 0 1US
15. Sk JM Gmail XE liGoogle HERET drh n a cuc I 2 B e OL II nn A abc a s ENSE I BERE Path of browser source code in the CD CD Linux 3 0 1 apptest QT ApplicationTest konqueror 3 7 4 Telnet service OK6410 board has started the telnet service in the script of etc init d rcS could work as a telnet server after setting of the IP address For example the board IP address is 192 168 0 232 type telnet192 168 0 232 in the Windows command window type in root in the username blank keep the pass word empty start gt run type in cmd and i the enter button then the Windows command eee http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL I window will display before your eyes EY Telnet 192 168 0 232 im x root PTE641 1 ls LrootPTE6b414 lH 3 7 5 FTP service The ftp service has automatically started when the system is started You could use ftp software to visit type in root in the username blank keep the password empty the next picture will show you the screen shot using IE to visit ftp r1 ftp 192 168 0 232 Microsoft Internet Explorer APR E SAMW Qa O 8 fee prr up 55 LJ d Internet Explorer bin lib E 2j e 2j 9 sdcard FAP root Internet FTP function could help you realize the file transmission between the development board and
16. an example Firstly want to explain that the can driver provided by Forlinx is socket can application program could complie program just like operating a network node Socket Programming could realize the transmit of the CAN message Step1 Check can node Zifconfig a socket can message is as follows root FORLINX6416 ifconfig a cang Link encap UHSPEC HWaddr 68 66 60 66 66 66 66 66 66 66 66 66 66 66 88 68 H RRP HTU 16 Hetric 1 Rx packets B errors 8 dropped B nuerruns B frame H TX packets errors 6 dropped B ouerruns carrier B collisions txqueuelen 18 R bytes HB B B B T bytes H B B B Step2 Set up CAN baud rate up link set canO up type can bitrate 250000 250000 is the baud rate Step3 Run test program One board runs the Zcan server command then the other board runs can client command The board runs the Zcan server command will receive messages from the board runs can_ client command Serial port of the board that runs can server command will show the following information 56 EE S ZU aae http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL Received a CAN frame from interface B frame message received CAN messages Received a Frame From interface 2 Frame message 5 hello Serial port which runs can client command will show the following information rootiaF RLIHX6518 H can client canB can ifindex 2 Send a CAN frame from interface 2
17. arm 4 3 2 export TB PREFIX arm linux export CONFIG PREFIX TOOLCHAIN arm none linux gnueabi Save exit Restart the system Execute arm linux gcc in the terminal and press the Enter button 75 ND http www forlinx net 2012 12 27 OK6410 B root Forlinx virtual machine root forlinx virtual machine arm linux gcc v Using built in specs Target arm none linux gnueabi Configured with scratch julian lite respin linux src gcc 4 3 configure build 1686 pc linux gnu host i686 pc linux gnu target arm none linux gnueabi en able threads disable Llibmudflap disable Libssp disable Libstdcxx pch wit h gnu as wtth gnu la enable lLanguages c c enable sharea enable symvers gnu enable __cxa_atexit with pkgversion Sourcery G Lite 2008q3 72 wit h bugurl https support codesourcery com GNUToolchain disable nls prefix opt codesourcery with sysroot opt codesourcery arm none linux gnueabi libc with build sysroot scratch julian lite respin linux install arm none linux gnue abi libc with gmp z scratch julian lite respin linux obj host libs 2008q03 72 ar m none linux gnueabi i686 pc linux gnu usr with mpfrz scratch julian lite resp in linux obj host libs 2008q03 72 arm none linux gnueabi i686 pc linux gnu usr disable libgomp enable poison system directories with build time tools scra tch julian lite respin linux install arm none linux gnueabi bin with build tim e tools
18. key to start IP address allocation by the router MED A P 8 11 29 After successfully allocate the IP address ok and allocated network parameters such as IP address subnet mask gateway DNS and so on are displayed 29 EE S O EN oon http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL Se DHCP I DHCP OK Farlini Embedded x lose ESI 11 44 3 7 2 Test network using Ping order eUsing Ping command ping 192 168 0 201 s 10000 to test wether the network is connected 10000 represents the size of the data package pressing Ctrl c or Crtl z to quit Lroot FORLINK641014 ping 192 168 8 281 PING 192 168 0 201 192 168 0 201 56 data bytes 64 bytes from 192 166 0 201 seq 8 ttl 64 time 1 86 ms 64 bytes from 192 168 0 201 seq 1 ttl 64 time H 69 ms 64 bytes from 192 168 0 201 seq 2 ttl 64 time 61 ms 3 3 Browsing web page After the network environment has been set up click Web Browser icon in the ForlinxTest to browse web pages 30 EE S OU o i n pP 5 h A a 2 cC eee r http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL Ea daDialup AD Test Key Test LedTest Test setlr m Web Browser WiFiTest AT PEDI AER ENSE T EIE Open up the google homepage gaagle cam hk v EA i58 ERE GE
19. number bar 4 os 6 stop bits ee 9 7 BP T BEI Step4 Phone call monitoring If there is a phone call a call reminder will pop up Farlinx GPRS x Setting A uwa Port idewitySAC1 w e Jj Speed cl fs 8 Databits II Call reminder stop bits Tae Seas Bm 6 i146 Click listen to go on a conversation click stop to hang up the phone call Step5 Send message Type in the phone number in the telephone number bar click S mes button to edit the message Click send button to send message 59 EE S O EN oon http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL res se E RES BI 381215 Step6 Monitor the messages If a message is coming a SMS reminder will up Forlins GPRS 3 Speed PES j message is received L Datahils M 1 F ST NP Message stop bits reminder LJ pem Bm EV BEES Step7 Checking SMS Click A mes button SMS browsing and dialogue box will be pop up and then click scan all mes button to browse all short messages Note Before clicking the A mes button you must make sure that the phone number bar is vacant or the software will automatically enter into the short message editing mode 60 EE S OU o i n pP 5 h A a 2 cC eee r http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL Mess all Jes time ium
20. zlmage one or more files in the file system Yaffs2 file system 3 The board can not be started due to various reasons Note Please use the SD card USB card reader when infusing TF card Micro SD card reader is not recommended Furthermore we suggest you use the 4G ScanDisk or 4G Kingston SD card Of course it is OK if you have other types of SD card which could complete the system infusion If you could not successfully complete the infusion you d better use the SD card that we recommended to you eAfter introducing the use of Linux s one key infusion we begin to tell you detailed procedures that adding the Linux into board through one key infusion Before infusion please prepare a SD card and a SD card reader at first Necessary File paths in this chapter File name Paths in the CD SD_Writer exe PC infusion tool CD Linux 3 0 1 Linux sdfuse tools mmc ram128 bin sdboot suitable for board with CD Linux 3 0 1 Linux sdfuse tools 128M memory is used for the SD card boot mmc ram256 bin sdboot suitable for board with CD Linux 3 0 1 Linux sdfuse tools 256M memory is used for the SD card boot u boot ram128 bin uboot image which is CD Linux 3 0 1 demo suitable for the board with128M memory u boot ram256 bin uboot image which is CDWinux 3 0 demo suitable for the board with256M memory zimage kernel image CD Linux 3 0 1 demo 25 S http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL I r
21. 16 player sdcard TestUideo H 265 THE X HATRISX aui amp i Eiti 0 00 05 ANSIW 115200 8 8 1 COLL CAPS Play effect Broadcast MP4 files here is the section of The Titanic 100 EE S uU Z2 UO K Lc nno http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL EE TT 25 m Ed with Bee EUY fe AEE amp Ue Es root FORLIN amp 6416 root FORLINK6416 root FORLIN amp 6416 root FORLIN amp 6416 8 root FORLIN amp 6416 root FORLINK6416 root FORLINk6416 root FORLIN amp 6418 8 root FORLIN amp 6416 root FORLINK6416 root FORLINk6416 root FORLIN amp 64S16 8 root FORLINA6416 root FORLINK6416 root FORLINk6416 root FORLIN amp 6418 8 root FORLINK6416 root FORLINK6416 root FORLINk6416 root FORLINA64S16 root FORLIN amp 6416 4 root FORLINK6416 root FORLINk6416 root FORLINX6416 player sdcard TestUideo HPh Titanic mp lt GEE 0 00 51 ANSIN 115200 8 H 1 HUM gt lt Play effect During the play you could click different places on the screen to control the video play such as pause exit etc 101 http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL I 8 3 2 Qt graphical interface player qt4 Player qt4 is a player that combining Qt4 7 interface repository wit
22. Directory of WM9714 audio driver sound soc s3c24xx smdk wm9713 c sound soc s3c24xx s3c ac97 c 12 LCD driver drivers video samsung 13 U disk support driver drivers usb storage 14 USB mouse keyboard source code drivers hid 15 CMOS camera driver drivers media video samsung fimc 16 USB wireless net card driver drivers net wireless rt2x00 17 USB to serial port driver drivers usb serial pl2302 c 18 SDIO WIFI wireless net card driver drivers net wireless libertas 19 CPU TV output driver drivers media video samsung tv 20 Matrix keyboard Hardware controller driver specially used with Forlinx 6410 drivers input keyboard 21 ADC driver drivers char adc c 22 PWM buzzer driver drivers char forlinx6410 pwm c 200 O c c ON http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL _ _________ 23 HS0038B infrared driver drivers char forlinx6410 irda c 24 Temperature sensor DS18B20 drivers char forlinx6410 18b20 c Chapter7 Image making of the yaffs2 file system 7 1 Well prepared file system We will take the Forlinx file system which is provided by Forlinx as a example teach you how to make the image of yaffs2 file system through demonstration FileSystem Yaffs2 tar gz is the directory of the file system we provided could be used by users to make Yaffs2 file system could also be used to mount the NFS network root file Details of NFS mou
23. ER MANUAL nakedeus man mde nkfs minix nkswap nodprobe mnouseinpu namei pivot root popmaildir powerott raidautorun rdate rdeu readprofile reboot route runlevel sendmail Ssetconsole Ssetfont setlogcons shutdown Slattach Start stop daemon sulogin sulogd switch root sysctl syslogd telnetd touchinput ud udhcpd uconfig watchdog zcip Step1 Switch to USB mouse input by methods that been referred in the 3 4 Step2 Insert USB mouse into the USB host interface of the carrier board Physical connection is as follows 23 http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL Serial port terminal will display information of USB mouse after connection Because there are various chips of mouse the information will not same with each other Information are displayed as the next picture root FORLINX6416 usb 1 1 new low speed USB device using s3c2 51 ohci and address 4 usb 1 1 Heu USB device found idVendor 1c4F idProduct 6663 usb 1 1 New USB device strings Hfr 1 Praduct 2 SerialHumber B usb 1 1 Product U P House ush 1 1 Manufacturer SIGHACHIP input SIGHACHIP U P House as class input input5 generic usb BB3 1ChF BH3 B8HBh input USB HID v1 18 House SIGHACHIP U P Mouse on usb s3c24xx 1 input 3 6 2 USB keyboard The Forlinx kernel could support the USB keyboard insert USB keyboard the serial port will appear indica
24. HB96 0x100 SECTORSPERBLOCK 128 0x80 BYTESPERSECTOR 128 0x86 BYTESPERSECTOR 2048 0x800 2BA8 0x800 here is the 5 second delay Initiating image launch in 5 seconds Ethernet Boot Loader Configuration B IP address 0 0 0 0 1 Subnet mask 255 255 255 0 2 DHCP Disabled 3 Boot delay 5 seconds n Reset to factory default configuration 5 Startup image LAUNCH EXISTING 6 Program disk image into SmartMedia card Enabled Program DH9B8B8B8R HAC address 080 00 00 B88 BB 00 8 KITL Configuration DISABLED 9 Format Boot For Binks Erase All Blocks B Hark Bad Block at Reserved Block C Clean Boot Option FALSE D Download image now E Erase Reserved Block F Low level format the Smart card L LAUNCH existing Boot Media image R Read Configuration S Lcd Resolution select 866x586 U DOWNLOAD image now lUsB W Write Configuration Right Now Enter your selection After a series of operation introduced in this chapter you can start to infuse the Linux system 5 e L LLG LLcCGLIOGIO LIS http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL ISFII 2 2 Making SD card for Linux s one key infusion Step1 SD card is formatted as FAT32 format Connect SD card with SD card reader and then plug the SD card reader into the PC USB port Format the SD card as FAT32 format when the SD card i
25. K6410 B LINUX3 0 1USER MANUAL 5 3 Setting of Ubuntu network parameters The network environment of each PC may be different you need to set up Ubuntu network according to your practical situation if the setting is not successful you could consult the official forum of Ubuntu In the following text a setting method will be provided for your reference Step1 the virtual machine uses the fixed IP address After installation the virtual machine will generally share one IP address with the host which means it does not have its own IP address Therefore you need to setup the contact information of its network as the bridged connection Click the setting option in the VM menu the VM setup dialogue box will be pop up Please see the next picture 69 EE S O EN oon http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL EE p h h oe Cr I LCLCLIIILL Yirtual Wachine Settings E3 Hardware Options Device Summary Device status Memory 1 GB Connected J Processors 1 Connect at power on Hard Disk SCSI 20 GE JCD DVD IDE Using File D Program Files Mebwork connection lal Floppy Auto detect Bridged Connected directly to the physical network 4daoter ridge i Network Adapter Bridged Replicate physical network connection state LISB Controller Present d Sound Card uka detect CO MAT Used to share the host s IP address Printer Present Hast only p
26. NUAL Testcamera source code directory CD Linux 3 0 1 apptest cameratest Detailed test procedures of CMOS camera could consult relevant sections of multimedia test 4 3 SDIO WIFI test SDIO WIFI wireless LAN card is optional Physical connection is as follows T When connecting SDIO WIFI the tiny trangle should correspond with E m each other Li m EE MM T Step1 Turn off the power connect SDIO WIFI with SD interface of Forlinx board Step2 Power on the board start Linux system Step3 We take the connection between SDIO WIFI and router as a example in this chapter Because the network circumstance is different Please set up under practical situation 51 eee http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL Note New SDIO WIFI module uses circle to replace the tiny triangle to mark the initiative Pin Execute following command to connect router ifconfig a check condition of net cards root FORLINK6416 ifconfig a eth Link encap Ethernet HWaddr 08 90 90 90 90 960 inet addr 192 168 8 232 1 192 168 0 255 Haskz255 255 255 f BROADCAST MULTICAST HTU 158 Hetric 1 AA packets B errors 8 dropped B nouerruns frame packets B errors B dropped B8 ouerruns carrier B callisions B txqueuelen 1 B8 RA bytes B8 60 6 B TA bytes 6 8 8 B Interrupt 188 Base address 6x66068 lo Link en
27. Search Terminal Help rootiaforlinx root forlinx root forlinx root forlinx root forlinx root forlinx root forlinx root forlinx root torlinx root forlinx root forlinx root amp aforlinx root forlinx Torlinx root root forlinx root forlinx root forlinx root forlinx root forlinx root forlinx root forlinx root forlinx forlinx root service nfs kernel server nfsd running root forlinx forlinx root Jj Torlinx root Torlinx root Torlinx root Torlinx root Torlinx root Torlinx root Torlinx root Torlinx root Torlinx root Torlinx root Torlinx root Torlinx root Torlinx root Torlinx root Torlinx root Torlinx root Torlinx root Torlinx root Torlinx root service portmap start running process 517 portmap status status We could find the portmap and nfs kernel server is running in this picture Mount root file system to the host machine Typing in the following commands in the U boot command line to set up U boot starting parameters setenv bootargs root dev nfsnfsroot 192 168 0 231 forlinx root FileSystem Yaffs2 ip 192 168 0 232 192 168 0 231 192 168 0 201 255 255 255 0 witech com cn ethO off console ttySACO 115200 save saveenv Note Press the Space button NOT THE ENTER BUTTON between setenv and bootargs In addition nfs txt which contains setting methods of NFS root file system could be found in the CD You do not nee
28. Up can server can client source code path CD Linux 3 0 1 apptest can 4 9 GPRS module test Connection method Directly connect the Forlinx GPRS module which is inserted with a mobile phone card with the 20pin COM port of OK6410 board by JTAG cable The connection is as the following picture Connect both the board and the GPRS module with the 5V power adapter Step1 Running the software Click the ForlinxTest optional label in the qtopia desktop the gprs icon will be found 57 http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL 3tbialup AD Test Key Test LedTest F WhTest serialpart setlF 3 d Bw Web Browser WiFiTest tr ees 8 4 85 T EIE Step2 Setup the serial port Setup the serial port information on the part The dev ttySAC is defaulted Click OK to complete the setting After that the serial port setting options will become the light gray color If the setting is wrong please restart this software Serial setting will become grey after pressing the OK button Farlinx GPRS x opeesed L atahits Y ataphits 8 BEL Step3 Making a phone call After setting the serial port type in the phone number click the call to make a phone call The phone number bar will show calling 58 http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL Eatin 35265 Setting calling 10086 1 e Jj speed 115201 a Phone
29. WiFiTest A PEDI abus 1 11 03 Step3 Open the serial port label Setup the property of the serial port and then click the Open button the serial port will ge pence Here i connect with the COM2 so i http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL I o0 V 5 e eeoe e Y Y Ye choose dev ttySAC2 the properties of the serial port should be same as that of hyper terminal in PC et Pete Bese beer seting 1 Received Message opeed 15280 Databits DNE send Message stop bits x Farity Y Ege Aa 2 S62 11 01 Step4 PC sends data to the board Write down hello arm in the PC s hyper terminal and then it will be shown in the received message blank of the board ETESIPTTEZ S SISESEHR stop bits Parity int Eeg 11 04 seting 4 Received Message Speed 119200 Databits cend Message Step5 The board sends data to the PC Write down hello pc in the send message blank click send button and then the this message will be shown in the hyper terminal blank 46 http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL mre he et ee ee DeLee SOE hg Received Message Hello arm Speed Datanits cend Message stop bits Parity Ege 385 11 05 Step6 Quit from this program Firstly click the close button then shu
30. _test ben c 3 11 Sampling test Step1 Click Forlinx Test tab on the desktop under qtopia system you could find ADTest icon ADTest is the application program for sampling test i ForlinsTest S ax J Documents LedTest PwhT est serialpart y ran 7 E 1 SS Web Browser WiFiTest A PEDI ad abus 8 11 05 Step2 Click ADTest then the AD conversion value will be displayed A1 EE S OU o i n pP 5 h A a 2 cC eee r http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL Tesistance Value 993 A perm 8 11 05 Step3 Using the stylus to click the screen 1 will be shown in the blank when the stylus leaves from the screen the value recovers to the former value If the value is 1 it tell you that the touch and sampling function could be used at the same time 3 12 LED test Click ForlinxTest tab on the desktop under qtopia system you could find LedTest icon LedTest is the application program of video player ETITE amp Documents _ Key Test 3tabialup ADTest FWhITest serialpart setlF tp SS web Browser WiFiTest WTF il Eas oy EB 11 03 Click LedTest there will be a LED control panel when selecting LEDs corresponding LED will be lighted up when canceling the LED selection corresponding LED will become dark 42 eee http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL
31. arameters of 7 0 inch touch screen setenv bootargs root dev mtdblock2 rootfstype yaffs2 console ttySACO 115200 Icdsize 70 This is one piece of command which were written in two lines because of limit of length please do not press space key and enter key before the second line saveenv save parameters in the Nandflash reset uboot command for restarting the board Case5 Execute the following commands to set up VGA output parameters of Forlinx 800X600 resolution setenv bootargs root dev mtdblock2 rootfstype yaffs2 console ttySACO 115200 Icdsize VGA800 This is a piece of command which were written in two lines because of limit of length please do not press space key and enter key before the second line saveenv save parameters in the Nandflash reset uboot command for restarting the board Case6 Execute the following commands to set up parameters of 8 0 inch touch screen setenv bootargs root dev mtdblock2 rootfstype yaffs2 console ttySACO 115200 Icdsize VGA800 This is one piece of command which were written in two lines because of limit of length please do not press space key and enter key before the second line Zsaveenv save parameters in the Nandflash reset uboot command for restarting the board Note The setting methods of 10 4 inch LCD 8 inch LCD and VGA output of Forlinx 800X600 are same They all need to select the Icd size VGA800 the system can not support VGA output and LCD displa
32. ard XP customers can not find format and also do not need it This is the only difference to XP and WIN 7 customers Step5 ClicK OS select Linux This step is to select the infusion system type Step6 Click Select Boot select mmc bin which is suitable for your board mmc binmmc ram128 bin is suitable for the board with 128M memory mmc 256 0 is suitable for the board with 256M memory EE S ZU aae http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL D SD Writer wee witech com cn SD Volume SD Type OS Type BE GS 2010 Step7 Click Program if the screen shows Its it means the operation is completed The successful ending will be shown in next picture va SD_Writer We Fitech com cn SD Volume SD Type OS Type Select Boot EAA 2010 Step8 clicK OK and then click Quite Quit from SD Writer exe Step9 At first copy u boot bin into SD ae http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL U 9 R l fVBEBDl C HI yF lla a pla ll lk a k kZk s _ lt I GI II I III GVFGGEII IG IE IGI II II I IEIESIIzIOI LL Y gt OoC N c U boot_ram128 bin is specially used for the board with 128M memory U boot ram256 bin is specially used for the board with 256M memory Copy corresponding u boot to the SD card the u boot should be named as u boot bin in the SD card And then copy zlmage into SD ca
33. ay c TestVectoi enc dec test o display 4 windows c display optimizationz o jpeg display h encoder test c display 4 windows h display test c jpeg display a encoder test h display 4 windows o display test h Makefile rooteforlins desktop forlinx Multimedia DO APPLICATIONS Furthermore our file system have contained a multimediatest program you need to copy and paste self compiled multimediatest or multimediatest under usr bin of our file system into the SD card and conduct the running of it You still need a multimedia test folder TestVectors which locates under CD Linux3 0 apptest Multimedia 1 2 3 4 a Forlinz BS THE REED BBo cnc fee Copy and paste multimediatest program and TestVectors file folder into SD card Insert SD card into the board start the system Enter into the directory of SD card cd sdcard Run the test program multimediatest LL m m 264 display MPEG4 display H 638 display vC 1 display 4i windows display Display using local path Display using double buffering Camera preview amp MFC encoding Camera input and JPEG encoding JFEG decoding and display 1 c es BEE 1 19 24 AMSTW 115200 8 N 1 NLM Note the sixth item Display using local path only support 24 color display fomat Our board is RGB565 mode which supports 16 color we will not introduce it any more 8 2 2 H 624 decodi
34. boot in 256M development board Enter into uboot1 1 6 directory configurate config compile cd uboot1 1 6 Enter into the uboot source code directory make forlinx ram256 config Configurate config which is suitable for board with 256M memory root forlinx Forlinx uboot1 16 File Edit View Search Terminal Help drivers sk98lin libsk98lin a post libpost a post cpu libcpu a common Llibcommon a sed n e s N boot cmd u 1 p sort uniq cd forlinx ubootl 16 amp amp usr local arm 4 3 2 bin arm linux ld Bstatic T forlinx ubootl 16 board samsung smdk6418 u boot lds Ttext 0xC7E0000 SUNDEF SYM cpu s3c64xx start o start group lib generic libgenemkc a board samsung smd kK6410 Libsmdk6410 a cpu s3c64xx libs3c64xx a cpu s3c64xx 5s3c6410 1libs3c6410 a li b arm libarm a fs cramfs libcramfs a fs fat libfat a fs fdos libfdos a fs jffs2 libjffs2 a fs reiserfs libreiserfs a fs ext2 Libext2fs a net libnet a disk libdi sk a rtc librtc a dtt libdtt a drivers libdrivers a drivers nand libnand a drive rs nand legacy libnand legacy a drivers onenand libonenand a drivers sk98lin Llib sk98lin a post libpost a post cpu libcpu a common libcommon a end group L us r local arm 4 3 2 bin lib gcc arm none linux gnueabi 4 3 2 armv4t lgcc Map u boot map o u boot usr local arm 4 3 2 bin arm linux objcopy gap fill Oxff 0 srec u boot u boot srec usr local arm 4 3 2 bin arm linux objcopy gap fill 0xff O binary u boo
35. cap Local Loopback inet addr 127 8 8 1 Haskz255 8 8 8 P LOOPBACK RUNNING HTU 16536 Hetric 1 tA packets B errors dropped B nuerruns H frame H TR packets B errors dropped B overruns carrierc caollisions B txqueuelen 6 RA bytes B B B B TA bytes HB B B B Local loop wlang Link encap Ethernet HMaddr BBH8 27 13 ED 27 RB8 BROADCAST MULTICAST WIU 1588 Wetric 1 packets B8 errors 8 dropped B ouerruns B frame amp packets B errors dropped B ouerruns carrier caollisions B txqueuelen 1666 RA bytes B8 B B B TA bytes HB B B B ifconfig ethO down Close dm9000 net card root FORLINX6416 ifconfig eth down ifconfig wlanO up start SDIO WIFI root FORLINX6416 ifconfig wlan up iwlist wlanO scan Using SDIO WIFI to scan wireless network machine 52 EE S O EN oon http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL root FORLINX6416 iwlist wlan scan wlan scan completed Cell H1 Address BB 21 27 65 77 b5E Frequency 2 5 37 GHz Channel 6 Quality 65 76 Signal level 45 dBm Encryption key on ESSID TP LIHR 6G5775E Bit Rates 1 Mb s 2 Mb s 5 5 Mb s 11 Mb s 6 Mb s 12 Mb s 24 Hb 5 36 Mb s Bit Rates 9 Mb s 18 Mb s 48 Hb 5 54 Mb s Master 5 00000045 026 3 90 Extra Last beacon 59B8ms ago IE Unknown BHBBE5AN5HBP2DACNOREARB5SFS363537 3735545 IE Unknown 8166862848896 80183 648 IE Unknown 8301806 IE Unknown 2A8186 IE U
36. ch other Information is displayed in the next picture root FORLINK6416 usb 1 1 new full speed USB device using s3c251 ohci and address 8 usb 1 1 Heu USB device found idUendor 58f idProduct 6387 usb 1 1 Hew USB deuice strings Hfr 1 Product 2 SerialHumber 3 usb 1 1 Product F3 usb 1 1 Manufacturer EAGET usb 1 1 SerialNumber 3BFDAED 5Sc5il usb storage 1 1 1 6 scesi 1 8 8 8 Direct Access EAGET F3 8 07 PQ B ANSI 2 sd 1 8 8 B8 Attached scsi generic 598 type 6 sd 1 8 8 B sda 62283776 512 byte logical blocks 31 8 GB 29 6 GiB sd 1 0 0 8 sda Write Protect 15 off sd 1 8 8 B sda Assuming drive cache write through sd 1 8 8 B sda Assuming drive cache write through sda sdat sd 1 8 8 B sda Assuming drive cache write through sd 1 8 6 8 sda Attached SESI removable disk FAT utf8 is not a recommended IO charset for FAT filesystems filesystem will be case sensitivet Check files in the U disk command and consequences are shown in next picture 15 udisk root FORLINK6416 15 udisk USB SERIEL23HB3 111 bnp 111 123 backup camproj 128 256 2011 01 20 FL6416 256 26 Methods above used to test mounting of disk through command line you also could test U disk by using graphical interface Insert U disk into the USB port use file browser in the Qtopia2 2 0 desktop environment to check files in the U disk 3 7 Ethernet drive test and relevant services EE S o
37. d is an optional module which is specially used for OK6410 board It is not needed by TE6410 Main function of the expansion board 1 Physical interface conversion Converse 20pin flat cable interface to DB9 female socket interface it is very convenient to use serial port cable to connect board and peripheral serial device 2 Electrical level interface conversion converse ttl level to RS232 level through ttl to rs232 level chip COM1 in the expansion board is a five line serial COM2 three line serials You could connect your peripheral devices according to real situation Line sequence of 3 serial ports Serial expansion board could directly connect with the COM interface of the Forlinx OK6410 board TE 2E 27 COM E 1 2 ize Zi n RITE JJ 54 i e xccccCLICIIIII http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL I the device node path of COM1 COM2 CONMS respectively are dev ttySAC1 dev ttySAC2 dev ttySAC3 4 5 4X4 and 8X8 matrix keyboard Forlinx OK6410 could connect with 4X4 and 8X8 matrix keyboard At present zimage could identify the 4x4 and 8x8 matrix board You just need to correctly connect the board and keyboard Connection method connect matrix keyboard that is connected with flat cable provided by Forlinx and key interface in the board Open a notepad in the QT system press the key of matrix keyboard you will find chang
38. d to type by yourself just copy the setting under the NFS FileSystem in the nfs txt and paste into the Uboot local FileSystem of NandFlash also be included so that you could converse between network file system and local file system Do not forget to conduct saveenv to protect parameter setup command 35 http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL I The picture is as follows P nfs tzt ics DAR THe RAD 50 Bee 800 1 HFS FileSystem seteny bootargs root deu nfs nfsroot 192 168 6 231 Fforlinx root Filesystem Yaffs2 2612 2 HandFlash Filesystem setenv bootargs root deu mtdblock2 rootfstyupe yafrFs 2 console ttyShEB 115288 Restart the board NFS file system will be automatically mounted by kernel after starting We will explain IP in the bootargs parameters here take the above configuration as a example Please make correction according to real network environment during practical operation process 192 168 0 231 IP of Ubuntu 192 168 0 232 IP of board board IP and IP of PC terminal are in same network segment here we use0 network segment 192 168 0 201 gateway 255 255 255 0 subnet mask All parts such as the board network setting PC Linux network configuration hardware network line connection and board mount are relevant to the completement of nfs mounting If the mounting fails you need to check from above sections If the virtual machine is used to install Lin
39. e data at 8x5990608 g te data at Hx5a 6HHB O5te data at 0 503000 hte data at x5bF aBH ote data at xScc te data at 0 509000 te data at H x5e 6dBH 98te data at gore data at Hx5frB HH 100 5242888 bytes written OK reading rootfs yaffs2 Note After infusion the buzzer will give sound warning If there is no warning the infusion is not successful and the infusion progress will be shown on the 4 3 inch LCD If you are using the 4 3 inch LCD there is no need for the DNW to display the infusion information Step7 Power off the board set up DIP switch to start from the nandflash Note In the above table 1 represents dial up need to be switched to o shows that dial up need to be switched to Off When switching the ON OFF the switch should be triggered to the proper position if it is improperly be operated bad contact will lead to the failure of the infusion Set up to start from the nandflash s13 http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL Steps Restart the power then the Linux system will start and work eWhat would you do if there are bad blocks As for the disposal of the bad blocks occurrence of some bad blocks is unavoidable in the time of using of NandFlash Do not worry about it Normal bad blocks could be disposed by Forlinx board 6410 itself Forlinx board 6410 has a set of perfect disposal mechanism for
40. e ready you can install Ubuntu alongside or instead of your Galego 3 current operating system This shouldn t take too long Hrvatski slenska IFaliann You may wish to read the release notes Step3 Select Install Ubuntu T EE S OUO DQ IIQNI IKIQIIIHIEI9I I Z lt H EE E IFM I I II ONII IIICIIIIIEI I I IrII3 I http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL Install Installation type This computer currently has no detected operating systems what would you like to do Erase disk and install Ubuntu Warning This will delete any Files on the disk You can create or resize partitions yourself or choose multiple partitions For Ubuntu something else Back Continue Continue EE ty 5 3 Install Erase disk and install Ubuntu Select drive SCSI3 0 0 0 sda 21 5 GB VMware VMware Virtual 5 Ubuntu dev sda ext4 21 5 GB The entire disk will be used Back Install Now http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL I Configuration of the hardware space and mount points Here we choose the default value or you could setup according to your self demand Click the Install Now Install Keyboard layout Choose your keyboard layout English Ghana English Nigeria English US Cherokee English South Africa English US English Colemak En
41. e system under the directory of bin this software is only suitable for the 4 3 inch screen WHF IDH C Bec FEA 1 8 5 al EM root FORLINK6416 root FORLINK6416 root FORLINK6416 root FORLINK6416 root FORLINK6416 root FORLINK6416 root FORLINK6416 root FORLINK6416 root FORLINK6416 root FORLINK6416 root FORLINK6416 root FORLINK6416 root FORLINK6416 root FORLINK6416 root FORLINK64160 root FORLINK64160 root FORLINK6416 root FORLINK6416 root FORLINK6416 root FORLINK6416 root FORLINK6416 root FORLINK 6416 15 bin player bins player roottaF RLIHs6518 H lt 4 35 32 ANSIW 115200 8 H 1 Broadcast AVI file here plays the section of the matrix 99 EE S O EN oon http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL 425 EAE AED ee A WED AR OD rooti3FDRLIHA65198 i raatiaF RLIHsO518 i rooti3FDRLIHA 6518 i rooti3FDRLIHA65198 i root FORLINK6G416 rooti3FDRLIHA 6518 i rooti3FDRLIHA6518 i raatiaF RLIHsO518 i raatiaF RLIHs6518 i rooti3F DRLIHA65198 i raatiaF RLIHsO518 i root FORLINkK6416 rooti3FDRLIHA6518 i raatiaF RLIHsO518 i raatiaF RLIHs6518 i rooti3FDRLIHA6518 i raatiaF RLIHSsO518 i root FORLINK6G416 rooti3F DRLIHA6518 i raatiaF RLIHsO518 i root FORLINK6416 rooti3FDRLIHA65198 i rooti3F DRLIHA65198 i root FORLINX64
42. ength reaches 100 frame 17 x Input x to quit The effect is as follows 92 200 s c CNN http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL 8 2 10 Camera preview amp MFC coding and decoding This program is used to execute camera preview coding and decoding 93 EE S O EN oon http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL ITU 656 YCbCr 4 2 2 B bits CAMERA _ DECODING Post processor Color space conversion amp scaing 800x480 Input 10 to begin the test Note If there is something unusual happened on the right part of LCD please restart the test program select number gt 10 10 Camera preview amp MFC encoding d Forlinx Embec Using IP Post processor LCD Camera Camera preview size 400x480 Display size 400 48 Exit Select gt Input x to quit 94 EE S O EN oon http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL The effect is as follows preview effect is on the right part effect of coding and decoding is on the left side 8 2 11Camera preview amp JPEG decoding This program is used for camera preview and could go on JPEG decoding for current frame 95 EE S O EN oon http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL CAMERA SOURCE y NTSC D1
43. eoe e eoe e eoo Play effects 88 http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL 8 2 7 H 264 decoding amp LCD double buffering This program mainly test double video buffering the flow chart is as follows Pos processor Color space conversion amp scaing VC 1 H 254 JPEG buffer 4 H263 raw strean raw strea am file JPEG output BOO 480 buffer FRAME BUFFER 0 Video buffer FRAME BUFFER 1 Video buffer ROB Type in 7 to begin the test the play effect is like what the chaper4 1 displays select number gt 7 7 Display using double buffering Foarlinx Embedded vO 1 Using IF WYGACEOOx480 Bitrate OF Kbps FPS 89 EEUU A eee http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL EE Aa R 3 9 C e g f c c rcKF 8 2 8 Camera preview amp MFC coding This program conducts preview function of camera and compression of current frame the blue line in next picture stands for the preview procedure red line is responsible for the coding of present codec channel data These two parts operate respectively in different i l threads CAMERA 4 I I I I I 3 Y I JPEG ES td 1 MFC input buffer Ln TM A8 7 MFC output buffer I d Post processor J 9 Color space p Y pass conversion amp scaing
44. er of the gprs interface and then click the mini button to minimum the interface to the taskbar start the browser noo0508aa8 http wy google com Ak ale RES 85 Note because there is only one serial port in the GPRS module the serial port will be occupied after been started then you are not allowed to make a phone call or send short messages Moreover this software does not support the overlength messages at present Gprs source code path CD Linux 3 0 1 apptest QT ApplicationTest gprs 62 EE S OU o i n pP 5 h A a 2 cC eee r http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL I Chapter5 Establishment of Linux development environment on the host computer Development environment here are regarded as softwares and hardwares which is needed during the process of the development Development environment is not in a firm or fixed pattern Here we introduce in details about the establishment method of an embedded Linux development environment If you are familiar with the embedded development you could establish it depend on your own request you could search for relevant information in some large scale Linux forums and websites to dispose Wrong messages happened because of environment that different from that in this manual The environment introduced in this chapter has been tested by Forlinx friends who are not experienced in the embedded development could establish
45. es that have occurred in the notepad tts E 5 fg unum x VS SS iE J me 8 11 25 Note the keyboard driver only could provide limited key value If it is need be expanded please add it by yourself by referring to the driver program 4 6 USB camera Forlinx Linux 3 0 system have the USB camera driver the present test program only could support YUV camera we will continually to perfect test code to support more USB cameras Connect USB camera with the USB port in the board run command Ztest usb camera A sampled dynamic image will appear end LCD eee http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL U 9 R l fVBEBDl C HI yF lla a pla ll lk a k kZk s _ lt I GI II I III GVFGGEII IG IE IGI II II I IEIESIIzIOI LL Y gt OoC N c Test usb camera source code path CD Linux 3 0 1 apptest testUsbCamera 4 7 485 Interface Only TE6410 is equipped with the RS485 interface And the driver has been installed in the kernel The device nodes of TE6410 is dev ttySAC3 4 8 CAN module TE 6410 equips industrialized CAN transceiver which consists of MCP2515 and MCP2551 Base on the Forlinx CAN module OK6410 could develop a similar CAN transceiver which is same as the one used in the TE6410 Connection method Using flat cable provided by Forlinx to connect CAN module and IO interface in the Forlinx board CAN have many test tools Here we just take the Forlinx6410 board as
46. est procedures are as follows root FORLINK64101 pwd fopt Qtopia bin root FORLINK64101 irda After that the hyper terminal will continuously print 1 when there is infrared induction the hyper terminal will print O This program is used to test hardware level And no software protocol at present eee http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL I Irda source code directory CD Linux 3 0 1 apptest irda_test irda_test c 3 16 Temperature sensor test Temperature sensor test program temp test locates under usr bin root FORLINK641014 cd usr bin Lroot FORLINK641014 temp test Open Device DSISB 28 successed 34 10C 34 10C 34 11C Jo 3L Jo 4C Jo 3L Note At present temperature value will be a little higher comparing with the correct value Temperature sensor source code directory CD Linux 3 0 1 apptest temp estMemp test c 3 17 Serial port test You could setup the baud rate data bit stop bit and odd even check through serial port test program Step1 Connect the board Connect the COM2and the PC serial port through the serial cable open up the hyper terminal of the PC setup its properties Step2 Open the software click ForlinxTest in the qtopia desktop you will find a serialport icon serialport is the test program of serial port RAIA ForlinxTest am Documents 3GDialup ADTest LedTest Test Liga AT m Web Browser
47. filename test Input vector size Display size Bitrate FPS ZI ast processor rcwv Play effect http www forlinx net 2012 12 27 OK6410 B 8 2 6 simultaneous decoding of various videos Type 5 to start the simultaneous decoding tests of videos with multiple formats 4 windows display Embedded vQ 1 Using IP Post sor LCD Frame buffer coal Codec MPEGA Input Input rename shrek m4v A 5 Ar w nput size QVE x nput Y WX A E Y h X w Frame buf fer H 264 Display size Display size Bitrate Bitrate x FPS RRE m f the the the the the the the thr te We tle he the Sk the the oe Me th the the the the the the the Me le Me he the the the the Sk kc kc eoe Me the e kc We oe che she chr she she Frame buffer Frame buffer Codec PRS Codec YC nput filename iran 269 x nput filename NU nput vector size QYGA nput vector size QYGA x Display size U x Display size A00x 4A 0 Bitrate 460 Kbps Bitrate 460 Kbps E F PS Ec 3l F P3 5 3 x m LEE NE E Mu o the ue ee ar e e o gcc e ge ge ge ge ge ge tte trotters
48. glish UK English US English Dvorak alternative internation Engish US sss English US English Dvorak international with dea Esperanto English US English Dvorak Estonian English U5 English Macintosh Faroese English US English US alternative international Filipino English US English US international with dead ke Type here to test your keyboard Detect Keyboard Layout Back Continue Select keyboard layout the default setting is OK and then click Continue 66 ND http www forlinx net 2012 12 27 OK6410 B SER MANUA install Where are you Shanghai Continue Select the location shanghai and then click the Continue T REDE Install Who are you Your name Forlinx Your computer s name forlinx virtual machine af The name it uses when it talks to other computers Pick a username forlinx Choose password 0000000 Weak password Confirm your password Confirm password Log in automatically Require my password to log in Encrypt my home folder Continue UCU http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL the system username and password Note the user name here are normal users who does not have the root user privilege And how to log in as a root The next section will give you detailed introduction Click the Continue the installatio
49. h the open source player The source codes of the player qt4 could be found in CD you could modify and use it at your will the binary file of player qt4 is prepared under bin directory moreover player qt4 only suit for 4 3 inch LCD TT S RIE DFHU C EXEC D gt 5 if EM rootiaF ORLINX6318 1 rootiaF RLINX6418 t rootiaF RLINX6318 it rootiaF RLINX6418 t rootiaF RLINX6318 it rootiaF ORLINX6418 t rootiaF RLINX6418 tt rootiaF ORLINX6418 rootiaF RLINX6418 t rooti3F RLINX6318 it rootiaF ORLINX6418 1t rootiaF RLINX63180 1t rootiaF ORLINX6418 1t rootiaF RLINX6418 tt rootiaF RLINX6418 t rootiaF RLINX6418 t rootiaF RLINX6318 it rootiaF ORLINX6418 tt rootiaF RLINX6318 tt rootiaF ORLINX6418 rootiaF RLINX6418 tt root FORLINX6416 1s bin player qth root FORLINS6S16 gt u OO EEE FAS 0 06 08 ANSIN 115200 8 H 1 HUM Run player qt4 play interface will appear on the screen The picture is as follows 102 EE S ZU aae http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL Open Pause stop 2 Exit Click open to choose videos that you want to play Look in Fm sdcard TestVileo A E 8 Computer 9 H 264 dtE4Hor File name Files of type Media F
50. if the resolution is greater than it conversion tools need to be used to converse file format to a format supported by 6410 conversion methods will be introduced in the following chapters In addition multimedia test program could also test the preview function of OV9650 camera coding function of video data H 264 datas conversion function from YUV420 YUV422 to RGB it could be regarded as the firsthand materials for learning video coding and decoding The kernel source code of Linux provided by us contain coding and decoding driver of 6410 multimedia hardware and ov9650 camera driver which is totally open source for users We put it in the kernel of Linux3 0 for convenience during the users study and development process 8 2 Multimedia integration testing 1 Multimedia test program multimediatest provided by Samsung could test decoding of MPEG4 H 264 H 263 coding of H 264 coding and decoding of JPEG We have made some modification on Samsung version Our products could support screens of 3 5 inch 4 3 inch 5 6 inch 7 inch 8 inch 10 4 inch and VGA HDMI output display source codes are provided in the CD 8 2 1 Compile Multimedia Test program Integration test program of multimedia hardware coding and decoding locates in the directory of Linux3 0 apptest Multimedia in the CD Copy and paste it to the directory of forlinx of Ubuntu decompress it and a Multimedia DD directory will be generated Compile mutilmediatest program ro
51. iler and library files will have related problems 63 EE S lS ooo http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL I when using other version of Linux desktop system You could consult and check the official forums build by Linux system publisher We strongly suggest you use methods provided by Forlinx if you are not familiar with it Official website of Ubuntu http www ubuntu org cn Each version of Ubuntu could be found and downloaded Some other information of Ubuntu were also could be found A lot of practical Ubuntu resources and relevant Chinese forums could be found In addition Ubuntun also has its English forum Note Considering many users demand Forlinx selects 32 bit Ubuntu12 04 not the 64 bit Ubuntu12 04 Let s start the installation Step1 At first prepare an Ubuntu9 10 installation CD Insert the CD into the CD ROM set up boot from CD in the PC bios start PC Step2 Start PC there will be an pop up window for selecting installation language Select the displayed language in the installation process by using the direction key on PC keyboard Here we choose English install Welcome Asturianu Bahasa Indonesia Bosanski Catala e tina Dansk Deutsch Eesti 2S Espanol Try Ubuntu Install Ubuntu Esperanto Euskara You can try Ubuntu without making any changes to your computer directly Francais from this CD Gaeilge Or if you r
52. iles mpa avi You could click buttons on the interface to control the video play such as pause fast forward exit 8 3 3 How to converse ordinary multimedia file format to format which is supported by 6410 system Aimersoft iPhone Converter Suite software could converse multimedia videos to MP4 video format that could be played by 6410 MediaCoder software could be used to converse multimedia videos to H264 videos format that could be played by 6410 All test videos could be conversed through these two softwares Users could download latest version online here we will not introduce it any more 103 200 5 5 5 00 0 s c NN http www forlinx net 2012 12 27
53. ith many development modules such as CMOS camera modules WIFI wireless modules for the customer s selection This manual mainly introduce the construction and development of Linux system on the OK6410 development board It does not contain basic operation knowledge due to limited space we suggest you could study it combining with more professional Linux books or other CD materials Up to now this manual has been modified many times but there are still much disappointments which could not make everyone feels satisfied please send us your precious views and suggestions At the same time we will continuously update and perfect it and will put them on customer service section on our website for your downloading At last we hope you all could study ane work with happiness EE S uU Z2 UO K Lc nno http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL Chapter2 Linux s one key infusion eWhat is Linux s one key infusion Why to do it Simply speaking Linux is quickly infused into the NandFlash of the board after a series of operation by using SD card and programs and system images provided by Forlinx Company What kinds of problems could be resolved For example 1 When leaving the factory WinCE6 0 is the default system which has been infused in the board If you hope OK6410 could run the Linux system then you need to reinfuse the Linux system into the NandFlash in the board 2 Update uboot kernel
54. lt y H gt Step4 Type y but y will not be displayed in the DNW press the enter key wait serval seconds the bad blocks will be scrubbed 15 EE S OU cC eee r http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL I Erasing at 8x3F5cB8BBB 99omplete Erasing at x3ffc BBH 18B8o0mplete Scanning device for bad blocks sHDE651B H At this time NandFlash in the whole board will be cleaned up the bad blocks are also been disposed and you could reinfuse Linux system through one key operation Note During the process of development and study logic bad blocks will unavoidably occur please dispose them using the foresaid methods However the nand scrub order should not often be used which will make false calibration to nand These bad blocks are one kind of the characteristics of the nand If you are really interest in it you could further study properties of nand and Forlinx 6410 disposal mechanism for nand Chapter3 Test Linux 3 0 1 This chapter mainly introduces Forlinx 6410 Linux 3 0 1 drive and relevant service test we suggest you use hyper terminal as the console In this chapter if there are no special instructions commands should be operated at the control terminal of the board Adding in the front of each command is to tell you the beginning of each order 3 1 Switching among Qtopia2 2 0 QT Extended 4 4 3 QT E 4 7 1 After the board is infused with Lin
55. methods for erasing NandFlash Step1 Connect COMO in the board and PC serial port with a serial cable and then open and set up the DNW software Appendix Simple usage course of DNW software Step2 Power on the board press the space key o stay in the Eboot status after initiating image launch in 5 seconds appears aoo http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL EE WinCE 6 8 Steploader for SHMDK6416 Launch Eboot Microsoft Windows CE Bootloader Common Library Version 1 4 Built Feb 19 2811 18 26 13 Microsoft Windows CE Bootloader for the Samsung SMDK6416 Version 2 4 Built Mar 8 2011 0ALArgsInit SsocID 8x36518181 firguments area is initialized fiLargsInit INFO unsigned t IsrHandler 6x860402D4 INFO unsignedj ASH IsrHandler 8x8HB8h28E INFO unsigned pISR 6xEAG16A31 BP Init FHD FHD Init xx FHD IHF FHD Init Read ID 8x B8BBecd3 FHD FMD Init HUM BLOCKS 4696 FMD Init PAGES PER BLOCK 128 FHD FMD Init SECTORS PER _PAGE 4 FHD FHD Init FHD FMD GetInfo HUHBL CKS FHD FMD GetInfo NUMBLOCKS uHUM BLOCKS 8966 Hx1H8B88 Eboot InitializeDisplay Ebont InitializeDisplay Press ENTER to launch image stored on boot media or SPACE to enter boot monitor Initiating image launch in 5 seconds Step3 Press A to erase NandFlash HB96 621088 SECTORSPERBLOCK
56. n method after deleting this file restart board the system will enter into tslib calibration program commands are as follows rm etc pointercal Delete this calibration file reboot Restart the board Note QTE could not support mouse and touch screen at the same time Touch screen Calibration will not go on under the file system which supports the mouse operation Path of tslib Source code CD QTE Ti A485 WF tslib tar gz 3 3 Modify LCD resolution 200 5 o 00 0 0 ON http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL Modification of the resolution of LCD should be realized by the way of modifying uboot parameters The truth is to load corresponding LCD drive according to uboot parameters Step1 Making sure that the system could start the uboot of Forlinx If it fails to start please check the foreside infusion procedures Step2 Connect COMO in the board and serial port in PC with serial port cable open and set up DNW software Step 3 Power on the board press the space key to stay in the Eboot status after you find out starting system occurring hit any key to stop autoboot 1 Because there is only 1 second so that pressing the space key in a very short time is requested CPU S36641H 2532HHz Felk 532HHz Hclk 133HHz Pclk 66HHz Seri Board 3HDE64H1H DRAH 128 HB Flash kB HA HD 1024 HB xxx Warning bad CRC or MAND using default environment In serial
57. n will be completed 5 2 The Ubuntu is set up as log in as a root user Embedded cross compiling generally need the privilege of root user while the Ubuntu12 04 is not allow the to log in as a root only permit the normal users and visitors to log in Solution After logging in the Ubuntu as a normal user we could make some modifications to make it support the root user After logging in as a normal user commands should be executed in the terminal window to converse to the super user mode And how to log in the terminal window in the Ubuntu12 04 Please refer to the introduction in the section of 6 4 1 Linux terminal Type in sudo s in the terminal window press the enter button and then type in the system password which was setup when installing Ubuntu 12 04 the root user privilege mode will be locked Execute gedit etc lightdm lightdm conf in the terminal window Add greeter show manual loginztrue allow guest false The modified configuration file is as follows SeatDefaults greeter session unity greeter user session ubuntu greeter show manual login true manually type in the username and password to login the system allow guest false Guset is not allow to log in Start the root account and execute the passwd root command type in the password Restart ubuntu log in option will be found in the login window and then we could log in as a root user 68 EE S O EN oon http www forlinx net 2012 12 27 O
58. ng 82 200 O 8 sc CNW http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL In the main menu of test program 1 5 are regarded as video decoding test the flow chart is as follows MEMORY SOURCE processor Color space onversion amp scaling mp a4 JPEG input buffer H 263 raw stream file ML JPEG output buffer select number gt 1 1 H 264 display Using IP Input filename Input Size Display size Bitrate FPS Play effect 83 http www forlinx net 2012 12 27 OK6410 B 84 I M E http www forlinx net 2012 12 27 OK6410 B 8 2 3 MPEG4 decoding Type 2 to start the MPEGA video decoding test select number gt 2 Forlinx Embedded v0 1 2 MPEG4 display Using IP Input filename Input vector size Display size Bitrate FPS Play effect 85 http www forlinx net 2012 12 27 OK6410 B 8 2 4 H 263 decoding Type 3 to start the H 263 video decoding test H 263 Forlinx Embedd 3 H 268 display Using IP Input filename Input Size Display size Bitrate FPS ed V Play effect 86 http www forlinx net 2012 12 27 OK6410 B 8 2 5 VC 1 decoding Type 4 to start the VC 1 video decoding test select number gt 4 Ec V C Forlinx Embedded vQ 1 4 C 1 display Using IP P Input
59. nknown 328412246 86C IE IE Unknown Unknown DD AS 8683 7F 6161 BBBSFE ZF DDTABBAS7F H38188BHBBBBH2 127657 756822127657 7 GEG S BB2E B8 ifconfig wlanO 192 168 0 232 root FORLINX6416 ifconfig wlang 192 168 8 232 iwconfig wlanO essid TP LINK 65775E rootiaFORLINX6A18 iwconfig wlan essid TP LIHK 65775E iwconfig wlanO key 123456789 Setup essid Setup IP of SDIO WIFI Stup password of router root FORLINX6416 iwconfig wlan key 123456789 route add default gw 192 168 0 201 ping 192 168 0 201 root FORLINA64S16 8 route add default qw 192 168 868 261 root FORLINX6416 ping 192 168 8 281 PING 192 168 608 201 192 168 08 201 56 data bytes 64 64 64 64 6 tUm bytes bytes bytes bytes bytes bytes From From From From From From 192 108 8 201 192 108 08 201 192 168 0 201 192 168 80 2H1 192 168 8 2H1 192 168 8 2H1 5ei 1 0 2 3 seqg 5 5Pi 6 ttl 64 ttl 64 ttl 64 ttl 64 ttl 64 ttl 64 Setup gateway Ping gateway Cime 3 8 66 time 3 851 time 3 981 time 3 8H13 time 3 651 time 3 8H37 ms mes ms ms ms ms The router tested in this chapter could visit internet so that you could surf on the internet using QTOPIA browser 53 EE S ll b S http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL I 4 4 Serial expansion board Serial expansion boar
60. nt could refer to 4 7 7 Mount NFS network file system Note FileSystem Yaffs2 tar gz published this time was added some useful qtopia2 2 0 test programs and was abridged some qt4 7 1 demonstration programs 7 2 Image making there are two making tools in the CD Linux 3 0 1 1 filesystem Yaffs2file system they are respectively mkyaffs2image nand2g and mkyaffs2image nand256m 1 Images made by mkyaffs2image nand256m are suitable for the board with256M and 1G byte Command mkyaffs2image nand256m FileSystem Yaffs2 rootfs yaffs2 2 Images made by mkyaffs2image nand2g are suitable for the board with 2G byte nandflash Command mkyaffs2image nand2g X FileSystem Yaffs2 rootfs yaffs2 At last rootfs yaffs2 is generated which is the image of yaffs2 file system could be downloaded to the nandflash in the board Chapter8 Coding and decoding test of multimedia hardware 8 1 Multimedia Function introduction Multimedia codec MFC internally integrated in the S3C6410 could support coding and decoding of the MPEG4 H 263 H 264 decoding of VC1 decoding performance reaches 720x480 30fps or 720x576 25fps 80 EE S llb c o p h l lalBlG3l lll i B gt a a a G i1pFa pp SS http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL 2 AVI coded by H 264 MP4 coded by MPEG4 could play well the s3c6410 chip The resolution of these audio and video files usually are less than or equal to 720 480
61. od Manual w Addresses Address Netmask Gateway Add 192 168 0 29 255 255 255 0 192 168 0 1 Delete DNS servers 8 8 8 8 Search domains DHCP client ID Require IPv4 addressing for this connection to complete Routes Available to all users Cancel 2 I Ce http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL Select the IPV4 Setting type in your IP address subnet mask gateway DNS finally save the setting network setting will be completed Lets have a test the host IP is 192 168 0 30 then ping the host through the virtual machine root forlinx virtual machine root forlinx virtual machtine Um 192 168 060 306 168 0 30 from from from from 5 from from from 192 192 192 192 192 192 192 192 168 168 0 168 0 168 0 0 0 168 168 0 168 0 168 0 0 38 56 84 bytes icmp req 1 icmp req 2 icmp req 3 icmp req 4 icmp req 5 icmp req 6 icmp req 7 ttl 64 ttl 64 ttl 64 ttl 64 ttl 64 ttl 64 ttl 64 of data time 8 time 8 time 0 time 8 time 8 time 8 time 8 785 m 239 1 174 5 4 Commonly used application program of Ubuntu 5 4 1 Linux terminal In the Linux system Terminal is a kind of very practical window which is used to interact with the operation system Terminal could be used to compile the application program and boot sys
62. ootfs yaffs2 nand256m it is used in yaffs2 file CD Linux 3 0 1 filesystem system which supports touch screen input is suitable for the board with 256M 1Gbyte nandflash rootfs yaffs2 nand2g it is used in yaffs2 file CD Linux 3 0 1 filesystem system which supports touch screen input is suitable for the board with 4G byte nandflash port USB port tool CD Utilites 2 1 Special instruction when infusing Linux system Before infusing Linux if the board is installed with WinCE system WinCE system is the default system which has been infused in the board when leaving the factory you must start the Eboot to clear the NandFlash Note This chapter is only be used for the replacement from WinCE to Linux system If the Eboot can not be started then it should be infused into board at first When infusing Eboot users need to check Chapter1 chaper3 of Forlinx 6410 board WinCE 6 0 user manual in pdf format for reference Linux infusion could be operated only after NandFlash is erased by Eboot the reason is file format The default system of the Forlinx6410 board is WinCE When designing the WinCE system Microsoft company made a rule which set up the first four modules as broken ones that is to say bootloader partitions are all marked as bad blocks to prevent be erased by WinCE application system so that we need to recover these false bad blocks when replacing WinCE system by Linux system in the board Eboot
63. orlinx Company has provided more than 10 000 sets of development platform for customers dedicates itself to help new learners to cross the threshold of embedded provide reference for engineers to design products We mainly focus on the construction establishment transplanting and upgrading of the embedded development platform and have made our great efforts to simplify the study and development of the embedded system Linux is the first choice for embedded system learners in their first stage It is an open source project which could help learners gradually know about the essence of embedded operation system through study and operation At the same time it is a successful software platform that has been widely applied in every industry The development of the embedded system also has been reflected in the continuous update the hardware technology Two years ago ARM9 was first choice in the engineers products design but at present ARM11 start to stand out conspicuously and would be applied widely in the next few years will become the leading role in the study and development of the embedded technology S3C6410 is designed on the basis of ARM11 kernel It is not only advanced in the speed but also has study and development value in other advanced function OK6410 is a study and development kit which is cost effective and with high configuration We did enough preparation for its publishment It has a lot of interfaces and is equipped w
64. ot forlinx desktop forlins Multimedia DDF ls Changelog demo FIMV MEC V1 0 PP raot ferlinx desktop lortinx Multimedia DOF cd APPLICATIONS raatuforlinx desktop forlinx Multimedia DD APPLICATIONS amp ls cam dec preview c capture h display optimization2 h jpeg display h ram dec preview h i display test c Makefile cam enc dec test c display 4 windows c display test h HF PI cam enc dec test h display 4 windows h test c ram encoder test c display optimizationl c cam encoder test h display optimizationl h API display optimization2 c jpeg display c raatuforlinx desktop forlinx Hultimedia DD APPLICATIONSe make Enter into the directory of forlinx Multimedia DD APPLICATIONS execute make to start compiling After compiling is over a multimediatest program will be generated 81 a 5 U Uz E K L K h KhhhKKKX 4 EE RKE DI IKEWXBIdibG s p o 2 cC ee l ll e eL RL L Il 0T R http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL Iroot forlinx desktop forlinx Multimedia DD APPLICATIONS amp 15 dec preview c cam encoder test o display optimizationl c display test o MFC API dec preview h capture c display optimizationl h do multimediatest dec preview o capture h display optimizationl o FrameExtractor test c cam enc dec test c capture o display optimization2 c JPEG test o cam enc dec test h Common display optimizationz h jpeg displ
65. pia system you will findMusic icon Music is the application program of audio player EB Applications FarlinxTest SU Settings Dacunents em m Calculator Calendar Pictures oyster Infi Q Videos Voice Notes Click Music player the player will automatically search for audio files under the directory of root QtopiaHome Documents in the board Finally you will find a audio file named 54 1 2 297 http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL LT Playlist Options skin e All Lozations All abcd P 8291957 Click this file name to broadcast ad Music If you need to quit click the top right corner buttons in the red wire frame are responsible for adjusting volume 3 9 video test Click application tab on the desktop under qtopia system you could find video icon video is the application program of video player 38 200 C 0 0 0 ON http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL BS Calculator Calendar Camera aii Voice Notes m C E i 18 4 Click Videos player the player will automatically search for video files under the directory of root QtopiaHome Documents in the board Finally you will find a audio file named panda Click this file name to broadcast this video file Click the center part to maximize this video
66. rd Zlmage is the kernel image file of Linux Finally copy and paste rootfs yaffs2 to the SD card rootfs yaffs2 nand256m is specially used for the board with 128M memory rootts yaffs2 nand2g is specially used for the board with 256M memory Send the copy of corresponding yaffs2 into SD card and rename it as rootfs yaffs2 After above operating steps corrected files and file names are shown as follows EH Uv REA HESS E bin Exo ss aes Image o PATEE Donne mmeaneoooanoancenon on oonno ose Note PC system has a function to hide the suffix of existing file names If this function is started in PC and then the u boot bin will be just found as u boot When editing this manual editors have closed this function in the PC 2 3 Infused Linux into the NandFlash of the board Step1 Put the well prepared SD card into the SD slot SD4 4GB Step2 Connect with 5V DC power plug Forlinx provides this power adapter you d better use the power adapter provided by Forlinx 10 SS oon http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL m d E a LI Ls i L Step3 Set up DIP switch to start from SD card DIP switch setting is as follows Note In the above table 1 represents dial up need to be switched to o shows that dial up need to be switched to Off When switching the ON OFF the switch should be triggered to the proper position if i
67. rent videos could be played while AVI and MP4 files could not be played We developed a new open source player which could broadcast files coincide with 6410 format by using 6410 DXVA function the player has two version respectively use command line and QT graphical interface in the operation and both of them are open source When broadcasting test videos you need to copy and paste test videos into SD card and insert the SD card into the board These test videos are in the multimedia test file folder in which have AVI files with H 264 coding format and MP4 file with MPEG4 coding format Note AVI and MP4 videos are supported by 6410 CPU if your multimedia files format need to be conversed to the format that is supported by 6410 conversion software will be introduced in the following chapters We will check the play effect in advance 98 EE S O EN oon http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL 8 3 1 Command line open source player Player software is a kind of open source software in the 6410 platform Source code of the player is s3c6410 multiplayer tar gz which locates under the multimedia directory of the CD This software could decode and play AVI and MP4 files depend on its 6410 DXVA function you could download the latest version from Google Code the download address http code google com p s3c64 10 multiplayer Executable file player has been saved in the fil
68. rivate network shared with Ehe hast IS Display Auta detect CO Custom Specific virtual network Veneto amp uta bridging Q LAN segment Select the Bridged and click the Ok button Step2 Start the Ubuntu log in as a root user click the button on the top right corner options list will be pop up 70 EE S OU o i n pP 5 h A a 2 cC eee r http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL E System Settings Displays Startup Applications Updates Available Printers Lock Screen Log OuL Suspend Hibernate Shut Down System Settings All Settings m Appearance Brightness Keyboard Language Privacy Ubuntu One and Lock Layout Support A Hardware N O Additional Bluetooth Color Displays Keyboard Mouse and Drivers Touchpad E 3 e Network Power Printing Sound Wacom Graphics Tablet System me naf m Backup Details Management Time amp Date Universal User Service Access Accounts Double click network icon oJ Ve http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL Network All Settings Network Network proxy Wired x gt Connecting Hardware Address 00 0C 29 AB 12 E2 Options Click the Option button Editing Wired connection 1 Connection name Wired connection 1 Connect automatically Wired 802 1x Security IPv4 Settings IPv6 Settings Meth
69. s recognized EE S oaa http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL I C ecyCe l MEHRA I EJE3 GE 3 60 GB FATZ A SELBE v 1 Te EM 0 EREE g ER E 1 5 005 Bah Mi Step2 Infuse mmc bin into the SD card through SD Writer exe Open SD_Writer exe The following picture is an SD Writer exe screenshot in XP system m SD Writer we witech com cn SO volume SD Type OS Type Select Boot ABE GS 2010 http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL The following picture is an SD Writer exe screenshot in the system of WIN7 d SD Writer www witech com cn l SD Volume H Scan SD Type Auto 1 OS Type Linux Select Boot Program Quite ERR GU 2010 Step3 Click Scan this step is to automatically search for the drive letter of SD card If scan does not properly set up the driver letter of SD card you need to manually adjust SD Volume adjust drive letter as the drive letter of SD card for example the USB port connects with two or more USB disks or SD cards and then the SD card drive letter may be scanned by mistake Step4 Adjust SD Type as auto so that SD Writer could automatically identify the type of SD card if you PC is installed with WIN7 you need to click format to format the SD c
70. sion 1 1 5 C Josua Dietze Based an libusbU 0 1 12 and al PLEASE REPORT NEW CONFI T Minimize Defaultvendar Ox19d2 i befaultPraduct 00026 E Hi _ Click Minimize could realize to minimize the control panel of 2000 At this time network has been connected open internet browser to open the homepage of google 49 EE S OU o i n pP 5 h A a 2 cC eee r http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL http ww gaagle cam hk gle TEEST E drh oo nuc FrEE Up to now 3G test programs provided by Forlinx support Modem model WCDMA ForlinxAD3812 CDMA2000 ZTE AC581 ZTE AC582 TD SCDMA HUAWEI ET127 ZTE A356 All models have passed tests while other models haven t been test at present 3GTest Source code path CD Linux 3 0 1 apptest QT ApplicationTest 3GTest 4 2 CMOS camera OV9650 test OV9650 camera is optional Step1 Power off the board connect OV9650 camera with CAM interface of the Forlinx board Note OV9650 could not operate hot plugging Step2 Power on the board start Linux system Step3 Run test command Ztestcamera Information sampled by camera will appear on the LCD screen The system now is installed with test program of 4 3 inch screen you are permitted to correct source code according to practical situation 50 EE S O EN oon http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MA
71. t down the serial port finally click the close button on the top right corner Serialport source code path CD Linux 3 0 1 apptest QT ApplicationTest serialport Chapter 4 Peripheral modules Test 4 1 USB 3G net card test NIC 1 Telecom CDMA 2000 module test Step1 Insert 3G cellphone card into the USB 3G module Step2 Power on the board start Linux system Step3 We take a USB 3G module test for example in this chapter In your practical test data may be different from results in this chapter due to different chips Open ForlinxTest tab on the desktop under qtopia system you could find 3GDialup icon 47 EE S O EN oon http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL FarlinxTest e ADTest gprs Key Test LedTest FWhTest serialpart setlF 5 At A Q 1 L N Web Browser WiFiTest AP PEDI sS 8 851 11 03 Click 3GDialup to start application program there will be a 3G module control panel bul qii CDMA2D0D QU F 5 gy TD SCDMA T DLC Click CDMA2000 CDMA2000 module control panel appears 48 http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL Connect State Connect Met m Click Connect Net the network connection information of CDMA2000 will be found in the connect state Connect State start connect COMACOOO please ush modeswitch handle USB d Disconnect wer
72. t is improperly be operated bad contact will lead to the failure of the infusion setting should be like the next picture Step4 Connect the COMO in the board and the PC serial port with a piece of serial cable 11 eee http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL C e l l MBO Step5 Open the DNW software set up the serial port of DNW Step6 Power on the board the serial information will be shown as the following Picture Because of too much information we just show you the information at its first and last phase The first phase DNF v0 60C For WinCE CON 115200bps USB x ADDR 0x57e00000 21 serial Port USB Port Configuration Help gt DEH Forlinz Embedded Web http www witech com cn 3E 3E 3E 9E 3E 3E 3E E E 3E 90 3E 3E 9E 3E 3E S306418 3532HHz Fclk 532HHz Hclk 133HHz Pclk 66HHz Serial CLKURRT SHDK6G416 128 HE kB lt 12 eee http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL The last phase DEF v0 60C For inCE CON 115200bps USB z amp DDR Oz57e00000 SITE serial Port USE Port Configuration Help data at Bx5590088 amp te data at W x5 6680BH sete data at Bx573BBB tte data at DBx57FDBBDB g te data at Hx58c BH git
73. t u bo ot bin usr local arm 4 3 2 bin arm linux objdump d u boot gt u boot dis root forlinx forlinx ubootl 16 make forlinx nand ram256 config Configuring for smdk6418 board which boot from NAND ram256 rooti forlinx forlinx ubootl l os B make clean Delete files compiled before make Compile When the compiling is finished there will be a binary file named as u boot bin which is generated under the directory of uboot1 1 6 The u boot bin file is the U boot image file which need to be infused into the Nandflash ef f EE S http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL 20 uboot1 16 Edit View Go Bookmarks Help Back Forward P ES AQ 100 Icon View e 4 Places gt X Li Forlinx uboot1 16 ii root CHEDI TS i386 config mk mosk config mk MAIN LAINERS r 0 Desktop C C C File System ie Yas ss E Network MAKEALL Makefile microblaze_config mips_config mk Floppy Drive mk iz Trash d C 1C 3 Documents ds Misc Music mkconfig mmc bin nios2 config mk nios config mk Pictures E c7e88 C C C 7 B videos Wol Wol Wol c7e88 2 E E cree ij Downloads ppc_config mk README rules mk System map Qu crepi b u boo cree czem Disas_ System map orig u boot bin u boot dis Archi SBBER 531534 board 5315C 5315C u boot map u boot srec
74. tem Open up a terminal in the Ubuntu type in following commands mkdir forlinx root Copy and paste FileSystem Yaffs2 tar gz into this directory decompress it SS oos http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL tar xf FileSystem Yaffs2 tar gz After completing decompression the result is shown in the next picture root File Edit View Go Bookmarks Help Back Forward 4 oy ue Q 100 IconView Places v Li forlinx root il root z ri Boe o E FileSystem Yaffs2 FileSystem Yaffs2 1 Network tar gz Floppy Drive Trash 3 Documents W Music lj Pictures IA Videos i Downloads 2 items Free space 8 6 GB 2 Set up IP of host machine We set up IP of Ubuntu as 192 168 0 231 3 Configuration of NFS service Build a terminal in Ubuntu type in the following commands successively sudo apt get install portmap sudo apt get install nfs kernel server sudo gedit etc exports Edit exports files in the pop up text editor add the command forlinx rw sync no_root_squash in the last line 4 Start NFS service sudo etc init d portmap restart sudo etc init d nfs kernel server restart 5 Check whether the service is running service portmap status service nfs kernel server status 34 200 s c CNN http www forlinx net 2012 12 27 OK6410 B root fortinx Forlinx root File Edit View
75. tem services dominate the most important position in the Linux system 7 53 200 0 sc NN http www forlinx net 2012 12 27 OK6410 B terminal Hi Applications w J rE ix B Terminal UXTerm Files amp Folders gnome terminal Ist terminal mod gnome init pyc script pyc terminal terminal zm Ee SUBE EN Ie IE e s RAD Each time when you click the terminal icon on the panel the terminal system will be started root Forlinx virtual machine root forlinx virtual machine 74 http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL I 5 5 Installation of cross compiler Copy and paste arm linux gcc 4 3 2 tgz file to the directory of forlinx of the Ubuntu This file locates in the utility of the CD Building a new terminal in the Ubuntu input the following commands to install the cross compiler cd forlinx Enter into forlinx directory mkdir usr local arm Build a directory skip in case of a existing directory tar zxvt arm linux gcc 4 3 2 tgz C decompress compiler to usr local arm Add the cross compiler path into the system environment variables and then the arm linx gcc command could be directly typed in to the terminal window to compile the program Execute in the terminal gedit etc profile Add the following four lines in the file export PATH usr local arm 4 3 2 bin S PATH export TOOLCHAIN usr local
76. the PC 3 6 Web service 259 http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL I We have transplant a web server boa onto the boards boa web server is a exquisite and high efficient web server which could run on the Unix and Linux platform support CGl and is totally open source this single tasking http server is very suitable for the embedded system ftp service is automatically started when the system is started Type in the board IP address in the IE address bar then you could start to browse the web pages of the web server The following screen shot is taken during browsing through IE api ASE AB SI XT ITI Microsoft Internet Explorer SERE RAD A BH Prim 2 0 s GORE Lx pw F EEE Pe A RRA lk B Fa 2518 142 8 Ez Hisia be eae rh Else eui p bP ees TUE as B BA ETT ERA ARRANI dall SERAN EATE BAAGA mkA PERDERE AGREED LARA Se HE RES A BGR OBSS UI 4B Internet 3 7 7 Using NFS to mount network file system Preparation of NFS file system directory 1 Prepare for NFS file system directory Before starting nfs service NFS sharing directory must be well prepared in the Ubuntu For example we use forlinx root of Ubuntu as NFS sharing directory copy the compressed FileSystem Yaffs2 tar gz to this directory decompress and obtain the directory which is needed by root file sys
77. the environment by methods given by Forlinx Friends could trust our company and establish development environment according to the methods in this manual File paths needed in this chapter ubuntu 9 10 desktop i386 iso ubuntu9 10image installation CD Utilities FORLINX_linux 3 0 1 tar gz Linux 3 0 1 source code compressed CD Linux 3 0 1 kernel_ sourcecode package 5 1 Installation of Ubuntu 12 04 Ubuntu is a Linux operation system which is mainly dominated by desktop application Ubuntu not only has a lot of advantages but also owns praticular superiority comparing with other versions of Linux At first installation system is very simple and could be finished after several steps operation which is as prefect as the desktop system of Windows secondly graphical interface is more humanized which imitates shortcut key under the XP system thirdly this system could install necessary file packages by itself under the network environment at the time of installation and updating you will not worry about the dependency relationship of Linux system any more Considering the using habit and study necessaries we suggest you to select the Ubuntu Linux Ubuntu9 10 image ubuntu 9 10 desktop i386 iso of is provided in the CD it is under the CD utilities and could be burned as a system installation disk There are various Linux desktop system version all experiments and source code could pass test in Ubuntu9 10 version Gcc comp
78. tion information shown in the following picture Physical connection is as follows 24 EE S OU o i n pP 5 h A a 2 cC eee r http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL Serial port terminal will display information of USB mouse after connection Because there are various chips of mouse the information will not same with each other Information are displayed in the next picture root FORLINS64186 usb 1 1 new low speed USB device using s3c2 418 ohci and address 6 usb 1 1 Heu USB device found idUendor l1chf idProduct 8882 usb 1 1 Heu USB device strings Hfr 1 Product 2 SerialHumber B usb 1 1 Product USB Keykoard usb 1 1 Manufacturer USB input USB USB Keykoard as class input input8 generic usb 883 1C4F BB802 0887 input USB HID v1 18 Keyboard USB USB Keykoard on usb s3c2hxx 1 inputB 3 6 3 Mount U disk The board support hot plugging of U disk The system will automatically mount U disk into the directory of udisk At present U disk with 32G is supported in the test and that of above 32G has not been tested Physical connection is as follows 25 EE S OU o i n pP 5 h A a 2 cC eee r http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL I DC C Cr c cC ccoOoOIeGO l L GG Serial port terminal will display information of USB disk Because of the variety of U disk the information displayed will not same with ea
79. ux windows anti virus software and fire wall should be shut down when mounting nfs Mount directory files to the host machine Step1 According to practical situation set up nfs server of PC Linux Here we suppose the contents of etc exports as stands for PC Linux root directory and subdirectory could be mounted stands for the authority is at Beas pues when mounting EE S Uu 5 un unn SO http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL Step2 Set up network environment of the board such as IP make sure the board IP and PC Linux are in the same network segment Step3 Shut down all anti virus software and fire wall If it is not been done the mounting could not be completed Step4 Mount nfs to temp in the board amount t nfs onolock 192 168 0 1 mnt temp After execution of above commands temp directory in the board and mnt directory in the Linux host may have established sharing relation When conducting Is al temp in the hyper terminal or DNW you could see all files under the mnt file system directory in the host In addition you could compile application program in PC Linux and locate it under the mnt directory in PC execute cd temp command in hyper terminal or DNW software and enter into the temp directory to execute application program all these will speed up your R amp D debugging progress 3 8 Audio test Click application tab on the desktop under qto
80. ux system Qtopia2 2 0 is the default starting system In the terminal of the board methods for switching among all kinds of QT interfaces are as follows 1 Switch to Qtopia2 2 0 qtopia amp 2 Switch to QT Extended 4 4 3 qtopia4 amp 3 Switch to QT E 4 7 1 qt4 amp Notes Qtopia4 4 3 is not involved in the file systems rootfs yaffs2 published at this time but we will provide the compiled compressed packet Qtopia4 4 3 tar gz in the CD If you want to run it use SD card or USB to copy and decompress Qtopia4 4 3 tar gz under the opt index then run qtopia4 amp in the hyper terminal or DNW software 16 a n oun http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL Ee 3 2 Calibration and recalibration of the touch screen After reinfusing root system restart the system a tslib calibration interface will appear in front of your eyes TELIB calibration utility Touch crosshair to calibrate Calibration method Using touch pen to successively click the center of EA on the screen Click 5 times spots that been touched are in different places After 5 times click tslib will generate a pointercal file under the root system etc Pointercal is the calibration information file Note you need to try hard to successively click the center of EH on the screen during calibration Click 5 times would pass the calibration but calibration datas in the generated pointercal are not right Recalibratio
81. y at the same time Case7 Execute the following commands to set up resolution parameters of HDMI modules setenv bootargs root dev mtdblock2 rootfstype yaffs2 console ttySACO 115200 Icdsize XGA1024 19 SS hh n p R P e hh 2 cC e e e r http www forlinx net 2012 12 27 OK6410 B LINUX3 0 1USER MANUAL 2 This is piece of command which were written two lines because of limit of length please do not press space key and enter key before the second line 4saveenv save parameters in the Nandflash reset uboot command for restarting the board 3 4 SD MMC card driver test SD card Hot plug is permitted in the board put the SD card into the slot it will be automatically mounted to the directory of sdcard 8G SD cards are supported in present test cards that more than 8G has not been tested Physical connection picture SD4 4GB Terminal will simultaneously print information of SD card the information displayed will be different due to variety of cards S3c6408 setup sdhci cfg card CTRL 2 c 8B 84188 3 8 0808 686 S3c6408 setup sdhci cfg card CTRL 2 c 604160 3 00008 080 mnc new high speed SDHC card at address d3f mncblk mmcO d3f 50086 7 52 GiB mmcblk pt FAT utf8 is not a recommended I0 charset for FAT filesystems filesystem will be case sensitivet Check files in the SD card command is as follows ls sdcard rootidF RLIHs6518 H 15 sdcard
Download Pdf Manuals
Related Search
Related Contents
巡警告 - セイコークロック CM-BF548 Bowers & Wilkins ASW 2500 User's Manual 幼児用暖房便座(腰掛便器3∼5歳児向け用)施工説明書 AEROLUB 発電機 製品組立・取扱説明書 Radio Shack TD-1500 User's Manual 入 札 公 告 Copyright © All rights reserved.
Failed to retrieve file