FAQ Of EBD9200I Linux.docx

上传人:b****4 文档编号:3928909 上传时间:2022-11-26 格式:DOCX 页数:26 大小:1.24MB
下载 相关 举报
FAQ Of EBD9200I Linux.docx_第1页
第1页 / 共26页
FAQ Of EBD9200I Linux.docx_第2页
第2页 / 共26页
FAQ Of EBD9200I Linux.docx_第3页
第3页 / 共26页
FAQ Of EBD9200I Linux.docx_第4页
第4页 / 共26页
FAQ Of EBD9200I Linux.docx_第5页
第5页 / 共26页
点击查看更多>>
下载资源
资源描述

FAQ Of EBD9200I Linux.docx

《FAQ Of EBD9200I Linux.docx》由会员分享,可在线阅读,更多相关《FAQ Of EBD9200I Linux.docx(26页珍藏版)》请在冰豆网上搜索。

FAQ Of EBD9200I Linux.docx

FAQOfEBD9200ILinux

 

EBD9200-IUserGuide

FAQOfEBD9200-ILinux

 

CopyrightShenzhen Embedall Technology Co., Ltd

6-Nov-2006

V1.0-E

TableofContents

1.Introduction3

2.HowtouseUSBHost3

3.HowtouseUART5

4.HowtouseEthernet7

5.HowtouseLCD10

6.HowtouseNandFlash(SMC_Card)andYaffsfilesystem13

7.HowtouseNorFlashandJffs2filesystem16

8.HowtouseCFandIDE20

9.HowtouseCAN-Bus23

10.HowtouseRTC(DS1307)25

11.Howtousewatchdog(internal)27

 

1.Introduction

Thisdocumentcoverssomefrequentlyaskedquestionsandanswersonlinuxbsp.

 

2.HowtouseUSBHost

Select“USBsupport”

Select“AT91RM9200OHCI-compatiblehostinterfacesupport”

IfyouwanttosupportUSBmouseorUSBkeyboard,youmustselectthat:

IfyouwanttootherUSBdevices,youcanfindthem,andthenyouselectthem.

WhenLinuxup,inserttheUSBdevices,youcanshowthat:

Usecommand“mount”tooperateit:

 

3.HowtouseUART

Select“Characterdevices”

Select“Serialdrivers”

 

Select“AT91RM9200serialportsupport”and“ConsoleonAT91RM9200serialport”

Therearetwointernalserialports,whenLinuxup,youcanfindthedevices“ttyS0~ttyS1”inthe/dev/.

4.HowtouseEthernet

Select“Networkingoptions”

Youcanseethat:

 

Andyoumustselectnetworkprotocol,whatyouwant.

Select“Networkdevicesupport”

Select“Networkdevicesupport”,andthenenter“Ethernet(10or100Mbit)”.

 

Select“AT91RM9200Ethernetsupport”and“RMIIinterface”

IfyouareatthefirsttimetouseEthernet,youmustsetMACandIP.

SetMACandIP:

 

5.HowtouseLCD

Select“Consoledrivers”

Select“Frame-buffersupport”

 

Youmustselectthat:

EBD9200-IsupportalotofLCDS,formoreinformation,pleaseseethefilesontheCD:

“/LinuxCodes/Kernel/”

Thereisafiles1d13806.honeveryfile.whenyouwanttouseLCD,youmustreplacethefile“s1d13806.h”onLinuxsource“/drivers/video/epson/”withthefileontheCD.

 

WhenuseSTN320_240,mustselect“8bpppackedpixelssupport”,othersmustselect“16bpppackedpixelssupport”.

 

6.HowtouseNandFlash(SMC_Card)andYaffsfilesystem

Select“MemoryTechnologyDevices(MTD)”

Selectthat:

 

Andenter“NANDFlashDeviceDrivers”,select“SmartMediaCardonAtmelAT91RM9200”

IfyouselectNandFlash,andthenyoumustsupportyaffsfilesystem.

Select“Filesystems”

 

youmustselectthattosupportyaffsfilesystem.

Ifyouuse64MBNandFlash(intelflashE28F128J3A),andwhenLinuxup,youcanseethat:

