Question: How can I reboot the A7 after interrupting the bootloader to use fatload? I used bootelf because boot does not exist.
Question: I does not get any feedback after rebooting. I execute modprrobe imx_rpmsg_tty and nothing happen. echo imx_rpmsg_tty > /etc/modules-load.d/rpmsg_tty.conf works. stty -F /dev/ttyRPMSG -echo does not work → I get the reply stty: /dev/ttyRPMSG: No such file or directory.
On the M4 I only get:
RPMSG String Echo FreeRTOS RTOS API Demo…
RPMSG Init as Remote
The linux verison:
Linux b2qt-colibri-imx7-emmc 4.14.170-0+git.5c643afa32be #1 SMP Thu Sep 10
Regarding your first question, you can try running run distro_bootcmd. We’ve been using Distro Boot on our BSP for a while and it seems that the B2Qt image inherits from that.
For your second question, I may have to test this functionality and try to reproduce that on my side. Can you please show me the output of dmesg | grep rpmsg?
Thank you for your awnsers.
I get this when I use run distro_bootcmd
Colibri iMX7 # run distro_bootcmd
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
1243 bytes read in 12 ms (100.6 KiB/s)
## Executing script at 87000000
SCRIPT FAILED: continuing...
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Device 0: unknown device
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
*** Unhandled DHCP Option in OFFER/ACK: 125
*** Unhandled DHCP Option in OFFER/ACK: 125
DHCP client bound to address 10.0.0.236 (2050 ms)
Using FEC0 device
TFTP from server 192.168.10.1; our IP address is 10.0.0.236; sending through gateway 10.0.0.138
Filename 'boot.scr.uimg'.
Load address: 0x87000000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
*** Unhandled DHCP Option in OFFER/ACK: 125
*** Unhandled DHCP Option in OFFER/ACK: 125
DHCP client bound to address 10.0.0.236 (2052 ms)
Using FEC0 device
TFTP from server 192.168.10.1; our IP address is 10.0.0.236; sending through gateway 10.0.0.138
Filename 'boot.scr.uimg'.
Load address: 0x81000000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
This is the output of dmesg | grep rpmsg
root@b2qt-colibri-imx7-emmc:~# dmesg | grep rpmsg
[ 0.056060] imx rpmsg driver is registered.