Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - compiler
Search - compiler - List

 sigma smp8634/8635 toolchain rootfs building source.

=================

Readme.txt

=================

 

This is the Sigma Designs customization of the root file system for the

SMP86xx family of chips.

 

This package is of course heavily depending on the toolchain and kernel

packages.

 

Quick HOW-TO

============

a) You need to have a working toolchain package. Once you have built your 

   toolchain, be sure to source toolchain-path.env. This is required for you to

   be able to build the rootfs package.

b) Untar the rootfs package.

c) First, configure your root file system: 'make menuconfig'. All the options 

   in the configuration menus have detailed help. Once you are satisfied with

   your choice of options, exit and save the configuration.

d) If you are using the toolchain composed of gcc 3.4.2, binutils 2.15.91.0.2,

   and uClibc 0.9.27 (defined in the toolchain package) then you must select

   Busybox 1.00 from the 'Package Selection for the target --->' menu.

   If on the other hand you are using the toolchain composed of gcc 4.0.4,

   binutils 2.17, and uClibc 0.9.28.3 then you must select Busybox 1.5 from

   the 'Package Selection for the target --->' menu.

e) If you chose to customize your root file system (option 'customize' in

   submenu 'Package Selection for the target'), be sure to prepare your custom

   files now.

f) Run 'make' to produce your root file system.

 

IMPORTANT NOTE: as of this release, the only supported option in the 'Target 

Options' menu is 'cramfs root filesystem for the target device' (with all its

suboptions). Any other option is currently unsupported and some are known to

not work.

 

Once you are through with step e), your root file system is available in the

main directory of the package as 'root_fs_mipsel.cramfs'.

 

Note about the integration with the toolchain and the kernel source packages

============================================================================

The rootfs package is now integrated with the toolchain package and the 

kernel source package and is able to interact with them in the following

ways:

 

 a) it can grab the necessary runtime libraries from the toolchain package.

 b) it can receive the kernel modules and support files from the kernel source

    package.

 c) the kernel source package can use the produced rootfs image for its initial

    RAM disk.

 

For interaction a) to take place, the SMP86XX_TOOLCHAIN_PATH environment 

variable must be defined and it must point to the main directory of the 

produced toolchain. The easiest way to achieve that is by sourcing the

'toolchain-path.env' environment file after it is produced at the end of the

toolchain production.

 

Note that defining SMP86XX_TOOLCHAIN_PATH is not optional. The build will not

go through unless the environment variable is defined and points to a correct

location. This is because, even if the build went through, the resulting root

file system would be unusable as it would not provide *any* run time library.

 

For interactions b) and c) to take place, the SMP86XX_ROOTFS_PATH environment

variable must be defined and must point to the main directory of the rootfs

package. The easiest way to achieve that is by sourcing the 'rootfs-path.env'

environment file after it is produced, right after your run 'make' or 

'make menuconfig' for the first time.

 

When SMP86XX_ROOTFS_PATH is defined and points to a valid location, the kernel

source package is able to:

 

 b) install its modules to the correct location under the customization 

    directory ('package/customize/source') in the rootfs package. In order to

    then make sure the modules end up in the produced rootfs image, you must

    select the 'customize' option under the 'Package Selection for the target'

    menu in 'make menuconfig'.

 c) grab the produced rootfs image (root_fs_mipsel.cramfs) and use it for its

    initial RAM disk.

 

Thus, in order to produce a rootfs holding the kernel modules and use it as the

kernel initial RAM disk, you need to go through the following steps in order

(note: this is convoluted):

 1) optionally build the toolchain (or use an existing one, more recent than

    2.6.90.0)

 2) source toolchain-path.env in the toolchain package directory

 3) configure the rootfs package with the 'customize' option on in the

    'Package Selection for the target' menu

 4) source 'rootfs-path.env' in the rootfs package directory

 5) configure the kernel, review what is configured as modules, 'make dep'

 6) 'make modules' in the kernel source directory

 7) the 'modules_install' target for the kernel needs that the system map be

    already produced. In order to achieve that, build a first version of the

    kernel: 'make vmlinux'

 8) 'make modules_install' in the kernel source directory. The modules are now

    installed in the rootfs package customization directory.

 9) 'make' in the rootfs package directory. You have now produced a rootfs 

    image holding the kernel modules.

10) 'make' in the kernel source directory. You have now produced a linux ZBF

    image with an initrd holding the kernel modules.

    

Coming features

===============

N/A

 

Troubleshooting

===============

a) when building the cramfs utility tool, the compiler complains that it can't

   find 'zlib.h' or '-lz'.

 

   You need to have the development version of zlib installed on your system.

   How to do that depends on your distribution.

 

 


Date : 2008-12-27 Size : 228.76kb User : mattli001

arm-linux交叉编译环境的建立-arm- linux cross-compiler environment established
Date : 2025-12-21 Size : 8kb User : 忤怲

这个代码不能在linux编译,要加以修改,但写得是很好的,选自某个嵌入式linux 的源码 -the code in Linux compiler not to modify, but is written in good, chosen from a certain source embedded Linux
Date : 2025-12-21 Size : 14kb User : 刘波

总的来说,在uClinux上的开发和标准Linux还是很类似的。通常可以按照下面的步骤去设计和调试: 建立基于以太网的开发环境; 如果所设计的程序和硬件的关联不大,那么一定要在标准Linux上先编译和调试通过。灵活地使用gcc和gdb将大大节省时间; 将x86上的GCC编译好的应用程序用交叉编译工具来编译;如果编译时发现错误,那么很可能存在以下问题: 交叉编译器或库文件的路径不正确;最彻底的解决办法是重新装一次编译器; 遇到库不支持的函数;此时需要自己把函数的实现做成另外一个库供应用程序使用。如果是uClinux本身不支持的调用,那么就需要改写代码了。-Overall, the uClinux on the development and standard Linux is still very similar. Usually can use the following steps to design and debug : Ethernet-based development environment; If the design of the procedure and not linked to the hardware, then it must be the first standard Linux compiler and debugging through. Flexibility in the use of gdb and gcc will greatly save time; X86 will be on the GCC-compiled application with cross-compiler tool to compile; If you compile time error is found, it was very likely that the following issues : cross-compilers or libraries are not the correct path; The most radical solution is a re-installed time compiler; encountered does not support functions; At this time the need to keep the realization of function caused another one for the supply of the proce
Date : 2025-12-21 Size : 5kb User : 郭指挥

介绍linux 上的c函数库,里面比较详细介绍了函数库文件,对于linux编程来说很好-briefed on the c library containing more detailed document of the library, for instance good linux programming
Date : 2025-12-21 Size : 4.81mb User : 王凯

在c环境下的编译器 一.实验完成主要功能描述: 1.if语句 2.if_else语句 3.while语句 4.数组 5.函数调用 6.对外部函数printf的调用(用于打印) 二.测试环境 1.fedora core 4(OS) 2.lex version 2.5.4 3.yacc 4.gcc (GCC) 4.0.0 20050519 (Red Hat 4.0.0-8) -in the context of a compiler. Experiments main function Description : 1.if statement 2.if_else statement 3.while statements 4. 5 array. Function call 6. The external function calls printf (print) 2. A test environment . fedora core 4 (OS) 2.lex 3.yacc 4.gcc version 2.5.4 (GCC) 4.0.0 20050519 (Red Hat 4.0.0-8)
Date : 2025-12-21 Size : 6kb User : 韩天毅

我为S3C2410写的扩展并口驱动程序,已经编译运行通过,附带内核配置文件。-S3C2410 I write for the expansion of parallel drivers, has been running through the compiler, kernel configuration file attached.
Date : 2025-12-21 Size : 5kb User : 贺亚龙

