2011-11-11 05:55 glad to say thanx_xiangfu for 64M uboot! 2011-11-11 20:18 hello kristianpaul :) 2011-11-11 20:21 Artyom: hey 2011-11-11 20:21 kristainpaul I want to thank you for pointing me towards TDC-project :) 2011-11-11 20:22 oh, how it went? 2011-11-11 20:22 I could start it on my board and I saw some text through UART :) 2011-11-11 20:22 yay ! 2011-11-11 20:23 But I have several questions... Can I ask you? 2011-11-11 20:23 oh absoulutelly 2011-11-11 20:25 First of all I want to uderstand where can I put my own program? In the example all the code is placed in the FPGA block-RAM. But if the program is big then where it can be placed? 2011-11-11 20:25 it dint booted a bios? 2011-11-11 20:25 okay, of course that port cant run linux 2011-11-11 20:26 I think it boot bios... 2011-11-11 20:26 but you usually can copmile you own standalone program and link it with the bios i think, or load by bios 2011-11-11 20:27 but in what memory can I store the programs? Can it be some external flash-memory? 2011-11-11 20:27 ah this bios is a bit limited 2011-11-11 20:27 but there is other milkymist bios with more options let me point it to it 2011-11-11 20:28 flash-memory yes 2011-11-11 20:28 but of course that means you need add support for that in your board 2011-11-11 20:29 even the same bios on my M1 board can boot trought network 2011-11-11 20:29 will the prgram be exacuted from flash in this case? Or it first should be loaded from flash to some fpga-block memory at first? 2011-11-11 20:30 first is loaded to ram, i think its called execute-in-place 2011-11-11 20:31 but in the TDC port dont seems like it 2011-11-11 20:32 What can be used as RAM? Only FPGA-block memory or also DDR SDRAM? 2011-11-11 20:34 yes DDR ram is posible too, but requires more of work 2011-11-11 20:35 s/ram/sdram 2011-11-11 20:36 Is DDR SDRAM slower then FPGA block memory? 2011-11-11 20:36 i dont think so 2011-11-11 20:36 at least the implementation milkymist uses seems to be good 2011-11-11 20:38 And final questions: Do I need different Makefiles and *.ld files for compiling programs for SDRAM or block memory? 2011-11-11 20:38 hum thats a good one 2011-11-11 20:39 for block memory i think i came from a .rom file i'm, not sure i have look all tdc soc 2011-11-11 20:39 can you join /j #milkymist btw :-) i think lekernel there can explain better about block memory 2011-11-11 20:40 but for sdram as i said, with the bios you can load programs to memory 2011-11-11 20:41 kristainpaul: thank a lot for your answers. They help me to plan how to study milkymist :) 2011-11-11 20:41 of course sdram usually provides more 2011-11-11 20:41 minute 2011-11-11 20:41 this is a another milkymist port https://github.com/fallen/milkymist-avnet 2011-11-11 20:41 btw Is there any logs of milkymist irc-channel? 2011-11-11 20:42 yeap 2011-11-11 20:42 http://en.qi-hardware.com/irclogs/index.html 2011-11-11 20:42 //en.qi-hardware.com/mmlogs 2011-11-11 20:42 oos 2011-11-11 20:43 :) 2011-11-11 20:43 oh .. sorry. that was qi-hw 2011-11-11 20:43 i shouldn't try to be faster than i am ;-) 2011-11-11 20:43 thanks a lot :) 2011-11-11 20:44 How is your work with gps? Did you start the board with the front-end clock? 2011-11-11 20:46 i wanted to boot... 2011-11-11 20:46 but i wotn 2011-11-11 20:46 wont* 2011-11-11 20:47 i mean, besides the gclk pin i got is not buffered or something, so i must declare that pin like not a main clock (wich of course is not true) 2011-11-11 20:48 you couldn't use GCK pin for external reference clock? 2011-11-11 20:49 i do, but the pin is not part bufg, 2011-11-11 20:50 but is gclk 2011-11-11 20:50 so xst complains about it :( 2011-11-11 20:53 part of BUFIO2 2011-11-11 20:55 And what is the result? DDCM doesn't work? 2011-11-11 20:58 i set dcm to generate 81900 hz clock, but i tried no boot.. 2011-11-11 20:58 i havent to time to check if i met timings, wich i bet i dint after declare that CLOCK_DEDICATED_ROUTE = FALSE; 2011-11-11 20:59 Did you try to check this signal with scope? 2011-11-11 20:59 how check, signal from DCM out? no i havent yet i wil yes 2011-11-11 21:02 busy week, i now i travel again back to pasto, trying to reach the cathedral at ipiales :) 2011-11-11 21:02 i'm really considerin get a part time work :) 2011-11-11 21:03 you can just assign signal from DCM to some pin and use the scope to check it... 2011-11-11 21:03 Seems that you like to travel :) 2011-11-11 21:04 it's a good season now? 2011-11-11 21:05 all is cheap now yes :), but now is familly travel, i just recomend visit pasto and where we go.. 2011-11-11 21:06 s/where/there 2011-11-11 21:28 Artyom: i worst case i have a spartan3 board to test 2011-11-11 21:28 but i still want to use M1 and worth it ;) 2011-11-11 21:28 what board do you have? :) 2011-11-11 21:30 Avnet Spartan-3A Evaluation Kit 2011-11-11 21:32 And I have also digilent s3eboard... 2011-11-11 21:45 Artyom: bw aware own libc from this bios, i had surprises for printf and floats 2011-11-11 21:46 ok... It seems that I will have to spend couple of months playing with milkymist SoC before I will be able to make something useful ;) 2011-11-11 21:49 osgps is not that complex to be intetrated in the bios as a comand i think 2011-11-11 21:49 also the isr have examples already (uart code) 2011-11-11 21:52 at least for one tracking channel i hope i can run, even if you dont have sdram 2011-11-11 21:53 Artyom: i think you can implement this bios https://github.com/milkymist/milkymist/blob/master/software/bios/main.c#L410 2011-11-11 21:54 and do serial boot, you'll need flterm https://github.com/milkymist/milkymist/blob/master/tools/flterm.c 2011-11-11 21:56 Sorry: what is serial boot? 2011-11-11 21:56 serial/uart 2011-11-11 21:57 s3eboard dint have a 16 bit memory? 2011-11-11 21:57 i think https://github.com/carlobar/milkymist had same board 2011-11-11 21:57 and got working ram, dont remenber... 2011-11-11 21:57 may be irclogs at milkymist by carlobar 2011-11-11 22:01 yes, I have the same board. I think it's better to start from this project :) 2011-11-11 22:04 Kristianpaul thatks a lot for your help! Now it's time to sleep for me. Bye!