<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]
<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 :|