| xiangfu | Hi lekernel | 05:29 |
|---|---|---|
| wolfspraul | xiangfu: hi there | 07:42 |
| wolfspraul | I am trying to flash your binaries from /people/xiangfu/milkymist-one | 07:43 |
| wolfspraul | I'm a little confused with the flashall.batch file in there | 07:43 |
| xiangfu | wolfspraul: jtag -n flashall.batch will flash all expect the 'flickernoise' | 07:44 |
| wolfspraul | the batch file in the wiki also has soc-rescue and splash-rescue | 07:45 |
| wolfspraul | and yes, also flickernoise.fbi, but in your directoy there is a file flickernoise.fbiz - it that zipped and will it be unzipped automatically? | 07:45 |
| wolfspraul | why is there no flickernoise in flashall.batch ? | 07:46 |
| xiangfu | my flash.batch have soc-rescue and splash-rescue too :) | 07:46 |
| xiangfu | wolfspraul: forget sorry. | 07:46 |
| xiangfu | adding now | 07:46 |
| wolfspraul | oh right, sorry. I confused the + and -. so in fact the soc-rescue and splash-rescue are missing in the batchfile as documented in the wiki | 07:47 |
| xiangfu | (fbiz) yes. just flash the fibz to milkymist. the new bios will automatic detect and extract it. | 07:47 |
| wolfspraul | http://www.milkymist.org/wiki/index.php?title=Flashing_the_Milkymist_One#prepare | 07:48 |
| xiangfu | http://downloads.qi-hardware.com/people/xiangfu/milkymist-one/2011-03-26/flashall.batch | 07:49 |
| xiangfu | check again. flickernoise added. | 07:49 |
| wolfspraul | when I built my urjtag, at the end it said "detected libusb: no" and "detected libftdi: no" | 07:49 |
| wolfspraul | is that a problem? | 07:49 |
| wolfspraul | maybe I need to install some -dev packages (Debian) to make it pickup libusb/libftdi... | 07:50 |
| xiangfu | yes | 07:50 |
| xiangfu | have to install them | 07:50 |
| wolfspraul | which ones are needed for our case? | 07:51 |
| wolfspraul | do I need both libusb/libfti? libfti2xx? inpout32? | 07:51 |
| xiangfu | libftdi-dev libftdi1 libusb-0.1-4 libusb-dev | 07:51 |
| wolfspraul | I have no user account in the milkymist wiki, but there are lots of spam accounts | 07:54 |
| wolfspraul | nice :-) | 07:54 |
| wolfspraul | ok great | 07:55 |
| xiangfu | http://www.milkymist.org/wiki/index.php?title=Flashing_the_Milkymist_One#compile_urjtag | 07:55 |
| wolfspraul | after apt-get libfti-dev libusb-dev, it picked up both of those now | 07:55 |
| xiangfu | I just updated. | 07:56 |
| wolfspraul | I created an account 'wolfgang', if Sebastien approves it I can edit too | 07:56 |
| xiangfu | hmm.. I think urjtag works with usb-0.1 and usb-1.0, great. I install both of them in my system. | 07:56 |
| wolfspraul | I don't think you need libftdi1 and libusb-0.1-4 in the list | 07:58 |
| wolfspraul | they will be pulled in by the -dev packages | 07:58 |
| xiangfu | ok. | 08:02 |
| xiangfu | updated: http://www.milkymist.org/wiki/index.php?title=Flashing_the_Milkymist_One#compile_urjtag | 08:03 |
| xiangfu | I am not sure if we need both libftdi1 and libusb. since we using the usb interface and libftdi chip in daughter board. I just install both of them. | 08:04 |
| xiangfu | need to make sure with someone who really understand the detail. | 08:05 |
| wolfspraul | strange. I had to run 'ldconfig' after 'make install' so that jtag could find liburjtag.so.0 | 08:05 |
| xiangfu | yes | 08:07 |
| wolfspraul | xiangfu: ok great, it all worked and I'm booting from your binaries :-) | 08:25 |
| wolfspraul | the used USB keyboard I bought still doesn't work, this time it has no USB hub | 08:25 |
| wolfspraul | works on my notebook | 08:25 |
| wolfspraul | is USB keyboard working in your images? | 08:26 |
| wolfspraul | it's the first time I try this keyboard, so it may very well be something with the keyboard | 08:26 |
| wolfspraul | I'm looking at the video-in preview now, nice | 08:26 |
| wolfspraul | had some trouble at first when I plugged in the camera, it didn't pickup the signal, and when i pressed 'ok', the board froze | 08:27 |
| wolfspraul | after a reboot it's all fine though | 08:27 |
| wolfspraul | let me see whether I can reproduce this... | 08:27 |
| xiangfu | great. next time I will try to add the "VERSIONS" and "md5sum". VERSIONS is for compile those bin with which git commit. | 08:27 |
| wolfspraul | nah, now it works | 08:27 |
| wolfspraul | ok, so my remaining problem is that the usb keyboard doesn't work | 08:27 |
| wolfspraul | no USB hub now | 08:28 |
| wolfspraul | can we increase the size of the video-in preview? | 08:28 |
| xiangfu | no | 08:28 |
| wolfspraul | If someone is really looking at it, I am sure there is no reason why it shouldn't be bigger, if we have the screen space anyway | 08:28 |
| wolfspraul | no bigger video-in preview? | 08:29 |
| xiangfu | no. | 08:30 |
| xiangfu | hardcode to 144x180 | 08:30 |
| terpstra | lekernel, Is Jon Beniston a lattice employee? | 08:32 |
| terpstra | (i am atm connecting gdb via my jtag chain tool and want to know if the code in gdb from him was used successfully, which i assume is 'yes' if he works at lattice) | 08:33 |
| wolfspraul | xiangfu: is the MAC hardcoded somewhere in those binaries? | 08:42 |
| tuxbrain | wolfspraul: (usb keyboard) mine is working on 0.2 version of firmware. | 08:49 |
| roh | hm. i've seen it working also here. | 08:52 |
| roh | no clue which version | 08:52 |
| wolfspraul | ah yes, sure in general it is working. | 08:52 |
| wolfspraul | I have 2 unknowns right now: 1) I reflashed Xiangfu's binaries 2) I have a new (used) USB keyboard I just bought for 5 USD on the street | 08:53 |
| roh | i used a crappy noname and a old cherry kbd i think. lekernel has a rollable rubbermat-thingie | 08:53 |
| roh | cram the keyboards into your notebook and see if they work there | 08:53 |
| wolfspraul | it works on my notebook but not on my m1 (with xiangfu images) | 08:53 |
| roh | i see. any usb errors in dmesg? | 08:53 |
| wolfspraul | sure it works there, otherwise I wouldn't ahve bought it. that was my 'in-store' test :-) | 08:53 |
| roh | maybe linux is just more error proof | 08:54 |
| wolfspraul | good idea, but no, all fine (just plugged in) | 08:54 |
| wolfspraul | roh - btw, I was looking at some screws on the market today | 08:54 |
| roh | hm | 08:54 |
| wolfspraul | I can easily get pretty much everything here | 08:55 |
| wolfspraul | the spacers, the bottom spacer/stand, the screws for top and bottom, and the ones for the connectors (that one I still need to find a bit shorter one) | 08:55 |
| wolfspraul | do you want me to buy anything and send to you? | 08:55 |
| roh | not sure. do you have prices? | 08:56 |
| wolfspraul | I don't like the allen/inbus keys we have right now. | 08:56 |
| wolfspraul | I'd prefer the simplest type possible, just a cross-type. | 08:56 |
| wolfspraul | the ones on the side (for the connectors) are not black yet, at least on my case | 08:56 |
| wolfspraul | prices is so close to zero it's hard to tell :-) | 08:56 |
| wolfspraul | the spacers were about 10 cents (the big ones) | 08:57 |
| roh | the 'small parts' are only 3-4 euros in total per case.. so its not that bad. its more important to have reliable repeatable sources for that (where i do not need to worry about getting something else for the same order-number) | 08:57 |
| wolfspraul | yes sure, agreed | 08:57 |
| wolfspraul | my main point is: | 08:57 |
| wolfspraul | 1) allen/inbus key | 08:57 |
| wolfspraul | 2) all screws black now? | 08:57 |
| wolfspraul | also the ones on the side holding the connectors? | 08:57 |
| wolfspraul | the screws must be something like 1-2 cents or so, or less | 08:58 |
| wolfspraul | I only bought 20-30, I cannot tell | 08:58 |
| roh | i'd like to use only black ones (anodized, not only colored, that rubs off) but i cannot get all types in black. | 08:58 |
| wolfspraul | she laughed at me and said I should buy at least 100 :-) | 08:58 |
| wolfspraul | do you still use allen/inbus keys on top and bottom? | 08:58 |
| roh | the top/bottom screws are something like 4 cent a piece. | 08:59 |
| roh | yes. inbus was nicest to use mechanically. slot sucks and pozidrive or so wasnt available with an nice flat head. only sucky, totally cheap looking ones and not in black. | 08:59 |
| wolfspraul | did you find black ones for the connectors on the side? | 09:00 |
| roh | its DIN912 | 09:00 |
| roh | nope. thats DIN7981 | 09:01 |
| wolfspraul | what is what? | 09:01 |
| wolfspraul | what is DIN912, what is DIN7981? | 09:01 |
| roh | the spec for the screw type. | 09:01 |
| roh | the rest is 'diameter, lenght' | 09:01 |
| wolfspraul | which one? | 09:01 |
| wolfspraul | you mentioned two now - DIN912 and DIN7981 - which one is which? | 09:01 |
| roh | 912 is the head/bottom one (inbus) and the 7981 is the one for the sides | 09:02 |
| wolfspraul | ah ok | 09:02 |
| roh | the sides are ST2.9x13 for the dmx and ST2.2/13 for the rca | 09:02 |
| roh | means you should be able to buy 'DIN912 M3x6' and 'DIN7981 2.2x13' as well as 'DIN7981 2.9x13' and they should ask for color and material only ;) | 09:04 |
| wolfspraul | you are very sure that the case I descriped as 'transparent light-blue' is the one called 'hellblau' (5C18) at modulor? | 09:04 |
| roh | very sure. | 09:04 |
| wolfspraul | ok good | 09:04 |
| roh | i found it nearly too transparent/light ... but i guess thats taste | 09:04 |
| roh | maybe we should test a bigger group than 3 people? ;) | 09:05 |
| wolfspraul | oh, DMX and RCA have different widths? | 09:05 |
| roh | yes. the thick ones break the rca socket, and the thin ones do not grip in the dmx. so we need 2 diameters | 09:05 |
| wolfspraul | interesting | 09:05 |
| wolfspraul | ok I will note some of this into parts.txt | 09:05 |
| roh | the thick ones i found in black. the thin ones not. | 09:05 |
| roh | it should be already in there | 09:06 |
| wolfspraul | understood | 09:06 |
| roh | the din arent in there arm.. adding | 09:06 |
| wolfspraul | roh: if we find an ST2.5, do you think it may fit in both the RCA and DMX connectors? | 09:25 |
| roh | dunno. we could try. | 09:26 |
| roh | but i dont think it exists. i would have seen on the lists | 09:26 |
| roh | if you want enough screws its easy to get built-to-order.. so i guess its the same like with getting black ones ,) | 09:26 |
| roh | pushed parts.txt | 09:26 |
| lekernel | terpstra: I think he is. but lattice is a chip vendor, which does not distinguish itself from the others regarding the quality of their software. | 09:57 |
| Fallenou | what is crazy is that making a chip is way more difficult than making a software | 09:58 |
| lekernel | for a very bad experience, you can try their LM32 simulator in GDB :) | 09:58 |
| terpstra | think i'll pass :) | 09:59 |
| lars_ | Fallenou: for a software guy maybe. | 10:02 |
| Action: Fallenou is not convinced :p | 10:02 | |
| lekernel | wolfspraul: can you post lsusb -vvv and dmesg traces of your non working keyboard to the list? | 10:03 |
| lekernel | wolfspraul: also, connect the keyboard in Milkymist BIOS and have a look at what gets sent to the serial port | 10:04 |
| lars_ | if all you ever did all your life long is designing and building chips I could imagine you might have trouble writing good software if you suddenly had to | 10:04 |
| lekernel | (btw the keyboard can also be used in the BIOS. well, when it works ;-) | 10:05 |
| Fallenou | lars_: I guess you're right | 10:12 |
| wolfspraul | lekernel: here is lsusb for the kbd http://pastebin.com/LWBeWSwq | 10:30 |
| lekernel | and dmesg, bios? | 10:31 |
| lekernel | it looks normal so far | 10:31 |
| lekernel | probably one of those incredibly pesky usb bugs... :( | 10:32 |
| lekernel | works fine on 20 keyboards, fails on the 21th | 10:32 |
| wolfspraul | dmesg http://pastebin.com/14Est1Qx | 10:32 |
| wolfspraul | bios need to try, what should I do exactly? | 10:33 |
| lekernel | ah, you have two input devices detected for this keyboard | 10:33 |
| lekernel | that might well be the problem | 10:33 |
| lekernel | just connect serial to observe the BIOS boot messages with the keyboard attached | 10:34 |
| lekernel | is that a keyboard with fancy "multimedia" keys? | 10:34 |
| lekernel | those have weird protocols sometimes | 10:34 |
| wolfspraul | no, very simple, logo says 'logitech' | 10:34 |
| wolfspraul | i will try bios in a bit, don't have my m1 in front of me right now | 10:35 |
| lekernel | and USB descriptor says "GREEN ASIA" ;) | 10:35 |
| methril | lekernel, is something wrong with the milkymist wiki? I<m unable to register | 15:52 |
| lekernel | no, it's just that account creation is disabled because of heavy spam bot attacks and mediawiki's ridiculous lack of solutions for it | 15:53 |
| lekernel | I can enable it for a while until you get your account created | 15:53 |
| methril | ok | 15:53 |
| lekernel | should be ok now | 15:54 |
| lekernel | tell me when you're done | 15:54 |
| methril | done | 15:54 |
| methril | thank you | 15:55 |
| lekernel | http://benkrasnow.blogspot.com/ | 16:12 |
| scrts | whoa o_O | 16:14 |
| kristianpaul | :o | 16:35 |
| mwalle | lekernel: terpstra: jon beniston was an external employee at lsc, just for porting binutils/gcc/gdb to the lm32 processor | 17:11 |
| lekernel | http://www.youtube.com/watch?v=Z1IMV3FJO7Q <= genode OS talk | 17:16 |
| kristianpaul | yes, install ssl dev pacjages for your syste, | 17:54 |
| kristianpaul | oops | 17:54 |
| mwalle | gdb stub is almost working.. i hacked flterm to pass the gdb packets to a pseudo terminal, so you can use flterm and gdb at the same time | 22:48 |
| --- Thu Mar 31 2011 | 00:00 | |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!