=> bdinfo arch_number = 0x00000000 boot_params = 0x80000100 DRAM bank = 0x00000000 -> start = 0x80000000 -> size = 0x40000000 eth0name = FEC0 ethaddr = 00:11:0c:22:4d:4a current eth = FEC0 ip_addr = baudrate = 115200 bps TLB addr = 0xBFFF0000 relocaddr = 0xBFF62000 reloc off = 0x22762000 irq_sp = 0xBDF61EA0 sp start = 0xBDF61E90 => => => => => version U-Boot 2016.07-at22 (Oct 15 2021 - 18:00:12 +0900) arm-linux-gnueabihf-gcc (Debian 6.3.0-18) 6.3.0 20170516 GNU ld (GNU Binutils for Debian) 2.28 => crc32 crc32 - checksum calculation Usage: crc32 address count [addr] - compute CRC32 checksum [save at addr] => => => => => printenv baudrate=115200 boot_fdt=try bootargs=console=ttymxc4,115200 root=/dev/mmcblk2p2 rootwait rw bootcmd=mmc dev ${mmcdev};mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscript; then run bootscript; else setenv mmcpart 3; if run loadbootscript; then run bootscript; fi; setenv mmcpart 1; if run loadimage; then run mmcboot; else run netboot; fi; fi; else run netboot; fi bootcmd_mfg=run mfgtool_args;bootz ${loadaddr} ${initrd_addr} ${fdt_addr}; bootscript=echo Running bootscript from mmc ...; source console=ttymxc4 ethact=FEC0 ethaddr=00:11:0c:22:4d:4a ethprime=FEC fdt_addr=0x84800000 fdt_file=armadillo_x1.dtb fdt_high=0xffffffff fileaddr=84800000 filesize=c738 image=uImage initrd_addr=0x85000000 initrd_high=0xffffffff ip_dyn=yes loadaddr=0x82000000 loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script}; loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file} loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image} loadm4image=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${m4image} m4boot=sf probe 0:0; bootaux 0x60000000 m4image=m4_qspi.bin mfgtool_args=setenv bootargs console=${console},${baudrate} rdinit=/linuxrc g_mass_storage.stall=0 g_mass_storage.removable=1 g_mass_storage.idVendor=0x066F g_mass_storage.idProduct=0x37FF g_mass_storage.iSerialNumber="" clk_ignore_unused mmcargs=setenv bootargs console=${console},${baudrate} root=${mmcroot} ${optargs} mmcautodetect=yes mmcboot=echo Booting from mmc ...; run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootm ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootm; else echo WARN: Cannot load the DT; fi; fi; else bootm; fi; mmcdev=0 mmcpart=1 mmcroot=/dev/mmcblk2p2 rootwait rw netargs=setenv bootargs console=${console},${baudrate} root=${mmcroot} ${optargs} ip=dhcp netboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${image}; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if ${get_cmd} ${fdt_addr} ${fdt_file}; then bootm ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootm; else echo WARN: Cannot load the DT; fi; fi; else bootm; fi; revision#=0x0002 script=boot.scr serial#=11894 stderr=serial stdin=serial stdout=serial update_m4_from_sd=if sf probe 0:0; then if run loadm4image; then setexpr fw_sz ${filesize} + 0xffff; setexpr fw_sz ${fw_sz} / 0x10000; setexpr fw_sz ${fw_sz} * 0x10000; sf erase 0x0 ${fw_sz}; sf write ${loadaddr} 0x0 ${filesize}; fi; fi Environment size: 2636/8188 bytes => => => => => help ? - alias for 'help' base - print or set address offset bdinfo - print Board Info structure boot - boot default, i.e., run 'bootcmd' bootaux - Start auxiliary core bootd - boot default, i.e., run 'bootcmd' bootefi - Boots an EFI payload from memory bootelf - Boot from an ELF image in memory bootm - boot application image from memory bootp - boot image via network using BOOTP/TFTP protocol bootvx - Boot vxWorks from an ELF image bootz - boot Linux zImage image from memory clocks - display clocks cmp - memory compare coninfo - print console devices and information cp - memory copy crc32 - checksum calculation dcache - enable or disable data cache dfu - Device Firmware Upgrade 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 erase - erase FLASH memory 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 ext4write- create a file in the root directory false - do nothing, unsuccessfully 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 flinfo - print FLASH memory information go - start application at address 'addr' gpio - query and control gpio pins help - print command description/usage i2c - I2C sub-system icache - enable or disable instruction cache itest - return true/false on integer compare loadb - load binary file over serial line (kermit mode) loads - load S-Record file over serial line loadx - load binary file over serial line (xmodem mode) loady - load binary file over serial line (ymodem mode) loop - infinite loop on address range md - memory display md5sum - compute MD5 message digest mdio - MDIO utility commands mii - MII utility commands mm - memory modify (auto-incrementing address) mmc - MMC sub system mmcinfo - display MMC info mw - memory write (fill) nfs - boot image via network using NFS protocol nm - memory modify (constant address) ping - send ICMP ECHO_REQUEST to network host printenv- print environment variables protect - enable or disable FLASH write protection reset - Perform RESET of the CPU run - run commands in an environment variable saveenv - save environment variables to persistent storage setenv - set environment variables setexpr - set environment variable as the result of eval expression sf - SPI flash sub-system showvar - print local hushshell variables sleep - delay execution for some time source - run script from memory test - minimal test like /bin/sh tftpboot- boot image via network using TFTP protocol 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 => => => => => boot switch to partitions #0, OK mmc0(part 0) is current device switch to partitions #0, OK mmc0(part 0) is current device reading boot.scr ** Unable to read file boot.scr ** reading boot.scr ** Unable to read file boot.scr ** reading uImage 0 bytes read in 7 ms (0 Bytes/s) Booting from mmc ... reading armadillo_x1.dtb 51000 bytes read in 17 ms (2.9 MiB/s) Wrong Image Format for bootm command ERROR: can't get kernel image! =>