2012-01-14 00:30 urandom__ [urandom__!~user@p548A4CA4.dip.t-dialin.net] has joined #qi-hardware 2012-01-14 04:45 jekhor_ [jekhor_!~jek@vulture2-nat-45.telecom.by] has joined #qi-hardware 2012-01-14 06:09 paroneay` [paroneay`!~user@c-67-175-218-235.hsd1.il.comcast.net] has joined #qi-hardware 2012-01-14 07:09 skynet-2000 [skynet-2000!~skynet-20@unaffiliated/skynet2000] has joined #qi-hardware 2012-01-14 08:45 DocScrutinizer [DocScrutinizer!~halley@openmoko/engineers/joerg] has joined #qi-hardware 2012-01-14 08:59 pabs3 [pabs3!~pabs@d175-38-164-81.per801.wa.optusnet.com.au] has joined #qi-hardware 2012-01-14 09:08 kilae [kilae!~chatzilla@catv-161-018.tbwil.ch] has joined #qi-hardware 2012-01-14 09:35 Ayla [Ayla!~paul@9.95.112.78.rev.sfr.net] has joined #qi-hardware 2012-01-14 09:39 larsc: I'll enjoy putting a breakpoint on fb_notifier_callback :) 2012-01-14 09:40 qwebirc63466 [qwebirc63466!451ec28b@gateway/web/freenode/ip.69.30.194.139] has joined #qi-hardware 2012-01-14 09:52 Ayla [Ayla!~paul@9.95.112.78.rev.sfr.net] has joined #qi-hardware 2012-01-14 09:59 jluis [jluis!~jluis@176.Red-81-38-165.dynamicIP.rima-tde.net] has joined #qi-hardware 2012-01-14 10:09 tonghuix [tonghuix!~tonghuix@221.219.121.123] has joined #qi-hardware 2012-01-14 10:27 Ayla [Ayla!~paul@28.95.13.93.rev.sfr.net] has joined #qi-hardware 2012-01-14 11:00 rejon [rejon!~rejon@li382-141.members.linode.com] has joined #qi-hardware 2012-01-14 11:22 antoniodariush [antoniodariush!~antonio@host-92-18-38-70.as13285.net] has joined #qi-hardware 2012-01-14 11:49 Textmode [Textmode!~boneidle@adsl-syd-2-209.ozonline.com.au] has joined #qi-hardware 2012-01-14 12:21 xiangfu [xiangfu!~xiangfu@fidelio.qi-hardware.com] has joined #qi-hardware 2012-01-14 12:35 larsc: I just saw that ret = ili8960_write_reg(spi, ILI8960_REG_POWER, enabled ? 0xc7 : 0xc6); does not power out the lcd 2012-01-14 12:36 ah, enabled equals true. 2012-01-14 12:48 moo 2012-01-14 12:51 kristoffer [kristoffer!~kristoffe@host-95-206-8-253.mobileonline.telia.com] has joined #qi-hardware 2012-01-14 12:51 wolfspra1l [wolfspra1l!~wolfsprau@p5B0AC7A7.dip.t-dialin.net] has joined #qi-hardware 2012-01-14 13:21 rejon [rejon!~rejon@li382-141.members.linode.com] has joined #qi-hardware 2012-01-14 13:29 enabled means "blank enabled" 2012-01-14 13:30 and it ends up being as 'power enabled'... 2012-01-14 13:31 the LCD may be powered on low state 2012-01-14 13:31 that is, when the GPIO is zero, the LCD is off 2012-01-14 13:31 Ayla: you think that a call named ili8960_programm_power, would have a parameter 'enabled' that means poweroff if true? 2012-01-14 13:32 on purpose, I mean ;) 2012-01-14 13:32 that's probably a mistake then 2012-01-14 13:32 I can't find docs about the 'ILI8960' 2012-01-14 13:32 Ayla: this gdb thing is very nice :) 2012-01-14 13:33 I actually never used it 2012-01-14 13:33 (ah, found the ds) 2012-01-14 13:35 aha, looks lke a mistake. 2012-01-14 13:35 if enabled, sets 'normal operation'. If !enabled, sets standby mode. 2012-01-14 13:38 ah maybe I'm wrong. I missed some cod.e 2012-01-14 13:54 hm the code looks fine, until the spi_write 2012-01-14 13:55 the FB_BLANK looks like simply setting the 'standby' mode in the lcd... 2012-01-14 14:14 well, larsc looked like knowing what t odo 2012-01-14 14:14 larsc: to me, jz-3.2 looked like having those patches, and even the lcd answering those events. 2012-01-14 14:15 ah no 2012-01-14 14:15 bad reading 2012-01-14 14:15 jz-3.2 should be getting those patches, but the patches alone without any new callbacks being registered were useless, so I didn't import them yet 2012-01-14 14:16 mth: aren't those callbacks trivial? 2012-01-14 14:16 I don't know, I didn't look into it yet 2012-01-14 14:17 hm it would help if I understood what are those patches for. what problem they try to solve 2012-01-14 14:19 mth: aren't those patches already in mainline 3.2? 2012-01-14 14:19 viric: the lcd needs to be put into standby before the pixel clock is turned off 2012-01-14 14:19 ahhh 2012-01-14 14:19 and only brought out of standby after the pixel clock has been re-enabled 2012-01-14 14:19 larsc: and the "fb_notifier_call_chain(FB_EARLY_EVENT_BLANK, &event);" turns the clock off? 2012-01-14 14:20 *sorry* 2012-01-14 14:20 FB_EVENT_BLANK 2012-01-14 14:20 yes 2012-01-14 14:20 what sets the order of whats get called first, clock off or lcd off? 2012-01-14 14:20 both are in the call chain, iiuc 2012-01-14 14:21 with the code as it is right now the clock will be turned off first 2012-01-14 14:21 I think the patches are for "cancelling" an event_blank 2012-01-14 14:21 not for changing any order 2012-01-14 14:21 as the notifier will be called after the framebuffer has been disabled 2012-01-14 14:22 the patches introduce a new notifier which is called before the framebuffer gets disabled 2012-01-14 14:22 but the purpose of the patches is to be able to cancel the blank 2012-01-14 14:22 and we want to hook the lcd disable to the new notifier 2012-01-14 14:22 no it is not 2012-01-14 14:22 ah 2012-01-14 14:23 so, for your purpose, FB_EARLY_EVENT_BLANK would be enough 2012-01-14 14:23 but the patches introduce EARLY and R_EARLY 2012-01-14 14:27 that's because we need a mechanism to tell a device which listens to a EARLY event that the actuall blanking has failed 2012-01-14 14:28 what determines the order in the fb_notifier_call_chain? the order of calls to fb_register_client() I imagine... 2012-01-14 14:30 Isn't there any system, before the EARLY patches, to determine the order of 'clock shutdown' and 'lcd standby' 2012-01-14 14:30 ? 2012-01-14 14:31 (I'm reading do_blank_screen()) 2012-01-14 14:31 xiangfu [xiangfu!~xiangfu@fidelio.qi-hardware.com] has joined #qi-hardware 2012-01-14 14:31 larsc: sorry if I ask too much. :) I'm zero experienced in all this 2012-01-14 14:34 the clock is disabled in the framebuffer blank callback, which is called before the notifier chain 2012-01-14 14:34 ah 2012-01-14 14:34 info->fbops->fb_blank(blank, info); ? this? 2012-01-14 14:35 yes 2012-01-14 14:35 that's an order to the ipu? 2012-01-14 14:36 to the framebuffer driver 2012-01-14 14:36 jzfb_disable? 2012-01-14 14:36 yes 2012-01-14 14:36 ok, clear! :) 2012-01-14 14:37 that disables the spi with the lcd? 2012-01-14 14:38 and then the spi instruction to the LCD of going to stand-by does not reach the lcd 2012-01-14 14:39 it only disables the pixel clock, but the display seems to stop to listen to commands on the spi if the pixel clock is off 2012-01-14 14:39 ahh 2012-01-14 14:39 has this ever worked? 2012-01-14 14:39 I mean... in any previous nanonote kernels 2012-01-14 14:40 yes we had a different patch before 3.2 2012-01-14 14:40 but it was really just a ugly hack 2012-01-14 14:40 ahh. 2012-01-14 14:40 and what does mth mean about "I could pick the patches"? 2012-01-14 14:40 he could apply them to the 3,2 tree 2012-01-14 14:41 jz-3.2 2012-01-14 14:41 our tree isn't based on linux 3.2 tree? 2012-01-14 14:41 it is 2012-01-14 14:41 aren't those patches in the linux 3.2? 2012-01-14 14:41 but those patches aren't in mainline yet 2012-01-14 14:41 those patches are not in mainline 2012-01-14 14:41 ahhhh 2012-01-14 14:41 and you could pick them up... 2012-01-14 14:41 and when someone picks them for mailine 2012-01-14 14:41 git will resolve all? 2012-01-14 14:41 if identifcal, yes, otherwise it will be a merge conflict 2012-01-14 14:41 but probably easy to resolve 2012-01-14 14:42 ah 2012-01-14 14:42 and if mainline does not like it? 2012-01-14 14:42 then jz-3.2 will have to be adapted to mainline without these patches 2012-01-14 14:42 then we'll have to think of some other approach that mainline does like 2012-01-14 14:42 ok 2012-01-14 14:42 But before these patches... there was no solution? 2012-01-14 14:42 in any case larsc thinks that these patches have more chance of getting in that the original patch that we had 2012-01-14 14:42 other than 'ugly hack'? 2012-01-14 14:42 ahh 2012-01-14 14:43 yes, there was a hack, but not suitable for upstreaming 2012-01-14 14:43 and in what moment jz-3.2 'lost' the ugly hack? 2012-01-14 14:43 and the long-term goal is to have as little difference as possible from mainline 2012-01-14 14:43 when jz-3.2 was created; I didn't merge the hack from jz-3.1 2012-01-14 14:43 ah 2012-01-14 14:44 you picked mainline 3.2, and ported (partially) the patches additional to mainline in jz-3.1 2012-01-14 14:44 commit d111ee753dd71beedb394a79da6285d7ce6e6204 2012-01-14 14:44 correct 2012-01-14 14:44 that's how jz-3.2 got created, and how jz-3.3 will be created too 2012-01-14 14:44 I mean, something usual 2012-01-14 14:44 that's how every jz-* branch is done so far 2012-01-14 14:44 (all this may sound very trivial for you, but it's all brand new for me :) 2012-01-14 14:45 the difference between two Linux releases is too large for "git merge" to work, I think 2012-01-14 14:45 I tried it once and it became a huge mess 2012-01-14 14:45 ahh 2012-01-14 14:45 so now I just list all commits on the last branch and cherry pick them one by one 2012-01-14 14:45 if they are still needed 2012-01-14 14:46 so you can 'rebase' the patches from 'mainline-3.1' to 'jz-3.1' over 'jz-3.2' 2012-01-14 14:46 that's another reason to try to keep the amount of differences low ;) 2012-01-14 14:46 ah cherry-pick. 2012-01-14 14:46 ok 2012-01-14 14:46 and what does that amount to? 2012-01-14 14:46 in number of patches 2012-01-14 14:46 sidenote: a rebase is more or less a series of cherry-picks 2012-01-14 14:46 10-20 patches, I think 2012-01-14 14:47 larsc: I also see it that way. 2012-01-14 14:47 viric: you can list them: git log v3.2..jz-3.2 2012-01-14 14:47 ok 2012-01-14 14:47 perfect. 2012-01-14 14:47 xiangfu [xiangfu!~xiangfu@fidelio.qi-hardware.com] has joined #qi-hardware 2012-01-14 14:47 larsc: I don't have the v3.2 branch 2012-01-14 14:47 or tag 2012-01-14 14:47 we have a few more now since there was development on jz-3.2 2012-01-14 14:48 larsc: should I pull from a linux kernel repository? 2012-01-14 14:48 mth: ok 2012-01-14 14:48 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 2012-01-14 14:48 so we are single in the world of devices that have the trouble about clock/lcd-standby? 2012-01-14 14:48 viric: fetching the tags should be enough 2012-01-14 14:49 ah kernel.org is up again? 2012-01-14 14:49 viric: no. samsungs seems to have the same issue. the patch which adds the early callback was from an samsung employee 2012-01-14 14:49 'git fetch -t URL' ? 2012-01-14 14:49 I'm trying that 2012-01-14 14:49 hm it's getting lots of objects. 2012-01-14 14:50 larsc: ah ok perfect. 2012-01-14 14:50 larsc: you knew more than what I read in those commit logs! 2012-01-14 14:50 people should write in the commit logs what problem they try to fix... 2012-01-14 14:50 I used "git remote add" 2012-01-14 14:51 that has always been for me a big problem reading most public commits... people forgetting to write what problem they had before the patch. 2012-01-14 14:52 hehe 2012-01-14 14:52 The solution is in the code. But the problem... it's either in the commit log or nowhere 2012-01-14 14:52 kernel.org was reopened around the same time that 3.2 was released 2012-01-14 14:53 for 3.1 I had git://github.com/torvalds/linux.git as upstream 2012-01-14 14:53 aha ok 2012-01-14 14:53 mth: adding that remote... also fetches a lot, no? 2012-01-14 14:53 it fetches the full history of the kernel 2012-01-14 14:53 can I pick less than that? 2012-01-14 14:53 but probably most of it overlaps with what is already downloaded as part of the qi history 2012-01-14 14:53 you should already have most of the history if you have jz-3.2 2012-01-14 14:54 hm it picks up a lot. 2012-01-14 14:54 I don't know, I just downloaded everything 2012-01-14 14:54 it'll take 2 or 3 minutes... 2012-01-14 14:54 fine. 2012-01-14 14:54 ok, then, thank you all. I'm up to date with the lcd problem 2012-01-14 14:55 don't you commit things in the kernel like: "/* JZ-TODO: port that patch */" ? 2012-01-14 14:55 (at the moment you did not pick that thing from 3.1) 2012-01-14 14:56 I mean... where is the list of "This needs to be done for jz-3.2"? 2012-01-14 14:56 I gave a short overview on this channel 2012-01-14 14:56 should be in the IRC logs 2012-01-14 14:56 hehe 2012-01-14 14:57 mth: why not have that in the kernel vcs, in the jz-3.2 branch? either in a file, or comments anywhere 2012-01-14 14:57 in the night from 5 to 6 January 2012-01-14 14:57 (searching the log...) 2012-01-14 14:58 found 2012-01-14 14:59 ok 2012-01-14 14:59 nice notes. 2012-01-14 15:01 whitequark: did you say (that day) that the xilinx webpack sends your netlists to xilinx? 2012-01-14 15:02 whitequark: I recall it asking questions about accepting that or not, and they let you answer 'dont send'. 2012-01-14 15:02 viric: are you aware of llhdl ? 2012-01-14 15:03 from lekernel? 2012-01-14 15:03 it's a long-term project to try to open up some of the synthesis toolchain, Sebastien took a good real first step coding at it, but right now it's dormant until ... don't know. but it's so fundamental it will surely continue. 2012-01-14 15:03 yes 2012-01-14 15:03 just because we chat about synthesis tools, so I thought I mention it in case it's not known 2012-01-14 15:03 I remember when he was starting... 2012-01-14 15:04 but I did not hear beyond that 2012-01-14 15:04 I think it progressed a decent bit, but right now it's dormant. 2012-01-14 15:04 last commit on march 2011? 2012-01-14 15:04 to be continued :-) 2012-01-14 15:04 sure, could be 2012-01-14 15:04 ok 2012-01-14 15:04 did lekernel get an employer? :) 2012-01-14 15:05 we try to build Milkymist One into a business, or other Milkymist derived products 2012-01-14 15:05 ok 2012-01-14 15:05 nice 2012-01-14 15:05 but no employer 2012-01-14 15:05 yeah it's great 2012-01-14 15:05 you're brave people :) 2012-01-14 15:06 nah, it's easy. only do what you really believe in. 2012-01-14 15:07 but then you get in love with a woman that has some incompatible beliefs and... 2012-01-14 15:07 if all were so easy... ;) 2012-01-14 15:07 viric: I think if you answer "don't send", they do not compile it 2012-01-14 15:07 also, see PM 2012-01-14 15:15 I have "invented" a way to check footprints: http://rghost.ru/35904042.view 2012-01-14 15:20 bbbb [bbbb!~Adium@178-190-215-94.adsl.highway.telekom.at] has joined #qi-hardware 2012-01-14 15:21 whitequark: you get ortographic pictures? 2012-01-14 15:21 viric: I don't even know what that word means :) 2012-01-14 15:21 pictures, that map easily to metric units 2012-01-14 15:22 usually after some lens distortion correction, calibration, ... 2012-01-14 15:23 I just used a cheap scanner at 600dpi 2012-01-14 15:24 and placed that by hand (I was off by 0.17 degrees... pretty good I think) 2012-01-14 15:25 jluis [jluis!~jluis@2001:5c0:1400:a::b79] has joined #qi-hardware 2012-01-14 15:28 whitequark: yes, a scanner gives ortographic pictures 2012-01-14 15:28 getting ortographic pictures from a camera is harder :) 2012-01-14 15:32 paroneayea [paroneayea!~user@fsf/member/paroneayea] has joined #qi-hardware 2012-01-14 15:39 Hi, can anyone help me with usb_boot? I can't figure out the nand config parameters 2012-01-14 15:41 bbbb, for nanonote? 2012-01-14 15:41 xiangfu, nope it's a strange jz4750 based china console 2012-01-14 15:43 http://goo.gl/b8Yc5 already got in in usb boot mode 2012-01-14 15:45 if you want to look at the nand contents, it might be simpler to see if you can find a firmware restore ("unbrick") image 2012-01-14 15:46 you could try to open the device and read the NAND chip model from the chip itself 2012-01-14 15:47 that should tell you things like bus width and page size 2012-01-14 15:47 (by data sheet from the manufacturer site) 2012-01-14 15:47 mth: still haven't figured out who produces this thing, ok, I am waiting for a triwing screwdriver 2012-01-14 15:48 ah, nasty screws... the Dingoo A320 just uses philips head (cross) screws 2012-01-14 15:49 :) yes, they copied the whole gameboy design even the stupid screws 2012-01-14 15:49 ah the stupid gameboy screws... 2012-01-14 15:49 try a kinfe 2012-01-14 15:49 *knife 2012-01-14 15:49 with a little bit of skill it works surprisingly well 2012-01-14 15:51 urandom__ [urandom__!~user@p548A270F.dip.t-dialin.net] has joined #qi-hardware 2012-01-14 15:51 does it have a gameboy cartridge port as well? 2012-01-14 15:51 Ayla, yes but I havend figured out what it does 2012-01-14 15:52 is there an actual connector in there or just a hole in the casing? 2012-01-14 15:52 *haven't 2012-01-14 15:52 mth: connector is there, when I have an screwdriver we know if it is connected :D 2012-01-14 15:54 the coments on the page say it plays gba cartridges 2012-01-14 15:54 bbbb: for usbboot, you simply use their 'data cable'? 2012-01-14 15:54 viric: yes 2012-01-14 15:54 perfect 2012-01-14 15:54 how did you get in usbboot mode? 2012-01-14 15:54 is it a peculiarity of all jz47*? 2012-01-14 15:55 on the A320 it's done by pressing the B key during power up 2012-01-14 15:55 but it's a hw thing that triggers that mode? 2012-01-14 15:55 I thought it was some software somewhere 2012-01-14 15:55 it's usually connected to a button 2012-01-14 15:55 ah nice 2012-01-14 15:55 it needs a pin pulled down to go into USB boot mode 2012-01-14 15:55 you just have to figure out which one 2012-01-14 15:56 yes, brutforce, gamebox uses the start butotn 2012-01-14 15:56 *button 2012-01-14 15:56 wpwrak: do you know if those 8051-like chips (F321?) have something like that, so I could pick the program inside using the usb? 2012-01-14 15:58 viric: f321... sounds familiar. is that Cypress? 2012-01-14 16:00 bbbb: do you know the screen resolution? 320x240 or 240x160 or something else? 2012-01-14 16:01 mth: good question 2012-01-14 16:01 mth: brb testing 2012-01-14 16:10 viric: err, like what ? i've implemented DFU for the f321. with that, i can read/write the firmware 2012-01-14 16:43 jluis [jluis!~jluis@2001:5c0:1400:a::e8b] has joined #qi-hardware 2012-01-14 17:03 wpwrak: ah, but on a 3rd-party f321... nothing, I imagine 2012-01-14 17:03 whitequark: I can't recall the manufacturer 2012-01-14 17:05 what was first, the kernel and usbboot for the nanonote, or the nanonote was chosen as there was some part of kernel+tools for jz? 2012-01-14 17:05 viric: unless they found my code and reused it :) 2012-01-14 17:06 aha! ok ;) 2012-01-14 17:20 jluis [jluis!~jluis@176.Red-81-38-165.dynamicIP.rima-tde.net] has joined #qi-hardware 2012-01-14 17:28 hm 2012-01-14 17:29 if there's anyone from Moscow here, and you want to buy something from http://iteadstudio.com/, then you have a few hours to say what exactly 2012-01-14 17:30 why a few hours? because I'm doing an order today, and after that they stop to receive orders due to some chinese festival 2012-01-14 17:30 *after this day. 2012-01-14 17:33 Chinese New Year. that's when all of china shuts down. 2012-01-14 17:42 for one week, plus travel. can be a nasty surprise for westeners who want to produce something just around that time and don't know of that holiday :) 2012-01-14 17:46 emeb [emeb!~ericb@ip72-223-81-94.ph.ph.cox.net] has joined #qi-hardware 2012-01-14 17:47 anyone good at stepper motors? 2012-01-14 17:47 I'd like substepping without annoying whistle noise) 2012-01-14 17:47 interesting 2012-01-14 17:47 what exactly causes that noise? 2012-01-14 17:48 I think it's the PWM for substepping 2012-01-14 17:55 * whitequark does not know how substepping works 2012-01-14 17:58 instead of switching between direct or reverse full currents per phase... 2012-01-14 17:59 you use PWM to achieve currents between 0 and the maximums 2012-01-14 17:59 http://www.allegromicro.com/Products/Motor-Driver-And-Interface-ICs/Bipolar-Stepper-Motor-Drivers/~/media/Files/Datasheets/A3967-Datasheet.ashx one for example 2012-01-14 18:00 so, do you drive it with a kind of sine wave? 2012-01-14 18:01 looks like yes 2012-01-14 18:04 http://iteadstudio.com/store/index.php?main_page=product_info&cPath=10_13&products_id=138 2012-01-14 18:04 FEATURES: no odor 2012-01-14 18:04 lol 2012-01-14 18:36 not having a feature is also a feature ;) 2012-01-14 18:46 does the kernel drop a TCP packet automatically if the checksum is incorrect? 2012-01-14 18:47 the TCP checksum, not the IP one 2012-01-14 18:59 as opposed to ? 2012-01-14 19:02 Ayla: what else would be better? 2012-01-14 19:03 I'm building a DOS attack program for a school project 2012-01-14 19:03 a simple SYN flood 2012-01-14 19:04 but the web server I'm targetting (on localhost, don't worry) doesn't respond to my SYN packets 2012-01-14 19:04 I think Linux drop them because of an incorrect TCP checksum 2012-01-14 19:06 Ayla: /proc/net/snmp is your friend 2012-01-14 19:06 see also: svn.openmoko.org//developers/werner/bin/snmp 2012-01-14 19:07 what's that script for? 2012-01-14 19:08 run with snmp 1 2012-01-14 19:08 and it will read /proc/net/snmp every second and tell you what has changed 2012-01-14 19:09 hmm. Interesting. 2012-01-14 19:09 looks like I receive incorrect packets :) 2012-01-14 19:10 thank you for your help, that script will be useful 2012-01-14 19:10 nbd [nbd!~nbd@openwrt/developer/nbd] has quit [#qi-hardware] 2012-01-14 19:17 hm I better pick the script 2012-01-14 19:17 this werner always has interesting things 2012-01-14 19:48 wpwrak: is it possible to get a detailed info about what's wrong? 2012-01-14 19:49 I send a packet that is 100% similar to one sent by wget 2012-01-14 19:49 but mine doesn't pass 2012-01-14 19:49 tcpdump ? wireshark ? 2012-01-14 19:50 I'm using wireshark already 2012-01-14 19:50 it should tell you id there's a problem 2012-01-14 19:50 well, no 2012-01-14 19:50 I can see the packet I send just fine, but there's absolutely no response 2012-01-14 19:51 what do syn cookies do exactly? it has something to do with preventing syn attacks 2012-01-14 19:51 wej [wej!~j@m2.mullvad.net] has joined #qi-hardware 2012-01-14 19:54 syn cookies? ... 2012-01-14 19:56 (syn cookies) there should still be a response 2012-01-14 19:57 not sure if the kernel implements anything stronger. i remember some debates about this sort of issues a good while ago 2012-01-14 20:00 for some reason, the checksum of the TCP header as shown by wireshark when downloading a sample text file with wget is always the same 2012-01-14 20:00 while the TCP header itself is not the same (because of the timestamp) 2012-01-14 20:05 huh, just spent $310 in one order... 2012-01-14 20:05 those SMT resistors are not very cheap. 2012-01-14 20:09 hm, maybe the kernel skips checksum generation on local interfaces 2012-01-14 20:11 jekhor [jekhor!~jek@93.125.48.194] has joined #qi-hardware 2012-01-14 20:11 Ayla: http://blog.sourcefrog.net/2008/11/wireshark-complaints-of-bad-tcp.html 2012-01-14 20:12 larsc: ah, nice find 2012-01-14 20:13 but then if it doesn't verify the checksums, I have absolutely no idea why it does not work :) 2012-01-14 20:13 no open connection? 2012-01-14 20:15 no 2012-01-14 20:19 what reason does snmp indicate ? 2012-01-14 20:19 how do you cut PCBs? 2012-01-14 20:19 "make mill" :) 2012-01-14 20:20 ha 2012-01-14 20:20 bad answer :) 2012-01-14 20:21 wpwrak: it doesn't give a reason 2012-01-14 20:21 well, typically first. "make" to generate the sub-makefile and the toolpath. then "make mill" to send the job to my cnc mill 2012-01-14 20:21 Ayla: so none of the counters change ? 2012-01-14 20:21 Tcp: InSegs InErrs 2012-01-14 20:21 Tcp: +1 +1 2012-01-14 20:21 wpwrak: it does not help me ;) 2012-01-14 20:22 have you ever used this? http://u.jimdo.com/www14/o/s43f33e0d582132fb/img/idf0d85d1e27aff86/1279257227/std/image.jpg 2012-01-14 20:22 ah ! but that is useful :) 2012-01-14 20:23 it tells you that it made it all the way to TCP 2012-01-14 20:24 'InErrs' means that it failed, no? 2012-01-14 20:25 yes 2012-01-14 20:25 is that normal that I have '+1' on both InSegs and InErrs? 2012-01-14 20:26 and you can find all the reasons with grep TCP_MIB_INERRS net/ipv4/*.c 2012-01-14 20:26 yes. segment arrived ... and failed 2012-01-14 20:26 *.c? 2012-01-14 20:27 kernel source 2012-01-14 20:27 you can add printks to each place to get more detailed information about what went wrong 2012-01-14 20:28 wpwrak: why you wrote that snmp thing? 2012-01-14 20:29 wpwrak: what were you trying to solve? 2012-01-14 20:29 to find out why the stack didn't like what i was trying to do :) 2012-01-14 20:29 ah, benwpan thing? 2012-01-14 20:29 duh. probably some IP over ATM issue 2012-01-14 20:30 or maybe something before that. this script is ancient 2012-01-14 20:30 Ayla: can you post a dump somewhere 2012-01-14 20:30 *? 2012-01-14 20:30 probably some 15 years old 2012-01-14 20:30 wpwrak: ha. ok. 2012-01-14 20:30 whitequark, sure, a dump of what? 2012-01-14 20:31 and yes, it has seen a number of uses :) 2012-01-14 20:31 I imagined 2012-01-14 20:31 Ayla: the packets you're trying to kill your server with 2012-01-14 20:33 Ayla_ [Ayla_!~paul@117.188.103.84.rev.sfr.net] has joined #qi-hardware 2012-01-14 20:41 http://crapouillou.net/~paul/wrong.jpg 2012-01-14 20:41 http://crapouillou.net/~paul/right.jpg 2012-01-14 20:42 the first screenshot is the SYN packet I'm sending 2012-01-14 20:42 the second one is the SYN packet wget sends 2012-01-14 20:42 to which the server responds 2012-01-14 20:44 Ayla_: sigh. can you post a wireshark dump and not a screenshot? how I am supposed to know which field these changed bytes correspond to? 2012-01-14 20:44 I don't know how to save a wireshark dump :) 2012-01-14 20:49 whitequark: you can read raw tcp packets? i'm disappointed ;) 2012-01-14 20:50 Ayla_: File->Save ? 2012-01-14 20:53 whitequark: http://crapouillou.net/~paul/synflood.dump 2012-01-14 20:53 packet 1 is wget fetching a small text file 2012-01-14 20:53 packets 25 -> 39 are me trying different things 2012-01-14 20:54 I'll look into it in a 10 mins 2012-01-14 21:02 wej [wej!~j@m2.mullvad.net] has joined #qi-hardware 2012-01-14 21:21 skynet-2000 [skynet-2000!~skynet-20@unaffiliated/skynet2000] has joined #qi-hardware 2012-01-14 21:34 bbbb [bbbb!~Adium@178-190-215-94.adsl.highway.telekom.at] has quit [#qi-hardware] 2012-01-14 21:50 wej [wej!~j@m2.mullvad.net] has joined #qi-hardware 2012-01-14 21:51 I just saw this web site 2012-01-14 21:51 http://www.f-x.fr/wikini/wakka.php?wiki=PagePrincipale 2012-01-14 21:51 last change in 2008 2012-01-14 21:52 hm it's more about hacking closed devices than making one 2012-01-14 21:55 oh crap 2012-01-14 21:55 my eyes 2012-01-14 21:55 yes, you better disable their css 2012-01-14 21:55 the legal advice looks even better: http://www.f-x.fr/wikini/wakka.php?wiki=InfosLegales 2012-01-14 21:56 viric: there are a lot of people who are profoundly convinced in their creative abilities being limited to the immaterial domain 2012-01-14 21:56 as in "we can hack it open but there's no way we could build anything even remotely similar" 2012-01-14 21:57 early fish may have thought pretty much the same about lots of things :) 2012-01-14 21:58 I'm very impressed, by what people achieve, breaking into closed hw 2012-01-14 21:58 And a lot of that "lives" in quite populated web forums, where people design mini-circuits to make parts work... hack firmwares, deciphers the ciphered, ... finds jtags, ... 2012-01-14 21:59 and all looks like web pages or forums of car painters or so. 2012-01-14 21:59 well yes ... it's kinda like neanderthals successfully smuggling them aboard a space shuttle 2012-01-14 21:59 sure, impressive. but does this make them a space-faring civilization ? 2012-01-14 21:59 I mean 2012-01-14 22:00 no, it's "i'm mean" :) 2012-01-14 22:00 how do they manage to decipher those things, hack the bootloaders, put their own... 2012-01-14 22:00 And that people use interchange *compiled* programs 2012-01-14 22:00 instead of source 2012-01-14 22:00 exercises in futility. on both sides :) 2012-01-14 22:01 "I'm mean"? :) 2012-01-14 22:01 and what are the sides? 2012-01-14 22:01 (closed) makers vs. openers :) 2012-01-14 22:01 ahh 2012-01-14 22:01 well, sometimes those help in finding GPLed parts :) 2012-01-14 22:02 and getting manufacturers to publish 2012-01-14 22:02 But I feel like there are crowds of people in those forums that understand quite well electronics, understand linux, mips, whatever board details and devices there... 2012-01-14 22:02 occasionally perhaps. not very often. 2012-01-14 22:03 "street pressure" doesn't work well with megacorps 2012-01-14 22:03 :) 2012-01-14 22:03 what does work is competition 2012-01-14 22:03 I was following this: http://www.andyp.uwclub.net/livebox.html 2012-01-14 22:03 even pitiful competition. that scares them beyond belief. 2012-01-14 22:03 I understand you 2012-01-14 22:03 because they're well aware of their inability to innovate 2012-01-14 22:04 ah, you think that people can know well hacking all that, and then lack to innovate? 2012-01-14 22:05 I wonder what they work to get money 2012-01-14 22:05 work on. 2012-01-14 22:06 most people get money for doing nothing 2012-01-14 22:06 nah, not most, about half of the i'd say 2012-01-14 22:07 no .. the people from the big corps are the ones who can't innovate 2012-01-14 22:07 the ones reverse engineering are the ones who merely choose not to 2012-01-14 22:07 :) 2012-01-14 22:07 larsc: in which half did they put you ? :) 2012-01-14 22:08 wpwrak: i'm not quite sure yet 2012-01-14 22:09 ;-)) 2012-01-14 22:24 wolfspraul [wolfspraul!~wolfsprau@p5B0AC7A7.dip.t-dialin.net] has joined #qi-hardware 2012-01-14 22:24 paroneay` [paroneay`!~user@c-67-175-218-235.hsd1.il.comcast.net] has joined #qi-hardware 2012-01-14 22:31 wpwrak: where would be openwrt used by nanonote, if it weren't for reverse engineers? :) 2012-01-14 22:32 openwrt isn't related to reverse engineering 2012-01-14 22:32 it is a linux distro for routers. nothing more. 2012-01-14 22:33 how did you get kernel sources isn't actually related to the nature of openwrt 2012-01-14 22:33 pabspabspabs [pabspabspabs!~pabs@d175-38-164-81.per801.wa.optusnet.com.au] has joined #qi-hardware 2012-01-14 22:36 for closed-hardware routers 2012-01-14 22:36 mostly, no? 2012-01-14 22:36 even the name comes from those linksys 2012-01-14 22:42 rejon [rejon!~rejon@li382-141.members.linode.com] has joined #qi-hardware 2012-01-14 22:49 without having read up on the whole thread, from my personal experience I can say that if you stay within the realm of reverse engineering, you have no chance to grasp the economics of hardware 2012-01-14 22:49 whether that's design, testing, manufacturing, repair and recycling, logistics, etc. 2012-01-14 22:49 I think that's a problem 2012-01-14 22:50 I did reverse engineering for at least 10 years, in all sorts of areas, yet when I started with hardware around 2007, I was completely clueless. hardware was this big black box out of the magic copy machine that is China. 2012-01-14 22:51 unfortunately I think we must be allowed to say that a majority of free (and other) software engineers are still at this level 2012-01-14 22:51 the way to get out of that trap is to get out of the reverse engineering mindset, and instead start to do something by yourself, from scratch. create. reverse engineering is not bad, but if that's all you do I think you will hit a ceiling fast. 2012-01-14 22:51 that's my 2cents :-) 2012-01-14 22:53 viric: i just wanted to try xbboot, but i'm always getting -110 2012-01-14 23:09 wolfspraul: I second that 2012-01-14 23:45 I just submitted a bug on GCC: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51861 2012-01-14 23:45 beware with __builtin_unreachable() on MIPS 2012-01-14 23:53 [commit] Llu 2012-01-14 23:53 [commit] Axel Lin: ASoC: jz4740: Convert qi_lb60 to use snd_soc_register_card() (jz-3.2) http://qi-hw.com/p/qi-kernel/c80c63a 2012-01-14 23:53 [commit] Lars-Peter Clausen: Refresh nanonote defconfig (jz-3.2) http://qi-hw.com/p/qi-kernel/53cc9ea 2012-01-14 23:53 [commit] Lars-Peter Clausen: Rename nanonote_defconfig to qi_lb60_defconfig (jz-3.2) http://qi-hw.com/p/qi-kernel/ef83a07