Hi Gauthier:
Your kermit configuration is OK. I think the problem lies in the load address. the command loadb load the file into the DDR ram, if you are not sure where to put the file downloaded by loadb, then use the 0x10800000 which is the kernel load address by default and there must be enough space for your u-boot image.
After you have downloaded the u-boot image into the DDR, then use the mmc write command, I list my operations below:
U-Boot 2009.08 (Aug 16 2013 - 12:04:20)
CPU: Freescale i.MX6 family TO1.2 at 792 MHz
Thermal sensor with ratio = 175
Temperature: 43 C, calibration data 0x5534cd69
mx6q pll1: 792MHz
mx6q pll2: 528MHz
mx6q pll3: 480MHz
mx6q pll8: 50MHz
ipg clock : 66000000Hz
ipg per clock : 66000000Hz
uart clock : 80000000Hz
cspi clock : 60000000Hz
ahb clock : 132000000Hz
axi clock : 264000000Hz
emi_slow clock: 132000000Hz
ddr clock : 528000000Hz
usdhc1 clock : 198000000Hz
usdhc2 clock : 198000000Hz
usdhc3 clock : 198000000Hz
usdhc4 clock : 198000000Hz
nfc clock : 24000000Hz
Board: i.MX6Q-SABRESD: RevC Board: 0x63312 [POR ]
Boot Device: MMC
I2C: ready
DRAM: 1 GB
MMC: FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3
*** Warning - bad CRC or MMC, using default environment
In: serial
Out: serial
Err: serial
i2c: I2C3 SDA is low, start i2c recovery...
I2C3 Recovery success
Found PFUZE100! deviceid=10,revid=10
Net: got MAC address from IIM: 00:04:9f:02:19:3c
FEC0 [PRIME]
Hit any key to stop autoboot: 0
MX6Q SABRESD U-Boot >
MX6Q SABRESD U-Boot >
MX6Q SABRESD U-Boot > loadb 0x10800000
## Ready for binary (kermit) download to 0x10800000 at 115200 bps...
Now escape back to the kermit shell prompt (ctrl+\ followed by ctrl+c by default). Tell kermit to transmit the file you want by doing:
C-Kermit>send /path/to/file/you/want/to/load
(Start transfer)
……………………
……………………
……………………
……………………
……………………
C-Kermit>connect
Connecting to /dev/ttyUSB0, speed 115200
Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
## Total Size = 0x0006b7a4 = 440228 Bytes
## Start Addr = 0x10800000
MX6Q SABRESD U-Boot > mmc dev 2
mmc2 is current device
(here chose your SD Card, here mmc dev 2 refers to SD3(J507) )
MX6Q SABRESD U-Boot > mmc write 0x10800400 0x2 0x400
MMC write: dev # 2, block # 2, count 1024 ... 1024 blocks write: OK
(Assume u-boot is less than 512KB, and we write the image from 0x2 block with the length of 0x400(1024),By default, 1 block = 512 byte, so 0x400 block = 512KB.
Notes: We need to skip the first 1KB address of the SD Card, which is used for the MBR and partition table. So write the DDR address into the flash from the address 0x10800000 + 0x400 )
In addition , you can refer to the bootloaders:u-boot:serial_port_loading_files [Analog Devices Open Source| Mixed-signal and Digital S... for more details.
Now the u-boot has been updated . Reboot your board, and enjoy it ! : - )