Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - c compiler
Search - c 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

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

介绍linux 上的c函数库,里面比较详细介绍了函数库文件,对于linux编程来说很好-briefed on the c library containing more detailed document of the library, for instance good linux programming
Date : 2026-01-10 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 : 2026-01-10 Size : 6kb User : 韩天毅

nios-linux交叉编译器,可以在linux环境下建立nios的交叉编译环境.-nios- linux cross-compiler, linux environment can be established under nios cross-compiler environment.
Date : 2026-01-10 Size : 318kb User : alan

tvp5150视频编解码芯片驱动程序,cpu通过i2c控制该芯片,将驱动程序放入driver/i2c/chips目录下,并且在makefile文件中加入该驱动编译即可。-tvp5150 Video Decoder Chip driver, cpu through i2c control of the chip Add to Driver driver/i2c/chips directory, and the makefile to accede to the document can be driven compiler.
Date : 2026-01-10 Size : 2kb User : 李正路

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 : 2026-01-10 Size : 3.37mb User : Nathanan

1) 复制libminigui-str-1.6.2.tar.gz至任意用户目录。 2) 解压此文件 tar zxvf libminigui-str-1.6.2.tar.gz 4) 将zlg7289.c zlg7289.h二文件拷贝入增值版的相应目录中 libminigui-1.6.2-linux/src/ial/ 5) 修改相关宏定义使上述二文件加入库编译。 a. 修改libminigui-1.6.2-linux/src/ial/Makefile.am 在29行增加 ZLG7289_SRCS = zlg7289.c zlg7289.h 在37行增加 $(ZLG7289_SRCS) b. 修改libminigui-1.6.2-linux/src/ial/ial.c 在166行加入 #include "zlg7289.h" 在282行的数组内加入 {"zlg7289", InitZLG7289Input, TermZLG7289Input}, c. 进入项目主目录, 重新配置编译依赖 cd libminigui-1.6.2-linux 去掉后aclocal和automake后的版本号后,运行此脚本,忽略警告项。 d. 同上配置方法配置MiniGUI 6) 修改运行时配置文件MiniGUI.cfg中的IAL ial_engine=zlg7289-a) Copy libminigui- str- 1.6.2.tar.gz to arbitrary users Contents. 2) extract this document tar zxvf libminigui- str- 1.6.2.tar.g z 4) zlg7289.c zlg7289.h two paper copies into value-added version of the corresponding directory lib minigui-1.6.2-linux/src/ial/5) to amend the definition so that the above- two papers to the compiler. A. revise libminigui-1.6.2-linux/src/ial/Makef ile.am the 29 firms to increase ZLG7289_SRCS = zlg7289.c zlg728 9.h the 37 firms to increase $ (ZLG7289_SRCS) b. revise libminigui-1 .6.2-linux/src/ial/ial.c in 166 firms join# include " zlg7289.h "in the array 282 to add (" zlg7289 " InitZLG7289Input, TermZLG7289Input). c. entering the main project directory, re-allocation of compiler- dependent cd libminigui- 1.6.2- linux removed aft
Date : 2026-01-10 Size : 8kb User : 周波

数据库,源码类,直接编译以后在工程中加入,就可以使用了-Database, source type, direct the compiler to add after the project, you can use the
Date : 2026-01-10 Size : 2.1mb User : 李冠

gpio驱动 leddrv.c为驱动源程序 writeled.c为应用程序 writeled.c 编译方式 arm-elf-gcc -Wall -O2 -Wl,-elf2flt -o writeled writeled.c leddrv.c 编译方式 arm-elf-gcc -D__KERNEL__ -I你的uClinux目录/linux-2.4.x/include-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -mshort-load-bytes -msoft-float -DMODULE -c -o leddrv.o leddrv.c -GPIO driver leddrv.c-driven source code for applications writeled.c way writeled.c compiler arm-elf-gcc-Wall-O2-Wl,-elf2flt-o writeled writeled.cleddrv.c way compiler arm-elf-gcc-- you are D__KERNEL__-I of the uClinux directory/linux-2.4.x/include-Wall-Wstrict-prototypes-Wno-trigraphs-O2-fno-strict-aliasing-fno-common-fno-common-pipe-fno-builtin-D__linux__-- DNO_MM-mapcs-32-march = armv4-mtune = arm7tdmi-mshort-load-bytes-msoft-float-DMODULE-c-o leddrv.o leddrv.c
Date : 2026-01-10 Size : 2kb User : zhengbo

1.under bootloader 1)cd your_dir/mrua_EM8620L_2.5.115.RC8_dev.arm.bootirq/MRUA_src/loader 2)将flash_v3.c改名为flash.c替换原来的flash.c 3)编译 2.under linux kernel 1)cd armutils_2.5.108.0/build_arm/linux-2.4.22-em86xx/drivers/mtd 2)将mtdblock_v4.c改名为mtdblock.c替换原来的mtdblock.c 3)cd armutils_2.5.108.0/build_arm/linux-2.4.22-em86xx/drivers/mtd/chips 4)将cfi_cmdset_0002_v4.c改名为cfi_cmdset_0002.c替换原来的cfi_cmdset_0002.c 5)编译。 note:如果在使用cat等指令写flash的过程中出现下面的信息: Flash write to Buffer aborted @ 0x****** = 0x****** 是正常信息。 -1.under bootloader 1) cd your_dir/mrua_EM8620L_2.5.115.RC8_dev.arm.bootirq/MRUA_src/loader 2) will be renamed as flash_v3.c replacement flash.c original flash.c 3) compile 2.under linux kernel 1) cd armutils_2.5.108.0/build_arm/linux-2.4.22-em86xx/drivers/mtd 2) will be renamed as mtdblock_v4.c replacement mtdblock.c original mtdblock.c 3) cd armutils_2.5.108.0/build_arm/linux-2.4 .22-em86xx/drivers/mtd/chips 4) will be renamed as cfi_cmdset_0002_v4.c replacement cfi_cmdset_0002.c original cfi_cmdset_0002.c 5) compiler. note: If the cat, such as instruction in the use of flash in the process of writing the following information: Flash write to Buffer aborted @ 0x****** = 0x****** is normal information.
Date : 2026-01-10 Size : 22kb User : qiujian

