进入 uboot 命令行,输入“?”或者“help”,然后输入回车,可以查看当前 uboot 支 持的命令。 => ? ? - alias for 'help' android_print_hdr- print android image header atags - Dump all atags base - print or set address offset bdinfo - print Board Info structure bidram_dump- Dump bidram layout boot - boot default, i.e., run 'bootcmd' boot_android- Execute the Android Bootloader flow. boot_fit- Boot FIT Image from memory or boot/recovery partition bootavb - Execute the Android avb a/b boot flow. bootd - boot default, i.e., run 'bootcmd' booti - boot arm64 Linux Image image from memory bootm - boot application image from memory bootp - boot image via network using BOOTP/TFTP protocol bootrkp - Boot Linux Image from rockchip image type bootz - boot Linux zImage image from memory cmp - memory compare coninfo - print console devices and information cp - memory copy crc32 - checksum calculation crypto_sum- crypto checksum engine dhcp - boot image via network using DHCP/TFTP protocol dm - Driver model low level access download- enter rockusb/bootrom download mode dtimg - manipulate dtb/dtbo Android image dump_irqs- Dump IRQs dump_resource- dump resource list echo - echo args to console editenv - edit environment variable env - environment handling commands exit - exit script ext2load- load binary file from a Ext2 filesystem ext2ls - list files in a directory (default /) ext4load- load binary file from a Ext4 filesystem ext4ls - list files in a directory (default /) ext4size- determine a file's size false - do nothing, unsuccessfully fastboot- use USB or UDP Fastboot protocol fatinfo - print information about filesystem fatload - load binary file from a dos filesystem fatls - list files in a directory (default /) fatsize - determine a file's size fatwrite- write file into a dos filesystem fdt - flattened device tree utility commands fstype - Look up a filesystem type go - start application at address 'addr' gpt - GUID Partition Table help - print command description/usage iomem - Show iomem data by device compatible(high priority) or node name lcdputs - print string on video framebuffer load - load binary file from a filesystem loop - infinite loop on address range ls - list files in a directory (default /) md - memory display mdio - MDIO utility commands mii - MII utility commands mm - memory modify (auto-incrementing address) mmc - MMC sub system mmcinfo - display MMC info mtd - MTD utils mtd_blk - MTD Block device sub-system mw - memory write (fill) nand - NAND sub-system nboot - boot from NAND device nfs - boot image via network using NFS protocol nm - memory modify (constant address) part - disk partition related commands ping - send ICMP ECHO_REQUEST to network host printenv- print environment variables pxe - commands to get and boot from pxe files rbrom - Perform RESET of the CPU reboot - Perform RESET of the CPU, alias of 'reset' reset - Perform RESET of the CPU rkimgtest- Test if storage media have rockchip image rockchip_show_bmp- load and display bmp from resource partition rockchip_show_logo- load and display log from resource partition rockusb - Use the rockusb Protocol run - run commands in an environment variable save - save file to a filesystem setcurs - set cursor position within screen setenv - set environment variables showvar - print local hushshell variables size - determine a file's size source - run script from memory sysboot - command to get and boot from syslinux files sysmem_dump- Dump sysmem layout sysmem_search- Search a available sysmem region test - minimal test like /bin/sh tftp - download image via network using TFTP protocol tftpbootm- tftpbootm aosp/uImage/FIT image via network using TFTP protocol tftpflash- flash image via network using TFTP protocol tftpput - TFTP put command, for uploading files to a server true - do nothing, successfully ums - Use the UMS [USB Mass Storage] usb - USB sub-system usbboot - boot from USB device version - print monitor, compiler and linker version 比如使用某个命令,需要了解某命令的详细用法,可以输入“? 命令名”来 查询。比如,想要了解“mmc”命令的详细信息,则输入“? mmc”,如下所示: => ? mmc mmc - MMC sub system Usage: mmc info - display info of the current MMC device mmc read addr blk# cnt mmc write addr blk# cnt mmc erase blk# cnt mmc rescan mmc part - lists available partition on current mmc device mmc dev [dev] [part] - show or set current mmc device [partition] mmc list - lists available devices mmc hwpartition [args...] - does hardware partitioning arguments (sizes in 512-byte blocks): [user [enh start cnt] [wrrel {on|off}]] - sets user data area attributes [gp1|gp2|gp3|gp4 cnt [enh] [wrrel {on|off}]] - general purpose partition [check|set|complete] - mode, complete set partitioning completed WARNING: Partitioning is a write-once setting once it is set to complete. Power cycling is required to initialize partitions after set to complete. mmc testsecurestorage - test CA call static TA to store data in security mmc testefuse - test CA call static TA,and TA read or write efuse mmc rpmb read addr blk# cnt [address of auth-key] - block size is 256 bytes mmc rpmb write addr blk# cnt <address of auth-key> - block size is 256 bytes mmc rpmb key <address of auth-key> - program the RPMB authentication key. mmc rpmb counter - read the value of the write counter mmc setdsr <value> - set DSR register value => UBoot 的命令有很多,而且还可以自定义进行添加,下节介绍常用的几个。 更多内容可以查看迅为RK3568开发板教程
|
|
来自: 新用户5070CYgq > 《3A5000》