<GitHub93> [extras-m1] shiyele pushed 2 new commits to master: http://bit.ly/jhEADj
<GitHub93> [extras-m1/master] changed font - Wolfgang Spraul
<GitHub93> [extras-m1/master] Merge branch 'master' of github.com:milkymist/extras-m1 - Wolfgang Spraul
<xiangfu> I got 'Milkymist Wiki has a problem' when open 'http://www.milkymist.org/wiki/'
<xiangfu> (Can't contact the database server: Lost connection to MySQL server at 'reading initial communication packet', system error: 113 (mysql.yiwa.dreamhosters.com))
<GitHub198> [extras-m1] yizhangsh pushed 1 new commit to master: http://bit.ly/j08GUD
<GitHub198> [extras-m1/master] added 5 m1 screenshots used in box_artwork.sla - Yi Zhang
<topi`> lekernel: it's a good observation - the whole academic world seems to be going towards payments in every aspect, from publishing to reading the articles
<topi`> the whole model doesn't make sense if looked from a nordic point of view (where universities are (still) free)
<GitHub21> [extras-m1] yizhangsh pushed 1 new commit to master: http://bit.ly/lMPCnN
<GitHub21> [extras-m1/master] add product label used for printing factory. - Yi Zhang
<GitHub69> [extras-m1] yizhangsh pushed 1 new commit to master: http://bit.ly/ioEDjM
<GitHub69> [extras-m1/master] moved x position to right in order to place the text in the center - Yi Zhang
<wpwrak> are there any "typical" problems that manifest themselves with jtag flashing getting stuck after "unlock block 0" ?
<wpwrak> rejon is struggling with updating his m1 ...
<rejon> this sucks
<kristianpaul> can you paste full log?
<rejon> ok, i'm trying reflash script
<rejon> it freezes
<rejon> and then i try the urjag method
<kristianpaul> you managed to load fjmem?
<kristianpaul> what happen when ran detect (in the urjtag console) ?
<rejon> worked
<rejon> ok, just got to running this
<rejon> [rejon@slowtop latest]$ sudo /usr/local/bin/jtag pld load fjmem.bit
<rejon> ?=}: unknown command
<rejon> CA: unknown command
<rejon> : unknown command
<rejon> 0ý: unknown command
<rejon> i compiled jtag from latest git
<rejon> and built it and installed
<kristianpaul> humm
<kristianpaul> how you could !
<rejon> kristianpaul, what do you mean?
<kristianpaul> well i guess urjtag from last commit should work
<rejon> yes
<rejon> hmmm
<rejon> what to do next?
<kristianpaul> wait
<kristianpaul> why no from a urjtag console?
<kristianpaul> cable milkymist
<kristianpaul> is the _first_ thing to do
<rejon> yes
<rejon> i ran all the commands up to:
<rejon> cable milkymist
<rejon> detect
<rejon> instruction CFG_OUT  000100 BYPASS
<rejon> instruction CFG_IN   000101 BYPASS
<rejon> pld load fjmem.bit                # LED D2 flashs
<rejon> ok, i just compared my configure options for compiling urjag and they match
<rejon> what is listed on the wiki
<kristianpaul> you got the error that wpwrak pointed from wich flashmem command?
<kristianpaul> or was from reflash script?
<rejon> kristianpaul, that is from reflash script
<rejon> this could be a urjag issue
<rejon> urjtag
<kristianpaul> you got your reflash script from here http://milkymist.org/snapshots/latest/reflash_m1.sh ?
<rejon> i got from what xiangfu just sent out
<rejon> i'm running commands manually right now
<kristianpaul> good
<rejon> argggg
<kristianpaul> what happened?
<rejon> nothing
<kristianpaul> ok..
<rejon> blocked on the fjmem.bit
<rejon> hmmmm
<rejon> on wiki says: $ git check -b m1 778242ef9fd00a8825dced9dc8c289515ecaeea0
<rejon> try that if urjag not working
<rejon> there is some basic problem here communicating with my mm1
<rejon> ha
<rejon> that checkout just changes po files
<rejon> rag
<rejon> arg
<kristianpaul> if help in something my local working urjtag repo last commit is
<kristianpaul> 3970ea74f78042b95cbb0c9c0b841c9ca37ccd11
<rejon> yah, its not that
<rejon> the latest checkout changes compared to yours are only PO files
<rejon> i'm using fedora15
<kristianpaul> there is no ujtag in fedora 15?
<kristianpaul> why no jsut install it from repo? or may be too old..
<kristianpaul> you had same unlock block 0 with flashing from comands?
<rejon> i can't get to that
<rejon> from running from commands
<rejon> i think that indicates earlier problem
<kristianpaul> in wich part you get stuck?
<rejon> at the
<rejon> pld load fjmem.bit
<rejon> sudo /usr/loca/bin/jtag pld load fjmem.bit
<kristianpaul> but, well i never ran jtag that way, but how you tell wich cable are you using when ruuning that pld load out from the jtag console
<kristianpaul> but i guess that method worked for you in the past..
<rejon> i just used the reflash script, but was running on ubuntu then
<kristianpaul> why not just you save all the urjtag in a file and run
<kristianpaul> sudo /usr/loca/bin/jtag -n file_with_commands
<kristianpaul> all the urjtag commands i meant
<kristianpaul> cable milkymist
<kristianpaul> detect
<kristianpaul> ..
<kristianpaul> etc
<rejon> ok
<rejon> 1 sec, brb
<rejon> ok back
<rejon> kristianpaul, yes, tried with commands
<rejon> still appears to be freezing
<rejon> am i here?
<kristianpaul> hi
<kristianpaul> yes you are rejon
<rejon> ok cool
<kristianpaul> tried commands inside a file with jtag -n file ?
<kristianpaul> rejon: ?
<rejon> yes, i was going one by one
<rejon> line by line
<rejon> i get errors
<rejon> on the fjmem.bit
<rejon> well, its spews unknown
<kristianpaul> no, but you put _all_ comands in file and run jtag for reading that file with -n ?
<kristianpaul> sorry is not clear your answer to me yet
<rejon> yes kristianpaul
<rejon> when i do that
<rejon> i don't see the errors from running the commands
<rejon> but get to the writing portion and the process freezes
<rejon> it is not a specific freeze
<rejon> it makes it sometimes further, sometimess less
<kristianpaul> odd
<kristianpaul> rejon: the detect command (running it from a urjtag console) never fails?
<rejon> right
<rejon> ok, cool
<rejon> now running jtag in interactive mode
<rejon> jtag> detect
<rejon> IR length: 6
<rejon> Chain length: 1
<rejon> Device Id: 00100100000000001000000010010011 (0x24008093)
<rejon>   Manufacturer: Xilinx (0x093)
<rejon>   Part(0):      xc6slx45 (0x4008)
<rejon>   Stepping:     2
<rejon>   Filename:     /usr/local/share/urjtag/xilinx/xc6slx45/xc6slx45
<rejon> is output when running detect
<rejon> i will continue
<kristianpaul> instruction CFG_OUT 000100 BYPASS
<kristianpaul> instruction CFG_IN 000101 BYPASS
<kristianpaul> pld load fjmem.bit
<kristianpaul> yes please
<rejon> jtag> pld load fjmem.bit
<rejon> Bitstream information:
<rejon> Design: system-routed.ncd;UserID=0xFFFFFFFF
<rejon> Part name: 6slx45fgg484
<rejon> Date: 2011/02/24
<rejon> Time: 22:33:26
<rejon> Bitstream length: 1484404
<rejon> ok cool
<rejon> that ran
<kristianpaul> good
<kristianpaul> hurry 1
<kristianpaul> ;-)
<rejon> jtag> initbus fjmem opcode=000010
<rejon> jtag> frequency 6000000
<rejon> Setting TCK frequency to 6000000 Hz
<kristianpaul> s/1/!
<rejon> jtag> detectflash 0
<rejon> Query identification string:
<rejon> Primary Algorithm Command Set and Control Interface ID Code: 0x0001 (Intel/Sharp Extended Command Set)
<rejon> Alternate Algorithm Command Set and Control Interface ID Code: 0x0000 (null)
<rejon> Query system interface information:
<rejon> Vcc Logic Supply Minimum Write/Erase or Write voltage: 2700 mV
<rejon> Vcc Logic Supply Maximum Write/Erase or Write voltage: 3600 mV
<rejon> Vpp [Programming] Supply Minimum Write/Erase voltage: 0 mV
<rejon> Vpp [Programming] Supply Maximum Write/Erase voltage: 0 mV
<rejon> Typical timeout per single byte/word program: 512 us
<rejon> Typical timeout for maximum-size multi-byte program: 1024 us
<rejon> Typical timeout per individual block erase: 1024 ms
<rejon> Typical timeout for full chip erase: 0 ms
<rejon> Maximum timeout for byte/word program: 1024 us
<rejon> Maximum timeout for multi-byte program: 4096 us
<rejon> Maximum timeout per individual block erase: 4096 ms
<rejon> Maximum timeout for chip erase: 0 ms
<rejon> Device geometry definition:
<rejon> Device Size: 33554432 B (32768 KiB, 32 MiB)
<rejon> Flash Device Interface Code description: 0x0002 (x8/x16)
<rejon> Maximum number of bytes in multi-byte program: 1024
<rejon> Number of Erase Block Regions within device: 1
<rejon> Erase Block Region Information:
<rejon> Region 0:
<rejon> Erase Block Size: 131072 B (128 KiB)
<rejon> Number of Erase Blocks: 256
<rejon> ok cool
<rejon> jtag> flashmem 0 standby.fpg noverify
<rejon> Manufacturer: Intel
<rejon> Chip: 28F256J3A
<rejon> program:
<rejon> block 0 unlocked
<rejon> erasing block 0: 0
<rejon> addr: 0x0001F000
<rejon> block 1 unlocked
<rejon> erasing block 1: 0
<rejon> addr: 0x0003F000
<rejon> block 2 unlocked
<rejon> erasing block 2: 0
<rejon> addr: 0x0005F000
<rejon> block 3 unlocked
<rejon> erasing block 3: 0
<rejon> addr: 0x00078DD2
<rejon> verify skipped
<rejon> looks like writing is working from interactive mode
<kristianpaul> as i should ;)
<rejon> arg
<kristianpaul> it*
<rejon> ok at this step, waiting for:
<kristianpaul> what happen?
<rejon> jtag> flashmem 0x6E0000 soc.fpg noverify
<rejon> Manufacturer: Intel
<rejon> Chip: 28F256J3A
<rejon> program:
<rejon> block 55 unlocked
<rejon> erasing block 55: 0
<rejon> addr: 0x006FF000
<rejon> block 56 unlocked
<rejon> erasing block 56: 0
<rejon> addr: 0x0071F000
<rejon> block 57 unlocked
<rejon> erasing block 57: 0
<rejon> addr: 0x0073F000
<rejon> block 58 unlocked
<rejon> erasing block 58: 0
<rejon> addr: 0x00740000
<rejon> waiting now for > 1 min
<kristianpaul> sure sure
<rejon> should it take this long?
<rejon> erasing block 58: 0
<rejon> addr: 0x00740000
<rejon> still waiting
<kristianpaul> if is doing soemthing yes
<kristianpaul> it take a minute or so
<rejon> how can i tell?
<rejon> its just sitting there
<rejon> mm1 d2 led is still flashing
<kristianpaul> yeah leds blinks a lot good sign :-)
<rejon> (maybe i am not patient which be a horrible bug ;)
<rejon> man, my english is getting worse
<kristianpaul> if you want faster flashing times you can try later tftpboot
<rejon> (maybe i am not patient, which could be a horrible bug ;)
<rejon> i remember before, it flashed really quickly
<rejon> still waiting
<kristianpaul> cold down, if the led is active is doint something
<kristianpaul> calm*
<kristianpaul> doing*
<rejon> its a regular pulse, not changing with activity
<kristianpaul> the urjtag console still with activity?
<rejon> still on: erasing block 58: 0
<rejon> addr: 0x00740000
<kristianpaul> it shuld have finish by now i think
<rejon> yeah
<rejon> hmmmm
<rejon> kill it and try again?
<kristianpaul> sure, make sure just in case there are not other urjtag running too
<rejon> there is only 1
<rejon> ok?
<kristianpaul> good
<rejon> should i start the whole process again
<rejon> or just pick up where left off?
<kristianpaul> yes
<rejon> ok i had to restart jtag -i
<rejon> should i start with cable milkymist
<rejon> etc
<rejon> or just
<kristianpaul> yes
<kristianpaul> but in flash mem from soc.fpg
<rejon> flashmem 0x6E0000 soc.fpg noverify
<rejon> ok
<kristianpaul> but cable detect and bellow is a must
<rejon> ok
<rejon> so now will do: pld load fjmem.bit                # LED D2 flashs
<rejon> initbus fjmem opcode=000010       # Tells UrJTAG that a FJMEM core is present and how to address it.
<rejon> frequency 6000000
<rejon> detectflash 0
<rejon> endian big
<rejon> right?
<kristianpaul> yes
<rejon> the next two commands then would be: flashmem 0 standby.fpg noverify   # during flash, D3 flashs
<rejon> flashmem 0x6E0000 soc.fpg noverify
<rejon> oh was i supposed to powercycle mm1 b4 this?
<rejon> i think so
<kristianpaul> yes
<rejon> ok
<rejon> now, should i skip this? flashmem 0 standby.fpg noverify
<rejon> since that worked the first time?
<kristianpaul> yes skiU
<rejon> ok, ran: flashmem 0x6E0000 soc.fpg noverify
<rejon> jtag> flashmem 0x6E0000 soc.fpg noverify
<rejon> Manufacturer: Intel
<rejon> Chip: 28F256J3A
<rejon> program:
<rejon> block 55 unlocked
<rejon> erasing block 55: 0
<rejon> addr: 0x006F3000
<rejon> seems stuck here
<rejon> before went past this quick
<rejon> mm1 d2 led still flashin
<rejon> hmmmmmmmmmmm
<rejon> what is the problem
<rejon> hmmmmm
<rejon> still waiting
<kristianpaul> fllashing = blinking fast ? (just to confirm)
<rejon> yes
<rejon> ok definiltey stuck on this step: flashmem 0 standby.fpg noverify
<rejon> but in different block
<rejon> shall i kill and try again?
<rejon> or can we analyze the problem
<kristianpaul> led stoped flashing then?
<rejon> no
<kristianpaul> urjtag still stuck on addr: 0x006F3000 ?
<rejon> yes
<rejon> wpwrak, just told me to power down and make sure connections are good on m1
<kristianpaul> yes, also usb cable
<kristianpaul> all should work once that is verified to be ok
<kristianpaul> you havent retired the serial/jtag pod from the m1 latelly isnt?
<rejon> no, original serial/jtag pod
<rejon> ok, got further, but stuck
<rejon> trying to isolate power sources on same line
<rejon> unplugged other things
<rejon> now retrying
<kristianpaul> also let m1 disconnected for about a m1 just in case
<kristianpaul> minute*
<kristianpaul> rejon: further in soc.fpg?
<rejon> yes
<kristianpaul> can you try  flickernoise.fbi or bios.bin?
<rejon> ok
<rejon> ok now it froze here: instruction CFG_OUT  000100 BYPASS
<rejon> oops
<rejon> jtag> flashmem 0x6E0000 soc.fpg noverify
<rejon> Manufacturer: Intel
<rejon> Chip: 28F256J3A
<rejon> program:
<kristianpaul> :S
<rejon> ok, unplugged power and usb to computer...letting sit for a moment
<kristianpaul> not seems a issue just with flash  memory
<rejon> huh?
<rejon> ok, reconnecting power
<kristianpaul> i tought jsut was getting stuck when writing to m1 memory
<kristianpaul> s/flash/nor
<rejon> yes, that is what it seems like
<rejon> could that be my jtag?
<rejon> ok, so we got this to write completely before: flashmem 0 standby.fpg noverify
<kristianpaul> first case reported if it where.. but, that remenber me to ask you this jtag is fixed right?
<rejon> so now you want me to try and flash:
<rejon> flashmem 0x6E0000 soc.fpg noverify
<rejon> flashmem 0x860000 bios.bin noverify
<rejon> flashmem 0x220000 bios-rescue.bin noverify
<rejon> flashmem 0x880000 splash.raw noverify
<rejon> flashmem 0x920000 flickernoise.fbi noverify
<rejon> which one next?
<kristianpaul> all those already done?
<rejon> no i mean, which one should i try to flash next?
<rejon> those have not been flashed
<kristianpaul> try bios
<kristianpaul> bios.bin
<rejon> froze
<rejon> jtag> flashmem 0x860000 bios.bin noverify
<rejon> Manufacturer: Intel
<rejon> Chip: 28F256J3A
<rejon> program:
<rejon> block 67 unlocked
<rejon> ok, this appears to be a more generalized issue
<rejon> with the writing
<rejon> ok, what shall i try now???
<kristianpaul> alredy tried other usb port?
<kristianpaul> yes
<rejon> aha, i will try another usb port on my computer
<kristianpaul> try flickernoise.fbi
<rejon> ok
<kristianpaul> you have soc-rescue.fpg btw?
<rejon> no
<kristianpaul> ok
<kristianpaul> not needed here asking just in case
<kristianpaul> rejon: may i ask you from wher you get the soc.fpg file?
<kristianpaul> s/get/got
<rejon> its what the reflash script downloaded
<kristianpaul> if all this fail now, please get it from here http://milkymist.org/snapshots/latest/soc.fpg
<rejon> ok
<rejon> jtag> flashmem 0x920000 flickernoise.fbi noverify
<rejon> Manufacturer: Intel
<rejon> Chip: 28F256J3A
<rejon> program:
<rejon> block 73 unlocked
<rejon> erasing block 73: 0
<rejon> addr: 0x0093F000
<rejon> froze
<kristianpaul> humm
<rejon> -rw-rw-r--. 1 rejon rejon     543 Jul  1 16:20 batchfile
<rejon> -rw-rw-r--. 1 rejon rejon   73816 Jul  1 02:02 bios.bin
<rejon> -rw-rw-r--. 1 rejon rejon   73816 Jul  1 02:02 bios-rescue.bin
<rejon> -rw-rw-r--. 1 rejon rejon  131072 Jul  1 02:04 data.flash5.bin
<rejon> -rw-rw-r--. 1 rejon rejon 1484503 Jul  1 02:04 fjmem.bit
<rejon> -rw-rw-r--. 1 rejon rejon 1885580 Jul  1 02:10 flickernoise.fbi
<rejon> -rw-rw-r--. 1 rejon rejon 1484404 Jul  1 02:13 soc.fpg
<rejon> -rw-rw-r--. 1 rejon rejon 1484404 Jul  1 02:13 soc-rescue.fpg
<rejon> -rw-rw-r--. 1 rejon rejon  614400 Jul  1 02:13 splash.raw
<rejon> -rw-rw-r--. 1 rejon rejon  614400 Jul  1 02:13 splash-rescue.raw
<kristianpaul> okay move to another usb port
<rejon> -rw-rw-r--. 1 rejon rejon  495060 Jul  1 02:14 standby.fpg
<rejon> all from today
<rejon> kristianpaul, i just moved from one usb port to another one
<kristianpaul> hum..
<rejon> i'm on my laptop, no power plugged in
<rejon> running x201 thinkpad on battery
<kristianpaul> tried another usb cable?
<rejon> yes
<rejon> this is solid one from werner
<rejon> aha, soc-rescue.fpg
<rejon> is in that folder
<rejon> ok, what next?
<kristianpaul> let me think
<rejon> ok
<rejon> i'm thinking too
<kristianpaul> unplug and plug usb cable and pastebin dmesg please
<rejon> ok
<rejon> without powering off the milkymist?
<rejon> ahhh lekernel
<wpwrak> yes !-:)
<lekernel> hi
<rejon> hahaha
<rejon> lekernel, i'm having troubles flashing my m1
<rejon> kristianpaul, has been handling me well ;)
<lekernel> chedking log...
<lekernel> is your cable well plugged into the M1 socket?
<lekernel> this might look like JTAG communication issues
<lekernel> have you cut the pins of the serial connector? they are too long if you didn't
<kristianpaul> btw you jtag pod is fixed? i mean there was an issue with first jtag/pod run about full speed, i dont remenber if without this fix there is  chance for other issues in the long term
<kristianpaul> checks is backlog
<rejon> i have not touched my jtag
<kristianpaul> well, so i guess is fixed from facotry :)
<kristianpaul> factory*
<rejon> wpwrak, is looking at the connection
<rejon> kristianpaul, is the output from plugin, unplug, and plugin usb connection to m1 jtag
<kristianpaul> looks ok
<kristianpaul> new high speed..
<kristianpaul> may be jtag/pod is not well pluged?
<rejon> kristianpaul, what is this C27?
<rejon> is this related?
<kristianpaul> no no
<kristianpaul> is not, i just want to check you had a good jtag pod
<kristianpaul> from pastebin looks no problem on USB speed
<rejon> ok
<rejon> shit, we have to head to hotel...we are getting kicked out
<kristianpaul> resist ! :)
<wpwrak> bak in ~1-1.5 h
<rejon> ok, i have to pack up...i will be back online in 30 min
<kristianpaul> rejon: who plug you jtag pod?
<kristianpaul> pluged
<kristianpaul> ok
<rejon> wpwrak
<rejon> looked at
<kristianpaul> k
<rejon> said it looks fine
<rejon> i flashed my mm1 by myself before, but was running ubuntu
<rejon> now i'm running fedora15
<rejon> i will keep working on
<rejon> when i get back
<rejon> obviously, m1 doesn't work right now
<rejon> my presentation is in 19 hours
<rejon> on main keynote stage
<rejon> lots of ppl
<rejon> ok, bbiab
<kristianpaul> lekernel: i think the pins cutting was done adam for all pods
<roh>
<roh> re
<rejon> back
<kristianpaul> wb
<rejon> ok, i have 30 min to get my mm1 flashed
<rejon> b4 next conf. interruption
<kristianpaul> chmod +x flashall.batch
<kristianpaul> sudo jtag -n flashall.batch
<kristianpaul> and cross your fingers :)
<rejon> ok, majorly distracted
<rejon> doing now
<rejon> argggg
<rejon> shit
<rejon> its freezing sooner
<rejon> crap, i have to go to stupid conf. dinner
<rejon> back in a bit
<rejon> will not go samba with amazingly attractive ladies and come back and work on this
<rejon> i have had many great conversations here already about mm1 and qi stuff though, so this has been successful trip already
<rejon> bbiab
<rejon> thanks for help kristianpaul