易截截图软件、单文件、免安装、纯绿色、仅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


相关文档:

Ubuntu上建立Arm Linux 开发环境

目的:
把ARM linux的交叉开发环境,kernel, filesystem,
bootloder安装,并配置,使其可以编译bootloder, kernel, 可以nfs更新文件系统;
资源:
代码:
arm-linux-toolchains.tgz
matrix5-kernel-v5.5.tgz
vivi.tar.gz
Jflash.tgz
root-for-nfs-v5.5.tgz
规划:
交叉编译器装在:/usr/local/
ker ......

linux ,路在何方?

 
学linux也有一段时间了,从一个菜鸟成长为蹒跚走路的雏鸟,一路走来,难免有些磕磕碰碰。对linux的认识也从听说很强大,到亲自体验它的开源、安
全、以及优越的性能,不过也吃尽了苦头,真的是五味俱全。
    
都说linux功能强大,自从我接触了linux就感觉到了它的强大。强大的安全性能, ......

Linux常用命令

vi编辑命令
进入编辑模式 --> i (insert) 或者 a (append)
进入命令模式 --> Esc
命令模式常用操作:
删除一行 --> dd
复制一行 --> yy
粘贴 --> p ( yy 和 p 是结合使用)
替换 --> :s/oldwords/newwords 替换当前行 :%s/oldwords/newwords 替换所有
注:特殊字符用"\"转义&n ......

《Linux内核源代码情景分析》读书笔记


宏内核与微内核

P2

      宏内核(
Monolithic
Kernel
)操作系统的
kernel
中既包含管理用户进程的组件,又包含向用户进程提供服务的组件(例如进程间通信、设备驱动程序、文件系统等),从而使得用户进程与操作系统
kernel
间存在着典型的
client/server
模型,但是这 ......

Linux下的多线程编程


Linux下的多线程编程
作者:姚继锋 2001-08-11 09:05:00
来自:http://www.china-pub.com
1 引言
  线程(thread)技术早
在60年代就被提出,但真正应用多线程到操作系统中去,是在80年代中期,solaris是这方面的佼佼者。传统的Unix也支持线程的概念,但是在一个
进程(process)中只允许有一个线程,这样多线程 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号