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