Just wanted to report that I have just received the device and have succeeded making into work using the eMMC without a microSD.
Since the documentation doesn't offer concrete instructions for this, here are the steps I followed:
0. Preparation
1. Compile u-boot:
Version 2019.07 is the one that accept the patches for the board. This is based on the steps used by the Debian base image:
gpg --verify u-boot-2019.07.tar.bz2.sig
tar xf u-boot-2019.07.tar.bz2
cd u-boot-2019.07
make distclean
patch -p1 < 0001-ARM-mx6-add-support-for-USB-armory-Mk-II-board.patch
patch -p1 < 0001-Drop-linker-generated-array-creation-when-CONFIG_CMD.patch
make usbarmory-mark-two_defconfig
sed -i -e 's/CONFIG_SYS_BOOT_DEV_MICROSD=y/# CONFIG_SYS_BOOT_DEV_MICROSD is not set/' .config
sed -i -e 's/# CONFIG_SYS_BOOT_DEV_EMMC is not set/CONFIG_SYS_BOOT_DEV_EMMC=y/' .config
Optional step if you don't have access to serial console:
sed -i -e 's/CONFIG_SYS_BOOT_MODE_NORMAL=y/# CONFIG_SYS_BOOT_MODE_NORMAL is not set/' .config
sed -i -e 's/# CONFIG_SYS_BOOT_MODE_UMS is not set/CONFIG_SYS_BOOT_MODE_UMS=y/' .config
Finally build:
CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm make
You're interested in a file called u-boot-dtb.imx. Save it somewhere for future use.
2. Compile imx_usb
(this requires libusb and pkg-config)
cd imx_usb_loader
make
Make sure you build for the eMMC device: make all V=mark-two IMX=imx6ull BOOT=eMMC
4. Follow the install section of the Debian base image. Here is where the u-boot-dtb.imx file we built before comes into play.
If you decided to use the serial console, connecting the debug accessory board gives you 4 serial ports. Use the third one with 115200 bauds.
"NOTE: the connection between the debug accessory and the target is supported only with the same orientation for both top layers (side with components for the accessory, side with LEDs for the USB armory)."
Use the ".raw" file you just build in the previous step for the "dd" command". For example, in my case it was "usbarmory-mark-two-debian_stretch-base_image-20200222.raw". It seems that the releases in the repo are for microSD since I couldn't get them to boot from eMMC, but maybe I did something wrong so don't take my word for granted.
After these steps are followed, everything works beautifully :)
Hope this helps and makes you save a bit of time and research. Let me know if there are any question.
Regards,
Sergio Aguayo