Hi,
I’m trying to unbrick the Apalis i.MX6 with the following steps:
- Connect the recovery mode pads as stated in the manual.
- Connecting the Apalis OTG port to my Ubuntu USB port.
- Check, if the device discovered on the Ubuntu host:
cbg@cbg-vm-ubunu-16:~/toradex$ lsusb
Bus 001 Device 039: ID 15a2:0054 Freescale Semiconductor, Inc. i.MX 6Dual/6Quad SystemOnChip in RecoveryMode
- Build U-Boot:
cbg@cbg-vm-ubunu-16:~/toradex$ git clone -b 2016.11-toradex https://git.toradex.com/u-boot-toradex.git
...
cbg@cbg-vm-ubunu-16:~/toradex$ cd u-boot-toradex/
cbg@cbg-vm-ubunu-16:~/toradex/u-boot-toradex$ make ARCH=arm CROSS_COMPILE=/opt/b2qt/2.1.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- apalis_imx6_defconfig
...
cbg@cbg-vm-ubunu-16:~/toradex/u-boot-toradex$ make ARCH=arm CROSS_COMPILE=/opt/b2qt/2.1.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-
- Build imx_loader:
cbg@cbg-vm-ubunu-16:~/toradex$ sudo apt-get install libusb-1.0-0-dev
cbg@cbg-vm-ubunu-16:~/toradex$ git clone https://github.com/toradex/imx_loader.git
...
cbg@cbg-vm-ubunu-16:~/toradex$ cd imx_loader
cbg@cbg-vm-ubunu-16:~/toradex/imx_loader$ make
- Try to load U-Boot to RAM:
cbg@cbg-vm-ubunu-16:~/toradex/imx_loader$ sudo ./imx_usb ../u-boot.bin
imx_loader output:
config file ./imx_usb.conf
vid=0x066f pid=0x3780 file_name=mx23_usb_work.conf
vid=0x15a2 pid=0x004f file_name=mx28_usb_work.conf
vid=0x15a2 pid=0x0052 file_name=mx50_usb_work.conf
vid=0x15a2 pid=0x0054 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0061 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0063 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0041 file_name=mx51_usb_work.conf
vid=0x15a2 pid=0x004e file_name=mx53_usb_work.conf
vid=0x15a2 pid=0x006a file_name=vybrid_usb_work.conf
vid=0x066f pid=0x37ff file_name=linux_gadget.conf
config file <./mx6_usb_work.conf>
parse ./mx6_usb_work.conf
15a2:0054(mx6_qsb) bConfigurationValue =1
Interface 0 claimed
HAB security state: development mode (0x56787856)
== work item
filename ../u-boot-toradex/u-boot.bin
load_size 0 bytes
load_addr 0x00000000
dcd 1
clear_dcd 0
plug 1
jump_mode 2
jump_addr 0x00000000
== end work item
unknown load address
HAB security state: development mode (0x56787856)
I did not get a U-Boot console on the serial debug port. So I suppose the U-Boot isn’t started.
Please note that the terminal program serial port config is correct since I get a console with a
properly installed U-Boot.
Please review the above steps and tell me what’s wrong.
Best regards
-Carsten