How To Run LinuxWord文档格式.docx
- 文档编号:17563471
- 上传时间:2022-12-07
- 格式:DOCX
- 页数:17
- 大小:312.49KB
How To Run LinuxWord文档格式.docx
《How To Run LinuxWord文档格式.docx》由会员分享,可在线阅读,更多相关《How To Run LinuxWord文档格式.docx(17页珍藏版)》请在冰豆网上搜索。
Connectionto"
window,selecttheCOMportusedandvalidbyusingthe"
button.
∙Settheserialparametersasdescribedbelow:
oBitrate@115kbps,
oDatabit@8-bit,
oParityNONE,
oStopbitequalto1,
oFluxcontrolNONE
∙TheEBD9200andyourPCareconnectednow,
∙PresstheResetbutton(BP1)ontheEBD9200board,
∙SeethemessagesendfromtheboardtotheHyperTerminalconsole(Remark:
Thismessagecanchangeaccordingtothe"
u-boot"
version).
boot1.0(Oct162004-22:
21:
32)
Uncompressingimage...
U-Boot1.1.1(Nov162004-18:
01:
43)
U-Bootcode:
21F00000->
21F16F2CBSS:
->
21F1B368
RAMConfiguration:
Bank#0:
2000000032MB
Flash:
16MB
In:
serial
Out:
Err:
Hitanykeytostopautoboot:
0
Uboot>
2.Downloadloader.bin
Shutdowntheboard
ClosedjumperJ2(KernelBoard)1,2
Power-uptheEvaluationKitthroughtheJACK1connector,
SeethemessagesendfromtheboardtotheHyperTerminalconsole:
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
Click“transfer→sendfile”。
Selecttheloadfile“loader.bin”:
add“…\Bootloader\EBD9200_I16Mflash\loader.bin”,at“protocot:
”select“Xmodem”protocol,thenclick“send”button。
Therearethreekindsflash(2M,8M,16M).Ourflashis16M,soyouselect“EBD9200_I16Mflash”asshownbelow:
3.Downloadu-boot.bin
Sendfile“…\Bootloader\EBD9200_I16Mflash\U-Boot.bin”bythesameway,methodandconfigarethesameasshownbelow.
Thenu-bootstarts:
4.Downloadboot.bin
Wecanusethe“U-BOOT”commandtodevelop,suchasflashreading,writing,protectoffandloadingkernelbynetwork.Pleaseuse“protectoffall”toprotectofftheFlashprotectedbeforewritedataintoFlash.
protectoffall
Un-ProtectFlashBank#1
ErasethefirstsectorofFlash:
erase100000001001ffff
Erasingsector0…done
Erased1sectors
Downloadfile:
AttheU-Bootpromptenterloadb20000000
loadb20000000
##Readyforbinary(kermit)downloadto0x20000000at115200bps...
Thensendthefileofboot.bin,
click“transfer→sendfile”。
Selectthebootfile“boot.bin”。
add“…\Bootloader\EBD9200_I16Mflash\boot.bin”,at“protocol:
”select“Kermit”protocol,thenclick“send”button。
Downloadfiletoflashby“cp.b20000000100000005fff”
cp.b20000000100000005fff
CopytoFlash…/done
5.Downloadu-boot.gz
Sendthefileofu-boot.gzbythesameway,methodandconfigarethesameasshownbelow.
Downloadfiletoflashby“cp.b2000000010010000ffff”
cp.b2000000010010000ffff
RemovedjumperJ2(KernelBoard)1,2.andthenclosedjumperJ2(KernelBoard)2,3.
SeethemessagesendfromtheboardtotheHyperTerminalconsole
6.InstallingtheTFTPserver
TFTPserverisrequiredtoloadapplicationsthroughEthernetontheEBD9200.Youneedsetupthevicegerenttools“Tftp”.Firstfindthe“…\Tools\TftpServer\”,dblclick“tftp.exe”.
Select“Tftpd→Configure”,asshownbelow.
Clickthe“Browse”buttonrightofthe“HomeDirectory”button,makethedirectorypointtodirectoryof“…Linux\Image\”wheretheulmageandramdisk.gzare.
Afterconfigureconfirmwith“Ok”button,returntofrontalwindow.Select“Tftp→Start”,asshownbelow.
7.SetUpoftheU-Bootenvironnementvariables
∙U-BootMainCommands
setenvthiscommandisuseforsetthevariable
saveenvthiscommandsavethevariablespreviouslysetbeforeintheFlash.
printenvthiscommandprintthecurrentvariables.
∙MoreusedreservedVariable:
bootcmdthisvariablewhensetisexecutedautomaticallyafterthebootdelayifitisnotstopbytheuser.Itenablestheu-bootautobootmode.
bootargsthisvariable,itusedasanexchangeareatopassinformationtothemainapplicationstartedbyu-boot.
bootmthisvariableexecuteanapplicationgeneratedbythemkimagetool.
∙Setupoftheu-bootvariables
setenvethaddr12:
34:
56:
78:
99:
aa
/*setupoftheEthernetaddress,moreusuallycalledMACaddress*/
setenvipaddr192.168.0.102
/*theboardipaddress*/
setenvserverip192.168.0.103
/*theserveripaddresswheretheTFTPserverisrunning,needtobeonthesamesubmaskastheboard*/
setenvbootdelay3
/*timeinseconds,cannotbesetotvalue0*/
setenvbootargsroot=/dev/ramrwinitrd=0x21100000,8000000ramdisk_size=20000console=ttyS0,115200,mem=32M
/*thiscommandisveryimportant,becarefultotypeitwithoutaddingspace*/
saveenv
SavingEnvironmenttoFlash...
Un-Protected1sectors
ErasingFlash...Erasingsector7...ok.
WritingtoFlash...done
Protected1sectors
∙U-Bootscriptcapability
Youcancreatescript,whichavoidyoutotypecommands.
setenvkerneltftp21000000ulmage
/*thisscriptistheequivalentoftyping:
tftp21000000uImage.Butoncestoredintheflash,itallowsyoutosavetime,andautomate.Forexecutethescript,type"
runkernel"
(runyour_scriptname).*/
setenvramdisktftp21100000ramdisk
saveenv
Forlaunchlinux,typethefollowingcommand:
runramdisk
TFTPfromserver192.168.0.103;
ourIPaddressis192.168.0.102
Filename'
ramdisk'
.
Loadaddress:
0x21100000
Loading:
#################################################################
#################################################################
#######################
done
Bytestransferred=1112544(10f9e0hex)
runkernel
ourIPaddressis192.168.0.103
ulmage'
0x21000000
########################
Bytestransferred=783992(bf678hex)
bootm21000000
##Bootingimageat21000000...
ImageName:
ImageType:
ARMLinuxKernelImage(gzipcompressed)
DataSize:
783928Bytes=765.6kB
LoadAddress:
20008000
EntryPoint:
VerifyingChecksum...OK
UncompressingKernelImage...OK
Startingkernel...
Linuxversion2.4.27-vrs1(amine@PC0142)(gccversion2.95.320010315(rele
ase))#1SatOct220:
54CEST2004
CPU:
Arm920Tid(wt)revision0
Machine:
ATMELAT91RM9200
Onnode0totalpages:
8192
zone(0):
8192pages.
zone
(1):
0pages.
zone
(2):
Kernelcommandline:
root=/dev/ramrwramdisk_size=20000mem=32Minitrd=0x2
1100000,8000000console=ttyS0,115200
WelcometoAT91RM9200EKLinux
AT91RM9200EKramdisk(glibc-2.2.3)
Copyright(C)2004M.AmineSAYA(ATMEL)
ReleasedunderGNUGPL
AT91RM9200EKlogin:
Logasroot,youhavethelinuxstandardcommandsavailable
root
login[25]:
rootloginon`ttyS0'
BusyBoxv0.60.5(2004.09.08-17:
38+0000)Built-inshell(ash)
Enter'
help'
foralistofbuilt-incommands.
[root@AT91RM9200EK]#
8.Auto-BootfromFlash
Ifyouwanttoautomaticallyrunlinux,youmusttodoasshownbelow:
tftp21000000ulmage
#######################
Bytestransferred=779566(be52ehex)
Flashthelinuxbinaryfiletoflash
U-Boot>
cp.b2100000010020000bodb1
/*“be52e”isthesize(hex)ofulmage*/
tftp21100000ramdisk
##########################################################
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- How To Run Linux
![提示](https://static.bdocx.com/images/bang_tan.gif)