Closed gjmvervoort closed 9 years ago
root@beaglebone:~/pru-gcc-examples/md5-check# ./pload pru-core1.elf pru-core1.elf Initializing the PRUs... AM33XX Starting ... Stopping PRU... pload: no MD5 buffer found in PRU1 firmware
done. root@beaglebone:~/pru-gcc-examples/md5-check#
Looks like an underscore missing from symbol md5res, the patch below fixes it for me:
diff --git a/md5-check/host/pload.c b/md5-check/host/pload.c index 7b5bcf5..4857230 100755 --- a/md5-check/host/pload.c +++ b/md5-check/host/pload.c @@ -214,7 +214,7 @@ static int pru_check_md5sum(struct prufw *fw) MD5_Update(&md5ctx, random_data_buf, random_data_buf_size); MD5_Final(md5ref, &md5ctx);
Thanks. I forgot to update the example after the fix for https://github.com/dinuxbg/gnupru/issues/3
Applied the fix in 2b696845fb316f659bfd82903efbc24824ad98f1
root@beaglebone:~/pru-gcc-examples/md5-check# ./pload pru-core1.elf pru-core1.elf Initializing the PRUs... AM33XX Starting ... Stopping PRU... pload: no MD5 buffer found in PRU1 firmware
done. root@beaglebone:~/pru-gcc-examples/md5-check#
Looks like an underscore missing from symbol md5res, the patch below fixes it for me:
diff --git a/md5-check/host/pload.c b/md5-check/host/pload.c index 7b5bcf5..4857230 100755 --- a/md5-check/host/pload.c +++ b/md5-check/host/pload.c @@ -214,7 +214,7 @@ static int pru_check_md5sum(struct prufw *fw) MD5_Update(&md5ctx, random_data_buf, random_data_buf_size); MD5_Final(md5ref, &md5ctx);