1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (c) 2016-2020 Toradex
7 #include "tdx-cfg-block.h"
10 #if defined(CONFIG_TARGET_APALIS_IMX6) || \
11 defined(CONFIG_TARGET_APALIS_IMX8) || \
12 defined(CONFIG_TARGET_APALIS_IMX8X) || \
13 defined(CONFIG_TARGET_COLIBRI_IMX6) || \
14 defined(CONFIG_TARGET_COLIBRI_IMX8X) || \
15 defined(CONFIG_TARGET_VERDIN_IMX8MM) || \
16 defined(CONFIG_TARGET_VERDIN_IMX8MN)
17 #include <asm/arch/sys_proto.h>
19 #define is_cpu_type(cpu) (0)
21 #if defined(CONFIG_CPU_PXA27X)
22 #include <asm/arch-pxa/pxa.h>
24 #define cpu_is_pxa27x(cpu) (0)
33 #include <asm/mach-types.h>
35 DECLARE_GLOBAL_DATA_PTR
;
37 #define TAG_VALID 0xcf01
38 #define TAG_MAC 0x0000
40 #define TAG_INVALID 0xffff
42 #define TAG_FLAG_VALID 0x1
44 #if defined(CONFIG_TDX_CFG_BLOCK_IS_IN_MMC)
45 #define TDX_CFG_BLOCK_MAX_SIZE 512
46 #elif defined(CONFIG_TDX_CFG_BLOCK_IS_IN_NAND)
47 #define TDX_CFG_BLOCK_MAX_SIZE 64
48 #elif defined(CONFIG_TDX_CFG_BLOCK_IS_IN_NOR)
49 #define TDX_CFG_BLOCK_MAX_SIZE 64
51 #error Toradex config block location not set
61 struct toradex_hw tdx_hw_tag
;
62 struct toradex_eth_addr tdx_eth_addr
;
65 const char * const toradex_modules
[] = {
66 [0] = "UNKNOWN MODULE",
67 [1] = "Colibri PXA270 312MHz",
68 [2] = "Colibri PXA270 520MHz",
69 [3] = "Colibri PXA320 806MHz",
70 [4] = "Colibri PXA300 208MHz",
71 [5] = "Colibri PXA310 624MHz",
72 [6] = "Colibri PXA320 806MHz IT",
73 [7] = "Colibri PXA300 208MHz XT",
74 [8] = "Colibri PXA270 312MHz",
75 [9] = "Colibri PXA270 520MHz",
76 [10] = "Colibri VF50 128MB", /* not currently on sale */
77 [11] = "Colibri VF61 256MB",
78 [12] = "Colibri VF61 256MB IT",
79 [13] = "Colibri VF50 128MB IT",
80 [14] = "Colibri iMX6 Solo 256MB",
81 [15] = "Colibri iMX6 DualLite 512MB",
82 [16] = "Colibri iMX6 Solo 256MB IT",
83 [17] = "Colibri iMX6 DualLite 512MB IT",
84 [18] = "UNKNOWN MODULE",
85 [19] = "UNKNOWN MODULE",
86 [20] = "Colibri T20 256MB",
87 [21] = "Colibri T20 512MB",
88 [22] = "Colibri T20 512MB IT",
89 [23] = "Colibri T30 1GB",
90 [24] = "Colibri T20 256MB IT",
91 [25] = "Apalis T30 2GB",
92 [26] = "Apalis T30 1GB",
93 [27] = "Apalis iMX6 Quad 1GB",
94 [28] = "Apalis iMX6 Quad 2GB IT",
95 [29] = "Apalis iMX6 Dual 512MB",
96 [30] = "Colibri T30 1GB IT",
97 [31] = "Apalis T30 1GB IT",
98 [32] = "Colibri iMX7 Solo 256MB",
99 [33] = "Colibri iMX7 Dual 512MB",
100 [34] = "Apalis TK1 2GB",
101 [35] = "Apalis iMX6 Dual 1GB IT",
102 [36] = "Colibri iMX6ULL 256MB",
103 [37] = "Apalis iMX8 QuadMax 4GB Wi-Fi / BT IT",
104 [38] = "Colibri iMX8 QuadXPlus 2GB Wi-Fi / BT IT",
105 [39] = "Colibri iMX7 Dual 1GB (eMMC)",
106 [40] = "Colibri iMX6ULL 512MB Wi-Fi / BT IT",
107 [41] = "Colibri iMX7 Dual 512MB EPDC",
108 [42] = "Apalis TK1 4GB",
109 [43] = "Colibri T20 512MB IT SETEK",
110 [44] = "Colibri iMX6ULL 512MB IT",
111 [45] = "Colibri iMX6ULL 512MB Wi-Fi / Bluetooth",
112 [46] = "Apalis iMX8 QuadXPlus 2GB Wi-Fi / BT IT",
113 [47] = "Apalis iMX8 QuadMax 4GB IT",
114 [48] = "Apalis iMX8 QuadPlus 2GB Wi-Fi / BT",
115 [49] = "Apalis iMX8 QuadPlus 2GB",
116 [50] = "Colibri iMX8 QuadXPlus 2GB IT",
117 [51] = "Colibri iMX8 DualX 1GB Wi-Fi / Bluetooth",
118 [52] = "Colibri iMX8 DualX 1GB",
119 [53] = "Apalis iMX8 QuadXPlus 2GB ECC IT",
120 [54] = "Apalis iMX8 DualXPlus 1GB",
121 [55] = "Verdin iMX8M Mini Quad 2GB Wi-Fi / BT IT",
122 [56] = "Verdin iMX8M Nano SoloLite 1GB", /* not currently on sale */
123 [57] = "Verdin iMX8M Mini DualLite 1GB",
126 #ifdef CONFIG_TDX_CFG_BLOCK_IS_IN_MMC
127 static int tdx_cfg_block_mmc_storage(u8
*config_block
, int write
)
130 int dev
= CONFIG_TDX_CFG_BLOCK_DEV
;
131 int offset
= CONFIG_TDX_CFG_BLOCK_OFFSET
;
132 uint part
= CONFIG_TDX_CFG_BLOCK_PART
;
136 /* Read production parameter config block from eMMC */
137 mmc
= find_mmc_device(dev
);
139 puts("No MMC card found\n");
144 puts("MMC init failed\n");
147 if (part
!= mmc_get_blk_desc(mmc
)->hwpart
) {
148 if (blk_select_hwpart_devnum(IF_TYPE_MMC
, dev
, part
)) {
149 puts("MMC partition switch failed\n");
155 offset
+= mmc
->capacity
;
156 blk_start
= ALIGN(offset
, mmc
->write_bl_len
) / mmc
->write_bl_len
;
159 /* Careful reads a whole block of 512 bytes into config_block */
160 if (blk_dread(mmc_get_blk_desc(mmc
), blk_start
, 1,
161 (unsigned char *)config_block
) != 1) {
166 /* Just writing one 512 byte block */
167 if (blk_dwrite(mmc_get_blk_desc(mmc
), blk_start
, 1,
168 (unsigned char *)config_block
) != 1) {
175 /* Switch back to regular eMMC user partition */
176 blk_select_hwpart_devnum(IF_TYPE_MMC
, 0, 0);
182 #ifdef CONFIG_TDX_CFG_BLOCK_IS_IN_NAND
183 static int read_tdx_cfg_block_from_nand(unsigned char *config_block
)
185 size_t size
= TDX_CFG_BLOCK_MAX_SIZE
;
186 struct mtd_info
*mtd
= get_nand_dev_by_index(0);
191 /* Read production parameter config block from NAND page */
192 return nand_read_skip_bad(mtd
, CONFIG_TDX_CFG_BLOCK_OFFSET
,
193 &size
, NULL
, TDX_CFG_BLOCK_MAX_SIZE
,
197 static int write_tdx_cfg_block_to_nand(unsigned char *config_block
)
199 size_t size
= TDX_CFG_BLOCK_MAX_SIZE
;
201 /* Write production parameter config block to NAND page */
202 return nand_write_skip_bad(get_nand_dev_by_index(0),
203 CONFIG_TDX_CFG_BLOCK_OFFSET
,
204 &size
, NULL
, TDX_CFG_BLOCK_MAX_SIZE
,
205 config_block
, WITH_WR_VERIFY
);
209 #ifdef CONFIG_TDX_CFG_BLOCK_IS_IN_NOR
210 static int read_tdx_cfg_block_from_nor(unsigned char *config_block
)
212 /* Read production parameter config block from NOR flash */
213 memcpy(config_block
, (void *)CONFIG_TDX_CFG_BLOCK_OFFSET
,
214 TDX_CFG_BLOCK_MAX_SIZE
);
218 static int write_tdx_cfg_block_to_nor(unsigned char *config_block
)
220 /* Write production parameter config block to NOR flash */
221 return flash_write((void *)config_block
, CONFIG_TDX_CFG_BLOCK_OFFSET
,
222 TDX_CFG_BLOCK_MAX_SIZE
);
226 int read_tdx_cfg_block(void)
229 u8
*config_block
= NULL
;
230 struct toradex_tag
*tag
;
231 size_t size
= TDX_CFG_BLOCK_MAX_SIZE
;
234 /* Allocate RAM area for config block */
235 config_block
= memalign(ARCH_DMA_MINALIGN
, size
);
237 printf("Not enough malloc space available!\n");
241 memset(config_block
, 0, size
);
243 #if defined(CONFIG_TDX_CFG_BLOCK_IS_IN_MMC)
244 ret
= tdx_cfg_block_mmc_storage(config_block
, 0);
245 #elif defined(CONFIG_TDX_CFG_BLOCK_IS_IN_NAND)
246 ret
= read_tdx_cfg_block_from_nand(config_block
);
247 #elif defined(CONFIG_TDX_CFG_BLOCK_IS_IN_NOR)
248 ret
= read_tdx_cfg_block_from_nor(config_block
);
255 /* Expect a valid tag first */
256 tag
= (struct toradex_tag
*)config_block
;
257 if (tag
->flags
!= TAG_FLAG_VALID
|| tag
->id
!= TAG_VALID
) {
258 valid_cfgblock
= false;
262 valid_cfgblock
= true;
265 while (offset
< TDX_CFG_BLOCK_MAX_SIZE
) {
266 tag
= (struct toradex_tag
*)(config_block
+ offset
);
268 if (tag
->id
== TAG_INVALID
)
271 if (tag
->flags
== TAG_FLAG_VALID
) {
274 memcpy(&tdx_eth_addr
, config_block
+ offset
,
277 /* NIC part of MAC address is serial number */
278 tdx_serial
= ntohl(tdx_eth_addr
.nic
) >> 8;
281 memcpy(&tdx_hw_tag
, config_block
+ offset
, 8);
286 /* Get to next tag according to current tags length */
287 offset
+= tag
->len
* 4;
290 /* Cap product id to avoid issues with a yet unknown one */
291 if (tdx_hw_tag
.prodid
>= (sizeof(toradex_modules
) /
292 sizeof(toradex_modules
[0])))
293 tdx_hw_tag
.prodid
= 0;
300 static int get_cfgblock_interactive(void)
302 char message
[CONFIG_SYS_CBSIZE
];
308 /* Unknown module by default */
309 tdx_hw_tag
.prodid
= 0;
312 sprintf(message
, "Is the module the 312 MHz version? [y/N] ");
313 #if !defined(CONFIG_TARGET_VERDIN_IMX8MM) || !defined(CONFIG_TARGET_VERDIN_IMX8MN)
315 sprintf(message
, "Is the module an IT version? [y/N] ");
317 len
= cli_readline(message
);
318 it
= console_buffer
[0];
325 #if defined(CONFIG_TARGET_APALIS_IMX8) || \
326 defined(CONFIG_TARGET_APALIS_IMX8X) || \
327 defined(CONFIG_TARGET_COLIBRI_IMX6ULL) || \
328 defined(CONFIG_TARGET_COLIBRI_IMX8X)
329 sprintf(message
, "Does the module have Wi-Fi / Bluetooth? [y/N] ");
330 len
= cli_readline(message
);
331 wb
= console_buffer
[0];
334 soc
= env_get("soc");
335 if (!strcmp("mx6", soc
)) {
336 #ifdef CONFIG_TARGET_APALIS_IMX6
337 if (it
== 'y' || it
== 'Y') {
338 if (is_cpu_type(MXC_CPU_MX6Q
))
339 tdx_hw_tag
.prodid
= APALIS_IMX6Q_IT
;
341 tdx_hw_tag
.prodid
= APALIS_IMX6D_IT
;
343 if (is_cpu_type(MXC_CPU_MX6Q
))
344 tdx_hw_tag
.prodid
= APALIS_IMX6Q
;
346 tdx_hw_tag
.prodid
= APALIS_IMX6D
;
348 #elif CONFIG_TARGET_COLIBRI_IMX6
349 if (it
== 'y' || it
== 'Y') {
350 if (is_cpu_type(MXC_CPU_MX6DL
))
351 tdx_hw_tag
.prodid
= COLIBRI_IMX6DL_IT
;
352 else if (is_cpu_type(MXC_CPU_MX6SOLO
))
353 tdx_hw_tag
.prodid
= COLIBRI_IMX6S_IT
;
355 if (is_cpu_type(MXC_CPU_MX6DL
))
356 tdx_hw_tag
.prodid
= COLIBRI_IMX6DL
;
357 else if (is_cpu_type(MXC_CPU_MX6SOLO
))
358 tdx_hw_tag
.prodid
= COLIBRI_IMX6S
;
360 #elif CONFIG_TARGET_COLIBRI_IMX6ULL
361 if (it
== 'y' || it
== 'Y') {
362 if (wb
== 'y' || wb
== 'Y')
363 tdx_hw_tag
.prodid
= COLIBRI_IMX6ULL_WIFI_BT_IT
;
365 tdx_hw_tag
.prodid
= COLIBRI_IMX6ULL_IT
;
367 if (wb
== 'y' || wb
== 'Y')
368 tdx_hw_tag
.prodid
= COLIBRI_IMX6ULL_WIFI_BT
;
370 tdx_hw_tag
.prodid
= COLIBRI_IMX6ULL
;
373 } else if (!strcmp("imx7d", soc
))
374 tdx_hw_tag
.prodid
= COLIBRI_IMX7D
;
375 else if (!strcmp("imx7s", soc
))
376 tdx_hw_tag
.prodid
= COLIBRI_IMX7S
;
377 else if (is_cpu_type(MXC_CPU_IMX8MM
))
378 tdx_hw_tag
.prodid
= VERDIN_IMX8MMQ_WIFI_BT_IT
;
379 else if (is_cpu_type(MXC_CPU_IMX8MMDL
))
380 tdx_hw_tag
.prodid
= VERDIN_IMX8MMDL
;
381 else if (is_cpu_type(MXC_CPU_IMX8MN
))
382 tdx_hw_tag
.prodid
= VERDIN_IMX8MNSL
;
383 else if (is_cpu_type(MXC_CPU_IMX8QM
)) {
384 if (it
== 'y' || it
== 'Y') {
385 if (wb
== 'y' || wb
== 'Y')
386 tdx_hw_tag
.prodid
= APALIS_IMX8QM_WIFI_BT_IT
;
388 tdx_hw_tag
.prodid
= APALIS_IMX8QM_IT
;
390 if (wb
== 'y' || wb
== 'Y')
391 tdx_hw_tag
.prodid
= APALIS_IMX8QP_WIFI_BT
;
393 tdx_hw_tag
.prodid
= APALIS_IMX8QP
;
395 } else if (is_cpu_type(MXC_CPU_IMX8QXP
)) {
396 #ifdef CONFIG_TARGET_APALIS_IMX8X
397 if (it
== 'y' || it
== 'Y' || wb
== 'y' || wb
== 'Y') {
398 tdx_hw_tag
.prodid
= APALIS_IMX8QXP_WIFI_BT_IT
;
400 if (gd
->ram_size
== 0x40000000)
401 tdx_hw_tag
.prodid
= APALIS_IMX8DXP
;
403 tdx_hw_tag
.prodid
= APALIS_IMX8QXP
;
405 #elif CONFIG_TARGET_COLIBRI_IMX8X
406 if (it
== 'y' || it
== 'Y') {
407 if (wb
== 'y' || wb
== 'Y')
408 tdx_hw_tag
.prodid
= COLIBRI_IMX8QXP_WIFI_BT_IT
;
410 tdx_hw_tag
.prodid
= COLIBRI_IMX8QXP_IT
;
412 if (wb
== 'y' || wb
== 'Y')
413 tdx_hw_tag
.prodid
= COLIBRI_IMX8DX_WIFI_BT
;
415 tdx_hw_tag
.prodid
= COLIBRI_IMX8DX
;
418 } else if (!strcmp("tegra20", soc
)) {
419 if (it
== 'y' || it
== 'Y')
420 if (gd
->ram_size
== 0x10000000)
421 tdx_hw_tag
.prodid
= COLIBRI_T20_256MB_IT
;
423 tdx_hw_tag
.prodid
= COLIBRI_T20_512MB_IT
;
425 if (gd
->ram_size
== 0x10000000)
426 tdx_hw_tag
.prodid
= COLIBRI_T20_256MB
;
428 tdx_hw_tag
.prodid
= COLIBRI_T20_512MB
;
429 } else if (cpu_is_pxa27x()) {
430 if (it
== 'y' || it
== 'Y')
431 tdx_hw_tag
.prodid
= COLIBRI_PXA270_312MHZ
;
433 tdx_hw_tag
.prodid
= COLIBRI_PXA270_520MHZ
;
435 #ifdef CONFIG_MACH_TYPE
436 else if (!strcmp("tegra30", soc
)) {
437 if (CONFIG_MACH_TYPE
== MACH_TYPE_APALIS_T30
) {
438 if (it
== 'y' || it
== 'Y')
439 tdx_hw_tag
.prodid
= APALIS_T30_IT
;
441 if (gd
->ram_size
== 0x40000000)
442 tdx_hw_tag
.prodid
= APALIS_T30_1GB
;
444 tdx_hw_tag
.prodid
= APALIS_T30_2GB
;
446 if (it
== 'y' || it
== 'Y')
447 tdx_hw_tag
.prodid
= COLIBRI_T30_IT
;
449 tdx_hw_tag
.prodid
= COLIBRI_T30
;
452 #endif /* CONFIG_MACH_TYPE */
453 else if (!strcmp("tegra124", soc
)) {
454 tdx_hw_tag
.prodid
= APALIS_TK1_2GB
;
455 } else if (!strcmp("vf500", soc
)) {
456 if (it
== 'y' || it
== 'Y')
457 tdx_hw_tag
.prodid
= COLIBRI_VF50_IT
;
459 tdx_hw_tag
.prodid
= COLIBRI_VF50
;
460 } else if (!strcmp("vf610", soc
)) {
461 if (it
== 'y' || it
== 'Y')
462 tdx_hw_tag
.prodid
= COLIBRI_VF61_IT
;
464 tdx_hw_tag
.prodid
= COLIBRI_VF61
;
467 if (!tdx_hw_tag
.prodid
) {
468 printf("Module type not detectable due to unknown SoC\n");
473 sprintf(message
, "Enter the module version (e.g. V1.1B): V");
474 len
= cli_readline(message
);
477 tdx_hw_tag
.ver_major
= console_buffer
[0] - '0';
478 tdx_hw_tag
.ver_minor
= console_buffer
[2] - '0';
479 tdx_hw_tag
.ver_assembly
= console_buffer
[3] - 'A';
481 if (cpu_is_pxa27x() && tdx_hw_tag
.ver_major
== 1)
482 tdx_hw_tag
.prodid
-= (COLIBRI_PXA270_312MHZ
-
483 COLIBRI_PXA270_V1_312MHZ
);
486 sprintf(message
, "Enter module serial number: ");
487 len
= cli_readline(message
);
490 tdx_serial
= simple_strtoul(console_buffer
, NULL
, 10);
495 static int get_cfgblock_barcode(char *barcode
)
497 if (strlen(barcode
) < 16) {
498 printf("Argument too short, barcode is 16 chars long\n");
502 /* Get hardware information from the first 8 digits */
503 tdx_hw_tag
.ver_major
= barcode
[4] - '0';
504 tdx_hw_tag
.ver_minor
= barcode
[5] - '0';
505 tdx_hw_tag
.ver_assembly
= barcode
[7] - '0';
508 tdx_hw_tag
.prodid
= simple_strtoul(barcode
, NULL
, 10);
510 /* Parse second part of the barcode (serial number */
512 tdx_serial
= simple_strtoul(barcode
, NULL
, 10);
517 static int do_cfgblock_create(cmd_tbl_t
*cmdtp
, int flag
, int argc
,
521 struct toradex_tag
*tag
;
522 size_t size
= TDX_CFG_BLOCK_MAX_SIZE
;
524 int ret
= CMD_RET_SUCCESS
;
526 int force_overwrite
= 0;
528 /* Allocate RAM area for config block */
529 config_block
= memalign(ARCH_DMA_MINALIGN
, size
);
531 printf("Not enough malloc space available!\n");
532 return CMD_RET_FAILURE
;
535 memset(config_block
, 0xff, size
);
538 if (argv
[2][0] == '-' && argv
[2][1] == 'y')
542 read_tdx_cfg_block();
543 if (valid_cfgblock
) {
544 #if defined(CONFIG_TDX_CFG_BLOCK_IS_IN_NAND)
546 * On NAND devices, recreation is only allowed if the page is
547 * empty (config block invalid...)
549 printf("NAND erase block %d need to be erased before creating a Toradex config block\n",
550 CONFIG_TDX_CFG_BLOCK_OFFSET
/
551 get_nand_dev_by_index(0)->erasesize
);
553 #elif defined(CONFIG_TDX_CFG_BLOCK_IS_IN_NOR)
555 * On NOR devices, recreation is only allowed if the sector is
556 * empty and write protection is off (config block invalid...)
558 printf("NOR sector at offset 0x%02x need to be erased and unprotected before creating a Toradex config block\n",
559 CONFIG_TDX_CFG_BLOCK_OFFSET
);
562 if (!force_overwrite
) {
563 char message
[CONFIG_SYS_CBSIZE
];
566 "A valid Toradex config block is present, still recreate? [y/N] ");
568 if (!cli_readline(message
))
571 if (console_buffer
[0] != 'y' &&
572 console_buffer
[0] != 'Y')
578 /* Parse new Toradex config block data... */
579 if (argc
< 3 || (force_overwrite
&& argc
< 4)) {
580 err
= get_cfgblock_interactive();
583 err
= get_cfgblock_barcode(argv
[3]);
585 err
= get_cfgblock_barcode(argv
[2]);
588 ret
= CMD_RET_FAILURE
;
592 /* Convert serial number to MAC address (the storage format) */
593 tdx_eth_addr
.oui
= htonl(0x00142dUL
<< 8);
594 tdx_eth_addr
.nic
= htonl(tdx_serial
<< 8);
597 tag
= (struct toradex_tag
*)config_block
;
599 tag
->flags
= TAG_FLAG_VALID
;
604 tag
= (struct toradex_tag
*)(config_block
+ offset
);
606 tag
->flags
= TAG_FLAG_VALID
;
610 memcpy(config_block
+ offset
, &tdx_hw_tag
, 8);
614 tag
= (struct toradex_tag
*)(config_block
+ offset
);
616 tag
->flags
= TAG_FLAG_VALID
;
620 memcpy(config_block
+ offset
, &tdx_eth_addr
, 6);
622 memset(config_block
+ offset
, 0, 32 - offset
);
624 #if defined(CONFIG_TDX_CFG_BLOCK_IS_IN_MMC)
625 err
= tdx_cfg_block_mmc_storage(config_block
, 1);
626 #elif defined(CONFIG_TDX_CFG_BLOCK_IS_IN_NAND)
627 err
= write_tdx_cfg_block_to_nand(config_block
);
628 #elif defined(CONFIG_TDX_CFG_BLOCK_IS_IN_NOR)
629 err
= write_tdx_cfg_block_to_nor(config_block
);
634 printf("Failed to write Toradex config block: %d\n", ret
);
635 ret
= CMD_RET_FAILURE
;
639 printf("Toradex config block successfully written\n");
646 static int do_cfgblock(cmd_tbl_t
*cmdtp
, int flag
, int argc
,
652 return CMD_RET_USAGE
;
654 if (!strcmp(argv
[1], "create")) {
655 return do_cfgblock_create(cmdtp
, flag
, argc
, argv
);
656 } else if (!strcmp(argv
[1], "reload")) {
657 ret
= read_tdx_cfg_block();
659 printf("Failed to reload Toradex config block: %d\n",
661 return CMD_RET_FAILURE
;
663 return CMD_RET_SUCCESS
;
666 return CMD_RET_USAGE
;
669 U_BOOT_CMD(cfgblock
, 4, 0, do_cfgblock
,
670 "Toradex config block handling commands",
671 "create [-y] [barcode] - (Re-)create Toradex config block\n"
672 "cfgblock reload - Reload Toradex config block from flash"