Dear all,
a last update - I can compile and run a custom u-boot using the instructions at
https://github.com/inversepath/usbarmory/wiki/Preparing-a-bootable-microSD-image (though I run it directly on the armory), When I try to modify include/configs/usbarmory.h as follows to load and use a standard debian initramfs-tools created initramfs, however, the armory is bricked - no USB device gets enlisted:
-------
#define CONFIG_BOOTCOMMAND \
"run distro_bootcmd; " \
"setenv bootargs console=${console} ${bootargs_default}; " \
"ext2load mmc 0:1 ${kernel_addr_r} /boot/uImage; " \
"ext2load mmc 0:1 ${fdt_addr_r} /boot/${fdtfile}; " \
"ext2load mmc 0:1 ${ramdisk_addr_r} /boot/initrd.img-4.0.2; " \
"bootm ${kernel_addr_r} - ${fdt_addr_r}"
#define BOOT_TARGET_DEVICES(func) func(MMC, mmc, 0)
#include <config_distro_bootcmd.h>
#define MEM_LAYOUT_ENV_SETTINGS \
"kernel_addr_r=0x70800000\0" \
"fdt_addr_r=0x71000000\0" \
"scriptaddr=0x70800000\0" \
"pxefile_addr_r=0x70800000\0" \
"ramdisk_addr_r=0x73000000\0"
#define CONFIG_EXTRA_ENV_SETTINGS \
MEM_LAYOUT_ENV_SETTINGS \
"bootargs_default=root=/dev/mmcblk0p2 rootwait rw\0" \
"fdtfile=imx53-usbarmory.dtb\0" \
"initrd=0x73000000 ip=10.0.0.1::10.0.0.2:255.0.0.0::usb0:off\0" \
BOOTENV
------------
I assume I will have to desolder those buttons and get a serial console running - unless you have another idea?
Curious,
Raphael