Em định cài đặp nhân cho lập trình nhúng, đọc bài của bác Thanh thấy cài realtime linux + với nhân, ví dụ em muốn cài nhân linux để lập trình nhúng và em thấy thằng snapgear.org có hỗ trợ con IXP425
http://www.snapgear.org/snapgear/downloads.html
Nhưng em chưa rõ lắm phải sử dụng snapgear này thế nào? làm nó thành một entry khi khởi động chăng! (em mới bắt đầu 1 tuần với linux)
http://www.snapgear.org/snapgear/documentation.html
Dưới đây là các bước:
Vậy em đang dùng Fedora thì sẽ phải thêm nó vào Grub.conf
Em down file iso trên trang snapgear này định cài boot từ cd room nhưng không được!
Vậy nếu có cả nhân to như vậy thì sau này việc nạp ra con device sẽ như thế nào?
http://www.snapgear.org/snapgear/downloads.html
Downloads
Links below point to the SnapGear Embedded Linux Distribution. SnapGear Linux is a full source package, containing kernel, libraries and application code for rapid development of embedded Linux systems.
Source
The following link is the latest snapshot source package that includes support for a wide variety of CPU architectures. It contains support for X86, M68k, ColdFire, ARM/XSCALE, Hitachi SuperH and many other microprocessor architectures, on many varied target platforms. It also contains 2.0.39, 2.4.32 and 2.6.19 Linux kernel sources, uC-libc, newer uClibc-0.9.27 libraries and a huge collection of application packages - everything you need to build fully functional embedded Linux systems.
SnapGear Embedded Linux (3.5.0) [tarred gzipped]
This is a source only package. You will need a tool chain to generate anything useful from this source. Several pre-built binary tools packages are available.
Also available is a patch package that can be used to build the Intel IXP4xx Access Library code as part of the SnapGear distribution. This patch set contains support for the Intel CSR-1.4 with DSR-2.6.2 combination, and the Intel CSR-2.4 library (on both 2.4 and 2.6 linux kernels).
SnapGear IXP400 Access Library patch [shar]
Tools
uClinux Tool Chains:
* M68k/ColdFire - m68k-uclinux-tools-20061214.sh binary and source
* ARM - arm-linux-tools-20061213.tar.gz binary and source
* SPARC - sparc-elf-20020214.tar.gz binary and source
* H8300 - h8300-elf-20030420.tar.gz binary and source
Linux Tool Chains:
* x86 - i386-linux-20030930.tar.gz binary and source
* ARM/XSCALE - arm-linux-tools-20061213.tar.gz binary and source
* SuperH - sh-linux-20021008.tar.gz binary (sh-linux-tools-20021008-g++-v3.tar.gz g++ headers) and source
Generally speaking the tool chains consists of at least the following packages:
* binutils, gcc, gdb (from www.gnu.org)
Some targets also require additional tools for generating FLAT format binaries (uClinux targets), filesystem creation tools (genromfs, genext2fs, etc) or checksumming utilities. Original source, patches and build scripts for all binaries are available using the source links above. You can browse the tools directory here.
ISO
If you have the bandwidth / patience you can pull absolutely everything in a single ISO image:
SnapGear Embedded Linux Distribution [iso]
Otherwise, please visit our buy page for information about how you can get a CD shipped to you.
Archives
You can find older versions, if any, in the archive directory.
Links below point to the SnapGear Embedded Linux Distribution. SnapGear Linux is a full source package, containing kernel, libraries and application code for rapid development of embedded Linux systems.
Source
The following link is the latest snapshot source package that includes support for a wide variety of CPU architectures. It contains support for X86, M68k, ColdFire, ARM/XSCALE, Hitachi SuperH and many other microprocessor architectures, on many varied target platforms. It also contains 2.0.39, 2.4.32 and 2.6.19 Linux kernel sources, uC-libc, newer uClibc-0.9.27 libraries and a huge collection of application packages - everything you need to build fully functional embedded Linux systems.
SnapGear Embedded Linux (3.5.0) [tarred gzipped]
This is a source only package. You will need a tool chain to generate anything useful from this source. Several pre-built binary tools packages are available.
Also available is a patch package that can be used to build the Intel IXP4xx Access Library code as part of the SnapGear distribution. This patch set contains support for the Intel CSR-1.4 with DSR-2.6.2 combination, and the Intel CSR-2.4 library (on both 2.4 and 2.6 linux kernels).
SnapGear IXP400 Access Library patch [shar]
Tools
uClinux Tool Chains:
* M68k/ColdFire - m68k-uclinux-tools-20061214.sh binary and source
* ARM - arm-linux-tools-20061213.tar.gz binary and source
* SPARC - sparc-elf-20020214.tar.gz binary and source
* H8300 - h8300-elf-20030420.tar.gz binary and source
Linux Tool Chains:
* x86 - i386-linux-20030930.tar.gz binary and source
* ARM/XSCALE - arm-linux-tools-20061213.tar.gz binary and source
* SuperH - sh-linux-20021008.tar.gz binary (sh-linux-tools-20021008-g++-v3.tar.gz g++ headers) and source
Generally speaking the tool chains consists of at least the following packages:
* binutils, gcc, gdb (from www.gnu.org)
Some targets also require additional tools for generating FLAT format binaries (uClinux targets), filesystem creation tools (genromfs, genext2fs, etc) or checksumming utilities. Original source, patches and build scripts for all binaries are available using the source links above. You can browse the tools directory here.
ISO
If you have the bandwidth / patience you can pull absolutely everything in a single ISO image:
SnapGear Embedded Linux Distribution [iso]
Otherwise, please visit our buy page for information about how you can get a CD shipped to you.
Archives
You can find older versions, if any, in the archive directory.
Nhưng em chưa rõ lắm phải sử dụng snapgear này thế nào? làm nó thành một entry khi khởi động chăng! (em mới bắt đầu 1 tuần với linux)
http://www.snapgear.org/snapgear/documentation.html
Dưới đây là các bước:
Documentation
Documentation is included with the src packages, but this page will help you get up and running quickly.
Instructions for compiling:
1. Install a tool chain. If you are using a binary tool chain package then install that now. If you are building your own tool chain, then do that now.
2. Un-archive the source package. It is a gziped tar image, so do:
tar xvzf snapgear-XXXXXXXX.tar.gz
This will dump the source into a snapgear directory. Typically you would do this somewhere in your local user directory. (Good practice dictactes that you don't build things like this as root :-)
3. Cd into the source tree:
cd snapgear
4. Configure the Linux kernel. Configure the build for your specific target. Do the following:
make xconfig
Or you can use the menuconfig or config make target if you are not running the X windows system on your development machine.
The top level selection is strait forward if you know the vendor of the board you want to compile for. You can choose also to modify the underlying default kernel and application configuration if you want.
At first I suggest using the default configuration for your vendors board. It will almost certainly work as is on your board.
5. Build the dependencies:
make dep
6. Build the image:
make
Documentation is included with the src packages, but this page will help you get up and running quickly.
Instructions for compiling:
1. Install a tool chain. If you are using a binary tool chain package then install that now. If you are building your own tool chain, then do that now.
2. Un-archive the source package. It is a gziped tar image, so do:
tar xvzf snapgear-XXXXXXXX.tar.gz
This will dump the source into a snapgear directory. Typically you would do this somewhere in your local user directory. (Good practice dictactes that you don't build things like this as root :-)
3. Cd into the source tree:
cd snapgear
4. Configure the Linux kernel. Configure the build for your specific target. Do the following:
make xconfig
Or you can use the menuconfig or config make target if you are not running the X windows system on your development machine.
The top level selection is strait forward if you know the vendor of the board you want to compile for. You can choose also to modify the underlying default kernel and application configuration if you want.
At first I suggest using the default configuration for your vendors board. It will almost certainly work as is on your board.
5. Build the dependencies:
make dep
6. Build the image:
make
Em down file iso trên trang snapgear này định cài boot từ cd room nhưng không được!
Vậy nếu có cả nhân to như vậy thì sau này việc nạp ra con device sẽ như thế nào?
Development steps of Embedded Linux
The following are development steps of Embedded Linux. Seeing these steps, you will know how to construct development environment for embedded linux.
(1) Installing Linux to host PC
(2) Installing Embedded Linux GUI Toolkit, development kit to host PC
(3) Compiling bootloader, kernel image, filesystem for target board
(4) Porting images compiled at the preceding step to target board
(5) Porting Embedded Linux GUI Toolkit to target board
(6) Developing software for target board in host PC
(7) Porting the developed software to target board
The following are development steps of Embedded Linux. Seeing these steps, you will know how to construct development environment for embedded linux.
(1) Installing Linux to host PC
(2) Installing Embedded Linux GUI Toolkit, development kit to host PC
(3) Compiling bootloader, kernel image, filesystem for target board
(4) Porting images compiled at the preceding step to target board
(5) Porting Embedded Linux GUI Toolkit to target board
(6) Developing software for target board in host PC
(7) Porting the developed software to target board
Comment