Home
APC-6410 Users` Manual - Embedian Inc, The leading ARM Based
Contents
1. BSPumwerewr boot buin 0551000000 Rx Test Status This is to load the 6410_Test bin program to DRAM This is a program that has many utilities including writing image to NAND flash After transmit 6410 Test bin program to DRAM you will see the following screen in your Hyperterminal RUE RUE RUE A Ma aea aeo a oe a eae ae eoe a oe a eoe ae a oe a a oe a a oe o ae eoa aeo a eoe a eoe a eoe Le ap alo afa alo afa alo afa nla afa nla ala ala nla nla nla nla Jo slo nlo nfa 4 4 nla ala pe sb abst stab slat ak ab slat ale DAE UE AL dE AL sk et shat System ID Revision 0 Pass 1 ARMCLK 532 00MHz HCLKx2 266 00MHz HCLK 133 00MHz PCLK 66 50MHz VIC mode Sync rSPCUN Oxbfcdl500 rGPHCONO 11000000 rGPHCONI Ox 11 rGPHDAT 0x3cO 0 SER R W Test 1 SYSC Test 2 IMC_Test 3 SRMC Test 4 ONENAND Test 5 NAND Test 6 ATA Test 7 FCCARD Test 8 Test 9 DIA Test 10 SBLOCK_Test 11 100 Test 12 POST Test 13 TVENC_Test 14 G2D_Test 15 ROTATOR Test 6410 User s Manual 230 Embedian Inc CAMERA Test 17 Test JPEG Test 19 MODEM Test HOSTIF Test 21 OtgDev Test 22 SDMMC Test 23 HST Test SPE Test 25 ITIC Test 26 UART Test 27 Timer _ Test ue RIC Test 29 AC97 Test 30 I2S Test 31 Test 32
2. mae EMBEDIAN Hi enbedian lt com MXM 6410 Ez 2 OE LJ 2 gJ gt Bottom View 80 Go ooooooooocoQ a o S TN o LA cocooo 0000090000 0 0000000000 APC 6410 User s Manual 20 Embedian Inc 2 2 3 Mounting Holes Four mounting holes are provided for mounting The diameter of the holes is 4 0 mm Mounting holes are plated through and connected to the APC 6410 ground plane For reliable ground connections use locking washers star or split when securing an APC 6410 in an enclosure Make sure that the washers do not extend beyond the limits of the pads provided 2 2 4 Clearances The APC 6410 has a low profile It can fit in an enclosure with inside dimensions as thin as 25 5 mm Key clearances are as follows Height on Top Max 38 25mm 1 51 Height on Bottom Maximum 5 75mm 0 23 Board Thickness 1 6mm 0 06 Clearance over Top and Bottom 45 85mm 1 81 Note Selection of connectors and wiring harnesses will determine height of final assembly 2 2 5 Weight About 120g full featured version 2 3 Electrical Specification 2 3 1 Supply Voltages 5VDC 5 APC 6410 embedded ARM XSCALE computer boards are equipped with 5V DC only The AT ATX requires 5V only The voltages 12V 12V and 5V are not required to operate the APC
3. security on the Telnet server is very light vulnerable to security attacks Even if the Telnet server is configured to require password APC 6410 User s Manual 160 Embedian Inc authentication the password is sent in plain text across the network and is therefore vulnerable to packet sniffing A malicious user could obtain the password to APC 6410 by watching packets sent back and forth between the Telnet server and the client during the authentication stage If a malicious user could log on to the device they would have complete privileges over it This could involve deleting or modifying key system files and the registry Because of the these serious security risks it is strongly recommended you only run the Telnet server for development and debugging purposes on a controlled private network where you trust the users It is strongly recommended that you do not deploy this Telnet server on a public network such as the Internet 7 3 5 4 Recommendations Set the user list and domain variables to prevent hacker attacks on your device If Telnet server is used without appropriate values set for the User List and Domain variables your Telnet server will be vulnerable to hacker attacks To prevent such attack the user name is the UserList registry value must be set for each of the servers that are currently running The use will then need to log in with the specified user name and appropriate passw
4. OOOOCOOQO 50 C OOOOOODODOOO OoOoOOOOOCODO Embedian Inc 4 2 2 List of Connectors The table below lists the functions of the various connectors Table 4 8 List of Connectors Table 4 8 Connector Label Function CN5 JTAG CN6 CF Type Connector CN8 Power Connector CN9 LCD Backlight Inverter Connector CN10 RTC Battery Connector CN11 Audio Microphone in Headphone out Line in Connector CN12 Buzzer CN13 S Video and CVBS Video Connector CN14 TTL Level LCD FPC Connector CN15 LVDS LCD Connector CN16 VGA DSub 15 Connector CN17 Ethernet RJ45 and Double USB Host Type A Connector CN18 Double USB Host Header CN19 USB OTG Type B Connector CN20 UART 0 and UART 1 Header CN21 UART 2 and UART 3 Header CN22 SPI and RS422 485 Header CN23 UART 4 and UART 5 Header 51 CN24 SD SDHC Connector CN25 GPIO Header CN26 4 Wire Touch Panel Connector CN27 CAN Bus Connector CN28 APC 6410 User s Manual 52 Embedian Inc 4 2 3 Connector Pin Assignments The following tables describe the electrical signals available on the connectors of the APC 6410 Each section provides relevant details about the connector including part numbers mating connectors signal descriptions
5. 1 USB3_5V USB3 supply max PO 2 USB3_5V USB3 supply max E NF 3 USB3 Universal serial bus IO 4 USB4 Universal serial bus IO 5 USB3 Universal serial bus lO USB4 Universal serial bus IO BP NN s uss enD USBGmud P Th 10 me Not Connected 7 Note To protect the external power lines of peripheral devices make sure that The wires have the right diameter to withstand the maximum available current The enclosure of the peripheral device fulfills the fire protecting requirements of IEC EN 60950 The USB power lines are protected with a resetable fuse and are limited to 500mA If the USB device is powered from the APC 6410 directly not from the external power make sure that the total power consumption does not exceed the DC power budget of APC 6410 For example you might need to use a 5V 2A adapter instead of 5V 1A for APC 6410 55 4 2 3 2 10 100Mbps Ethernet 17 6410 on board Ethernet interface uses the Davicom DM9000B integrated PHY This combination supports a 10 100Base T interface The device auto negotiates the use of a 10Mbit sec or 100Mbit sec connection The 10 100Base T connector is a standard 8 pin RJ45 jack CN12 with integrated LEDs for link and speed The link LED is blinking on activity The following table shows the pin out of the Ethernet connector CN17 Location on Board D5 Tab
6. Parameters hDevice IN HANDLE returned by CreateFile function dwloControlCode IN IOCTL GET LINE BUF ADDR IOCTL GET RING BUF ADDR IOCTL GET BUF ADDH IN Pointer to GET BUF ADDR structure ninBufferSize IN sizeof MFC GET BUF ADDR OUT NULL nOutBufferSize OUT 0 lpBytesReturned OUT NULL IN NULL Returns If the operation completes successfully the return value is nonzero If the operation fails or is pending the return value is zero APC 6410 User s Manual 212 Embedian Inc 8 1 5 Data Structure for Passing the IOCTL Arguments 8 1 5 1 MFC_ENC_INIT_ARG MFC_ENC_INIT_ARG int ret_code OUT Return code int in_width IN width of YUV420 frame to be encoded int in_height IN height of YUV420 frame to be encoded int in bitrate IN Encoding parameter Bitrate kbps int in gopNum IN Encoding parameter GOP Number interval of I frame int in_frameRateDiv int in_frameRateRes IN Encoding parameter Frame rate Res IN Encoding parameter Frame rate Divider 8 1 5 2 EXE ARG MFC ENC EXE ARG int ret code OUT Return code int out encoded size OUT Length of Encoded video stream 8 1 5 3 MFC DEC INIT ARG MFC DEC INIT ARG int ret code OUT Retur
7. Bis BAR Workgroup BESS ARE Bisa SIND 192 168 1 203 Kup autc dp ts SERES 85 7 3 7 1 Default Registry Settings The registry stores information necessary to configure the system for applications and hardware devices The registry also contains information that the operating system continually references during operation APC 6410 enables you to create virtual file server directories To users who access your file server share virtual directories appear as subdirectories of the file server share although these directories may be located in a different folder You can create a virtual root directory called VirtualRoot that points to Windows directory of the device and a root directory called Root that points to NandFlash directory of the device by specifying the following registry key HKEY LOCAL MACHINE Services SMBServer Shares Root and HKEY LOCAL MACHINE Services SMBServer Shares WVirtualRoot Note the maximum length of the virtual root directory and root directory APC 6410 User s Manual 172 Embedian Inc is 12 characters Table 7 3 3 File Server Registry Value HKEY_LOCAL_MACHINE Services SMBServer Shares Value Description UseAuthentication No default set Setting this value to 0 will disable the REG_DWORD authentication on the file server The file server will be accessible to all users on the network Table 7 3 4 VirtualRoot
8. Flash NAND Flash Setting JP1 setting Function JP1 1 2 Default Flash JP2 Location on Board C1 Table 4 3 LCD VCC Power Setting for CN14 and CN15 JP2 from LVDS and TTL Table 4 3 LCD VCC Power Setting for CN14 and CN16 JP2 from LVDS and TTL Setting Function JPZ 1 2j Defau 45 JP3 Location on Board B6 Table 4 4 RS232 422 485 Mode Setting Table 4 4 RS232 422 485 Mode Setting Setting Function JP3 1 2 Default RS232 JP3 3 4 RS422 RS485 half duplex JP3 5 6 RS422 RS485 full duplex JP4 Location on Board A1 Table 4 5 LCD Backlight Bypass Voltage Table 4 5 LCD Backlight Bypass Voltage Setting Function JP4 1 2 pin 1 of bypassed from pin 3 of CN8 is 5V JP4 2 3 1 of bypassed from pin 3 of CN8 is 12V JP5 Location on Board 07 08 Table 4 6 SD Boot Up Table 4 6 SD Boot Up Setting Function JP5 1 2 Boot from SD S1 Location on Board D6 Table 4 7 Reset button Table 4 7 Setting Function Press Button and Reset CPU and Release Immediately 4 1 4 Setting Jumpers APC 6410 User s Manual 46 Embedian Inc You configure your board to match the needs of your application by setting jumpers A jumper is the simplest kind of electric switch It consists of two metal pins and a small metal clip often protected by a plastic cover that slides over the pins to connect them To close a ju
9. HKEY LOCAL MACHINEMnit Value Name Value Launch20 device dll Launch30 gwes dll Depend30 2 length binary value Launch50 explore exe APC 6410 User s Manual 182 Embedian Inc Depend50 4 length binary value Launch60 serviceStart exe Depend60 2 length binary value If your applications have dependencies with other applications use the registry editor to setup your applications manually After finishing the registry setup the system will automatically flush the registry on changes to HIVE 7 3 10 COM Ports 7 3 10 1 Introduction The APC 6410 names the serial ports as Note the COM IOCTL SET OPERATION MODE call will be returned with error if trying to configure a non configurable port Table 7 3 9 Related Win32 APIs to Configure COMx Device Name COMx Win32 Functions Description CreateFile Opens devices CloseHandle Closes COMx device DeviceloControl Calls a customized IOCTL function 183 Table 7 3 10 Control Codes for COMx Device Name COMx Control Codes Description COM IOCTL GET OPERATION MODE This is used to get the operation mode IOCTL SET OPREATION MODE This is used to set the operating mode 7 3 10 2 Test COM Ports To test COM ports user ActiveSync program to put the SerialCETester exe that Embedian offered into device Windows directo
10. Test 33 ADCTS Test 34 KEYPAD Test 35 FIMG3D Test 36 DM9000 Test 37 16C752B Test Select the function to test 5 Enter 5 5 NAND Test and you will see the following screen NAND Test 0 K9FI208 Normal 8511 1 9 2608 8511 2 K9HBGOS MLC Sbit Select the function to test 1 Enter 7 1 K9F2G08 Advanced 8bit and you will see the following screen NandT Advanced bi t 0 Read ID Reset command View Invalid Block 2 Page Read amp Write Block Erase Binary program 2 Lock amp Unlock ECC 2 IROM Code Function Performance 2 Full Function L SEEN 6 22 amp EN S Select the function to test 4 We would like to erase the contents in NAND flash first Enter 4 4 Block Erase and you will see the following screen 231 NANDT Erase 0 Single Block Erase 1 Multi Block Erase 2 Non Check Invalid Data Single block erase 3 Non Check Invalid Data Multi block erase Select the function to test 3 Enter 3 3 Non_Check Invalid Data Multi block erase and you will see the following screen NANDT EraseMultiBlock Input the Start Block Number to erase the multi block multiples of 2 0 2047 0 At the nput the Start Block Number to erase the multi block enter 0 At the nput the Block Number to erase the multi block enter 2048 as shown in the following screen NANDT EraseMultiBlock Input the Start Block Number to e
11. images to NAND flash the last step is to write NAND root file system nand6410 img image There are some differences from the above uboot bin and zlmage The mobile DDR size is 128MB only If your NANDFS size is big like Embedian default nand6410 img is 126MB you need to use split command in Linux to split the NANDFS into two smaller files or the uboot in DRAM will be overwritten because the execution point of uboot is somewhere in DDR Once you split two smaller files it will be a good practice for you to flash nandfs into NAND flash Just remember that the starting address of nandfs partition 1 0 200000 Below is short description This example split the nan6410 img as a 64MB image and a 62MB image SMDK6410 erase 200000 7 00000 SUDK6410 tftp 50000000 nand6410 img 1 SMDK6410 write 50000000 200000 4000000 SIMDK6410 tftp 50000000 nand6410 img 2 SMDK6410 write 50000000 4200000 3e00000 SMDK6410 After done reset APC 6410 and the firmware will be updated Update Firmware from NOR flash The previous section mainly tells you how to update firmware from uboot Embedian designs a way to recover update firmware using onboard NOR flash in case that your uboot has been erased for somehow First power off the device and set the jumper JP1 to NOR flash boot configuration shunt 1 2 Install the USB driver and DNW programs from Embedian in your host Windows XP PC Connect the serial con
12. uboot now has been uploaded to the DRAM Next we would like to fuse the uboot to NAND flash Press Enter to exit to the previous screen and to the main screen System ID Revision 0 Pass 1 ARMCLK 532 00MHz HCLKx2 266 00MHz HCLK 133 007 66 50MHz VIC mode Sync Mode rSPCUN Oxbtcd1500 rGPHCONO 11000000 rGPHCONI Ox 11 rGPHDAT 0x3cO SER RIV Test 1 Test 2 DC Test 3 SRMC Test 2 ONENAND Test 5 Test 6 ATA Test 7 FCCARD Test C 9 DIA Test 10 SBLOCK Test 11 LCD Test POST Test 13 TVENC_Test 14 G2D_Test 15 ROTATOR Test CAMERA Test 17 MFC Test 18 JPEG Test 19 MODEM Test HOSTIF Test 21 OtgDev_Test 22 SDMMC Test 23 HSI Test SPL Test 29 LIC Fest 26 UART Test 27 Timer_Test RTC Test 29 97 Test 30 128 Test 21 Test 32 IRDA_Test 33 ADCTS_Test 34 KEYPAD Test 35 FIMG3D_Test 36 DM9000 Test 37 16C752B_Test Select the function to test 5 Select 5 5 NAND_ Test and you will see the following screen Select the function to test 5 NAND Test 0 K9FI208 Normal 8511 1 K9F2608 Advanced 6511 2 K9HBGOS MLC Sbit Select the function to test 1 APC 6410 User s Manual 236 Embedian Inc Select 7 1 K9F2G08 Advanced 8bit and you will see the following screen Select the function to test 1 NandT Advanced bi t 0 Read ID 1 Reset command View Invalid Block 2 Page Read amp Write Block Erase Binary progra
13. APC 6410 User s Manual 210 Embedian Inc IOCTL MPEG4 DEC EXE IOCTL MFC H263 DEC EXE IOCTL MFC H264 DEC EXE IOCTL MFC VC1 DEC EXE Syntax Description BOOL DeviceloControl HANDLE hDevice DWORD dwloControlCode LPVOID lpinBuffer DWORD LPVOID lpOutBuffer DWORD nOutBufferSize LPDWORD IpBytesReturned LPOVERLAPPED IpOverlapped I decodes the stream in the LINE BUF or RING BUF Parameters hDevice IN HANDLE returned by CreateFile function dwloControlCode IN IOCTL MFC MPEG4 DEC EXE IOCTL MFC H263 DEC EXE IOCTL MFC H264 DEC EXE IOCTL MFC VC1 DEC EXE IN Pointer to DEC EXE ARQG structure ninBufferSize IN DEC EXE OUT NULL nOutBufferSize OUT 0 lpBytesReturned OUT NULL lpOverlapped IN NULL Returns If the operation completes successfully the return value is nonzero If the operation fails or is pending the return value is zero 211 IOCTL MFC GET LINE BUF ADDR IOCTL MFC GET RING BUF ADDR IOCTL MFC GET FRAM BUF ADDR Syntax BOOL DeviceloControl HANDLE hDevice DWORD dwloControlCode LPVOID lpinBuffer DWORD LPVOID pOutBuffer DWORD nOutBufferSize LPDWORD IpBytesReturned LPOVERLAPPED IpOverlapped Description It obtains the address of the LINE BUF RING BUF or FRAM BUF
14. 6 1 Board Support Package BSP The Embedian Board Support Package for Ubuntu Linux 9 04 is one of the most advanced BSPs available in the market Beside the standard Ubuntu Linux functionality it also includes a large number of additional drivers as well as optimized versions from standard drivers The Embedian Linux kernel is provided with a source code and binary format This allows customers to customize the external device drivers themselves With Ubuntu support this relieves the application developer from the burden of creating and building the own images Instead the necessary adaptations can be done by using apt get the software packages from the official Ubuntu 9 04 repository to the on board root file system Customers who follow the built instruction in the BSP will enable you to build exactly the same Linux kernel 2 as Embedian provides by default 6 1 1 Drivers The following drivers are integrated in the standard image that comes pre installed with each APC 6410 board APC 6410 User s Manual 90 Embedian Inc Table 6 1 Drivers Table 6 1 Drivers Driver Description COM1 Support RXD TXD CTS RTS COM2 Support RXD TXD Support RXD TXD COM4 External UART that supports the full RS232 specification with all 9 signals 5 External UART that supports the full 5232 specification with all 9 signals Ethernet 10 100Mbit driver for DM9000B USB Host 4 Po
15. Embedian Inc configuration Filenames and paths File transfer protocols Serial port setup Modem and dialing Screen and keyboard Please select Serial port setup Select A for setting Serial Device then type the device descriptor of serial port in your PC which is connected to APC 6410 You need to figure out the device descriptor of COM port in your Linux PC In our example it is 11 50 A 3 Serial Port Setup Fig 221 Select for setting up Bps Par Bits and enter the next screen Select to set up bps to 115200 Select V to set up Data bits to 8 Select W to set up Stop bits to T and L to set up parity to NONE After done press Enter to save and exit this screen Fig A 4 Serial Port Setup Push F key for setting up Hardware Flow Control Push key for setting up Software Flow Control to NO The default value is NO Please refer to figure 3 Once setting is done please press Enter key And select Save setuo as Save the configuration as a lt filename gt then press Exit to exit the minicom setup program To quit from Minicom please press Ctrl A and then Z at last push key Then Selecting Yes Minicom is quitted Fig Welcome to minicom 2 4 ure A 5 Resetting from Minicom OPTIONS 18 Compiled on
16. Note CN26 and CN28 shares the same signals People can use them depend on the connector type APC 6410 User s Manual 74 Embedian 4 2 3 11 USB Device Port 19 One USB specification version 2 0 compatible USB device port is on board The following table shows the pin out of the USB device connector 19 Location on Board D6 Table 4 24 USB Device Connector Table 4 24 USB Device Connector CN19 USB mini Type B Female Connector Ground 75 4 2 3 12 GPIO Connector CN25 The board supports 12 bit GPIO through GPIO connector CN25 The 12 digital in and out puts can be programmed to read or control devices with input or output defined The following table shows the pin out of the GPIO connector CN25 Location on Board C8 Table 4 25 GPIO Connector Table 4 25 GPIO Connector CN25 BOX HEADER DIP 7 2P 180D MALE 2 0mm Pin Signal Name Po 5 eno Gem s 7 sanos 9 aros 0 6205 i eron is eei Device Descriptor dev gpioctl APC 6410 User s Manual 76 Embedian Inc 4 2 3 13 Main Power Connector CN8 This power interface is an option to the AT ATX power interface and uses the connector CN8 4 pins In this case the APC 6410 require 5V only to be supplied to the board The 3 3V for onboard and external low power devices is generat
17. ubun tu ubuntu Example Below is an example to delete a user john with removal of home directory and mail spool ubuntuQubuntu sudo userdel r john ubun tu ubuntu 6 3 Network Settings The default network is set as DHCP User can use ifconfig ethO command to check the device IP address ubuntu ubuntu ifconfig ethO 97 eth0O Link encap Ethernet HWaddr 10 0d 32 10 01 12 inet addr 192 168 1 121 Bcast 192 168 1 255 Mask 255 255 255 0 UP BROADCAST RUNNING MULTICAST 1500 1 RX packets 95 0 dropped 0 overruns 0 frame 0 IX packets 3 0 dropped 0 0 carrier 0 111810 5 0 txqueuelen 1000 RX bytes 12326 12 3 KB TX bytes 158 158 0 Interrupt 72 Base address 0 300 ubun tu ubuntu Users can use ifconfig to change the IP address at runtime Example Below is an example to change the IP address to 192 168 1 122 and netmask to 255 255 255 0 at runtime ubuntu amp ubuntu sudo ifconfig ethO 192 168 1 122 netmask 255 255 255 0 up ubun tu ubuntu Note Every MAC address on board will be mapping to Embedian s serial number and is compliant to ISO IEC 8802 standards The MAC address is written on EEPROM of the board at factory and Linux kernel driver will read it automatically There is no way that users can change it from root file systems 6 3 1 Configure Network Configuration at Boot or Network Restart The if
18. 00001000 4096 Security i ADMIN C3 SecurityProviders Tcpip C TELNETD pP2rcP 958 USB Cable USBFNSER C3 USBFNSER1 VEM C Ge APC 6410 User s Manual 162 Embedian Inc To access the FTP server on an APC 6410 device simply enter Your Device IP address at your PC command prompt See the example below Figure 7 3 16 FTP Prompt cx CAWINDO WS system32 ftp exe Connected to 192 168 1 203 226 Service ready for new user User lt 192 168 1 203 anonymous 331 Anonymous access allowed send identity Ce mail name gt as password Password 230 User logged proceed ftp dir 200 Command okay 15 File status okay about to open data connection 61 61 98 lt DIR gt Network 61 61 98 lt DIR gt NandFlash 45 18 09 lt DIR gt Application Data 45 18 09 Control Panel ink 45 18 09 lt DIR gt My Documents 45 18 09 2 lt DIR gt Program Files 45 18 09 lt DIR gt Temp 45 18 09 lt DIR gt Windows 226 Closing data connection 397 bytes received in 38Seconds 1 96 Once this ftp Your Device IP address gt command has been entered the FTP server will respond by asking for a username and password It is currently
19. On board Samsung S3C6410 ARM1176JZF S core with Java acceleration engine and 16KB 16KB I D Cache and 16KB 16KB I D TCM Clock Rates up to 667Mhz e 266Mhz 64 32 bit system bus architecture is composed of AXI AHB and APB buses Multi Format Codec co processor provides encoding and decoding of MPEG 4 H 263 H 264 up to 30fos SD D1 and decoding of VC1 video up to 30fps SD D1 e Manufactured using the 65nm process 2D graphics acceleration with BitBlit and rotation 3D graphics hardware accelerator which can accelerate OpenGL ES 1 1 amp 2 0 rendering Vector Floating Point VFP coprocessor support allowing efficient 11 implementation of various encryption schemes as well as high quality 3D graphics applications Power Supply e 5V VDC only Over Voltage Protection Real time clock battery powered Memory Onboard 128 NAND Flash SLC Large Block Onboard 128MB Mobile DDR 266Mhz 32 bit Connection Optional 256MB is Project Based CompactFlash CF Type and Type ll 3 3V Memory Mode and True IDE Mode Universal Serial Bus USB Chipset CPU internal Four USB 1 1 host ports 12Mbit s speed Two of them are type A connectors and two of them are 2 54mm pin headers OHCI Rev 1 0 Compliance USB legacy keyboard mouse and hard disk support USB Device Chipset CPU internal One USB client 2 0 port mini type connector onboard supporting high speed as Device 48
20. Setting up fbset 2 1 23 ubuntu ubuntu etc apt fbset 800 480 0 ubuntu amp ubuntu etc aptf The settings are located in the file etc fb modes Different LCDs have different settings You can add your own LCD settings into this file and fbset it 3 2 For Wondows CE 6 0 Users The APC 6410 has a number of jumpers that allow you to configure your system to suit your application All use 2mm shorting blocks shunts to select settings Step 1 Check Jumper Location of the evaluation kit Different configurations can be set by several jumper blocks on board For example if you attached an LCD JP2 needs to be shunt depending on your LCD is 5V or 3 3V JP5 is to determine if the backlight power is 5V or 12V If 5V is shunt the power source is from pin3 of 8 If 12V is shunt the power source will be pin2 of CN8 Step 2 Connect the DUART Console Debug Cable from SBC to a null modem cable and connect that null modem cable to your PC Use Embedian DUART console cable and connect from CN20 of SBC to a female end null modem cable TX RX crossed and connect that null modem 33 cable to the COM port of your PC Open the Hyperterminal program of your and set the baud rate as 115200 8 1 Figure 3 7 Connect DUART Console Debug Cable to a Null Modem Cable and to your PC Step 4 Connect USB Cable from SBC to your PC and Apply 5V to SBC Using a USB cable and connect the USB client port of SBC CN19 to the host por
21. Configure GPIOs BACKLIGHT_EN LCD_PWREN and VDDLCD_PWREN Embedian reserves 12 free available GPIOs as well as BACKLIGHT signal LCD_PWREN signal and VDDLCD_PWREN for user configuration Users can set the GPIOs as input or output high or low pull up or pull down at Eboot or during the NK 7 5 1 Configure GPIOs Setting at Embedian provides users with an easy way to configure GPIO settings for free available GPIOs at EBOOT To configure the GPIO settings go to EBOOT menu and press Z MXM EVB Board SubTestMenu and then press 1 GPIO Setting Users will see GPIO configuration menu as shown in figure 7 5 1 Figure 7 5 1 GPIO Setting Menus DNW 0 60 For WinCE COM1 115200bps USB OK ADDR 0x50030000 Serial Port USB Port Configuration Help 4 Options Ethernet USB_Serial USB RNDIS USB_DNW Download Target Write to NAND Storage D Download or Program 1 0 image will be launched L LAUNCH existing Boot Media image 2 MXM EUB Board SubTestHenu Enter your selection z MXM6416 Sub Function manu 1 GPIO Setting 2 LCD Panel Parameter Modify A GPIO Registers E Back to main manu Enter Selection GPIO Setting GPIO Config Read GPIO Data Use Default Save Config Exit Select The 1 GPIO Config option can let users configure each GPIO pin as input or output pull up or pull down and high or low The 2 Read GPIO Data allows users to r
22. The inuxrc file is located at directory The NAND file system is also an file system Users can edit the file just you do in any Linux PC 7110 login root root apc7110 Is bin etc mnt root selinux tmp var dev lib lost4found proc sbin sys UST root apc7110 6 19 2 As a rescue file system The NAND file system can play a role of rescue file system especially when the main Ubuntu file system is corrupted or cannot boot into for some reason Here we would like to give you a guide to restore the SD Ubuntu file system from NAND file system 1 Boot into NAND flash first by pressing 2 NAND during booting process and login as root privilege The root pass is 7110 by default 2 Prepare for a at least 1GB SD SDHC card The SDHC card will have better read write performance but usually the SDHC card is at least 4GB 3 The NAND file system will mount partition 1 of SD card by default The device descriptor of SD device is and the partition 1 of SD is dev mmc1 Here would like to format the partition 1 of SD card as first root apc7110 mkfs t ext3 dev mmcl mke2fs 1 37 21 Mar 2005 Filesystem label OS type Linux Block size 4096 log 2 Fragment size 4096 log 2 488640 rnodes 977263 blocks 133 48863 blocks 5 00 reserved for the super user First data block 0 30 block groups 32768 blocks per group 32768 fragments per group 16288 Inodes
23. access to the virtual root may be able to access files and directories within that virtual root You can set the options in HKEY_LOCAL_MACHINE COMM HTTPD VROOTS registry key 181 7 3 9 When Windows begins loading the kernel starts the system and examines the HKEY_LOCAL_MACHINE Init registry key to identify what applications to run To control which applications run at system startup create launch registry values Launch registry values do not need to be stored in the registry although you can specify dependencies You can specify up to 32 applications Table 7 3 7 Named values of HKEY LOCAL MACHINEWnit Key HKEY LOCAL MACHINEMWnit Value Description Launchnn String Specifies the application to launch in order Dependnn Binary Launchnn registry values have optional dependencies as denoted by the Dependnn registry value Dependnn registry values specify applications that Windows CE must be running before the Launchnn applications run Dependnn registry values begin with the keyword Depend followed by the same decimal number as the Launchnn registry value The Dependnn registry values define an order in which Windows CE launches applications One or more dependent applications can be specified per Dependnn value Dependent applications are specified as a series of Words in hexadecimal notation Table 7 3 8 Typical Init Registry Entry Using Dependencies
24. gt Settings gt Control Panel gt Stylus 2 Choose Calibration Tab and click on Recalibrate You will see below as shown in figure 7 3 3 APC 6410 User s Manual 150 Embedian Figure 7 3 3 Calibrate touch panel WindowsCE File Zoom Tools Help Carefully press and briefly hold stylus on the center of the target Repeat as the target moves around the screen Press the Esc key to cancel 3 Carefully press and briefly hold stylus on the center of the cross target Repeat as the cross target move around the screen 7 3 3 File System and Registry Basic 7 3 3 1 Making Files Persistent Files written or copied to NandFlash are persistent from one boot to the next Files written to SD memory cards files in Storage Card or USB Compact Flash cards files in Hard Disk are also persistent Files written anywhere else in the system at run time are volatile 7 3 3 2 Re formatting the NAND Flash Folder WandFlash default has two partitions PartOO and PartO1 PartOO is formatted as a BINFS filesystem by default and stores the system firmware including of NK bin and boot HIVE information 01 is formatted as FAT filesystem by default and is reserved for user storage NAND Flash would be automatically formatted and partitioned and mounted during the boot sequence It would also create the Documents and Settings directory in the NandFlash folder which is required for Hive based Registry support system hv a
25. press Space bar of your keyboard when booting And you will see the following screen as shown in figure 7 2 2 APC 6410 User s Manual 144 Embedian Figure 7 2 2 Menu Configurations DNW 0 60 For WinCE COM1 115200bps USB OK ADDR 0x50030000 Serial Port USB Port Configuration Help Ethernet Boot Loader Configuration MXM 6416 Embedian Inc Connectivity Settings 9 IP address 169 255 1 181 1 Subnet mask 255 255 255 0 2 DHCP Enabled 3 Program CS8988 MAC address 88 11 22 33 544 55 Boot Configuration Section fact fi 5 Startup after Boot dela Launch Existing OS image from Storage Connection interrupt Force Clean Boot Option True Hive Clean on Boot time False Format Partition on Boot time False NAND Flash Section Erase fill Blocks Erase Reserved Block Stepldr Eboot Format Boot Media for BINFS with BadBlock Marking to Reserved Block Nand Information and Dump NAND Flash Download and Launch Section Switch Boot Device USB_DNW 4 Options Ethernet USB_Serial USB RNDIS USB_DNW Download Target Write to NAND Storage Download or Program image OS image will be launched LAUNCH existing Boot Media image EUB Board SubTesthHenu Enter your selection You need to make sure that the following two items have been configured correctly First Press 5 to change from 5 Startup Action after Boot delay Download New ima
26. s upgrade 107 6 5 10 Smart software update apt get dist upgrade dist upgrade command has the same effect as the upgrade except that a smart management is used in changes of dependencies in new versions conflict resolution and discarding less important packages for more important ones for example ubuntuQubuntu sudo apt get dist upgrade APC 6410 User s Manual 108 Embedian Inc 6 6 COM Port There are six RS232 ports and one RS422 485 port in APC 6410 Four of them CN20 and CN21 are from CPU internal and two of them CN23 are from external DUART chip TL16C752B The 1 10 of CN20 UARTO also plays the role of debug port The RS422 485 port CN22 share with one of the RS232 pin 11 20 of CN20 by JP3 jumper selection That means RS232 from pin 11 20 of CN20 and RS422 585 CN22 cannot be used simultaneously The device descriptor of COM ports is as follows 6 6 1 CPU CN20 gt dev ttySACO Console 1 9 and dev ttySAC1 UART1 11 19 CN21 gt dev ttySAC2 UART2 1 9 dev ttySAC3 UART3 11 19 6 6 2 TL16C752B To use these COM ports you need to load the drivers first by the following command modprobe 8250 ubuntuQubuntu sudo modprobe 8250 ubun tu ubun tu CN23 gt dev ttySO UART4 1 9 and dev ttyS1 UART5 11 19 Note Users can use apt get install minicom to use minicom program to test the COM port device first 109
27. 0 0 40000 erase device 0 offset 0 0 size Ox40000 Erasing at 0x20000 100 complete OK SMDK6410 This is to erase the NAND flash content in the first partition SMDK6410 write Ox50000000 0x0 30000 write device 0 offset 0 0 size Ox30000 196608 bytes written OK SMDK6410 Temporary address is base address of DRAM i e 0x50000000 Start NAND address is 0x0 Image size of uboot is 0 30000 HEX as we have seen previously when tftping Note uboot contains specific hardware information and is well configured by Embedian It is usually no need to modify Unless necessary or you are an experienced engineer it is not recommended to update uboot uboot bin Wrong operation will cause the system not booting up anymore zimage Next example shows how to transfer and write Linux kernel The file name is 21 Again we tftp zimage from PC to DRAM of APC 6410 first by the following command SIDK6410 tftp 50000000 zlmage Found 09000 ID 90000a46 09000 work in 16 bus width eth init MAC 10 4 32 10 1 12 IFIP from server 192 1668 1 10 our IP address is 192 168 1 202 Filename zimage Load address 0 50000000 Loading T WHEN 6410 User s Manual 218 Embedian Inc done Bytes transferred 1764420 laec44 hex SUDK6410 Now zlmage file has been uploaded to DRAM temporary address of APC 6410 from you
28. 485760 inodes 1940455 blocks 97022 blocks 5 00 reserved for the super user First data block 0 Maximum filesystem blocks 1988100096 60 block groups 32768 blocks per group 32768 fragments per group 5096 inodes per group Superblock backups stored on blocks 32768 98304 163840 229376 294912 819200 884736 1605632 Writing inode tables done Creating journal 32768 blocks done Writing superblocks and filesystem accounting information done This filesystem will be automatically checked every 25 mounts or 180 days whichever comes first Use tune2fs c or 1 to override root dns3 And next mount SD SDHC card to mnt directory and change directory to the mnt root dns3 mount t ext3 dev sdbl mnt root dns3 cd mnt 1001153 mnt Next cp the rootfs file u904 090930 tar gz into mnt directory and extracting the root file system file into this directory root dns3 mnt 15 lost found u904 090930 tar root dns3 mnt 85 You s the structure now root dns3 mnt s bin dev 115 mnt proc selinux tmp boot etc Jlost found nand root sry 1904 090930 tar build home media opt sbin sys UST root dns3 mnt Last remove the tarball and leave the mnt directory and umount the device root dns3 mnt rm f 320rootfs 20090918 tar gz root dns3 mnt cd root dns3 umount mnt root dns3 Take the SD SDHC card off from the card reader and put the SD SDHC card back
29. 6410 but might need for other 21 external devices 6410 also provides with a 5V and 12 V bypass path to backlight inverter board controller See next Quick Start Guide 2 3 2 Supply Voltage Ripple 100mV peak to peak 0 20MHz 2 3 3 Supply Current Typical APC 6410 is a low power consumption embedded computer module The power consumption tests were executed to give an overview of the electrical conditions for several operational states The board used a 128MB onboard mobile DDR Following table lists the typical power consumption of each APC 6410 SBC All I Os are up under the testing environment Table 2 1 Power Consumption of APC 6410 series SBC 6410 450mA 5V Consumption Note 1 The tested LCD resolution is 800x600 2 3 4 Real Time Clock RTC Battery Voltage range 1 8V 43 6V Typical 3 0V Quiescent current max 3uA 3 0 V Normal Capacity 1 5mAh 2 3 5 CF e 3 3V only 2 3 6 LCD The LCD signal control voltage specification is as follows 3 3 5V for TTL level LCD Panel 3 3 5V for LVDS LCD Panel 2 4 Environmental Specification APC 6410 User s Manual 22 Embedian Inc 2 4 1 Temperature Operating 0 C to 70 C with appropriate airflow Non operating 10 to 85 C non condensing Note The maximum operating temperature is the maximum measurable temperature on any spot on the module s surface You must main
30. COM Port 115200 COM1 57600 C COM 2 38400 C COM 3 19200 C COM 4 14400 9600 USB Port Download Address 0x50030000 253 Following is step by step guide Step 1 Set the JP1 to NAND boot open 1 2 pin of JP1 and power up the devices You should be able to hear a short beep sound and splash screen in the LCD You will see the EBOOT initiating image download in 5 seconds messages Press Space bar to enter the EBOOT menu during these 5 seconds as shown in figure A 2 14 Figure A 2 14 EBOOT Menu Setting DNW v0 60C For WinCE COM1 115200bps USB OK ADDR 0x50030000 4 Serial Port USB Port Configuration Help 4 Reset to factory default configuration 7 Boot delay 5 seconds R Read Configuration V Write Configuration Right Now Kernel Booting Option Section KITL Connection Mode Interrupt Force Clean Boot Option True Hive Clean on Boot time False P Format Partition on Boot time False NAND Flash Section A Erase All Blocks Erase Reserved Block Stepldr Eboot Format Boot Media for BINFS with BadBlock Marking to Reserved Block Nand Information and Dump NAND Flash Download and Launch Section S Switch Boot Device USB_DNW Options Ethernet USB Serial USB RNDIS USB DNW Download Target Write to NAND Storage D Download or Program image OS image will be launched L LRUNCH existing B
31. Inc Figure A 2 23 Write STEPLDR nb0 to NAND at SD Boot DNW v0 60C For WinCE COM1 115200bps USB OK ADDR 0x50030000 Serial Port USB Port Configuration Help BL_IMAGE_TYPE_MANIFEST BL IMAGE TVPE UNKNOUN Dounload BIN file information dwStartAddr 6x6 dwlength 6x2666 EHUerifyHemory Stepldr image ImageStart 8x8 ImageLength 8x2888 Launchf ddr 8x8 Completed file s 8 Address 6x6 Length 0x2888 Name STEPLDR nb8 Target RAH duImageLength 6x2666 dwNumBlocks 8x1 duBlock 0x8 X FlashInfo uSectorsPerBlock 8x58 0x8 Ignore BadBlock Checking for Step loader and eboot duBytesPerBlock 131872 INFO Step loader image stored to Smart Media Please Reboot Halting Now you have successfully write the STEPLDR nb0 file to NAND flash Next we would like to write EBOOT bin to NAND flash Step 3 Repeat steps 1 2 but DON T erase all blocks at step 1 because you have already written the STEPLDR nbO to NAND flash And at step 2 choose the EBOOT bin file Note It is EBOOT bin instead of EBOOT nbO After writing EBOOT bin to NAND flash you should be able to see the screen as shown in figure A 2 24 263 Figure A 2 24 Write EBOOT bin to NAND at SD boot DNW v0 60C For WinCE COM1 115200bps USB OK ADDR 0x50030000 Serial Port USB Port Configuration Help duTtlSectors 6x8A dwloadAddress 0 80030000 dwJumpAddress 6x86666C 64 dwStoreOffset 9 9 sgList 8 duSector 8x88 sgList 8 duLen
32. LVDS are shared the same LCD signals 61 4 2 3 4 Audio Port 11 The 6410 uses the ALC203 AC97 Codec from the AC link interface of CPU The Audio port interface is a headset microphone and line in audio jack The audio of APC 6410 is AC 97 2 3 compatible stereo audio CODEC including host soft audio and AMR CNR based designs The codec could achieve a high SNR greater than 100 dB sensing logics for device reporting The AC 97 CODEC supports multiple CODEC extensions with independent variable sampling rates and built in 3D effects The following table shows the pin out of the Audio connector CN11 Location on Board D4 Table 4 14 Audio Headset Phone Connector Audio Connector CN11 3 5mm Audio Jack Header Pin Signal Name Function In Out 2 Audio Out Headset Phone Output APC 6410 User s Manual 62 Embedian Inc 4 2 3 5 Serial Communication Port CN20 CN21 CN22 and CN23 APC 6410 provides with one serial console port one RS232 422 485 port and five RS232 ports The serial console port is available through a 2x10 header UARTO of CN20 The RS232 422 485 is available through CN22 2x7 pin header The five serial ports are available through the double port connector CN21 and CN23 20 pin header and CN20 20 pin header The following table shows the pin out of the serial connector 20 Location on Board B8 Table 4 15 Double RS232 Header UARTO is the Console Port Table 4 15 D
33. as shown figure 3 11 Figure 3 11 Boot up messages from Hyperterminal DUART IC FUCO PEC RAW Iting kernel variables etc sysctl conf usb 1 1 new full speed USB device using s3c2410 ohci and address 2 Iting kernel variables etc sysctl d 10 console messages conf Iting kernel variables etc sysctl d 10 network security conf OK livating swap ce file systems fsck 1 41 4 27 Jan 2009 Inting local filesystems livating swapfile swap figuring network interfaces ting up console font and keymap Irting system log daemon Irting kernel log daemon rting system message bus dbus rting OpenBSD Secure Shell server sshd rting FIP server vsftpd rting Hardware abstraction layer hald Timeout while reading touchscreen input abort OK Irting GNOME Display Manager Irting periodic command scheduler crond Ubuntu 9 04 ubuntu ttySAC ubuntu login X818 00 02 36 ANSIW 115200 8 N 1 Step 5 Network Configuration Plug an Ethernet cable to CN17 of your device first The default network is set as DHCP User can use ifconfig command to check the device IP address ubuntu ubuntu ifconfig eth0 eth0O Link encap Ethernet HWaddr 10 0d 32 10 01 12 inet addr 192 168 1 121 Bcast 192 168 1 255 Mask 255 255 255 0 UP BROADCAST RUNNING MULTICAST MTU 1500 1 APC 6410 User s Manual 38 Embedia
34. bd awa ud Sa Ree 92 6 2 DEFAULT ROOT PASS AND 94 6 2 Create a 94 6 22 Set USER EE Ee 96 6 2 3 Delete G2 User us emen ee n e dee ee eee 97 6 3 NETWORK SETTINGS adu 97 6 3 1 Configure Network Configuration at Boot or Network Restart esee 98 APC 6410 User s Manual 4 Embedian Inc 6 4 MANUALLY ADD REPOSITORIES e SE 102 6 5 INSTALL SOFTWARE PACKAGES EARE EASA 103 6 5 1 List of installed software 103 6 5 2 Description of installed software packages eese enne 103 6 5 3 List of available software packages esee ener ener nnne 103 6 5 4 Searching a software package apt cache search esee 104 6 5 5 Properties and information of a software apt cache show eee 105 6 5 6 Installing a software apt get install esses eese eterne 107 6 5 7 Removing a software apt get 107 6 5 8 Updating the software list apt get update cessent enne 107 6 5 9 Upgrading the software apt get upgrade eese nennen eene 107 6 5 10 Smart software update apt get dist upgrade eene 108 6 6 COME BORT tates to BRE Or eg de i e n MR reete re ER 109 UNS LEN 109 6 6 2 EE 109 6 7 LED LEE 110 6
35. control inputs shall be transmitted as shown in Figure 4 4 Outputs A3 through A7 and CLK2 shall be inactive in this mode and fixed at a single value APC 6410 User s Manual 58 Embedian Figure 4 4 18 bit Single Pixel Transmission Figure 4 4 18 bit Single Pixel Transmission Unbalanced CLK1 A Go Rs RA R R2 RI A RO A1 A Bi Gs A G4 G3 G2 Gl j A2 DE VSYNC HSYNCA Bs A B4 B3 B2 A3 Ad AS A6 CLK2 Previous Current Cycle Cycle 1 The model number of the CN21 socket is DF14 20P 1 25H Hirose Electric Co Ltd 2 LCD and LVDS are shared the same LCD signals 59 14 Location on board C1 D1 Table 4 13 TTL Level Board to Wire Connector from CPU LCD Table 4 13 CPU TTL Level FPC Connector CN14 33 FPC connector pitch 0 5mm Pin Signal Name Function 1 GND Ground 2 Pixel Clock 3 Horizontal Sync 4 Vertical Sync 5 GND Ground 6 RO Red Data 7 8 9 10 11 e 12 GND Ground 13 Green Data 14 16 17 18 19 GND Ground 20 Bo Blue Data 2 22 23 24 25 26 GND Ground 27 Data Enable 28 Power Supply 29 Power Supply 30 R L Horizontal Image Shift direction Select Signal 6410 User s Manual 60 Embedian Inc Vertical Image Shift direction Select Signal 32 Not Connected 33 Not Connected Note 1 The model number of the CN14 socket is 33 pin FPC connector pitch 0 5mm 2 LCD and
36. ee tee 137 137 CHAPTER 7 USING WINDOWS CE 6 0 139 dA GENERAL FEATURES 139 7 1 1 Board Support Package eese ener nennen ene 139 140 E 142 T4 Special Features uii ee ete tere erre tetro Eure Pede 142 2 P 144 7 35 WINDOWS CE 0 0 E ett eee e e epe 149 3 Setting the System Time sse a n Dr Ug ERE EE EE EE ER EE ERE EARS 149 73 2 Touch Calibration ei RE Ra 150 7 3 3 File System and Registry ee tee tee aii be eic en 151 7 3 4 NetWorking Basics 5 Een Re E OE RR Cete t baie RAPERE RENE 154 156 161 ME RIT 170 7 3 5 WED SOIVEP PEE 174 7 3 9 Auto RUNS i he RH 182 7 3 10 COM AUR Ue Ae ERU Unde I UE EE 183 7 3 LH Softwarednstallati n s e a p DRE 186 7 4 CONFIGURE LCD PARAMETERS FOR DIFFERENT KINDS OF LCDS seen 188 7 4 1 View Current LCD eren eee tenentes esset enter nnne eren 188 7 4 2 Choose Default LCD Parameters eese nennen rennen 189 7 4 3 Set LCD Parameters of Different Types essere entren 190 7 5 CONFIGURE G
37. for the warranty period from the date of shipment During the warranty period EMBEDIAN will at its discretion decide to repair or replace defective products Within the warranty period the repair of products is free of charge as long as warranty conditions are observed The warranty does not apply to defects resulting from improper or inadequate maintenance or handling by the buyer unauthorized modification or misuse operation outside of the product s environmental specifications or improper installation or maintenance EMBEDIAN will not be responsible for any defects or damages to other products not supplied by EMBEDIAN that are caused by a faulty EMBEDIAN product Technical Support Technicians and engineers from EMBEDIAN and or its subsidiaries and official distributors are available for technical support We are committed to making our product easy to use and will help you use our products in your systems APC 6410 User s Manual 2 Embedian Inc Before contacting EMBEDIAN technical support please consult our Web site for the latest product documentation utilities and drivers the information does not help solve the problem contact us by e mail or telephone Table of Contents CHAPTER 1 INTRODUCTION sic 8 1 1 EMBEDDED ARM XSCALE COMPUTER LINE FAMILY 8 T 2 BEOGK DIAGRAM 9 CHAPTER 2 SPECIFICA
38. http www microsoft com downloads details aspx FamilyID 5691ba02 e49 6 465a bba9 b2f1182cdf24 amp displaylang en The recommended resolutions for APC 6410 hardware MFC is 640x480 or 720x480 And the recommended bit rate is around 2000Kbps or less and 199 frame rate is 30fps It will take a while to encode the video sources After encoding you should be able to see a wmv output file at the target directory of your PC 7 7 2 WMV9 Decoder for Windows Media Player Using ActiveSync upload the wmv file into the device NandFlash or Storage Card directory At devices go to My Device gt NandFlash or My Device gt Storage Card and double click the file that you just upload You will see the Media Player software playing the video Note Please remember to close remote display tool when playing video because the remote display tool takes a lot of bandwidth APC 6410 User s Manual 200 Embedian 7 8 OpenGLES User s Manual 7 8 1 Software Layers OpenGLES driver has two layers One is for mapping H W and allocating memory The other one is for OpenGLES libraries Figure 7 8 1 APC 6410 OpenGLES Software Layer The Figure 7 8 1 shows this driver structure S3C6410 fimg dll is mapping and allocating layer This driver maps H W address for library The library uses this mapped address And it also allocates physically continuous memory for library and FIMG H W If the library requests some texture memory and depth buffer
39. in a given runlevel e g 2 which is Ubuntu s default runlevel is like so ubuntu ubuntu sudo etc rc2 d S30gdm etc rc2 d K70edm ubuntu ubuntu sudo shutdown now r After reboot you will see the text mode booting into the LCD screen You can reverse this file back to boot into graphic mode again If you would like launch the for example mplayer application under the text mode you can ubuntu ubuntu mplayer quiet fs vo test avi 127 you can write a simple script to let this program to startup automatically at boot If you would like to stop the X11 and X application at runtime you can ubuntu ubuntu sudo etc init d gdm stop sudo password for ubuntu Stopping GNOME Display Manager OK 1 ubun tu ubuntu To make your services startup at boot Ubuntu Linux use update rc d command to install and remove System V style init script links Let us take the mysql service for example Turn on or start service called mysql on boot ubuntuQubuntu etc sudo update rc d mysql defaults Remove service called mysql on boot ubuntu amp ubuntu etc sudo update rc d mysql remove ubuntu ubuntu etc sudo update rc d f mysql remove Replace mysql name with actual service name Note It is not recommended to boot into text mode by using update rc d remove and update rc d defaults update rc d foo defaults will not put foo back into its previous start up slot but puts it a
40. link line ex kemel32 lib configuration specific If you need to use OpenGLES 1 1 then you need to input libGLESv1_CM lib instead of libGLESva lib APC 6410 User s Manual 202 Embedian Inc 7 8 3 Shader Compile You need to use orion compiler for compiling shader You can execute attached compiler on MS Windows XP and VISTA Ex orion Fragment Shader File gt orion O v Vertex Shader File gt orion O f Fragment Shader ASM File orion a Fragment Shader ASM File gt If you type just orion you can see more detail information about this shader compiler 7 8 4 Dil location libEGL dll libGLESv1_CM dll and libGLESv2 dll should be Windows directory or same directory with your application Second has higher priority 7 8 5 Samples 7 8 5 1 OpenGLES 1 1 Demo Application The demo program is located at Embedian ftp site and it is a very simple opengles demo You can get example about OpenGLES application and compile environment from source code You can modify line 80 int selectedDemo from 0 to 7 7 8 5 2 OpenGLES 2 0 Demo Application The demo program is located at Embedian ftp site and it is a very simple opengles demo You can get example about OpenGLES application and compile environment from source code You can modify line 59 int selectedDemo from 0 to 2 203 Chapter Use APC 6410 Hardware MFC Multimedia Function This Chapter gives how to
41. mnt You have backup the SD SDHC root file systems as a file name 320rootfs backup tar gz 81 6410 User s Manual 82 Embedian Inc 5 2 Restore the root file system in SD card Plug a SD SDHC card into a USB card reader and plug the card reader into the USB port of your Linux PC The operating system of the Linux PC in this example is Ubuntu 11 04 and the SDHC card storage is 8GB Note 2GB is minimal requirement for the Embedian official root file system Use the fdisk I command to list your disk information and find the device descriptor of you SD SDHC USB reader root dns3 fdisk 1 Disk dev sda 1000 2 GB 1000203804160 bytes 255 heads 63 sectors track 121601 cylinders Units cylinders of 16065 512 8223280 bytes Sector size logical physical 512 bytes 512 bytes 1 0 size minimum optimal 512 bytes 512 bytes Disk identifier Ox000d amp 811 Device Boot Start End Blocks Sys tem dev sdal 1 24316 195311616 3 Linux dev sda2 24316 24565 1999572 Linux swap Solaris dev sda3 24565 121602 779448320 Linux Disk dev sdb 7948 MB 7948206080 bytes 8 amp 1 heads 10 sectors track 19165 cylinders Units cylinders of 810 512 414720 bytes Sector size logical physical 512 bytes 512 bytes 7 0 size minimum optimal 512 bytes 512 bytes Disk identifier Ox00000000 Device Boot Start End Blocks 1 System dev sdbl lh 19165 7761820 83 Linux root dns3 We can see the device d
42. of NAND flash The WinCE 6 0 kernel NK bin starts from the 6th block 0x6 There are about 97 5MB un used in NAND for users User can see the flash information at My Device NandFlash when booting up Click the mouse or touch on the icon for a few seconds and tab the Properties as Figure A 2 2 241 Figure A 2 2 Flash Information Zoom Jools Help 149181 odes Application My NandFlash Data Document Bsr 2 The purposes of this document to tell users how to restore or upgrade the firmware in NAND flash The next section will detail that There are two ways to do this One way is from the one board NOR flash and the other way is from SD boot APC 6410 User s Manual 242 Embedian Inc A 2 2 Restore Stepldr and EBOOT from NOR flash User will need this chapter in case that your EBOOT is erased by accident or gone for somehow To write Stepldr and EBOOT images to NAND flash using NOR boot first power off device and set the jumper JP1 to NOR flash configuration Be sure to power off the system before you changing the jumper Install the USB host driver to your Windows system DNW 0 6 programs that Embedian provided in your host Windows PC Connect the serial console cable from serial console port UART 0 in CN20 of Embedian SBC of device to the COM port of your Windows PC And connect a USB cable from USB device port CN19 of Embedian SBC to USB host port
43. of your Windows PC In Serial Port of your dnw program click on Connect and power on device In Configuration of dnw program at Options set the COM port as the following setting of figure A 2 3 And the USB Port Download Address is 0x50030000 this is the DDR DRAM address where the program will be executed The baud rate is 115200 and the host COM port is this example is COM 1 243 Figure A 2 3 COM USB Port Setting of DNW Program DNW 0 60 For WinCE COM1 115200bps USB x ADDR 0x50030000 PE igursh on Heil UART USB Options Serial Port Baud Rate COM Port 115200 1 57600 C COM 38400 C COM3 19200 C COM 4 14400 9600 USB Port Download ddress 0 50030000 6410 User s Manual 244 Embedian Step 1 Power on the device you should see the following screen your DNW programs as shown in figure A 2 4 Figure A 2 4 NOR Boot Splash Screen DNW v0 60C For WinCE COM1 115200bps USB OK ADDR 0x50030000 Serial Port USB Port Configuration Help 5366818 USB OTG Downloader v8 2 2668 67 64 Revision 8 Pass 1 RRHCLK 532 00 2 HCLKx2 266 66MHZ 133 80HHz PCLK 66 56MHZ VIC mode Sync Mode USB host is not connected yet Waiting for USB host connection ttt USB host is connected Bulk In EP 1 Bulk Out EP 2 Speed High Op Mode DMA mode Download amp Run is selected Sel
44. pre installed with each APC 6410 board APC 6410 User s Manual 140 Embedian Inc Table 7 1 1 Drivers Table 7 1 1 Drivers Driver Description COM1 Support RXD TXD CTS RTS 2 Support RXD TXD Support RXD TXD COM4 External UART that supports the full RS232 specification with all 9 signals 5 External UART that supports the RS232 specification with all 9 signals Ethernet 10 100Mbit driver for Davicom DM9000B USB Host 4 Ports supporting mass storage devices USB stick hard disc CD ROM and other devices as keyboard mouse USB hub USB OTG Can be used as ActiveSync connection mass storage or RNDIS Audio 16Bit stereo output up to 48kHz mic input line in Touch All 4 wire resistive screens supported Screen Display All types of displays supported Easy configuration in EBOOT SD SDHC Memory cards Wireless LAN Bluetooth GSM GPS Memory cards Wireless LAN modem Bluetooth serial card GPS GSM GPIO 12 Configurable GPIO with Sample codes Easy configuration at Eboot and NK Flash File HIVE based registry Standard FAT as well as TFAT System transaction safe FAT are supported 2D Engine CPU 2D acceleration h w supported 3D Engine Support CPU 3D h w acceleration Support OpenGLES 1 1 2 0 and follow the Khronos naming rules TV Out TV output driver for NTSC PAL format is supported Camera Camera drivers for
45. program on the screen There are five cross points for users to calibrate The calibration value will be stored in the NAND flash after calibrated APC 6410 will check if this calibration value APC 6410 User s Manual 126 Embedian Inc exists there or not at next boot If yes users will not need to calibrate every time Note Users need to connect a touch screen to APC 6410 when install this package or the boot up process will stop at the following boot up process to wait you input the calibration value Starting OpenBSD Secure Shell server sshd Starting Hardware abstraction layer hald After calibration it will bring you to the gdm login screen To re calibrate users can use the following command line ubuntu ubuntu sudo ts_calibrate Or pending at the touch screen for a while when booting The device will only ask you calibrate at first boot After the first calibration the calibration value will be stored And the next boot will check if this value existing or not If yes the device will just use this value 6 17 Kiosk Mode 6 17 1 Boot Ubuntu 9 04 into text mode instead of graphic mode Some users applications are relatively simple and they develop their GUIs directly on top of frame buffer dev fbO They don t even need X11 running on the device Or some server applications don t need to have a graphic interface at all To boot into text mode or to disable a service such as GDM from being started
46. shared equipment The Web server applications send Hypertext Markup Language HTML pages to a requesting browser Users only need to have an Internet connection and a browser to be able to make use of the Web server functionality The Web server supports IPv6 and also supports the use of Active Server Pages ASP The HTTP server is not started on APC 6410 hardware at boot by default To turn on the telnet service users need to enable the sEnabled registry key setting under the registry key access the Web server just type P Address at the Web browser The default Web service configuration setting is remote administration page It is very useful to use when the device is without display At first connection to the Web server users will be asked to input the password and re type to confirm After that figure 7 3 21 shows the remote administration pages Figure 7 3 21 Remote Administration Page APC 6410 User s Manual 174 Embedian gt http 192 168 1 203 remotead min Windows Internet Explorer E 11921681203 iex 8 vr ntp4 192 168 1 203 remotesdmin Windows CE Remote Management Tool Home gt Device Management Configure Network HostName Config b Security Add Del Users File Server and Printer Add Del Share Add Del Printer Add Del Network Adapter SMB Server Statistics Please name your device Devi
47. should be able to see the ActiveSync program pop out and ask you to set up a partnership during loading the NK image as shown in figure 7 2 3 APC 6410 User s Manual 146 Embedian Figure 7 2 3 ActiveSync Program New Partnership Set Up a Partnership Before you can synchronize information between your mobile device and this computer you must set up a partnership between them Would you like to set up a partnership O Yes Set up a partnership so that can synchronize information between my device and this computer don t want to synchronize information Set up my device as a quest so that can copy or move information between my device and this computer lt Select No and click Next of your ActiveSync program You will see the screen shown as in figure 7 2 4 147 Figure 7 2 4 ActiveSync Program Microsoft Actives ync File View Tools Help LS Schedule 27 Explore Lonnected Hide Details amp Users should be able to see the Windows 6 0 desktop on the LCD screen or remote tools as shown in figure 7 2 5 APC 6410 User s Manual 148 Embedian Figure 7 2 5 Windows 6 0 Desktop WindowsCE File Zoom Tools Help TERE My Device Recycle Bin 9 tl Media Player I Windows Embedded CE 6 0 Next section we will introduce the Windows CE 6 0 system 7 3 Windows CE 6 0 This section
48. the Ubuntu 9 04 rootfs into that SD SDHC card 2GB is minimal requirement for the Ubuntu 9 04 that released from Embedian After done plug the SD SDHC card into CN24 SD SDHC socket connector Figure 3 2 Plug the rootfs pre installed SD SDHC card into SBC Details in regarding to how to make a pre loaded file system CF card can be found at section 5 2 27 Step 2 Check Jumper Location of the evaluation kit Different configurations can be set by several jumper blocks on board For example if you attached an LCD JP2 needs to be shunt depending on your LCD is or 3 3V JP5 is to determine if the backlight power is 5V or 12V If 5V is shunt the power source is from pin3 of CN8 If 12V is shunt the power source will be pin2 of CH8 Step 3 Connect the DUART Console Debug Cable from SBC to a null modem cable and connect that null modem cable to your PC Use Embedian DUART console cable and connect from CN20 of SBC to a female end null modem cable TX RX crossed and connect that null modem cable to the COM port of your PC Open the Hyperterminal program of your PC and set the baud rate as 115200 8 1 Figure 3 3 Connect DUART Console Debug Cable to a Null Modem Cable and to your PC APC 6410 User s Manual 28 Embedian Step 4 Apply 5V to SBC Apply DC 5V to SBC as shown in figure 3 4 the device will be power up Figure 3 4 Apply 5V DC to SBC PC 29 You will see the boot messages the H
49. users who need to see them 7 3 6 4 Recommendations Set the user list and domain variables to prevent hacker attacks on your device If FTP server functionality is used without appropriate values set for the User List and Domain variables the FTP server will be vulnerable to hacker attacks These variables are not set by default A hacker must only guess the device s password the way it is set in Control Panel to obtain access to server To prevent such attack the user name is the UserList registry value must be set for each of the servers that are currently running The use will then need to log in with the specified user name and appropriate password to use the server You can also set the domain variable in the DefaultDomain registry value which is located under APC 6410 User s Manual 168 Embedian Inc HKEY LOCAL_MACHINE Comm Redir registry key Setting the DefaultDomain registry value will require FTP clients to have valid domain credentials to log in 169 7 3 7 File Server File server in the factory installed image is configured with no access restrictions You should disable the file server or restrict access to it before deploying the APC 6410 or connecting to an unsecured network The File Server enables clients to access files and other resources such as printer from a server over using TCP IP File Server uses the Common Internet File System CIFS This is an extension to the Server Message Block SMB file
50. various camera modules MFC Engine Support h w H 263 H 264 VC1 SPI High speed SPI supported RTC Real time clock driver 141 7 1 3 Services The following services integrated the standard image that comes pre installed with each APC 6410 board User can add their application oriented service from the BSP as well Table 7 1 2 Services Table 7 1 2 Services Service Description FTP Server Access device using the FTP File Transfer Protocol Telnet Server Access device using the Telnet protocol HTTP Server Access device using the HTTP protocol File Server Access device using the Samba protocol Time Server Synchronize time with the network using the NTP Client protocol Shell Allow APC 6410 to run batch file 7 1 4 Special Features In addition to the standard Windows CE functionality Embedian has extended the operating system by following features Table 7 1 3 Special Features Table 7 1 3 Special Features Special Features Description EBOOT Configuration through RS232 USB clear flash registry download image to RAM download image to Flash format flash set save configured structures define initial GPIO configuration and set LCD parameters Debug Functionality erases flash range write read 32bit value at address Direct SD Boot Boot Directly from SD card It is very useful for maintenance purposes LCD Customizer Set all ty
51. viewer from http www tightvnc com download php Open up the vncviewer program 121 New Tight NC Connection ee Connection profile Options Low bandwidth connection VNC 2 Default connection options High speed network TUM Click Connect and it will pop out a password authentication window Enter the password Standard FNC Authentication X VAC Host 192 168 1 121 1 User name Password p Click and you will the device desktop on the remote client side APC 6410 User s Manual 122 Embedian Nd root s X desktop ubuntu 1 0 EX a cu At Y ik Audio amp Video Zi TOP ENVIRONMENT amp Graphics Settings System Tools Network Accessories Run Logout To kill the VNC service ubuntu amp ubuntu sudo vncserver kill 1 Killing Xtightvnc process ID 4326 ubuntuQubuntu 123 6 14 6410 uses GDM Gnome Display Manager as the graphical login program GDM is the GNOME Display Manager a graphical login program that uses XWindow GDM provides the equivalent of a login prompt for X displays it pops up a login window and starts an X session It provides all the functionality of xdm including XDMCP support for managing remote displays To stop the gdm service you can use the command ubuntuQ amp ubuntu sudo etc init d gdm stop
52. 0Mbps on chip transceiver Compatible with USB specification version 2 0 COM Port Chipset TI TL16c752B and CPU internal Five RS232 ports three 10x2 pin Headers two of them are TX and RX only one of them are TX RX CTS and RTS and two of them are full RS232 from 5 chipset One 5422 485 5 wire port one 7x2 pin Header TX CTS and RTS only and share with one RS232 port Ethernet Chipset Davicom DM9000B APC 6410 User s Manual 12 Embedian Inc RJ 45 connector onboard Compliance with IEEE 802 3u 100Base TX and 802 3 10Base T Compliance with IEEE 802 3u auto negotiation protocol for automatic link type selection Full duplex half duplex capability Supports IEEE 802 3x full duplex flow control Support Auto MDIX CompavtFlash CF Socket Chipset CPU CF controller One CF socket onboard Type and Type 3 3V Memory mode and True IDE mode Compatible with CF and CompactFlash Spec Rev 3 0 SD Card Host Interface Socket Chipset CPU SD controller 1 x SD MMC Card Slot on board SD Memory Card Protocol version 2 0 compatible SDIO CARD Protocol version 1 0 compatible 128 word FIFO for Tx Rx DMA based or Interrupt based operation 3 channel SD MMC Host Controller Support CE ATA Interface Video Graphic Array VGA Chipset CPU LCD controller TFT Panel LVDS Support 800x600 resolutions TTL 16 bit and LVDS 18 24 bit default is 24 bit interface on board Support 5
53. 2 Setting Up IP Address or DHCP If networking hardware such as a hub or switch is available an Ethernet cable can be used to connect the APC 6410 to this hardware Because of APC 6410 Ethernet function supports AUTO MDIX Ethernet protocol there is no need of crossover cable even it is direct link Setting static addresses or DHCP on APC 6410 is described below Once the addresses are properly set the host PC will be able to communicate with the device On the APC 6410 desktop tap Start gt Settings gt Network and Dial up Connections Double tap the network connection icon named after the DM9ISA1 driver used to open the Network Settings dialog box Figure 7 3 8 Network Connection Icon we DMSISA1 155 Change the appropriate settings and tap OK Note that the settings will take effect immediately Figure 7 3 9 DHCP or Static IP Address Setting DM9000 Fast Ethernet Adapter Settings IP Address Name Servers An IP address can be Obtain an IP address via DHCP automatically assigned to this computer If your network does not automatically assign 5 1192 168 1 203 IP addresses ask your network Address 132 158 1 203 administrator for an address Subnet Mask 265 255 255 0 and then type it in the space z provided Default Gateway 192 168 1 100 Once the IP has been modified it will be saved to HIVE registry and the IP and Ethernet configuration will be kept at next boot 7 3 5 T
54. 6 7 LCD The device descriptor of the LCD is dev fb0 The default LCD output will be Ubuntu gdm login screen LCD driver is default built in the kernel instead of driver module If your LCD panel is in different resolutions other than 800x480 users also need to use fbset command to set up the frame buffer first You need to apt get install foset package and fbset the framebuffer as follows root ubuntu etc apt sudo apt get install fbset Reading package lists Done Building dependency tree Reading state information Done The following NEW packages will be installed fbset 0 upgraded I newly installed 0 to remove and 14 not upgraded Need to get 1154 of archives After this operation 365 of additional disk space will be used Get l1 http old releases ubuntu com jaunty main fbset 2 1 23 115kB Fetched 11566 in 2s 0 6KB s Selecting previously deselected package fbset Reading database 34128 files and directories currently installed Unpacking fbset from fbset 2 1 23 armel deb Setting up fbset 2 1 23 ubuntu ubuntu etc apt fbset 800 480 0 ubuntu amp ubuntu etc aptf The settings are located in the file etc fb modes Different LCDs have different settings You can add your own LCD settings into this file and fbset it APC 6410 User s Manual 110 Embedian Inc 6 8 GPIO GPIO driver is default built in the kernel instead of driver module Users need to create a device node first by the f
55. 8 GPIO S 111 6 9 ETP CUIENT 5o RC ERU DU 115 eM MM E 116 OX TTIMEAND RTG ipee UR PAESE ENG 117 6 12 TEENET SSEL SERVER te o TREE ede 117 0 13 VNC SERVER ac e REO RU E aU E UE 120 6 14GDM Mec t 124 JB D M 124 6 16 CALIBRATION AND TOUCH 126 6 16 1 Install the Calibration Program eese eene entente eene nennen nennen 126 hinc E 127 6 17 KIOSK MODE eret rette t a 127 6 17 1 Boot Ubuntu 9 04 into text mode instead of graphic 127 OL72 GDM Auto 128 6 17 3 Auto Start a Program under 129 6 18 MPEG4 DECODER FOR MPLAYER AT DEVICE 129 6 18 1 Mplayer running on top of GDM and LXDE sess eene 130 6 18 2 Mplayer Running on top of frambuffer directly eene 131 6 19 NAND ROOT FILE SYSTEM 132 6 19 I HRWXTOG e e ER S PASE ERE REA Tee RES REANO ER EE EASTER N 132 6 19 2 As a rescue file system iis ene eSI UH eee eee ee o eee e erede t 133 6 19 3 As a small root filesystem erisir ioare enne ennt tenente trennen nennen 135 6 20 CROSS TOOEGHATN ierit EP eee HERE Cre 136 6 20 17 Installing TOOICHGIN eet adi me eed teens 136 6 20 2 Build de ecd te uen dee
56. 92 168 1 202 APC 6410 User s Manual 224 Embedian Inc SUDK6410 setenv serverip 192 168 1 10 SMDK6410 saveenv Saving Environment to Erasing Nand Writing to Nand done SMDK6410 Note Make sure that the server ip for Windows PC and client ip for APC 6410 are in the same network domain After setting up the IP address and wire everything right you could start the tftp download 2 1 2 Transfer and Write Image by TFTP and write Command After setting up the tftp server and IP address of devices users can start transfer and write images using uboot fffp and write command It is necessary to download to DRAM and erase the contents in partition first before writing to NAND uboot bin The following command shows how to transfer uboot bin images to DRAM To update uboot SMDK6410 tftp 50000000 uboot bin Found 09000 ID 90000a46 09000 work in 16 bus width eth init MAC 10 d 32 10 1 12 TFIP from server 192 168 1 10 our IP address is 192 168 1 202 Filename uboot bin Load address 0 50000000 Loading T T MH DB DDR DRE done Bytes transferred 196608 30000 hex SMDK6410 Now uboot bin file has been uploaded to DRAM temporary address from your PC Temporary address is base address of DRAM Default is set to 0 50000000 From the log the file size of uboot bin is 196608 bytes 30000 bytes in HEX Write the uboot bin image from DRAM to the NA
57. 985133 to 7986174 on Drive START 6 If there is the message box like that shown in figure A 2 20 it s done 7 Remove the SD MMC card from your PC and put it to APC 6410 s SD card slot 8 Set booting mode as iROM SD booting shunt jumper block JP5 and turn on the power and you should see the system boot directly from SD now Next section we will detail how to fusing NAND flash using SD boot A 2 4 2 Using SD boot fusing NAND flash After setting the device to SD boot shunt jumper block JP5 user should be able to see the following screen after power up APC 6410 User s Manual 260 Embedian Inc Figure A 2 21 SD Boot Up Menu DNW 0 60 For WinCE COM1 115200bps USB OK ADDR 0x50030000 Serial Port USB Port Configuration Help chainInfo duLoadf ddress 9 090000000 chainInfo dwFlashAddress 6X66666666 chainInfo dwlength 6X66660666 gt ce m SD Recovery Embedian Inc www Embedian com Network Settings IP address 169 254 1 161 Subnet mask 255 255 255 0 DHCP x Enabled NAND Flash Operation Erase All Blocks Erase Reserved Block Stepldr Eboot Format Boot Media for BINFS with BadBlock Marking to Reserved Block Download Media Device USB_DNW Options Ethernet USB Serial USB_RNDIS USB_DNW Start to Download Enter your selection Once you saw the menu shown in figure A 2 21 The fusing procedure will be exactly the same as described in section A 2 2 to rest
58. CN8 5V or pin2 of CN8 12V APC 6410 provides users with or 12V bypass path from pin 2 or pin of CN8 to pin 1 of CN9 for the backlight connection Figure 6 shows the LCD connection Figure 3 6 LCD Connection 12 5V 8 1 4 E LCD Backlight p 58 _ qe M ME 3 LCD H M 0 ET ble Y o The device descriptor of the LCD is dev fbO The default LCD output will be Ubuntu gdm login screen The LCD driver is default built in the kernel instead of driver module If your LCD panel is in different resolutions other than 800x480 users also need to use fbset command to set up the frame buffer first You need to apt get install fbset package and fbset the framebuffer as follows root ubuntu etc apt sudo apt get install fbset Reading package lists Done Building dependency tree Reading state information Done The following NEW packages will be installed fbset 0 upgraded 1 newly installed 0 to remove and 14 not upgraded APC 6410 User s Manual 32 Embedian Inc Need to get 1154 of archives After this operation 365kKB of additional disk space will be used Get 1 http old releases ubuntu com jaunty main fbset 2 1 23 115kB Fetched 115kB in 2s 0 6KB s Selecting previously deselected package fbset Reading database 34128 files and directories currently installed Unpacking fbset from fbset 2 1 23 armel deb
59. DK6410 Note Make sure that the server ip for Windows PC and client for APC 6410 are in the same network domain After setting up the IP address and wire everything right you could start the tftp download 2 1 2 Transfer and Write Image by TFTP and write Command After setting up the tftp server and IP address of devices users can start transfer and write images using uboot fffp and write command It is necessary to download to DRAM and erase the contents in partition first before writing to NAND uboot bin The following command shows how to transfer uboot bin images to DRAM To update uboot SUDK6410 tftp 50000000 uboot bin Found 09000 ID 90000a46 09000 work in 16 bus width eth init MAC 10 d732 10 1 12 IFIP from server 192 168 1 10 our IP address is 192 168 1 202 Filename uboot bin Load address Ox50000000 Loading T T done Bytes transferred 196608 30000 hex SUDK6410 Now uboot bin file has been uploaded to DRAM temporary address from your PC Temporary address is base address of DRAM Default is set to 0 50000000 From the log the file size of uboot bin is 196608 bytes 30000 bytes in HEX Write the uboot bin image from DRAM to the NAND by using following nand write command Before writing uboot bin from DRAM to NAND flash you 217 need to erase the contents of that partition first erase command SUDK6410 erase
60. E EH 8 e ed DROE CECE CEN 8 157 Note You will need to reboot the device to take effect the registry key enabled To access the Telnet server on APC 6410 device simply enter telnet lt Your Device Address gt See the example below Figure 7 3 12 Telnet Prompt lt Telnet 192 168 1 203 MindowsCEo the Windows CE Telnet Service on Directory of 91 91 98 lt DIR gt Network 01 01 98 lt DIR gt NandFlash 45 15 09 41 lt DIR gt Application Data 05 15 09 41 Control Panel lnk 95 15 93 41 lt DIR gt My Documents 45 15 09 41 lt DIR gt Program Files 45 15 09 41 lt DIR gt Temp 45 15 09 41 lt DIR gt Windows Found 8 file s gt Total size 23 bytes 1 Dir lt s gt 33267712 bytes free Note If you used telnet client like putty program to telnet in the first few commands might give you a command not found message Just a couple of trials will be fine But Windows telnet command prompt will not appear to see this 7 3 5 1 Default Registry Setting Its necessary to be aware of registry settings that impact security The telnet registry settings are under the HKEY LOCAL MACHINE CommTELNETD registry key Telnet server reads the values in the registry before serving each request Therefore changes made to the registry take effe
61. E products will not remain on the device after rebooting the system This is due to the applications being installed to the Windows and Program Files folders The Windows and Program Files folders are not persistent For this reason users can integrate the software from the platform builder and integrate the software into the NK or users can use the batch file to implement that The following steps must be taken to restore the files to the Windows and Program Files folders APC 6410 User s Manual 186 Embedian Inc 7 3 11 1 Software Installation using a Batch File Software Installation 1 Follow the standard installation of the software application to the Windows CE device 2 Test the software application 3 From the Desktop run the application and Save the Registry 4 Connect the Windows CE device to a PC with ActiveSync 5 Create a folder on your hard drive of the PC 6 Copy the files from the Windows CE device to the folder on the hard drive Directories to check Windows Program Files Windows Programs 7 Create a batch file to copy the files to the Windows CE device sure to copy the files to where they were placed during the installation Folders will need to be created on the Windows CE device to match the ones created during the install 8 Copy all of the files and the batch file on to a SD SDHC card 9 Place the SD SDHC card in to the Windows CE device To debug the batch file p
62. Embedian Inc User s 3 5 ARM11 667Mhz SBC with APC 6410 USER INFORMATION About This Manual This document provides information about products from EMBEDIAN INC No warranty of suitability purpose or fitness is implied While every attempt has been made to ensure that the information in this document is accurate the information contained within is supplied as is and is subject to change without notice For the circuits descriptions and tables indicated EMBEDIAN assumes no responsibility as far as patents or other rights of third parties are concerned Copyright Notice Copyright 2006 EMBEDIAN INC All rights reserved No part of this manual may be reproduced transmitted transcribed stored in a retrieval system or translated into any language or computer language in any form or by any means electronic mechanical photocopying recording or otherwise without the express written permission of EMBEDIAN Trademarks The following lists the trademarks of components used in this board e ARM is registered trademark of ARM Limited Linux is a registered trademark of Linus Torvalds Samsung is a registered trademark of Samsung Electronics All other products and trademarks mentioned in this manual are trademarks of their respective owners Standards EMBEDIAN is under the guidance of ISO 9001 standards Warranty This EMBEDIAN product is warranted against defects in material and workmanship
63. Jan 25 2010 06 49 0 Port dev tt y5 0 Press CTRL A A 2 for help on ave To use minicom root dns2 minicom lt filename APC 6410 User s Manual 222 Embedian Inc A 2 2 2 TFTP server in Linux PC APC 6410 communicates firmware to PC via tftp protocol It is therefore you need to install a tftp server first in your Linux PC This section uses Ubuntu as an example and tells you how to install and set up a tftp server First of all since tftp server is not s stand alone package you need to install server tftp client and xinetd packages root dns2 sudo apt get install xinetd tftpd tftp Next create a file called under etc xinetd d directory root dns2 sudo vim etc xinetd d tftp And put this entry service tftp udp 69 socket_ type deram Walt Ves user nobody server usr sbin 1in tftpd Server args tftpboot disable no j The last is to make a fftproot directory root dns2 sudo mkdir tftproot root dns2 sudo chmod R 777 tftproot Start the tftpd through xinetd and you are done root dns2 sudo etc init d xinetd start Now you can download compiled images to the APC 6410 by using tftp Before downloading the images connect host PC and APC 6410 by Ethernet cable To download binary image files to APC 6410 run tftp server service on your computer and put images in tftproot directory A 2 2 3 Setting up an IP address Setting up an IP
64. MB you need to use split command in Linux to split the NANDFS into two smaller files or the uboot in DRAM will be overwritten because the execution point of uboot is somewhere in DDR Once you split two smaller files it will be a good practice for you to flash nandfs into NAND flash Just remember that the starting address of nandfs partition is 0 200000 Below is short description This example split the nan6410 img as a 64MB image and a 62MB image SMDK6410 erase 200000 7200000 SUDK6410 tftp 50000000 nand6410 img 1 SUDK6410 write 50000000 200000 4000000 SMDK6410 tftp 50000000 nand6410 2 SMDK6410 write 50000000 4200000 3e00000 SMDK6410 After done reset APC 6410 and the firmware will be updated A 2 2 Linux Environment In this section we will detail how to transfer and write firmware under Linux PC First we need to set up minicom so that we could see the message from the console port A 2 2 1 Minicom Before transferring images using tftp you should know how to use Minicom so that you could see the messages from console port In this section will explain how to setup Minicom Desktop Linux has Minicom program for serial communication It is used for command prompt of uboot or shell prompt of embedded Linux Set up the values before using Minicom program To execute minicom on setting mode root dns2 minicom Figure A 2 Minicom Setup APC 6410 User s Manual 220
65. ND by using following nand write command Before writing uboot bin from DRAM to NAND flash you need to erase the contents of that partition first by nand erase command 225 SMDK6410 erase 0 0 40000 erase device 0 offset 0 0 size Ox40000 Erasing at 0x20000 100 complete OK SMDK6410 This is to erase the NAND flash content in the first partition SMDK6410 write Ox50000000 0x0 30000 write device 0 offset 0 0 size Ox30000 196608 bytes written OK SMDK6410 Temporary address is base address of DRAM i e 0 50000000 Start NAND address is 0x0 Image size of uboot is 0 30000 HEX as we have seen previously when tftping Note uboot contains specific hardware information and is well configured by Embedian It is usually no need to modify Unless necessary or you are an experienced engineer it is not recommended to update uboot uboot bin Wrong operation will cause the system not booting up anymore zimage Next example shows how to transfer and write Linux kernel The file name is 21 Again we tftp zimage from PC to DRAM of APC 6410 first by the following command SIDK6410 tftp 50000000 zlmage Found 09000 ID 90000a46 09000 work in 16 bus width eth_init MAC 10 d 32 10 1 12 IFIP from server 192 168 11 10 our IP address is 192 168 1 202 Filename zimage Load address 0 50000000 Loading T 6410
66. NW Download Target Write to NAND Storage Download or Program 1 0 image will be launched LAUNCH existing Boot Media image EUB Board SubTestHenu Enter your selection z MXH6416 Sub Function manu 1 GPIO Setting 2 LCD Panel Parameter Modify 3 Logo Menu E Back to main manu Enter Selection Logo Menu 1 Upload Logo File 2 Clean Screen Default background is black 3 Save LOGO E Exit Select The 1 Upload Logo File option can let users upload the splash screen that just created into the device and shown on the LCD screen immediately To achieve that at USB Port gt Transmit of DNW program choose the splach screen that just created and you will see the new splash screen shown on the LCD screen 197 Figure 7 6 3 Upload Splash Screen DNW v0 60C For WinCE COM1 115200bps USB OK ADDR 0x50030000 DER Serial Pot MN Configuration Help E UBOOT gt 1 LAUN py Test Status D splashscreen desktop800x480 5551 bin 0x50030000 C Documents and Settings Eric Lee H splashscreen splashscreenWesktop800x480 555i bin 0x500 30000 C Documents and Settings Eric Lee 12009081 1 nb0 0x50030000 C Documents and Settings Eric Lee H splashscreen splashscreenWesktop320x240 555i bin 0x50030000 C Documents and Settings Eric Lee 120090624 EBOOT nb0 0x50030000 CADocuments and Settings Eric Leesa 112009081 1 logo bin Ox50030000 CADocuments and Settings E
67. O Link encap Ethernet HWaddr 10 0d 32 10 01 12 APC 6410 User s Manual 30 Embedian Inc inet 192 168 1 121 Bcast 192 166 1 255 Mask 255 255 255 0 UP BROADCAST RUNNING MULTICAST MIU 1500 1 RX packets 95 0 dropped 0 overruns frame 0 IX packets 3 0 dropped 0 0 carrier collisions txqueuelen 1000 RX bytes 12326 12 3 KB TX bytes 158 158 0 B Interrupt 72 Base address 0 300 ubuntu ubuntu Users can use ifconfig to change the IP address at runtime Example Below is an example to change the IP address to 192 168 1 122 and netmask to 255 255 255 0 at runtime ubuntu ubuntu sudo ifconfig ethO 192 168 1 122 netmask 255 255 255 0 up ubun tu ubuntu Note Every MAC address on board will be mapping to Embedian s serial number and is compliant to ISO IEC 8802 standards The MAC address is written on EEPROM of the board at factory and Linux kernel driver will read it automatically There is no way that users can change it from root file systems 31 Step 6 LCD If you need to connect an LCD use a FPC cable or LVDS cable depending on the type of LCD connect to SBC first Check if JP2 and JP4 are configured properly The FPC cable at the board side CN14 is top contacted You will need to power the backlight yourself The LCD backlight jumper block JP4 can be set to determine if the pin 1 of CN9 is bypassed from 3 of
68. P3 APC 6410 User s Manual 66 Embedian Inc CN21 Location on Board B7 Table 4 17 Double RS232 Connector Header Pin SignaiName Function NaComeded 2 Ne Not Connected 4 Ne Not Connected 75 Jo 6 nc Not Connected 7 Nc s ne Not Connected 9 ano2 P 710 Shield Not Connected iz ne Not Connected 14 Not Connected 15 Txbs Jo 16 Nc Not Connected Dir NotComeded 16 Not Connected 19 P 720 Shield Ground P 67 CN23 Location on Board 8 Table 4 18 Double Full RS232 Connector Header Pin Function 4 Ready 9 Send o 75 0 cres 7 DataTeminalReady O s Rs Ring nacator 9 anos P 710 Shield P 14 arsa RexytoSed O 15 Jo 17 prea pata Terminal Ready O 19 ana P 720 shea 6410 User s Manual 68 Embedian Inc 4 2 3 6 CompactFlash CF Socket CN6 The CompactFlash socket CN6 50 pins for commercial CompactFlashes Type and is integrated on APC 6410 board The interface is also a hot plug capable interface The following table shows the pin out of the Compac
69. PC 6410 LINUX FIRMWARE UPDATE ee ee ee eere eere een oeste 0 215 AT FIRMWARE ARCHITECTURE siete eo eerie 215 A 2 UPDATE FIRMWARE FROM UBOOT cccsssscesseecssecesceecaececeeceacceeeeceaeesceeceaeeeeeecaeeseaeecsaeeeeaeers 216 A21 Windows Environment 3x ae det ee INR He ne 216 2 1 1 Setup TFTP Server Client IP Address from Device eee 216 2 1 2 Transfer and Write Image by TFTP and write Command sss 217 Environmeht e dede e abe ete bs dtes ets REN QE NONE obs 220 COM e ded enda dud NI denies et 220 AZ 2 25 TETPseryer nan a ena eaae aec 223 A223 Seine up an IP address ie LR ote ede Utere te 223 2 1 2 Transfer and Write Image by TFTP and write Command sss 225 UPDATE FIRMWARE FROM NOR enne nennen 228 APPENDIX II APC 6410 WINDOWS 6 0 FIRMWARE UPDATTIE eere ee een een une 241 2 1 FIRMWARE ARCHITECTURE IN NAND nennen enne nennt nnne 241 A 2 2 RESTORE STEPLDR AND EBOOT FROM NOR FLASH sees enne nene nennen 243 2 3 RESTORE NK IMAGE FROM nennen en 253 A 2 4 RESTORE FIRMWARE IN NAND FLASH FROM SD BOOT eene enne 259 A 2 4 1 Using PC Tool to Fusin
70. PIOS BACKLIGHT EN LCD PWREN AND VDDLCD PWREN 193 7 5 1 Configure GPIOs Setting at EBOOT essere nennen rennen 193 7 5 2 Configure GPIOS Setting at NK seas tre t eei in rere ee egeta 195 7 6 LOGO SPLASH SCREEN CUSTOMIZER entes ennt entes E nene entente nen 196 7 6 1 Upload and save splash screen image into devices esee 196 7 7 NMV9 DECODER FOR WINDOWS MEDIA PLAYER eene nennen enne nene 199 7 7 1 Encode Video source as WMV 9 199 7 7 2 WMV9 Decoder for Windows Media 1 eee 200 7 8 OPENGLES USER S MANUAL nesre sitora E e a 201 7 8 ISoftware Eayeus uia teet edite 201 2 AL UM 202 uie e S e LESEN E ESTO 203 7 84 203 203 CHAPTER 8 USE APC 6410 HARDWARE MULTIMEDIA FUNCTION 206 Sul MFC DEVICE DRIVERS ADEL ei eet rere erre e vou 206 OIL CreateEile ee e o ER Eque e cov Ere v dee etie ege ok Aes E 207 o IAA DeyiceloConirols s euis ee tete epe 208 o L3 ONA WRC 209 6 1 4 Control Codes for DeviceloControl eese esee nennen 210 8 1 5 Data Structure for Passing the IOCTL Arguments eese 213 APPENDIX I A
71. Root of File Server Registry Value HKEY_LOCAL_MACHINE Services SMBServer Shares VirtualRoot HKEY_LOCAL_MACHINE Services SMBServer Shares Root Value Description Path String Specifies the path to be shared Type Setting this value to 1 designates this as a print server REG_DWORD share setting this value to 0 zero designates this as a file server share UserList String Provides a comma separated list of allowed users Requires UseAuthentication to be enabled 7 3 7 2 Security Note The default setting of authentication on the file server is disabled However it is not recommended that you disable authentication on the file server and you share the Windows or root directory You can specify a list of folders that cannot be shared You can use any name for each folder you specify in the exclusion list Setting the HKEY_LOCAL_MACHINE Services SMBServer Shares ExcludePaths 173 registry key prevents the configuration functions from creating the specified shares so that they cannot be accessed by an un trusted application Table 7 3 5 An example to exclude the folders to be shared HKEY_LOCAL_MACHINE Services SMBServer Shares ExcludePaths Value Name Value Windows Windows My Documents Documents and Settings 7 3 8 Web Server Web server facilitates the use of the Internet for communication between APC 6410 device and network printers scanners and other
72. S field for the new user account d home dir DIR home directory for the new user account D defaults print or save modified default useradd configuration expiredate EXPIRE DATE set account expiration date to EXPIRE DATE f inactive INACTIVE set password inactive after expiration to INACTIVE e1d GROUP force use GROUP for the new user account groups GROUPS list of supplementary groups for the new user account help display this help message and exit skel SKEL DIR specify an alternative skel directory key KEY VALUE overrides etc login defs defaults do not add the user to the lastlog 2211109 databases create home create home directory for the new user account no user group do not create a group with the same name the user non unique allow create user with duplicate non unique UID APC 6410 User s Manual 94 Embedian Inc password PASSWORD system shell SHELL u uid UID 7 user group User ubuntu ubuntu use encrypted password for the new usei account create a system account the login shell for the new user account force use the UID for the new user account create a group with the same name as the 95 6 2 2 Set User Password After create a user you can use passwd command to set the password ubuntu ubuntu passwd help Usage passwd options LOGIN Options all d delete account expire account h
73. TIONS siivissssvecesssacsscscsvesedsesessseseosessnscsvsssesssaseetsesvasdssesveas seaxasdenssecatsestosetss 11 2 1 FUNCTIONAL SPECIFICATIONS 11 2 2 MECHANICAL SPECIFICATION i eene 18 2 2 T DIBIenslOns secte ue ctor 16 2 2 2 Mechanical 18 2 2 3 Mounting Holes aie Ut eed rte 21 2 24 H OR 20 TA Eum 21 21 2 3 ELECTRICAL SPECIFICATION 21 2 Sl Supply Voltges ite eire 21 2 3 2 Supply Voltage 22 2 3 3 Supply Current Typical n ete tetigere ER rei rr rr RR 22 2 3 4 Real Time Clock RT C Battery etes 22 VASORUM MR 22 in 22 2 4 ENVIRONMENTAL SPECIFICATION ssscccsccocesssssccseccececssnsesscesceesessceusecececesnseesseeecscessseasecescsseenseeeee 22 2 4 1 Temperdtute ee E EU 23 242 Humidity ana eed ebbe peo bone hee 23 NIBBE ui nece eite ie ais 23 2 6 EMI RFI AND ESD PROTECTION 2000 200000 0 0001000000000000000000000000000 23 CHAPTER 3 QUICK START GUIDE e paa 26 SHOR USERS EEE Eminem E 27 STEP 1 EXTRACT ROOT FILESYSTEM TARBALL TO THAT SD SDHC CARD eere 27 3 2 FOR WONDOWS 6 0 USERS cccccccccccececsssssececececsessaececececees
74. User s Manual 226 Embedian Inc TRADER ADE TERETE EHTEL AEDT AED TERETE EHTEL TREE TET EDP TRE done Bytes transferred 1764420 laec44 hex SUDK6410 Now zlmage file has been uploaded to DRAM temporary address of APC 6410 from your PC Temporary address is base address of DRAM Default is set to 0x50000000 From the log we also learned that the file size is 1764420bytes 1aec44 bytes in HEX Write the zlmage image from DRAM to the NAND using write command Again we need to erase the contents in this partition first SMDK6410 erase Ox40000 0 200000 NAND erase device 0 offset Ox40000 size 0 200000 Erasing at 0x220000 100 complete OK SUDK6410 This is to erase the NAND flash content in the second partition SMDK6410 write 50000000 0x40000 1 000 NAND write device O offset Ox40000 size Oxlat000 1765376 bytes written OK SMDK6410 Temporary address is base address of DRAM i e 0 50000000 Start NAND address is 0x40000 Image size of 21 is 1af000 HEX Note This image size of 2 when tftping is 1 44 Hex but the image size we write to NAND flash is 1af000 Hex This is because the minimum size to write to this NAND flash is 1 page 2K bytes in decimal 800 bytes in HEX It is therefore the image size that writing to NAND flash has to be a multiple of 800 nand6410 img 227 After writing uboot bin and kernel 2
75. Window Layer for PIP or OSD Programmable OSC window positioning 16 level alpha blending Video Post Processor Chipset CPU LCD controller Video input format conversion Video Graphic scaling up down or zooming in out 13 Color space conversion from YCbCr to RGB and from RGB to YCbCr Dedicated scaler for TV Encoder TV Out Chipset CPU internal e Support NTSC M J PAL B D G H I M Nc compliant video format S Video Connector Built in the MIE Mobile Image Enhancer Engine TV In Only on Project Based Chipset TI TVP5150AM1 Accepts NTSC 4 43 PAL B D G and SECAM B D G K K1 L compliant video data Connector RCA jack Audio Chipset Realtek ALC203 Codec AC97 version 2 3 compliance interface High SNR gt 100dB 3D Stereo Enhancement Stereo Microphone Input Headphone Output Advanced Linux Sound Architecture ALSA API support Discrete I O 12 general purpose digital I Os Multi Format Codec Chipset CPU internal MFC co processor MPEG 4 part ll simple profile encoding decoding 30fps SD D1 H 264 AVC baseline encoding decoding 30fos SD D1 H 263 profile3 encoding decoding 30fps SD D1 VC1 decoding 30fps SD D1 Encoding tools 16 16 1 2 and 1 4 pel accuracy motion estimation using the full search algorithm Variable block sizes 16x16 16x8 8x16 and 8x8 Unrestricted motion vector MPEG 4 AC DC prediction APC 6410 User s Manual 14 Embe
76. You can use gdm to load different desktop environments and Window Mangers Because of the memory limitation the default is using the LXDE system If users would like to consider GNOME the 256MB DDR RAM is the minimum requirement 6 15 LXDE Because of the memory limitation Embedian chooses LXDE as default desktop environment After login into the GDM display manager the GDM will launch LXDE directly by default LXDE Lightweight X11 Desktop Environment is a desktop environment which is lightweight and fast It is designed to be user friendly and slim and keep the resource usage low LXDE uses less RAM and less CPU while being a feature rich operating system Because of the low usage of resources it also saves energy We don t tightly integrate every component of LXDE Instead we try to make all components independent so each of them can be used independently with few dependencies More about LXDE on the Ixde org website theLXDE blogs and the LXDE forum LXDE Components is a fast and lightweight file manager with features like Drag amp Drop support tabbed browsing Similiar to Firefox Built in file searching utility fast load of large directories File association support Default application Thumbnail for image files Bookmarks support APC 6410 User s Manual 124 Embedian Inc correct handling of non UTF 8 encoded filenames and more LXLauncher easy mode application launcher LXPanel desktop
77. ack 121601 cylinders Units cylinders of 16065 512 8223280 bytes Sector size logical physical 512 bytes 512 bytes 1 0 size minimum optimal 512 bytes 512 bytes Disk identifier Ox000d8811 Device Boot Start End Blocks System dev sdal 1 24316 195311616 3 Linux dev sda2 24316 24565 1999872 Linux swap Solaris dev sda3 24565 121602 770448320 9 Linux 6410 User s Manual 80 Embedian Inc Disk dev sdb 7948 MB 7948206080 bytes 8 amp 1 heads 0 sectors track 19165 cylinders Units cylinders of 810 512 414720 bytes Sector size logical physical 512 bytes 512 bytes 1 0 size minimum optimal 512 bytes 512 bytes Disk identifier 000000000 Device Boot Start End Blocks 1 System dev sdbl 1 19165 7761820 83 Linux root dns3 We can see the device descriptor of the USB SD card reader is in disk dev sdb there is partition dev sdb Note The device descriptor might be different in your Linux PC Next mount SD SDHC card to mnt directory and change directory to the mnt root dns3 mount t ext3 dev sdbl mnt root dns3 cd mnt root dns 3 mnt You can s the file structure root dns3 mnt Is bin etc lib opt root selinux tmp var dev home mnt proc sbin sys UST 1001153 mnt Next tar the file system into a file The file name in this example is u904 090930 backup tar gz root dns3 mnt tar cvfz u904 090930 backup tar gz root dns3
78. address helps in downloading the compiled images to 223 6410 Connect host PC and 6410 by Ethernet cable A 2 2 3 1 Setting IP address for host PC On Your Linux Host PC run the terminal and execute following commands to set up and address root localhostt ifconfig down root localhost ifconfig 192 168 1 10 netmask 255 255 255 0 up root localhost ifconfig A 2 2 3 2 Setting TFTP Server Client IP address form APC 6410 Below will be exactly the same as that in Windows environment Copy the uboot bin zimage and nand6410 img into this directory First power on the device with console debug port UARTO CN20 connected to your PC and Ethernet cable connected to local network and go to uboot command prompt by pressing any key at boot You will see uboot command prompt like this Sertal Out serial Err serial found 20000 ID 900004846 09000 work in 16 bus width MAC 10 d 32 10 1 12 Ait any key to stop autoboot O SMDK6410 You can set and add the tftp ip address of the device and server by using setenv command as below SMDK6410 setenv ipaddr device ip SMDK6410 setenv serverip server ip After setting up the ip address use saveenv command to save the configuration Following figure shows the example for setting up the parameters Following figure shows the example for setting up the parameters EXAMPLE SIMDK6410 setenv 1
79. aders The response header includes a field name Server APC 6410 User s Manual 178 Embedian Optionally can include the software version number or any similar information in the string 179 7 3 8 2 When using Basic authentication the client browser sends the user identifier and password to the server in clear text In addition all data sent between the client and browser is in clear text and therefore vulnerable to packet sniffing You should consider using SSL to help protect sensitive information NTLM Although the client browser sends the password to the server in encrypted format all data sent between the client and the browser is in clear text and therefore vulnerable to packet sniffing You should using SSL to help protect sensitive information DirBrowse turns on Web server s ability to provide local directory browsing This exposes the local file system to remote browser through HTTP Users can view file lists and download files depending on virtual root and authentication registry settings Enabling directory browsing increases the potential attack surfaces therefore you should enable directory browsing only when necessary AdminUsers User names in this list identify the administrators of the site who have access to all virtual roots hosted on this Web site including the restricted sites Choose these users carefully and ensure that they set proper password other
80. and references to related chapters For precision measurements of the location of the connectors on the APC 6410 refer to section 2 2 2 for mechanical drawing Legend NC Not Connected GND APC 6410 Power Plane Signal Types signal is an input to the system O signal is an output to the system IO signal may be input or output P power and ground A analog signal 53 4 2 3 1 Ethernet RJ45 and Double USB Host Connector CN17 Four onboard USB host interfaces are available through the double port header CN18 9 pins and 17 8pins All USBs are Rev 1 0 compliance There is one Ethernet RJ45 connector in CN17 as well The following table shows the pin outs of the Ethernet RJ45 and Double USB connector CN17 Location on Board D5 Table 4 9 Ethernet RJ45 and Double USB Host Type A Connector Table 4 9 Ethernet RJ45 and Double USB Host Type A Connector CN17 Description Ethernet RJ45 and Double USB Host Type A Connector Signal Name Function 1 USB1 5V USB1 supply max 500 2 USB1 Universal serial bus IO Universal serial bus lO USB Ground 1 USB2 supply max _ Universal serial bus port 2 S 1 Universal serial bus port 2 USB GND USB Ground APC 6410 User s Manual 54 Embedian Inc 14 Location on Board 07 08 Table 4 10 Double USB Header Table 4 10 Double USB Connector CN18 USB Header Header Pin Signal
81. ansmit data Note Maximum SDHC card capacity is 32GB 71 4 2 3 8 LCD Backlight Inverter Connector CN9 The following table shows the pin outs of the LCD backlight inverter connector CN9 Location on Board 2 Table 4 21 LCD Backlight Inverter Connector Table 4 21 LCD Backlight Inverter Connector CN9 WAFER BOX 2 0mm 5P 180D MALE W LOCK Header Pin Signal Name 1 EXT 5V 12V Power supply for backlight inverter depend on settings JP4 2 ano P 3 Enable On off control for E EN Brightness control for backlight inverter APC 6410 User s Manual 72 Embedian Inc 4 2 3 9 TV Out S Video and RCA JACK CN13 The following table shows the pin outs of the TV Out connector CN13 Location on Board D3 Table 4 22 TV Out Connector Table 4 22 TV Out Connector C13 Header Pin Signat Name Function Type S video Jo Ti yn O S Video Y C PAL lo LEN 73 4 2 3 10 4 Wire LCD Touch Panel Connector CN26 or CN28 Touch panel could be interfaced from COM or USB APC 6410 also provides with a 4 wire FPC connector for touch panel The controller is from ADC of the processor The following table shows the pin out of the touch panel connector 19 Location on Board 1 Table 4 23 4 wire LCD Touch Panel Connector Table 4 23 4 Wire LCD Touch Panel Connector CN26 or CN28 1 0 ZIF FPC SMT V T or HEADER DIP 1 4P 180D MALE
82. ault environment In serial Out serial Err serial found DM9000 ID 90000a46 IM9000 work in 16 bus width MAC 10 d 32 10 1 12 Hit any Key to stop autoboot 0 SUDK6410 Once the uboot is up you can use uboot tftp to update other firmware as mentioned in previous section You can also keep updating 21 and nand6410 img in this way Just remember to put the correct input target block number and file size 239 Appendix Windows CE 6 0 Firmware Update This Chapter details how to update Windows CE 6 0 firmware in NAND flash Section include Firmware Architecture Restore Stepldr and EBOOT from NOR flash Restore NK image from EBOOT Restore firmware in NAND flash from SD Boot APC 6410 User s Manual 240 Embedian Appendix APC 6410 Windows 6 0 Firmware Update This Chapter details firmware upgrade for APC 6410 when using Windows CE 6 0 as the operating systems The firmware in NAND flash includes stepldr nbO eoot bin and NK bin image A 2 1 Firmware Architecture in NAND flash Figure A 2 1 shows the firmware architecture in NAND flash Figure A 2 1 Firmware Architecture in NAND Flash 0 0 stepldr nbn 0 2 eboot bin Ox6 unused 97 5MB 126M NAND Flash When power on the processor will copy the first 4K of BootStrap Loader stepldr nbO to internal RAM The stepldr will initialize the memory mapping and load the eboot from the 2 block 0x2 1 block 128K
83. by date command first root amp apc7110 mnt f tar xvfz u904 090930 tar gz 7 remove the tarball and exit to mnt directory root apc7110 mnt rm u904 090930 tar gz root apc7110 mnt cd 8 umount mnt root apc7110 umount mnt root apc7110 9 Reboot root apc7110 mnt root apc7110 umount mnt root apc7110 shutdown now r Why You will see the gdm login screen appear on the LCD screen 6 19 3 As a small root file system At development stage it is recommended that user develop their program under SD Ubuntu root file system Users can apt get install gcc and use gcc to do natively make first After development work done you can copy the new binary files to NAND flash and do the test again And then modify the linuxrc to boot into NAND flash only The other alternative is to use the cross compiler to develop your application at PC After you done the development you can ftp the program into the NAND flash and make a test You can also do this way when developing 135 your program at SD Ubuntu system 6 20 Cross Toolchain For kernel compile since it doesn t rely on any libraries and is totally independent we do suggest use this cross compile tool that could save lots of time and no problem at all for applications For applications we do suggest you switch to native compile mode since the host pc which used to make the s w doesn t know the s w environment of ta
84. ce Name 6 0 a g 10 Note f users would like to use a own custom webpage users need to modify the Defaulf registry key setting under the HKEY_LOCAL_MACHINE Comm HTTPD VROOTSV registry key from SREDIRECT to windows www wwwpub 7 3 8 1 Default Registry Settings is necessary to be aware of the registry settings that impact security The Web server settings are located under the HKEY_LOCAL_MACHINE Comm HTTPD registry key If you make changes to the Web server registry settings it is necessary to stop the Web server and restart it to make the changes take effect The IsEnabled registry value is default set to disable the Web service and is checked only when the Web server is initially loaded If the registry value is set to zero 0 the Web server does not start Changing this value to zero 0 while the Web server is running has no effect You also must stop the Web server to make it stop accepting connections Table 7 3 6 HTTPD Registry Key and Named Values 175 HKEY_LOCAL_MACHINE Comm HTTPD Value Description BasicRealm String Specifies the string that the Web Server will send to clients as its Basic realm when performing basic authentication If this registry value is not set the Web Server will default to using the string Microsoft WinCE IsEnabled REG_DWORD If the value is not set in the registry the Web Server is enabled If the val
85. config command only changes the network setting at runtime After reboot or network restart the network configuration will be restored to default values To configure the network configuration at boot or network restart users need to modify the etc network interfaces file Network configuration will take effect at next boot or network restart 6 3 1 1 Static IP APC 6410 User s Manual 98 Embedian Inc To configure the device networking configuration as static IP user need to modify the etc network interfaces file first ubuntuQubuntu vim etc network interfaces Modify the network configurations as follows After modified this file you can reboot the device or just use the etc init d networking restart command to restart the networking configuration to get the new network configurations auto lo 1 lo inet loopback auto eth0 Iface ethO inet static address 192 168 1 121 netmask 255 255 255 0 gateway 192 168 1 254 6 3 1 2 To configure the device networking configuration as DHCP user need to modify the etc network interfaces as follows auto lo 1face lo inet loopback auto eth0O iface ethO inet static address 192 168 1 121 netmask 255 255 255 0 gateway 192 168 1 254 iface ethO inet dhcp After modified this file you can reboot the device or just use the etc init d networking restart command to restart the networking configuration ubuntu ubuntu sudo etc init d net
86. configured to allow any user in with password including anonymous Use File Browser to access the FTP Server A regular file browser in your Windows PC may be used to access the FTP server as well To use the FTP server this way use ftp the device address 163 Figure 7 3 17 Use File Browser to access FTP Server Lg ftp 192 168 1 2037 DER 820 HAO IAM MAW CJ Application Data CJ My Documents Internet Explorer E CJ NandFlash Network ARLHS CJ Program Files Temp CJ Windows Control Panel Ink Q APC 6410 implementation of FTP server enables you to transfer files from a desktop computer using a TCP IP connection The implementation of FTP server in APC 6410 is based on RFC 959 This included FTP server supports the minimum implementation of the FTP protocol defined in RFC 959 This minimum implementation includes configuration values transfer parameters and ASCII and Image data types and allows FTP to operate with a minimum of error messages 7 3 6 1 Default Registry Setting Its necessary to be aware of registry settings that impact security The telnet registry settings are under the HKEY LOCAL registry key FTP server reads the values in the registry before serving each request Therefore changes made to the registry take affect immediately and do not require the ftp server to be re
87. ct immediately and do not require the telnet server to be restart The registry change will be kept on next reboot APC 6410 User s Manual 158 Embedian Inc Table 7 3 1 TELNETD Registry Value HKEY_LOCAL_MACHINE Comm TELNETD Value Description IsEnabled Indicates if the Telnet server is enabled Set this value REG_DWORD a non zero value to enable the server and to 0 to disable the server If the sample Telnet server is started and this value has not been set it defaults to accepting connections UseAuthentication REG DWORD To require a password check on the user set this value to 1 otherwise set it to 0 By default the Telnet sample requires authentication UserList String Provides a comma separated list of allowed users Requires UseAuthentication to be enabled 7 3 5 2 Changing the Telnet Server Access Privileges To change the Telnet server access privileges the Registry Editor tool under the Windows folder or Start gt Programs gt regedit will be used To modify the Telnet server access privileges Step 1 Click the regedit exe located at Windows folder Step 2 Browse to the HKEY LOCAL Step 3 Ensure that the IsEnabled value is 1 Step 4 Ensure that the UseAuthentication value is 0 Step 5 Set the UserList value to a semi colon separated list of users For example user1 user2 Refer to the topic Telnet Server User Li
88. ct the function to test 233 You will be asking to enter the temporary download address Enter 0x51000000 as following screen Enter the download address 0x 0x51000000 The temporary download address is Ox51000000 USB host 1s connected Speed High The temporary download address is Ox51000000 Select a file to download in DNW If you want to quit press x key Next we need to transmit the uboot bin file to DRAM first At the DNW program click on Configuration gt Options again set the USB Port Download Adaress to 0x51000000 as shown in following figure After done click OK Options Baud Rate COM Port 115200 COM 1 Cancel 57600 COM2 38400 COM 3 19200 COM 4 14400 9600 USB Port Download Address 0 51000000 APC 6410 User s Manual 234 Embedian Inc the DNW program click USB Port gt Transmit choose uboot bin file from your PC This is shown as the following figure Serial Port Configuration Help T UBOOT gt Rx Test DAMXM 6410 NOR410_ Test bm 0 50200000 Statu You will see the following screen in your Hyperterminal If you want to quit ADDRESS 51000000h TOTAL 196618 0x 30000 Checksum 15 being calculated you want to skip press key Checksum 0 Donwload Only 1 Upload 2 Select Op Mode Select the function to test 235
89. ction LCD Backlight Users should be able to see the Windows CE 6 0 desktop on the LCD screen or remote tools as shown in figure 3 13 APC 6410 User s Manual 40 Embedian Figure 3 13 Windows 6 0 Desktop WindowsCE File Zoom Tools Help p My Device Recycle Bin gt tl Media Player Windows Embedded CE6 0 41 Chapter Hardware References This Chapter contains detailed and specialized hardware information APC 6410 User s Manual 42 Embedian Inc Chapter 4 Hardware References This section gives details of the hardware features of the APC 6410 These include a description of the switches jumper settings connectors and connector pin outs 4 1 Jumpers The APC 6410 has a number of jumpers that allow you to configure your system to suit your application All use 2mm shorting blocks shunts to select settings Turn off power to the APC 6410 before changing the position of a shunt 43 4 1 1 Jumper Locations Figure 4 1 e H 6410 User s Manual 44 Embedian Inc 4 1 2 List of Jumpers The table below lists the function of various jumpers Table 4 1 Jumpers Table 4 1 Jumpers 4 1 3 Jumper Settings The following tables describe how the jumper shunts to various configurations JP1 Location on Board D1 Table 4 2 Flash and NAND Flash Setting JP1 Table 4 2
90. dian Inc H 264 AVC intra prediction hardwired mode decision In loop deblocking filter for both H 264 and H 263 P3 Error resilience tools MPEG 4 resync Marker and data partitioning with RVLC MPEG 4 AVC FMO Bit rate control CBR and VBR Decoding tools Support all features of the standards JPEG Codec Chipset CPU JPEG Codec co processor Compression decompression up to UXGA size Encoding format YCbCr 4 2 2 RGB565 Decoding format YCbCr 4 4 4 4 2 2 4 2 0 or gray 2D Graphic Accelerator Chipset CPU internal Line Point drawing BitBLT and Color Expansion Text Drawing 3D Graphic Accelerator Chipset CPU internal 4M triangles s 133MHz Transform Only 75 8M pixels s fill rates 133MHz shaded pixels Programmable Shader Model 3 0 support 128 bit 32 bit x 4 Floating point Vertex Shader Geometry texture cache support 128 bit 32 bit x 4 Floating point two Fragment Shaders e Max 4K x 4K frame buffer 16 32 bpp 32 bit depth buffer 8 bit stencil 24 bit Z Texture format 1 2 4 8 16 32 bpp RGB YUV 422 S3TC Compressed Support max 8 surfaces max 8 user defined textures API Support OpenGL ES 1 1 amp 2 0 D3D Mobile Intelligent Host Interface 15 input data types Vertex Buffer amp Vertex Cache HW Clipping Near amp Far 8 stage five threaded Shader architecture Primitive assembly amp hard wired triangle setup engine 15 One pixe
91. dmins GladysL APC 6410 User s Manual 166 Embedian Inc GladysL Finance GladysL GladysL GladysL Finance Step 6 Set the AllowAnonymous value to 1 if you wish to enable anonymous FTP logins Step 7 Set the AllowAnonymousUpload value to 1 if you wish to enable anonymous users from uploading files to the FTP server Step 8 Set the DefaultDir string to whichever directory you wish to use as the FTP root directory Users will not be able to go outside of this directory Further information may be found in the Platform Builder documentation on the FTP server located in Application Development FTP Server Figure 7 3 18 FTP Registry WindowsCE File Zoom Tools Help wew x x Comm e AFD f 00000001 1 H AsyncMac 00000000 0 HE AsyncMaci 00000001 1 c3 Autoras 00000001 1 C3 CXPort Devices 00000001 1 v DMSISA EE amp IdleTimeout 0000012 300 H EAP R DebugOutp 00000002 2 R8 DebugOutp 00000017 23 6 8000 ab BaseDir Windows ME 20001 8 1 00001000 4096 PPTP 1 Redir H E RndisFn c3 RndisFni Security HG SecurityProviders M4 H TELNETD H E UDP2TCP 4 USB HKEY_LOCAL_MACHINE Comm FTPD ATRE 7 3 6 3 Security Notes If AllowAnonymous is set to true it will allow users to connect the server
92. dress 0x0000000 0x0 The Linux kernel zlmage partition starts from NAND address 0x40000 The NAND filesystem nandfs is small ext3 file system for rescue purposed or system that would only need simply application and load the minimum set drivers and this partition starts from the NAND address 0x200000 Users need a SD SDHC card with root file system installed to boot up the complete Ubuntu 9 04 file system As for how to prepare for an SD SDHC root file system this is described at Chapter 5 Users can update the firmware under uboot or use the onboard NOR flash The onboard NOR flash is designed for the purpose that when your uboot is erased and cannot boot up anymore Embedian factory default is firmware pre installed Unless necessary Embedian does not recommend you update firmware especially uboot since the system might not boot up anymore if you did the wrong operation If you develop your own uboot and kernel you will need to do that Following tells you howto update firmware from uboot 215 command prompt The firmware for 6410 includes uboot bin zlmage and nand6410 img Now you are ready to update firmware from uboot Now you are ready to update firmware from uboot A 2 Update Firmware from uboot You could use uboot tftp command to download uboot Linux kernel and NAND root file system Below we will tell you how to do this under Windows and Linux PC environment First you need to set up a tftp server A 2 1 W
93. e a password to access your desktops Password Verify Would you like to enter a view only password y n n xauth creating new authority file home ubuntu Xauthority New X desktop is ubuntu l Creating default startup script home ubuntu vnc xstartup Starting applications specified in home ubuntu vnc Xxstartup Log file is home ubuntu vac ubuntu 1 log ubun tu ubuntu will create directory under root It also will ask you a password insert it twice and for the viewing password answer NO Now it s time to stop it for few more configurations ubuntu ubuntu sudo vncserver kill 1 Killing Xtightvnc process ID 2527 ubun tu ubuntu and move to the configuration files ubuntu ubuntu sudo vim home ubuntu vnc xstartup APC 6410 User s Manual 120 Embedian Inc commenting out everything and insert the following two lines e openbox amp e xrdb HOME Xresources xsetroot solid grey x terminal emulator geometry 80x24 10 10 is title VNCDESKTUP Desktop amp X window manager amp etc X11 Xsession openbox amp 1xsession And now you can start vncserver again ubuntuQubuntu sudo vncserver geometry 800 480 New X desktop is ubuntu 1 Starting applications specified in home ubuntu vnc xstartup Log file is home ubuntu vnc ubuntu 1 log ubun tu ubuntu At the Windows XP client side you can download the free VNC
94. ead the GPIO data if the GPIO is set to be input and connect to the outer world or if the GPIO is set to be output 193 3 Use Default will set the GPIO 1 to 12 input pull down BACKLIGHT_EN LCD_PWREN and VDDLCD_PWREN signals are set to output pull disable high by default APC 6410 User s Manual 194 Embedian Inc 7 5 2 Configure GPIOs Setting at NK Embedian provides users with a library and sample demo code to allow user application change the GPIO setting at NK The control applet named mxmGPIO demo exe provides a simple user interface to diagnostic the functionality of the digital input and digital output channels Figure 7 5 2 GPIO Demo Program 6410 File Zoom Tools Help File Edit View Go Desktop Favorites FTPD killproc Fonts rf libGLESv1 gt oppo uw Programs Recent StartUp www mxmGPIO_Demo 62103 v Output iv Write Config Pull Pull Disable open ox GPIO Read Config 10 type aq CameraDs pdit ceconfig RotateScr Ba RotateScr E mxmGPIO Demo JL 10 13 AM E a Note 1 The sample code of the GPIO demo program is available at Embedian FTP site 2 The Read Config button at the right hand side of the program will read back the current GPIO setting If the IO type is Output the Write Config button at the right hand side of t
95. ect a file to download DNW If you want to quit press any key 245 Step 2 Press any key and you will enter the main menu as shown figure 2 5 Figure A 2 5 NOR Boot Menu DNW v0 60C For WinCE COM1 115200bps USB OK ADDR 0 50030000 Serial Port USB Port Configuration Help USB host is not connected yet Waiting for USB host connection ttt USB host is connected ttt Bulk In EP 1 Bulk Out EP 2 Speed High DHA mode Download amp Run is selected Select a file to download in DNW If you want to quit press any key Download amp Run Donwload Only Upload Only Select Op Mode Program NOR Flash Suspend amp Resume On OFF Check Suspend Current Select the function to test APC 6410 User s Manual 246 Embedian 3 Select the function 0 Download amp Run and press Enter You will see the following screen Figure A 2 6 Download amp Run DNW 0 60 For WinCE COM1 115200bps USB OK ADDR 0x50030000 Serial Port USB Port Configuration Help ttt USB host is connected Bulk In EP 1 Bulk Out EP 2 Speed High Op Mode DMA mode Download amp Run is selected Select a file to download in DNU If you want to quit press any key Download amp Run Donwload Only Upload Only Select Op Mode Program NOR Flash Suspend amp Resume On Off Check Suspend Current Select the function to test 8 Select a f
96. ed on board by a DC DC converter However the 12V that may be required for LCD panel backlight inverter or other external devices is not generated on board and needs to be additionally supplied by users The following table shows the pin out of the connector Location on Board 2 Table 4 26 Main Power Connector Table 4 26 Power Connector 8 Description 4 pins ATX Mini Fit Connector Molex 39 31 0048 or equivalent Header Pin Signal Name enn Ground Note To protect the external power lines of peripheral devices make sure that 1 The wires have the right diameter to withstand the maximum available current 2 The enclosure of the peripheral device fulfils the fire protecting requirements of IEC EN 60950 3 The current of the pins on this connector is limited to 13A pin 77 4 2 3 14 Buzzer Connector 12 The buzzer 6410 is controlled by PWM The rated frequency is 2731 200Hz CN12 Location on Board A7 4 2 3 15 JTAG Connector CN5 JTAG interface commonly used to develop debug and test microprocessor based system APC 6410 uses a 20 pins connector The following table shows the pin outs of the JTAG connector CN5 Location on Board 2 Table 4 27 JTAG Connector Table 4 27 JTAG Connector CN5 BOX HEADER 10 2 1800 MALE 2 54mm Header Pin Signal Name d 3 z 1 s Ground 79 Tck APC 6410 User s Man
97. edian also reserves some very common types LCD parameters as default setting Users can just choose it instead of setting parameters each by each Embedian also allow users to view the current LCD parameter settings 7 4 1 View Current LCD Parameters To view current LCD parameters go to EBOOT menu and press Z MXM EVB Board SubTestMenu and then press 2 LCD Panel Parameter Modify and then press 1 Parameter Now as shown in figure 7 4 1 APC 6410 User s Manual 188 Embedian Inc Figure 7 4 1 View Current LCD Parameters DNW v0 60C For WinCE COM1 115200bps USB OE XDDR 0x500530000 Serial Port USB Port Configuration Help LCD Parameter Modify 1 Parameter Now 2 Use Default 3 Modify one of then E Exit Video Output Mode RGBIF RGB565 P 888 488 Back Porch 33 Front Porch 18 Pulse Width 2 Horizontal Back Porch 86 Horizontal Front Porch 42 Horizontal Pulse Width 12 UCLK Polarity FALL EDGE HSYNC Polarity LOW ACTIVE USYNC Polarity LOW ACTIVE UDEN Polarity HIGHT ACTIVE PNR Mode RGB P UCLK Source LCDCLK UCLK Direction DIVIDED Frame Rate 45 LCD Parameter Modify 1 Parameter Now 2 Use Default 3 Modify one of then E Exit Select 7 4 2 Choose Default LCD Parameters Embedian chooses Data Image 5 7 inch FG050605DNSWAGO01 320x234 and PVI 7 inch PMO70WTS3 800x480 as default LCD parameters because they are also compatible to many LCDs with same resolutions To
98. elnet Server The Telnet server in the factory installed image is configured with no access restrictions You could disable the Telnet server or restrict access to it before deploying the product or connecting to an unsecured network The Telnet server is not started on APC 6410 hardware at boot by default To turn on the telnet service users need to enable the sEnabled registry key setting under the HKEY_LOCAL_MACHINE Comm TELNETD registry key Figure 7 3 10 and figure 7 3 11 show how to enable the telnet service Go to Start gt Programs gt regedit APC 6410 User s Manual 156 Embedian Figure 7 3 10 regedit Utility 6410 DAR Device e Recycle Bin f Media Player windows Embedded CE 6 0 Programs RotateScreen Jm 5 19 PM ala The telnet registry settings are under the HKEY_LOCAL_MACHINE Comm TELNETD registry key Double click the IsEnabled registry key set it from 0 to 7 Figure 7 3 11 Enable Telnetd Service MxXM 6410 File Zoom Tools Help Cj DMSISA 23 DMSISA1 C3 Firewall 3 FTPD Cj HTTPD C3 NE2000 NE20001 Cj PPTP PPTP1 Redir C3 RndisFn 3 RndisFni C3 Security C SecurityProviders Tcpip6 e UDP2TCP USB USB Cable USBFNSER USBFNSER1 VEM ly WS2 _LOCAL_MACHINE Comm TELNETD 44 Spree IE pr 5 25 2 Ee
99. ength 8x2888 LaunchAddr 0 6 Completed file s 8 Address 6x6 Length 6x2666 Name STEPLDR nb6 Target RRH Stepldr image can t launch from You should program it into flash SpinForever Now have successfully write the STEPLDR nb0 file to NAND flash Next we would like to write EBOOT bin to NAND flash Step 7 Repeat steps 1 6 but DON T erase all blocks at step 5 because you have already written the STEPLDR nbO to NAND flash And at step 6 choose the EBOOT bin file Note It is EBOOT bin instead of EBOOT nbO After writing EBOOT bin to NAND flash you should be able to see the screen as shown in figure A 2 11 251 Figure 2 11 Write EBOOT bin to NAND DNW 0 60 For WinCE COM1 115200bps USB OK ADDR 0x50030000 Serial Port USB Port Configuration Help duTtlSectors 6x8A dwloadAddress 0 80030000 dwJumpAddress 6x86666C 64 dwStoreOffset 9 9 sgList 8 duSector 8x88 sgList 8 duLength 6x8A ID 1 lt dwUersion 8x1 dwSignature 6x43465348 String dwImageType 8x2 duTtlSectors 6x6 dwLoadAddress 9 0 duJumpf ddress 0 6 duStore ffset 8x8 Invalid Image Descriptor id 2 6x6 chainInfo duLoad ddress 8X08880088 chainInfo dwFlashfAddress 6X66666606 chainInfo dwlength 6X66660666 INFO Eboot image stored to Smart Media Please Reboot Halting As of now you have successfully written the STEPLDR nbO and EBOOT bin files to NAND flash You can turn the
100. eof 9pio char str int fd i fd open dev_desc O_RDONLY If fd 1 return ENODEV i read td buf 12 close fd for 1202 1212 i byte to desc amp buf 1 gpio APC 6410 User s Manual Embedian Inc switch gpio func case 0 apr Case c Output Case 2 System default Reserve printf GPJ Zd function s pullup s data d n 1 Str gpio pullup Disable Enable gpio gt dat return 0 int write dev unsigned char buf struct gpioctl desc gpio malloc sizeot gpio char str int fd 1 for 1 0 1 lt 12 i gpio func 1 gpio pullup 1 gpio gt dat 1 desc_to_byte amp buf 1 gpio fd open dev desc O_WRONLY If fd I return ENODEV write fd buf 12 close fd return 0 int main unsigned char buf 12 Int 1 int err err read dev buf if err return err return write dev buf APC 6410 User s Manual 114 Embedian Inc 6 9 FTP Client The is default included in the root file system You might use apt get install to use a dedicated ftp client To use the tfo FTP client assuming the remote host IP address is 59 124 115 43 and the user is eric ubuntuQubuntu sudo Iftp u eric 59 124 115 43 Password ftp 059 124 115 43 bye ubun tu ubuntu You can use put lt filename gt to put transmit a file from local device to remote server and g
101. equests the Operating System name and version from the FTP server via the SYST command the FTP server will not indicate it 7 3 6 2 Changing the FTP Server Access Privileges To change the FTP server access privileges the Registry Editor tool under the Windows folder or Start gt Programs gt regedit will be used To modify the FTP server access privileges Step 1 Click the regedit exe located at Windows folder Step 2 Browse to the HKEY_LOCAL_MACHINE Comm FTPD Step 3 Ensure that the sEnabled value is 1 Step 4 Ensure that the UseAuthentication value is 0 Step 5 Set the UserList value to a semi colon separated list of users For example user1 user2 Refer to the topic Telnet Server User Lists in the Platform Builder documentation for more detailed information on this subject Examples HKEY LOCAL UserList GladysL AnnD KimY SomeGroup villains Allows GladysL AnnD and the SomeGroup group but restricts the user and the villains group The asterisk or the at sign and the asterisk or allows all users and the combination of the hyphen and the asterisk or the combination of the hyphen and the at sign and the asterisk or denies all users The string is interpreted sequentially In other words if GladysL is member of the Finance group the following strings will allow GladysL GladysL Finance Finance GladysL GladysL Finance A
102. er reads when receiving POST data To read more data you must use raw data filter or call ReadClient ISAPI extension MaxLogSize REG DWORD Default setting is 32 KB If this value is not set in the registry or if it is set to zero 0 no logging is performed Specifies the maximum size in bytes that a log file can become before it is rolled over MaxHeaderSize REG DWORD Default setting is 48 KB in the registry Specifies the maximum number of bytes that the Web Server will read of HTTP headers If the header size exceeds this value the Web Server will terminate the session and return a message to the client 400 Bad Request MaxConnections REG DWORD Default is not set in the registry If the value is not set in the registry MaxConnections will default to 10 Specifies the maximum number of simultaneous connections to the Web site After the maximum number of connections is established additional client requests will be sent a message 503 Server Too Busy Serveri D String Default is not set in the registry If the value is not set in the registry ServerlD will default to Microsoft WinCE X Y where X is the major version and Y is the minor version of Windows CE based device If ServerlD is set the Web Server returns the specified server name in the response header Identifies the server name that is included when the Web Server generates HTTP response he
103. escriptor of the USB SD SDHC card reader is in disk dev sdb and there is partition dev sdb1 Note The device descriptor might be different in your Linux PC If there is no partition in your SD SDHC card you have to use fdisk to partition 83 it first here we partitioned the SD as one partition New SD SDHC should have one partition already by default root dns3 fdisk dev sdb WARNING DOS compatible mode is deprecated It s strongly recommended switch off the mode command c and change display units to sectors command u Command m for help d Selected partition 1 Command m for help n Command action e extended p primary partition 1 4 D Partition number 1 4 1 First cylinder 1 19165 default 1 Using default value 1 Last cylinder cylinders size K M G 1 19165 default 19165 Using default value 19165 Command m for help w partition table has been altered Calling 1 to re read partition table Syncing disks root dns3 Next we need to format the SD SDHC card as ext3 file system by using mkfs t ext3 dev sdb1 command In FC you can also use mkfs ext3 dev sdb1 command root dns3 mkfs t ext3 dev sdbl APC 6410 User s Manual 84 Embedian Inc mke2fs 1 41 14 22 Dec 2010 Filesystem label OS type Linux Block s1ze 4096 log 2 Fragment size 4096 log 2 Stride 0 blocks Stripe width 0 blocks
104. esseaesececeesesaaececececsessaaeceeeeeceeseaaees 33 CHAPTER 4 HARDWARE REFERENCES eee ee eres ee eee etta seen testa sete etta setas setas seen aee 43 A FJUMPERS s emt at bem omnibas 43 4421 Jumper Locations sire eer ee EE Ree LI RR P RR RR 44 4 1 2 Listof JUMP CIS ss ii e Ee REDE ee e De 45 CESSIT IARE 45 JUMPS HE 46 4 2 CONNECTORS 48 4 2 1 Connector sie 49 42 23 Lisbof CORMECIOES 51 4 2 3 Connector Pin Assignments woes nar eseat aee E RE EE AE OAE EE Ra 53 CHAPTER 5 BACKUP AND RESTORE THE ROOT FILE SYSTEM IN SD CARD 80 5 1 BACKUP THE ROOT FILE SYSTEM IN SD 01 ener sesenta nnns 80 5 2 RESTORE THE ROOT FILE SYSTEM IN SD 83 Additional Packages ea E CR tian ute 86 CHAPTER 6 USING UBUNTU JAUNTY 2 0 0 1 90 6 1 BOARD SUPPORT PACKAGE 0 cccssccesssscecsessececssscecessncecsensececsecsecseseeecsesaeeeenseaecseseeeenenaees 90 ERR E a 90 6 1 2 45e e tes 91 OL SE BO0llfigs co erede C see diee
105. et filename to get a file from remote server to local device and use bye to exit the command mode You can also use wget command to get the file from webserver 115 6 10 FTP Server The ftp server is not included in the root file system by default However it is very easy to have one In this section we would like to take the vsftpd server as an example First we need to apt get install the vsftpd packages ubuntu amp ubuntu sudo apt get install vsftpd You can use netstat commad to check if the vsftpd has been successfully installed uwbuntu ubuntu etc apt netstat tul grep ftp 0 ftp ubuntu ubuntu etc apt If you saw the ftp has been LISTEN then means the vsftpd is running The default vsftpd is configured only allow the anonymous user to ftp in without password We now need to configure the etc vsftpd conf file ubuntuQubuntu sudo vim etc vsftpd conf Below are the common settings for vsftpd For advanced settings users can read the remarks from the same file anonymous enable NO YES means allow the anonymous user to login to ftp NO means not allow anonymous user to login to ftp chroot local user YES Uncomment this to restrict local users to their home directories and cannot change directory to other system directory local 022 Uncomment this will make the privilege of the upload file to 755 If comment out this line the default privilege of upload file is 700 loca
106. f itself This is especially important if the power supply wires will be subject to EMI RFI or 23 ESD If the system incorporates other external boards it is the responsibility of the designer or integrator to provide surge protection on the system input power lines APC 6410 User s Manual 24 Embedian Inc Chapter Quick Start Guide To save developer s time this Chapter gives a quick start guide of APC 6410 25 Chapter 3 Quick Start Guide These quick start guides are intended to provide developers with simple instructions on how to install APC 6410 from very beginning and have it monitoring your local device inside of 20 minutes No advanced installation options are discussed here just the basics that will work for 95 of users who want to get started This guide will lead you through the process of configuring installing and developing APC 6410 This guide was written to be as clear as possible and to provide only the details necessary to get you up and running with APC 6410 For more in depth information links to other chapters will be located where appropriate This chapter includes two parts This first part is Linux users and the second part is for Windows CE 6 0 users APC 6410 User s Manual 26 Embedian 3 1 For Linux Users Step 1 Extract Root Filesystem tarball to that SD SDHC card Figure 3 1 Extract Root FilesystemTarball to a SD SDHC card First of all you need a Linux PC and extract
107. g the SD SDHC card 2 0000002 00000 259 2 4 2 Using SD boot fusing NAND flash esee eene 260 APC 6410 User s Manual 6 Embedian Inc Chapter Introduction This Chapter gives background information on the APC 6410 Section include APC XPC embedded ARM XSCALE computer line family Block diagram Chapter 1 Introduction 1 1 Embedded ARM XSCALE Computer Line Family APC embedded ARM XSCALE computers are a new concept reliable low power and powerful embedded ARM based 3 5 SBC family of EMBEDIAN Every attempt is made to make it easy to use and like the experiences in x86 compatible SBC systems Usually users only need to re compile the original source code The APC product line is designed to meet the needs of embedded networking and graphical systems developers These embedded ARM XSCALE computer line family allow the use of the same chassis over the whole product line and maximize design reuse XPC embedded ARM XSCALE computer use the on board CPU flash memory and mobile DDR The SBCs themselves only need DC 5V to boot up APC 6410 User s Manual 8 Embedian 1 2 Block Diagram The following diagram illustrates the system organization of the APC 6410 Arrows indicate direction of control and not necessarily signal flow Figure 1 1 Figure 1 1 Block Diagram APC 6410 Block Diagram Details for this diagram will be explained in the following chapters Cha
108. ge to 5 Startup Action after Boot delay Launch Existing OS image from Storage This is to tell EBOOT to load the Windows CE 6 0 NK bin image from NAND flash to DDR RAM Second Press K to disable the KITL configuration That is to change from K KITL Configuration Enabled to K KITL Configuration Disabled 145 Users also set the boot delay interval between and NK by pressing 7 Third Before exit EBOOT menu remember to press to save the new configuration The Ethernet connectivity settings in EBOOT menu is for setting the network parameters for Ethernet download images from Platform Builder User need to choose Ethernet for both download and transport protocols in their PB target connectivity options And click on the setting button next to download and select the device when it shows up in the Active Target Devices window But Embedian suggests users use USB to download images because of the download speed is faster The IP address setting here will not be the same as Windows CE 6 0 NK image that is stored as HIVE registry After saving the EBOOT configuration by pressing W users can reset the system or press L to launch the Windows CE 6 0 NK bin image from NAND flash If you have ActiveSync program user can download this program for free from Microsoft s website installed in your Windows PC and the USB cable is connected to the device you
109. gin screen To re calibrate users can use the following command line ts calibrate Or user can be pending at the screen for a few seconds during boot process to re calibrate In this way no command line needed if users would like to do re calibration 87 Chapter Using Ubuntu Jaunty Jackalope 9 04 This Chapter details how to use the Ubuntu Linux of APC 6410 single board computer Section include Booting Default root pass and user Network Setting Manually add repositories Install Software Packages COM Port LCD GPIO FTP Client FTP Server APC 6410 User s Manual 88 Embedian Telnet SSH Server VNC server GDM LXDE Calibration and Touch Screen Kiosk Mode NAND Root File System Cross Toolchain 89 Chapter 6 Using Ubuntu Jaunty Jackalope Ubuntu 9 04 as known as Jaunty Jackalope is official released on April 23 of 2009 And Embedian is one of the first few companies to support Ubuntu 9 04 for ARM11 processors This Chapter gives an overall picture in regarding to the Ubuntu Linux 9 04 features that Embedian provided with for the APC 6410 single board computer This chapter gives an introduction in regarding to use the Ubuntu Linux 9 04 Jaunty Jackalope system on APC 6410 single board computers This guide is mainly focus on the topic related to Embedian s products This guide is not an official Ubuntu documentation But still a good reference for those people who are interested in Ubuntu 9 04
110. gt 2 15 1 116 gt 2 4 Iibcairo2 gt 1 2 4 libdbus 1 3 gt 1 0 2 libdbus glib 1 2 gt 0 78 Iibfontconfigl gt 2 4 0 libfreety gt 2 2 1 11 2 4 gt 2 13 5 libglade2 0 gt 1 2 6 1 libglib2 0 0 gt 2 16 0 Iibgnome2 0 gt 2 17 3 Iibgnomecanvas2 0 gt 2 11 1 1ibgnomeui 0 gt 2 22 0 Iibgnomev s2 0 gt 1 2 17 90 Iibgt amp 2 0 0 gt 2 16 0 libice gt 1 1 0 0 Iibnotifyl gt 0 4 4 libnotifyl gtk2 10 Iiborbit2 gt 1 2 14 10 Jlibpangol 0 0 gt 1 14 0 Iibpixman 1 0 116 812 0 gt 1 2 13 4 libpoptO gt 1 14 libsm libxll 6 Iibxcb render ut1l0 gt 0 2 10111 libxcb render0 libxcbl gt 1 1 92 libxml gt 2 6 27 libxrenderl zliblg gt 1 1 1 4 260 gt 2 10 1 2 wget gt 1 10 Conflicts epiphany extension gwget lt lt 0 97 1 gwget2 Filename pool universe sg gwget2 gwget 1 0 1 Qubuntul armel deb 230510 2 5 4 0 0 9 657 566 14 72 4 SHAIL e 1 95b0957af34be40c595ee9550505afaf aSc SHA256 942 2610934267751 71026461 6415 f6d495703c amp e amp al 7338d1871d259e44 Description GNOWE front end for wget Gweet offers a GNOWE front end to the popular wget application with enhanced features such as systray icon multiple downloads and powerful preferences manager Homepage http gnome org projects gwget Bugs https bugs launchpad net ubu
111. gth 6x8A ID 1 lt dwUersion 8x1 dwSignature 6x43465348 String dwImageType 8x2 duTtlSectors 6x6 dwLoadAddress 9 0 duJumpf ddress 0 6 duStore ffset 8x8 Invalid Image Descriptor id 2 6x6 chainInfo duLoad ddress 8X08880088 chainInfo dwFlashfAddress 6X66666606 chainInfo dwlength 6X66660666 INFO Eboot image stored to Smart Media Please Reboot Halting As of now you have successfully written the STEPLDR nbO and EBOOT bin files to NAND flash You can turn the power off and set the jumper to NAND boot and turn the power on again You should able to hear a short beep sound and see the splash screen on the LCD as shown in figure A 2 25 Figure A 2 25 EBOOT Slash Screen APC 6410 User s Manual 264 Embedian Inc Users now can go back to section A 2 3 to see how to restore upgrade the NK image from NAND flash by using EBOOT at NAND 265
112. he program will set the port to Low first by default and it will change to high when user click the High radio button 4 When the IO type is set to Input world by clicking Read Data button 195 Users can know the setting of outer 7 6 Logo Splash Screen Customizer Embedian provides a way to allow users to customize their own boot splash screen at EBOOT To achieve that users need to prepare for a bmp 555i file format first And then use the LogoGen exe program than Embedian provided to convert the 5551 file format into an EBOOT readable bin file format Figure 7 6 1 LogoGen Program LogoGen Image File D splashscreen desktop800x480 555i bmp Output File D splashscreen desktop800x480 S55i bin Width 800 Height 480 Start xX 0 Start Y 0 The program allows users set the image width height startX and startY parameters and convert to a EBOOT readable bin file format 7 6 1 Upload and save splash screen image into devices To upload the splash screen image into device go to EBOOT menu and press Z EVB Board SubTestMenu and then press 3 Logo Menu Users will see sub menu as shown in figure 7 6 2 APC 6410 User s Manual 196 Embedian Figure 7 6 2 EBOOT LOGO Menu DNW 0 60 For WinCE COM1 115200bps USB OK ADDR 0x50030000 Serial Port USB Port Configuration Help Switch Boot Device USB_DNW 4 Options Ethernet USB_Serial USB RNDIS USB_D
113. help k keep tokens 1 inactive INACTIVE 1 lock n mindays MIN DAYS password g guiet r repository REPOSITORY S status account u unlock w warndays WARN_DAYS x maxdays MAX DAYS password ubun tu ubuntu Example report password status on all accounts delete the password for the named force expire the password for the named display this help message and exit change password only expired set password inactive after expiration to INACTIVE lock the password of the named account set minimum number of days before change to MIN DAYS quiet mode change password in REPOSITORY repository report password status on the named unlock the password of the named account set expiration warning days to WARN DAY set maximim number of days before change to MAX DAYS Below is an example to create a user john with home directory and set his password APC 6410 User s Manual Embedian Inc ubuntuQubuntu sudo useradd m john ubuntuQubuntu sudo passwd john Enter new UNIX password Retype new UNIX password passwd password updated successfully ubuntu ubuntu 6 2 3 Delete a User To delete a user you can use userdel command ubuntuQubuntu userdel help Usage userdel options LOGIN Options f force force removal of files even 1f not owned by user h help display this help message and exit remove remove home directory and mail spool
114. ile to download in DNW If you want to quit press any key 247 Step 4 At USB Port Select Tramsmit gt Transmit as figure A 2 7 shown Figure A 2 7 USB Transmit for Download amp Run DNW 0 60 For WinCE COM1 115200bps USB OK ADDR 0 000000 Serial Port MNADA Configuration Help ttt Trent j Bulk BOOT gt Bulk px Test Spee Op Download amp Run is selected Select a file to download DNW If you want to quit press any key Download amp Run Donwload Only Upload Only Select Op Mode Program NOR Flash Suspend amp Resume On Off Check Suspend Current Select the function to test 8 Select a file to download in DNW If you vant to quit press any key A file browser will pop up and select the folder where you put the EBOOT nbO file Then the EBOOT will be download the DDR RAM and run You will see the EBOOT initiating image download in 5 seconds messages Press Space bar to enter the EBOOT menu during these 5 seconds as shown in figure A 2 8 APC 6410 User s Manual 248 Embedian 2 8 DNW 0 60 For WinCE COM1 115200bps USB xJ ADDR 0x50030000 Serial Port USB Port Configuration Help Reset to factory default configuration Startup Action after Boot delay Download New image Boot delay 5 seconds Read Configuration Write Configuration Right Now Kernel Booting Option Section KITL Configu
115. indows Environment Open up Windows Hyperterminal and set up the serial port 115200 8N1 A 2 1 1 Setup Server Client IP Address from Device Users need to install tftp server on Windows You can download the freeware and install to your Windows PC in the tftproot directory Copy the uboot bin zimage and nand6410 img into this directory Close your anti virus software like PC cillin Or close port 69 First power on the device with console debug port UARTO CN20 connected to your PC and Ethernet cable connected to local network and go to uboot command prompt by pressing any key at boot You will see uboot command prompt like this In serial Out serial Err serial found 09000 ID 900004846 09000 work in 16 bus width MAC 10 d 32 10 1 12 Ait any key to stop autoboot O SMDK6410 You can set and add the tftp ip address of the device and server by using setenv command as below SMDK6410 setenv ipaddr device ip SMDK6410 setenv serverip server ip After setting up the ip address use saveenv command to save the configuration Following figure shows the example for setting up the parameters Following figure shows the example for setting up the parameters EXAMPLE APC 6410 User s Manual 216 Embedian Inc SMDK6410 setenv 192 168 1 202 SUDK6410 setenv serverip 192 168 1 10 SMDK6410 saveenv Saving Environment to Erasing Nand Writing to Nand done SM
116. ite parameter is highly recommended fs means full screen vo to fbdev means to show video on top of frame buffer directly 6 19 NAND Root File System The inuxrc file in the NAND flash determines where the root file system should boot into This section mainly introduces the NAND file system 6 19 1 linuxrc The inuxrc is a program that is started in the start up stage of the kernel prior to the actual boot process This allows you to boot a small modularized kernel and to load the few drivers that are really needed as modules inuxrc assists in loading relevant drivers manually The use of inuxrc provides with the choices to boot into a small root file system in NAND or the Ubuntu 9 04 system in SD card If no press anything the default is set to boot into SD card The inuxrc file is located in the flash User can edit it if they purely want to use NAND flash as their main root file system There are two ways to access linuxrc First if user boot into SD Ubuntu file systems the NAND flash will be mounted automatically And user can just access the file that is located at nand directory ubuntuQubuntu cd nand ubuntu amp ubuntu nand 15 bin etc mnt root selinux tmp var dev lib lost4found proc sbin sys UST 6410 User s Manual 132 Embedian Inc ubun tu ubuntu nand Second users can boot in NAND flash first by pressing 2 NAND during the booting process The root pass is 7110 by default
117. iver that is required for active sync When plug the USB cable to the Windows PC at first time Windows will ask you to install the driver Just point to the directory where your USB driver placed and the installation will be done Connect the console port UARTO CN20 to your Windows PC first Make sure that the jumpers are properly configured 7 1 General Features 7 1 1 Board Support Package BSP The Embedian Board Support Package for Windows CE 6 0 is one of the most advanced BSPs available on the market Beside the standard Windows CE functionality it includes a large number of additional drivers as well as optimized versions of standard drivers The Embedian bootloader and BSP were designed to be very configurable This relieves the application developer from the burden of creating an own image Instead the necessary adaptations can be done by registry settings and adding files to the on board flash file system The BSP is available at Embedian FTP site at ftp ftp embedian com pub MXM 6410 WINCE60 Customers who follow the readme instruction in the BSP folder for Microsoft s Platform Builder will enable you to build exactly the same Windows CE image as Embedian provides by default 139 7 1 2 Drivers Embedian Board Support Package for Windows 6 0 is one of the most advanced BSPs available on the market Beside the standard Windows CE function The following drivers are integrated in the standard image that comes
118. l enable Yes Uncomment this to allow local users to log in write enable YES Uncomment this to enable any form of FIP write command After made the changes we need to restart the vsftpd server by ubuntu amp ubuntu etc aptf sudo etc init d vsttpd restart APC 6410 User s Manual 116 Embedian Inc Stopping FIP server vsftpd OK 1 Starting FIP server vsftpd 1 ubuntu amp ubuntu etc aptf And now you can use the common FTP client software like Filezilla to FTP files into the user home directory 6 11 Time and RTC Users can use date command to set the system runtime clock Z date MMDDhhmmYY The system clock will be restored to default at next reboot To save the system into hardware use the following command ubuntu ubuntu date 011315362002 Sun Jan 13 15 36 00 CST 2002 ubuntu amp ubuntu hwclock systohc root ubuntu 6 12 Telnet SSH Server The telnet and ssh server are default included in the root file system You can telnet or ssh to the device from a remote telnet ssh client such as putty 117 X PulTY Configuration Category Session Logaing Terminal Keyboard Bell Features Window Appearance Behaviour Translation Selection Colours Connection Data Proxy Telnet Rloain w SSH Serial Basic options for your PuTTY session APC 6410 User s Manual Specify the destination you want to connect to Host Name or IP address Po
119. lace a pause as the last line in the file Then when the batch file runs you will se the results on the Windows CE device 10 On the Windows CE device run the batch file 11 Test your software application 12 Create a Startup folder in the NandFlash folder 13 Paste a Shortcut to the batch file on the StorageCard 14 From the Desktop run the application and Save the Registry 15 Reboot the system The shortcut should run the batch file from the SD SDHC card 16 Test your software application 187 SAMPLE BAT md Windows Programs Copy filename Windows Programs md Program Files lt appname gt Copy filename Program Files lt appname gt Pause lt filename gt the file you wish to copy lt appname gt the application name md Make Directory command line function DOS Note1 Once the batch file is debugged remove the Pause from the last line and add Echo off as the first line Echo off will not display the batch file running Note2 The only way to make the applications permanent on the Windows CE device is to create a new Windows CE Operating Systems Image User can custom your own Windows CE Images by the BSP that Embedian supplied 7 4 Configure LCD parameters for different kinds of LCDs Users don t need to build from BSP to configure LCD parameters of various types Embedian allow users to configure the LCD parameters at EBOOT menu after configuring EBOOT will pass those parameters to NK Emb
120. le 4 11 Table 4 11 87654321 1 Ethernet RJ45 Double USB Host Connector Ethernet RJ45 and Double USB Host Type A Connector CN17 Ethernet RJ45 and Double USB Host Type A Connector Type TXD Transmit Data Differential Transmit Data Differential RXD Receive Data Differential Not Connected N N RXD Receive Data Differential Link and Ack Green USB1 5V USB1 supply max 500mA 2 USB1 Universal serial bus IO 5 Pino 1 6410 User s Manual 56 Embedian 3 USB1 Universal serial bus port 1 USB_GND USB Ground 5 USB2 5V USB2 supply max 500mA USB2 Universal serial bus IO 7 USB2 Universal serial bus M NN ee 2 USBt Universal serial bus ul 57 4 2 3 3 Graphic Interfaces 14 CN15 The APC 6410 use the graphic interface from CPU LCD controller and supports TTL level FPC type connector and LVDS connector The recommend resolution is 800x600 or less The following table shows the pin out of the graphic interface connector CN15 Location on Board F1 Table 4 12 LVDS Connector From CPU LCD Controller Header Pin Signal Name 76 eg s 2 35 am 7 9 1 2 1 4 15 3 3V or 5V VCC 3 3V or 5V Note CN21 is the 18 bit LVDS signal from CPU LCD controller In the 18 bit single pixel mode the RGB and
121. ls cycle hard wired rasterizer One texturing engine one bilinear filtered texel cycle each Nearest bilinear trilinear filtering 8 layered multi texturing support Fragment processing Alpha Stencil Z Dither Mask ROP Memory bandwidth optimization through hierarchical caching L1 L2 Texture caches Z Color caches Security Subsystem Chipset CPU internal AES accelerator ECB CBC CTR mode support DES 3DES accelerator ECB CBC mode support SHA 1 Hash engine H W HMAC support Random Number Generator PRNG 320 bit generation per 160 cycles FIFO Rx Tx two 32 word for input and output streaming DMA to SDMA1 Security DMA 1 SPI Chipset CPU internal 2x7 pin header Compatible with 2 ch Serial Peripheral Interface Protocol version 2 11 2x8 bits Shift register for Tx Rx DMA based or interrupt based operation Watchdog Timer WDT Chipset CPU internal 16 bit Watchdog Timer Interrupt Request or System Reset at Timeout Touch Panel Interface Chipset CPU Internal 10 bit CMOS ADC 4 wire FPC connector onboard Buzzer Chipset Advanced Acoustic Technology AS9051 APC 6410 User s Manual 16 Embedian Inc Rated Frequency at 2731 200 Hz PWM Frequency Control Sound Output 85dBA CAN BUS Only on Project Based JTAG Male 2 54 mm 2x10 header Real Time Clock RTC Chipset CPU internal RTC backup battery on board BIOS Universal Bootloader u b
122. m 2 Lock amp Un lock ECC ROM Code Function Performance Full Function 2 3 gt Select the function to test 5 Select 5 5 Binary program and you will see the following screen Select the function to test 5 NANDT ProgramBinary Caution You must put BINARY file into 0 51000000 before programming Input the Block Number to write 0 2047 237 At Input the Block Number to write 0 2047 enter 0 At Input the Page Number to write O 63 enter 0 At Input the Size to program Bytes enter 196618 This is shown as following Input the Block Number to write 0 2047 0 Input the Page Number to write 0 63 0 Input the Size to program Bytes 196618 NAND Program Complete 2 Read ID Reset command View Invalid Block 2 Page Read amp Write Block Erase Binary program 2 Lock amp Un lock 2 IROM Code Function Performance 2 Full Function 0 L 2 3 NAMA S Select the function to test Now you have successfully write uboot bin into NAND flash You can remove the jumper block on JP1 and you will see the uboot booting up U Boot 1 1 6 Sep 30 2009 16 59 05 for SMDK6410 CPU S3C64100 666MAZ Fclk 666MHz Hclk 1335MHz Pclk 66MHz Serial CLKUART ASYNC Board SMDK6410 DRAM 128 MB Flash 0 kB NAND 128 MB APC 6410 User s Manual 238 Embedian Inc Warning bad CRC or using def
123. mper you connect the pins with the clip To open a jumper you remove the clip Sometimes a jumper will have three pins labeled 1 2 and 3 In this case you would connect either pins 1 and 2 or 2 and 3 1 2 3 u oe jumper settings are schematically depicted this manual as follows 412 8 Closed Closed 2 3 A pair of needle nose pliers may be helpful when working with jumpers If you have any doubts about the best hardware configuration for your application contact your local distributor or sales representative before you make any change Generally you simply need a standard cable to make most connections 47 4 2 Onboard connectors link the APC 6410 to external devices such as LCD panel a keyboard an audio headset or CompactFlash and to external communication such as 802 11 USB or Ethernet link The table below lists the function of each of the board s connectors APC 6410 User s Manual 48 Embedian Inc 4 2 1 Connector Location Figure 4 2 Top Side of Connector Locations Top Side n e Lu ae ehordian com 49 Figure 4 3 Bottom Side of Connection Locations Bottom Side O 6410 User s Manual O Dooo ooono oo
124. n Inc A 2 4 Restore firmware in NAND flash from SD Boot Embedian also provides a very useful way to recover the firmware in NAND flash from SD card To brief how this be done use needs to use the PC tool to write the EBOOT bootable file to a SD card first and then plug that SD card into the device Set the hardware configuration to SD boot and user will see the EBOOT menu Details will be described in the following sections A 2 4 1 Using PC Tool to Fusing the SD SDHC card 1 Users should format the SD SDHC card as FAT32 file systems 2 Run IROM_Fusing_Tool exe Note for only SD MMC HSMMC card only not SDHC card Using IROM Fusing Tool SDHC exe instead if SDHC cards 3 Click the browse button to choose IROM_SD_BOOTUP nb0 Note this file already combined the stepldr nbO just fusing this file will be fine enough 4 Choose the storage drive that SD card is mounted on If you choose NOT SD card storage drive like HDD drive It might make a serious problem on your HDD Please Make sure that storage drive is right Figure A 2 19 Use PC Tool to Fusing SD IROM Fusing Tool SD MMC Drive Drive Size Image File to Fuse D irom IROM_SD_BOOTUP nbO The image file will be Fused from on START 5 Click START button 259 Figure 2 20 Use Tool to Fusing SD Done SD MMC Drive Dau sectors Image file to fuse D irom IROM_SD_BOOTU The image file will be Fused from 7
125. n Inc RX packets 95 0 dropped 0 overruns 0 frame 0 IX packets 3 0 dropped 0 0 carrier 0 collisions txqueuelen 1000 RX bytes 12326 12 3 KB bytes 158 158 0 B Interrupt 72 Base address 0xe300 ubun tu ubuntu Users can use ifconfig to change the IP address at runtime Example Below is an example to change the IP address to 192 168 1 122 and netmask to 255 255 255 0 at runtime ubuntu ubuntu sudo ifconfig ethO 192 168 1 122 netmask 255 255 255 0 up ubuntu ubuntu Note Every MAC address on board will be mapping to Embedian s serial number and is compliant to ISO IEC 8802 standards The MAC address is written on EEPROM of the board at factory and Linux kernel driver will read it automatically There is no way that users can change it from root file systems 39 Step 6 LCD If you need to connect an LCD use a FPC cable or LVDS cable depending on the type of LCD connect to SBC first Check if JP2 and JP4 are configured properly The FPC cable at the board side CN14 is top contacted You will need to power the backlight yourself The LCD backlight jumper block JP4 can be set to determine if the pin 1 of CN9 is bypassed from 3 of CN8 5V or pin2 of CN8 12V APC 6410 provides users with or 12V bypass path from pin 2 or pin of CN8 to pin 1 of CN9 for the backlight connection Figure 6 shows the LCD connection Figure 3 12 LCD Conne
126. n code int in strmSize IN Size of video stream filled in STRM BUF int out width OUT width of YUV420 frame int out height OUT height of YUV420 frame 8 1 5 4 DEC EXE ARG MFC DEC EXE ARG int in strmSize int ret code OUT Return code IN Size of video stream filled in STRM BUF 8 1 5 5 GET BUF ADDR ARG MFC DEC INIT ARG int ret code OUT Return code int in usr data int out buf addr IN User data for translating Kernel mode address to Usermode address OUT Buffer address int out buf size OUT Size of buffer address 213 Appendix Linux Firmware Update This Chapter details how to update Linux firmware in NAND flash Section include Firmware Architecture Update Firmware from uboot Update Firmware from NOR flash APC 6410 User s Manual 214 Embedian Inc Appendix APC 6410 Linux Firmware Update This Chapter details firmware upgrade for APC 6410 when using Linux as the operating systems The firmware NAND flash includes uboot kernel zlmage and nandfs image A 1 Firmware Architecture Figure A 1 shows the firmware architecture of Linux in NAND Flash 0x0 u boot Ox40000 kernel zimage 05150000 0 200000 MANDFS Ox40000 x e00000 Ox6000000 126M B NAND Flash Figure A 1 Firmware Architecture of Linux in NAND Flash The uboot bin partition starts from NAND ad
127. n setting under this situation you APC 6410 User s Manual 100 Embedian Inc need to modify the etc udev rules d 70 persistent net rules file first time when you replace the CPU module ubuntuQubuntu sudo vim etc udev rules d 70 persistent net rules And delete the following lines net device SUBSYSTEM net ACTION add DRIVERS AlTR address 10 0d 32 10 01 1 2 type 1 KERNEL eth NAME eth0 After next reboot or network restart Ubuntu will generate the new settings into this file to this file to fix the network device interface 101 6 4 Manually Add Repositories Do this at your own risk Modify the default Ubuntu sources list only if you understand what you re doing Mixing repositories can break your system For more information see the Ubuntu Command line Repository quide Create a backup of your current list of sources ubuntu ubuntu sudo cp p etc apt sources list etc apt sources 1151 backup ubun tu ubuntu Note 1 sudo runs the command with root privileges co copy p prompt to overwrite if a file already exists 2 Edit the list of sources ubun tu ubuntu sudo vim etc apt sources list The default repositories are After modified the sources list you need to run apt install update to acquire the update packages ubuntu amp ubuntu sudo apt get update 3 To use your local mirror you can add xx before archive ubun
128. nd user hv as explained later Manually NandFlash can be reformatted as follows Note that in case 151 the 00 of the NandFlash folder is manually formatted users need to go to eboot menu to recover the NK at next boot 1 Go to Start gt Settings gt Control Panel gt Storage Manager 2 Choose the one label with DSK1 Microsoft Flash DISK from Store Info and choose Part01 The asterisk sign represents that this partition has been mounted from Partitions Figure 7 3 4 Storage Manager Control Panel Storage Properties IX Storage Manager Store Info Microsoft Flash iv Capacity 127 00 Unallocated 0 008 Sector Size 2 00 kB Format Dismount Partitions 3 Click Properties 4 Click Dismount 5 Click Format APC 6410 User s Manual 152 Embedian Inc Figure 7 3 5 Format Part01 of NAND Flash Format Partition Size 96 0 FAT Version exXFAT Number of FATs 1 Storage Root Entries Cluster Size Quick Format 6 Click Start 7 Click Yes 8 Click OK 9 Click Mount 10 Click OK 11 Exit out of Storage Properties by Clicking OK The user partition of NAND flash has been formatted now 7 3 3 3 Persisting the Registry WinCE Hive Based Registry has been well implemented hive based registry stores the registry data in files or hives which can be kept on any file sys
129. nel will take over the system The linuxrc is a program that is started in the start up stage of the kernel prior to the actual boot process This allows you to boot a small modularized kernel and to load only few drivers that are really needed as modules linuxrc assists in loading relevant drivers manually The use of linuxrc provides with the choices to boot into a small root file system in NAND or the Ubuntu 9 04 system in SD SDHC card The default is set to boot into SD SDHC card if no key is pressed during boot process Root Filesystem Selection 1 SD Card 2 NAND Please enter your choice Boot from SD Partition 1 The NAND file system is in ext3 format and can be served as a disk based rescue system or for some simpler applications that don t need a SD root file system at all For more details in regarding to NAND file system users can refer to section 6 15 If you have LCD attached users should be able to see the following gdm login screen showing on your LCD APC 6410 User s Manual 92 Embedian Inc Username 93 6 2 Default root pass and user The default root password is mxm6410 and default user is ubuntu and the ubuntu user default password is also mxm6410 6 2 1 Create a User To add a user you can use useradd command ubuntu ubuntu useradd help Usage useradd options LOGIN Options b base dir BASE DIR base directory for the new user account home directory c comment COMMENT set the GECO
130. not set in the registry If the value is not present the registry the Web Server will use default htm index htm Specifies a list of page names separated by semicolons that indicates names interpreted by the Web Server to be default pages When browsing a directory the Web Server traverses this list searching for a file of the same name in the directory If the file exists it is sent to the client If no matching file exists the Web Server sends a directory listing or returns an error depending on whether directory browsing is enabled more than one DefaultPage file name is matched the Web Server uses the first matching file name AdminUsers String Default not set in the registry Specifies a list of user names separated by semicolons A user who has gained user access must be listed in this key to gain Administrator access LogFileDirectory String PostReadsSize REG DWORD Default setting is windows www directory If the name is not set or if the specified directory is inaccessible no logging is performed Specifies the name of the directory where the logging files are created If the value is not set in the registry PostReadSize will default to 48 KB The Web Server uses a minimum value of 8192 bytes 8 KB If the value in the registry is less than 8 KB the value is ignored and the Web Server will use 8 KB 177 Specifies the maximum number of bytes that the Web Serv
131. ntu f1lebug Origin Ubuntu ubun tu ubuntu Note that the exact name of the package should be entered For example ubuntu ubuntu apt cache show flash W Unable to locate package flash E No packages found ubun tu ubuntu This does not yield any result since flash is not the name of a package APC 6410 User s Manual 106 Embedian Inc 6 5 6 Installing a software apt get install Assume we want to install firefox We type ubuntuQubuntu sudo apt get install firefox 6 5 7 Removing a software apt get remove To uninstall a package we can proceed in two ways Either 1 we uninstall only the software or 2 the software and its configuration files In the first case assuming we want to uninstall the mplayer software we type ubuntuQubuntu sudo apt get remove mplayer In the second case if we want to uninstall both mplayer and its configuration files we type ubuntuQubuntu sudo apt get remove purge mplayer 6 5 8 Updating the software list apt get update Updating a list of software is not the same as updating the software per se Only the list is actually updated sudo apt get update 6 5 9 Upgrading the software apt get upgrade The upgrade command installs the most recent versions of all packages on the system ubuntuQubuntu sudo apt get upgrade To simulate an update installation i e to see which software will be updated we type ubuntuQubuntu sudo apt get
132. ollowing way ubuntu amp ubuntu sudo mknod dev epioctl c 253 0 ubuntu ubuntu Below is the sample code for GPIO This program demostrates the of APC 7xxx GPIO ports by using device descriptor Device Descriptor dev gpioctl Operations Read Returns GPIO Port Descriptor representing current GPIO settings Write Setup the GPIO ports by using GPIO Port Descriptor GPIO Port Descriptor The GPIO Port Descriptor contains 12 bytes each for one GPIO port from JO to 711 Each byte has following format Bit 3 2 Function 0 Input 1 Output 2 Special 3 Reserved Brt 1 Pullup 0 Enable 1 Disable Brt 0 Data 0 Low 1 High Zinclude Zinclude Zinclude Zinclude Zinclude Zinclude 111 char dev desc 4 struct gpioctl desc unsigned int dat l bit 0 unsigned int pullup 1 bit 1 unsigned int func 2 bit 3 2 attribute packed void inline byte to desc unsigned char byte struct gpioctl desc gpio gpio gt dat byte gt gt 0 amp 0 1 gpio gt pullup byte gt gt 1 amp 0 1 gpio gt func byte gt gt 2 amp 0x3 void inline desc_to_byte unsigned char byte struct gpioctl_desc gpio gpio func amp 0x3 2 gpio pullup amp 0 1 lt lt 1 I gpio dat amp 0 1 lt lt 0 int read dev unsigned char buf struct gpioctl desc gpio malloc siz
133. on and Dump Flash EXPE CY TEE Download and Launch Section Switch Boot Device USB_DNW Options Ethernet USB Serial USB RNDIS USB_DNW Download Target Download to RAM Download or Program 05 image will be launched LAUNCH existing Boot Media image GPIO Registers Print Enter your selection d TOC Write TOC Write INFO unsigned t IsrHandler 8x888699F8 INFO unsigned ASM_IsrHandler 8x868869E38 INFO unsigned pISR BxEAB1A784 System ready Preparing for download INFO Device Name SMDK641617493 xxx Please send the Image through USB At USB Port Tab select UBOOT gt UBOOT as shown in figure A 2 9 Note because we are going to write image to NAND flash choose UBOOT instead Transmit Here is different from that in step 4 A file browser will ask you to select a file that you would like to write to NAND flash Find the file STEPLDR nbO0 in your and click And you will see the following screen as shown in figure A 2 10 APC 6410 User s Manual 250 Embedian Figure A 2 10 Write STEPLDR nb0 to NAND DNW v0 60C For WinCE COM1 115200bps USB OK ADDR 0x50030000 SBA Serial Port USB Port Configuration Help INFO Device Name SHDK 41017493 xxx Please send the Image through USB BL_IMAGE_TYPE_MANIFEST BL_IMAGE_TYPE_UNKNOWN Download BIN file information dwStartAddr 6x6 dwlength 6x2668 EHUerifyMemory Stepldr image ImageStart 9 8 ImageL
134. oot image 2 EUB Board SubTesthenu Enter your selection Step 2 First of all press 5 Startup Action after Boot delay Launch Existing OS image from Storage to tell EBOOT to load the NK from NAND flash because we are going to erite NK to NAND flash later The default setting should be 5 Startup Action after Boot delay Download New image Press 5 to change it Next press K KITL Configuration Disabled to disable the KITL Press W to save this configuration first And next press F Format Boot Media for BINFS with BadBlock Marking to Reserved Block This is to format the NK area as BinFS file system and mark the bad blocks in NAND flash You will see the following message shortly and then enter into the EBOOT menu again Enter your selection f Reserving Blocks 0xO 0x5 Wait for completion APC 6410 User s Manual 254 Embedian Reserving is completed The last step is to writing NK bin image into NAND flash by pressing D Download or Program image OS image will be launched And you will see the following screen as shown in figure A 2 15 KITL Transmit Mode Interrupt Forc Rx Test D AMXM6410 CE EBOOT bin DAMEM6410 CESTEPLDR nb Erase Reserved Block Stepldr Eboot Format Boot Media for BINFS with BadBlock Marking to Reserved Block Nand Information and Dump NAND Flash Download and Launch Section Switch Boot Device USB_DNW Op
135. oot e Dual BIOS Support Ethernet TFTP download Booting from NAND Flash Technology Eboot for Wondows CE 6 0 Dimension Length x Width 102mm x 145mm 4 0 x 5 7 Operating System Linux 2 6 24 Ubuntu Linux 9 04 Supports BIOS Kernel rescue root filesystem stored in NAND flash and Rootfs in SD SDHC card e Windows CE 6 0 Cross Tool Based on gcc 4 2 2 Support EABI Support for Cortex M1 ARMV6 M CPUs Improved code generation for Cortex A8 and Cortex R4 CPUs humb 2 GLIBC binaries Package List 1xAPC 6410 17 1 x DUART Cable Only on first purchase Document Deliverable uboot source and binary kernel source and binary nandfs root file systems cross toolchain user s manual Ordering Information APC 6410 normal temperature APC 6410 E extended temperature 25 C 8 C 2 2 Mechanical Specification The APC 6410 series embedded ARM XSCALE computer boards is standard 3 5 102mm x 145mm form factor in size This section describes the component dimensions and mounting of the board Detailed drawings are available from Embedian for production customers 2 2 1 Dimensions Length x Width 102mm x 145mm 4 0 x 5 7 2 2 2 Mechanical Drawing The following mechanical drawing specifies the dimension of APC 6410 as well as key components on the board All dimensions are in mini meters APC 6410 User s Manual 18 Embedian d 4
136. ord to use the server You can also set the domain variable in the DefaultDomain registry value which is located under HKEY_LOCAL_MACHINE Comm Redir registry key 7 3 6 FTP Server The FTP server in the factory installed image is configured with no access restrictions You should disable the FTP server or restrict access to it before deploying the APC 6410 or connecting to an unsecured network The FTP server is not started on APC 6410 hardware at boot by default To turn on the FTP service users need to enable the sEnabled registry key setting under the HKEY LOCAL MACHINE CommFTPD registry key Figure 7 3 14 and figure 7 3 15 show how to enable the ftp service 161 Go to Start gt Programs gt regedit Figure 7 3 14 regedit Utility MxXM 6410 2 Device Recycle Bin gt Media Player 7 Windows Embedded CE 6 0 E v6 00 Build 0 17 2009 Programs orsus Pm registry settings are under the HKEY_LOCAL_MACHINE Comm FTPD registry key Double click the IsEnabled registry key set it from 0 to T Figure 7 3 15 Enable Ftpd Service 6410 File Zoom Tools Help DMSISA DMSISA1 C3 e Firewall 00000001 1 171 00000001 1 E H UDPZ 00000001 1 NE20001 PPTP 0000012 300 PPTP1 00000002 2 Redir 00000017 23 RndisFn i Windows C3 RndisFni
137. ore the NAND flash firmware from NOR flash The following are the detail step by step procedures Step 1 First of all we recommend you press 3 Erase All Blocks to erase everything in NAND flash Next press 6 Download Media Device USB_DNW to choose USB DNW P and press 7 Start to Download You will see the following screen shown as figure A 2 22 261 Step 2 Figure A 2 22 Writing image to NAND flash at SD Boot DNW v0 60C For WinCE COM1 115200bps USB OK ADDR 0x50030000 Serial Port 717 Configuration Help Transmit gt Rx Test 5 Recovery edian Inc www Embedian com Network Settings IP address 169 254 1 161 Subnet mask 255 255 255 0 DHCP Enabled NAND Flash Operation Erase All Blocks Erase Reserved Block Stepldr Eboot Format Boot Media for BINFS with BadBlock Marking to Reserved Block Download Media Device USB_DNW 5 Options Ethernet USB_ Serial USB_RNDIS USB_DNW Start to Download Enter your selection 7 System ready Preparing for download INFO Device Name SHDK61188 xxx Please send the Image through USB At USB Port Tab select UBOOT gt UBOOT as shown in figure A 2 22 A file browser will ask you to select a file that you would like to write to NAND flash Find the file STEPLDR nbO in your PC and click And you will see the following screen as shown in figure A 2 23 APC 6410 User s Manual 262 Embedian
138. ouble RS232 Header CN20 HEADER DIP 10 2P 180D MALE 2 0mm Pin Signal Name Function Type Not Connected 2 Not Connected 3 Receive Data 4 Ready to Send 18 47 5 Transmit Data 6 Clear To Send 7 Not Connected 8 9 C C C Not Connected Ground C C C Shield Ground Earth N N Not Connected N NCO NC oo Not Connected 13 Receive Data 14 Ready to Send 15 Transmit Data 16 Clear To Send Not Connected Not Connected 19 GND2 Ground 20 Shield Ground Earth Note A 2x10 way header to two DSUB 9 way cable is available from Embedian 63 also serve as console output APC 6410 User s Manual 64 Embedian Inc CN22 Location on Board C7 Table 4 16 SPI and RS232 422 485 Connector Table 4 16 SPI and 422 485 Connector CN22 HEADER DIP 7 2P 180D MALE 2 0mm Header Pin RS422 GND Shield XD RXD RXD Signal Name Type 7 SPIMISOO Master mode I O data input Slave mode data output SPIMISO1 Master mode I O data input Slave mode data output SPIMOSIO Master mode I O data output Slave mode data input 10 SPIMOSI1 Master mode I O data output Slave mode data input SPICLKO SPI Clock VO SPICLK1 SPI Clock VO 13 nSSO SPI Chip 14 551 SPI Chip e Note RS422 485 pin 1 6 of CN22 share with UART1 pin 11 20 of CN20 that means UART1 and RS422 485 cannot be used simultaneously 65 by the jumper settings of J
139. panel the panel can generate menu for installed applications automatically from desktop files It can be configured from GUI preference dialog and there is no need to edit config files The component provides a Run dialog with autocompletion LXSession session manager LXSession manager is used to automatically start a set of applications and set up a working desktop environment Moreover the session manager is able to remember the applications in use when a user logs out and to restart them the next time the user logs in LXSession Edit window manager used in LXDE can be changed ability to turn on disabled applications LXAppearance theme switcher You can change the theme icons fonts used by applications easily Leafpad text editor Xarchiver archiving GPicView image viewer GPicView features lightening fast startup and intuitive interface LXTerminal terminal emulator LXTask task manager system monitor LXNM lightweight network connection helper daemon for LXDE supporting wireless connections Linux only Openbox window manager obconf LXRandr screen manager manages screen resolution and external monitors LXShortCut an easy way to edit application shortcuts LXMusic minimalist xmms2 based music player LXDE Common the default settings configuration file for integrating the different components of LXDE LXDE Common manages the system behavior and functions
140. per group Superblock backups stored on blocks 32768 98304 163840 229376 294912 819200 884736 Writing inode tables done Creating journal 8192 blocks done Writing superblocks and filesystem accounting information done This filesystem will be automatically checked every 38 mounts or 180 days whichever comes first Use tune2fs c or 1 to override root apc7110 4 Mount the partition 1 of the SD card as mnt and cd to mnt directory root apc7110 mount t ext3 dev mmcl mnt kjournald starting Commit interval 5 seconds EXT3 FS on hdal internal journal EXT3 fs mounted filesystem with ordered data mode root apc7110 cd mnt root apc7110 5 Ftp the rootfs tarball into this directory Let s assume that the root system is located at 192 168 1 10 ftp server root apc7110 ftp 192 168 1 10 Connected to 192 168 1 10 220 VsFIPd 2 2 2 Name 192 168 1 10 root eric 331 Please specity the password Password 230 Login successful Remote system type 1s UNIX Using binary mode to transfer files ftp get u904 090930 tar gz 200 PORT command successful Consider using PASV APC 6410 User s Manual 134 Embedian Inc 150 Opening BINARY mode data connection for 90 090930 tar gz 219759103 bytes 226 Transfer complete 219759103 bytes received 77 1 seconds 3124731 bytes s ftp 6 Extract this tarball You might need to set the system time
141. pes of LCD resolution parameters EBOOT and pass to NK Splash Screen Display default start up screen while Windows CE is booting APC 6410 User s Manual 142 Embedian Inc ActiveSync Support Microsoft Active Sync via USB 2 0 or serial port Hive Based Support Hive Based Registry Rigistry AutoStart Automatically execute programs upon system boot or upon removable media insertion AutoCopy Automatically copy files to the RAM file system upon system boot or upon removable media insertion This for example can be used to add items to the Windows CE START menu button GPIO Customizer Each GPIO can be configured to act as input output high low or an interrupt source at EBOOT and NK Flushing Registry will be saved to Flash immediately on Registry on changes Registry will be kept anytime even when Changes power failure SplashScreen Show your own screen while Windows CE is Customizer booting NAND Flash To recover the firmware in NAND flash from NOH Writer flash or SD by jumper setting Registry Editor To edit registry locally or remotely Remote Display To see device desktop and control it without panel attached 143 7 2 Turn the power of the device You should be able to hear short beep If you attached an LCD to the device you will be able to see the splash screen as in figure 7 2 1 Figure 7 2 1 EBOOT Splash Screen To enter EBOOT menu configuration
142. power off and set the JP1 jumper to NAND boot and turn the power on again You should able to hear a short beep sound and see the splash screen on the LCD as shown in figure A 2 12 Figure A 2 12 EBOOT Slash Screen APC 6410 User s Manual 252 Embedian Inc Next section we are going to introduce how to restore upgrade the NK image from NAND flash by using EBOOT A 2 3 Restore NK image from EBOOT In previous section we detailed how to restore upgrade the steploader and EBOOT from NOR flash utilities Once you have steploader and eboot up and running in NAND flash You can use the EBOOT to restore or upgrade the NK image Same as section 3 1 first you need to connect the serial console cable from serial console port UART 0 in CN20 of Embedian SBC of device to the COM port of your Windows PC And connect a USB cable from USB device port CN19 of Embedian SBC to USB host port of your Windows PC In Serial Port of your dnw program click on Connect and power on device In Configuration of dnw program at Options set the COM port as the following setting of figure A 2 13 And the USB Port Download Address is 0x50030000 this is the DDR DRAM address where the program will be executed The baud rate is 115200 and the host COM port is this example is COM 1 Figure A 2 13 COM and USB Port Setting of DNW Program 0 60 For WinCE COM1 115200bps USB x ADDR 050030000 UART USB Options Serial Port Baud Rate
143. pter Specifications This Chapter contains specifications of APC 6410 Section include Functional specifications Mechanical specifications Electrical specifications Environmental specifications MTBF EMI RFI and ESD protection APC 6410 User s Manual 10 Embedian Inc Chapter 2 Specifications This chapter gives an overall specification for APC 6410 APC 6410 is an SBC based on Samsung S3C6410 ARM1176JZF S core processor clocking at 667Mhz that integrated Multi Format Codec MFC co processor supports encoding and decoding of MPEG4 H 263 H 264 and decoding of VC1 This H W Encoder Decoder supports real time video conferencing and TV out for both NTSC and PAL mode Additional graphic 3D engine is a 3D Graphics Hardware Accelerator which can accelerate OpenGL ES 1 1 amp 2 0 rendering APC 6410 features state of the art technology aiming at low power systems that require high CPU performance They also provide all the interfaces needed in a modern embedded device It can be applied to the general purposed embedded application or multimedia related embedded application by taking advantages of the MFC co processor With Linux and Windows CE 6 0 supported users can easily develop their original application from other platform or develop a new application on this platform The specification in this chapter includes functional mechanical electrical and environmental specifications 2 1 Functional Specifications Processor
144. r 8 RegisterInterrupt Done SetupFilter 8 Done WinCE Version 600 xxx FIMG VERSION 0 1050000 If you have ActiveSync program user can download this program for free from Microsofts website installed in your Windows PC and the USB cable is connected to your device you should be able to see the ActiveSync program pop out and ask you to set up a partnership as shown in figure A 2 17 APC 6410 User s Manual 256 Embedian Set Up a Partnership Before you can synchronize information between your mobile device and this computer you must set up a partnership between them Would you like to set up 4 partnership O Yes Set up a partnership so that can synchronize information between my device and this computer don t want to synchronize information Set up my device as a quest so that can copy or move information between my device and this computer lt Select and click Next of your ActiveSync program 257 If you have LCD connected to the device you should be able to see the Windows CE 6 0 desktop screen as following now You can also use the remote desktop tool to see the desktop Figure A 2 18 Windows CE 6 0 Desktop WindowsCE Ele Zoom Tools Help Device e Recycle Bin 9 tl Media Player Windows Embedded CE 6 0 Now we have done the firmware restore upgrade of the Windows CE system APC 6410 User s Manual 258 Embedia
145. r PC Temporary address is base address of DRAM Default is set to 0x50000000 From the log we also learned that the file size is 1764420 bytes 1aec44 bytes in HEX Write the zlmage image from DRAM to the NAND by using nand write command Again we need to erase the contents in this partition first SMDK6410 erase Ox40000 0 200000 erase device 0 offset 0 40000 size 0 200000 Erasing at 0x220000 100 complete OK SMDK6410 This is to erase the NAND flash content in the second partition SMDK6410 write 50000000 0x40000 147000 NAND write device O offset Ox40000 size Oxlaf000 1765376 bytes written OK SUDK6410 Temporary address is base address of DRAM i e 0 50000000 Start NAND address is 0x40000 Image size of zlmage is 161800 HEX Note This image size of 2 when tftping is 1 44 Hex but the image size we write to NAND flash is 1 00 Hex This is because the minimum size to write to this NAND flash is 1 page 2K bytes in decimal 800 bytes in HEX It is therefore the image size that writing to NAND flash has to be a multiple of 800 nand6410 img 219 After writing uboot bin and kernel 2 images to NAND flash the last step is to write NAND root file system nand6410 img image There are some differences from the above uboot bin and zlmage The mobile DDR size is 128MB only If your NANDFS size is big like Embedian default nand6410 img is 126
146. r easier emacs goodies el Miscellaneous add ons for Emacs weet retrieves files from the web abcde A Better CD Encoder apt mirror APT sources mirroring tool apt zip Update a non networked computer using apt and removable media axel light download accelerator console version axel dbg light download accelerator debugging symbols axel kapt light download accelerator graphical front end epiphany extension gwget Gweet extension for Epiphany web browser gtm Multiple files transfer manager GNOME front end for wget mirror keeps FIP archives up to date puf Parallel URL fetcher snarf A command line URL grabber weet el an interface for wget on Emacsen wput A tiny wget like ftp client for uploading files ubuntu ubuntu This command displays software packages containing the expression wget APC 6410 User s Manual 104 Embedian Inc 6 5 5 Properties and information of a software apt cache show To display information related to a package for instance the gwget package we proceed as follows ubuntu ubuntu apt cache show gwget Package gwget Priority optional Section universe gnome Installed Size 1336 Maintainer Ubuntu MOTU Developers Original Maintainer Arnaud Fontaine Architecture armel Source gwget2 Version 1 0 1 Qubuntul Replaces gwget2 Provides gwget2 Depends libart 2 0 2 gt 2 3 18 libatkl 0 0 gt 1 20 0 Iibbonobo2 0 2 1 5 0 libbonoboui2 0
147. rameter Modify and then press 3 Modify one of then You will see the following menu LCD Parameter Modify by each 1 RGB Mode 2 Width APC 6410 User s Manual 190 Embedian 3 Height 4 Bits Per Pixel 5 Vertical Back Porch 6 Vertical Front Porch 7 Vertical Pulse Width 8 Horizontal Back Porch 9 Horizontal Front Porch A Horizontal Pulse Width B VCLK Polarity C HSYNC Polarity D HSYNC Polarity F VDEN Polarity G PNR Mode H VCLK Direction Frame Rate E Back You can set each of them by just choose them Following figure shows the setting of each parameter 191 Figure 7 4 3 Configure LCD Parameters DNW 0 60 For WinCE COMI 115200bps USB OK ADDR 0x50030000 EIE Serial Port USB Port Configuration Help LCD Parameter Modify 1 Parameter How 2 Use Default 3 Modify one of then E Exit Select LCD Parameter Modify by each RGB Hode Width Height Bits Per Pixel Uertical Back Porch Uertical Front Porch Uertical Pulse Width Horizontal Back Porch Horizontal Front Porch Horizontal Pulse Width UCLK Polarity HSYNC Polarity HSYNC Polarity UDEN Polarity PNR Mode UCLK Direction Frame Rate After done with the setting press E to exit to the main menu and press W to save the parameters The EBOOT will pass the new LCD parameters to NK and you should see the new LCD configuration at next boot APC 6410 User s Manual 192 Embedian Inc 7 5
148. rase the multi block multiples of 2 0 2047 0 Input the Block Number to erase multiples of 2 2 2048 2048 Skip invalid block 750 Skip invalid block 1504 NAND Erase Block 0 2047 Block Success 0 Single Block Erase 1 Multi Block Erase 2 Non_Check Invalid Data Single block erase 3 Non Check Invalid Data Multi block erase Select the function to test APC 6410 User s Manual 232 Embedian Inc Press Enter to exit to the previous screen and to the main screen S3C6410 Test firmware v0 1 System ID Revision 0 Pass 1 ARMCLK 532 00MHz HCLKx2 266 00MHz HCLK 133 00MHz 66 50MHz VIC mode Sync Mode rSPCUN Oxbtcd1500 rGPHCONO 11000000 rGPHCONI Ox 11 rGPHDAT 0x3cO0 SER R W Test 1 Test 2 DC Test 3 SRMC Test 2 ONENAND Test 5 Test 6 ATA_Test 7 FCCARD Test 2 GPIO_Test 9 DIA Test 10 SBLOCK Test 11 LCD Test POST Test 13 TVENC Test 14 G2D_Test 15 ROTATOR Test CAMERA Test 17 MFC Test 18 JPEG Test 19 MODEM Test HOSTIF Test 21 OtgDev_Test 22 SDMMC Test 23 HSI Test SPL Test 25 IIC Test 26 UART Test 27 Timer Test 7 RIC Test 29 AC97 Test 30 T2S Test 21 Test 32 IRDA Test 33 ADCTS_Test 34 KEYPAD Test 35 FIMGSD Test 36 DM9000_Test 37 16C752B_Test Select the function to test 21 Select 21 21 OtgDev_Test and you will see the following screen Select the function to test 0 Donwload Only 1 Upload Only 2 Select Op Mode Sele
149. ration Enabled KITL Connection Mode Interrupt Force Clean Boot Option True Hive Clean on Boot time False Format Partition on time False NAND 5 On Erase All Blocks F Format Boot Media for BINFS with BadBlock Marking to Reserved Block N Nand Information and Dump NAND Flash Download and Launch Section Switch Boot Device USB_DNW Download Target Write to NAND Storage D Download or Program image OS image will be launched L LAUNCH existing Boot Media image 2 Registers Print Enter your selection Step 5 First of all we recommend you press A Erase All Blocks to erase everything in NAND flash Next press T Download Target Download to RAM and change to Download Target Write to NAND Storage By pressing T and you can change back and forth This is to tell EBOOT that we are going to write image to NAND flash instead of DDR RAM Press W to save this EBOOT configuration And press D Download or Program image OS image will be launched You will see the following screen shown as figure A 2 9 249 Step 6 Figure A 2 9 Writing image to NAND flash DNY 0 60 For WinCE COM1 115200bps USB OK ADDR 0x50030000 DER Serial Port Configuration Help Form Transmit gt on Boot time False Test Erasi Sintus lock Stepldr Eboot Form ia for BINFS with BadBlock Marking to Reserved Block Nand Informati
150. rget platform User can get the gcc 4 2 at device from Ubuntu repository by ubuntuQubuntu sudo apt get install gcc IF YOU ARE USING UBUNTU ROOTFS WE STRONGLY SUGGEST USE NATIVE COMPILE MODE at least at the final stage of test The crosss toolchain version that we are using is 4 2 2 with EABI supported The file name is cross 4 2 2 eabi tar bz2 that can be downloaded from Embedian FTP site 6 20 1 Installing Toolchain Building the tool chain is not a trivial exercise and for most common situations pre built tool chains already exists Unless you need to build your own or you want to do it anyway to gain a deeper understanding then simply installing and using a suitable ready made tool chain is strongly recommended Please follow the commands below and install the toolchain in the directory mentioned below mkdir p usr local arm tar jxvf cross 4 2 2 eabi tar bz2 The above command will generate the 4 2 2 eabi folder under the same directory as you made the commands Move this folder to usr local arm directory APC 6410 User s Manual 136 Embedian mv 4 2 2 eabi usr local arm export PATH PATH usr local arm 4 2 2 eabi bin As of now you have installed the cross toolchain into your Linux PC At your application that you would like to cross complied you need to modify the Makefile and point the CROSS COMPILE to CROSS_COMPILE usr local arm 4 2 2 eabi bin arm linux 6 20 2 Build Uboot 1 E
151. ric Leesa 20090726 nb0 0x50030000 CADocuments and Settings Eric Lees rE120090729W0 20 bin 0x50030000 MXM6416 Sub Fun 1 GPIO Setting 2 LCD Panel Para 3 Logo Menu E Back to main manu Enter Selection Logo Menu 1 Upload Logo File 2 Clean Screen Default background is black 3 Save LOGO E Exit Select 1 Please send bmp file use dnw The 2 Clean Screen Default background is black allows users to clean the splash screen that you just uploaded The 3 Save LOGO will save the splash screen to NAND flash permanently Note The maximum size of splash screen now is limited at 800x600x2 768000Byte For file larger than this size will erase the EBOOT image APC 6410 User s Manual 198 Embedian Reboot the device and you should be able to see the new splash screen Figure 7 6 4 New Splash Screen Q Gold Partner 1 A dt m c Jr SACRA v 1 Next we would like to give topics related to hardware MFC multimedia function in APC 6410 7 7 WMV9 Decoder for Windows Media Player The Windows media player in Windows CE 6 0 devices supports WMV9 hardware decoder And Microsoft provides with a free WMV9 PC encoding tool to encode the video sources First of all we need to encode the video source as WMV9 format 7 7 1 Encode Video source as WMV9 Users can download the free Windows Media Encoding tool that Microsoft provided with from
152. rt 192 168 1 121 Connection type OTelnet Rlogn 9 SSH Serial Load save or delete a stored session Saved Sessions Default Settings L Load Save Delete Close window on exit Always 118 Never Only on clean exit Cancel Embedian Inc Click Open to login and you will see the following screen login as root 192 168 1 121 s password Linux ubuntu 2 6 24 2 191 PREEMPT Fri Oct 23 00 30 52 2009 armv l The programs included with the Ubuntu system are free software the exact distribution terms for each program are described in the individual files in usr share doc copyright Ubuntu comes with ABSOLUTELY NO WARRANTY to the extent permitted by applicable law access official Ubuntu documentation please visit Attp help ubuntu com Last login Tue Oct 1 07 20 26 2013 root ubuntu 119 6 13 VNC Server VNC server allows users to see the desktop of an APC 6410 based remote device and control it with your local mouse and keyboard and without attaching an LCD to the device just like you would do it sitting in the front of that APC 6410 based device First of all you need to install the tightVNC server first ubuntu ubuntu sudo apt get install tightvncserver Now you can start vncserver to have a new display called 1 ubuntuQubuntu sudo vncserver geometry 800 480 You will requir
153. rts supporting mass storage devices USB stick hard disk and other devices as keyboard mouse USB hub USB OTG Client Audio 16Bit stereo output up to 48kHz mic input line In supports ALSA standard APIs Touch Screen All 4 wire resistive screens supported Display All types of displays supported Use fbset utility to configure different resolutions and panels SD SDHC Memory cards Wireless LAN Bluetooth GSM GPS Memory cards Wireless LAN modem Bluetooth serial card GPS GSM GPIO 12 Configurable GPIO with Sample codes Flash File Ext3 and FAT32 are default supported System 2D Engine CPU 2D acceleration h w supported 3D Engine Support CPU 3D h w acceleration Support OpenGLES 1 1 2 0 TV Out TV output driver for NTSC PAL format is supported Camera Camera drivers for various camera modules MFC Engine Support h w H 263 H 264 VC1 SPI High speed SPI supported RTC Real time clock driver 6 1 2 Default Software Packages Users can use dpkg query W to visualize the list of installed packages or l to obtain the description of the set of installed packages User 91 add their application oriented packages from the Ubuntu repository by using apt get install lt Package Name gt as well 6 1 3 Booting When power on the uboot will initialize the low level hardware and bring the Linux kernel to DDR RAM After that the Linux ker
154. ry and open it You will see as shown figure 7 3 22 APC 6410 User s Manual 184 Embedian Figure 7 3 22 Port Test Program L WindowsCE File Zoom Tools Help Gol Desktop Favorites Fonts Programs Recent StartUp CameraDs ceconfig cerdisp2 Baudrate Data Parity Stop Flowcontrol ih SerialCETester MXM6410 At the PC side open the hyper terminal program and set the COM port baud rate configuration and hardware flow control At device side choose which COM port you would like to test and set the COM port baud rate configuration and hardware flow control exactly the same as that you set in PC Hyperterminal Press Connect and type and characters from PC You should be able to receive those characters from the CE device Type any characters in the dialog box of the CE test program and then click Send You should be able to receive them in the PC Hyperterminal program This is shown in figure 7 3 23 185 Figure 7 3 23 COM Port Test Result File Edit View Go s s Fonts Programs Recent StartUp CameraDs ceconfig cerdisp2 S 5 Port Connected RX RX hidfhdhdhd Baudrate 115200 7 RX NULL receive Data e v Parity vo Parity Stop s I Flowcontrol None v aa BREE SRE RHE RAO FUO HAWD De 25 dghdhdhdhd 7 3 11 Software Installation Applications installed on to the Embedian Windows C
155. s Manual 208 Embedian Inc 8 1 3 CloseHandle CloseHandle Syntax BOOL WINAPI CloseHandle HANDLE hDevice Description Closes an open 5 handle Parameters IN hDevice HANDLE returned by CreateFile function Heturns If the function succeeds the return value is nonzero If the function fails the return value is zero 209 8 1 4 Control Codes for DeviceloControl 4 DEC INIT IOCTL MFC H263 DEC INIT IOCTL MFC H264 DEC INIT IOCTL MFC VC1 DEC INIT Syntax Description BOOL DeviceloControl HANDLE hDevice DWORD dwloControlCode LPVOID lpinBuffer DWORD LPVOID lpOutBuffer DWORD nOutBufferSize LPDWORD IpBytesReturned LPOVERLAPPED IpOverlapped It initializes the MFC s instance with the configure stream Parameters hDevice IN HANDLE returned by CreateFile function dwloControlCode IN I OCTL MPEG4 DEC INIT IOCTL MFC H263 DEC INIT IOCTL H264 DEC INIT IOCTL MFC VC1 DEC INIT IN Pointer to DEC INIT structure ninBufferSize IN DEC INIT ARG OUT NULL nOutBufferSize OUT 0 lpBytesReturned OUT NULL lpOverlapped IN NULL Returns If the operation completes successfully the return value is nonzero If the operation fails or is pending the return value is zero
156. set the default LCD parameters go to EBOOT menu and press Z MXM EVB Board SubTestMenu and then press 2 LCD Panel Parameter Modify and then press 2 Use Default You will see two types of LCD for your choices Choose the correct type that you will use Following figure shows the default LCD parameters 189 Figure 7 4 2 Default LCD Parameters DNW v0 60C For WinCE COM1 115200bps USB OK ADDR 0x50030000 Serial Port USB Port Configuration Help LCD Parameter Modify 1 Parameter Now 2 Use Default 3 Modify one of then E Exit Video Output Mode RGBIF RGB RGB565 P Vertical Back Porch 33 Vertical Front Porch 18 Vertical Pulse Width 2 Horizontal Back Porch 86 Horizontal Front Porch 42 Horizontal Pulse Width 12 UCLK Polarity FALL EDGE HSYNC Polarity LOW ACTIVE USYNC Polarity LOW ACTIVE UDEN Polarity HIGHT ACTIVE PNR Mode RGB P UCLK Source LCDCLK UCLK Direction DIVIDED Frame Rate 45 LCD Parameter Modify 1 Parameter Now 2 Use Default 3 Modify one of then E Exit Select To save the configuration press E exit to main menu and press W Write Configuration Right Now to save it 7 4 3 Set LCD Parameters of Different Types Embedian provides users with an easy way to configure parameters for various types of LCDs To configure your LCD parameters go to EBOOT menu and press Z MXM EVB Board SubTestMenu and then press 2 LCD Panel Pa
157. sharing protocol CIFS enables a network enabled application to access and manipulate files and directories on a remote server in the same way that the application accesses and manipulates files and directories on the local system To use the file server users can access and browse the shared folders that created in the default registry in the following steps 1 On the PC from the Start menu choose Run 2 In the Open box type MXM 6410 and then choose OK You can now browse the shared files in devices as showed in figure 7 3 19 APC 6410 User s Manual 170 Embedian Figure 7 3 19 Access File Server T MXH 6410 Mxm 6410 BRO REE RAO RREA HAW se pr E 6410 HRL 2 wie eRe 2 ee gh RRL d ATORRA UPnP eS gh Workgroup 3 FASS G Extr gy Oy The alternative way to access to shared files in the file server is described as follows 1 On the PC from the Start menu choose Search 2 In the searching menu choose Computer or People and then choose Computer on the network 3 In the Open box type MXM 6410 or Device IP Address and then click Search You can now browse the shared files in devices as showed in figure 7 3 20 171 Figure 7 3 20 The other way to access file server from CHO HAW BREA IB HAW OQ 0 P E 0
158. sole cable from serial console port UARTO CN20 of device to the COM port of your Windows XP PC And connect a USB cable from USB device port CN19 to USB host port of your Windows XP PC Open the Hyperterminal program of your Windows PC and set the baud rate as 115200 8N1 Power on the device and you will see the following screen S3C6410 USB Downloader v0 2 2008 07 04 System ID Revision 0 Pass 1 ARMCLK 532 O0MHz HCLKx2 266 HCLK 133 007 66 50MHz VIC mode Sync Mode USB host 1s not connected yet APC 6410 User s Manual 228 Embedian Inc Waiting for USB host connection USB host is connected Bulk In 1 Bulk Out EP 2 Speed High Mode DMA mode Download amp Run is selected Select a file to download in DNW If you want to quit press any Key Open the DNW program your Windows click on Configuration gt Options and set the USB Port Download Address to 0x50200000 as shown in following figure After done click OK UART USB Options Serial Port Baud Rate COM Port OK 115200 COM 1 Cancel 57600 38400 COM 3 19200 COM 4 14400 9600 USB Port Download Address 0 50200000 229 the DNW program click USB Port gt Transmit choose 6410_Test bin file from your PC This is shown as the following figure Senal Port Configuration Help Transmit UBOOT EA
159. start The registry change will be kept on next reboot APC 6410 User s Manual 164 Embedian Inc Table 7 3 2 FTPD Registry Value HKEY_LOCAL_MACHINE Comm FTPD Value Description AllowAnonymous REG DWORD Default set to 1 Possible values are 0 false or 1 true Determines whether the server will allow anonymous access AllowAnonymousUpload REG DWORD Default set to zero 0 Possible values are 0 false or 1 true Determines whether authorization is required to upload files to the server delete files from the server and rename files AllowAnonymousVroots REG DWORD Default set to zero 0 Possible values are 0 false or 1 true Specifies whether access to virtual roots is granted or denied to anonymous users DefaultDir String IsEnabled REG DWORD Default root directory Directory and subdirectories of this key are accessible remotely If this value is not set in the registry the default is Temp Default set to 1 Possible values are 0 false or 1 true Determines whether or not the server will accept incoming connections This value is typically used to keep the server disabled at boot time UserList REG MULTI SZ Provides a comma separated list of allowed users NoSystemI nfo REG DWORD No default set in registry Uses value of 0 if no value is set If NoSystemlnfo is set to 1 and a remote FTP 165 client r
160. sts in the Platform Builder documentation for more detailed information on this subject Examples HKEY LOCAL UserList GladysL AnnD KimY SomeGroup villains Allows GladysL AnnD and the SomeGroup group but restricts the user and the villains group The asterisk or the at sign and the asterisk or allows all users 159 and the combination of the hyphen and the asterisk or the combination of the hyphen and the at sign and the asterisk or denies all users The string is interpreted sequentially In other words if GladysL is member of the Finance group the following strings will allow GladysL GladysL Finance Finance GladysL GladysL Finance Admins GladysL GladysL Finance GladysL GladysL GladysL Finance Figure 7 3 13 Telnet Registry 6410 File Zoom Tools Help He Edt new vew x e DMSISA Cy DMSISA1 4 Firewall c FTPD HTTPD 2000 NE20001 PPTP 1 Redir H E RndisFn RndisFni Security SecurityProviders Tcpip J E UDP2TCP c UsB USB Cable USBFNSER 2 USBFNSER1 VEM ws2 amp fJUseAuthent 00000000 D 88 IsEnabled 00000000 0 HKEY_LOCAL_MACHINE Comm TELNETD 47 5 28 2 7 3 5 3
161. t 20 by braindead default It s the oldest surviving bug in UNIX history For gdm this can cause real grief because it puts it before processes that should have completed start up before gdm goes about its merry ways 6 17 2 GDM Auto Login To allow Ubuntu GDM Auto Login you need edit gdm conf and add the user you want to auto login Let s assume the user that you would like to auto APC 6410 User s Manual 128 Embedian Inc login is ubuntu ubuntuQubuntu sudo vim etc gdm gdm conf At line 48 49 Automat icLoginEnable true AutomaticLogin ubuntu Reboot the device will automatically login into the Ixde desktop 6 17 3 Auto Start a Program under LXDE To auto start a program under LXDE users can edit etc xdg Ixsession LXDE autostart file and add the program that you would like to auto start at the end of this file Let s take the firefox program for example lxde settings xscreensaver no splash lxpanel profile LXDE pcmantm d firefox width 800 height 480 After reboot you will see the Firefox program auto start at the top of the panel Note If users don t even need LXDE to auto start the program you will need to modify the etc alternatives x session manager to auto start the program and comment out the LXDE auto start script 6 18 MPEG4 Decoder for Mplayer at Device Embedian integrates the CPU MFC hardware codec into Mplayer and natively supports MPEG4 DivX DX50 and MPEG4 Xvid s
162. t of your PC first Apply DC 5V to SBC as shown in figure 3 8 the device will be power up APC 6410 User s Manual 34 Embedian Figure 3 8 Connect USB Cable from SBC to your PC and Apply 5V DC to SBC RON If you have ActiveSync program user can download this program for free from Microsofts website installed in your Windows PC and the USB cable is connected to the device you should be able to see the ActiveSync program pop out and ask you to set up a partnership during loading the NK image as shown in figure 3 9 35 Figure 3 9 ActiveSync Program Hew Partnership Set Up a Partnership Before you can synchronize information between your mobile device and this computer you must set up a partnership between them Would you like to set up partnership O Yes Set up a partnership so that can synchronize information between my device and this computer don t want to synchronize information Set up my device as a quest so that can copy or move information between my device and this computer lt Select No and click Next of your ActiveSync program You will see the screen shown as in figure 3 10 APC 6410 User s Manual 36 Embedian Figure 3 10 ActiveSync Program 9 Microsoft ActiveSync File View Tools Help S Syne schedule 27 Explore Connected Hide Details 37 You will see the boot messages from the Hyperterminal
163. tFlash socket CN6G Location on Board A2 B2 Table 4 19 CompactFlash Connector Header Pin SignalName Function Type Go fe 5 naue 5 p Oo 7 nCE1 High Byte Chip Bd oii o KE 5 a lo 9 ne lo ofa O n as hess jo az mmes O VCC External Switched EU NNEEN 16 o 17 A3 hess Jo afa 2 O Pio At Ads Jo A eso o Pat o o 69 27 28 io 29 30 io O 34 a6 36 29 40 nVS2 Voltage Sense 2 Input 41 RESET Wat 43 nINPACK Interrupt Acknowledge 4 45 io 46 io az o8 0 a bs pao 0 49 io 50 APC 6410 User s Manual 70 Embedian Inc 4 2 3 7 SD SDHC Socket CN24 The SD SDHC socket CN24 50 pins for commercial SD SDHC card is integrated on APC 6410 board The interface is also a hot plug capable interface The following table shows the pin out of the SD SDHC socket CN6 Location on Board A2 B2 Table 4 20 SD SDHC Connector Table 4 20 SD SDHC Connector CN24 SD Connector Sunsrteme Function CD DAT3 SD Insert Detect SD receive transmit DAT2 SD IO receive transmit 3 CMD SD receive O response transmit GND Ground Pp 6 SD Clock GND Ground P DATO SD VO receive transmit DAT1 SD receive tr
164. tain the temperature according to the above specification 2 4 2 Humidity Operating 0 to 95 non condensing Non operating 0 to 95 non condensing 2 5 MTBF System MTBF hours gt 100 000 hours The above MTBF Mean Time Between Failure values were calculated using a combination of manufacturer s test data if the data was available and a Bellcore calculation for the remaining parts The Bellcore calculation used is Method 1 Case 1 In that particular method the components are assumed to be operating at a 50 stress level in a 40 C ambient environment and the system is assumed to have not been burned in Manufacturer s data has been used wherever possible The manufacturer s data when used is specified at 50 C so in that sense the following results are slightly conservative The MTBF values shown below are for a 40 C in an office or telecommunications environment Higher temperatures and other environmental stresses extreme altitude vibration salt water exposure etc lower MTBF values 2 6 EMI RFI and ESD Protection The APC 6410 incorporates a number of standard features that protect it from electrostatic discharge ESD suppress electromagnetic radio frequency interference EMI RFI Transient voltage suppressors EMI fences filters on I O lines and termination of high frequency signals are included standard on all systems APC 6410 provides surge protection on the input power lines o
165. tandard Any video files that generated by a software encoder that supports these standards can be 129 decoded by the hardware decoder supported Mplayer 6 18 1 Mplayer running on top of GDM and LXDE At Start gt Audio amp Video Click Mplayer i root s X desktop ubuntu 1 Sh E e if ch BAX Graphics s Settings System Tools G Network i Accessories Run Logout Add the file to the play list APC 6410 User s Manual 130 Embedian oot s X desktop Ke aid Playlist r2 Files Xauthority bash history bashre dmrc gksu lock sudo as admin successful viminfo xsession errors Selected files 00 test Fite 00 00 00 00 00 00 v 0 00 50 0096 MPlayer Video Playlist Click the triangle sign on panel to play the video x Ej a d cn At WHY MPlayer Video MPlayer Video Playlist 6 18 2 Mplayer Running on top of frambuffer directly 131 The previous example of Mplayer is running top of Mplayer can also be played directly on top of frame buffer If that is the case ubuntuQ amp ubuntu sudo etc init d gdm stop sudo password for ubuntu Stopping GNOME Display Manager ubuntu ubuntu mplayer quiet fs vo test avi Note qu
166. tem This removes the need to backup and restore on power off For detailed information please refer to Windows CE 6 0 Help on relating topic Embedian s CE 6 0 HIVE based design will be automatically flushing the registry on changes Users don t need 153 to flush registry manually the hive based registries are configured to be stored in NandFlash Documents and Settings So if the NandFlash folder is manually formatted all the registry settings would be gone and it would be restored back to the default registry after the next reboot Therefore it is best to reboot the device if you have formatted the NandFlash folder before proceeding with any operation To restore the default registry it may interfere with software development you have to go into the EBOOT and press 4 Reset to factory default configuration or just re flash the NK again 7 3 4 Networking Basics 7 3 4 1 Getting the IP Address To view your current IP address simply double click on the network icon as shown in figure 7 3 6 Figure 7 3 6 Network Icon After double clicking this Icon a dialog box will be shown with available IP information as shown in figure 7 3 7 APC 6410 User s Manual 154 Embedian Inc Figure 7 3 7 IP Information Dialog IP Information Information Internet Protocol TCP IP Address Type Static IP Address 192 168 1 203 Subnet Mask 255 255 255 0 Default Gateway 192 188 1 100 7 3 4
167. that CreateFile function can be called several times in a process task Parameters lpFileName IN device driver name L MFC1 dwDesiredAccess IN GENERIC READIGENERIC WRITE dwShareMode IN 0 lpSecurityAttributes IN NULL dwCreationDisposition IN OPEN EXISTING dwFlagsAndAttributes IN FILE ATTRIBUTE NORMAL hTeplateFile IN NULL Returns HANDLE of the MFC instance If it fails it returns INVALID HANDLE VALUE 207 8 1 2 DeviceloControl DeviceloControl Syntax BOOL DeviceloControl HANDLE hDevice DWORD dwloControlCode LPVOID lpinBuffer DWORD nInBufferSize LPVOID lpOutBuffer DWORD nOutBufferSize LPDWORD IpBytesReturned LPOVERLAPPED IpOverlapped Description Most of functions are developed in ioctl This system call has many functions which is separated by dwloControlCode Parameters hDevice IN HANDLE returned by CreateFile function dwloControlCode IN The control code for the operation Detailed information will explain below lpInBuffer IN Structure of the argument ninBufferSize IN Size of MFC argument structure OUT NULL nOutBufferSize OUT 0 lpBytesReturned OUT NULL lpOverlapped IN NULL Returns If the operation completes successfully the return value is nonzero If the operation fails or is pending the return value is zero APC 6410 User
168. then this driver dynamically allocates some memory and returns the address The libEGL lib implements EGL 1 3 This will work with OpenGLES1 1 and OpenGLES2 0 The libGLESv1 CM dll implements OpenGLES1 1 If you want to know more about OpenGLES 1 1 please visit www opengl org website The libGLESv2 dll implements OpenGLES2 0 If you want to know more about OpenGLES 1 1 please visit www opengl org website 201 7 8 2 Usage For using OpenGLES You need to link libEGL lib and libGLGLESv2 lib libraries In Project property of Visual Studio 2005 set Additional Dependency like the following figure 4 2 Figure 4 2 Setting Property for OPENGLES2 0 in 2005 OpenGLES2 0 EGL Demo Property Pages Configuration Active Debug Platiorm Active SDK_SMDK 6410 ARMV lt l 72 pnfiguraton Manager Common Propertes Additonal Dependencies libGLESv2 lib libEGL lib ean Properties ignore All Default Libraries gt Debugging lanore Specific Library Deployment Module Definition File Add Module to Assembly Linker Embed Managed Resource File General Force Symbol References Manifest File Delay Loaded DLLs NOINHERIT Debugging Assembly Link Resource System Optimization Embedded IDL Advanced Command Line Resources AML Document Generate Browse Information Build Events Custom Build Step Authenticode Signing Additional Dependencies Specifies additional items add to the
169. tions Ethernet USB_Serial USB_RNDIS USB_DNW Download Target Write to NAND Storage Download or Program 05 image will be launched LAUNCH existing Boot Media image MXM EUB Board SubTestHhenu Enter your selection d TOC Write TOC_Write System ready Preparing for download INFO Device Name SMDK641617493 xxx Please send the Image through USB 255 3 At USB Port select UBOOT gt UBOOT as shown in figure A 2 15 Note because we are going to write image to NAND flash choose UBOOT instead Transmit A file browser will ask you to select a file that you would like to write to NAND flash Find the file NK bin in your PC and click Wait for about 30 seconds to let the NK bin writing into NAND flash And you will see the following screen as shown in figure A 2 16 Figure A 2 16 Done with Writing NK bin to NAND DNW 0 60 For WinCE COM1 115200bps USB x ADDR 0x50030000 Serial Port USB Port Configuration Help INFO OEMLaunch Jumping to Physical Address 8x58181888h Virtual Address 6x8 6161666h fuindous CE Kernel for ARM Thumb Enabled Built on Jul 16 2888 at 12 33 56 DCache 128 sets 4 ways 32 line size 16384 size ICache 128 sets 4 ways 32 line size 16384 size NewOBJ 2 1 14 SID_PORT_BASE_ADDRESS 90950000 5 PORT RDDRESS 90950000 SID PORT BASE RDDRESS 90950008 RegisterInterrupt Done SetupFilte
170. to SBC and boot You are done Additional Packages If users attached a touch screen LCD additional packages for touch needed to be installed Plug the above SD SDHC card into APC 6410 and power on and login to the device Change directory to tmp first and copy the 5 upgrade tar gZ into the device root ubuntu cd tmp root ubuntu tmp 15 root ubuntu tmp Iftp er1c 59 124 115 45 Password lftp er1c 59 124 115 45 gt get ts upgrade tar gz 580432 bytes transferred lftp eric amp 59 124 115 45 bye root ubuntu tmp 15 ts upgrade tar gz root ubuntu tmp Extract this tarball and execute the shell script as follows APC 6410 User s Manual 86 Embedian Inc root ubuntu tmp tar xvfz ts upgrade tar gz embed1an mxm6410 touchscreen deb install sh root ubuntu tmp install sh Reading package lists Done Building dependency tree Reading state information Done Reboot and you will see the calibration program on the screen There are five cross points for users to calibrate The calibration value will be stored in the NAND flash after calibrated APC 6410 will check if this calibration value exists there or not at next boot If yes users will not need to calibrate every time Note Users need to connect a touch screen to APC 6410 when install this package or the boot up process will stop to wait you input the calibration value After calibration it will bring you to the gdm lo
171. to integrate icons and artwork GtkNetCat Graphic User Interface for netcat Netcat provides system functions as a computer networking utility for reading from and writing to network connections on either TCP or UDP Embedian Add on Components 125 GMplayer is the GUI of Mplayer It is integrated by Embedian to support the hardware MFC from CPU Details can be found at section 6 14 and Chapter 7 Calibrate TouchScreen is a tool to calibrate the touch screen 6 16 Calibration and Touch Screen Some applications use touch panel as input device If that is the case users need to install the calibration program that Embedian provided first 6 16 1 Install the Calibration Program Change directory to tmp first and copy the ts upgrade tar gz file into the device and extract it as shown below ubuntu ubuntu cd tmp ubuntu ubuntu tmp 15 ubuntu ubuntu tmp Iftp er1c 59 124 115 45 Password ftp eric amp 59 124 115 45 gt get ts upgrade tar gz 580432 bytes transferred eric amp 59 124 115 45 gt bye ubuntu ubuntu tmp 15 ts_upgrade tar 02 ubun tu ubun tu tmp Extract this tarball and execute the shell script as follows ubuntu ubuntu tmp tar xvfz ts_upgrade tar gz embed 1an mxm 410 touchscreen deb install sh ubuntu ubuntu tmp install sh Reading package lists Done Building dependency tree Reading state information Done Reboot and you will see the calibration
172. tu com where xx your country code Example deb_http gb archive ubuntu com ubuntu jaunty main restricted universe multiverse indicates a repository for Great Britain gb APC 6410 User s Manual 102 Embedian Inc 6 5 Install Software Packages 6 5 1 List of installed software packages To visualize the list of installed packages we use the following command ubuntu ubuntu dpkg query W To visualize an installed package whose name is vim for example we use the previous command and a redirection or pipeline to the grep command Practically we have buntu amp ubuntu dpkg query W grep i vim vim 2 7 2 079 lubuntuds vim common 2 7 2 079 1 5 VIm runt ime 2 7 2 079 1 5 vim tiny 2 7 2 079 lubuntudS ubun tu ubuntu 6 5 2 Description of installed software packages The description of the set of installed packages is obtained via the command ubuntu amp ubuntu dpkg 1 6 5 3 List of available software packages The list of available packages is obtained as follows ubuntu ubuntu apt cache pkgnames We clearly see that the list is not in alphabetical order To resolve this issue we redirect and sort the output ubuntu ubuntu apt cache pkgnames sort 103 6 5 4 Searching a software package apt cache search To search a software package we proceed as follows ubuntu ubuntu apt cache search wget devscripts scripts to make the life of a Debian Package maintaine
173. ual 78 Embedian Inc Chapter Backup and Restore the Root File System in SD Card This Chapter details how to backup and restore the root file systems in SD card of APC 6410 Section include Backup the root file systems in SD card Restore the root file systems in SD card 79 Chapter 5 Backup and Restore the Root File System in SD Card This chapter is mainly for Linux users For Windows CE 6 0 users NK is stored in NAND flash and users can neglect this chapter This chapter gives an instruction in regarding to how to backup and restore the root file systems in SD card First we would like to detail how to backup the root file system in SD card and next we would like to tell you how to restore the root file system in SD card 5 1 Backup the root file system in SD card After developing your program under the Ubuntu Jaunty Jackalope Ubuntu 9 04 users might want to backup the whole file system In this section we will tell users how to backup the whole root file system Take the SD SDHC card off from the device and plug it into a USB SD SDHC card reader and plug the card reader into the USB port of your Linux PC The operating system of the Linux PC in this example is Ubuntu 11 04 and the SDHC card storage is 8GB Use the fdisk I command to list your disk information and find the device descriptor of you SD USB reader root dns3 fdisk 1 Disk dev sda 1000 2 GB 1000203804160 bytes 255 heads 63 sectors tr
174. ue is set to zero 0 the Web Server does not accept connections from the network even from the local host Port REG DWORD Default setting is 80 This port receives HTTP connections Do not set the port to zero 0 When the Web Server is running from Services exe which is the default this value is ignored and Services exe becomes the super server Basic REG DWORD NTLM REG DWORD Default setting is zero 0 If this value is nonzero the Web Server uses Basic authentication for client connections Enables Basic authentication which enables the client browser to send the user identifier and password to the Server Default setting is 1 If this value is set to nonzero the Web Server uses NTLM authentication for client browser connections Also if this value is nonzero the failure of Basic authentication forces NTLM authentication If the value is not set in the registry NTLM is not used DirBrowse REG DWORD Default setting is zero 0 If this value is set to nonzero directory browsing is allowed If this value is not set in the registry directory browsing is turned off Turns on the Web Server s ability to provide local APC 6410 User s Manual 176 Embedian Inc directory browsing Filter DLLs String Default not set in the registry Specifies a list of DLL names separated by commas that identifies the filters to use DefaultPage String Default
175. use the hardware MFC multimedia function Section include MPEG4 Decoder for Mplayer at Device MFC Device Driver s API APC 6410 User s Manual 204 Chapter 8 Use 6410 Hardware MFC Multimedia Function This Chapter gives topics related to hardware MFC multimedia function in APC 6410 8 1 MFC Device Driver s API API Functions Description CreateFile Create the APC 6410 MFC instance IOCTL_MFC_MPEG4_DEC_INIT IOCTL_MFC_MPEG4_ENC_INIT IOCTL_MFC_MPEG4_DEC_EXE IOCTL MPEG4 EXE IOCTL H264 DEC INIT 264 INIT IOCTL 264 DEC EXE DeviceloControl 264 EXE IOCTL H263 DEC INIT H263 INIT 263 DEC EXE 263 EXE VC1 DEC INIT DEC EXE IOCTL MFC LINE BUF ADDR GET RING BUF ADDR IOCTL MFC GET FRAM BUF ADDR CloseHandle Close the 6410 MFC instance APC 6410 User s Manual 206 Embedian Inc 8 1 1 CreateFile CreateFile Syntax HANDLE WINAPI CreateFile LPCTSTR IpFileName DWORD dwDesiredAccess DWORD dwShareMode LPSECURITY ATTRIBUTES lpSecurityAttributes DWORD dwCreationDisposition DWORD dwFlagsAndAttributes HANDLE hTemplateFile Description This function creates the 6410 MFC instance Several MFC instance can be made simultaneously This means
176. will introduce the Windows CE 6 0 system 7 3 1 Setting the System Time The APC 6410 includes a battery backed real time clock To set the System Time 1 Double tap on the time icon at the bottom right of the taskbar shown below in figure 7 3 1 Figure 7 3 1 Windows CE Time Icon rss Jas dm 2 Within the Date Time Properties Dialog shown below in figure 7 3 1 set the current date and time then press the OK button to save these settings 149 Figure 7 3 2 Date Time Properties Dialog WindowsCE File Zoom Tools Help F My Device 2 Date Time Properties x Recycle Bin EI May 2009 Hu SMTWTEFS Media Player 26 27 28 20 30 1 2 3456789 10 11 12 141516 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31123456 5 0857 i 00 Pacific Time US amp Cal Apply me APC 6410 comes with a RTC battery pack When the external DC power is exist the RTC battery will be charged And when the external DC power is removed the RTC battery will supply the RTC to keep the time for few days It is therefore users don t have to set up the system time every time when the external DC power is temporarily gone 7 3 2 Touch Calibration If your APC 6410 device is attached to a touch screen you will need to calibrate your touch screen at first boot The calibration value will be stored as HIVE That means you don t need to calibrate again at next boot To calibrate your touch screen 1 Go to Start
177. wise their accounts could be used to gain access to restricted sites MaxConnections Setting the value too small can block user access to the site However if the value is too large the Web server will consume more system resources Based on your deployment model choose this number appropriately To avoid revealing the server software information to malicious users you may want to create a custom server name that obfuscates the Web Server and operating system versions APC 6410 User s Manual 180 Embedian Inc 7 3 8 3 Recommendations A typical deployment uses a Web server in a private network to provide a remote user interface to configure a headless device The registry defines the number of connections and when the MaxConnections registry value is not set the registry limits the number to 10 A typical deployment uses the Web server to display status information or to host a family or community Web site You should not use the Web server to perform critical operations such as machine control or financial processing Use NTLM and or Basic authentication mechanism to limit access to known users only You can set the option in the HKEY_LOCAL_MACHINE COMM HTTPD registry key SSL protocol helps to protect data from packet sniffing by anyone with physical access to the network Carefully choose your virtual roots and limit access to the appropriate files by providing appropriate user access lists Anonymous users with
178. without providing verifiable credentials Anyone can log in using the username anonymous and any password to gain access It is 167 recommended that you set this value to false and use the UserList registry setting to specify all allowed users If AllowAnonymousUpload is set to true unauthenticated users will be able to copy files to and delete files from your server This can be very dangerous because attackers might upload dangerous applications and documents or they might delete important system files It is not recommended to allow upload permission for anonymous users If AllowAnonymousVroots is set to false anonymous users will only be able to access the main FTP shares If this value is set to true unauthenticated users will also be able to access VROOTS as well as the main share Therefore you should use this setting with caution Setting UseAuthentication to false enables clients to connect to the server without providing credentials It is therefore strongly recommended that you do not set this value to false Change this setting only if you have anonymous clients that must access the server but cannot or will not send USER and PASS credentials It is recommended that you set this value to a list of users who should have access to the server and its member VROOTs Specifying the allowed users in UserList and setting AllowAnonymous to false will help protect the device from most attacks and keep your files available only to those
179. working restart 99 Reconfiguring network interfaces Internet Systems Consortium DHCP Client V3 1 1 Copyright 2004 2008 Internet Systems Consortium All rights reserved For info please visit http www isc org sw dhcp Listening on LPF eth0O 10 0d 32 10 01 12 Sending on LPF eth0O 10 0d 32 10 01 12 Sending on Socket fallback Internet Systems Consortium DHCP Client V3 1 1 Copyright 2004 2008 Internet Systems Consortium All rights reserved For info please visit http www 1sc org sw dhcp Listening on LPF eth0O 10 0d 32 10 01 12 Sending on LPF eth0O 10 0d 32 10 01 12 Sending on Socket fallback DHCPDISCOVER on ethO to 255 255 255 255 port 67 interval 4 DHCPDISCOVER on ethO to 255 255 255 255 port 67 interval 4 DHCPOFFER of 192 168 1 54 from 192 168 1 254 DHCPREQUEST of 192 168 1 54 on ethO to 255 255 255 255 port 67 DHCPACK of 192 168 1 54 from 192 168 1 254 bound to 192 1 68 1 54 renewal in 40595 seconds OK ubun tu ubuntu You can see the device IP has been assigned as 192 168 1 54 after network restart Note At development stage users might take the MXM 6410 module off from the carrier board and replace by the other new module If that is the case Ubuntu will find out the MAC address has been changed and will view the original ethO network device as eth The network configuration settings mentioned above will not take effect If users want to change the network configuratio
180. xtract u boot 6410_090930 tar gz file 2 make clean 3 make smdk6410 config 4 make See firmware update section for firmware update Unless necessary we do not recommend you flash bootloader It might cause to boot failure 6 20 3 kernel zimage 1 Extract Linux source code inux 2 6 21 04132009 tar bz2 that released from Embedian 2 tar linux 2 6 21 04132009 tar bz2 3 cd linux 2 6 21 4 gzip d c patch 04032009 0056 gz patch 0 5 make mxm6410 defconfig 137 Chapter Using Windows CE 6 0 This Chapter details how to use the Windows CE 6 0 of APC 6410 single board computer Section include e EBOOT Windows CE 6 0 Configure LCD parameters for different kinds of LCDs APC 6410 User s Manual 138 Embedian Inc Chapter 7 Using Windows CE 6 0 This Chapter gives an overall guide in regarding to the Windows CE 6 0 features and how to use the Windows CE 6 0 system that Embedian provided with for APC 6410 single board computer The first is to introduce the general features Next we will introduce EBOOT menu configuration and the third part is to introduce the Windows CE 6 0 systems The last section will teach users how to set the parameters for different kinds of LCDs without re building from the sources or PB Platform Builder Before going on users need to install the wceusbsh USB drivers that Embedian provided with on your Windows PC first It is the Windows CE USB RNDIS dr
181. yperterminal as shown in figure 3 5 Figure 3 5 Boot up messages from Hyperterminal DUART BRE ARE HAO FUCO RAG Dc 5 Gm lting kernel variables etc sysctl conf usb 1 1 new full speed USB device using 53 2410 and address 2 Iting kernel variables etc sysctl d 10 console messages conf lting kernel variables etc sysctl d 10 network securi ty conf OK livating swap file systems fsck 1 41 4 27 Jan 2009 Inting local filesystems livating swapfile swap figuring network interfaces ting up console font and keymap rting system log daemon rting kernel log daemon rting system message bus dbus Irting OpenBSD Secure Shell server sshd Irting FIP server vsftpd Irting Hardware abstraction layer hald Timeout while reading touchscreen input abort OK Irting GNOME Display Manager Irting periodic command scheduler crond Ubuntu 9 04 ubuntu ttySRCO ubuntu login X818 00 02 36 ANSIW 115200 8 N 1 The default root password is 410 no quot You can use passwd command to change the root password The default ubuntu user password is also 410 no quot Step 5 Network Configuration Plug an Ethernet cable to CN17 of your device first The default network is set as DHCP User can use ifconfig command to check the device IP address ubuntu ubuntu ifconfig ethO eth0
Download Pdf Manuals
Related Search
Related Contents
FP2600-T11 User Manual - Pro 平成26年12月期 第3四半期決算短信 IB530 USER'S MANUAL - IBT Technologies Inc. MODE D`EMPLOI - Comment remplir votre questionnaire Transcend Transcend TS128MSQ64V6U-I memory module User manual - Hire Destination Bandridge BPC9122EC Copyright © All rights reserved.
Failed to retrieve file