SmartMediacardinserted.

NANDdevice:

ManufacturerID:

0xec,ChipID:

0x76(SamsungNAND64MiB3,3V)

Creating2MTDpartitionson"NAND64MiB3,3V":

0x00000000-0x02000000:

"NANDpartition1,root-yaffs"

0x02000000-0x04000000:

"NANDpartition2,use-yaffs"

Youcanalsousecommand“cat”tofindthatonthefile“/proc/mtd”.

Andthenyoucanusecommand“mount”tooperateit:

7.HowtouseNorFlashandJffs2filesystem

Select“MemoryTechnologyDevices(MTD)”

Select“RAM/ROM/Flashchipdrivers”

 

Andthenselectthat:

Select“Mappingdriversforchipaccess”,

 

Andthenselectthat:

IfyouselectNorFlash,andthenyoumustsupportyaffsfilesystem.

Select“Filesystems”

 

youmustselectthattosupportJffs2filesystem.

Ifyouuse16MBNorFlash,andwhenLinuxup,youcanseethat:

physmapflashdevice:

1000000at10000000

cfi_cmdset_0001:

Erasesuspendonwriteenabled

Usingbufferwritemethod

usingstaticpartitiondefinition

Creating1MTDpartitionson"Physicallymappedflash(E28F128J3A)":

0x00100000-0x00fe0000:

"Norpartition,jffs2"

Youcanalsousecommand“cat”tofindthatonthefile“/proc/mtd”.

Andthenyoucanusecommand“mount”tooperateit:

 

8.HowtouseCFandIDE

Select“ATAsupport”

Select“ATA/ATAPI/MFM/RLLsupport”,andtheenter“IDE,ATAandATAPIBlockdevices”

 

Andthenselectthat

Ifyouselectthe“ATAforAT91RM9200”,andthenyoumustselectvfatfilesystemtosupportit.

Select“Filesystems”

 

Select“VFAT(Windows-95)fssupport”

TherearetwoslotsforATA,one(J17)isforCFcardslot,another(CN2)isforIDEcardslot.

IfyouwanttouseCFcardorIDEcard,youmustsettheVCC(J33)andthecardwhichoneismasterorslave(J34andJ35).

Ifyoudoabove,andtheninsertthecard,whenLinuxup,youcanseetheinformation:

ide:

Assuming50MHzsystembusspeedforPIOmodes;overridewithidebus=xx

EBD9200IDEinitialization-driverversion1.0,2-18-06.

hda:

HitachiXX.V.3.4.0.0,CFADISKdrive

ide0at0xc2a81040-0xc2a81047,0xc2a81038onirq28

hda:

attachedide-diskdriver.

hda:

250368sectors(128MB)w/1KiBCache,CHS=978/8/32

Partitioncheck:

/dev/ide/host0/bus0/target0/lun0:

p1

SCSIsubsystemdriverRevision:

1.00

Andthenyoucancreateanewfilec,andusecommand“mount”tooperateit:

9.HowtouseCAN-Bus

Select“Characterdevices”

Select“AT91RM9200SPIdeviceinterface”and“AT91RM9200CAN-Businterface”

 

Youcanfindthedevices“0”and“1”inthe“/dev/spi/”whenLinuxstarted.

AndyoualsocanusethefileCANtesttotesttheCAN-Bus.

BeforeyourunCANtest,youmustconnecttheJ1orJ3toaCANEquipment.

 

10.HowtouseRTC(DS1307)

Select“Characterdevices”

Select“AT91RM9200I2C-BusinterfaceForDS1307”

 

Youcanfindthedevice“0”inthe“/dev/i2c/”whenLinuxstarted.

Andyoualsocanusethefile“ds1307”toresetthetimeorshowthetime.

 

11.Howtousewatchdog(internal)

Select“Characterdevices”

Select“WatchdogCards”

 

Select“AT91RM9200watchdog”

Youcanfindthedevices“watchdog”inthe“/dev/misc/”whenLinuxstarted.

 

PASS-061106DY-XJW000-070201GHX-0921-

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 初中教育 > 学科竞赛

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1