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

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? readme.post.svn-base

?? u-boot loader documents like each device pdf s
?? SVN-BASE
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
Power-On-Self-Test support in U-Boot------------------------------------This project is to support Power-On-Self-Test (POST) in U-Boot.1. High-level requirementsThe key requirements for this project are as follows:1) The project shall develop a flexible framework for implementing   and running Power-On-Self-Test in U-Boot. This framework shall   possess the following features:   o) Extensibility      The framework shall allow adding/removing/replacing POST tests.      Also, standalone POST tests shall be supported.   o) Configurability      The framework shall allow run-time configuration of the lists      of tests running on normal/power-fail booting.   o) Controllability      The framework shall support manual running of the POST tests.2) The results of tests shall be saved so that it will be possible to   retrieve them from Linux.3) The following POST tests shall be developed for MPC823E-based   boards:   o) CPU test   o) Cache test   o) Memory test   o) Ethernet test   o) Serial channels test   o) Watchdog timer test   o) RTC test   o) I2C test   o) SPI test   o) USB test4) The LWMON board shall be used for reference.2. DesignThis section details the key points of the design for the project.The whole project can be divided into two independent tasks:enhancing U-Boot/Linux to provide a common framework for running POSTtests and developing such tests for particular hardware.2.1. Hardware-independent POST layerA new optional module will be added to U-Boot, which will run POSTtests and collect their results at boot time. Also, U-Boot willsupport running POST tests manually at any time by executing aspecial command from the system console.The list of available POST tests will be configured at U-Boot buildtime. The POST layer will allow the developer to add any custom POSTtests. All POST tests will be divided into the following groups:  1) Tests running on power-on booting only     This group will contain those tests that run only once on     power-on reset (e.g. watchdog test)  2) Tests running on normal booting only     This group will contain those tests that do not take much     time and can be run on the regular basis (e.g. CPU test)  3) Tests running in special "slow test mode" only     This group will contain POST tests that consume much time     and cannot be run regularly (e.g. strong memory test, I2C test)  4) Manually executed tests     This group will contain those tests that can be run manually.If necessary, some tests may belong to several groups simultaneously.For example, SDRAM test may run in both normal and "slow test" mode.In normal mode, SDRAM test may perform a fast superficial memory testonly, while running in slow test mode it may perform a full memorycheck-up.Also, all tests will be discriminated by the moment they run at.Specifically, the following groups will be singled out:  1) Tests running before relocating to RAM     These tests will run immediately after initializing RAM     as to enable modifying it without taking care of its     contents. Basically, this group will contain memory tests     only.  2) Tests running after relocating to RAM     These tests will run immediately before entering the main     loop as to guarantee full hardware initialization.The POST layer will also distinguish a special group of tests thatmay cause system rebooting (e.g. watchdog test). For such tests, thelayer will automatically detect rebooting and will notify the testabout it.2.1.1. POST layer interfacesThis section details the interfaces between the POST layer and therest of U-Boot.The following flags will be defined:#define POST_POWERON		0x01	/* test runs on power-on booting */#define POST_NORMAL		0x02	/* test runs on normal booting */#define POST_SLOWTEST		0x04	/* test is slow, enabled by key press */#define POST_POWERTEST		0x08	/* test runs after watchdog reset */#define POST_ROM		0x100	/* test runs in ROM */#define POST_RAM		0x200	/* test runs in RAM */#define POST_MANUAL		0x400	/* test can be executed manually */#define POST_REBOOT		0x800	/* test may cause rebooting */#define POST_PREREL             0x1000  /* test runs before relocation */The POST layer will export the following interface routines:  o) int post_run(bd_t *bd, char *name, int flags);     This routine will run the test (or the group of tests) specified     by the name and flag arguments. More specifically, if the name     argument is not NULL, the test with this name will be performed,     otherwise all tests running in ROM/RAM (depending on the flag     argument) will be executed. This routine will be called at least     twice with name set to NULL, once from board_init_f() and once     from board_init_r(). The flags argument will also specify the     mode the test is executed in (power-on, normal, power-fail,     manual).  o) void post_reloc(ulong offset);     This routine will be called from board_init_r() and will     relocate the POST test table.  o) int post_info(char *name);     This routine will print the list of all POST tests that can be     executed manually if name is NULL, and the description of a     particular test if name is not NULL.  o) int post_log(char *format, ...);     This routine will be called from POST tests to log their     results. Basically, this routine will print the results to     stderr. The format of the arguments and the return value     will be identical to the printf() routine.Also, the following board-specific routines will be called from theU-Boot common code:  o) int board_power_mode(void)     This routine will return the mode the system is running in     (POST_POWERON, POST_NORMAL or POST_SHUTDOWN).  o) void board_poweroff(void)     This routine will turn off the power supply of the board. It     will be called on power-fail booting after running all POST     tests.  o) int post_hotkeys_pressed(gd_t *gd)     This routine will scan the keyboard to detect if a magic key     combination has been pressed, or otherwise detect if the     power-on long-running tests shall be executed or not ("normal"     versus "slow" test mode).The list of available POST tests be kept in the post_tests arrayfilled at U-Boot build time. The format of entry in this array willbe as follows:struct post_test {    char *name;    char *cmd;    char *desc;    int flags;    int (*test)(bd_t *bd, int flags);};  o) name     This field will contain a short name of the test, which will be     used in logs and on listing POST tests (e.g. CPU test).  o) cmd     This field will keep a name for identifying the test on manual     testing (e.g. cpu). For more information, refer to section     "Command line interface".  o) desc     This field will contain a detailed description of the test,     which will be printed on user request. For more information, see     section "Command line interface".  o) flags     This field will contain a combination of the bit flags described     above, which will specify the mode the test is running in     (power-on, normal, power-fail or manual mode), the moment it     should be run at (before or after relocating to RAM), whether it     can cause system rebooting or not.  o) test     This field will contain a pointer to the routine that will     perform the test, which will take 2 arguments. The first     argument will be a pointer to the board info structure, while     the second will be a combination of bit flags specifying the     mode the test is running in (POST_POWERON, POST_NORMAL,     POST_SLOWTEST, POST_MANUAL) and whether the last execution of     the test caused system rebooting (POST_REBOOT). The routine will     return 0 on successful execution of the test, and 1 if the test     failed.The lists of the POST tests that should be run at power-on/normal/power-fail booting will be kept in the environment. Namely, thefollowing environment variables will be used: post_poweron,powet_normal, post_slowtest.2.1.2. Test resultsThe results of tests will be collected by the POST layer. The POSTlog will have the following format:...--------------------------------------------START <name><test-specific output>[PASSED|FAILED]--------------------------------------------...Basically, the results of tests will be printed to stderr. Thisfeature may be enhanced in future to spool the log to a serial line,save it in non-volatile RAM (NVRAM), transfer it to a dedicatedstorage server and etc.2.1.3. Integration issuesAll POST-related code will be #ifdef'ed with the CONFIG_POST macro.This macro will be defined in the config_<board>.h file for thoseboards that need POST. The CONFIG_POST macro will contain the list ofPOST tests for the board. The macro will have the format of arraycomposed of post_test structures:#define CONFIG_POST \	{		"On-board peripherals test", "board", \		"  This test performs full check-up of the " \		"on-board hardware.", \		POST_RAM | POST_SLOWTEST, \		&board_post_test \	}A new file, post.h, will be created in the include/ directory. Thisfile will contain common POST declarations and will define a set ofmacros that will be reused for defining CONFIG_POST. As an example,the following macro may be defined:#define POST_CACHE \	{		"Cache test", "cache", \		"  This test verifies the CPU cache operation.", \		POST_RAM | POST_NORMAL, \		&cache_post_test \	}A new subdirectory will be created in the U-Boot root directory. Itwill contain the source code of the POST layer and most of POSTtests. Each POST test in this directory will be placed into aseparate file (it will be needed for building standalone tests). SomePOST tests (mainly those for testing peripheral devices) will belocated in the source files of the drivers for those devices. Thisway will be used only if the test subtantially uses the driver.2.1.4. Standalone testsThe POST framework will allow to develop and run standalone tests. Auser-space library will be developed to provide the POST interfacefunctions to standalone tests.2.1.5. Command line interfaceA new command, diag, will be added to U-Boot. This command will beused for listing all available hardware tests, getting detaileddescriptions of them and running these tests.More specifically, being run without any arguments, this command willprint the list of all available hardware tests:=> diagAvailable hardware tests:  cache             - cache test  cpu               - CPU test  enet              - SCC/FCC ethernet testUse 'diag [<test1> [<test2>]] ... ' to get more info.Use 'diag run [<test1> [<test2>]] ... ' to run tests.=>If the first argument to the diag command is not 'run', detaileddescriptions of the specified tests will be printed:=> diag cpu cachecpu - CPU test  This test verifies the arithmetic logic unit of CPU.cache - cache test  This test verifies the CPU cache operation.=>If the first argument to diag is 'run', the specified tests will beexecuted. If no tests are specified, all available tests will beexecuted.It will be prohibited to execute tests running in ROM manually. The'diag' command will not display such tests and/or run them.2.1.6. Power failure handlingThe Linux kernel will be modified to detect power failures andautomatically reboot the system in such cases. It will be assumedthat the power failure causes a system interrupt.To perform correct system shutdown, the kernel will register ahandler of the power-fail IRQ on booting. Being called, the handlerwill run /sbin/reboot using the call_usermodehelper() routine./sbin/reboot will automatically bring the system down in a secureway. This feature will be configured in/out from the kernelconfiguration file.The POST layer of U-Boot will check whether the system runs inpower-fail mode. If it does, the system will be powered off afterexecuting all hardware tests.2.1.7. Hazardous testsSome tests may cause system rebooting during their execution. Forsome tests, this will indicate a failure, while for the Watchdogtest, this means successful operation of the timer.In order to support such tests, the following scheme will beimplemented. All the tests that may cause system rebooting will havethe POST_REBOOT bit flag set in the flag field of the correspondentpost_test structure. Before starting tests marked with this bit flag,the POST layer will store an identification number of the test in alocation in IMMR. On booting, the POST layer will check the value ofthis variable and if it is set will skip over the tests preceding thefailed one. On second execution of the failed test, the POST_REBOOTbit flag will be set in the flag argument to the test routine. Thiswill allow to detect system rebooting on the previous iteration. Forexample, the watchdog timer test may have the followingdeclaration/body:...#define POST_WATCHDOG \	{

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美视频三区在线播放| 99久久99久久精品免费看蜜桃| 久久久99久久| 欧美色网站导航| 国产激情一区二区三区四区| 亚洲成人一区二区在线观看| 国产精品午夜在线观看| 91超碰这里只有精品国产| 成人午夜视频在线| 日韩高清欧美激情| 亚洲免费观看高清完整版在线 | 欧美日韩国产在线观看| 国产高清一区日本| 日本亚洲三级在线| 一区二区不卡在线播放 | 午夜精品久久久久久久久久| 国产精品久久久久影院老司| 久久亚洲综合色| 91精品综合久久久久久| 91久久精品网| av中文字幕一区| 成人午夜又粗又硬又大| 韩国三级电影一区二区| 天涯成人国产亚洲精品一区av| 欧美激情在线一区二区| 精品国产制服丝袜高跟| 日韩一区二区三区视频在线观看| 在线观看视频91| 91免费版在线| 97精品久久久午夜一区二区三区| 国产激情视频一区二区在线观看| 久久精品999| 久久er精品视频| 视频一区二区国产| 亚洲成人免费看| 亚洲va在线va天堂| 亚洲1区2区3区4区| 香蕉乱码成人久久天堂爱免费| 一区二区三区在线免费视频| 亚洲精品网站在线观看| 亚洲码国产岛国毛片在线| 国产精品国产三级国产aⅴ原创| 久久久精品国产99久久精品芒果| 久久久国产一区二区三区四区小说 | 丝袜美腿成人在线| 丝袜亚洲另类丝袜在线| 日本伊人精品一区二区三区观看方式| 天天综合色天天综合| 香蕉影视欧美成人| 蜜臀av国产精品久久久久 | 亚洲电影一级黄| 性久久久久久久久久久久 | 99国内精品久久| 一本久久a久久免费精品不卡| 91麻豆精品在线观看| 日本丰满少妇一区二区三区| 欧美日韩精品一区二区三区| 欧美一级在线视频| 精品三级av在线| 中文字幕免费一区| 亚洲欧美日韩成人高清在线一区| 一区二区在线看| 亚洲aⅴ怡春院| 狠狠色伊人亚洲综合成人| 国产精品一区二区久久精品爱涩 | 亚洲欧美日韩久久| 亚洲成人资源网| 日产国产高清一区二区三区 | 成人一区二区三区视频| 91丨九色丨蝌蚪富婆spa| 欧美午夜免费电影| 日韩视频一区在线观看| 久久久久久亚洲综合| 亚洲色欲色欲www| 午夜精品福利一区二区三区av | 久久网这里都是精品| 一区在线观看免费| 亚洲一区在线观看免费| 蜜桃91丨九色丨蝌蚪91桃色| 成人aa视频在线观看| 欧美久久一二三四区| 欧美国产精品久久| 亚洲国产你懂的| 国产精品一区在线| 欧美四级电影网| 久久综合久久鬼色中文字| 亚洲三级电影全部在线观看高清| 日韩影院在线观看| 成人三级伦理片| 91精品国产综合久久精品app | 国产日产欧美一区二区三区| 亚洲成人一区在线| 懂色av中文一区二区三区| 在线观看91视频| 国产婷婷色一区二区三区| 一区二区三区精密机械公司| 久久成人免费网| 欧美自拍偷拍午夜视频| 久久久久久久久岛国免费| 亚洲电影在线免费观看| 国产91精品精华液一区二区三区| 91成人免费在线| 欧美国产日产图区| 久久99久国产精品黄毛片色诱| 色婷婷av一区二区| 久久欧美中文字幕| 日本美女一区二区三区| 在线观看三级视频欧美| 中文字幕巨乱亚洲| 久久成人免费网| 538prom精品视频线放| 亚洲精品免费在线播放| 国产成人精品三级麻豆| 欧美一级片免费看| 亚洲高清视频中文字幕| 91论坛在线播放| 国产精品国产三级国产普通话99| 国产一区二区久久| ...xxx性欧美| 成人黄色小视频| 久久久精品综合| 国产一区二区调教| 亚洲精品在线观| 国内精品伊人久久久久影院对白| 555夜色666亚洲国产免| 无码av免费一区二区三区试看| 91黄色免费看| 一区二区三区在线影院| 91丝袜美女网| 成人欧美一区二区三区黑人麻豆| 国v精品久久久网| 国产丝袜欧美中文另类| 狠狠色丁香婷综合久久| 久久伊99综合婷婷久久伊| 久久精品国产免费| 欧美va亚洲va| 国产精品456露脸| 久久久精品免费免费| 国内成人精品2018免费看| 亚洲精品一区二区三区福利 | 懂色av中文字幕一区二区三区| 国产午夜久久久久| 懂色av一区二区夜夜嗨| 中文字幕中文字幕一区二区| 成人sese在线| 亚洲裸体在线观看| 一本一道久久a久久精品| 亚洲尤物视频在线| 欧美精品自拍偷拍动漫精品| 日本人妖一区二区| 久久一区二区三区四区| 波多野结衣中文一区| 亚洲区小说区图片区qvod| 色婷婷亚洲婷婷| 免费观看30秒视频久久| 久久一二三国产| 99久久99久久久精品齐齐| 亚洲一区中文日韩| 日韩欧美激情一区| 国产精品一区免费视频| 自拍偷拍欧美激情| 在线日韩av片| 亚洲成精国产精品女| 欧美二区在线观看| 日韩av一级片| 欧美国产精品劲爆| 麻豆视频观看网址久久| 7777精品伊人久久久大香线蕉经典版下载 | 成人午夜电影久久影院| 中文字幕第一页久久| 成人黄色av电影| 午夜欧美电影在线观看| 欧美一区二区三区喷汁尤物| 麻豆精品视频在线观看| 久久久99精品免费观看| 色婷婷亚洲综合| 日韩福利电影在线观看| 日韩午夜精品视频| 日本女人一区二区三区| 中文字幕欧美日韩一区| 色综合久久中文字幕综合网| 亚洲成a人片综合在线| 精品久久久久久无| 顶级嫩模精品视频在线看| 亚洲色图色小说| 91精品国产综合久久久蜜臀图片| www..com久久爱| 午夜视频在线观看一区| 26uuu色噜噜精品一区二区| 一本大道久久a久久综合| 日韩成人免费看| 久久精品一区二区三区四区| 色婷婷久久久亚洲一区二区三区| 激情伊人五月天久久综合| 亚洲欧美自拍偷拍色图| 91精品啪在线观看国产60岁| 色综合天天综合网天天看片| 麻豆视频观看网址久久| 最新国产精品久久精品| 欧美在线三级电影|