iosabi
3f600d869e
boards/common/qn908x: Compute the image checksum
...
QN908X CPUs require the image to have a valid checksum. The checksum is
a simple addition of the first 7 uint32_t values stored in the 8th
position of the image header. This position is a reseved entry of the
Cortex-M Vector Table and its value depends on other fields that are
computed at link time. Performing this checksum at link time seems
hard to do, so instead this patch uses a python script to patch the
checksum from the ELF file. This redefines the value of FLASHFILE
to the new .elf file with the checksum fixed.
With this patch, OpenOCD can program and verify QN908X images since
now they have a valid checksum value.
2020-12-03 17:47:33 +01:00
..
2020-11-25 22:31:13 +01:00
2020-07-16 10:23:51 +02:00
2020-11-25 22:31:13 +01:00
2020-10-13 15:21:21 +02:00
2020-08-27 03:56:26 +02:00
2020-07-16 15:35:25 +02:00
2020-06-17 10:59:29 +02:00
2020-06-23 09:57:22 +02:00
2020-12-02 09:20:57 +01:00
2020-07-17 08:43:46 +02:00
2020-07-17 08:43:46 +02:00
2020-07-17 08:43:46 +02:00
2020-07-17 08:43:46 +02:00
2020-06-17 10:59:30 +02:00
2020-11-25 22:31:13 +01:00
2020-11-27 08:45:07 +01:00
2020-12-02 09:20:57 +01:00
2020-07-17 08:44:49 +02:00
2020-12-02 09:20:57 +01:00
2020-11-25 22:31:13 +01:00
2020-11-25 22:31:13 +01:00
2020-08-30 23:43:57 +02:00
2020-07-16 19:03:38 +02:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-07-16 11:34:03 +02:00
2020-07-16 11:34:03 +02:00
2020-07-16 11:34:03 +02:00
2020-07-16 11:34:03 +02:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-11-27 13:37:52 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-12-03 17:47:33 +01:00
2020-06-22 16:10:40 +02:00
2020-08-30 23:43:57 +02:00
2020-10-07 12:03:48 +02:00
2020-12-01 18:28:43 +01:00
2020-12-01 16:14:43 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-11-28 10:18:54 +01:00
2020-11-28 10:18:54 +01:00
2020-11-28 10:18:54 +01:00
2020-11-28 10:18:54 +01:00
2020-11-28 10:18:54 +01:00
2020-11-28 10:18:54 +01:00
2020-11-28 10:18:54 +01:00
2020-11-28 10:18:54 +01:00
2020-11-28 10:18:54 +01:00
2020-11-28 10:18:54 +01:00
2020-07-07 16:27:45 +02:00
2020-07-07 16:27:47 +02:00
2020-07-07 16:27:47 +02:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-11-05 15:07:48 +01:00
2020-10-13 10:30:22 +02:00
2020-12-02 09:20:57 +01:00
2020-11-27 13:39:22 +01:00
2020-12-02 09:20:57 +01:00
2020-07-02 14:41:41 +02:00
2020-07-02 14:41:42 +02:00
2020-10-25 00:38:22 +02:00
2020-07-02 14:41:42 +02:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-07-16 11:34:03 +02:00
2020-07-16 11:34:03 +02:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-11-25 22:31:13 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-11-25 22:31:13 +01:00
2020-09-09 10:25:37 +02:00
2020-09-09 10:25:37 +02:00
2020-11-25 22:31:13 +01:00
2020-10-27 08:44:56 +01:00
2020-12-02 09:20:57 +01:00
2020-12-01 12:16:41 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-10-02 07:49:59 +02:00
2020-09-09 10:25:38 +02:00
2020-11-25 22:31:13 +01:00
2020-11-25 22:31:13 +01:00
2020-12-02 10:20:19 +01:00
2020-11-02 21:17:36 +01:00
2020-11-13 18:22:30 +01:00
2020-11-10 14:53:14 +01:00
2020-11-10 15:55:38 +01:00
2020-11-10 15:55:38 +01:00
2020-11-10 14:53:14 +01:00
2020-11-10 14:53:14 +01:00
2020-11-10 14:53:14 +01:00
2020-10-27 08:44:56 +01:00
2020-11-29 23:11:14 +01:00
2020-10-27 08:44:56 +01:00
2020-10-27 08:44:56 +01:00
2020-10-27 08:44:56 +01:00
2020-10-27 08:44:56 +01:00
2020-10-27 08:44:56 +01:00
2020-10-27 08:44:56 +01:00
2020-10-27 08:44:56 +01:00
2020-10-27 08:44:56 +01:00
2020-10-27 08:44:56 +01:00
2020-10-27 08:44:56 +01:00
2020-10-27 08:44:56 +01:00
2020-10-27 08:44:56 +01:00
2020-10-27 08:44:56 +01:00
2020-10-06 16:10:05 +02:00
2020-11-29 23:11:14 +01:00
2020-12-02 17:53:00 +01:00
2020-10-29 23:00:44 +01:00
2020-10-29 23:00:44 +01:00
2020-10-29 23:00:44 +01:00
2020-10-29 23:00:44 +01:00
2020-12-02 09:20:57 +01:00
2020-10-27 08:44:56 +01:00
2020-11-03 14:23:46 +01:00
2020-11-03 14:23:46 +01:00
2020-11-03 14:23:46 +01:00
2020-10-27 08:44:56 +01:00
2020-11-10 09:34:06 +01:00
2020-11-10 09:34:06 +01:00
2020-11-10 09:34:06 +01:00
2020-11-10 09:34:06 +01:00
2020-11-10 09:34:06 +01:00
2020-12-02 09:20:57 +01:00
2020-11-10 09:34:07 +01:00
2020-12-02 09:20:57 +01:00
2020-10-27 08:44:56 +01:00
2020-11-13 14:51:58 +01:00
2020-12-02 09:20:57 +01:00
2020-07-02 14:41:42 +02:00
2020-07-02 14:41:43 +02:00
2020-11-13 15:39:55 +01:00
2020-11-13 14:51:58 +01:00
2020-12-02 09:20:57 +01:00
2020-11-10 09:34:06 +01:00
2020-11-06 13:43:14 +01:00
2020-11-06 13:43:14 +01:00
2020-11-06 13:43:14 +01:00
2020-12-02 09:20:57 +01:00
2020-07-02 14:41:43 +02:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 02:47:07 +00:00
2020-10-02 10:44:59 +02:00
2020-06-24 15:18:06 +02:00
2020-06-24 15:18:22 +02:00
2020-06-24 15:18:37 +02:00
2020-12-02 09:20:57 +01:00
2020-07-17 08:44:50 +02:00
2020-09-04 13:36:21 +02:00
2020-07-16 18:09:59 +02:00
2020-07-16 18:10:00 +02:00
2020-11-11 17:40:09 +01:00
2020-12-02 10:12:12 +01:00
2020-07-16 21:29:46 +02:00
2020-07-16 21:29:46 +02:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-11-02 21:17:36 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-06-18 16:39:57 +02:00
2020-06-18 16:39:57 +02:00
2020-12-02 09:20:57 +01:00
2020-07-17 08:44:50 +02:00
2020-07-17 08:44:51 +02:00
2020-07-17 08:45:44 +02:00
2020-07-17 08:46:17 +02:00
2020-07-17 08:46:17 +02:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-11-10 14:53:14 +01:00
2020-12-02 09:20:57 +01:00
2020-11-02 21:24:45 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-12-02 09:20:57 +01:00
2020-07-16 15:35:25 +02:00
2020-07-02 14:41:44 +02:00
2020-12-02 09:20:57 +01:00
2020-12-01 11:02:09 +01:00
2020-12-01 11:02:09 +01:00
2020-12-01 11:02:09 +01:00
2020-10-20 10:52:50 +02:00
2020-10-20 10:52:50 +02:00
2020-11-25 22:31:13 +01:00
2020-12-02 09:20:57 +01:00
2020-08-31 09:57:28 +02:00