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

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

?? readme.post

?? u-boot loader documents like each device pdf s
?? POST
?? 第 1 頁 / 共 2 頁
字號:
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 \	{

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美理论电影在线| 日本欧美在线看| 国产亚洲一本大道中文在线| 欧美日韩高清在线| 欧美日韩精品专区| 欧美日韩国产综合视频在线观看| 99精品视频中文字幕| 成人动漫一区二区在线| 成人精品视频一区二区三区尤物| 国产成人免费网站| 99国产精品久久久久久久久久久| av电影在线观看一区| 色婷婷一区二区| 日本高清无吗v一区| 在线亚洲精品福利网址导航| 在线精品视频免费观看| 欧美人与禽zozo性伦| 日韩一区二区在线免费观看| 欧美精三区欧美精三区| 精品国产在天天线2019| 国产亲近乱来精品视频| 最好看的中文字幕久久| 亚洲国产美女搞黄色| 日本麻豆一区二区三区视频| 国产在线观看一区二区| 99国产精品国产精品久久| 欧美亚洲综合色| 精品国产一区久久| 亚洲日本在线天堂| 喷白浆一区二区| 成人黄色国产精品网站大全在线免费观看 | 国产精品福利av| 婷婷综合另类小说色区| 国产激情91久久精品导航| 色综合中文字幕国产 | 久久综合九色综合97婷婷| 中文字幕乱码一区二区免费| 亚洲国产精品人人做人人爽| 国产一区二三区| 欧美视频一区二| 国产无遮挡一区二区三区毛片日本| 国产女同互慰高潮91漫画| 亚洲午夜免费福利视频| 国产九色sp调教91| 欧美精品 国产精品| 亚洲国产精品传媒在线观看| 一区二区三区中文字幕电影 | 久久精品国产在热久久| 99精品视频中文字幕| 日韩一区二区三区在线视频| 亚洲色图制服诱惑| 国产精品亚洲午夜一区二区三区| 在线观看免费成人| 中文字幕在线免费不卡| 精品一区二区三区香蕉蜜桃| 欧美日韩在线电影| 亚洲丝袜精品丝袜在线| 国产成人在线视频免费播放| 91麻豆精品91久久久久同性| 亚洲精品伦理在线| 国产成人亚洲精品狼色在线| 精品精品欲导航| 午夜影院久久久| 高清国产一区二区| 久久嫩草精品久久久精品| 日本美女一区二区| 欧美精品丝袜中出| 亚洲国产一区二区三区青草影视| 97久久超碰国产精品| 欧美韩国日本综合| 国产精品88av| 国产欧美精品一区aⅴ影院| 九九**精品视频免费播放| 欧美喷潮久久久xxxxx| 亚洲国产成人av| 精品视频在线视频| 亚洲一区二区三区免费视频| 国产一区二区三区黄视频 | 成人高清伦理免费影院在线观看| 久久久久久久久久久99999| 国产精品亚洲一区二区三区妖精| 久久精品男人的天堂| 丁香天五香天堂综合| 国产精品久久久久影院色老大| 波多野结衣亚洲| 亚洲夂夂婷婷色拍ww47| 欧美日韩成人高清| 韩日欧美一区二区三区| 日本一区二区三区高清不卡| bt7086福利一区国产| 亚洲综合区在线| 欧美一区二区三区爱爱| 国产乱妇无码大片在线观看| 欧美国产精品一区| 欧美日免费三级在线| 亚洲欧美激情小说另类| 不卡一二三区首页| 久久免费偷拍视频| 日韩欧美一级二级| 一区二区不卡在线播放| 成人av资源下载| 中文字幕在线不卡一区| a4yy欧美一区二区三区| 国产亚洲一区二区三区在线观看| 午夜精品在线看| 一区二区在线电影| 国产精品综合二区| 久久久久久久久99精品| 蜜臀av在线播放一区二区三区| 欧美私模裸体表演在线观看| 亚洲欧美激情小说另类| 欧美无乱码久久久免费午夜一区 | 在线观看日韩电影| 亚洲伊人色欲综合网| 一本久道中文字幕精品亚洲嫩| 久久精品视频一区二区| 国产精品1024久久| 久久九九国产精品| 国产一区二区三区免费看| 717成人午夜免费福利电影| 精品国产免费人成在线观看| 美女视频黄频大全不卡视频在线播放| 日本精品一级二级| 亚洲成a人片在线观看中文| 91免费观看在线| 一区二区免费在线| 欧美日本在线观看| 日韩精品亚洲专区| 26uuu色噜噜精品一区二区| 成人手机电影网| 日韩美女在线视频| 欧美日韩国产一级| 日韩国产欧美三级| 国产欧美一区二区精品忘忧草 | 91首页免费视频| 亚洲一二三四在线观看| 欧美一区二区三区视频在线观看| 精品无码三级在线观看视频| 日韩一区二区免费视频| 精品一区二区三区在线观看国产| 国产欧美va欧美不卡在线| 欧美色综合网站| 国产成人亚洲综合a∨婷婷| 亚洲综合色成人| 久久久国产精品不卡| 色乱码一区二区三区88| 国产一区美女在线| 亚洲.国产.中文慕字在线| 久久精品一区二区| 欧美午夜在线观看| 国产精品1024| 天堂av在线一区| 中文字幕不卡在线| 欧美成人三级电影在线| 日本电影亚洲天堂一区| 狂野欧美性猛交blacked| 精品国产乱码久久久久久闺蜜| 日韩精品一区二区在线观看| 91成人网在线| 国内成人自拍视频| 日日欢夜夜爽一区| 中文字幕一区日韩精品欧美| 日韩欧美电影在线| 欧美日韩高清不卡| 成人免费黄色在线| 一本久道久久综合中文字幕| 国产福利一区二区三区视频在线| 亚洲福利视频导航| 亚洲中国最大av网站| 亚洲天堂a在线| 中文字幕永久在线不卡| 日韩一区和二区| 国产日韩欧美一区二区三区乱码| 日韩一区二区在线播放| 国产成人亚洲综合色影视| 国产真实精品久久二三区| 免费日韩伦理电影| 亚洲精品视频免费观看| 国产精品理论在线观看| 国产免费久久精品| 久久久久久一级片| www国产成人| 久久久久久一二三区| 欧美女孩性生活视频| 久久久久国产精品人| 久久免费精品国产久精品久久久久| 欧美日韩国产乱码电影| 91福利小视频| 欧美色涩在线第一页| 色爱区综合激月婷婷| 91成人看片片| 欧美日韩一区二区在线观看| 欧美日韩在线播放| 日韩视频一区二区三区在线播放| 欧美一级国产精品| 久久久91精品国产一区二区精品 | 国产成人免费视频一区| 国产精品一区2区| www.日韩在线| 欧美在线观看禁18|