

$ fastboot reboot Display configuration support
U BOOT IMX PC
On the Host PC you can then simply enter: $ fastboot flash bootloader flash.bin On the target, either press the Fastboot button if present or type this in U-Boot: => fastboot 0
U BOOT IMX UPDATE
So for any platform of the Nitrogen8 family, you can now update its bootloader with Fastboot! This unfortunately only applies to 8M* platforms as fastboot can only access eMMC at this point. The big news of this release is that it supports all our boards including the i.MX 8M Plus based Nitrogen8MP. If unsure about this shorten procedure, please make sure to read the flashing procedure section. Then, once the media is inserted into the board, you can simply run the following command from U-Boot prompt: => run upgradeu

The latest upgrade.scr U-Boot script is included so it can be copied alongside the U-Boot binary above to the root of your media storage (formatted in FAT or ext2/3/4). The README file contains the exact commit ID of this build images. Our build server automatically generates and uploads all the latest binaries to this address: Boundary Devices is happy to release the latest U-Boot 2020.10 with support for all our Nitrogen Families of SBCs and SOMs. # expected output: MMC write: dev # 1, block # 138, count 644. # expected output: 329312 bytes read in 38 ms (8.3 MiB/s) # expected output: MMC write: dev # 1, block # 2, count 102. # expected output: 52224 bytes read in 24 ms (2.1 MiB/s) # expected output: 1 Storage Device(s) found

Below are the steps for loading binaries from a USB drive and writing them to eMMC: Now that at least U-Boot is running on the target system, SPL and u-boot.img can be loaded from removable media or network, and then written to the eMMC.
U BOOT IMX HOW TO
Refer to section Booting from USB (OTG) how to load u-boot to RAM. However it is more likely that neither Linux nor even U-Boot are available at this point. In this case the previous section can be used, where sdX is replaced with mmcblk1. If Linux is already running on the device, the procedure is identical to microSD. The special purpose boot partitions are not supported.
U BOOT IMX CODE
On i.MX6 booting from eMMC works exactly like booting from an SD card: The Boot-ROM searches for executable code at 1K bytes into the data partition. Here is how U-Boot and SPL would be installed on this storage device:ĭd if=SPL of=/dev/sdX bs=1k seek=1 conv=syncĭd if=u-boot.img of=/dev/sdX bs=1k seek=69 conv=sync Note that this will also work for a microSD by using mmc0 instead. Now on a connected PC a new usb drive should have shown up.įrom this point onwards anything is possible! Partitioning, mounting, writing binaries in arbitrary locations, …. The second step is to launch usb mass storage mode from the U-Boot console and specify what storage device to use.įor presenting the eMMC (mmc1) as a usb storage device, execute +#define CONFIG_USB_FUNCTION_MASS_STORAGE # CONFIG_CMD_BOOTEFI_HELLO_COMPILE is not setĬONFIG_NET_RANDOM_ETHADDR_OUI="d0:63:b4:00:00:00"ĭiff -git a/include/configs/m圆cuboxi.h b/include/configs/m圆cuboxi.h U-Boot has to be built from source with the ums command enabled:ĭiff -git a/configs/m圆cuboxi_defconfig b/configs/m圆cuboxi_defconfig This is probably the easiest option for most people.
