MD5 missing from partition-table.bin (v4.0-beta1)

jsam589
Posts: 74
Joined: Sat Aug 17, 2019 9:31 pm

MD5 missing from partition-table.bin (v4.0-beta1)

Postby jsam589 » Tue Oct 22, 2019 3:54 pm

I am comparing the partitition table bin files created by idf.py build and by gen_esp32part.py. My IDF version is v4.0-beta1.

sdkconfig has MD5 set for yes:
CONFIG_PARTITION_TABLE_MD5=y

But I seem not to have the MD5 in my flash after programming, nor in /build/partition_table/partition-table.bin

However, if I run: gen_esp32part.py partitions.csv partitions.bin
there is the expected extra data starting at 0x180.

Is this a bug in the v4.0-beta1 build tool?

00000170: 61 67 65 00 00 00 00 00 00 00 00 00 00 00 00 00 age.............
00000180: EB EB FF FF FF FF FF FF FF FF FF FF FF FF FF FF kk..............
00000190: C5 96 1C 9E B2 05 61 4F 17 58 B8 40 E8 8D 85 8C E...2.aO.X8@h...
000001a0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
000001b0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: MD5 missing from partition-table.bin (v4.0-beta1)

Postby WiFive » Wed Oct 23, 2019 2:19 am


jsam589
Posts: 74
Joined: Sat Aug 17, 2019 9:31 pm

Re: MD5 missing from partition-table.bin (v4.0-beta1)

Postby jsam589 » Wed Oct 23, 2019 12:25 pm

Ah, okay. I unchecked this in menuconfig and now the MD5 is appended to the partitions bin file.

Has this "logic inversion" been fixed in latest branch, or will it be?

Thanks for quick answer, btw!

Who is online

Users browsing this forum: No registered users and 82 guests