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

文件功能 44binit.s----中断初始化,存储器,堆栈,系统初始化,建立C程序运行环境。 mencfg.s-----定义存储器延时等参数 option.s-----定义系统时钟频率等 main.c-------主函数 44blib.c-----S3C44B0X的一些自己编写的库文件-document functional 44binit.s---- interrupted initialization, memory, stack, system initialization and establish procedures C runtime environment. Mencfg.s----- defined parameters such as memory latency option.s----- definition of system clock frequency main.c------- main function 44blib.c----- S3C44B0X some of their preparation libraries
Date : 2025-12-19 Size : 96kb 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-19 Size : 6kb User : 韩天毅

2410开发板在ADS下测试IIC的程序 运行步骤: 1 打开iic.mcp工程文件 2 运行 3 观察终端输出从eeprom中 读出的数据 文件说明: iic_test.c 开发板初始化文件 2410iic.c iic实验主程序文件-2410 ADS development board under test in the IIC running steps : an open iic.mcp engineering documents two running three observation output terminal EEPROM read from the data file that tomorrow : iic_test.c development board initialization file 2410iic.c 2005/09 experiment main program file
Date : 2025-12-19 Size : 12kb User : 符杰林

2410开发板在ADS下测试IIS的程序 运行步骤: 1 打开iis.mcp工程文件 2 运行 3 根据屏幕提示,下载pcm文件到开发板中 然后接上耳机在开发板上的spi输出端,听取 音频输出 文件说明: iis_test.c 开发板初始化文件 2410iis.c iis实验主程序文件-2410 ADS development board under test in the running IIS steps : an open iis.mcp two projects running three documents under the screen prompts, PCM files to download development board which then connect headphones in the development of the 20 board output, to listen to audio output files : iis_test.c development board initialization file 2410iis.c iis experimental main program file
Date : 2025-12-19 Size : 567kb User : 符杰林

2410开发板在ADS下测试LED的程序 运行步骤: 1 打开led.mcp工程文件 2 运行 3 观察开发板上的跑马灯闪烁 文件说明: init.s 开发板初始化文件 Main.c 中断实验主程序文件-2410 ADS development board in the LED under test running steps : an open led.mcp engineering documents two running three observation of the development board scintillation 5,250 documents : init.s development board initialization file Main.c interrupted experimental main program file
Date : 2025-12-19 Size : 8kb User : 符杰林

2410开发板在ADS下的A/D转换测试程序。 运行步骤: 1 打开ad.mcp工程文件 2 运行 3 用一根导线连接ad 输入0通道,观察屏幕输出数据的变化 文件说明: ad_test.c:开发板初始化文件 ad.c :ad测试主文件-2410 ADS development board in the A/D converter testing procedures. Running steps : one open document ad.mcp two projects running with a three wire connections ad input channel 0, observation screen output data document the changes : ad_test.c : development board initialization file ad.c : ad testing main file
Date : 2025-12-19 Size : 15kb User : 符杰林

2410开发板在ADS下的D/A转换测试程序。 运行步骤: 1 打开DA.mcp工程文件 2 运行 3 使用示波器, 连接示波器与开发板上的DA输出和地线, 观察示波器上的变化 文件说明: ad_test.c 开发板初始化文件 ad.c ad实验主程序文件 -2410 ADS development board in the D/A converter testing procedures. Running steps : an open DA.mcp engineering documents using two running three oscilloscope Oscilloscope connect with the development board and the DA output earth observation oscilloscope document changes : ad_test.c development board initialization file ad.c ad experimental main program file
Date : 2025-12-19 Size : 11kb User : 符杰林

2410开发板在ADS下的中断测试程序。 运行步骤: 1 打开int.mcp工程文件 2 运行 3 按下开发板上的Eint0,Eint5,Eint19按键 观察终端上的中断输出 文件说明: int_test.c 开发板初始化文件 Eint.c 中断实验主程序文件-development board in 2410 under the ADS interruption test. Running steps : an open int.mcp two projects running three documents? Development board Eint0. Eint5, Eint19 buttons on the terminal observation interrupted output files : int_test.c development board initialization file Eint.c interrupted experimental main program file
Date : 2025-12-19 Size : 12kb User : 符杰林

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 : 2025-12-19 Size : 8kb User : 周波

DL : 0
用于手机gps开发,和调试 主要代码全是用c语言写的-Gps for mobile phone development, and debug the main code is written using c language
Date : 2025-12-19 Size : 25kb User : libenchun

从busybox提取的ftp客户端程序,main函数是测试函数。用arm-linux-gcc ftpClient.c -o main编译后即可运行。-Busybox extracted from the ftp client program, main function is to test the function. Use arm-linux-gcc ftpClient.c-o main compiled to run.
Date : 2025-12-19 Size : 6kb User : 许永贤

linux和arm下usb摄像头图像的获取,领用s3c2440芯片和video for linux 编程,c语言编程-linux and arm under the usb camera image acquisition, the recipients S3C2440 chip and video for linux programming, c language programming
Date : 2025-12-19 Size : 67kb User : voken

READ SERIAL PORT AND WRITE IT INTO a FILE
Date : 2025-12-19 Size : 1kb User : jackel

DL : 0
gps数据接收代码,包含gps.c,gps.h,main.c pudn中类似的代码在GetComma()函数中基本都是有误的。而且注释也不全。 这个是完整的版本,并且适合ARM2440/2410开发板。希望对大家有所帮助!-gps data receiving code, including gps.c, gps.h, main.c pudn in a similar code in GetComma () function are basically wrong in the. And not all comments. This is the complete version, and for ARM2440/2410 development board. We want to help!
Date : 2025-12-19 Size : 3kb User : ali

说明:该程序是适用于Mini6410开发板,是一个很小的裸机程序,基开发平台为 ADS,主要功能是 点亮 LED 并驱动串口输出,程序运行后,板上的LED 将会出现“对对碰”显示效果,同时从串口0 打印“Hello,  Mini6410”,  目标可执行文件可以被烧写到 Nand  Flash 的Block0运行,也可以烧写至普 通的 SD 卡运行使用, 可以称之为Bootloader的雏形。    -image_cfg.inc main.c MemParam_mDDR.inc mini6410-led.mcp s3c6410.inc s3c6410_addr.h s3c6410_base_regs.inc soc_cfg.h startup.s utils.c utils.h
Date : 2025-12-19 Size : 349kb User : nikegchen

此shell脚本可以自动编译所在文件夹的.C文件,并生成静态库文件,同时会删除.O文件 #不会将文件所含的main.c编译成库文件 # #先编译,然后再生成库。-This shell script to automatically compile the folder where the. C file, and generate a static library files, and it will delete. O file# is not contained in the file main.c compiled as a library file## first compile and then build the library .
Date : 2025-12-19 Size : 4kb User : 孙代表

DL : 0
FFT 包含的文件听完整的。fftmiscs.c main.c fourierf.c time.c main.c希望对你有所帮组-FFT contains the file to listen to the complete I hope for your help groups
Date : 2025-12-19 Size : 858kb User : 王心

main.c为画图程序,将bmp格式图片画在视频的图层上。-main.c for the Paint program, will bmp format pictures painted on the video layer.
Date : 2025-12-19 Size : 2kb User : dingzhou

test cruizcore gyro If you do not want to upload source code, you can join the download 200 files
Date : 2025-12-19 Size : 2kb User : y0uyandex
« 12 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.