Nios II的uboot bootloader程序,完全可以在Nios SDK Shell下编译。-Nios II uboot Bootloader procedures, can the Nios SDK Shell compiler.
Date : 2025-12-21 Size : 1.81mb User : 梁夷

本程序是对ARM9的嵌入式系统开发的驱动程序的代码,它的编译环境是交叉编译的GCC,测试通过的代码,里面包含有网络,外围设备等的驱动。内容丰富,很值得一看的。-procedures for the ARM9 embedded system development driver code, it is the cross-compiler environment of the GCC compiler, test the code, which contains network, peripherals such as driver. Content rich, and visit the gallery.
Date : 2025-12-21 Size : 1.28mb User : 谭航

windows下烧写flash的工具,实用于2410,用vc可以编译-under the windows of burning flash tools, and practical in 2410, the compiler can use vc
Date : 2025-12-21 Size : 1.59mb User : ht

matrix开发版的走马灯应用程序,linux下编译。-matrix version of the merry-go-round development of applications, Linux compiler.
Date : 2025-12-21 Size : 1kb User : ht

这是一个嵌入式系统上运行的中文输入法, 可以为PDA等手持设备提供一种方便快捷的中文输入法。移植也相当方便,直接交叉编译即可。-This is an embedded system running on the Chinese input method for handheld devices such as PDAs provide a convenient mode of Chinese input methods. Transplants are very convenient and can be directly cross compiler.
Date : 2025-12-21 Size : 216kb User :

再做嵌入式开发的时候,首先要建立交叉编译环境,偶是刚开始做这个项目,希望同行常作交流-doing embedded development, the first to establish cross-compiler environment, duality is just beginning the project, hope for the regular exchange of peer
Date : 2025-12-21 Size : 162kb User : 孟晓露

gcc-2.95.3,gcc的编译器和其补丁,我有很多这种源代码glibc,binutils,ccaches等有人要的话可以发信给我-gcc- 2.95.3, the gcc compiler and its patches, I have a lot of this source code glibc, binutils, ccaches to other people so I can write to
Date : 2025-12-21 Size : 9.51mb User : 孟晓露

关于ARP 欺骗的试验程序。在 RED HAT LINUX 下编译-ARP cheat on the test procedure. RED HAT Linux compiler
Date : 2025-12-21 Size : 2kb User : 黄里

是一个linux下的摄像头驱动,网上的驱动源码比较难找,这个基本能用,根据具体的摄像头配置和设置改下,linux下可编译-the camera driver, online source quite difficult to drive, the basic used. specific camera configuration and setup changed, the compiler under Linux
Date : 2025-12-21 Size : 70kb User : fengyi

C Programming for Microcontrollers : Featuring ATMEL’s AVR Butterfly and the Free WinAVR Compiler : Joe Pardue SmileyMicros.com -C Programming for Microcontrollers : Featuring ATMEL's AVR Butterfly and the Free Wi nAVR Compiler : Joe Pardue SmileyMicros.com
Date : 2025-12-21 Size : 3.37mb User : Nathanan

建立linux交叉编译环境。全面介绍了linux的开发-The establishment of linux cross compiler environment. A comprehensive introduction to the development of linux
Date : 2025-12-21 Size : 150kb User : wanjun

本程序有友善之臂提供,为2440开发板的示例程序,请把该目录复制到目录中,编译使用时进入其中一个子目录,运行make即可。-This procedure has the arm to provide a friendly, for example the 2440 development board, please copy the directory to the directory, the compiler used to enter a subdirectory, you can run make.
Date : 2025-12-21 Size : 6kb User : 麦伟强

详细描述了Xilinx_ZC702交叉编译环境的创建,自己亲自实践,测试可用-Detailed description of the cross-compiler environment to create Xilinx_ZC702, personally practice tests available
Date : 2025-12-21 Size : 2.48mb User : lin
« 12 3 4 5 6 7 8 9 10 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.