DL : 0
基于博创ARM3000的平台上的几个开发程序。 包含程序math.c以及其他的一些库文件。整个文件完整,可进行编译下载。 开发软件是SDT: 1、开发环境实验-Fiberxon ARM3000-based platform to develop several procedures. Math.c contains procedures, as well as some other library file. Integrity of the entire document, the compiler can be downloaded. The development of software is SDT: 1, development environment experiment
Date : 2026-01-10 Size : 134kb User : 肖鹏辉

DL : 0
基于博创ARM3000的平台上的几个开发程序。 包含程序math.c以及其他的一些库文件。整个文件完整,可进行编译下载。 开发软件是SDT: 5、AD接口实验-Fiberxon ARM3000-based platform to develop several procedures. Math.c contains procedures, as well as some other library file. Integrity of the entire document, the compiler can be downloaded. The development of software is SDT: 5, AD Interface Experiment
Date : 2026-01-10 Size : 119kb User : 肖鹏辉

DL : 0
基于博创ARM3000的平台上的几个开发程序。 包含程序math.c以及其他的一些库文件。整个文件完整,可进行编译下载。 开发软件是SDT: 6、电机控制-Fiberxon ARM3000-based platform to develop several procedures. Math.c contains procedures, as well as some other library file. Integrity of the entire document, the compiler can be downloaded. The development of software is SDT: 6, motor control
Date : 2026-01-10 Size : 127kb User : 肖鹏辉

DL : 0
基于博创ARM3000的平台上的几个开发程序。 包含程序math.c以及其他的一些库文件。整个文件完整,可进行编译下载。 开发软件是SDT: 10、定时器中断和驱动程序-Fiberxon ARM3000-based platform to develop several procedures. Math.c contains procedures, as well as some other library file. Integrity of the entire document, the compiler can be downloaded. The development of software is SDT: 10, timer interrupt and driver
Date : 2026-01-10 Size : 135kb User : 肖鹏辉

我把下面的文章都压缩到一个包里去了,希望有些对大家有帮助::当今编译器介绍,linux学习笔记,嵌入式linux在arm开发板上的移植,arm指令集,ARM三百问,WIGGLE(能生产设计用的),C语言面试汇总-I put the following articles are compressed into a bag to go, I hope some of you help:: Introduction of today s compiler, linux study notes, embedded linux development board in arm transplant, arm instruction set, ARM 300 Q , WIGGLE (can be used for production design), C language interview summary
Date : 2026-01-10 Size : 6.6mb User : 小庄

上位机(386以上PC机)的所有程序是在BORLAND C++环境下编译的,因此串行通信程序可以直接应用I/O通信库函数bioscom(),该函数在由port指定的I/O端口上执行RS-232通信操作。通信前,根据与8098单片机的通信协议,设定通信的串行端口、数据位数、停止位数、波特率,由于上位机时钟为12MHz,所以对应的波特率应设置为4800。下面给出上位机串行通信的部分程序:-PC (386 or more PC machine) all the procedures in BORLAND C++ Compiler environment, and therefore serial communication procedure can be applied directly to I/O communications library function bioscom (), the function designated by the port of I/O port on the implementation of RS-232 communication operation. Communication before, in accordance with the 8098 single-chip communication protocols, set the serial port communication, data, median, and stop the median, the baud rate, as the PC clock to 12MHz, so the corresponding baud rate should be set to 4800 . The following is PC serial communication part of the procedure:
Date : 2026-01-10 Size : 3kb User : zeng

如果C++程序要调用已经被编译后的C函数,该怎么办? 如何理解extern "C" 如何实现C调用C++接口库 对由 __cplusplus 和 extern "C" 组成的 C、C++编译器编译标准C函数的通用写法的理解-If you want to call C++ program has been compiled C functions, how to do? How to understand the extern " C" How C call C++ interface library and on the __cplusplus extern " C" consisting of C, C++ compiler to compile the standard C function, a common understanding of written
Date : 2026-01-10 Size : 371kb User : wt0427

DL : 0
IAR C/C++ Compiler for
Date : 2026-01-10 Size : 270kb User : JACK

CMake是一个跨平台的安装(编译)工具,可以用简单的语句来描述所有平台的安装(编译过程)。他能够输出各种各样的makefile或者project文件,能测试编译器所支持的C++特性,类似UNIX下的automake。-CMake is cross-platform free and open-source software for managing the build process of software using a compiler-independent method. It is designed to support directory hierarchies and applications that depend on multiple libraries. It is used in conjunction with native build environments such as make, Apple s Xcode, and Microsoft Visual Studio. It has minimal dependencies, requiring only a C++ compiler on its own build system
Date : 2026-01-10 Size : 15.53mb User : Gao
« 12 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.