Hi @ogusis01 !
I managed to flash a Colibri iMX6DL 512MB IT V1.1A. I based this flashing procedure on the default image from BSP 2.8 that I downloaded from the Flashing Embedded Linux to iMX6 Modules article.
I performed the steps just like listed by @Edward. With this, I have the set of files needed in /srv/tftp
. The last step I did like this:
$ update.sh -o /srv/tftp
On the module, during U-Boot, we can try to run the bootcmd_dhcp
command, but we get the output below:
Colibri iMX6 # run bootcmd_dhcp
BOOTP broadcast 1
DHCP client bound to address 192.168.10.47 (3 ms)
Using FEC device
TFTP from server 192.168.10.1; our IP address is 192.168.10.47
Filename 'boot.scr.uimg'.
Load address: 0x17000000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Colibri iMX6 #
We need to come up with the boot.scr.uimg
that is missing. We can get this by copying the flash_eth.img
with the desired name:
$ sudo cp /srv/tftp/flash_eth.img /srv/tftp/boot.scr.uimg
With this, we can successfully run the bootcmd_dhcp
command and, subsequently, the update
command:
Colibri iMX6 # run bootcmd_dhcp
BOOTP broadcast 1
DHCP client bound to address 192.168.10.47 (3 ms)
Using FEC device
TFTP from server 192.168.10.1; our IP address is 192.168.10.47
Filename 'boot.scr.uimg'.
Load address: 0x17000000
Loading: # 0 Bytes
144.5 KiB/s
done
Bytes transferred = 444 (1bc hex)
## Executing script at 17000000
Using FEC device
TFTP from server 192.168.10.1; our IP address is 192.168.10.47
Filename 'colibri_imx6/flash_eth.img'.
Load address: 0x12000000
Loading: # 0 Bytes
980.5 KiB/s
done
Bytes transferred = 4017 (fb1 hex)
## Executing script at 12000000
enter "run update" to update the entire module
Colibri iMX6 # run update
switch to partitions #1, OK
mmc0(part 1) is current device
MMC read: dev # 0, block # 138, count 1 ... 1 blocks read: OK
Using FEC device
TFTP from server 192.168.10.1; our IP address is 192.168.10.47
Filename 'colibri_imx6/u-boot.img'.
Load address: 0x12100000
Loading: #################################################################
####### 0 Bytes
1.9 MiB/s
done
Bytes transferred = 363776 (58d00 hex)
switch to partitions #1, OK
mmc0(part 1) is current device
MMC write: dev # 0, block # 138, count 711 ... 711 blocks written: OK
Fuse 0, 5: 5072
Fast boot mode already fused, no need to fuse
Using FEC device
TFTP from server 192.168.10.1; our IP address is 192.168.10.47
Filename 'colibri_imx6/mbr.bin'.
Load address: 0x12100000
Loading: # 0 Bytes
166 KiB/s
done
Bytes transferred = 512 (200 hex)
switch to partitions #0, OK
mmc0(part 0) is current device
MMC write: dev # 0, block # 0, count 1 ... 1 blocks written: OK
Using FEC device
TFTP from server 192.168.10.1; our IP address is 192.168.10.47
Filename 'colibri_imx6/boot.vfat'.
Load address: 0x12100000
Loading: #################################################################
...
########################### 0 Bytes
4.8 MiB/s
done
Bytes transferred = 16777216 (1000000 hex)
switch to partitions #0, OK
mmc0(part 0) is current device
MMC write: dev # 0, block # 8192, count 32768 ... 32768 blocks written: OK
Using FEC device
TFTP from server 192.168.10.1; our IP address is 192.168.10.47
Filename 'colibri_imx6/zImage'.
Load address: 0x12100000
Loading: #################################################################
...
########################################### 0 Bytes
4.3 MiB/s
done
Bytes transferred = 5208144 (4f7850 hex)
writing zImage
5208144 bytes written
Using FEC device
TFTP from server 192.168.10.1; our IP address is 192.168.10.47
Filename 'colibri_imx6/imx6dl-colibri-eval-v3.dtb'.
Load address: 0x12100000
Loading: ########## 0 Bytes
1.6 MiB/s
done
Bytes transferred = 50562 (c582 hex)
writing imx6dl-colibri-eval-v3.dtb
50562 bytes written
Using FEC device
TFTP from server 192.168.10.1; our IP address is 192.168.10.47
Filename 'colibri_imx6/root.ext4-100'.
Load address: 0x12100000
Loading: #################################################################
...
####################################################### 0 Bytes
4.7 MiB/s
done
Bytes transferred = 67108864 (4000000 hex)
switch to partitions #0, OK
mmc0(part 0) is current device
MMC write: dev # 0, block # 40960, count 131072 ... 131072 blocks written: OK
Using FEC device
TFTP from server 192.168.10.1; our IP address is 192.168.10.47
Filename 'colibri_imx6/root.ext4-101'.
Load address: 0x12100000
Loading: #################################################################
...
####################################################### 0 Bytes
4.8 MiB/s
done
Bytes transferred = 67108864 (4000000 hex)
switch to partitions #0, OK
mmc0(part 0) is current device
MMC write: dev # 0, block # 172032, count 131072 ... 131072 blocks written: OK
Using FEC device
TFTP from server 192.168.10.1; our IP address is 192.168.10.47
Filename 'colibri_imx6/root.ext4-102'.
Load address: 0x12100000
Loading: #################################################################
...
####################################################### 0 Bytes
4.8 MiB/s
done
Bytes transferred = 67108864 (4000000 hex)
switch to partitions #0, OK
mmc0(part 0) is current device
MMC write: dev # 0, block # 303104, count 131072 ... 131072 blocks written: OK
Using FEC device
TFTP from server 192.168.10.1; our IP address is 192.168.10.47
Filename 'colibri_imx6/root.ext4-103'.
Load address: 0x12100000
Loading: #################################################################
...
####################################################### 0 Bytes
4.6 MiB/s
done
Bytes transferred = 67108864 (4000000 hex)
switch to partitions #0, OK
mmc0(part 0) is current device
MMC write: dev # 0, block # 434176, count 131072 ... 131072 blocks written: OK
Using FEC device
TFTP from server 192.168.10.1; our IP address is 192.168.10.47
Filename 'colibri_imx6/root.ext4-104'.
Load address: 0x12100000
Loading: #################################################################
...
####################################################### 0 Bytes
4.8 MiB/s
done
Bytes transferred = 67108864 (4000000 hex)
switch to partitions #0, OK
mmc0(part 0) is current device
MMC write: dev # 0, block # 565248, count 131072 ... 131072 blocks written: OK
Using FEC device
TFTP from server 192.168.10.1; our IP address is 192.168.10.47
Filename 'colibri_imx6/root.ext4-105'.
Load address: 0x12100000
Loading: #################################################################
...
####################################################### 0 Bytes
4.8 MiB/s
done
Bytes transferred = 67108864 (4000000 hex)
switch to partitions #0, OK
mmc0(part 0) is current device
MMC write: dev # 0, block # 696320, count 131072 ... 131072 blocks written: OK
Using FEC device
TFTP from server 192.168.10.1; our IP address is 192.168.10.47
Filename 'colibri_imx6/root.ext4-106'.
Load address: 0x12100000
Loading: #################################################################
...
####################################################### 0 Bytes
4.8 MiB/s
done
Bytes transferred = 67108864 (4000000 hex)
switch to partitions #0, OK
mmc0(part 0) is current device
MMC write: dev # 0, block # 827392, count 131072 ... 131072 blocks written: OK
Using FEC device
TFTP from server 192.168.10.1; our IP address is 192.168.10.47
Filename 'colibri_imx6/root.ext4-107'.
Load address: 0x12100000
Loading: #################################################################
...
####################################################### 0 Bytes
4.8 MiB/s
done
Bytes transferred = 67108864 (4000000 hex)
switch to partitions #0, OK
mmc0(part 0) is current device
MMC write: dev # 0, block # 958464, count 131072 ... 131072 blocks written: OK
Using FEC device
TFTP from server 192.168.10.1; our IP address is 192.168.10.47
Filename 'colibri_imx6/root.ext4-108'.
Load address: 0x12100000
Loading: #################################################################
...
####################################################### 0 Bytes
4.8 MiB/s
done
Bytes transferred = 67108864 (4000000 hex)
switch to partitions #0, OK
mmc0(part 0) is current device
MMC write: dev # 0, block # 1089536, count 131072 ... 131072 blocks written: OK
Using FEC device
TFTP from server 192.168.10.1; our IP address is 192.168.10.47
Filename 'colibri_imx6/root.ext4-109'.
Load address: 0x12100000
Loading: #################################################################
...
################################## 0 Bytes
3.8 MiB/s
done
Bytes transferred = 10485760 (a00000 hex)
switch to partitions #0, OK
mmc0(part 0) is current device
MMC write: dev # 0, block # 1220608, count 20480 ... 20480 blocks written: OK
resetting ...
U-Boot 2016.11-2.8.7+g5c2d46b325 (Jun 10 2020 - 16:04:24 +0000)
CPU: Freescale i.MX6DL rev1.4 at 792 MHz
Reset cause: WDOG
I2C: ready
DRAM: 512 MiB
PMIC: device id: 0x10, revision id: 0x21, programmed
MMC: FSL_SDHC: 0, FSL_SDHC: 1
auto-detected panel vga-rgb
Display: vga-rgb (640x480)
Error: no valid bmp image at 12000000
In: serial
Out: serial
Err: serial
Model: Toradex Colibri iMX6 DualLite 512MB IT V1.1A, Serial# 10672468
Net: using PHY at 0
FEC [PRIME]
Hit any key to stop autoboot: 0
Booting from internal eMMC chip...
reading imx6dl-colibri-eval-v3.dtb
50562 bytes read in 18 ms (2.7 MiB/s)
reading zImage
5208144 bytes read in 156 ms (31.8 MiB/s)
## Flattened Device Tree blob at 12100000
Booting using the fdt blob at 0x12100000
Loading Device Tree to 1fff0000, end 1ffff581 ... OK
After loading, the kernel started and showed my customized banner and the resizing of the rootfs:
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.220-2.8.7+g57229263ff65 (oe-user@oe-host) (gcc version 7.3.0 (GCC) ) #1 SMP Wed Jun 10 16:02:02 UTC 2020
...
...
[ OK ] Started Update UTMP about System Runlevel Changes.
[ 11.946827] mxc_sdc_fb fb@0: 640x480 h_sync,r,l: 64,16,80 v_sync,l,u: 4,3,13 pixclock=23750000 Hz
[ 12.007957] mxc_sdc_fb fb@0: 640x480 h_sync,r,l: 64,16,80 v_sync,l,u: 4,3,13 pixclock=23750000 Hz
[ 12.067334] mxc_sdc_fb fb@0: 640x480 h_sync,r,l: 64,16,80 v_sync,l,u: 4,3,13 pixclock=23750000 Hz
[ 12.129972] mxc_sdc_fb fb@0: 640x480 h_sync,r,l: 64,16,80 v_sync,l,u: 4,3,13 pixclock=23750000 Hz
[ 12.762502] mxc_sdc_fb fb@0: 640x480 h_sync,r,l: 64,16,80 v_sync,l,u: 4,3,13 pixclock=23750000 Hz
___ ___ ___ _ ___
/ __|| _ \|_ _|| | / _ \
| (_ || / | | | |__ | (_) |
\___||_|_\|___||____| \___/
The Angstrom Distribution colibri-imx6 ttymxc0
Angstrom v2017.12 - Kernel
Colibri-iMX6_LXDE-Image 2.8b7. 20200610
colibri-imx6 login: [ 13.033931] fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 13.041799] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 14.172320] EXT4-fs (mmcblk0p2): resizing filesystem from 150016 t
Let us know if this helps you.
Best regards,