易截截图软件、单文件、免安装、纯绿色、仅160KB

Quick guide for porting linux to ALTERA DE2 70

Platform and tools:  Ubuntu 9.04
Step 1,   Download the nios linux tallbal
wget http://www.niosftp.com/pub/linux/nios2-linux-20090929.tar
or use xunlei to fix it.
Step2,
tar xvf  nios2-linux-20090929.tar
cd nios2-linux
./checkout
Step 3,   Generate the fpga.h file
First, a nios processor should be constructed.
Use any one of examples in the DE2 cd.  For instance, use  E:\fpga\de2_70\DE2_70_demonstrations\DE2_70_NIOS_HOST_MOUSE_VGA
Then add a mmu as pics bellow.   Remember to click the Auto-Assign Base Addresses, or it will sthick on the booting stage.
Click Generate, this takes a while.
Alfter above steps, we can get fpga.h file now.Open Nios II Command Shell,   cd to this DE2...vga DIR,  and key in the following commond
sopc-create-header-files --single fpga.h
start complication
copy ***VGA.sof to c:/
then copy the fpga.h file to /softs/nios2-linux/linux-2.6/arch/nios2/include/asm
Step 4     Building the linux kernel
 
Add "PATH=$PATH:~/nios2-linux/toolchain-mmu/x86-linux2/bin" to ~/.bashrc file
cd /softs/nios2-linux/uClinux-dist
make menuconfig        
#Enable the dma9000 and mtd drivers
make
cd images
copy linux.initramfs.gz  to windows xp  c:/
Step 5   Flash Linux kelnel to DE2-70
 
Open Nios II Command Shell,   cd to this DE2...vga DIR,  and key in the
following commonds
 
nios2-configure-sof  ***.sof
nios2-download -g linux.initramfs.gz
nios2-terminal
 
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
[NiosII EDS]$ nios2-terminal
nios2-terminal: connected to hardware target using JTAG UART on cable
nios2-terminal: "USB-Blaster [USB-0]", device 1, instance 0
nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate)
Linux


相关文档:

Linux 的多线程编程的高效开发经验

2009 年 4 月 23 日
本文中我们针对 Linux 上多线程编程的主要特性总结出 5 条经验,用以改善 Linux 多线程编程的习惯和避免其中的开发陷阱。在本文中,我们穿插一些 Windows 的编程用例用以对比 Linux 特性,以加深读者印象。
背景
Linux 平台上的多线程程序开发相对应其他平台(比如 Windows)的多线程 API 有一些细微 ......

windows登陆远程Linux主机的一种途径putty

windows登陆远程Linux主机的一种途径putty-详细安装使用过程
作者:gliethttp
如果你打算在windows下访问另外一台装有Linux的机子,那么推荐使用putty
SSH提供两种级别的安全验证: 一是基于口令的安全验证。只要用户知道自己账号和口令,就可以登录到远程主机。所有传输的数据都会被加密,但是不能保证用户正在连接的服 ......

LINUX c++线程池框架

版权声明:原文地址及作者不详,如有侵权,请联系;
本文给出了一个通用的线程池框架,该框架将与线程执行相关的任务进行了高层次的抽象,使之与具体的执行任务无关。另外该线程池具有动态伸缩性,它能根据执行任务的轻重自动调整线程池中线程的数量。文章的最后,我们给出一个简单示例程序,通过该示例程序,我们会发现, ......

Linux下的多线程编程


Linux下的多线程编程
作者:姚继锋 2001-08-11 09:05:00
来自:http://www.china-pub.com
1 引言
  线程(thread)技术早
在60年代就被提出,但真正应用多线程到操作系统中去,是在80年代中期,solaris是这方面的佼佼者。传统的Unix也支持线程的概念,但是在一个
进程(process)中只允许有一个线程,这样多线程 ......

从windows移植到linux碰到的问题

环境: LINUX 企业版5.0
        boost_1.40, zlib_1.53, lua_1.5
 
工具:  codelite
 
如何编译boost, zlib, lua:
编译boost:
1. 进入boost_1_40_0文件夹
2. ./bootstrap.sh
3.  ./bjam install
就这3步就装好boost了
 
编译lua:
make
make g ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号