Activity for Matthijs Kooijman

  • Matthijs Kooijman Matthijs Kooijman posted a comment on ticket #393

    I've submitted a patch to fix this here: https://review.openocd.org/c/openocd/+/7612 I've also submitted three related patches, one to require enabling OTP writes before OTP protection can be set, one to fix a typo in a message and one to improve the message when trying to undo OTP protection (which is impossible). The second patch is shown as having a merge conflict, but AFAICS that's only because it depends on the first patch and Gerrit does not take that into account. And the third patch shows...

  • Matthijs Kooijman Matthijs Kooijman posted a comment on ticket #393

    I patched the code to fix this, and further found that: - The code also did not do an unlock sequence and did not set the FLASH_PG bit, so the write would also silently fail. - The code would allow protecting OTP sectors without requiring the otp enable command, as is required before doing regular writes to the main OTP memory. It would probably be better to require this, to minimize the chance of doing any unintentional OTP writes. - The STM32l4x code also supports OTP, but that OTP hardware does...

  • Matthijs Kooijman Matthijs Kooijman created ticket #393

    STM32F2: Protecting OTP fails (code inverts lock value)

  • Matthijs Kooijman Matthijs Kooijman posted a comment on ticket #50

    Took a while for me to test this, but I just did and it works perfectly. Thanks!

  • Matthijs Kooijman Matthijs Kooijman posted a comment on ticket #308

    I believe this is fixed in openocd git: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff;h=cff0e417da58adef1ceef9a63a99412c2cc87ff3 Should this issue be closed?

  • Matthijs Kooijman Matthijs Kooijman committed [f49b38]

    Draft: Fix incorrect use of `in` operator

  • Matthijs Kooijman Matthijs Kooijman committed [fd8475]

    Draft: Fix SVG generation for label objects

  • Matthijs Kooijman Matthijs Kooijman committed [be69ec]

    Draft: Fix mixup of TextAlignment vs Justification for Labels

  • Matthijs Kooijman Matthijs Kooijman committed [214e71]

    Draft: Simplify using getattr instead of hasattr

  • Matthijs Kooijman Matthijs Kooijman committed [f06fc0]

    Arch: When inverting hinge position, keep opening direction

  • Matthijs Kooijman Matthijs Kooijman committed [f0c99c]

    Arch: Do not draw draft-like groups twice in section view

  • Matthijs Kooijman Matthijs Kooijman committed [82d0d3]

    Draft: Improve docs for get_group_contents spaces parameter

  • Matthijs Kooijman Matthijs Kooijman committed [caafd1]

    Update link to changelog thread in pull request template

  • Matthijs Kooijman Matthijs Kooijman committed [738bcb]

    Draft: Fix "Show groups in layer list drop-down button" preference

  • Matthijs Kooijman Matthijs Kooijman committed [96cbc7]

    Arch: Simplify some ifs in ArchComponent

  • Matthijs Kooijman Matthijs Kooijman committed [ecc055]

    Draft: Simplify code using getattr default value

  • Matthijs Kooijman Matthijs Kooijman committed [19ada8]

    Draft: Do not move children of App::Link objects

  • Matthijs Kooijman Matthijs Kooijman created ticket #54

    Prepend profile name and/or command to log output

  • Matthijs Kooijman Matthijs Kooijman posted a comment on ticket #48

    That sounds like a good approach. With "AND", you mean whether e.g. purgeincr should be allowed to run when purgefull fails? It's probably ok to continue running when one command fails, but it might be safer to abort on the first failure, also to prevent the error messages from being scrolled out of sight by a subsequent successful operation?

  • Matthijs Kooijman Matthijs Kooijman posted a comment on ticket #48

    I came back to this issue after discovering my remote backup disk was full (because I had not enabled purging yet due to this). Looking at this again, I realized there is an easy workaround: just specify large values for any purging options you do not need. E.g. if you only want to use MAX_FULL_BACUPS you can specify: MAX_FULL_BACKUPS=3 MAX_FULLS_WITH_INCRS=9999 MAX_AGE=9999Y This should allow running backup+verify+purge+purgefull+purgeincr unconditionally and without errors (at the expense of doing...

  • Matthijs Kooijman Matthijs Kooijman posted a comment on ticket #34

    Cool! Matthijs, I would leave the user and bootloader all possibilities for programming elements in arbitrary order with possible side-effects and not add artificial limitations. Note also that the current implementation leaves it to the DfuSe file packager to make sure one programmed element doesn't get erased by a subsequent element in the same flash erase page. Sounds reasonable.

  • Matthijs Kooijman Matthijs Kooijman posted a comment on ticket #34

    I don't see a pressing need to allow specifying a subset of alternate interface. DfuSe files is a vehicle for firmware packagers (who know what they do) to provide all-in-one files to end users (who might not know what they are doing). It is not for shipping a catalogue of firmware parts that the user should pick and choose from. Yeah, I guess that makes sense. And if you support selecting a single alt, then you can just call dfu-util multiple times to select multiple alts (but not all). For an "-a...

  • Matthijs Kooijman Matthijs Kooijman posted a comment on ticket #34

    Hi, coworker from Hendry here, he asked me to chip in as well. I haven't looked at the patches in detail and haven't followed all of the previous discussion, but I do have some thoughts about how the CLI interface for this should look. AFAIK, without these patches, you have to always explicitly specify the alternate setting to be used (implemented from the .dfu perspective where a file does not contain alternate setting info and contains just one image). With dfuse files, you can have multiple images...

  • Matthijs Kooijman Matthijs Kooijman posted a comment on ticket #52

    ic, that's because of the invalid secret key file. makes sense now. Not invalid, but missing (probably what you meant, but just to prevent misunderstanding). It seems that duply does not check whether the private key backup file is present before deciding to try an import.

  • Matthijs Kooijman Matthijs Kooijman posted a comment on ticket #52

    it shouldn't. importing should only happen if a saved key does not exist in your keyring. Here's what happens: - Duply considers using the first GPG key id as the sign key, so it needs the private key for that. - This private key is not available in the keyring, so it tries to import it. - It imports the public key - It fails to import the private key, since it is not present (I excluded it while syncing the duply profile to this machine). So, every time I start duply, it goes through these same...

  • Matthijs Kooijman Matthijs Kooijman created ticket #52

    Feature: Disable automatic GPG imports

  • Matthijs Kooijman Matthijs Kooijman posted a comment on ticket #50

    Hm, I settled for the workaround of excluding the files in a sync (I'm not too happy about it, since it's still to easy to accidentally leak the keys), but ran into the same problem in a different way. I'm making backups of my server and just synced the duply configs to my local laptop. Backups are encrypted to one private key that lives on my server and my personal private key that lives on my laptop. Now, when I run any duply command (I think, I tried status), it will try to export my personal...

  • Matthijs Kooijman Matthijs Kooijman created ticket #51

    Feature: Make an LVM snapshot for backup

  • Matthijs Kooijman Matthijs Kooijman posted a comment on ticket #50

    As a workaround, I've now made the private key backup files empty. This prevents new backups from being made, without leaking the keys. This is somewhat fragile, though, since if I make a new profile and forget to empty the files, I'll be leaking the key anyway...

  • Matthijs Kooijman Matthijs Kooijman posted a comment on ticket #48

    I had 5 profiles, though some fiddling around with excludes and mountpoints reduced this to three, so it's not terrible. I changed my mind about this and want to split my backups a bit further (to make them more managable in size), so now I'll probably have 6 or so :-) any reason not to use cron, where it is a oneliner? I rather like systemd for running services, since it takes care of logging output, logging exit status, has a status command that shows the current state, allows manually triggering...

  • Matthijs Kooijman Matthijs Kooijman created ticket #50

    Feature: Disable GPG key backups

  • Matthijs Kooijman Matthijs Kooijman posted a comment on ticket #49

    Thanks for the fast response. You make fair points :-) One of the reason I would like to see this is in duply is to avoid needing another shell script around duply. One of the reasons I'm using duply rather than duplicity directly is to not need a custom shell script, but just have commands I can call from a systemd service file directly. There's of course a lot of other advantages of using duply, so this is not a blocker. Feel free to close this if you do not think this would be worth the trouble,...

  • Matthijs Kooijman Matthijs Kooijman posted a comment on ticket #48

    how many profiles are we talking? just to get an idea of the effort needed in relation. I had 5 profiles, though some fiddling around with excludes and mountpoints reduced this to three, so it's not terrible. what do you mean. can you give an example? I currently have e.g. this in my systemd unit file: ExecStart=/usr/bin/duply data backup_purgeincr_purge_cleanup --force ExecStart=/usr/bin/duply root backup_purgeincr_purgefull_cleanup --force Now, if I for example change /etc/duply/data/conf from...

  • Matthijs Kooijman Matthijs Kooijman created ticket #49

    Feature: Multiple profiles in one command

  • Matthijs Kooijman Matthijs Kooijman created ticket #48

    Feature: purgeall command

  • Matthijs Kooijman Matthijs Kooijman created ticket #370

    ctags parsing fails on static_assert C++11 keyword

  • Matthijs Kooijman Matthijs Kooijman committed [9daa0d]

    Fix typo.

  • Matthijs Kooijman Matthijs Kooijman committed [c987d7]

    Clarify the testing documentation a bit and sol...

  • Matthijs Kooijman Matthijs Kooijman committed [986048]

    Restructure the testing documentation.

  • Matthijs Kooijman Matthijs Kooijman committed [a136c9]

    Replace some weird usage of UserOp1 introduced ...

  • Matthijs Kooijman Matthijs Kooijman committed [19c178]

    Use an explicit llvm:: prefix in the STATISTIC ...

  • Matthijs Kooijman Matthijs Kooijman committed [0592ed]

    Let Instruction::getOpcodeName() return somethi...

  • Matthijs Kooijman Matthijs Kooijman committed [3a25c1]

    Use eraseFromParent() instead of doing that man...

  • Matthijs Kooijman Matthijs Kooijman committed [5e2700]

    Give a proper error message when a command line...

  • Matthijs Kooijman Matthijs Kooijman committed [b7c37e]

    Implement the two constructors in InsertValueIn...

  • Matthijs Kooijman Matthijs Kooijman committed [6957e4]

    Fix example to be valid LLVM assembly.

  • Matthijs Kooijman Matthijs Kooijman committed [42979a]

    Add a Name parameter to two of the init methods...

  • Matthijs Kooijman Matthijs Kooijman committed [6df015]

    Add CallSite::hasArgument to allow for seeing i...

  • Matthijs Kooijman Matthijs Kooijman committed [ba7a52]

    Replace two manual loops with calls to CallSite...

  • Matthijs Kooijman Matthijs Kooijman committed [fa15e6]

    Fix 80 column violations.

  • Matthijs Kooijman Matthijs Kooijman committed [9aac1d]

    Update comments and documentation to reflect th...

  • Matthijs Kooijman Matthijs Kooijman committed [848fa3]

    Let StructRetPromotion check if it's users are ...

  • Matthijs Kooijman Matthijs Kooijman committed [75ac80]

    Let StructRetPromotion check if all if its user...

  • Matthijs Kooijman Matthijs Kooijman committed [001006]

    Learn ScalarReplAggregrates how stores and load...

  • Matthijs Kooijman Matthijs Kooijman committed [310e96]

    Change the Verifier to support returning first ...

  • Matthijs Kooijman Matthijs Kooijman committed [a2fa19]

    Change llvm.exp so it no longer ignores some er...

  • Matthijs Kooijman Matthijs Kooijman committed [e56baf]

    Suppress the (stderr) output of -aa-eval, this ...

  • Matthijs Kooijman Matthijs Kooijman committed [66a577]

    For all RUN lines starting with "not", redirect...

  • Matthijs Kooijman Matthijs Kooijman committed [b0bf82]

    Fix some llvm-gcc warnings in testcases, mostly...

  • Matthijs Kooijman Matthijs Kooijman committed [335d70]

    Remove some debug output from tblgen. This fixe...

  • Matthijs Kooijman Matthijs Kooijman committed [7cec76]

    Remove trailing whitespace after line continuat...

  • Matthijs Kooijman Matthijs Kooijman committed [34db47]

    Fix some escaping and quoting in RUN lines, mai...

  • Matthijs Kooijman Matthijs Kooijman committed [1143a9]

    Ignore stderr for some more tests that expect w...

  • Matthijs Kooijman Matthijs Kooijman committed [dd3425]

    Clarify a comment.

  • Matthijs Kooijman Matthijs Kooijman committed [da9ef7]

    Teach instruction combining about the extractva...

  • Matthijs Kooijman Matthijs Kooijman committed [7d6d34]

    Add line continuation character so the avoid du...

  • Matthijs Kooijman Matthijs Kooijman committed [641150]

    Make I/O redirection handling in sys::Program a...

  • Matthijs Kooijman Matthijs Kooijman committed [0e7dc8]

    Fix redirection of stderr in sys::Program::Exec...

  • Matthijs Kooijman Matthijs Kooijman committed [5fea58]

    Add -silence-passes option to bugpoint. This op...

  • Matthijs Kooijman Matthijs Kooijman committed [62b955]

    Don't try to compile tests for the ev56 alpha s...

  • Matthijs Kooijman Matthijs Kooijman committed [2035ef]

    XFAIL some tests that became failing due to the...

  • Matthijs Kooijman Matthijs Kooijman committed [decb6a]

    Fix PR numbers, I accidentally switched two dig...

  • Matthijs Kooijman Matthijs Kooijman committed [8c1d6e]

    Add comment.

  • Matthijs Kooijman Matthijs Kooijman committed [e8cf6f]

    Move FindScalarValue from InstructionCombining....

  • Matthijs Kooijman Matthijs Kooijman committed [3d3281]

    80 column fixes.

  • Matthijs Kooijman Matthijs Kooijman committed [ec9018]

    Make testcase check for extractvalue instead of...

  • Matthijs Kooijman Matthijs Kooijman committed [4138ed]

    Pass around Instruction* instead of Instruction...

  • Matthijs Kooijman Matthijs Kooijman committed [823715]

    Make the InsertBefore argument to FindInsertedV...

  • Matthijs Kooijman Matthijs Kooijman committed [f1420c]

    Make BuildSubAggregate use FindInsertedElement ...

  • Matthijs Kooijman Matthijs Kooijman committed [c218c2]

    Use a SmallVector instead of an array, since au...

  • Matthijs Kooijman Matthijs Kooijman committed [b951a9]

    Learn IPConstProp to look at individual return ...

  • Matthijs Kooijman Matthijs Kooijman committed [bfb4e8]

    Learn IPConstProp to propagate arguments that a...

  • Matthijs Kooijman Matthijs Kooijman committed [21d678]

    Forgot to commit the ValueTracking header file ...

  • Matthijs Kooijman Matthijs Kooijman committed [054407]

    Reapply r52396, it was unrelated to the breakag...

  • Matthijs Kooijman Matthijs Kooijman committed [675d7b]

    Reapply r52397 (make IPConstProp promote return...

  • Matthijs Kooijman Matthijs Kooijman committed [c54966]

    Rewrite the DeadArgumentElimination pass, to us...

  • Matthijs Kooijman Matthijs Kooijman committed [43fa9f]

    Use a CallSite to find the nth argument of a ca...

  • Matthijs Kooijman Matthijs Kooijman committed [8ec4ee]

    Modify some ipconstprop tests to also test with...

  • Matthijs Kooijman Matthijs Kooijman committed [ee24cf]

    Remove debug output.

  • Matthijs Kooijman Matthijs Kooijman committed [eea53d]

    Explicitely track if any arguments or return va...

  • Matthijs Kooijman Matthijs Kooijman committed [77edab]

    Don't let DeadArgElimination change the return ...

  • Matthijs Kooijman Matthijs Kooijman committed [c345e5]

    Don't let DeadArgumentElimination attempt to up...

  • Matthijs Kooijman Matthijs Kooijman committed [d4bd5f]

    80 column and trailing whitespace fixes.

  • Matthijs Kooijman Matthijs Kooijman committed [352522]

    Add testcase that checks that DeadArgElim doesn...

  • Matthijs Kooijman Matthijs Kooijman committed [99feb6]

    Rename a few variables to be more consistent.

  • Matthijs Kooijman Matthijs Kooijman committed [977ffe]

    Update testing documentation with more consiste...

  • Matthijs Kooijman Matthijs Kooijman committed [0b8be8]

    Allow the test suite to be checked out into pro...

  • Matthijs Kooijman Matthijs Kooijman committed [1e0eea]

    Commit the new DeadArgElim pass again, this tim...

  • Matthijs Kooijman Matthijs Kooijman committed [599626]

    Fix some cosmetics in comments.

  • Matthijs Kooijman Matthijs Kooijman committed [35e2c0]

    Fix a (false) warning on darwin.

1 >