Home
AMRG Development Platform User Manual
Contents
1. Figure 6 ADSL Front End Add On board Figure 7 ADSL module connectors Figure 8 WiFi card in the miniPCI connector Figure 9 Boot mode jumpers placed for UART boot AMRG User Manual Page 4 26 lt Creative Systems eS Engineering 1 INTRODUCTION CSE s AMRG is an integrated gateway development platform featuring ADSL2 2 interface five Ethernet ports USB 2 0 port and WiFi module This document presents the features and procedures that allow the AMRG to be used for applications development 2 SYSTEM OVERVIEW 2 1 HARDWARE OVERVIEW 2 1 1 Block diagram 4 1 Port 82 45 Connector one ADSL Port apap use ss 51 ADM69961 ADSL2 CPE LIF HENS 33 3V Port Switch Module 12VOC IN 33 3231 36MHz Crystal PCI EBU NOR Flash PCU EBU DDR SDRAM SP1 Flash amp EEPROM AT25040 SD Card Led Module OOOOOOOOOOOO Figure 1 AMRG block diagram AMRG User Manual Page 5 6 August 2013 Creative Systems G Engineering 2 1 2 Board Description l Figure 2 AMRG Board Top view Danube ADSL2 controller IC DDR SDRAM amp NOR Flash b NAND Flash Samurai Ethernet controller IC Gateway Ethernet ports Peripheral USB Host port Periphera
2. elc a Cveta c ER vreative oyStems gt Z a US Engineering Creative Systems Engineering 1 2 3 4 PWR ERR LINK DATAWLANUSB SD Qe Creative Systems eS Engineering AMRG User Manual Page 2 26 August 2013 ER Creative Systems Engineering Table Of Contents Paragraph Page 1 hapie ies 5 2 SYSTEM OVERVIEW ak 5 2 1 Hardware OVOLVIOW a 5 211 Block diagralffl Ju u eas 5 2 1 2 Board D scrIDUDOn ee e 6 7 0000666600 Equipment Overview 2 1 3 8 503105 Add on 2 1 4 2101000 10 00001001 9 3 LINUX KERNEL 00010 10 4 DEVELOPMENT ENVIRONMENT AND TOOLCHAIN 10 4 1 Toolchain overview r 10 4 2 Firmware Compilation ie ue i e ues E eren i e uxo desea lE aed od dus 10 24 211 10011162110135 Ss e e ea E 10 4 3 First DOO e aka iaaea 12 4 4 Second ooo Ne 13 teens 13 LED 4 5 4 6 USB and NAND SUDDDEL a tno ete xta e o e Een 13 A 7 Java Supp0Ort
3. OE 13 4 8 Available Software links to OpenWrt 16 49 Creating packages anana aaa aa EE 16 4 10 BuildPackage variableS sss 17 4 11 BuildPackage defineS sss 18 4 12 Dependency Types m T I o 19 4 13 Adding configuration OPptIONS sss 20 4 14 Creating packages for kernel moduleS sss 22 4 15 Packaging a service giis uo tuu tu rptu tieu Uh tn Utt e SOEUR NEU 25 List of Tables Table Page Table 1 AMRG boot mode jumpers uero Mini 9 Table 2 LED management 13 AMRG User Manual Page 3 26 August 2013 August 2013 gE Creative Systems Engineering List of Figures Figure Figure 1 AMRG block diagram dick Figure 2 AMRG Board Top VvIew tesa Mp aco MUR P HM uni Ur ans dn Ud ui EE Figure 3 Front view Figure 4 Rear vlew a Figure 5 Side view with RS 232 connector
4. August 2013
5. 0547 src linux javavm runtime globals_md c working copy 185 11 4185 16 linuxNetlnit sigignore SIGPIPE sigignore SIGPIPE struct sigaction ignore_action ignore_action sa_handler SIG_IGN ignore action sa flags SA RESTART sigaction SIGPIPE amp ignore action NULL ifdef_ VFP FP TODO Needed for armboard5 Should be moved to ARM specific code sigignore SIGFPE sigignore SIGFPE sigaction SIGFPE amp ignore action NULL endif Execute the build sh script in the same folder Create a folder under backfire packages in the OpenWRT dev folder mkdir backfire package phoneme create the following folder files tree in backfire packages phoneme e backfire package phoneme files usr e backfire package phonemeffiles usr java e backfire package phonemef files usr java cdc e backfire package phonemeffiles usr java cdc testclasses zip e backfire package phonemef files usr java cdc democlasses jar e backfire package phonemeffiles usr java cdc bin e backfire package phonemef files usr java cdc bin cvm AMRG User Manual Page 14 26 August 2013 ER Creative Systems Engineering e backfire package phonemef files usr java cdc lib from the files located at the output folder of the phoneME compilation cdc build linux mips openwrt cdc fp Create a Makefile in backfire packages phoneme containing Copyright C 2006 2010 OpenWrt org This is free software licensed under the GNU Gene
6. 9 lines This is what installs the symlinks in etc rc d so they are only created when you rebuild the entire image If you want the symlinks to be created when a package is installed such as via opkg you should add a postinstall script which runs etc init d foo enable AMRG User Manual Page 25 26 August 2013 Qe Creative Systems Engineering if IPKG INSTROOT is empty when IPKG INSTROOT is defined you run within the buildroot if itis empty you run on the target Example makefile snippet to install remove symlinks define Package mrelay postinst bin sh check if we are on real system if z IPKG_INSTROOT J then echo Enabling rc d symlink for mrelay etc init d mrelay enable fi exit 0 endef define Package mrelay prerm bin sh check if we are on real system if z IPKG_INSTROOT J then echo Removing rc d symlink for mrelay etc init d mrelay disable fi exit 0 endef Very basic example of a suitable init d script bin sh etc rc common START 80 APP mrelay PID_FILE var run APP pid start start stop daemon S x APP p PID_FILE m b stop start stop daemon K n APP p PID_FILE s TERM rm rf PID_FILE Creative Systems Engineering Ltd 45 Agiou Meletiou Str 11257 Athens Greece Tel 30 210 8836433 Fax 30 210 8836431 www creativese eu info creativese eu sales creativese eu support creativese eu AMRG User Manual Page 26 26
7. PEG STREAMER INPUT UVC int Picture height default 640 config MJIPEG STREAMER PICT WIDTH depends MJPEG STREAMER INPUT UVC int Picture width default 480 config MJIPEG STREAMER DEVICE depends MJPEG STREAMER INPUT UVC string Device default dev video0 config MJPEG_STREAMER_INPUT_GSPCA bool GSPCA input plugin help You can stream pictures from a gspca supported webcamera Note this module is deprecated use the UVVC plugin instead default n endmenu endmenu Above you can see examples for various type config parameters And finally you can check your configuration parameters in your Makefile in the following way Note that you can reference to the parameters value with it name prefixed with CONFIG ifeq CONFIG_MJPEG_STREAMER_INPUT_UVC y CP PKG BUILD DIR nput uvc so 1 usr lib endif AMRG User Manual Page 21 26 August 2013 Qe Creative Systems Engineering 4 14 CREATING PACKAGES FOR KERNEL MODULES One can also add kernel modules which are not part of the linux source distribution In this case a kernel module appears in the package directory just as any other package does The package Makefile uses KernelPackage xxx definitions in place of Package xxx For example here is package madwifi Makefile Copyright C 2006 OpenWrt org This is free software licensed under the GNU General Public License v2 See LICENSE for more information ld include TOPDIR rules m
8. Who to contact concerning the package e DEPENDS optional Which packages must be built installed before this package See es Dependency Types below for the syntax Package conffiles optional A list of config files installed by this package one file per line Package description A free text description of the package Build Prepare optional A set of commands to unpack and patch the sources You may safely leave this undefined Build Configure optional You can leave this undefined if the source doesn t use configure or has a normal config script otherwise you can put your own commands here or use call Build Configure Default as above to pass in additional arguments for a standard configure script Build Compile optional How to compile the source in most cases you should leave this undefined Package install A set of commands to copy files out of the compiled source and into the ipkg which is represented by the 1 directory Package preinst The actual text of the script which is to be executed before installation Don t forget to include the bin sh If you need to abort installation have the script return false Package postinst The actual text of the script which is to be executed after installation Don t forget to include the bin sh Package prerm The actual text of the script which is to be executed before removal Don t forget to include the bin sh If you need to abort removal have th
9. circuits of the AMRG 2V0 are provided as an add on module that is attached to the main board with two SMD connectors Figure 7 ADSL module connectors AMRG User Manual Page 8 26 August 2013 Creative Systems eS Engineering 2 1 4 2 WiFi board The AMRG 2V0 is provided with a Winstron CM9 miniPCI WiFi card featuring the Atheros chipset The miniPCI connector can be used to host a variety of WiFi cards according to the user s needs Figure 8 WiFi card in the miniPCI connector 2 1 5 Jumpers The AMRG 2V0 main board provides the capability to alter the boot mode of the processor via two dedicated jumpers BS1 and BS2 Figure 9 Boot mode jumpers placed for UART boot The available options are Position Boot function BS1 and BS2 placed as in Figure 9 Boot from UART BS1 and BS2 removed Boot from Flash Table 1 AMRG boot mode jumpers AMRG User Manual Page 9 26 August 2013 Qe Creative Systems Engineering 3 LINUX KERNEL The device comes with kernel Version 2 6 30 4 DEVELOPMENT ENVIRONMENT AND TOOLCHAIN 4 1 TOOLCHAIN OVERVIEW AMRG is based on the Lantiq Danube PSB50702 V1 3 processor The networking processor implemented in Danube is a MIPS24KeC core The Ethernet controller is Lantiq Samurai ADM6996 l The toolchain that is used for compiling and building the firmware consists of the following packages e GCC 4 3 3 e Binutils 2 19 1 e uClibc 0 9 30 1 e L
10. e script return false AMRG User Manual Page 18 26 August 2013 Qe Creative Systems Engineering Package postrm The actual text of the script which is to be executed after removal Don t forget to include the bin sh 4 12 DEPENDENCY TYPES Various types of dependencies can be specified which require a bit of explanation for their differences Type Description lt foo gt Package will depend on package lt foo gt and will select it when selected lt foo gt Package will depend on package lt foo gt and will be invisible until lt foo gt is selected FOO Package depends on the config symbol CONFIG_FOO and will be invisible unless CONFIG_FOO is set This usually used for depending on certain Linux versions or targets e g TARGET_foo will make a package only available for target foo You can also use boolean expressions for complex dependencies e g TARGET_foo amp amp TARGET_bar will make the package unavailable for foo and bar FOO lt bar gt Package will depend on lt bar gt if CONFIG_FOO is set and will select lt bar gt when it is selected itself The typical use case would be if there compile time options for this package toggling features that depend on external libraries Note that the replaces the FOO lt bar gt Package will depend on lt bar gt if CONFIG_FOO is set and will be invisible until lt bar gt is selected when CONFIG_FOO is set Some typical config symbols for co
11. eering 4 8 AVAILABLE SOFTWARE LINKS TO OPENWRT The operating system and the applications on the MRG can be configured via the make menuconfig console of the OpenWRT environment There is a default configuration containing a wide range of the usual Linux utilities tools and libraries Additional packages can be selected to be built as part of an upgrade image or independently and the packages to be installed via the opkg manager Moreover custom software can be compiled and prepared for distribution and installation via the package cross compilation option of the OpenWRT environment http wiki openwrt org doc packages 49 CREATING PACKAGES A typical package directory contains two things e package Makefile e package patches The patches directory is optional and typically contains bug fixes or optimizations to reduce the size of the executable The package makefile is the important item because it provides the steps actually needed to download and compile the package Here for example is package bridge Makefile include TOPDIR rules mk PKG_NAME bridge PKG_VERSION 1 0 6 PKG_RELEASE 1 PKG BUILD DIR BUILD DIR bridge utils PKG VERSION PKG SOURCE bridge utils PKG VERSION tar gz PKG SOURCE URL QSF bridge PKG MD5SUM 9b7dc52656f5cbec846a7ba3299f73bd PKG_CAT zcat include INCLUDE_DIR package mk define Package bridge SECTION base CATEGORY Network DEFAULT y TITLE Ethernet bridging configuration
12. ers DEFAULT y if LINUX 2 6 BRCM LINUX 2 6 ARUBA LINUX 2 4 AR531X LINUX 2 6 XSCALE m if ALL AMRG User Manual Page 23 26 August 2013 ER Creative Systems Engineering TITLE Driver for Atheros wireless chipsets DESCRIPTION This package contains a driver for Atheros 802 1 1a b g chipsets URL http madwifi org VERSION LINUX_VERSION PKG_VERSION BOARD PKG_RELEASE FILES PKG BUILD DIR ath ath hal LINUX KMOD SUFFIX V BUS_MODULES PKG_BUILD_DIR ath_rate RATE_CONTROL ath_rate_ RATE_CONTROL LINU X_KMOD_SUFFIX PKG BUILD DIR net80211 wlan LINUX KMOD SUFFIX AUTOLOAD call AutoLoad 50 MADWIFI AUTOLOAD endef MADWIFI MAKEOPTS C PKG BUILD DIR PATH TARGET_PATH ARCH LINUX_KARCH CROSS_COMPILE TARGET_CROSS TARGET HAL_TARGET TOOLPREFIX KERNEL_CROSS TOOLPATH KERNEL_CROSS KERNELPATH LINUX_DIR LDOPTS ATH_RATE ath_rate RATE_CONTROL DOMULTI 1 ifeq findstring AHB BUS AHB define Build Compile ahb MAKE MADWIFI MAKEOPTS BUS AHB all endef endif ifeq findstring PCI BUS PCI define Build Compile pci MAKE MADWIFI MAKEOPTS BUS PCI all endef endif define Build Compile call Build Compile ahb call Build Compile pci endef AMRG User Manual Page 24 26 August 2013 ER Creative Systems Engineering define Build InstallDev INSTALL DIR STAGING_DIR usr i
13. ineering DDR subst DDR filter DDR96 subst 9 with DDR 111M In file backfire package uboot lantig files include configs ifx common h line 61 the environment variables of u boot should be reefined as follows define CONFIG EXTRA ENV SETTINGS bootcmd run flash_flash 0 bootdelay 5 0 baudrate 115200Y0 loads echo 0 preboot echo echo Type V run flash nfsY to mount root filesystem over NFS echo 0 ram_addr 0x80500000 0 kernel_addr 0xb0050000 0 mtdparts mtdparts ifx nor 256k uboot ro 64k uboot_env ro 64k kernel rootfs 0 flashargs setenv bootargs rootfstype squashfs jffs2 0 nfsargs setenv bootargs root dev nfs rw nfsroot serverip rootpath 0 addip setenv bootargs bootargs ip ipaddr serverip gatewayip netmask hostname netdev off 0 addmisc setenv bootargs bootargs init etc preinit console ttyS1 115200 ethaddr ethaddr mtdparts 0 flash_flash run flashargs addip addmisc bootm kernel_addr 0 flash_nfs run nfsargs addip addmisc bootm kernel_addr 0 net_flash run load kernel flashargs addip addmisc bootm ram_addr 0 net_nfs run load_kernel nfsargs addip addmisc bootm ram_addr 0 load_kernel tftp ram_addr tftppath openwrt ifxmips ulmage 0 update uboot tftp 0x80500000 tftppath u boot bin era Oxb0000000 filesize cp b 0x80500000 0xb0000000 filesize 0 update openwrt tftp ram addr tftppath openwrt ifxmips s
14. inux Kernel 2 6 30 10 The bootloader of the board is based on u boot 2009 11 The CPU is Big Endian 4 2 FIRMWARE COMPILATION The full image bootloader kernel and applications deployed on AMRG is built by use of the OpenWRT development environment https openwrt org since the hardware configuration of the board is supported by the distribution This eases the building and installation of the toolchain as well as the configuration of the operating system of the board The complete SW package as used in the AMRG 2VO is available from support 2creativese eu The version of the OpenWHT distribution that has been used is Backfire 10 03 1 RC5 r27450 In the sequel the setup and build instructions along with any modifications that were performed will be presented The environment of OpenWR is available via svn svn checkout svn svn openwrt org openwrt branches backfire r 27450 Initial configuration make menuconfig and select Target System Infineon Mips Target Profile Atheros WiFi default Boot loaders gt U boot Lantiq gt Enable RAM boot image execute make to have the toolchain compiled 4 2 1 Modifications Once the toolchain has been compiled the sources for the kenrel and applications have been downloaded as well Navigate to backfire package uboot lantiq folder and replace in file backfire package uboot lantig patches 100 ifx targets patch AMRG User Manual Page 10 26 August 2013 ER Creative Systems Eng
15. k include INCLUDE_DIR kernel mk PKG_NAME madwifi PKG_VERSION 0 9 2 PKG_RELEASE 1 PKG_SOURCE PKG_NAME PKG_VERSION tar bz2 PKG_SOURCE_URL SF PKG_NAME PKG_MD5SUM a75baacbe07085ddc5cb28e1 fb43edbb PKG_CAT bzcat PKG_BUILD_DIR KERNEL_BUILD_DIR PKG_NAME PKG_VERSION include INCLUDE_DIR package mk RATE_CONTROL sample ifeq S ARCH mips HAL_TARGET mips be elf endif ifeq ARCH mipsel HAL_TARGET mips le elf endif ifeq ARCH i386 HAL_TARGET i386 elf endif ifeq S ARCH armeb HAL_TARGET xscale be elf AMRG User Manual Page 22 26 August 2013 gE Creative Systems Engineering endif ifeq ARCH powerpc HAL TARGET 2powerpc be elf endif BUS PCI ifneq S CONFIG LINUX 2 4 AR531X BUS AHB endif ifneq CONFIG LINUX 2 6 ARUBA BUS PCI AHB no suitable HAL for AHB yet endif BUS MODULES ifeq findstring AHB BUS AHB BUS MODULES PKG_BUILD_DIR ath ath_ahb LINUX_KMOD_SUFFIX endif ifeq findstring PCI BUS PCl BUS MODULES PKG BUILD DIR ath ath pci LINUX KMOD SUFFIX endif MADWIFI AUTOLOAD wlan V wlan scan ap wlan scan sta N ath hal ath rate RATE CONTROL wlan_acl wlan_ccmp wlan_tkip wlan_wep wlan_xauth ifeq findstring AHB BUS AHB MADWIFI AUTOLOAD ath ahb endif ifeq findstring PCI BUS PCI MADWIFI AUTOLOAD ath pci endif define KernelPackage madwifi SUBMENU Wireless Driv
16. l SD card slot a UART transceiver 2V1 or UART to USB converter b UART console connector 2V2 9 Mini PCI extension 10 Reset button 11 Power jack and On Off button 12 12VDC power in and hold up capacitors o uoc N 13 5V A linear regulator and choke 14 3 3V BT switching regulator and choke AMRG User Manual Page 6 26 August 2013 Creative Systems Engineering 15 3 3V switching regulator and choke 16 USB 5V IN switching regulator and choke 17 Danube 1 5V transistor based regulator 18 Danube and DDR SDRAM 2 5V transistor based regulator 19 Control signals Shift registers 20 Front panel LEDs 21 ADSL Hybrid circuit add on board connectors Change 2 1 3 Equipment Overview Creative Systems Engineering RESET PWR ERR LINK DATAWLAN USB SD 1 2 3 I 0000 LZ Figure 3 Front view Power LED Error LED ADSL Link LED LAN Data LED Wireless LAN LED USB LED SD card LED optional User defined LEDs Reset button 12V IN PORT1 PORT2 PORT3 PORTA PORTS m zi p LINE go ONO Q Fw N Figure 4 Rear view ADSL line connector On Off button Power input oN Ethernet connectors AMRG User Manual Page 7 26 August 2013 Qe Creative Systems eS Engineering 5 USB host connector Figure 5 Side view with RS 232 connector 2 1 4 Add on boards 2 1 4 1 ADSL Front End Figure 6 ADSL Front End Add On board The ADSL Front End
17. labels of the associated LEDs Value LED Label 0x0001 4 0x0002 SD 0x0004 0x0008 0x1000 0x2000 0x4000 0x8000 Table 2 LED management values The remaining LEDs PWR LINK DATA are already managed by the aDSL firmware and the power circuit and therefore it is advised that no intervention is attempted 4 6 USB AND NAND SUPPORT USB and NAND drivers can be provided by CSE upon request 4 7 JAVA SUPPORT A version of PhoneME Java can be built and used on AMRG The source is available via svn account can be created at http java net projects phoneme AMRG User Manual Page 13 26 August 2013 Qe Creative Systems Engineering svn co https svn java net svn phoneme svn components cdc trunk cdc svn co https svn java net svn phoneme svn components tools trunk tools create a script build sh containing in the parent folder of the cdc and tools replacing the path prefix according to the toolchain location bin sh make C cdc build linux mips openwrt f GNUmakefile J2ME_CLASSLIB foundation CVM JlT true CVM OPTIMIZED true CVM PRELOAD LIB true CVM BUILD SUBDIR NAME cac fp JDK_HOME path to your java installation CVM TARGET TOOLS PREFIX path to backfire staging dir toolchain mips r2 gcc 4 3 3 cs_uClibc 0 9 30 1 usr bin mips openwrt lin Apply the following changes to file cdc linux javavm runtime globals_md c src linux javavm runtime globals_md c revision 2
18. nclude madwifi CP PKG BUILD DIR include STAGING_DIR usr include madwifi INSTALL DIR STAGING_DIR usr include madwifi net8021 1 CP PKG BUILD DIR net8021 1 h STAGING_DIR usr include madwifi net8021 1 endef define KernelPackage madwifi install INSTALL DIR 1 etc init d INSTALL DIR 1 lib modules LINUX VERSION INSTALL DIR 1 usr sbin INSTALL BIN files madwifi init 1 etc init d madwifi CP PKG_BUILD_DIR tools madwifi_multi 8021 1debug 80211stats athchans athctrl athdeb ug athkey athstats wlanconfig 1 usr sbin endef eval call KernelPackage madwifi INSTALL DIR INSTALL BIN INSTALL DATA are used for creating a directory copying an executable or a data file x is set on the target file for INSTALL BIN independent of its mode on the host Package name install A set of commands to copy files out of the compiled source and into the ipkg which is represented by the 1 directory Note that there are currently 4 defined install macros INSTALL DIR install d m0755 INSTALL BIN install m0755 INSTALL DATA install m0644 INSTALL CONF install m0600 4 15 PACKAGING A SERVICE If you want to install a service something that should start stop at boot time that has a letc init d blah script you should make sure that the init d script can be run on the host At image build time all init d scripts found are run on the host looking for the START 20 STOP 9
19. nditional dependencies are Symbol Description TARGET_ lt foo gt Target lt foo gt is selected TARGET_ lt foo gt _ lt bar gt If the target lt foo gt has subtargets subtarget lt foo gt is selected If not profile lt foo gt is selected This is in addition to TARGET_ lt foo gt TARGET_ lt foo gt _ lt bar gt _ lt baz gt Target lt foo gt with subtarget lt bar gt and profile lt baz gt is selected LINUX 3 X Linux version used is 3 x LINUX 26 X Linux version used is 2 6 x 1 only used for backfire and earlier LINUX 2 4 Linux version is 2 4 only used in backfire and earlier and only for target brcm 2 4 USE UCLIBC USE_GLIBC To not depend on a certain libc USE EGLIBC BROKEN Package doesn t build or work and should only be visible if Show broken targets packages is selected Prevents the package from failing builds by accidentally selecting it IPV6 IPv6 support in packages is selected AMRG User Manual Page 19 26 August 2013 Qe Creative Systems Engineering NOTES All variables in your pre post install removal scripts should have double instead of a single string characters This will inform make to not interpret the value as a variable but rather just ignore the string and replace the double by a single After you ve created your package Makefile the new package will automatically show in the menu the next time you run make me
20. nuconfig and if selected will be built automatically the next time make is run DESCRIPTION is obsolete use Package PKG NAME description 4 13 ADDING CONFIGURATION OPTIONS If you would like configure your package installation compilation in the menuconfig you can do the following Add MENU 1 to your package definition like this define Package mjpg streamer SECTION multimedia CATEGORY Multimedia TITLE MJPG streamer DEPENDS LINUX_2_4 libpthread stubs jpeg URL http mjpg streamer wiki sourceforge net MENU 1 endef Create a config key in the Makefile define Package mjpg streamer config source SOURCE Config in endef Create a Config in file directory where the Makefile is located with the content like this Mjpg streamer configuration menu Configuration depends on PACKAGE mjpg streamer config MIPEG STREAMER AUTOSTART bool Autostart enabled default n menu Input plugins depends on PACKAGE mjpg streamer config MJPEG STREAMER INPUT FILE bool File input plugin help You can stream pictures from jpg files on the filesystem default n AMRG User Manual Page 20 26 August 2013 gE Creative Systems Engineering config MJPEG_STREAMER_INPUT_UVC bool UVC input plugin help You can stream pictures from an Universal Video Class compatible webcamera default y config MJPEG_STREAMER_FPS depends MJPEG STREAMER INPUT UVC int Maximum FPS default 15 config MJIPEG STREAMER PICT HEIGHT depends MJ
21. pies the compiled files The PKG variables define where to download the package from SF is a special keyword for downloading packages from sourceforge The md5sum is used to verify the package was downloaded correctly and PKG BUILD DIR defines where to find the package after the sources are uncompressed into BUILD DIR PKG INSTALL DIR defines where the files will be copied after calling make install set with the PKG INSTALL variable BuildPackage is a macro setup by the earlier include statements BuildPackage only takes one argument directly the name of the package to be built in this case bridge All other information is taken from the define blocks This is a way of providing a level of verbosity it s inherently clear what the DESCRIPTION variable in Package bridge is which wouldn t be the case if we passed this information directly as the Nth argument to BuildPackage AMRG User Manual Page 17 26 August 2013 ER Creative Systems Engineering 4 11 BUILDPACKAGE DEFINES Package matches the argument passed to buildroot this describes the package the menuconfig and ipkg entries Within Package one can define the following variables e SECTION The type of package currently unused e CATEGORY Which menu it appears in menuconfig e TITLE A short description of the package e DESCRIPTION deprecated A long description of the package e URL Where to find the original software MAINTAINER optional
22. quashfs image era kernel_addr filesize cp b ram_addr kernel_addr filesize 0 ethact lq cpe ethY0 ethaddr X X X X X X 0 rootpath opt export fs 0 filesize 30000 0 fileaddr 80500000 0 jpaddr X X X X 0 serverip X X X X 0 stdin serial 0 stdout serial 0 stderr serial 0 Pay attention so that proper values for ethaddr ipaddr serverip are assigned In file build dir linux ifxmips linux 2 6 30 10 drivers net phy adm6996 c in the init function prefer the following settings initialize port and vlan settings w16 pdev adm portcfg 0 OX840F w16 pdev adm portcfg 1 OX840F AMRG User Manual Page 11 26 August 2013 ER Creative Systems Engineering 3 w16 pdev adm portcfg 2 0x840F w16 pdev adm portcfg 3 OX840F w16 pdev adm portcfg 4 OX840F w16 pdev adm portcfg 5 OX840F w16 pdev adm portcfg 5 8 OxFFOO instead of for i 0 i lt ADM PHY PORTS i w16 pdev adm portcfg i ADM PORTCFG INIT ADM PORTCFG PVID i ADM WAN PORT 1 0 w16 pdev adm portcfg 5 ADM PORTCFG CPU In file backfire build dir linux ifxmips linux 2 6 30 10 drivers mtd chips cfi cmdset 0002 c apply the following modification as indicated by the following diff output 1367c1367 int z words int z words y 1405 1406c1405 1410 lt map write map datum adr z gt ifdef CONFIG IFXMIPS gt y adr4z gt y 2 gt endif gt map_w
23. ral Public License v2 See LICENSE for more information include TOPDIR rules mk PKG_NAME phoneme PKG_VERSION 1 1 2 PKG_RELEASE 4 PKG_BUILD_DIR BUILD_DIR PKG_NAME include INCLUDE_DIR package mk define Package phoneme SUBMENU Java SECTION lang CATEGORY Languages TITLE A compact Java Virtual Machine DEPENDS libpthread endef define Package phoneME description phoneME is an open source project based on Java Micro Edition Java ME technology phoneME Advanced is a phoneME project based on Java ME CDC technology targeting resource constrained devices like smartphones set top boxes and office equipment See https phoneme dev java net and http java sun com products cdc endef define Build Compile endef define Package phoneme install INSTALL DIR 1 usr java cdc CP files usr java cdc 1 usr java endef eval call BuildPackage phoneme In this way the pre built phoneME can be selected from menuconfig so that it can be included in the next image Otherwise an ipk package can be created by executing make package phoneme install that will result in a file bin ifxmips packages phoneme 1 1 2 4 ifxmips ipk that can be uploaded and installed independently on the board by the opkg manager However since the JVM is a relatively large file it is suggested that the NAND flash is used for storing the JVM executable cvm AMRG User Manual Page 15 26 August 2013 lt Creative Systems Engin
24. rite map datum y gt map_write map datum adr z 4 3 FIRST BOOT Select UART Boot as indicated by the jumper settings in Figure 9 e Connect the USB to serial cable on the 9 pin connector e Open gtkterm cutecom dev ttyUSBO at 115200 8n1 from Linux Host e Power up e Send as raw file the ram bootloader located at backfire bin ifxmips uboot lantiq easy50712 DDR166M u boot asc e Install a tftp server on a Linux host and make available the file backfire bin ifxmips uboot lantiq easy50712 DDR166M u boot bin From the u boot environment execute assuming that IP addresses for both linux host and board are properly set e protect off all e run update uboot AMRG User Manual Page 12 26 August 2013 ER Creative Systems Engineering 4 4 SECOND BOOT Select flash boot by removing the jumpers BS1 and BS2 e Power up e Press enter to interrupt boot process enter the u boot environment e Make available via tftp the file located at bin ifxmips openwrt ifxmips squashfs image e Execute run update openwrt e Once the process complete execute boot 4 5 LED MANAGEMENT LEDs can be set on and off in Kernel mode by use of the functions exposed in include lt asm mach ifxmips ifxmips_led h gt void ifxmips led set unsigned int led void ifxmips led clear unsigned int led The argument in this functions is a 2 bytes value The following table indicates the values that can be safely used in the above functions and the
25. utility DESCRIPTION This variable is obsolete use the Package name description define instead URL http bridge sourceforge net endef AMRG User Manual Page 16 26 August 2013 ER Creative Systems Engineering define Package bridge description Ethernet bridging configuration utility Manage ethernet bridging a way to connect networks together to form a larger network endef define Build Configure call Build Configure Default with linux headers LINUX_DIR endef define Package bridge install INSTALL_DIR 1 usr sbin INSTALL_BIN PKG BUILD DIR brctl brctl 1 usr sbin endef eval call BuildPackage bridge 4 10 BUILDPACKAGE VARIABLES e PKG_NAME The name of the package as seen via menuconfig and ipkg e PKG_VERSION The upstream version number that we re downloading e PKG_RELEASE The version of this package Makefile e PKG BUILD DIR Where to compile the package e PKG SOURCE The filename of the original sources e PKG SOURCE URL Where to download the sources from e PKG MD5SUM A checksum to validate the download e PKG CAT How to decompress the sources zcat bzcat unzip e PKG BUILD DEPENDS Packages that need to be built before this package but are not required at runtime Uses the same syntax as DEPENDS below e PKG INSTALL Setting it to 1 will call the package s original make install with prefix set to PKG INSTALL DIR e PKG INSTALL DIR Where make install co
Download Pdf Manuals
Related Search
Related Contents
Multi-Link Multi-Link TeleVoIP Stick Cordless Telephone User Manual Bedienungsanleitung/Owners manual Manual de uso Canon FAX-JX510P User Guide Manual SikaRep final - Sika Ecuatoriana Instrucciones de justificación de las ayudas 仕 様 書 Manual del usuario 05-13-00 CERAS BLANDAS.p65 Operation Manual/1MB OFISTAR H7300 はじめにお読みください Copyright © All rights reserved.
Failed to retrieve file