[問題] 請問嵌入式系統的一些問題
各位大大好
小弟最近在作一個有關於嵌入式系統的設計
目前已經有些概念 但是還是有些地方不太清楚
所以上來請教一下
主要的目的是要使用硬體去作加解密
以下是我的紀錄
平臺&系統:
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)
→
06/18 16:31, , 1F
06/18 16:31, 1F
推
06/18 19:45, , 2F
06/18 19:45, 2F
LinuxDev 近期熱門文章
PTT數位生活區 即時熱門文章