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

设备ID烧写程序.exe 软件使用说明: > 1)先打开此程序.设备好串口号.其它取默认值就可以了.打开串口(默认开机自动打开串口1). 然后,设备按OK键开机. > 2)打勾"自动生成下一个设备ID" 产品ID会自动加1. 当产品ID达到最大999999时,生产批次自动加1,产品ID置为1000001 > 3)烧写完一台机器后,不用关闭程序,只需将串口插入下一台机器OK开机即可,进入UBOOT,先点击命令发送等握手后,再开始烧写设备ID. > 4)只有烧写成功后,才自动生成下一个设备ID,才写入C:\ID.TXT文件中. > 5)点击读取已写设备ID时,将在调试区显示所有以前写成功的时间及设备ID,也可以直接查看C:\ID.TXT > 文件. > 6)已烧写的设备ID存储文件可以更改. > 7) 字段 产品型号 产品ID 硬件代码 软件代码 生产批次 范围 101~999 100001~999999 A~H 01~99 01~99 8)每次启动后,自动进入普通用户模式.输入权限密码后,就进入管理员用户.在下方的状态 指示中有当前用户显示. 9)下方有显示当前用户类型,已成功烧写个数. 10)初始权限密码为dongyao 11)每次关才程序时会自动保存ID信息及已烧写个数信息. 12)BUG: 不要在权限密码框内按回车健.否则会退出.
Date : 2025-12-16 Size : 4.93mb User : 王碧

Babbage H/W overview
Date : 2025-12-16 Size : 2.62mb User : wang

1:修改dev.c文件,定义一个全局变量int count=0 然后用它来统计包的个数。 2.修改sys.C文件,添加extern int count 然后定义自己的函数,asmlinkage int sys_mycall(void) 3.修改entry.S和unistd.h文件,为自己定义的函数增加系统调用号。 4.自己写个函数进行系统调用。-1: Modify dev.c file, define a global variable int count = 0 then use it to the number of statistical packages. (2) modify sys.C file, add extern int count and then define your own functions, asmlinkage int sys_mycall (void) 3. Entry.S and unistd.h files to modify for their own defined function to increase the system call number. 4 to write a function for system calls.
Date : 2025-12-16 Size : 56kb User : 吴涛

海思Hi3520 PCI总线演示程序 PCIV 相关样例程序包含以下几部分: 1、PCIV MSG :PCI业务层的消息通讯封装。基于MCC模块提供的ioctl接口,提供消息端口的打开关闭、消息发送、消息接收等接口。 相关代码为pciv_msg.c、pciv_msg.h。 2、PCIV Trans:PCI业务层的数据传输封装。基于PCI DMA传输接口、PCI消息交互及一套基本的读写指针Buffer,实现业务层通用数据传输接口。 可以用于主从片之间的任何类型的数据的传输。相关代码为pciv_trans.c、pciv_trans.h。 3、PCIV Sample:PCI业务层的接口使用样例。基于PCIV的MPI接口和以上两个模块提供的接口。 相关代码为sample_pciv_host.c、sample_pciv_slave.c、sample_pciv_comm.h。 目前演示的业务包括: 1)从片将实时预览图像通过PCI传输到主片并显示 2)从片将编码码流通过PCI传输到主片并存储 3)主片从文件中读取待解码码流,通过PCI传输到从片,从片解码后将图像数据再发送到主片显示。-Hass Hi3520 PCI bus demonstration program PCIV relevant sample program contains the following sections: 1, PCIV MSG: PCI service layer message communication package. MCC module based on the ioctl interface to provide information to open the port closed, consumer Information to send, the message receiver interfaces. Related code pciv_msg.c, pciv_msg.h. 2, PCIV Trans: PCI data transfer package business layer. PCI DMA transfers based interface, PCI message exchange and a set of basic reading and writing pointers Buffer, the business layer to achieve common data transfer interface. Between master and slave chip can be used for any type of data transmission. Related code pciv_trans.c, pciv_trans.h. 3, PCIV Sample: PCI interface to use the business layer sample. Based on PCIV the MPI interface and the interface of these two modules. Related code sample_pciv_host.c, sample_pciv_slave.c, sample_pciv_comm.h. Current presentation of business include: 1) real-time prev
Date : 2025-12-16 Size : 2.56mb User : sillygenius

嵌入式linux下采集视频并编码视频,保存为本地文件。 交叉编译器为arm-linux-gcc4.3.2 编码器为H.264最新版本 采集和编码双线程,于s3c2440上测试成功。-Embedded linux video capture and encode video and save it as a local file. Cross compiler for arm-linux-gcc4.3.2 H.264 encoder latest version capture and encoding two threads, in s3c2440 on the test was successful.
Date : 2025-12-16 Size : 1.94mb User : ls

此程序代码是基于达芬奇系列DM6446嵌入式开发之驱动程序开发示例程序,该程序包中包含C语言源程序demo.c,test_demo.c和Makefile文件。该程序简洁明了,旨在说明驱动程序的框架结构,以及嵌入式驱动程序开发的步骤,对嵌入式驱动程序开发入门的同志非常有帮助。该程序经过反复的调试运行,没有错误,可直接运行。 调试步骤 1、仔细读目录中的代码:demo.c,demo.h,test_demo.c。 分析各部分代码的功能,以及应用程序和驱动程序的调用,数据读写的方法和流程。 2、仔细读目录中的Makefile文件,理解文件中各个语句的功能。 在宿主机上进入存放实验文件的目录,输入:make 生成需要的驱动程序。 输入:make app 生成需要的应用程序。 3、进入minicom或超级终端,将实验目录挂载到目标机上(具体过程见先前实验)。 4、进入实验目录,运行:./ install_demo_driver将驱动和相应的支持文件(mod文件)装载到系统中。 5、运行:./test_demo执行应用程序,查看输出结果。-This code is based on a series of leonardo Da Vinci DM6446 driver development of embedded development sample program, the program package contains C language source program demo. C, test_demo. C and Makefile.The program simple, showing that the frame structure, the driver and the embedded driver development steps, introduction to the embedded driver development comrades are very helpful.After repeated the test and operation of the program, there are no errors, can be directly run. Commissioning procedures 1, carefully read the catalog code: demo. C, demo. J h, test_demo. C. Analysis of the function of each part of the code, as well as the applications and drivers call, the method and flow of data reading and writing. 2 Makefile, carefully read the directory, understand the function of file each statement. Enter the directory where the files on the host, input: make generated need driver. Input: make app generated need application. 3, enter the minicom or super terminal, will tes
Date : 2025-12-16 Size : 38kb User : yanghao
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.