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
LunaVorax has quit [Ping timeout: 256 seconds]
wolfspraul has joined #qi-hardware
wolfspraul has quit [Client Quit]
wolfspraul has joined #qi-hardware
wolfspraul has quit [Ping timeout: 260 seconds]
wolfspraul has joined #qi-hardware
Caly__ has quit [Quit: gone working on freeconomy =o)]
wolfspraul has quit [Ping timeout: 246 seconds]
panda|x201 has joined #qi-hardware
wolfspraul has joined #qi-hardware
FDCX has quit [Remote host closed the connection]
freemor has joined #qi-hardware
FDCX has joined #qi-hardware
pcercuei_ has joined #qi-hardware
mirko_ has joined #qi-hardware
pcercuei_ has quit [*.net *.split]
freemor has quit [*.net *.split]
xiangfu has quit [*.net *.split]
mirko_ has quit [*.net *.split]
wolfspra1l has joined #qi-hardware
mirko has quit [*.net *.split]
pcercuei has quit [*.net *.split]
mirko_ has joined #qi-hardware
pcercuei_ has joined #qi-hardware
xiangfu has joined #qi-hardware
freemor has joined #qi-hardware
pcercuei_ has quit [*.net *.split]
freemor has quit [*.net *.split]
xiangfu has quit [*.net *.split]
mirko_ has quit [*.net *.split]
mirko_ has joined #qi-hardware
xiangfu has joined #qi-hardware
freemor has joined #qi-hardware
pcercuei_ has joined #qi-hardware
DocScrutinizer05 has quit [Disconnected by services]
DocScrutinizer05 has joined #qi-hardware
wolfspraul has quit [Quit: leaving]
freemor has left #qi-hardware [#qi-hardware]
pcercuei_ is now known as pcercuei
wolfspra1l has quit [Ping timeout: 246 seconds]
wolfspraul has joined #qi-hardware
arossDOTme has quit [Ping timeout: 245 seconds]
panda|x201 has quit [Ping timeout: 264 seconds]
megha has joined #qi-hardware
megha is now known as Guest401
Guest401 has quit [Client Quit]
baba has joined #qi-hardware
jluis has joined #qi-hardware
panda|x201 has joined #qi-hardware
rz2k has joined #qi-hardware
panda|x201 has quit [Ping timeout: 248 seconds]
LunaVorax has joined #qi-hardware
lekernel has joined #qi-hardware
wolfspraul has quit [Quit: leaving]
panda|x201 has joined #qi-hardware
pcercuei has quit [Quit: dodo]
jekhor has joined #qi-hardware
LunaVorax has quit [Ping timeout: 256 seconds]
larsc_ has joined #qi-hardware
Fallenou_ has joined #qi-hardware
uwe_ has joined #qi-hardware
whitequa2k has joined #qi-hardware
Ornoterm1s has joined #qi-hardware
uwe__ has quit [*.net *.split]
Ornotermes has quit [*.net *.split]
apelete has quit [*.net *.split]
roh has quit [*.net *.split]
apelete has joined #qi-hardware
whitequa1k has quit [*.net *.split]
larsc has quit [*.net *.split]
Fallenou has quit [*.net *.split]
roh has joined #qi-hardware
roh has quit [*.net *.split]
roh has joined #qi-hardware
panda|x201 has quit [Ping timeout: 248 seconds]
LunaVorax has joined #qi-hardware
Ornoterm1s is now known as Ornotermes
LunaVorax has quit [Remote host closed the connection]
LunaVorax has joined #qi-hardware
newcup has joined #qi-hardware
wolfspraul has joined #qi-hardware
panda|x201 has joined #qi-hardware
coyo has quit [Quit: F*ck you, I'm a daemon.]
lekernel has quit [Ping timeout: 248 seconds]
lekernel has joined #qi-hardware
baba has quit [Ping timeout: 246 seconds]
Guest96009 has joined #qi-hardware
LunaVorax has quit [Ping timeout: 256 seconds]
LunaVorax has joined #qi-hardware
Guest96009 has quit [Quit: WeeChat 0.4.0]
megha has joined #qi-hardware
megha is now known as Guest37767
Guest37767 has quit [Client Quit]
jekhor has quit [Ping timeout: 248 seconds]
xiangfu_ has joined #qi-hardware
Fallenou_ has quit [Ping timeout: 260 seconds]
xiangfu has quit [Ping timeout: 260 seconds]
mirko_ has quit [Ping timeout: 255 seconds]
mirko has joined #qi-hardware
larsc_ has quit [Ping timeout: 260 seconds]
larsc has joined #qi-hardware
Fallenou has joined #qi-hardware
unclouded_ has quit [Ping timeout: 264 seconds]
xiangfu_ has quit [Quit: leaving]
xiangfu has joined #qi-hardware
xiangfu has quit [*.net *.split]
xiangfu has joined #qi-hardware
LunaVorax has quit [Read error: Connection reset by peer]
Calyp has joined #qi-hardware
megha has joined #qi-hardware
freemor has joined #qi-hardware
wolfspra1l has joined #qi-hardware
panda|x201 has quit [Ping timeout: 252 seconds]
larsc_ has joined #qi-hardware
rz2k has quit [Read error: Connection reset by peer]
megha has quit [Ping timeout: 264 seconds]
wolfspraul has quit [Ping timeout: 264 seconds]
larsc has quit [Ping timeout: 264 seconds]
newcup has quit [Ping timeout: 264 seconds]
newcup has joined #qi-hardware
megha has joined #qi-hardware
rz2k has joined #qi-hardware
mirko_ has joined #qi-hardware
lekernel_ has joined #qi-hardware
mirko has quit [*.net *.split]
lekernel has quit [*.net *.split]
apelete has quit [*.net *.split]
apelete has joined #qi-hardware
erikkugel has joined #qi-hardware
arossDOTme has joined #qi-hardware
larsc_ is now known as larsc
mirko_ is now known as mirko
arossDOTme has quit [Read error: Connection reset by peer]
arossDOTme has joined #qi-hardware
sivoais has quit [*.net *.split]
sivoais has joined #qi-hardware
kyak has quit [Ping timeout: 256 seconds]
dandon has quit [Ping timeout: 256 seconds]
jow_laptop has quit [Ping timeout: 256 seconds]
roh has quit [*.net *.split]
apelete has quit [*.net *.split]
rz2k has quit [*.net *.split]
lekernel_ has quit [*.net *.split]
megha has quit [*.net *.split]
ChanServ has quit [*.net *.split]
arossDOTme has quit [*.net *.split]
erikkugel has quit [*.net *.split]
whitequa2k has quit [*.net *.split]
DocScrutinizer05 has quit [*.net *.split]
jluis has quit [*.net *.split]
wej has quit [*.net *.split]
lindi- has quit [*.net *.split]
valhalla has quit [*.net *.split]
mth has quit [*.net *.split]
hellekin has quit [*.net *.split]
freespac1 has quit [*.net *.split]
eintopf has quit [*.net *.split]
newcup has quit [*.net *.split]
wolfspra1l has quit [*.net *.split]
freemor has quit [*.net *.split]
larsc has quit [*.net *.split]
Calyp has quit [*.net *.split]
xiangfu has quit [*.net *.split]
rodgort has quit [*.net *.split]
qi-bot has quit [*.net *.split]
kristianpaul has quit [*.net *.split]
bartbes has quit [*.net *.split]
porchao has quit [*.net *.split]
Jay7 has quit [*.net *.split]
wpwrak has quit [*.net *.split]
rozzin has quit [*.net *.split]
uwe_mobile has quit [*.net *.split]
zear has quit [*.net *.split]
sivoais has quit [*.net *.split]
Fallenou has quit [*.net *.split]
mirko has quit [*.net *.split]
Ornotermes has quit [*.net *.split]
uwe_ has quit [*.net *.split]
viric has quit [*.net *.split]
FDCX has quit [*.net *.split]
biot has quit [*.net *.split]
xdpirate has quit [*.net *.split]
mog has quit [*.net *.split]
woakas1 has quit [*.net *.split]
_whitelogger has joined #qi-hardware
Fallenou_ has joined #qi-hardware
uwe__ is now known as uwe_
viric has joined #qi-hardware
Calyp has joined #qi-hardware
jow_lapt1p is now known as jow_laptop
uwe_ has quit [Quit: leaving]
uwe___ has quit [Quit: leaving]
uwe_ has joined #qi-hardware
xdpirate_ has joined #qi-hardware
xdpirate has quit [Ping timeout: 256 seconds]
woakas1 has quit [Ping timeout: 256 seconds]
jekhor has joined #qi-hardware
arossDOTme has quit [Ping timeout: 245 seconds]
megha is now known as baba
kilae has joined #qi-hardware
sivoais_ has quit [Quit: leaving]
sivoais has joined #qi-hardware
arossDOTme has joined #qi-hardware
mog has quit [Ping timeout: 256 seconds]
woakas1 has joined #qi-hardware
mog has joined #qi-hardware
Fallenou_ has quit [Read error: Connection reset by peer]
Fallenou has joined #qi-hardware
Ornoterm1s is now known as Ornotermes
pcercuei has joined #qi-hardware
larsc_ has joined #qi-hardware
wolfspraul has joined #qi-hardware
larsc has quit [Read error: Connection reset by peer]
wolfspra1l has quit [Read error: Connection reset by peer]
Ornotermes has quit [Write error: Connection reset by peer]
Ornotermes has joined #qi-hardware
LunaVorax has joined #qi-hardware
wolfspraul has quit [Ping timeout: 246 seconds]
larsc_ is now known as larsc
_xdpirate has joined #qi-hardware
dandon_ has joined #qi-hardware
arossDOTme has quit [*.net *.split]
xdpirate_ has quit [*.net *.split]
Calyp has quit [*.net *.split]
viric has quit [*.net *.split]
dandon has quit [*.net *.split]
arossDOTme has joined #qi-hardware
viric has joined #qi-hardware
jekhor has quit [Ping timeout: 276 seconds]
pcercuei_ has joined #qi-hardware
Fallenou_ has joined #qi-hardware
dandon has joined #qi-hardware
jow_lapt1p has joined #qi-hardware
jow_lapt1p has quit [Client Quit]
jow_lapt1p has joined #qi-hardware
jow_laptop has quit [Disconnected by services]
jow_lapt1p is now known as jow_laptop
kilae_ has joined #qi-hardware
newcup has quit [*.net *.split]
Freemor has quit [*.net *.split]
viric has quit [*.net *.split]
dandon_ has quit [*.net *.split]
pcercuei has quit [*.net *.split]
Fallenou has quit [*.net *.split]
kilae has quit [*.net *.split]
Calyp has joined #qi-hardware
megha has joined #qi-hardware
LunaVorax has quit [Ping timeout: 256 seconds]
baba has quit [Ping timeout: 252 seconds]
Freemor has joined #qi-hardware
newcup has joined #qi-hardware
viric_ has joined #qi-hardware
viric_ is now known as viric
LunaVorax has joined #qi-hardware
viric has quit [*.net *.split]
newcup has quit [*.net *.split]
Freemor has quit [*.net *.split]
qi-bot has quit [Ping timeout: 245 seconds]
megha has quit [Quit: WeeChat 0.4.0]
LunaVorax has quit [Ping timeout: 256 seconds]
rz2k has quit []
viric has joined #qi-hardware
kristian1aul has joined #qi-hardware
kristianpaul has quit [Ping timeout: 268 seconds]
Calyp has quit [Ping timeout: 248 seconds]
viric has quit [Quit: Reconnecting]
coyo has joined #qi-hardware
coyo has quit [Changing host]
coyo has joined #qi-hardware
LunaVorax has joined #qi-hardware
Calyp has joined #qi-hardware
jekhor has joined #qi-hardware
viric has joined #qi-hardware
viric has quit [Ping timeout: 256 seconds]
deceivorz has joined #qi-hardware
Freemor has joined #qi-hardware
newcup has joined #qi-hardware
viric has joined #qi-hardware
deceivorz has quit []
kristian1aul has quit [Quit: Reconnecting]
kristianpaul has joined #qi-hardware
kristianpaul has quit [Changing host]
kristianpaul has joined #qi-hardware
<apelete> larsc: Hi, are you there ?
<larsc> yes, I'm always here ;)
<apelete> larsc: nice :)
<apelete> been reading some more kernel code, I need some help to get a clearer picture
<larsc> sure
kukac has joined #qi-hardware
<apelete> okay
<apelete> if musb is a specific host controller driver for the usb IP used in the NN, how does the driver we have now talk with the usb subsystem ?
<larsc> it registers itself as a usb gadget driver
<apelete> and it shouldn't ? what benefit do we have by using musb to do that ?
<larsc> not having duplicated code
<larsc> and the current driver is in a rather doubious shape
<larsc> If we use the musb driver we only have to write a very thin layer of additional code
<larsc> which is much easier to maintain of course
<apelete> <larsc> not having duplicated code
<apelete> what part of the jz4740_udc driver is duplicating code exactly ? the host controller driver code (I'm asking because that's what musb seems to be) ?
<apelete> in fact I'm trying to know what I really need to do.
<apelete> last time you said that the drivers that are using musb today implements both a host driver *and* a gadget driver
<larsc> yes
<larsc> and the jz4740 gadget driver is duplicated code of the musb gadget driver
<apelete> do we want a gadget driver or a host driver (or both) for the NN ?
<apelete> in my understanding, we want a gadget driver that is "musb compliant"
<larsc> gadget
<larsc> the IP core used in the jz4740 is the musb core
<larsc> so we want to use the musb driver
<apelete> ok, so we need a gagdet driver that register to musb. good.
_xdpirate has quit [Quit: http://gamelauncher.pvpsucks.com/]
<larsc> no musb will register the gadget driver
<larsc> what we need is a platform glue code for jz4740 for the musb driver
<larsc> which is stuff like IO access, clocks and interrupts
<apelete> haha. so musb is already a host and gadget driver by itself ? and platform code is used to take advantage of the musb driver ?
<larsc> yes
jekhor has quit [Ping timeout: 264 seconds]
<apelete> ok. so that's why you were also saying that there was some work needed to be done in musb in order for it to register host and gadget part independantly ? (because today musb is registering both gadget and host driver at the same time, it does not register only one)
<larsc> yep
<apelete> okay. in a nutshell we want 2 things:
<apelete> 1/ write platform glue code for jz4740 to use musb gadget driver
<apelete> 2/ modify musb to register either as gadget or host driver or both
<apelete> am I correct ?
<larsc> yes
<apelete> larsc: okay, thank you very much. this is important because I am struggling to understand what exactly musb is, and how is it different from ohci, uhci drivers in linux (basically how does it fit in the usb subsystem).
<apelete> larsc: I may not get it right now, but I think I will start by writing some code for 1/
<larsc> nice
<apelete> larsc: I hope it will get clearer to me by writing code, and we will discuss it more by then if you don't mind :)
<wpwrak> apelete: from http://elinux.org/MUSB: "The MUSBMHDRC DRD OTG Controller (from now on referred to as MUSB is a Dual-Role OTG IP Core used in several SoC implementations. At the time of this writing at least OMAP, DaVinci and Blackfins integrate that IP Core in the SoC and a discrete version of it is supplied by Texas Instruments as the tusb6010 ASIC."
<apelete> wpwrak: yes, you're talking about the asic there, the chip inside the device (I understand "IP core" as "asic" )
<apelete> right ?
lekernel has quit [Quit: Leaving]
<apelete> what I was struggling with until now is "what is musb and how does it fit in the linux usb subsystem ?"
Jay7 has quit [Ping timeout: 264 seconds]
<apelete> from what I understand now, musb in the kernel is a driver implementation for the MUSB IP Core used in the NN
<apelete> and to take advantage of the musb driver, one as to write a platform glue code for it.
Jay7 has joined #qi-hardware
kilae_ has quit [Quit: ChatZilla 0.9.90 [Firefox 20.0.1/20130409194949]]
<wpwrak> apelete: well, it's the corresponding part of the jz4740 asic. there are others: the actual CPU core, UART, MMC, SPI, etc.
<wpwrak> an yes, the driver is names after the hardware :)
<wpwrak> s/names/named
<wpwrak> oh, our bot is gone. interesting
<apelete> wpwrak: ok, thanks.
qi-bot has joined #qi-hardware
<apelete> wpwrak larsc: I'll have a look at the platform glue code already in the kernel as an example to get started. will let you know how it goes.
<apelete> wpwrak larsc: ha, btw, how do you debug kernel code on the NN ?
<apelete> did you solder a serial output to the NN ?
<larsc> yes
<apelete> ok. I saw instructions to do it here: http://en.qi-hardware.com/wiki/Serial_console
<larsc> yea, it's straight forward
<apelete> I haven't used a soldering iron in a while (but still got one), this is going to be fun :)
<apelete> thanks for the help tonight. will keep you posted.
<larsc> be careful to apply to much heat, the pads seem to come of quite easy
<wpwrak> (serial) me too. a slightly luxurious version :) http://www.almesberger.net/misc/idbg/
<apelete> larsc: thanks for the warning
<apelete> wpwrak: wow, quite luxurious indeed :) (won't be posting pictures of my soldering anytime soon ;) )
LunaVorax has quit [Ping timeout: 256 seconds]
LunaVorax has joined #qi-hardware
coyo has quit [Quit: F*ck you, I'm a daemon.]
freespac1 is now known as freespace
kyak has joined #qi-hardware
kyak has quit [Changing host]
kyak has joined #qi-hardware
Jay7x has joined #qi-hardware
Jay7 has quit [Ping timeout: 256 seconds]
kukac has quit [Remote host closed the connection]
LunaVorax_ has joined #qi-hardware
LunaVorax has quit [Ping timeout: 256 seconds]