Based on i.MX6 U-Boot from Solid Run (https://developer.solid-run.com/knowled ... x6-u-boot/):
$this->bbcode_second_pass_code('', '
mkdir u-boot
cd u-boot
wget https://images.solid-build.xyz/IMX6/U-Boot/spl-imx6-sdhc.bin
wget https://images.solid-build.xyz/IMX6/U-Boot/u-boot-imx6-sdhc.img
dd if=spl-imx6-sdhc.bin of=/dev/mmcblk1 bs=1k seek=1 conv=sync
dd if=u-boot-imx6-sdhc.img of=/dev/mmcblk1 bs=1k seek=69 conv=sync
sync
reboot
')
Result:
$this->bbcode_second_pass_code('', '
free
total used free shared buff/cache available
Mem: 3874924 56740 3747444 336 70740 3694800
Swap: 0 0 0')