Last active
September 14, 2025 14:31
-
-
Save Static-Flow/7f0ea7562de8b188bc0753ee7e222dcf to your computer and use it in GitHub Desktop.
deeper connect air uboot commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| => ?K 'help' | |
| base - print or set address offset | |
| bdinfo - print Board Info structure | |
| blkcache - block cache diagnostics and control | |
| boot - boot default, i.e., run 'bootcmd' | |
| bootd - boot default, i.e., run 'bootcmd' | |
| bootefi - Boots an EFI payload from memor▒сfrom memory | |
| bootm - boot application image from memory | |
| bootp - boot image via network using BOOTP/TFTP protocol | |
| bootvx - Boot vxWorks from an ELF image | |
| cmp - memory compare | |
| coninfo - print console devices and information | |
| cp - memory copy | |
| crc32 - checksum calculation | |
| dhcp - boot image via network using DHCP/TFTP protocol | |
| dm - Driver model low level access | |
| 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 | |
| fatinfo - print information about filesystem | |
| fatload - load binary file from a dos filesystem | |
| fatls - list files in a directory (default /) | |
| fatmkdir - create a directory | |
| fatrm - delete a file | |
| fatsize - determine a file's size | |
| fatwrite - write file into a do▒▒▒▒ѕ▒▒type | |
| fstypes - List supported filesystem types | |
| go - start application at address 'addr' | |
| gpio - query and control gpio pins | |
| gpt - GUID Partition Table | |
| gzwrite - unzip and write memory to block device | |
| help - print command description/usage | |
| i2c - I2C sub-system | |
| iminfo - print header information for app쭬ѥ▒▒▒image | |
| imxtract - extract a part of a multi-image | |
| itest - return true/false on integer compare | |
| ln - Create a symbolic link | |
| load - load binary file from a filesystem | |
| loadb - load bijJ▒▒▒▒▒ѕ▒loop on address range | |
| ls - list files in a directory (default /) | |
| lzmadec - lzma uncompress a memory region | |
| md - memory display | |
| mdio - MDIO ut▒[Y[K▒modify (auto-incrementing address) | |
| mmc - MMC sub system | |
| mmcinfo - display MMC info | |
| mw - memory write (fill) | |
| net - NET sub-system | |
| nfs - boot image via network using NFS protocol | |
| nm - memory modify (constant address) | |
| panic - Panic with optional message | |
| p▒f th▒K▒ɥ▒сenvironment variables | |
| pxe - commands to get and boot from pxe files | |
| random - fill memory with random pattern | |
| reset - Perform RESET of the CPU | |
| run - run commands in an environment variable | |
| save - save file to a filesystem | |
| saveenv - save environment variables to persistent storage | |
| setenv - set environment variables | |
| setexpr - set environment variable as the result of eval expression | |
| showvar - print local hushshell variables | |
| size - determine a file's size | |
| sleep - delay execution for some time | |
| source - run script from memory | |
| sysboot - command to get and boot fro▒QA▒protocol | |
| true - do nothing, successfully | |
| unlz4 - lz4 uncompress a memory region | |
| unzip - unzip a memory region | |
| version - print monitor, compiler and linker version | |
| => env print | |
| env print | |
| arch=arm | |
| baudrate=115200 | |
| board=sunxi | |
| board_name=sunxi | |
| boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr} | |
| boot_efi_binary=load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} efi/boot/bootaa64.efi; if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r};else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi | |
| boot_efi_bootmgr=if fdt addr ${fdt_addr_r}; then bootefi bootmgr ${fdt_addr_r};else bootefi bootmgr;fi | |
| boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf} | |
| boot_prefixes=/ /boot/ | |
| boot_script_dhcp=boot.scr.uimg | |
| boot_scripts=boot.scr.uimg boot.scr | |
| boot_syslinux_conf=extlinux/extlinux.conf | |
| boot_targets=fel mmc_auto pxe dhcp | |
| bootcmd=run distro_bootcmd | |
| bootcmd_dhcp=devtype=dhcp; if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;setenv efi_fdtfile ${fdtfile}; setenv efi_old_vci ${bootp_vci};setenv efi_old_arch ${bootp_arch};setenv bootp_vci PXEClient:Arch:00011:UNDI:003000;setenv bootp_arch 0xb;if dhcp ${kernel_addr_r}; then tftpboot ${fdt_addr_r} dtb/${efi_fdtfile};if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r}; else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi;fi;setenv bootp_vci ${efi_old_vci};setenv bootp_arch ${efi_old_arch};setenv efi_fdtfile;setenv efi_old_arch;setenv efi_old_vci; | |
| bootcmd_fel=if test -n ${fel_booted} && test -n ${fel_scriptaddr}; then echo '(FEL boot)'; source ${fel_scriptaddr}; fi | |
| bootcmd_mmc0=devnum=0; run mmc_boot | |
| bootcmd_mmc1=devnum=1; run mmc_boot | |
| bootcmd_mmc_auto=if test ${mmc_bootdev} -eq 1; then run bootcmd_mmc1; run bootcmd_mmc0; elif test ${mmc_bootdev} -eq 0; then run bootcmd_mmc0; run bootcmd_mmc1; fi | |
| bootcmd_pxe=dhcp; if pxe get; then pxe boot; fi | |
| bootdelay=1 | |
| bootm_size=0xa000000 | |
| console=ttyS0,115200 | |
| cpu=armv8 | |
| dfu_alt_info_ram=kernel ram 0x40080000 0x1000000;fdt ram 0x4FA00000 0x100000;ramdisk ram 0x4FF00000 0x4000000 | |
| distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done | |
| efi_dtb_prefixes=/ /dtb/ /dtb/current/ | |
| ethaddr=02:00:94:c0:9d:02 | |
| fdt_addr_r=0x4FA00000 | |
| fdtcontroladdr=7bf3ca40 | |
| fdtfile=allwinner/sun50i-h313-dcn-air.dtb | |
| fdtoverlay_addr_r=0x4FE00000 | |
| kernel_addr_r=0x40080000 | |
| kernel_comp_addr_r=0x44000000 | |
| kernel_comp_size=0xb000000 | |
| load_efi_dtb=load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}${efi_fdtfile} | |
| loadsplash= for prefix in ${boot_prefixes}; do if test -e mmc 0 ${prefix}boot.bmp; then load mmc 0 ${splashimage} ${prefix}boot.bmp; bmp d ${splashimage}; fi; done | |
| mmc_boot=if mmc dev ${devnum}; then devtype=mmc; run scan_dev_for_boot_part; fi | |
| mmc_bootdev=1 | |
| partitions=name=loader1,start=8k,size=32k,uuid=${uuid_gpt_loader1};name=loader2,size=984k,uuid=${uuid_gpt_loader2};name=esp,size=128M,bootable,uuid=${uuid_gpt_esp};name=system,size=-,uuid=${uuid_gpt_system}; | |
| pxefile_addr_r=0x4FD00000 | |
| ramdisk_addr_r=0x4FF00000 | |
| scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;run scan_dev_for_efi; | |
| scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done; setenv devplist | |
| scan_dev_for_efi=setenv efi_fdtfile ${fdtfile}; for prefix in ${efi_dtb_prefixes}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${efi_fdtfile}; then run load_efi_dtb; fi;done;run boot_efi_bootmgr;if test -e ${devtype} ${devnum}:${distro_bootpart} efi/boot/bootaa64.efi; then echo Found EFI removable media binary efi/boot/bootaa64.efi; run boot_efi_binary; echo EFI LOAD FAILED: continuing...; fi; setenv efi_fdtfile | |
| scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; then echo Found ${prefix}${boot_syslinux_conf}; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi | |
| scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done | |
| scriptaddr=0x4FC00000 | |
| serial#=32c05c0094c09d02 | |
| soc=sunxi | |
| splashimage=66000000 | |
| splashpos=m,m | |
| stderr=serial@5000000 | |
| stdin=serial@5000000 | |
| stdout=serial@5000000 | |
| uuid_gpt_esp=c12a7328-f81f-11d2-ba4b-00a0c93ec93b | |
| uuid_gpt_system=b921b045-1df0-41c3-af44-4c6f280d3fae | |
| => version | |
| U-Boot 2021.10-armbian (Dec 14 2023 - 22:48:52 -0800) Allwinner Technology | |
| aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025 | |
| GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment