<qi-bot>
[commit] Werner Almesberger: cameo/ops.c (tool_comp_paths): inside/outside logic was reversed for outer path http://qi-hw.com/p/cae-tools/ed6bbff
<adamwang>
wolfspraul, everytime I need to generate shopping list I must 'make clean'?
<adamwang>
hmm...it must. I got my answer.
<kristianpaul>
[6~[6~[6~[6~[6~[6~/n
<kyak>
agreed
<qnrq>
hi, I just received my nanonote today and I just hooked it up to the net. when I run opkg update it tries to connect to a file that returns 404, more specifically http://downloads.qi-hardware.com/software/packages/openwrt/xburst/latest/Packages.gz is it just temporarily down or is there a new location that was exluded from my release? did ofc google :-)
<wpwrak>
qnrq: i think the whole package database is very out of sync. it's at ttp://downloads.qi-hardware.com/software/packages/NanoNote/Ben/latest/
<wpwrak>
but from april ..
<qnrq>
wpwrak: yeah, heh.. is there any way to change the download dest the same way as one would edit /etc/apt/sources.lst?
<wpwrak>
probably ;) but i never tried to find where this lives. you may have to poke around /etc for a bit
<qnrq>
that's what I thought, I set up a temporary mirror and edited /etc/hosts for now :)
<wpwrak>
and i'm not sure if the packages will actually be useful. i think there were one or two libc changes in between.
<qnrq>
I'm just trying to play around with the sound for now anyway
<wolfspraul>
the first task my coffee has to help me over: setting up a new server, using the shiny GNU parted instead of old fashioned fdisk. but then... mklabel MSDOS!
<wolfspraul>
yes, it's true. it reminds me. the partition sector format most of us are using is still horrible old MSDOS style, with endless broken special cases. argh.
<kristianpaul>
yup :(
<wolfspraul>
truth hurts...
<kristianpaul>
At least there is openbsd users around? :)
<wolfspraul>
what is the general replacement these days? or is there none because partitions are 'bad' anyway?
<wolfspraul>
I guess I still go with msdos
<kristianpaul>
dont know really
<wolfspraul>
mac has long switched to gpt
<wpwrak>
good old dos partition table seems to work fine :-) never had any troubles
<kristianpaul>
Btw is that fedora, what are you setting up?
<kristianpaul>
already got FEL and really curios of tring more in depth
<wolfspraul>
wpwrak: good that you don't (seem to) know how it counts cylinders, heads, etc. and how much magic is needed to translate it to modern disks without rounding problems etc.
<wolfspraul>
kristianpaul: yes, and in such opportunities I always try to improve several things at once, to not waste too much time.
<wolfspraul>
so I will also improve the backups substantially, use LVM snapshots, prepare for an actual rescue/recovery scenario on another server, etc.
<kristianpaul>
good :)
<wolfspraul>
so far I'm just running rsync, but without actually ever walking through a rescue scenario
<wolfspraul>
so that's a mess
<kristianpaul>
snaphots are very usefull
<wolfspraul>
rsync from underneath running mysql databases and such...
<wolfspraul>
don't even think about it
<wolfspraul>
:-)
<kristianpaul>
sure dont (*sigh*)
<kristianpaul>
i wonder if that worked (considering the running thing)
<kristianpaul>
i guess it did :)
<wpwrak>
wolfspraul: oh, i know very well what ugly things it does ;-)) remember lilo ? in "linear mode", it translates things to that CHS format
<wpwrak>
wolfspraul: but recently, i never ran into any troubles with that stuff
<wolfspraul>
yes true, seems it is successfully 'masked'
<wpwrak>
wolfspraul: (of course, having handed off lilo maintenance many years ago may help :) so, end-user's perspective here
<wolfspraul>
but still there, and the name is a reminder...
<kristianpaul>
ah wikireader content is package in some binary way
<qnrq_>
wolfspraul, xiangfu: thanks a lot for the the help with /etc/opkg.conf :-)
<xiangfu>
qnrq_: we try to build the new packages whis weekend. hope we don't get much errors :) , if all goes fine. we will have a update packages.
<qnrq_>
xiangfu: awesome! I just got my chance to start playing around with my nanonote today :)
<wolfspraul>
qnrq_: thanks for buying one!
<qnrq_>
wolfspraul: not sure if I'm the one to thank here, so far it's a beautiful device to hack :>
<wolfspraul>
ok keep us posted...
<qnrq_>
for sure :)
<kristianpaul>
wpwrak: (DMA) is just for mmc as far as read on qi wiki
<kristianpaul>
well at least in nanonote
<wpwrak>
kristianpaul: yeah, it seems that there's no external DMA. there's only an empty chapter in the 4720 data sheet about it, that's all.
<kristianpaul>
argg (empty)
<kristianpaul>
wpwrak: ddi you look at page 107 from  jz4740_pm ?
<kristianpaul>
s/ddi/did
<kristianpaul>
:-)
<wpwrak>
well yes, that page and the ones following it ;-)
<kristianpaul>
i dont undestand :/
<kristianpaul>
that pages, well i still readin what DMA is ;-)
<wpwrak>
the description is a bit cryptic. they also jump between register-based and descriptor-based operation
<kristianpaul>
hmm, Is like a bulk transfer in USB?
<wpwrak>
hmm, kinda. basically, instead of setting up one transfer, you define a list of transfers
<kristianpaul>
ah
<kristianpaul>
i need that ;)
<kristianpaul>
can i set up 2048? (theorically)
<wpwrak>
not sure if it helps you much. you still need a trigger. and there are no simple external DMA triggers.
<wpwrak>
2048 what ?
<kristianpaul>
transfers of 8 bits each
<wpwrak>
probably, yes
<wpwrak>
but again, how do you trigger it ? it's messy
<kristianpaul>
:/
<adamwang>
wolfspraul, i think next time we need re-layout for Jtag/serial cable
<wolfspraul>
adamwang: ahh. have a story for you there. wpwrak thinks it's super easy to source a 14-pin jtag + 4-pin serial connector set that will have the same height
<adamwang>
click the datasheet link,
<wpwrak>
it is :) just don't mix product lines ;-)
<adamwang>
let me finish first
<wpwrak>
hey, how hard can it be if even the arduino crowd does it ? ;-))
<wolfspraul>
wow that is crazy expensive
<wolfspraul>
3.18 USD
<wolfspraul>
should be more like 10 cents :-)
<adamwang>
no matter you selected a 3M part or I found Molex, the receptacle parts always has 'positioner' to hook up pcb,
<adamwang>
current pcb gerber there's no two 'through holes' can be inserted!
<wpwrak>
adamwang: would going through-hole be an option ?
<wolfspraul>
too late, gerber already out
<wolfspraul>
but in the future, sure
<wolfspraul>
adamwang: at least for 100 the price is 1.87 USD. still crazy expensive
<wpwrak>
yeah, i meant in the future
<wpwrak>
wolfspraul: even this connector needs new holes for the positioning pins
<wpwrak>
ah wait, no
<wolfspraul>
adamwang: maybe you can ask Yanjun Luo where he sourced the connectors and we buy from there?
<wolfspraul>
that's another option...
<wolfspraul>
but if this Molex one works just buy that, is faster probably
<wpwrak>
naw, yes, it need holes
<wpwrak>
got confused because the data sheet first shows one without
<adamwang>
they are matched each other, so i want directly buy this.
<adamwang>
if you go to see the bom to find p/n: 87832-1420 , then you can find 79109-1006 matched in Digi-Key.
<adamwang>
well...so this means when the parts arrives, I need to manually cut those two positioners. man!
<adamwang>
and probably loose accurate placement!
<adamwang>
well, i think i still can control this.
<adamwang>
umm..i'll ask him..but if no datasheet from him available...then i order Molex this one.
<wolfspraul>
the digikey p/n of the new one is WM18702-ND
<wolfspraul>
should I update the bom?
<adamwang>
not now
<adamwang>
wait..
<wpwrak>
adamwang: are you sure about the positioners ?
<wpwrak>
adamwang: the ~-1006 doesn't seem to have them
<adamwang>
sure! why not? the datasheet needs positioners, even without this, trying to imagine how this SMD part will be mouted accurately on board.
<adamwang>
go to page 4
<adamwang>
you will see
<wpwrak>
adamwang: yes, page 4 had those pegs. but this is for the parts listed on page 5. the ~1006 is on pages 1/2
<adamwang>
1.45mm height
<adamwang>
see page 4, there's recommended PCB layout
<wpwrak>
adamwang: yes, that's for the parts listed on page 5 :)
<adamwang>
there's two circles in there(means through holes needed)
<wpwrak>
adamwang: do you want the 79109-1006 ? or another one ?
<wpwrak>
look at page 2. it explicitly says "WITHOUT PEG OPTION"
<wolfspraul>
the 3M one has no 'locator posts'
<wolfspraul>
it's an option but with p/n -2000- it doesn't have them
<adamwang>
wait..let me see page 2
<wolfspraul>
(and for 7 positions it's not available, only 8 or more if I understand correctly)
<adamwang>
wpwrak, you are right! the p/n: 79109-1006 without peg positioner
<adamwang>
but this is still very bad...
<wolfspraul>
adamwang: what is wrong with 3M 153214-2000-RB-WB ?
<adamwang>
means smt machine needs to pick & place in 'correct' location.
<wpwrak>
adamwang: yup
<wpwrak>
adamwang: if the machine doesn't have a positioning error > 0.1 mm, you're probably fine. if the connector needs a little extra push, nobody will notice :)
<adamwang>
the terminal won't be contact well to 87831-1420 pin header even they are the same 2.00mm pitch
<adamwang>
wpwrak, hahaha..
<adamwang>
i don't like this way..
<adamwang>
anyway...just fyi and records this to be fixed next time.
<adamwang>
but bad thing is now the thickness is 1.6mm, also there's routed trace on both side..
<wpwrak>
with positioning pegs/pins/posts/nipples it's nicer, agreed
<adamwang>
surely , that's the rules for matching mechanical parts!
<wpwrak>
why is 1.6 mm (PCB thickness ?) a problem ?
<wolfspraul>
still don't know what's wrong with the 3M part
<adamwang>
wait
<wpwrak>
adamwang: i've been fighting all day long today with such positioning posts ;-) in my mill, the board moves a little (sideways) when the tool pushes against it. so holes that i mill (instead of drilling) end up a little too small. great fun ...
<adamwang>
hmm...well...always careful the peg/positioner/pins while design stage...then safe later
<wpwrak>
for my DIY board i usually just cut them off. too much work to drill those holes :)
<wpwrak>
boardS
<adamwang>
ha...well but you know if those go to smt/dip process during MP production, it saves time without your diy! :)
<adamwang>
of course now you must diy.
<adamwang>
and hates those holes to hell.
<adamwang>
wolfspraul, the 3M first needs peg/positioner
<wolfspraul>
what do you mean with needs?
<adamwang>
then when you select matched parts, also check inlet of Mate point .
<wolfspraul>
it does not have what they call 'locator posts'
<wolfspraul>
the 3M part number we have does not have positioner, I think
<wpwrak>
adamwang: in the last days, i improved my collection of programs for milling boards and such. now i can actually precision-drill things. so the pegs no longer scare me :) (well, just a little - still need to add a compensation for the board deflection)
<adamwang>
no , it has. see the recommended solder pad layout, there're two.
<adamwang>
wpwrak, wow..man! incredible you are!
<adamwang>
well...i have to work others...cu
<wpwrak>
;-))
<wpwrak>
wolfspraul: what's the problem with the 3M part ? it sounds as if you're looking for an exact replacement ?
<wolfspraul>
no I don't care which one is best
<wolfspraul>
but the 3M part we have has no positioners
<wolfspraul>
adamwang: I don't see it. note 4 says it's optional, and in the ordering information if the p/n is -2000- it has no positioner.
<wolfspraul>
if it's -2020- then it has the positioner, but according to the datasheet that option is only available for 8 positions or more (see Note 4)
<wpwrak>
adamwang: look carefully - the connector exists with and without pegs. they just didn't show the footprint without them
<wpwrak>
adamwang: (see "Ordering Information"). the equivalent part with pegs would be 153214-2020-RB-WB
<adamwang>
ha...wait
<wolfspraul>
wpwrak: yes but positioner is only available for 8 or more positions, if I understand correctly
<wolfspraul>
but not sure about that it says "optional locator posts available for positions 8 and greater"
<adamwang>
hm..you both are right
<wpwrak>
.. which mdigi-key have as 153214-2020-RB
<wpwrak>
wolfspraul: 14 > 8 :-)
<wolfspraul>
ok makes sense so they count each pin
<wpwrak>
yup
<wolfspraul>
well then, we can have 14 with or without pegs, and the current p/n we had was without
<wolfspraul>
same as the Molex part only that the Molex one is more expensive
<adamwang>
wait..guys..i'm drawing ...i am not only to see this part only
<adamwang>
later you will see..i haven't decide to buy which one exactly