作者l1O01l0O01 (二进制)
看板LinuxDev
标题[问题] 请问嵌入式系统的一些问题
时间Mon Jun 18 15:47:39 2007
各位大大好
小弟最近在作一个有关於嵌入式系统的设计
目前已经有些概念 但是还是有些地方不太清楚
所以上来请教一下
主要的目的是要使用硬体去作加解密
以下是我的纪录
平台&系统:
Intel IXP425 MonteJade
arm-linux-tools-20061213.tar.gz
SnapGear-3.4.0
ixp400AccessLibraryWithCrypto-2_0.zip
ixp400NepLibraryWithCrypto-2_0_5.zip
--以下两个packets没有用到 会有影响吗?--
ixp400LinuxEthernetDriverPatch-1_4.zip
ixp400LinuxIntegrationpatch-1_3.zip
比较重要的编译的选项如下
make menuconfig
Vendor/Product Selection --->
(Intel) Vendor
(MonteJade) Intel Products
Kernel/Library/Defaults Selection --->
(linux-2.6.x) Kernel Version
(uClibc) Libc Version
make linux_menuconfig
Loadable module support --->
*Enable loadable module support
* Module unloading
* forced module unloading
* Module versioning support
* Source checksum for all modules
* Automatic kernel module loading
Device Driver --->
SCSI device support --->
M SCSI device support
M SCSI disk support
USB support --->
M Support for Host-side USB
* USB verbose debug messages
* USB device filesystem
M EHCI HCD (USB 2.0) support
M OHCI HCD support
M USB Mass Storage support
* USB Mass Storage verbose debug
* Freecom USB/ATAPI Bridge support
* ISD-200 USB/ATA Bridge support
File systems --->
Direct I/O support
DOS/FAT/NT Filesystems --->
* MSDOS fs support
* VFAT (Windows-95) fs support
(950) Default codepage for FAT
(big5) Default iocharest for FAT
* NTFS file system support
* NTFS debugging support
* NTFS write support
Native Language support --->
(utf8) Default NLS Option
* Codepage 437 (United States, Canada)
* Traditional Chinese charset (Big5)
make modules_menuconfig
OCF Configuration --->
M OCF (Open Cryptographic Framework)
M IXP4xx (HW crypto engine)
XSCAL/IXP400 Modules --->
(2.0) Intel Access Library version
--Components
* usb
* cryptoAcc
make config_menuonfig
BysyBox --->
* insmod: 2.6 and above kernel modules
* insmod: Support tainted module checking with new kernels
不太清楚 想请教的问题
1.以上在编译的过程 如果想编译Intel Access Library的usb module
就会有一整串的error 几乎是整个usb.c每一行都有错
例如file not found或是syntex error等...
有人知道为什麽会有这样的问题吗?
还是没关系 直接使用kernel内附的usb module就好了?
2.关於modules
我在网路上找到的资料 OFC是让kernel与SW/HW互相作同步的功能
这样我是要使用OFC的IXP4xx (HW crypto engine)
挂载ofc.ko + ixp4xx.ko
还是Intel Access Library的cryptoAcc
挂载ixp400.ko + ixp400_eth.ko
或者是两者都可以 没有差别?
3.同上 要去使用硬体所提供的功能
是不是只要在code中使用Programmer's Guide里面的API
交叉编译後 在执行时就可以去自动使用?
4.有没有什麽办法 可以让桌上电脑把425当作储存装置使用?
最理想的目标 是可以让425像一个usb随身碟一样
就是425透过usb线与PC端作连接
对PC而言 就好像是插上一个usb随身碟 可以去储存资料
但是我目前想到比较可行的方法
却是使用到网路线的 在425上面则是去架ftp或是samba伺服器
不知道在usb方面可实现出来吗?
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.120.108.147
※ 编辑: l1O01l0O01 来自: 140.120.108.147 (06/18 15:51)
1F:→ NcThoR:NFS 06/18 16:31
2F:推 bullfrogtwn:如果您买的是商用套件,是不是有附谘询服务呢? 06/18 19:45