NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
<pedro_a> the fact is that i already did this in the past but did not took notes , today i had to flash again the binary because the hardware was giving unknown device on windows after changing multiples usb cables to test . After the flash windows detected correctly the hardware again .
<pedro_a> for some unknown reason to me this hardware every 2 years needs a flash :D , not sure what are the conditions to affect this change in the flash memory in hardware , probably some power peaks when i start it up under some unknown conditions , not sure , anyway , it is fixed .
tsal has quit [Read error: Connection reset by peer]
tsal_ has joined #openocd
<pedro_a> this is not the only hardware i have this issue , recently i had to reflash a focusritte soundcard because flash in eprom was damaged in the first bits , so cpu was always in boot load . My advice to you all i to extract all your devices firmwares while they are working , just in case you need to flash them again in future instead throwing a good
<pedro_a> piece of hardware to the garbage because the brand do not send you the flash .
MGF_Fabio has quit [Ping timeout: 256 seconds]
pedro_a has quit [Quit: Client closed]
RolfNoot has quit [Remote host closed the connection]
RolfNoot has joined #openocd
sdewan has quit [Quit: Client closed]
sdewan36 has quit [Quit: Client closed]
ahorvat_ has quit [Ping timeout: 264 seconds]
sdewan has joined #openocd
sdewan has quit [Quit: Client closed]
dreamcat4 has quit [Quit: Connection closed for inactivity]
tsal_ has quit [Ping timeout: 246 seconds]
tsal has joined #openocd
Hammdist has quit [Quit: Client closed]
defiant has quit [Quit: defiant]
nerozero has joined #openocd
crabbedhaloablut has joined #openocd
damex has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
swiftgeek has joined #openocd
swiftgeek has left #openocd [#openocd]
damex has joined #openocd
Haohmaru has joined #openocd
MGF_Fabio has joined #openocd
RolfNoot has quit [Remote host closed the connection]
RolfNoot has joined #openocd
damex has quit [Ping timeout: 268 seconds]
Hawk777 has quit [Quit: Leaving.]
<RolfNoot> Hi all. Can someone help with this failing build: https://review.openocd.org/c/openocd/+/7983/7..8
<RolfNoot> It fails because of the flash loaders which are not found in contrib/loaders/psoc6
<PaulFertser> Why are they not there?
<RolfNoot> however I submitted patch https://review.openocd.org/c/openocd/+/7984 to included the loaders
<RolfNoot> They are there in patch 7984
<karlp> did you push them as one branch?they should have linked as dependents
<karlp> did you add them in the second patch, not the first patch that actually needs them?
<RolfNoot> yes I pushed them as one branch
<RolfNoot> yes but I swapped them
<RolfNoot> with git rebase -i origin/master so that the patch 7984 is first
<PaulFertser> First meaning on the first line or on the last?
<PaulFertser> Check git log locally prior to pushing.
<RolfNoot> 7984 is the last now
<PaulFertser> But you need origin/master -> 7984 -> 7983 , right?
<PaulFertser> Do you see that in local git log?
<RolfNoot> i mean the last line in git rebase -i origin/master
<RolfNoot> and the first in git log now
<PaulFertser> But the first (topmost) in git log should be 7983, right?
<PaulFertser> RolfNoot: but you need loaders _before_ the code that needs them.
<PaulFertser> Or even in the same commit actually.
<RolfNoot> Yes, so the order in the log is how it migrates?
<RolfNoot> I understand that the loaders should be there before
<RolfNoot> So what shall I do now? Merge them in one commit?
<PaulFertser> git log shows the latest commits topmost.
<PaulFertser> IIRC maintainers are OK with having loaders in the same commit as the code in src/flash that needs them.
<RolfNoot> yes, and that's the same order as the builds are tested?
<PaulFertser> Not exactly. For testing a build a commit is "checked out". And each git commit is by definition a snapshot of all the sources.
<PaulFertser> So it's hard to answer your question as it seems to be assuming wrong things about git.
<RolfNoot> Okay, I then better will do them in one commit
<RolfNoot> So I can "fixup" the loader to merge with the flash driver with git rebase -i origin/master?
<PaulFertser> RolfNoot: if you reason about git as something that stores _all the sources_ for _every commit_ (and not the differences or other incremental things) then you'll have the right model about what's happening.
<RolfNoot> Okay that makes thanks
<RolfNoot> that makes sense *
<PaulFertser> And each commit has metadata too, and in this metadata there's a list of "parent commits IDs" (a list because when doing merges you have more than one parent). And that's basically it.
<RolfNoot> I am getting a grip, trying to visualize. And it can get complex.
<RolfNoot> I saw that 7983 patchset 7 noted a rebase which I found strange as I didn't change anything for that commit. I probably have changed the order with by accident.
<RolfNoot> * by accident
slobodan has joined #openocd
bvernoux has joined #openocd
merethan has joined #openocd
merethan has quit [Remote host closed the connection]
nathanhi has quit [Ping timeout: 256 seconds]
nathanhi has joined #openocd
Hammdist has joined #openocd
nathanhi| has joined #openocd
nathanhi has quit [Ping timeout: 260 seconds]
merethan has joined #openocd
nathanhi| has quit [Ping timeout: 246 seconds]
<RolfNoot> How can I set my code 'ready for review'?
<karlp> RolfNoot: what do you mean by that?
<karlp> submitting it to gerrit _is_ "ready for review" unless you specifically mark them as draft or WIP or something...
<RolfNoot> I mean I fixed all issues and I was thinking I needed to do something to get it reviewed (not knowing that it is by default)
nathanhi- has joined #openocd
damex has joined #openocd
<karlp> well, you have a lot of "unresolved" comments on your diffs that you'll want to look at next I suppose...
<RolfNoot> where do I find these? The ones I found I marked with resolved.
<RolfNoot> Oh I need to press 'Reply" I guess
<RolfNoot> They are drafts by now
<PaulFertser> RolfNoot: right, all the line-by-line comments are submitted together when you do top level reply.
<RolfNoot> Yeah got it. Feel a bit silly, but will remind for next time.
Haohmaru has quit [Quit: saionara]
<karlp> yeah, the need for the top level reply is cumbersome at itmes when you only have one comment too :|
nathanhi- has quit [Ping timeout: 264 seconds]
nerozero has quit [Ping timeout: 240 seconds]
MGF_Fabio has quit [Ping timeout: 264 seconds]
Hammdist has quit [Quit: Client closed]
nathanhi has joined #openocd
damex has quit [Ping timeout: 252 seconds]
Hammdist has joined #openocd
joconor has quit [Quit: ZNC 1.8.2 - https://znc.in]
joconor has joined #openocd
merethan has quit [Ping timeout: 260 seconds]
RolfNoot has quit [Remote host closed the connection]
RolfNoot has joined #openocd
ahorvat_ has joined #openocd
wingsorc has joined #openocd
RolfNoot has quit [Remote host closed the connection]
RolfNoot has joined #openocd
bvernoux has quit [Quit: Leaving]
Hawk777 has joined #openocd
slobodan has quit [Ping timeout: 256 seconds]
Hammdist has quit [Quit: Client closed]
Hammdist has joined #openocd
crabbedhaloablut has quit []
ahorvat_ has quit [Ping timeout: 268 seconds]