DocScrutinizer05 changed the topic of #qi-hardware to: Copyleft hardware - http://qi-hardware.com | hardware hackers join here to discuss Ben NanoNote, atben / atusb 802.15.4 wireless, and other community driven hw projects | public logging at http://en.qi-hardware.com/irclogs and http://irclog.whitequark.org/qi-hardware
nicksydney has quit [Remote host closed the connection]
atommann has joined #qi-hardware
atommann has quit [Ping timeout: 272 seconds]
atommann has joined #qi-hardware
<DocScrutinizer05> wpwrak: sounds about right, yes.
<DocScrutinizer05> particularly when you talk about ETB/ETM with all the hw-triggers and funnel and whatnot stuff associated
<DocScrutinizer05> but for the power it offers, this stuff asks a price in complexity
<DocScrutinizer05> aside from my polish colleague at ST-M being the one to develop proprietary solution for ETM, I also had a look into that stuff for myself in private, since that colleague's task gave me the idea of implementing something similar like that "ETB local loopback" for linux. Finally I found out there's already some project aiming at exactly that
<DocScrutinizer05> "post mortem" backtrace of last several 1000s of branch instructions (and obviously all the unconditional linear code in between), plus maybe even data trace for all writes, all incl timestamps, and "for free" from a performance POV. Sounds like mad useful
<DocScrutinizer05> especially when you don't need that damn debug hw IF with its proprietary "JTAG" and high speed databus or whatever it is, but can do this on *any* ARM Cortex core (which has ETM IP)
<DocScrutinizer05> indeed the documentation isn't really welcoming you, learning curve is pretty steep
atommann has quit [Ping timeout: 258 seconds]
<DocScrutinizer05> heck, even ARM assembler code is indigestible, particularly when your compiler optimizes the hell out of source code, moving around and swaping and inverting whole sections of code
<DocScrutinizer05> more often than you'd like to, you find some code doing something en passant that maybe is needed 150 lines of sourcecode later, or been in relation to a sourcode line 150 lines earlier and not been neeeded until now
atommann has joined #qi-hardware
xiangfu has joined #qi-hardware
<DocScrutinizer05> when you think you could find a few bits of your 'if then else' in code so you understand what it's just doing... forget it, the assembler code structure often has not the faintest similarities with what you wrote in a high level language
<DocScrutinizer05> wpwrak: only loosely on topic, but at least funny they mention ETM and *MUSB* as an example ;-) http://elinux.org/images/d/d7/Elc2011_gadiyar.pdf
<DocScrutinizer05> wpwrak: I'm sure you already found http://lxr.free-electrons.com/source/arch/arm/kernel/etm.c
atommann has quit [Ping timeout: 272 seconds]
atommann has joined #qi-hardware
viric has quit [Ping timeout: 272 seconds]
viric has joined #qi-hardware
wej_ has joined #qi-hardware
wej has quit [Ping timeout: 250 seconds]
xiangfu_ has joined #qi-hardware
wej has joined #qi-hardware
wej_ has quit [Ping timeout: 250 seconds]
viric has quit [Ping timeout: 246 seconds]
wej has quit [Ping timeout: 250 seconds]
wej has joined #qi-hardware
rz2k has joined #qi-hardware
viric has joined #qi-hardware
pcercuei has joined #qi-hardware
xiangfu_ has quit [Remote host closed the connection]
xiangfu has quit [Remote host closed the connection]
atommann has quit [Ping timeout: 258 seconds]
atommann has joined #qi-hardware
<wpwrak> DocScrutinizer05: hah, nothing like ETB/ETM. it's much simpler: new chip arrived as "secure". if it's "secure" you can't debug or program it, but you may still be able to do a mass-erase. it says mass-erase is allowed. so i tried to do that.
<wpwrak> but ... it doesn't take the command. doesn't ack it. so i went through all the layers to see if any of them had complains, if i had gotten any of the many configuration and control bits wrong, etc.
atommann has quit [Ping timeout: 260 seconds]
<wpwrak> but i can't find any flaw in what i'm doing. the core is in reset. i tried the debug domain power up process in all possible variations, etc., checked acks and errors at all three layers involved, and so on. nothing.
<whitequark> wpwrak: have you complained to the vendor?
<whitequark> occasionally, it works really well
<wpwrak> i'm not sure they can be of much help. i went through all the resources (fora, gdb source, etc.), where these problems are being discussed. and it seems that i'm doing everything right. in fact, there are several areas i address that nobody else seems to mention when struggling with this specific problem.
<whitequark> perhaps it's a counterfeit chip?
<whitequark> i mean, someone i know had similar questions for ti, and eventually they asked him to send the chip back and in a week or two added an errata :D
<wpwrak> pretty unlikely. a) it comes from digi-key, b) the chip right next to it on the cut tape works fine, c) besides not accepting the mass erase it seems to work fine
<wpwrak> (errata) hehe :) lemme check if they have an update on these ...
<wpwrak> of course, having to send my board around wouldn't be such a great thing for me
<wpwrak> whee, seems that today officially spring started ! :)
<whitequark> huh?
<whitequark> spring?
<whitequark> oh right southern hemisphere
<wpwrak> ;-)
<kyak> do you really call it "spring"?
<wpwrak> hmm no, no new errata
<wpwrak> well, "primavera" in spanish :)
<pcercuei> that means that fall started here :(
<kyak> so it's really "spring".. i thought season names are tied to months worldwide
<kyak> no matter what seasons it feels like
<pcercuei> no, in the southern hemisphere winter is in july/august and summer is in december/january
<DocScrutinizer05> kyak: now that sounds odd
<DocScrutinizer05> snow in summer, heatwaves in winter. NAH!
<kyak> it sounds ok for winter/summer.. but for spring/autumn - dunno :)
<DocScrutinizer05> Autumn, Summer, Spring, Winter then?
rz2k has quit [Ping timeout: 272 seconds]
<DocScrutinizer05> well, given the sun also runs "the wrong way round" on southern hemisphere, it might actually sound correct when seasons also run backwards ;-P
<whitequark> so if one cleverly organizes their position, it's possible to achieve eternal summer
<whitequark> s/position/location
<qi-bot> whitequark meant: "so if one cleverly organizes their location, it's possible to achieve eternal summer"
<pcercuei> go to Colombia
<pcercuei> eternal summer there
<wpwrak> DocScrutinizer05: the sub still rises in the east and sets in the west, even here in the south ;-)
<DocScrutinizer05> I know
<DocScrutinizer05> you even ruined the compass ;-P
<wpwrak> suN even. we have many miracles, but no flying submarines just yet :)
<DocScrutinizer05> yeah, mueacles like sun from north in the noon
<DocScrutinizer05> miracles*
<wpwrak> on more than half of the planet, that's something entirely normal to experience every year
<wpwrak> here, we have it at least always in the north. not sneaking behind our backs and shining from the south. something our northern comrades have to endure :)
<DocScrutinizer05> figure poles! ;-D
<DocScrutinizer05> sun from any arbitrary direction
<DocScrutinizer05> a NIGHTMARE! ;-P
<DocScrutinizer05> only mildly mitigated by a 6 months of contiguous night, which I'd adore a lot
rz2k has joined #qi-hardware
atommann has joined #qi-hardware
viric has quit [Ping timeout: 240 seconds]
viric has joined #qi-hardware
<dos1> uselessd: fork of systemd which tries to make it somewhat sane - http://uselessd.darknedgy.net/ :)
FrankBlues has joined #qi-hardware
atommann has quit [Quit: Leaving]
<pcercuei> I saw this earlier today. Looks interesting, definitely
<whitequark> what would look interesting is a bonfire
<pcercuei> ?
<viric> :)
<viric> burn, code burn
<whitequark> code, flesh, etc
<viric> bonefire
FrankBlues has quit [Remote host closed the connection]
mth has joined #qi-hardware
<DocScrutinizer05> dos1: http://xkcd.com/927/
viric has quit [Ping timeout: 245 seconds]
<dos1> DocScrutinizer05: this strip is actually indirectly referenced on that page :)
<dos1> "Wasn’t there a famous and overused comic involving stick figures on the folly of standardization?... Nah, couldn’t be." :D
<DocScrutinizer05> nice chess opening though. Finally somebody not only criticises but actually shows that stuff could have done better
<DocScrutinizer05> dos1: that's how I found it ;-D
<DocScrutinizer05> (done better) IOW: expose incompetence of systemd cabal
<DocScrutinizer05> redhat should get nuked
viric has joined #qi-hardware
<DocScrutinizer05> maybe drop canonical on it, from 10000 km height
<whitequark> canonical as a kinetic weapon
viric_ has joined #qi-hardware
viric has quit [Ping timeout: 258 seconds]
viric_ is now known as viric
<DocScrutinizer05> ooh, it will have enough kinetic energy when falling down from 10'000km altitude, I'd hope
<whitequark> not much more than from 1000km, say
<whitequark> inverse square law and all that
<DocScrutinizer05> yeah, probably true
<DocScrutinizer05> maybe we need to shoot canonical around the moon for a nice lil slingshot maneuver to gain some 20km/s speed
<DocScrutinizer05> might take a year til impact at redhat, when we accelerate it contrary to the earth's vector around the sun
<DocScrutinizer05> actually prolly only 6 months
fmeerkoetter has joined #qi-hardware
fmeerkoetter has quit [Ping timeout: 250 seconds]
fmeerkoetter has joined #qi-hardware
kristianpaul has quit [Ping timeout: 260 seconds]
fmeerkoetter has quit [Ping timeout: 250 seconds]
kristianpaul has joined #qi-hardware
kristianpaul has joined #qi-hardware
fmeerkoetter has joined #qi-hardware
fmeerkoetter has quit [Ping timeout: 250 seconds]
pcercuei is now known as p
p is now known as zcrc
rz2k has quit []
porchao has joined #qi-hardware
newcup has quit [Ping timeout: 272 seconds]
porchaso0 has quit [Ping timeout: 272 seconds]
rozzin has quit [Ping timeout: 272 seconds]
rozzin has joined #qi-hardware
nicksydney has joined #qi-hardware
zcrc has quit [Quit: dodo]
viric has quit [Ping timeout: 260 seconds]
viric has joined #qi-hardware