亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? readme.nios

?? UBOOT 源碼
?? NIOS
字號:
			   U-Boot for Nios-32		    Last Update: February 1, 2004====================================================================This file contains information regarding U-Boot and the AlteraNios CPU. For information regarding U-Boot and the Nios DevelopmentKits see:  * Cyclone Edition (DK-1C20), see doc/README.dk1c20  * Stratix Edition (DK-1S10), see doc/README.dk1s10 (TODO)  * Stratix Edition (DK-1S40), see doc/README.dk1s40 (TODO)  * Stratix Edition (DK-20K200), see doc/README.dk20k200 (TODO)For informations regarding Nios Development Kit hardware overviewand the NIOS CPU standard configuration of all known boards made byAltera see:  * Development Kit (DK) hardware overview, see doc/README.nios_DK  * NIOS CPU standard_32 at DK-1C20, see doc/README.dk1c20_std32  * NIOS CPU standard_32 at DK-1S10, see doc/README.dk1s10_std32  * NIOS CPU standard_32 at DK-1S40, see doc/README.dk1s40_std32  * NIOS CPU standard_32 at DK-20K200, see doc/README.dk20k200_std32For those interested in contributing ... see HELP WANTED below.1. OVERVIEW------------U-Boot has been successfully tested on the Nios Cyclone developmentboard using both the 'safe' and 'standard 32' configurations withNios CPU revision 3.1 (CPU_ID = 0x3018). U-Boot can be used withor without the GERMS monitor. The initial version of U-Boot for theCyclone development kit is about 60 Kbyte and will fit in a singlesector of on-board FLASH. Only the Nios 32-bit CPU is supported.1.1 GERMS Monitor------------------If GERMS is just not enough, then U-Boot is a great antibiotic.You will be very pleased with its high degree of configurabilityand its rich feature set.A few of the most obvious limitations of GERMS are overcome byusing U-Boot (See 'Brain Damage'). Most notably, you can useminicom or Hyperterminal (duh).1.2 Altera Source Code-----------------------The Nios port does NOT include ANY sources that Altera has thecopyright. This was a conscious decision ... not an accident.The Altera license is not clear in terms of distributing Alterasources (when altera silicon is not involved). This isn't reallya problem as little, if any, of the Altera source containsfeatures that are not already available in U-Boot.1.3 Debugging via OCI---------------------The Nios port supports debugging with gdb and/or nios-consolevia the JTAG port. Stubs for debugging with gdb via the serialport are not currently implemented.2. CONFIGURATION OPTIONS/SETTINGS----------------------------------2.1 Nios-specific Options/Settings-----------------------------------All configuration options/settings that are specific to Nios beginwith "CONFIG_NIOS_", "CFG_NIOS_", or "CFG_NIOS_CPU_".The configuration follows a two-stage process. In the first stagethe NIOS CPU core will defined like defined in Alteras SOPC Builder.At this point we use the "CFG_NIOS_CPU_" defines exclusively. Formore informations about all the definitions you have to setup seeinto current board configurations and doc/README.nios_CFG_NIOS_CPU.In second stage we bring the NIOS CPU configuration in relation toU-Boot configuration options/settings. The following is a list ofcurrently defined Nios-specific options/parameters used inside ofU-Boot. If any options are related to Standard-32 Nios SDKexcalibur.h definitions, the related definition follows thedescription).CONFIG_NIOS -- defined for all Nios-32 boards.CFG_NIOS_CONSOLE -- the base address of the console UART or the JTAG	stdio port. To enable a console via JTAG, define	CONFIG_CONSOLE_JTAG and set CGF_NIOS_CONSOLE to the base address	of the JTAG stdio port (normally OCI base + 0x00fa). Then	run nios-console with the -w option.	(standard-32: nasys_uart_0 resp. na_uart1_base).CFG_NIOS_FIXEDBAUD -- defined if the console UART PTF fixed_baud	parameter is set to '1'.CFG_NIOS_MULT_HW -- use full hardware multiply (not yet implemented).CFG_NIOS_MULT_MSTEP -- use hardware assisted multiply using the	MSTEP instruction (not yet implemented).CFG_NIOS_TMRBASE -- the base address of the timer used to support	xxx_timer routines (e.g. set_timer(), get_timer(), etc.).	(standard-32: nasys_timer_1 resp. na_lo_priority_timer2_base).CFG_NIOS_TMRIRQ -- the interrupt request (vector number) assigned to	the timer. (standard-32: nasys_timer_1_irq resp.	na_low_priority_timer2_irq).CFG_NIOS_TMRMS -- the period of the timer in milliseconds.CFG_NIOS_TMRCNT -- the preloadable counter value for the timer if it has	no fixed period.CFG_NIOS_ASMIBASE -- the base address of the ASMI peripheral.	(standard-32: na_asmi_base).CFG_NIOS_SPIBASE -- the base address of the SPI master (!) peripheral.	(nasys_spi_0)CFG_NIOS_SPIBITS -- the amount of configured SPI data bits in PTF.	This value can be 8 or 16 only! (PTF: databits)2.2 Differences in U-Boot Options/Settings-------------------------------------------Some 'standard' U-Boot options/settings are treated differently inthe Nios port. These are described below.CFG_GBL_DATA_OFFSET -- in the Nios port, this is the offset of the	global data structure in the Nios memory space. More simply,	the address of global data.3. ASSEMBLY CODING-------------------In browsing the assembly source files, you may notice the absenceof the 'magic macros' (e.g. MOVIA, MOVIP, ADDIP etc.). This isdeliberate. The documentation for the magic macros is scant andit is hard to find ... it does not appear in the Nios programmer'smanual, nor does it appear in the assembler manual. Regardless,the macros actually do very little to improve readability anyway.With this in mind, all assembler modules use only instructions thatappear in the Nios programmer's manual OR are directly supportedby the nios-elf toolchain. For example, the 'dec %rB' instructionis an alias for 'subi %rB,1' that is supported by the assemblerbut does not appear in the programmer's manual.4. BOOT PROCESS---------------4.1 Boot process over GERMS---------------------------When the NIOS CPU catch a reset signal it will begin to be runningcode from CFG_NIOS_CPU_RST_VECT. Normally at this place it willfind the GERMS monitor. That's the case for the generic NIOS CPUconfiguration "standard_32". When the GERMS monitor starts running,it performs important system initializations and then looks forexecutable code in flash, using the following steps:    1. Examining the two bytes at CFG_NIOS_CPU_FLASH_BASE + 0x04000C.    2. Examining the button 0 on the PIO CFG_NIOS_CPU_BUTTON_PIO.    3. If the button is not pressed and the two bytes contain 'N'       and 'i', the monitor executes a CALL to location       CFG_NIOS_CPU_FLASH_BASE + 0x040000.    4. If the code is not executed in step 3 or the code returns,       then prints an 8-digit version number to STDOUT and waits for       user commands from STDIN.In normal case, for "standard_32", STDIN and STDOUT are the firstserial port.4.2 Return to GERMS command line--------------------------------During the boot process, the GERMS monitor checks for the existenceof application software in flash memory. If found, the processorimmediately executes the code. To return program execution to theGERMS monitor (that is, avoid running code stored in flash memory):    1. Hold down CFG_NIOS_CPU_BUTTON_PIO, button number 0.    2. Press then release the CPU reset button.    3. Release CFG_NIOS_CPU_BUTTON_PIO, button number 0.5. DEBUGGING WITH GDB---------------------Debug sessions using gdb are currently supported only via JTAG. Thestubs for debugging via a serial port are not implemented. To enablethe gdb JTAG stubs, simply reference _brkpt_hw_int and _brkpt_sw_intat vector table offsets 3 and 4, respectively. For an example, seeboard/altera/dk1c20/vectors.S.5.1 Vector Table Initialization and ROM Stubs---------------------------------------------If CONFIG_ROM_STUBS is defined, the debug breakpoint and single stepentries in the vector table are restored to their initial valuesimmediately _after_ initializing the vector table. Defining this macrois useful when ROM-based stubs are implemented.NOTE: The default GERMS monitor does NOT implement gdb stubs, nor doesit initialize the vector table. Therefore, when debugging U-Boot, youshould NOT set a software breakpoint prior to vector table initialization.5.2 Starting a Debug Session----------------------------If you're not familiar with gdb, you follow these step-by-step instructions.These instructions are NOT the only way to start a debug session, but theycover most of the individual functions to get you started.	1.  Start the JTAG gdb server. Open a Nios shell window and start	the server. When the server is started you must provide the base	address of the OCI core. For example, when using the Cyclone	development kit (DK1C20):		$ nios-gdb-server --ocibase=0x00920800 --tcpport=2342	2.  Start gdb. Open a Nios shell window, change to the top-level	U-Boot directory and start gdb, specifying the u-boot elf file:		$ nios-elf-gdb u-boot	3.  Update target settings. From the file menu, select	"Target Settings ..." and select the following, then click 'Ok':		Target:	Remote/TCP		Port :	2342   (same as in step 1)		Display download dialog: checked		All other check boxes: unchecked	4.  Connect to the target. Select menu: 'Run->Connect to target'.	You should see a dialog box indicating the you successfully connected	to the target.	5.  Download U-Boot. Select menu: 'Run->Download'.	6.  Open a gdb console window and set the source directory paths.	Select menu: 'View->Console'. In the console window, enter the	following commands, then close the console window:		(gdb) directory common		(gdb) directory cpu/nios		(gdb) directory lib_nios		(gdb) directory board/altera/dk1c20	Note that the last command is for the DK1C20 board only. If you	are using another board, specify that board's directory.	7.  Open the file board.c (using the file menu in the lower	left hand corner). Scroll to the board_init() routine and set	a breakpoint.	8. Run U-Boot. Just click on the run icon, or select menu:	'Run->Run'. U-Boot should start running, then break at your	breakpoint.	9.  Have fun & start learning more about gdb.5.3 For advanced Users----------------------A few notes for those more familiar with gdb.	-Serial port stubs are not implemented. Sorry, but it's just not	worth _my_ effort. The JTAG stubs work great and are ridiculously	simple to implement.	-If you need to debug the early startup code (prior to the vector	table initialization), use the nios-console debugger.	- Connect, download & run -- there are some problems here. Connect	download and run seperately to avoid trouble.6. BRAIN DAMAGE----------------This section describes some of the unfortunate and avoidable aspectsof working with the Nios CPU ... and some things you can do toreduce your pain.6.1 GERMS doesn't work with Hyperterminal------------------------------------------GERMS doesn't do CR/LF mapping that is compatible with Hyperterminal(or minicom) -- geez. Regardless of you opion of Hyperterminal, thissad design decision is remedied by using U-Boot.6.2 cygwin Incompatibility---------------------------The version of cygwin distributed with the nios GNUPro toolchain isout-of-date and incompatible with the latest cygwin distributions.In addition, many of the standard utilities are very dated as well.If you try to download and build the lastest version of grep forexample, you'll quickly realize that a native gcc is not available(the next topic) which leads to U-Boot build problems (followingtopic).The solution ... well, you can wait for Altera ... or build asset of tools for linux.6.3 No native gcc------------------I'm not sure how this one slipped through the cracks ... but it isa real pain. Basically, if you want to build anything for the nativeenvironment -- forget it! A native (cygwin) gcc is not distributed,and the old version of cygwin makes locating one challenging.The solution ... same as above. Just download the gcc source fromAltera and build up a set of cross tools for your favorite linuxdistro. Anybody who wants to use an already precompiled NIOS crosstoolchain can it found in the CDK4NIOS project hosted by SourceForge at http://cdk4nios.sourceforge.net.6.4 Can't build default U-Boot-------------------------------By default, when you build U-Boot you will be building some nativetools along with the target elf, bin, and srec files. Without anative gcc, this (obviously) causes problems.For developers using the Altera cygwin tools you can remove the'tools' directory from SUBDIRS in the top-level Makefile. You willalso have to edit common/Makefile:Replace:environment.o: environment.c ../tools/envcrc	$(CC) $(AFLAGS) -Wa,--no-warn \		-DENV_CRC=$(shell ../tools/envcrc) \		-c -o $@ environment.cWith:environment.o: environment.c	$(CC) $(AFLAGS) -Wa,--no-warn \		-DENV_CRC=0 \		-c -o $@ environment.cBTW, thats a 'zero' ... not the letter 'O'. And not that the"../tools/envcrc" dependency is removed.7. HELP WANTED---------------There are plenty of areas where help is needed. Here's are some ideasfor those interested in contributing:-CompactFlash. Port & test CF/FAT.-Bedbug. Develop bedbug for Nios ... or at least provide a disassemble command.-Add boot support for ucLinux (niosnommu).-Implement (don't copy Altera code) the __mulxx routines using the MSTEP and MUL instructions (e.g. CFG_NIOS_MULT_HW and CFG_NIOS_MULT_MSTEP).Regards,--Scott<smcnutt@psyent.com>--Stephan<linz@li-pro.net>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩一区欧美小说| 国产拍揄自揄精品视频麻豆| 国产一区久久久| 麻豆成人av在线| 日本欧美一区二区| 美女免费视频一区二区| 日本欧美在线看| 九九精品一区二区| 久草热8精品视频在线观看| 久久国产精品无码网站| www.欧美亚洲| 大胆欧美人体老妇| 91女人视频在线观看| 欧美在线制服丝袜| 在线观看一区日韩| 91精品国产色综合久久| 久久嫩草精品久久久精品一| 国产亚洲欧美色| 亚洲乱码国产乱码精品精可以看 | 国内欧美视频一区二区| 精品一区二区三区免费观看 | 亚洲天堂av一区| 亚洲综合一区在线| 久草热8精品视频在线观看| 国产宾馆实践打屁股91| 色噜噜久久综合| 日韩欧美国产一区二区三区| 精品sm捆绑视频| 亚洲另类在线视频| 老司机午夜精品99久久| aaa欧美大片| 欧美一区二区三区公司| 国产精品色噜噜| 成人av在线资源| 欧美偷拍一区二区| 26uuu国产日韩综合| 亚洲美女一区二区三区| 琪琪久久久久日韩精品| 99久久99久久精品国产片果冻| 欧美三级资源在线| 国产欧美1区2区3区| 亚洲1区2区3区4区| av午夜一区麻豆| 精品国产一区二区三区不卡| 亚洲人成人一区二区在线观看| 久久精品国产精品亚洲精品| 91视频国产资源| 久久久综合激的五月天| 天天av天天翘天天综合网| 成人av网在线| 久久女同精品一区二区| 日韩在线一区二区| 日本高清视频一区二区| 久久精品在这里| 久久精品国产免费| 欧美精品在线观看播放| 中文字幕一区二区三区精华液 | 亚洲午夜一区二区| 成人免费观看视频| 精品999久久久| 亚洲一二三区视频在线观看| 欧美日韩国产高清一区二区三区| 国产精品欧美久久久久一区二区| 蜜臀久久99精品久久久久宅男 | 亚洲3atv精品一区二区三区| 97se亚洲国产综合在线| 久久精品视频一区二区| 国产最新精品精品你懂的| 欧美一区二区日韩| 亚洲电影激情视频网站| 91国偷自产一区二区三区观看| 中文字幕在线不卡一区 | 亚洲一区二区三区美女| 91小视频免费观看| 综合分类小说区另类春色亚洲小说欧美| 极品瑜伽女神91| 精品剧情v国产在线观看在线| 日韩在线一区二区| 日韩欧美国产三级电影视频| 日本欧美加勒比视频| 日韩女优电影在线观看| 久久99热国产| 国产午夜精品一区二区三区嫩草| 精品亚洲porn| 日本一区二区在线不卡| 成人手机在线视频| 亚洲女同一区二区| 久久久亚洲综合| 成人激情免费电影网址| 1024亚洲合集| 欧美亚洲综合色| 日韩高清在线一区| 久久无码av三级| 成人免费毛片高清视频| 亚洲一区在线免费观看| 欧美一区二区三区免费视频 | 色系网站成人免费| 一区二区三区毛片| 日韩一区二区麻豆国产| 国产在线一区二区| 成人欧美一区二区三区1314| 欧美性大战xxxxx久久久| 美女一区二区在线观看| 国产拍揄自揄精品视频麻豆| 91福利小视频| 极品少妇xxxx偷拍精品少妇| 中文字幕一区二区三区四区| 欧美日韩1234| 成人做爰69片免费看网站| 亚洲精品日韩综合观看成人91| 91.麻豆视频| 成人av在线资源网站| 五月激情综合色| 国产精品热久久久久夜色精品三区| 91丨九色porny丨蝌蚪| 蜜臀国产一区二区三区在线播放| 国产欧美日韩另类一区| 欧美视频在线一区二区三区 | 天天综合色天天综合色h| 精品国产百合女同互慰| 91美女片黄在线观看| 国产在线精品一区二区三区不卡| 国产精品传媒入口麻豆| 欧美丰满美乳xxx高潮www| 成人av资源下载| 久久av老司机精品网站导航| 一区二区三区不卡视频 | 亚洲色图制服诱惑| 精品国产乱码久久久久久老虎| 色美美综合视频| 粉嫩av一区二区三区| 精品一区二区三区久久久| 亚洲高清免费在线| 亚洲免费观看高清完整版在线观看熊| 精品成人一区二区三区| 欧美一区二区三区人| 欧美图片一区二区三区| 一本在线高清不卡dvd| 风间由美一区二区三区在线观看| 美国十次综合导航| 日韩在线卡一卡二| 日韩中文字幕av电影| 亚洲成人激情av| 一区二区三区中文免费| 亚洲同性gay激情无套| 国产精品国产三级国产普通话99 | 福利电影一区二区三区| 九九热在线视频观看这里只有精品| 亚洲成人三级小说| 一区二区三区久久久| 亚洲精品国产无天堂网2021| 日韩一区日韩二区| 亚洲欧美日韩人成在线播放| 国产精品久久久久久久久快鸭| 欧美精彩视频一区二区三区| 久久久精品影视| 国产欧美精品在线观看| 中文av一区二区| 中文字幕综合网| 亚洲男人天堂一区| 亚洲一级二级在线| 日日夜夜精品视频天天综合网| 国产原创一区二区三区| 国产福利一区二区三区视频| 国产盗摄视频一区二区三区| 豆国产96在线|亚洲| 91亚洲精品久久久蜜桃网站 | 精品日产卡一卡二卡麻豆| 日韩精品专区在线影院观看| 久久综合九色综合97_久久久| 精品国产乱码久久久久久影片| 久久久噜噜噜久久人人看 | 欧美一级黄色录像| 久久久国产一区二区三区四区小说| 久久九九久精品国产免费直播| 国产蜜臀97一区二区三区| **欧美大码日韩| 天天综合色天天综合色h| 久久成人免费日本黄色| 丁香六月久久综合狠狠色| 91在线视频免费观看| 欧美一区日本一区韩国一区| 精品理论电影在线| 18成人在线观看| 美女一区二区在线观看| 91丝袜美女网| 日韩欧美专区在线| 欧美国产禁国产网站cc| 亚洲不卡av一区二区三区| 激情五月激情综合网| 91视频免费观看| 亚洲精品在线观看视频| 亚洲乱码日产精品bd| 极品美女销魂一区二区三区| 色综合久久久久久久久| 91精品国产91久久久久久一区二区 | 成人免费一区二区三区视频 | 亚洲午夜激情网站| 国产成人在线网站| 在线播放视频一区|