Giter Site home page Giter Site logo

isliulin / da-662a_kernel_v1.2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dongdong-2009/da-662a_kernel_v1.2

0.0 0.0 0.0 579.02 MB

Kernel source of DA-662A

License: GNU General Public License v2.0

Shell 1.26% C++ 2.07% Python 0.02% Perl 0.87% C 93.27% PHP 0.03% Emacs Lisp 0.01% Objective-C 0.47% Java 0.03% Common Lisp 0.05% Visual Basic 0.01% Tcl 0.02% ASP 0.01% Assembly 1.87% Ada 0.01% Prolog 0.01% Elixir 0.01% Scilab 0.01% OpenEdge ABL 0.01% Awk 0.02%

da-662a_kernel_v1.2's Introduction

------------------------------------------------------------------------------

Building embedded Linux firmware for DA-662A-LX

-----------------------------------------------------------------------------
Following steps describe how to decompress and build the firmware for Moxa embedded platform

1.Host Operation System Requirements  (recommend)

	Debian 4.0, 5.0, 6.0 (on x86 32bit)
	Ubuntu 8.04, 8.10, 9.04, 9.10, 10.04, 10.10, 11.04, 11.10 (on x86 32bit)
 	
2. Install the developing enviornment

	Following compiling enironment and packages are needed for firmware
	making. you must install these packages on your Debian based 
	enviornment.

	$ apt-get install build-essential autoconf lynx libxml2 libxml2-dev btyacc libjpeg62 libjpeg-dev flex man2html bison libtool libncurses5-dev xmlto uboot-mkimage

3. Install the arm-linux cross compiler for source code making. 
You can check it in your cdrom or download it from Moxa supporting 
page, http://www.moxa.com/support/support_home.aspx.

	For DA-662A-LX install the toolchain

	$ sh /tmp/arm-linux_4.4.2-v4.3_Build_16091312.sh
	$ rm -f /tmp/arm-linux_4.4.2-v4.3_Build_16091312.sh
	$ export PATH=$PATH:/usr/local/arm-linux-4.4.2-v4/bin

4. Untar the source code, da662a_18070918.tar.bz2

	tar xjvf da662a_18070918.tar.bz2
	
	After the da662a_18070918.tar.bz2 is untared, 
	all the files will be decompressed in /PATH/TO/da662a directory
	
	./da662a/linux-2.6.38.8	Linux kernel source code
	./da662a/modules		Linux kernel modules (not included in kernel)
	./da662a/user			Application source code
	./da662a/lib			Library source code
	./da662a/vendor/Moxa/		Product specific configurations
	./da662a/host			Host utility
	./da662a/tools			rom file making utilities
	./da662a/config		firmware configuration files

5. Then you can enter the da662a directory and make the firmware image
	
	5.1. Select the Vendor/Product and Kernel/Libray in menuconfig

	$ cd /PATH/TO/da662a
	$ make menuconfig

	5.1.a. Enter the Vendor/Product menu and select Moxa/da662a

	--- Select the Vendor you wish to target
	(Moxa) Vendor
	--- Select the Product you wish to target
	(da662a) Moxa Products

	5.1.b. Enter the Kernel/Library/Defaults Selection and select submenus you need

	--- Kernel is linux-2.6.38.8 
	--- Libc is None
	[ ] Default all settings (lose changes)
	[ ] Customize Kernel Settings (NEW)
	[ ] Customize Module Settings
	[ ] Customize Vendor/User Settings
	[ ] Update Default Vendor Settings
	
	Save your new kernel configuration	

	5.2. make the linux kernel

	$ cd /PATH/TO/da662a
	$ make linux

	the kennel image will be output to /tftpboot/zImage, you should create 
	/tftpboot directory before making zImage

	5.3. Fast making the firmware

	$ cd /PATH/TO/da662a
	$ make fast_build

	the firmwares and image files will be output to /tftpboot/1.0_Build_12042605/

	da662a/FWR_DA662a_V1.0_Build_12042605.hfm	the firmware
	da662a/DA662a_R1-2.4-1.0_Build_12042605	the ROM1 image
	da662a/DA662a1_R2-2.4-1.0_Build_12042605	the ROM2 image
	da662a-kernel-1.0.bin			the kernel image
	da662a-usrdisk-1.0.dsk			the roof file system image
	
	You can upload the .hfm file to your target and upgrade by upgradehfm
	
	5.4. Rebuild all the source

	This will take a long time to rebuild all the libraries and applications. If not necessary, we suggest you should use the fast build making.

	$ cd /PATH/TO/da662a
	$ make
	

da-662a_kernel_v1.2's People

Contributors

moxasystem avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.