Kconfig 58 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104
  1. menu "Command line interface"
  2. config CMDLINE
  3. bool "Support U-Boot commands"
  4. default y
  5. help
  6. Enable U-Boot's command-line functions. This provides a means
  7. to enter commands into U-Boot for a wide variety of purposes. It
  8. also allows scripts (containing commands) to be executed.
  9. Various commands and command categorys can be indivdually enabled.
  10. Depending on the number of commands enabled, this can add
  11. substantially to the size of U-Boot.
  12. config HUSH_PARSER
  13. bool "Use hush shell"
  14. depends on CMDLINE
  15. help
  16. This option enables the "hush" shell (from Busybox) as command line
  17. interpreter, thus enabling powerful command line syntax like
  18. if...then...else...fi conditionals or `&&' and '||'
  19. constructs ("shell scripts").
  20. If disabled, you get the old, much simpler behaviour with a somewhat
  21. smaller memory footprint.
  22. config CMDLINE_EDITING
  23. bool "Enable command line editing"
  24. depends on CMDLINE
  25. default y
  26. help
  27. Enable editing and History functions for interactive command line
  28. input operations
  29. config AUTO_COMPLETE
  30. bool "Enable auto complete using TAB"
  31. depends on CMDLINE
  32. default y
  33. help
  34. Enable auto completion of commands using TAB.
  35. config SYS_LONGHELP
  36. bool "Enable long help messages"
  37. depends on CMDLINE
  38. default y if CMDLINE
  39. help
  40. Defined when you want long help messages included
  41. Do not set this option when short of memory.
  42. config SYS_PROMPT
  43. string "Shell prompt"
  44. default "=> "
  45. help
  46. This string is displayed in the command line to the left of the
  47. cursor.
  48. config SYS_XTRACE
  49. string "Command execution tracer"
  50. depends on CMDLINE
  51. default y if CMDLINE
  52. help
  53. This option enables the possiblity to print all commands before
  54. executing them and after all variables are evaluated (similar
  55. to Bash's xtrace/'set -x' feature).
  56. To enable the tracer a variable "xtrace" needs to be defined in
  57. the environment.
  58. menu "Autoboot options"
  59. config AUTOBOOT
  60. bool "Autoboot"
  61. default y
  62. help
  63. This enables the autoboot. See doc/README.autoboot for detail.
  64. config AUTOBOOT_KEYED
  65. bool "Stop autobooting via specific input key / string"
  66. default n
  67. help
  68. This option enables stopping (aborting) of the automatic
  69. boot feature only by issuing a specific input key or
  70. string. If not enabled, any input key will abort the
  71. U-Boot automatic booting process and bring the device
  72. to the U-Boot prompt for user input.
  73. config AUTOBOOT_PROMPT
  74. string "Autoboot stop prompt"
  75. depends on AUTOBOOT_KEYED
  76. default "Autoboot in %d seconds\\n"
  77. help
  78. This string is displayed before the boot delay selected by
  79. CONFIG_BOOTDELAY starts. If it is not defined there is no
  80. output indicating that autoboot is in progress.
  81. Note that this define is used as the (only) argument to a
  82. printf() call, so it may contain '%' format specifications,
  83. provided that it also includes, sepearated by commas exactly
  84. like in a printf statement, the required arguments. It is
  85. the responsibility of the user to select only such arguments
  86. that are valid in the given context.
  87. config AUTOBOOT_ENCRYPTION
  88. bool "Enable encryption in autoboot stopping"
  89. depends on AUTOBOOT_KEYED
  90. help
  91. This option allows a string to be entered into U-Boot to stop the
  92. autoboot. The string itself is hashed and compared against the hash
  93. in the environment variable 'bootstopkeysha256'. If it matches then
  94. boot stops and a command-line prompt is presented.
  95. This provides a way to ship a secure production device which can also
  96. be accessed at the U-Boot command line.
  97. config AUTOBOOT_DELAY_STR
  98. string "Delay autobooting via specific input key / string"
  99. depends on AUTOBOOT_KEYED && !AUTOBOOT_ENCRYPTION
  100. help
  101. This option delays the automatic boot feature by issuing
  102. a specific input key or string. If CONFIG_AUTOBOOT_DELAY_STR
  103. or the environment variable "bootdelaykey" is specified
  104. and this string is received from console input before
  105. autoboot starts booting, U-Boot gives a command prompt. The
  106. U-Boot prompt will time out if CONFIG_BOOT_RETRY_TIME is
  107. used, otherwise it never times out.
  108. config AUTOBOOT_STOP_STR
  109. string "Stop autobooting via specific input key / string"
  110. depends on AUTOBOOT_KEYED && !AUTOBOOT_ENCRYPTION
  111. help
  112. This option enables stopping (aborting) of the automatic
  113. boot feature only by issuing a specific input key or
  114. string. If CONFIG_AUTOBOOT_STOP_STR or the environment
  115. variable "bootstopkey" is specified and this string is
  116. received from console input before autoboot starts booting,
  117. U-Boot gives a command prompt. The U-Boot prompt never
  118. times out, even if CONFIG_BOOT_RETRY_TIME is used.
  119. config AUTOBOOT_KEYED_CTRLC
  120. bool "Enable Ctrl-C autoboot interruption"
  121. depends on AUTOBOOT_KEYED && !AUTOBOOT_ENCRYPTION
  122. default n
  123. help
  124. This option allows for the boot sequence to be interrupted
  125. by ctrl-c, in addition to the "bootdelaykey" and "bootstopkey".
  126. Setting this variable provides an escape sequence from the
  127. limited "password" strings.
  128. config AUTOBOOT_STOP_STR_SHA256
  129. string "Stop autobooting via SHA256 encrypted password"
  130. depends on AUTOBOOT_KEYED && AUTOBOOT_ENCRYPTION
  131. help
  132. This option adds the feature to only stop the autobooting,
  133. and therefore boot into the U-Boot prompt, when the input
  134. string / password matches a values that is encypted via
  135. a SHA256 hash and saved in the environment.
  136. config AUTOBOOT_USE_MENUKEY
  137. bool "Allow a specify key to run a menu from the environment"
  138. depends on !AUTOBOOT_KEYED
  139. help
  140. If a specific key is pressed to stop autoboot, then the commands in
  141. the environment variable 'menucmd' are executed before boot starts.
  142. config AUTOBOOT_MENUKEY
  143. int "ASCII value of boot key to show a menu"
  144. default 0
  145. depends on AUTOBOOT_USE_MENUKEY
  146. help
  147. If this key is pressed to stop autoboot, then the commands in the
  148. environment variable 'menucmd' will be executed before boot starts.
  149. For example, 33 means "!" in ASCII, so pressing ! at boot would take
  150. this action.
  151. config AUTOBOOT_MENU_SHOW
  152. bool "Show a menu on boot"
  153. depends on CMD_BOOTMENU
  154. help
  155. This enables the boot menu, controlled by environment variables
  156. defined by the board. The menu starts after running the 'preboot'
  157. environmnent variable (if enabled) and before handling the boot delay.
  158. See README.bootmenu for more details.
  159. endmenu
  160. config BUILD_BIN2C
  161. bool
  162. comment "Commands"
  163. menu "Info commands"
  164. config CMD_BDI
  165. bool "bdinfo"
  166. default y
  167. help
  168. Print board info
  169. config CMD_CONFIG
  170. bool "config"
  171. default SANDBOX
  172. select BUILD_BIN2C
  173. help
  174. Print ".config" contents.
  175. If this option is enabled, the ".config" file contents are embedded
  176. in the U-Boot image and can be printed on the console by the "config"
  177. command. This provides information of which options are enabled on
  178. the running U-Boot.
  179. config CMD_CONSOLE
  180. bool "coninfo"
  181. default y
  182. help
  183. Print console devices and information.
  184. config CMD_CPU
  185. bool "cpu"
  186. help
  187. Print information about available CPUs. This normally shows the
  188. number of CPUs, type (e.g. manufacturer, architecture, product or
  189. internal name) and clock frequency. Other information may be
  190. available depending on the CPU driver.
  191. config CMD_LICENSE
  192. bool "license"
  193. select BUILD_BIN2C
  194. help
  195. Print GPL license text
  196. config CMD_REGINFO
  197. bool "reginfo"
  198. depends on PPC
  199. help
  200. Register dump
  201. endmenu
  202. menu "Boot commands"
  203. config CMD_BOOTD
  204. bool "bootd"
  205. default y
  206. help
  207. Run the command stored in the environment "bootcmd", i.e.
  208. "bootd" does the same thing as "run bootcmd".
  209. config CMD_BOOTM
  210. bool "bootm"
  211. default y
  212. help
  213. Boot an application image from the memory.
  214. config CMD_BOOTZ
  215. bool "bootz"
  216. help
  217. Boot the Linux zImage
  218. config CMD_BOOTI
  219. bool "booti"
  220. depends on ARM64 || RISCV
  221. default y
  222. help
  223. Boot an AArch64 Linux Kernel image from memory.
  224. config CMD_BOOTEFI
  225. bool "bootefi"
  226. depends on EFI_LOADER
  227. default y
  228. help
  229. Boot an EFI image from memory.
  230. config BOOTM_LINUX
  231. bool "Support booting Linux OS images"
  232. depends on CMD_BOOTM || CMD_BOOTZ || CMD_BOOTI
  233. default y
  234. help
  235. Support booting the Linux kernel directly via a command such as bootm
  236. or booti or bootz.
  237. config BOOTM_NETBSD
  238. bool "Support booting NetBSD (non-EFI) loader images"
  239. depends on CMD_BOOTM
  240. default y
  241. help
  242. Support booting NetBSD via the bootm command.
  243. config BOOTM_OPENRTOS
  244. bool "Support booting OPENRTOS / FreeRTOS images"
  245. depends on CMD_BOOTM
  246. help
  247. Support booting OPENRTOS / FreeRTOS via the bootm command.
  248. config BOOTM_OSE
  249. bool "Support booting Enea OSE images"
  250. depends on CMD_BOOTM
  251. help
  252. Support booting Enea OSE images via the bootm command.
  253. config BOOTM_PLAN9
  254. bool "Support booting Plan9 OS images"
  255. depends on CMD_BOOTM
  256. default y
  257. help
  258. Support booting Plan9 images via the bootm command.
  259. config BOOTM_RTEMS
  260. bool "Support booting RTEMS OS images"
  261. depends on CMD_BOOTM
  262. default y
  263. help
  264. Support booting RTEMS images via the bootm command.
  265. config BOOTM_VXWORKS
  266. bool "Support booting VxWorks OS images"
  267. depends on CMD_BOOTM
  268. default y
  269. help
  270. Support booting VxWorks images via the bootm command.
  271. config CMD_BOOTEFI_HELLO_COMPILE
  272. bool "Compile a standard EFI hello world binary for testing"
  273. depends on CMD_BOOTEFI && !CPU_V7M && !SANDBOX
  274. default y
  275. help
  276. This compiles a standard EFI hello world application with U-Boot so
  277. that it can be used with the test/py testing framework. This is useful
  278. for testing that EFI is working at a basic level, and for bringing
  279. up EFI support on a new architecture.
  280. No additional space will be required in the resulting U-Boot binary
  281. when this option is enabled.
  282. config CMD_BOOTEFI_HELLO
  283. bool "Allow booting a standard EFI hello world for testing"
  284. depends on CMD_BOOTEFI_HELLO_COMPILE
  285. help
  286. This adds a standard EFI hello world application to U-Boot so that
  287. it can be used with the 'bootefi hello' command. This is useful
  288. for testing that EFI is working at a basic level, and for bringing
  289. up EFI support on a new architecture.
  290. source lib/efi_selftest/Kconfig
  291. config CMD_BOOTMENU
  292. bool "bootmenu"
  293. select MENU
  294. help
  295. Add an ANSI terminal boot menu command.
  296. config CMD_DTIMG
  297. bool "dtimg"
  298. help
  299. Android DTB/DTBO image manipulation commands. Read dtb/dtbo files from
  300. image into RAM, dump image structure information, etc. Those dtb/dtbo
  301. files should be merged in one dtb further, which needs to be passed to
  302. the kernel, as part of a boot process.
  303. config CMD_ELF
  304. bool "bootelf, bootvx"
  305. default y
  306. help
  307. Boot an ELF/vxWorks image from the memory.
  308. config CMD_FDT
  309. bool "Flattened Device Tree utility commands"
  310. default y
  311. depends on OF_LIBFDT
  312. help
  313. Do FDT related setup before booting into the Operating System.
  314. config CMD_GO
  315. bool "go"
  316. default y
  317. help
  318. Start an application at a given address.
  319. config CMD_RUN
  320. bool "run"
  321. default y
  322. help
  323. Run the command in the given environment variable.
  324. config CMD_IMI
  325. bool "iminfo"
  326. default y
  327. help
  328. Print header information for application image.
  329. config CMD_IMLS
  330. bool "imls"
  331. help
  332. List all images found in flash
  333. config CMD_XIMG
  334. bool "imxtract"
  335. default y
  336. help
  337. Extract a part of a multi-image.
  338. config CMD_SPL
  339. bool "spl export - Export boot information for Falcon boot"
  340. depends on SPL
  341. help
  342. Falcon mode allows booting directly from SPL into an Operating
  343. System such as Linux, thus skipping U-Boot proper. See
  344. doc/README.falcon for full information about how to use this
  345. command.
  346. config CMD_SPL_NAND_OFS
  347. hex "Offset of OS args or dtb for Falcon-mode NAND boot"
  348. depends on CMD_SPL && (TPL_NAND_SUPPORT || SPL_NAND_SUPPORT)
  349. default 0
  350. help
  351. This provides the offset of the command line arguments for Linux
  352. when booting from NAND in Falcon mode. See doc/README.falcon
  353. for full information about how to use this option (and also see
  354. board/gateworks/gw_ventana/README for an example).
  355. config CMD_SPL_NOR_OFS
  356. hex "Offset of OS args or dtb for Falcon-mode NOR boot"
  357. depends on CMD_SPL && SPL_NOR_SUPPORT
  358. default 0
  359. help
  360. This provides the offset of the command line arguments or dtb for
  361. Linux when booting from NOR in Falcon mode.
  362. config CMD_SPL_WRITE_SIZE
  363. hex "Size of argument area"
  364. depends on CMD_SPL
  365. default 0x2000
  366. help
  367. This provides the size of the command-line argument area in NAND
  368. flash used by Falcon-mode boot. See the documentation until CMD_SPL
  369. for detail.
  370. config CMD_FITUPD
  371. bool "fitImage update command"
  372. help
  373. Implements the 'fitupd' command, which allows to automatically
  374. store software updates present on a TFTP server in NOR Flash
  375. config CMD_THOR_DOWNLOAD
  376. bool "thor - TIZEN 'thor' download"
  377. help
  378. Implements the 'thor' download protocol. This is a way of
  379. downloading a software update over USB from an attached host.
  380. There is no documentation about this within the U-Boot source code
  381. but you should be able to find something on the interwebs.
  382. config CMD_ZBOOT
  383. bool "zboot - x86 boot command"
  384. help
  385. With x86 machines it is common to boot a bzImage file which
  386. contains both a kernel and a setup.bin file. The latter includes
  387. configuration information from the dark ages which x86 boards still
  388. need to pick things out of.
  389. Consider using FIT in preference to this since it supports directly
  390. booting both 32- and 64-bit kernels, as well as secure boot.
  391. Documentation is available in doc/uImage.FIT/x86-fit-boot.txt
  392. endmenu
  393. menu "Environment commands"
  394. config CMD_ASKENV
  395. bool "ask for env variable"
  396. help
  397. Ask for environment variable
  398. config CMD_EXPORTENV
  399. bool "env export"
  400. default y
  401. help
  402. Export environments.
  403. config CMD_IMPORTENV
  404. bool "env import"
  405. default y
  406. help
  407. Import environments.
  408. config CMD_EDITENV
  409. bool "editenv"
  410. default y
  411. help
  412. Edit environment variable.
  413. config CMD_GREPENV
  414. bool "search env"
  415. help
  416. Allow for searching environment variables
  417. config CMD_SAVEENV
  418. bool "saveenv"
  419. default y
  420. help
  421. Save all environment variables into the compiled-in persistent
  422. storage.
  423. config CMD_ERASEENV
  424. bool "eraseenv"
  425. default n
  426. depends on CMD_SAVEENV
  427. help
  428. Erase environment variables from the compiled-in persistent
  429. storage.
  430. config CMD_ENV_EXISTS
  431. bool "env exists"
  432. default y
  433. help
  434. Check if a variable is defined in the environment for use in
  435. shell scripting.
  436. config CMD_ENV_CALLBACK
  437. bool "env callbacks - print callbacks and their associated variables"
  438. help
  439. Some environment variable have callbacks defined by
  440. U_BOOT_ENV_CALLBACK. These are called when the variable changes.
  441. For example changing "baudrate" adjust the serial baud rate. This
  442. command lists the currently defined callbacks.
  443. config CMD_ENV_FLAGS
  444. bool "env flags -print variables that have non-default flags"
  445. help
  446. Some environment variables have special flags that control their
  447. behaviour. For example, serial# can only be written once and cannot
  448. be deleted. This command shows the variables that have special
  449. flags.
  450. config CMD_NVEDIT_EFI
  451. bool "env [set|print] -e - set/print UEFI variables"
  452. depends on EFI_LOADER
  453. default y
  454. imply HEXDUMP
  455. help
  456. UEFI variables are encoded as some form of U-Boot variables.
  457. If enabled, we are allowed to set/print UEFI variables using
  458. "env" command with "-e" option without knowing details.
  459. config CMD_NVEDIT_INFO
  460. bool "env info - print or evaluate environment information"
  461. help
  462. Print environment information:
  463. - env_valid : is environment valid
  464. - env_ready : is environment imported into hash table
  465. - env_use_default : is default environment used
  466. This command can be optionally used for evaluation in scripts:
  467. [-d] : evaluate whether default environment is used
  468. [-p] : evaluate whether environment can be persisted
  469. The result of multiple evaluations will be combined with AND.
  470. endmenu
  471. menu "Memory commands"
  472. config CMD_BINOP
  473. bool "binop"
  474. help
  475. Compute binary operations (xor, or, and) of byte arrays of arbitrary
  476. size from memory and store the result in memory or the environment.
  477. config CMD_CRC32
  478. bool "crc32"
  479. default y
  480. select HASH
  481. help
  482. Compute CRC32.
  483. config CRC32_VERIFY
  484. bool "crc32 -v"
  485. depends on CMD_CRC32
  486. help
  487. Add -v option to verify data against a crc32 checksum.
  488. config CMD_EEPROM
  489. bool "eeprom - EEPROM subsystem"
  490. help
  491. (deprecated, needs conversion to driver model)
  492. Provides commands to read and write EEPROM (Electrically Erasable
  493. Programmable Read Only Memory) chips that are connected over an
  494. I2C bus.
  495. config CMD_EEPROM_LAYOUT
  496. bool "Enable layout-aware eeprom commands"
  497. depends on CMD_EEPROM
  498. help
  499. (deprecated, needs conversion to driver model)
  500. When enabled, additional eeprom sub-commands become available.
  501. eeprom print - prints the contents of the eeprom in a human-readable
  502. way (eeprom layout fields, and data formatted to be fit for human
  503. consumption).
  504. eeprom update - allows user to update eeprom fields by specifying
  505. the field name, and providing the new data in a human readable format
  506. (same format as displayed by the eeprom print command).
  507. Both commands can either auto detect the layout, or be told which
  508. layout to use.
  509. Feature API:
  510. __weak int parse_layout_version(char *str)
  511. - override to provide your own layout name parsing
  512. __weak void __eeprom_layout_assign(struct eeprom_layout *layout,
  513. int layout_version);
  514. - override to setup the layout metadata based on the version
  515. __weak int eeprom_layout_detect(unsigned char *data)
  516. - override to provide your own algorithm for detecting layout
  517. version
  518. eeprom_field.c
  519. - contains various printing and updating functions for common
  520. types of eeprom fields. Can be used for defining
  521. custom layouts.
  522. config EEPROM_LAYOUT_HELP_STRING
  523. string "Tells user what layout names are supported"
  524. depends on CMD_EEPROM_LAYOUT
  525. default "<not defined>"
  526. help
  527. Help printed with the LAYOUT VERSIONS part of the 'eeprom'
  528. command's help.
  529. config LOOPW
  530. bool "loopw"
  531. help
  532. Infinite write loop on address range
  533. config CMD_MD5SUM
  534. bool "md5sum"
  535. default n
  536. select MD5
  537. help
  538. Compute MD5 checksum.
  539. config MD5SUM_VERIFY
  540. bool "md5sum -v"
  541. default n
  542. depends on CMD_MD5SUM
  543. help
  544. Add -v option to verify data against an MD5 checksum.
  545. config CMD_MEMINFO
  546. bool "meminfo"
  547. help
  548. Display memory information.
  549. config CMD_MEMORY
  550. bool "md, mm, nm, mw, cp, cmp, base, loop"
  551. default y
  552. help
  553. Memory commands.
  554. md - memory display
  555. mm - memory modify (auto-incrementing address)
  556. nm - memory modify (constant address)
  557. mw - memory write (fill)
  558. cp - memory copy
  559. cmp - memory compare
  560. base - print or set address offset
  561. loop - initialize loop on address range
  562. config MX_CYCLIC
  563. bool "Enable cyclic md/mw commands"
  564. depends on CMD_MEMORY
  565. help
  566. Add the "mdc" and "mwc" memory commands. These are cyclic
  567. "md/mw" commands.
  568. Examples:
  569. => mdc.b 10 4 500
  570. This command will print 4 bytes (10,11,12,13) each 500 ms.
  571. => mwc.l 100 12345678 10
  572. This command will write 12345678 to address 100 all 10 ms.
  573. config CMD_RANDOM
  574. bool "random"
  575. default y
  576. depends on CMD_MEMORY && (LIB_RAND || LIB_HW_RAND)
  577. help
  578. random - fill memory with random data
  579. config CMD_MEMTEST
  580. bool "memtest"
  581. help
  582. Simple RAM read/write test.
  583. if CMD_MEMTEST
  584. config SYS_ALT_MEMTEST
  585. bool "Alternative test"
  586. help
  587. Use a more complete alternative memory test.
  588. endif
  589. config CMD_MX_CYCLIC
  590. bool "mdc, mwc"
  591. help
  592. mdc - memory display cyclic
  593. mwc - memory write cyclic
  594. config CMD_SHA1SUM
  595. bool "sha1sum"
  596. select SHA1
  597. help
  598. Compute SHA1 checksum.
  599. config SHA1SUM_VERIFY
  600. bool "sha1sum -v"
  601. depends on CMD_SHA1SUM
  602. help
  603. Add -v option to verify data against a SHA1 checksum.
  604. config CMD_STRINGS
  605. bool "strings - display strings in memory"
  606. help
  607. This works similarly to the Unix 'strings' command except that it
  608. works with a memory range. String of printable characters found
  609. within the range are displayed. The minimum number of characters
  610. for a sequence to be considered a string can be provided.
  611. endmenu
  612. menu "Compression commands"
  613. config CMD_LZMADEC
  614. bool "lzmadec"
  615. default y if CMD_BOOTI
  616. select LZMA
  617. help
  618. Support decompressing an LZMA (Lempel-Ziv-Markov chain algorithm)
  619. image from memory.
  620. config CMD_UNZIP
  621. bool "unzip"
  622. default y if CMD_BOOTI
  623. help
  624. Uncompress a zip-compressed memory region.
  625. config CMD_ZIP
  626. bool "zip"
  627. help
  628. Compress a memory region with zlib deflate method.
  629. endmenu
  630. menu "Device access commands"
  631. config CMD_ARMFLASH
  632. #depends on FLASH_CFI_DRIVER
  633. bool "armflash"
  634. help
  635. ARM Ltd reference designs flash partition access
  636. config CMD_ADC
  637. bool "adc - Access Analog to Digital Converters info and data"
  638. select ADC
  639. select DM_REGULATOR
  640. help
  641. Shows ADC device info and permit printing one-shot analog converted
  642. data from a named Analog to Digital Converter.
  643. config CMD_BCB
  644. bool "bcb"
  645. depends on MMC
  646. depends on PARTITIONS
  647. help
  648. Read/modify/write the fields of Bootloader Control Block, usually
  649. stored on the flash "misc" partition with its structure defined in:
  650. https://android.googlesource.com/platform/bootable/recovery/+/master/
  651. bootloader_message/include/bootloader_message/bootloader_message.h
  652. Some real-life use-cases include (but are not limited to):
  653. - Determine the "boot reason" (and act accordingly):
  654. https://source.android.com/devices/bootloader/boot-reason
  655. - Get/pass a list of commands from/to recovery:
  656. https://android.googlesource.com/platform/bootable/recovery
  657. - Inspect/dump the contents of the BCB fields
  658. config CMD_BIND
  659. bool "bind/unbind - Bind or unbind a device to/from a driver"
  660. depends on DM
  661. help
  662. Bind or unbind a device to/from a driver from the command line.
  663. This is useful in situations where a device may be handled by several
  664. drivers. For example, this can be used to bind a UDC to the usb ether
  665. gadget driver from the command line.
  666. config CMD_CLK
  667. bool "clk - Show clock frequencies"
  668. help
  669. (deprecated)
  670. Shows clock frequences by calling a sock_clk_dump() hook function.
  671. This is depreated in favour of using the CLK uclass and accessing
  672. clock values from associated drivers. However currently no command
  673. exists for this.
  674. config CMD_DEMO
  675. bool "demo - Demonstration commands for driver model"
  676. depends on DM
  677. help
  678. Provides a 'demo' command which can be used to play around with
  679. driver model. To use this properly you will need to enable one or
  680. both of the demo devices (DM_DEMO_SHAPE and DM_DEMO_SIMPLE).
  681. Otherwise you will always get an empty list of devices. The demo
  682. devices are defined in the sandbox device tree, so the easiest
  683. option is to use sandbox and pass the -d point to sandbox's
  684. u-boot.dtb file.
  685. config CMD_DFU
  686. bool "dfu"
  687. select DFU
  688. help
  689. Enables the command "dfu" which is used to have U-Boot create a DFU
  690. class device via USB. This command requires that the "dfu_alt_info"
  691. environment variable be set and define the alt settings to expose to
  692. the host.
  693. config CMD_DM
  694. bool "dm - Access to driver model information"
  695. depends on DM
  696. help
  697. Provides access to driver model data structures and information,
  698. such as a list of devices, list of uclasses and the state of each
  699. device (e.g. activated). This is not required for operation, but
  700. can be useful to see the state of driver model for debugging or
  701. interest.
  702. config CMD_FASTBOOT
  703. bool "fastboot - Android fastboot support"
  704. depends on FASTBOOT
  705. help
  706. This enables the command "fastboot" which enables the Android
  707. fastboot mode for the platform. Fastboot is a protocol for
  708. downloading images, flashing and device control used on
  709. Android devices. Fastboot requires either the network stack
  710. enabled or support for acting as a USB device.
  711. See doc/android/fastboot.txt for more information.
  712. config CMD_FDC
  713. bool "fdcboot - Boot from floppy device"
  714. help
  715. The 'fdtboot' command allows booting an image from a floppy disk.
  716. config CMD_FLASH
  717. bool "flinfo, erase, protect"
  718. default y
  719. help
  720. NOR flash support.
  721. flinfo - print FLASH memory information
  722. erase - FLASH memory
  723. protect - enable or disable FLASH write protection
  724. config CMD_FPGA
  725. bool "fpga"
  726. depends on FPGA
  727. default y
  728. help
  729. FPGA support.
  730. config CMD_FPGA_LOADBP
  731. bool "fpga loadbp - load partial bitstream (Xilinx only)"
  732. depends on CMD_FPGA
  733. help
  734. Supports loading an FPGA device from a bitstream buffer containing
  735. a partial bitstream.
  736. config CMD_FPGA_LOADFS
  737. bool "fpga loadfs - load bitstream from FAT filesystem (Xilinx only)"
  738. depends on CMD_FPGA
  739. help
  740. Supports loading an FPGA device from a FAT filesystem.
  741. config CMD_FPGA_LOADMK
  742. bool "fpga loadmk - load bitstream from image"
  743. depends on CMD_FPGA
  744. help
  745. Supports loading an FPGA device from a image generated by mkimage.
  746. config CMD_FPGA_LOADP
  747. bool "fpga loadp - load partial bitstream"
  748. depends on CMD_FPGA
  749. help
  750. Supports loading an FPGA device from a bitstream buffer containing
  751. a partial bitstream.
  752. config CMD_FPGA_LOAD_SECURE
  753. bool "fpga loads - loads secure bitstreams (Xilinx only)"
  754. depends on CMD_FPGA
  755. help
  756. Enables the fpga loads command which is used to load secure
  757. (authenticated or encrypted or both) bitstreams on to FPGA.
  758. config CMD_FPGAD
  759. bool "fpgad - dump FPGA registers"
  760. help
  761. (legacy, needs conversion to driver model)
  762. Provides a way to dump FPGA registers by calling the board-specific
  763. fpga_get_reg() function. This functions similarly to the 'md'
  764. command.
  765. config CMD_FUSE
  766. bool "fuse - support for the fuse subssystem"
  767. help
  768. (deprecated - needs conversion to driver model)
  769. This allows reading, sensing, programming or overriding fuses
  770. which control the behaviour of the device. The command uses the
  771. fuse_...() API.
  772. config CMD_GPIO
  773. bool "gpio"
  774. help
  775. GPIO support.
  776. config CMD_GPT
  777. bool "GPT (GUID Partition Table) command"
  778. select EFI_PARTITION
  779. select HAVE_BLOCK_DEVICE
  780. select PARTITION_UUIDS
  781. imply RANDOM_UUID
  782. help
  783. Enable the 'gpt' command to ready and write GPT style partition
  784. tables.
  785. config RANDOM_UUID
  786. bool "GPT Random UUID generation"
  787. select LIB_UUID
  788. help
  789. Enable the generation of partitions with random UUIDs if none
  790. are provided.
  791. config CMD_GPT_RENAME
  792. bool "GPT partition renaming commands"
  793. depends on CMD_GPT
  794. help
  795. Enables the 'gpt' command to interchange names on two GPT
  796. partitions via the 'gpt swap' command or to rename single
  797. partitions via the 'rename' command.
  798. config CMD_IDE
  799. bool "ide - Support for IDE drivers"
  800. select IDE
  801. help
  802. Provides an 'ide' command which allows accessing the IDE drive,
  803. reseting the IDE interface, printing the partition table and
  804. geting device info. It also enables the 'diskboot' command which
  805. permits booting from an IDE drive.
  806. config CMD_IO
  807. bool "io - Support for performing I/O accesses"
  808. help
  809. Provides an 'iod' command to display I/O space and an 'iow' command
  810. to write values to the I/O space. This can be useful for manually
  811. checking the state of devices during boot when debugging device
  812. drivers, etc.
  813. config CMD_IOTRACE
  814. bool "iotrace - Support for tracing I/O activity"
  815. help
  816. Provides an 'iotrace' command which supports recording I/O reads and
  817. writes in a trace buffer in memory . It also maintains a checksum
  818. of the trace records (even if space is exhausted) so that the
  819. sequence of I/O accesses can be verified.
  820. When debugging drivers it is useful to see what I/O accesses were
  821. done and in what order.
  822. Even if the individual accesses are of little interest it can be
  823. useful to verify that the access pattern is consistent each time
  824. an operation is performed. In this case a checksum can be used to
  825. characterise the operation of a driver. The checksum can be compared
  826. across different runs of the operation to verify that the driver is
  827. working properly.
  828. In particular, when performing major refactoring of the driver, where
  829. the access pattern should not change, the checksum provides assurance
  830. that the refactoring work has not broken the driver.
  831. This works by sneaking into the io.h heder for an architecture and
  832. redirecting I/O accesses through iotrace's tracing mechanism.
  833. For now no commands are provided to examine the trace buffer. The
  834. format is fairly simple, so 'md' is a reasonable substitute.
  835. Note: The checksum feature is only useful for I/O regions where the
  836. contents do not change outside of software control. Where this is not
  837. suitable you can fall back to manually comparing the addresses. It
  838. might be useful to enhance tracing to only checksum the accesses and
  839. not the data read/written.
  840. config CMD_I2C
  841. bool "i2c"
  842. help
  843. I2C support.
  844. config CMD_W1
  845. depends on W1
  846. default y if W1
  847. bool "w1 - Support for Dallas 1-Wire protocol"
  848. help
  849. Dallas 1-wire protocol support
  850. config CMD_LOADB
  851. bool "loadb"
  852. default y
  853. help
  854. Load a binary file over serial line.
  855. config CMD_LOADS
  856. bool "loads"
  857. default y
  858. help
  859. Load an S-Record file over serial line
  860. config CMD_MMC
  861. bool "mmc"
  862. help
  863. MMC memory mapped support.
  864. config CMD_MMC_RPMB
  865. bool "Enable support for RPMB in the mmc command"
  866. depends on CMD_MMC
  867. help
  868. Enable the commands for reading, writing and programming the
  869. key for the Replay Protection Memory Block partition in eMMC.
  870. config CMD_MMC_SWRITE
  871. bool "mmc swrite"
  872. depends on CMD_MMC && MMC_WRITE
  873. select IMAGE_SPARSE
  874. help
  875. Enable support for the "mmc swrite" command to write Android sparse
  876. images to eMMC.
  877. config CMD_MTD
  878. bool "mtd"
  879. select MTD_PARTITIONS
  880. help
  881. MTD commands support.
  882. config CMD_NAND
  883. bool "nand"
  884. default y if NAND_SUNXI
  885. help
  886. NAND support.
  887. if CMD_NAND
  888. config CMD_NAND_TRIMFFS
  889. bool "nand write.trimffs"
  890. default y if ARCH_SUNXI
  891. help
  892. Allows one to skip empty pages when flashing something on a NAND.
  893. config CMD_NAND_LOCK_UNLOCK
  894. bool "nand lock/unlock"
  895. help
  896. NAND locking support.
  897. config CMD_NAND_TORTURE
  898. bool "nand torture"
  899. help
  900. NAND torture support.
  901. endif # CMD_NAND
  902. config CMD_NVME
  903. bool "nvme"
  904. depends on NVME
  905. default y if NVME
  906. help
  907. NVM Express device support
  908. config CMD_ONENAND
  909. bool "onenand - access to onenand device"
  910. help
  911. OneNAND is a brand of NAND ('Not AND' gate) flash which provides
  912. various useful features. This command allows reading, writing,
  913. and erasing blocks. It allso provides a way to show and change
  914. bad blocks, and test the device.
  915. config CMD_OSD
  916. bool "osd"
  917. help
  918. Enable the 'osd' command which allows to query information from and
  919. write text data to a on-screen display (OSD) device; a virtual device
  920. associated with a display capable of displaying a text overlay on the
  921. display it's associated with..
  922. config CMD_PART
  923. bool "part"
  924. select HAVE_BLOCK_DEVICE
  925. select PARTITION_UUIDS
  926. help
  927. Read and display information about the partition table on
  928. various media.
  929. config CMD_PCI
  930. bool "pci - Access PCI devices"
  931. help
  932. Provide access to PCI (Peripheral Interconnect Bus), a type of bus
  933. used on some devices to allow the CPU to communicate with its
  934. peripherals. Sub-commands allow bus enumeration, displaying and
  935. changing configuration space and a few other features.
  936. config CMD_PINMUX
  937. bool "pinmux - show pins muxing"
  938. default y if PINCTRL
  939. help
  940. Parse all available pin-controllers and show pins muxing. This
  941. is useful for debug purpoer to check the pin muxing and to know if
  942. a pin is configured as a GPIO or as an alternate function.
  943. config CMD_POWEROFF
  944. bool "poweroff"
  945. help
  946. Poweroff/Shutdown the system
  947. config CMD_READ
  948. bool "read - Read binary data from a partition"
  949. help
  950. Provides low-level access to the data in a partition.
  951. config CMD_REMOTEPROC
  952. bool "remoteproc"
  953. depends on REMOTEPROC
  954. help
  955. Support for Remote Processor control
  956. config CMD_SATA
  957. bool "sata - Access SATA subsystem"
  958. select SATA
  959. help
  960. SATA (Serial Advanced Technology Attachment) is a serial bus
  961. standard for connecting to hard drives and other storage devices.
  962. This command provides information about attached devices and allows
  963. reading, writing and other operations.
  964. SATA replaces PATA (originally just ATA), which stands for Parallel AT
  965. Attachment, where AT refers to an IBM AT (Advanced Technology)
  966. computer released in 1984.
  967. config CMD_SAVES
  968. bool "saves - Save a file over serial in S-Record format"
  969. help
  970. Provides a way to save a binary file using the Motorola S-Record
  971. format over the serial line.
  972. config CMD_SCSI
  973. bool "scsi - Access to SCSI devices"
  974. default y if SCSI
  975. help
  976. This provides a 'scsi' command which provides access to SCSI (Small
  977. Computer System Interface) devices. The command provides a way to
  978. scan the bus, reset the bus, read and write data and get information
  979. about devices.
  980. config CMD_SDRAM
  981. bool "sdram - Print SDRAM configuration information"
  982. help
  983. Provides information about attached SDRAM. This assumed that the
  984. SDRAM has an EEPROM with information that can be read using the
  985. I2C bus. This is only available on some boards.
  986. config CMD_SF
  987. bool "sf"
  988. depends on DM_SPI_FLASH || SPI_FLASH
  989. help
  990. SPI Flash support
  991. config CMD_SF_TEST
  992. bool "sf test - Allow testing of SPI flash"
  993. depends on CMD_SF
  994. help
  995. Provides a way to test that SPI flash is working correctly. The
  996. test is destructive, in that an area of SPI flash must be provided
  997. for the test to use. Performance information is also provided,
  998. measuring the performance of reading, writing and erasing in
  999. Mbps (Million Bits Per Second). This value should approximately
  1000. equal the SPI bus speed for a single-bit-wide SPI bus, assuming
  1001. everything is working properly.
  1002. config CMD_SPI
  1003. bool "sspi - Command to access spi device"
  1004. depends on SPI
  1005. help
  1006. SPI utility command.
  1007. config DEFAULT_SPI_BUS
  1008. int "default spi bus used by sspi command"
  1009. depends on CMD_SPI
  1010. default 0
  1011. config DEFAULT_SPI_MODE
  1012. hex "default spi mode used by sspi command (see include/spi.h)"
  1013. depends on CMD_SPI
  1014. default 0
  1015. config CMD_TSI148
  1016. bool "tsi148 - Command to access tsi148 device"
  1017. help
  1018. This provides various sub-commands to initialise and configure the
  1019. Turndra tsi148 device. See the command help for full details.
  1020. config CMD_UNIVERSE
  1021. bool "universe - Command to set up the Turndra Universe controller"
  1022. help
  1023. This allows setting up the VMEbus provided by this controller.
  1024. See the command help for full details.
  1025. config CMD_USB
  1026. bool "usb"
  1027. select HAVE_BLOCK_DEVICE
  1028. help
  1029. USB support.
  1030. config CMD_USB_SDP
  1031. bool "sdp"
  1032. select USB_FUNCTION_SDP
  1033. help
  1034. Enables the command "sdp" which is used to have U-Boot emulating the
  1035. Serial Download Protocol (SDP) via USB.
  1036. config CMD_ROCKUSB
  1037. bool "rockusb"
  1038. depends on USB_FUNCTION_ROCKUSB
  1039. help
  1040. Rockusb protocol is widely used by Rockchip SoC based devices. It can
  1041. read/write info, image to/from devices. This enable rockusb command
  1042. support to communication with rockusb device. for more detail about
  1043. this command, please read doc/README.rockusb.
  1044. config CMD_USB_MASS_STORAGE
  1045. bool "UMS usb mass storage"
  1046. select USB_FUNCTION_MASS_STORAGE
  1047. help
  1048. USB mass storage support
  1049. config CMD_VIRTIO
  1050. bool "virtio"
  1051. depends on VIRTIO
  1052. default y if VIRTIO
  1053. help
  1054. VirtIO block device support
  1055. config CMD_WDT
  1056. bool "wdt"
  1057. depends on WDT
  1058. help
  1059. This provides commands to control the watchdog timer devices.
  1060. config CMD_AXI
  1061. bool "axi"
  1062. depends on AXI
  1063. help
  1064. Enable the command "axi" for accessing AXI (Advanced eXtensible
  1065. Interface) busses, a on-chip interconnect specification for managing
  1066. functional blocks in SoC designs, which is also often used in designs
  1067. involving FPGAs (e.g. communication with IP cores in Xilinx FPGAs).
  1068. endmenu
  1069. menu "Shell scripting commands"
  1070. config CMD_ECHO
  1071. bool "echo"
  1072. default y
  1073. help
  1074. Echo args to console
  1075. config CMD_ITEST
  1076. bool "itest"
  1077. default y
  1078. help
  1079. Return true/false on integer compare.
  1080. config CMD_SOURCE
  1081. bool "source"
  1082. default y
  1083. help
  1084. Run script from memory
  1085. config CMD_SETEXPR
  1086. bool "setexpr"
  1087. default y
  1088. help
  1089. Evaluate boolean and math expressions and store the result in an env
  1090. variable.
  1091. Also supports loading the value at a memory location into a variable.
  1092. If CONFIG_REGEX is enabled, setexpr also supports a gsub function.
  1093. endmenu
  1094. menu "Android support commands"
  1095. config CMD_AB_SELECT
  1096. bool "ab_select"
  1097. default n
  1098. depends on ANDROID_AB
  1099. help
  1100. On Android devices with more than one boot slot (multiple copies of
  1101. the kernel and system images) this provides a command to select which
  1102. slot should be used to boot from and register the boot attempt. This
  1103. is used by the new A/B update model where one slot is updated in the
  1104. background while running from the other slot.
  1105. endmenu
  1106. if NET
  1107. menuconfig CMD_NET
  1108. bool "Network commands"
  1109. default y
  1110. imply NETDEVICES
  1111. if CMD_NET
  1112. config CMD_BOOTP
  1113. bool "bootp"
  1114. default y
  1115. help
  1116. bootp - boot image via network using BOOTP/TFTP protocol
  1117. config CMD_DHCP
  1118. bool "dhcp"
  1119. depends on CMD_BOOTP
  1120. help
  1121. Boot image via network using DHCP/TFTP protocol
  1122. config BOOTP_BOOTPATH
  1123. bool "Request & store 'rootpath' from BOOTP/DHCP server"
  1124. default y
  1125. depends on CMD_BOOTP
  1126. help
  1127. Even though the config is called BOOTP_BOOTPATH, it stores the
  1128. path in the variable 'rootpath'.
  1129. config BOOTP_DNS
  1130. bool "Request & store 'dnsip' from BOOTP/DHCP server"
  1131. default y
  1132. depends on CMD_BOOTP
  1133. help
  1134. The primary DNS server is stored as 'dnsip'. If two servers are
  1135. returned, you must set BOOTP_DNS2 to store that second server IP
  1136. also.
  1137. config BOOTP_DNS2
  1138. bool "Store 'dnsip2' from BOOTP/DHCP server"
  1139. depends on BOOTP_DNS
  1140. help
  1141. If a DHCP client requests the DNS server IP from a DHCP server,
  1142. it is possible that more than one DNS serverip is offered to the
  1143. client. If CONFIG_BOOTP_DNS2 is enabled, the secondary DNS
  1144. server IP will be stored in the additional environment
  1145. variable "dnsip2". The first DNS serverip is always
  1146. stored in the variable "dnsip", when BOOTP_DNS is defined.
  1147. config BOOTP_GATEWAY
  1148. bool "Request & store 'gatewayip' from BOOTP/DHCP server"
  1149. default y
  1150. depends on CMD_BOOTP
  1151. config BOOTP_HOSTNAME
  1152. bool "Request & store 'hostname' from BOOTP/DHCP server"
  1153. default y
  1154. depends on CMD_BOOTP
  1155. help
  1156. The name may or may not be qualified with the local domain name.
  1157. config BOOTP_PREFER_SERVERIP
  1158. bool "serverip variable takes precedent over DHCP server IP."
  1159. depends on CMD_BOOTP
  1160. help
  1161. By default a BOOTP/DHCP reply will overwrite the 'serverip' variable.
  1162. With this option enabled, the 'serverip' variable in the environment
  1163. takes precedence over DHCP server IP and will only be set by the DHCP
  1164. server if not already set in the environment.
  1165. config BOOTP_SUBNETMASK
  1166. bool "Request & store 'netmask' from BOOTP/DHCP server"
  1167. default y
  1168. depends on CMD_BOOTP
  1169. config BOOTP_NTPSERVER
  1170. bool "Request & store 'ntpserverip' from BOOTP/DHCP server"
  1171. depends on CMD_BOOTP
  1172. config CMD_PCAP
  1173. bool "pcap capture"
  1174. help
  1175. Selecting this will allow capturing all Ethernet packets and store
  1176. them in physical memory in a PCAP formated file,
  1177. later to be analyzed by PCAP reader application (IE. WireShark).
  1178. config BOOTP_PXE
  1179. bool "Send PXE client arch to BOOTP/DHCP server"
  1180. default y
  1181. depends on CMD_BOOTP && CMD_PXE
  1182. help
  1183. Supported for ARM, ARM64, and x86 for now.
  1184. config BOOTP_PXE_CLIENTARCH
  1185. hex
  1186. depends on BOOTP_PXE
  1187. default 0x16 if ARM64
  1188. default 0x15 if ARM
  1189. default 0 if X86
  1190. config BOOTP_VCI_STRING
  1191. string
  1192. depends on CMD_BOOTP
  1193. default "U-Boot.armv7" if CPU_V7A || CPU_V7M || CPU_V7R
  1194. default "U-Boot.armv8" if ARM64
  1195. default "U-Boot.arm" if ARM
  1196. default "U-Boot"
  1197. config CMD_TFTPBOOT
  1198. bool "tftpboot"
  1199. default y
  1200. help
  1201. tftpboot - boot image via network using TFTP protocol
  1202. config CMD_TFTPPUT
  1203. bool "tftp put"
  1204. depends on CMD_TFTPBOOT
  1205. help
  1206. TFTP put command, for uploading files to a server
  1207. config CMD_TFTPSRV
  1208. bool "tftpsrv"
  1209. depends on CMD_TFTPBOOT
  1210. help
  1211. Act as a TFTP server and boot the first received file
  1212. config NET_TFTP_VARS
  1213. bool "Control TFTP timeout and count through environment"
  1214. depends on CMD_TFTPBOOT
  1215. default y
  1216. help
  1217. If set, allows controlling the TFTP timeout through the
  1218. environment variable tftptimeout, and the TFTP maximum
  1219. timeout count through the variable tftptimeoutcountmax.
  1220. If unset, timeout and maximum are hard-defined as 1 second
  1221. and 10 timouts per TFTP transfer.
  1222. config CMD_RARP
  1223. bool "rarpboot"
  1224. help
  1225. Boot image via network using RARP/TFTP protocol
  1226. config CMD_NFS
  1227. bool "nfs"
  1228. default y
  1229. help
  1230. Boot image via network using NFS protocol.
  1231. config CMD_MII
  1232. bool "mii"
  1233. help
  1234. Enable MII utility commands.
  1235. config CMD_PING
  1236. bool "ping"
  1237. help
  1238. Send ICMP ECHO_REQUEST to network host
  1239. config CMD_CDP
  1240. bool "cdp"
  1241. help
  1242. Perform CDP network configuration
  1243. config CMD_SNTP
  1244. bool "sntp"
  1245. help
  1246. Synchronize RTC via network
  1247. config CMD_DNS
  1248. bool "dns"
  1249. help
  1250. Lookup the IP of a hostname
  1251. config CMD_LINK_LOCAL
  1252. bool "linklocal"
  1253. select LIB_RAND
  1254. help
  1255. Acquire a network IP address using the link-local protocol
  1256. endif
  1257. config CMD_ETHSW
  1258. bool "ethsw"
  1259. help
  1260. Allow control of L2 Ethernet switch commands. These are supported
  1261. by the vsc9953 Ethernet driver at present. Sub-commands allow
  1262. operations such as enabling / disabling a port and
  1263. viewing/maintaining the filtering database (FDB)
  1264. config CMD_PXE
  1265. bool "pxe"
  1266. select MENU
  1267. help
  1268. Boot image via network using PXE protocol
  1269. config CMD_WOL
  1270. bool "wol"
  1271. help
  1272. Wait for wake-on-lan Magic Packet
  1273. endif
  1274. menu "Misc commands"
  1275. config CMD_BMP
  1276. bool "Enable 'bmp' command"
  1277. depends on LCD || DM_VIDEO || VIDEO
  1278. help
  1279. This provides a way to obtain information about a BMP-format iamge
  1280. and to display it. BMP (which presumably stands for BitMaP) is a
  1281. file format defined by Microsoft which supports images of various
  1282. depths, formats and compression methods. Headers on the file
  1283. determine the formats used. This command can be used by first loading
  1284. the image into RAM, then using this command to look at it or display
  1285. it.
  1286. config CMD_BOOTCOUNT
  1287. bool "bootcount"
  1288. depends on BOOTCOUNT_LIMIT
  1289. help
  1290. Enable the bootcount command, which allows interrogation and
  1291. reset of the bootcounter.
  1292. config CMD_BSP
  1293. bool "Enable board-specific commands"
  1294. help
  1295. (deprecated: instead, please define a Kconfig option for each command)
  1296. Some boards have board-specific commands which are only enabled
  1297. during developemnt and need to be turned off for production. This
  1298. option provides a way to control this. The commands that are enabled
  1299. vary depending on the board.
  1300. config CMD_BKOPS_ENABLE
  1301. bool "mmc bkops enable"
  1302. depends on CMD_MMC
  1303. default n
  1304. help
  1305. Enable command for setting manual background operations handshake
  1306. on a eMMC device. The feature is optionally available on eMMC devices
  1307. conforming to standard >= 4.41.
  1308. config CMD_BLOCK_CACHE
  1309. bool "blkcache - control and stats for block cache"
  1310. depends on BLOCK_CACHE
  1311. default y if BLOCK_CACHE
  1312. help
  1313. Enable the blkcache command, which can be used to control the
  1314. operation of the cache functions.
  1315. This is most useful when fine-tuning the operation of the cache
  1316. during development, but also allows the cache to be disabled when
  1317. it might hurt performance (e.g. when using the ums command).
  1318. config CMD_CACHE
  1319. bool "icache or dcache"
  1320. help
  1321. Enable the "icache" and "dcache" commands
  1322. config CMD_CONITRACE
  1323. bool "conitrace - trace console input codes"
  1324. help
  1325. Enable the 'conitrace' command which displays the codes received
  1326. from the console input as hexadecimal numbers.
  1327. config CMD_CLS
  1328. bool "Enable clear screen command 'cls'"
  1329. depends on CFB_CONSOLE || DM_VIDEO || LCD || VIDEO
  1330. default y if LCD
  1331. help
  1332. Enable the 'cls' command which clears the screen contents
  1333. on video frame buffer.
  1334. config CMD_EFIDEBUG
  1335. bool "efidebug - display/configure UEFI environment"
  1336. depends on EFI_LOADER
  1337. select EFI_DEVICE_PATH_TO_TEXT
  1338. default n
  1339. help
  1340. Enable the 'efidebug' command which provides a subset of UEFI
  1341. shell utility with simplified functionality. It will be useful
  1342. particularly for managing boot parameters as well as examining
  1343. various EFI status for debugging.
  1344. config CMD_EXCEPTION
  1345. bool "exception - raise exception"
  1346. depends on ARM || RISCV || X86
  1347. help
  1348. Enable the 'exception' command which allows to raise an exception.
  1349. config CMD_LED
  1350. bool "led"
  1351. depends on LED
  1352. default y if LED
  1353. help
  1354. Enable the 'led' command which allows for control of LEDs supported
  1355. by the board. The LEDs can be listed with 'led list' and controlled
  1356. with led on/off/togle/blink. Any LED drivers can be controlled with
  1357. this command, e.g. led_gpio.
  1358. config CMD_DATE
  1359. bool "date"
  1360. default y if DM_RTC
  1361. help
  1362. Enable the 'date' command for getting/setting the time/date in RTC
  1363. devices.
  1364. config CMD_TIME
  1365. bool "time"
  1366. help
  1367. Run commands and summarize execution time.
  1368. config CMD_GETTIME
  1369. bool "gettime - read elapsed time"
  1370. help
  1371. Enable the 'gettime' command which reads the elapsed time since
  1372. U-Boot started running. This shows the time in seconds and
  1373. milliseconds. See also the 'bootstage' command which provides more
  1374. flexibility for boot timing.
  1375. # TODO: rename to CMD_SLEEP
  1376. config CMD_MISC
  1377. bool "sleep"
  1378. default y
  1379. help
  1380. Delay execution for some time
  1381. config MP
  1382. bool "support for multiprocessor"
  1383. help
  1384. This provides an option to brinup
  1385. different processors in multiprocessor
  1386. cases.
  1387. config CMD_TIMER
  1388. bool "timer"
  1389. help
  1390. Access the system timer.
  1391. config CMD_SOUND
  1392. bool "sound"
  1393. depends on SOUND
  1394. help
  1395. This provides basic access to the U-Boot's sound support. The main
  1396. feature is to play a beep.
  1397. sound init - set up sound system
  1398. sound play - play a sound
  1399. config CMD_QFW
  1400. bool "qfw"
  1401. select QFW
  1402. help
  1403. This provides access to the QEMU firmware interface. The main
  1404. feature is to allow easy loading of files passed to qemu-system
  1405. via -kernel / -initrd
  1406. source "cmd/mvebu/Kconfig"
  1407. config CMD_TERMINAL
  1408. bool "terminal - provides a way to attach a serial terminal"
  1409. help
  1410. Provides a 'cu'-like serial terminal command. This can be used to
  1411. access other serial ports from the system console. The terminal
  1412. is very simple with no special processing of characters. As with
  1413. cu, you can press ~. (tilde followed by period) to exit.
  1414. config CMD_UUID
  1415. bool "uuid, guid - generation of unique IDs"
  1416. select LIB_UUID
  1417. help
  1418. This enables two commands:
  1419. uuid - generate random Universally Unique Identifier
  1420. guid - generate Globally Unique Identifier based on random UUID
  1421. The two commands are very similar except for the endianness of the
  1422. output.
  1423. endmenu
  1424. source "cmd/ti/Kconfig"
  1425. config CMD_BOOTSTAGE
  1426. bool "Enable the 'bootstage' command"
  1427. depends on BOOTSTAGE
  1428. help
  1429. Add a 'bootstage' command which supports printing a report
  1430. and un/stashing of bootstage data.
  1431. menu "Power commands"
  1432. config CMD_PMIC
  1433. bool "Enable Driver Model PMIC command"
  1434. depends on DM_PMIC
  1435. help
  1436. This is the pmic command, based on a driver model pmic's API.
  1437. Command features are unchanged:
  1438. - list - list pmic devices
  1439. - pmic dev <id> - show or [set] operating pmic device (NEW)
  1440. - pmic dump - dump registers
  1441. - pmic read address - read byte of register at address
  1442. - pmic write address - write byte to register at address
  1443. The only one change for this command is 'dev' subcommand.
  1444. config CMD_REGULATOR
  1445. bool "Enable Driver Model REGULATOR command"
  1446. depends on DM_REGULATOR
  1447. help
  1448. This command is based on driver model regulator's API.
  1449. User interface features:
  1450. - list - list regulator devices
  1451. - regulator dev <id> - show or [set] operating regulator device
  1452. - regulator info - print constraints info
  1453. - regulator status - print operating status
  1454. - regulator value <val] <-f> - print/[set] voltage value [uV]
  1455. - regulator current <val> - print/[set] current value [uA]
  1456. - regulator mode <id> - print/[set] operating mode id
  1457. - regulator enable - enable the regulator output
  1458. - regulator disable - disable the regulator output
  1459. The '-f' (force) option can be used for set the value which exceeds
  1460. the limits, which are found in device-tree and are kept in regulator's
  1461. uclass platdata structure.
  1462. endmenu
  1463. menu "Security commands"
  1464. config CMD_AES
  1465. bool "Enable the 'aes' command"
  1466. select AES
  1467. help
  1468. This provides a means to encrypt and decrypt data using the AES
  1469. (Advanced Encryption Standard). This algorithm uses a symetric key
  1470. and is widely used as a streaming cipher. Different key lengths are
  1471. supported by the algorithm but this command only supports 128 bits
  1472. at present.
  1473. config CMD_BLOB
  1474. bool "Enable the 'blob' command"
  1475. help
  1476. This is used with the Freescale secure boot mechanism.
  1477. Freescale's SEC block has built-in Blob Protocol which provides
  1478. a method for protecting user-defined data across system power
  1479. cycles. SEC block protects data in a data structure called a Blob,
  1480. which provides both confidentiality and integrity protection.
  1481. Encapsulating data as a blob
  1482. Each time that the Blob Protocol is used to protect data, a
  1483. different randomly generated key is used to encrypt the data.
  1484. This random key is itself encrypted using a key which is derived
  1485. from SoC's non-volatile secret key and a 16 bit Key identifier.
  1486. The resulting encrypted key along with encrypted data is called a
  1487. blob. The non-volatile secure key is available for use only during
  1488. secure boot.
  1489. During decapsulation, the reverse process is performed to get back
  1490. the original data.
  1491. Sub-commands:
  1492. blob enc - encapsulating data as a cryptgraphic blob
  1493. blob dec - decapsulating cryptgraphic blob to get the data
  1494. Syntax:
  1495. blob enc src dst len km
  1496. Encapsulate and create blob of data $len bytes long
  1497. at address $src and store the result at address $dst.
  1498. $km is the 16 byte key modifier is also required for
  1499. generation/use as key for cryptographic operation. Key
  1500. modifier should be 16 byte long.
  1501. blob dec src dst len km
  1502. Decapsulate the blob of data at address $src and
  1503. store result of $len byte at addr $dst.
  1504. $km is the 16 byte key modifier is also required for
  1505. generation/use as key for cryptographic operation. Key
  1506. modifier should be 16 byte long.
  1507. config CMD_HASH
  1508. bool "Support 'hash' command"
  1509. select HASH
  1510. help
  1511. This provides a way to hash data in memory using various supported
  1512. algorithms (such as SHA1, MD5, CRC32). The computed digest can be
  1513. saved to memory or to an environment variable. It is also possible
  1514. to verify a hash against data in memory.
  1515. config CMD_HVC
  1516. bool "Support the 'hvc' command"
  1517. depends on ARM_SMCCC
  1518. help
  1519. Allows issuing Hypervisor Calls (HVCs). Mostly useful for
  1520. development and testing.
  1521. config CMD_SMC
  1522. bool "Support the 'smc' command"
  1523. depends on ARM_SMCCC
  1524. help
  1525. Allows issuing Secure Monitor Calls (SMCs). Mostly useful for
  1526. development and testing.
  1527. config HASH_VERIFY
  1528. bool "hash -v"
  1529. depends on CMD_HASH
  1530. help
  1531. Add -v option to verify data against a hash.
  1532. config CMD_TPM_V1
  1533. bool
  1534. config CMD_TPM_V2
  1535. bool
  1536. select CMD_LOG
  1537. config CMD_TPM
  1538. bool "Enable the 'tpm' command"
  1539. depends on TPM_V1 || TPM_V2
  1540. select CMD_TPM_V1 if TPM_V1
  1541. select CMD_TPM_V2 if TPM_V2
  1542. help
  1543. This provides a means to talk to a TPM from the command line. A wide
  1544. range of commands if provided - see 'tpm help' for details. The
  1545. command requires a suitable TPM on your board and the correct driver
  1546. must be enabled.
  1547. if CMD_TPM
  1548. config CMD_TPM_TEST
  1549. bool "Enable the 'tpm test' command"
  1550. depends on TPM_V1
  1551. help
  1552. This provides a a series of tests to confirm that the TPMv1.x is
  1553. working correctly. The tests cover initialisation, non-volatile RAM,
  1554. extend, global lock and checking that timing is within expectations.
  1555. The tests pass correctly on Infineon TPMs but may need to be adjusted
  1556. for other devices.
  1557. endif
  1558. endmenu
  1559. menu "Firmware commands"
  1560. config CMD_CROS_EC
  1561. bool "Enable crosec command"
  1562. depends on CROS_EC
  1563. default y
  1564. help
  1565. Enable command-line access to the Chrome OS EC (Embedded
  1566. Controller). This provides the 'crosec' command which has
  1567. a number of sub-commands for performing EC tasks such as
  1568. updating its flash, accessing a small saved context area
  1569. and talking to the I2C bus behind the EC (if there is one).
  1570. endmenu
  1571. menu "Filesystem commands"
  1572. config CMD_BTRFS
  1573. bool "Enable the 'btrsubvol' command"
  1574. select FS_BTRFS
  1575. help
  1576. This enables the 'btrsubvol' command to list subvolumes
  1577. of a BTRFS filesystem. There are no special commands for
  1578. listing BTRFS directories or loading BTRFS files - this
  1579. can be done by the generic 'fs' commands (see CMD_FS_GENERIC)
  1580. when BTRFS is enabled (see FS_BTRFS).
  1581. config CMD_CBFS
  1582. bool "Enable the 'cbfs' command"
  1583. depends on FS_CBFS
  1584. help
  1585. Define this to enable support for reading from a Coreboot
  1586. filesystem. This is a ROM-based filesystem used for accessing files
  1587. on systems that use coreboot as the first boot-loader and then load
  1588. U-Boot to actually boot the Operating System. Available commands are
  1589. cbfsinit, cbfsinfo, cbfsls and cbfsload.
  1590. config CMD_CRAMFS
  1591. bool "Enable the 'cramfs' command"
  1592. depends on FS_CRAMFS
  1593. help
  1594. This provides commands for dealing with CRAMFS (Compressed ROM
  1595. filesystem). CRAMFS is useful when space is tight since files are
  1596. compressed. Two commands are provided:
  1597. cramfsls - lists files in a cramfs image
  1598. cramfsload - loads a file from a cramfs image
  1599. config CMD_EXT2
  1600. bool "ext2 command support"
  1601. select FS_EXT4
  1602. help
  1603. Enables EXT2 FS command
  1604. config CMD_EXT4
  1605. bool "ext4 command support"
  1606. select FS_EXT4
  1607. help
  1608. Enables EXT4 FS command
  1609. config CMD_EXT4_WRITE
  1610. depends on CMD_EXT4
  1611. bool "ext4 write command support"
  1612. select EXT4_WRITE
  1613. help
  1614. Enables EXT4 FS write command
  1615. config CMD_FAT
  1616. bool "FAT command support"
  1617. select FS_FAT
  1618. help
  1619. Support for the FAT fs
  1620. config CMD_FS_GENERIC
  1621. bool "filesystem commands"
  1622. help
  1623. Enables filesystem commands (e.g. load, ls) that work for multiple
  1624. fs types.
  1625. config CMD_FS_UUID
  1626. bool "fsuuid command"
  1627. help
  1628. Enables fsuuid command for filesystem UUID.
  1629. config CMD_JFFS2
  1630. bool "jffs2 command"
  1631. select FS_JFFS2
  1632. help
  1633. Enables commands to support the JFFS2 (Journalling Flash File System
  1634. version 2) filesystem. This enables fsload, ls and fsinfo which
  1635. provide the ability to load files, list directories and obtain
  1636. filesystem information.
  1637. config CMD_MTDPARTS
  1638. bool "MTD partition support"
  1639. select MTD_DEVICE if (CMD_NAND || NAND)
  1640. help
  1641. MTD partitioning tool support.
  1642. It is strongly encouraged to avoid using this command
  1643. anymore along with 'sf', 'nand', 'onenand'. One can still
  1644. declare the partitions in the mtdparts environment variable
  1645. but better use the MTD stack and the 'mtd' command instead.
  1646. config MTDIDS_DEFAULT
  1647. string "Default MTD IDs"
  1648. depends on MTD_PARTITIONS || CMD_MTDPARTS || CMD_NAND || CMD_FLASH
  1649. help
  1650. Defines a default MTD IDs list for use with MTD partitions in the
  1651. Linux MTD command line partitions format.
  1652. config MTDPARTS_DEFAULT
  1653. string "Default MTD partition scheme"
  1654. depends on MTD_PARTITIONS || CMD_MTDPARTS || CMD_NAND || CMD_FLASH
  1655. help
  1656. Defines a default MTD partitioning scheme in the Linux MTD command
  1657. line partitions format
  1658. config CMD_MTDPARTS_SPREAD
  1659. bool "Padd partition size to take account of bad blocks"
  1660. depends on CMD_MTDPARTS
  1661. help
  1662. This enables the 'spread' sub-command of the mtdparts command.
  1663. This command will modify the existing mtdparts variable by increasing
  1664. the size of the partitions such that 1) each partition's net size is
  1665. at least as large as the size specified in the mtdparts variable and
  1666. 2) each partition starts on a good block.
  1667. config CMD_REISER
  1668. bool "reiser - Access to reiserfs filesystems"
  1669. help
  1670. This provides two commands which operate on a resierfs filesystem,
  1671. commonly used some years ago:
  1672. reiserls - list files
  1673. reiserload - load a file
  1674. config CMD_YAFFS2
  1675. bool "yaffs2 - Access of YAFFS2 filesystem"
  1676. depends on YAFFS2
  1677. default y
  1678. help
  1679. This provides commands for accessing a YAFFS2 filesystem. Yet
  1680. Another Flash Filesystem 2 is a filesystem designed specifically
  1681. for NAND flash. It incorporates bad-block management and ensures
  1682. that device writes are sequential regardless of filesystem
  1683. activity.
  1684. config CMD_ZFS
  1685. bool "zfs - Access of ZFS filesystem"
  1686. help
  1687. This provides commands to accessing a ZFS filesystem, commonly used
  1688. on Solaris systems. Two sub-commands are provided:
  1689. zfsls - list files in a directory
  1690. zfsload - load a file
  1691. See doc/README.zfs for more details.
  1692. endmenu
  1693. menu "Debug commands"
  1694. config CMD_BEDBUG
  1695. bool "bedbug"
  1696. help
  1697. The bedbug (emBEDded deBUGger) command provides debugging features
  1698. for some PowerPC processors. For details please see the
  1699. docuemntation in doc/README.beddbug
  1700. config CMD_DIAG
  1701. bool "diag - Board diagnostics"
  1702. help
  1703. This command provides access to board diagnostic tests. These are
  1704. called Power-on Self Tests (POST). The command allows listing of
  1705. available tests and running either all the tests, or specific tests
  1706. identified by name.
  1707. config CMD_IRQ
  1708. bool "irq - Show information about interrupts"
  1709. depends on !ARM && !MIPS && !SH
  1710. help
  1711. This enables two commands:
  1712. interrupts - enable or disable interrupts
  1713. irqinfo - print device-specific interrupt information
  1714. config CMD_KGDB
  1715. bool "kgdb - Allow debugging of U-Boot with gdb"
  1716. depends on PPC
  1717. help
  1718. This enables a 'kgdb' command which allows gdb to connect to U-Boot
  1719. over a serial link for debugging purposes. This allows
  1720. single-stepping, inspecting variables, etc. This is supported only
  1721. on PowerPC at present.
  1722. config CMD_LOG
  1723. bool "log - Generation, control and access to logging"
  1724. select LOG
  1725. help
  1726. This provides access to logging features. It allows the output of
  1727. log data to be controlled to a limited extent (setting up the default
  1728. maximum log level for emitting of records). It also provides access
  1729. to a command used for testing the log system.
  1730. config CMD_TRACE
  1731. bool "trace - Support tracing of function calls and timing"
  1732. help
  1733. Enables a command to control using of function tracing within
  1734. U-Boot. This allows recording of call traces including timing
  1735. information. The command can write data to memory for exporting
  1736. for analysis (e.g. using bootchart). See doc/README.trace for full
  1737. details.
  1738. config CMD_AVB
  1739. bool "avb - Android Verified Boot 2.0 operations"
  1740. depends on AVB_VERIFY
  1741. default n
  1742. help
  1743. Enables a "avb" command to perform verification of partitions using
  1744. Android Verified Boot 2.0 functionality. It includes such subcommands:
  1745. avb init - initialize avb2 subsystem
  1746. avb read_rb - read rollback index
  1747. avb write_rb - write rollback index
  1748. avb is_unlocked - check device lock state
  1749. avb get_uuid - read and print uuid of a partition
  1750. avb read_part - read data from partition
  1751. avb read_part_hex - read data from partition and output to stdout
  1752. avb write_part - write data to partition
  1753. avb verify - run full verification chain
  1754. endmenu
  1755. config CMD_UBI
  1756. tristate "Enable UBI - Unsorted block images commands"
  1757. select MTD_UBI
  1758. help
  1759. UBI is a software layer above MTD layer which admits use of LVM-like
  1760. logical volumes on top of MTD devices, hides some complexities of
  1761. flash chips like wear and bad blocks and provides some other useful
  1762. capabilities. Please, consult the MTD web site for more details
  1763. (www.linux-mtd.infradead.org). Activate this option if you want
  1764. to use U-Boot UBI commands.
  1765. It is also strongly encouraged to also enable CONFIG_MTD to get full
  1766. partition support.
  1767. config CMD_UBIFS
  1768. tristate "Enable UBIFS - Unsorted block images filesystem commands"
  1769. depends on CMD_UBI
  1770. default y if CMD_UBI
  1771. select LZO
  1772. help
  1773. UBIFS is a file system for flash devices which works on top of UBI.
  1774. endmenu