Welcome![Sign In][Sign Up]
Location:
Search - linux 2.6.28

Search list

[Embeded Linuxsmp86xx_rootfs.tar.bz2

Description:

 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.

 

 


Platform: | Size: 234248 | Author: mattli001 | Hits:

[Audio programfaac codec

Description: 最新faac 1.28 音频编码器。linux/windows平台
Platform: | Size: 678891 | Author: hongzi | Hits:

[Embeded-SCM Developlinux-2.6.28_s3c2410_mtd

Description: 基于linux-2.6.28的mtd驱动,S3C2410、2440的设备分区-Linux-2.6.28 based on the mtd driver, S3C2410, 2440 District of equipment
Platform: | Size: 1374208 | Author: 唐海涛 | Hits:

[Linux-Unixibdriver-1.3.4-linux-2.6.28-rc2

Description: linux下的无线宽带驱动,适合已经对linux驱动内核已经一定了解的人-wireless broadband under linux driver, linux driver for the kernel already has a certain understanding of the people
Platform: | Size: 37888 | Author: laobiao | Hits:

[Linux-Unixtrace-analyzer-2009-02-28

Description: new network simulator trace file analisator
Platform: | Size: 124928 | Author: a | Hits:

[Linux-UnixNS2_simulator

Description: 本源码为NS-2 网络模拟基础与应用 (方路平等编著)一书的全部源代码,书中的错误全部被纠正,在NS2.34下测试通过,均为本人原作,并附有本人学习心得-The source for the NS-2 network simulation of basic and applied (side road of equality ed.), all the source code for the book, the book' s errors were all corrected by the NS2.34 tested, all my original work, together with my learning experience
Platform: | Size: 123904 | Author: 高峰 | Hits:

[Linux-Unixexint-gpio

Description: s3c2410 linux 2.6.28.7
Platform: | Size: 3072 | Author: xx | Hits:

[Embeded Linuxsja1000

Description: lpc3250编写测试成功的linux2.6.28内核下的sja1000驱动源码,允许动态加载和卸载-lpc3250 successful linux2.6.28 write tests under the sja1000 kernel driver source code, allowing dynamic loading and unloading
Platform: | Size: 50176 | Author: jame_c | Hits:

[Embeded Linuxpca9698_gpio

Description: PCA9698是I2C总线的IO口扩展芯片。这是其linux 2.6.28下的驱动程序。-PCA9698 I2C bus is the expansion of the IO port chip. This is the driver under linux 2.6.28.
Platform: | Size: 3072 | Author: chen keli | Hits:

[Embeded Linuxlinux-3G-software

Description: 这是6410的开发板上配的中兴3G模块的驱动,编译好的是驱动模块只适用于linux-2.6.28内核的。其他内核的话自己可以交叉编译下。-This is the development of the 6410 board with 3 G modules of the resurgence of drive, compiled driver module is only applicable to Linux-2.6.28 kernel. Other kernel words can cross the compiler.
Platform: | Size: 865280 | Author: lly | Hits:

[Linux-Unixxvmalloc

Description: xvmalloc memory allocator for linux v2.6.28
Platform: | Size: 4096 | Author: cunihin | Hits:

[Internet-Network4.28

Description: 视屏通话系统利用Linux下ALSA音频、V4L2视频采集接口采集视频数据,并通过UDP发送数据实现音频、视频通话,系统界面由Qt开发工具设计。-video phone
Platform: | Size: 1186816 | Author: 吴军 | Hits:

[Linux-Unix2.6.28kernel-i2c

Description: linux I2C驱动适用内核2.6.28-linux I2C driver for kernel 2.6.28
Platform: | Size: 312320 | Author: pengjx | Hits:

[Linux-Unixifplugd

Description: ifplugd for busybox, based on ifplugd 0.28 Source Code for Linux.
Platform: | Size: 6144 | Author: weicuekao | Hits:

[Communicationpca9698_gpio

Description: PCA9698是I2C总线的IO口扩展芯片。这是其linux 2.6.28下的驱动程序。-PCA9698 I2C bus is the expansion of the IO port chip. This is the driver under linux 2.6.28.
Platform: | Size: 3072 | Author: inrkfas | Hits:

[Embeded Linuxfaac-1.28

Description: 音频编码pcm转aac faac源码优化; 支持嵌入式linux平台交叉编译;-pcm to aac faac code
Platform: | Size: 1971200 | Author: 邓莹星 | Hits:

[Linux-Unixgus_tables

Description: See linux sound oss dmasound dmasound_core.c for copyright and credits prior to 28 01 2001.
Platform: | Size: 7168 | Author: bxvgwi | Hits:

[Internet-Networksub_phone4.28

Description: Linux下编写的网络音视频对讲,视频采用H.264硬件编解码实现的。-Linux, prepared by the network audio and video intercom, video using H.264 hardware codec implementation.
Platform: | Size: 56320 | Author: 金敏 | Hits:

[Linux drivernet

Description: Drivers snapshot for Linux 2.6.28 fork, adds support for NE2000 in DM500 and other platforms.
Platform: | Size: 9435136 | Author: Xavier Mendez | Hits:

[Linux driveratmel_lcdfb_driver_for_linux

Description: linux驱动lcd液晶屏幕的驱动程序,lcd液晶驱动, AT91sam9263板子液晶屏驱动的详细步骤和方法,我的屏幕是640x480,牌子三菱。用的atmel的arm9驱动lcd display;修改linux内核源码linux内核驱动源码; 换屏幕需要修改3个文件,lcd驱动如何编写,如何修改lcd驱动,linux液晶驱动,linux frame buffer驱动 /////////////////////////////////////////////////////// 一个是atmel_lcdfb.c 一个是fbcmap.c,这个是调色板,可以不修改都行,主要是修改atmel_lcdfb.c 第三个是:mach-at91\board-sam9263ek.c,修改lcd设备的默认显示位模式,原来是16位的,被改成8位了。 640x480的lcd驱动;需要改动3个内核驱动文件:board-sam9263ek.c, atmel_lcdfb.c, fbcmap.c-linux driver for MITSUBI lcd, 640x480; modified the linux kernel for driving the LCD. My CPU is Atmel AT91sam9263,we have to modified 3 file in kernl(linux kernel 2.6.28.7):board-sam9263ek.c, atmel_lcdfb.c, fbcmap.c
Platform: | Size: 15360 | Author: 林端 | Hits:
« 12 »

CodeBus www.codebus.net