--- Log opened Thu Oct 15 00:00:27 2015 | ||
andrzejr | ysionneau, is arty-soc your project? | 07:43 |
---|---|---|
andrzejr | interesting approach to solving problems with xilinx ddr controller - reimplement everything from scratch. :-) | 07:46 |
poke53281 | olofk: There is another one in the musl chat who complains about busybox compilation. | 07:50 |
ysionneau | andrzejr: it's not "my project", but I'm working on it with _florent_ | 09:24 |
ysionneau | so far it's just a port of MiSoC on the arty board so "project" is a big word | 09:24 |
ysionneau | but it's also meant to be a logic analyzer (see the other target) which then can be called a project :) | 09:25 |
olofk | andrzejr, ysionneau: I really like that MiSoC has a tech-independent DDR2/3 controller. Would love to see some more DFI backends for different FPGAs too | 11:07 |
olofk | But from experience I know that this part can be tricky. FPGA vendors like to use a lot of undocumented primitives and weird tricks for their DDR* PHYs | 11:08 |
olofk | poke53281: Lol. They spent hours last night discussing how bad utmp was. This guy just missed out on that :) | 11:11 |
-!- orsonmmz|away is now known as orsonmmz | 13:27 | |
ysionneau | olofk: yes it's cool! | 13:30 |
-!- orsonmmz is now known as orsonmmz|away | 13:30 | |
ysionneau | I think (hope) soon there will also be a working DDR controller on Artix devices | 13:30 |
GeneralStupid | hi is anyone there who might help me debugging my openrisc? | 20:27 |
olofk | GeneralStupid: Bring it on. Might not be able to help you right now though | 20:35 |
GeneralStupid | I think about switching to IDE with OpenOCD Plugin ... | 20:35 |
GeneralStupid | If i load a compiled program with openocd it does not run... | 20:37 |
GeneralStupid | It does nothing :) | 20:37 |
olofk | GeneralStupid: You're holding it wrong | 20:38 |
olofk | Sorry | 20:38 |
olofk | Can you upload it with openocd command line? | 20:38 |
GeneralStupid | olofk: telnet? i tried openocd's telnet and openocd with GDB | 20:39 |
olofk | Yes. I was thinking of the telnet approach. It's easiest | 20:45 |
olofk | One thing to watch out for is that you need to compile the elf with gcc. Just using as doesn't work | 20:45 |
GeneralStupid | olofk: the elf? :/ | 20:46 |
GeneralStupid | i compiled my code | 20:47 |
olofk | Yes, the elf. As long as you used gcc, it should be ok. Have you verified that openocd connects ok? | 20:53 |
GeneralStupid | olofk: | 20:55 |
GeneralStupid | https://dpaste.de/Dmzz | 20:56 |
_franck_ | $/nicklist screen | 21:02 |
olofk | GeneralStupid: I think that should be ok. You could correct the tap id just in case | 21:09 |
olofk | Got to sleep now. Good luck | 21:09 |
GeneralStupid | olofk: thank you | 21:09 |
andrzejr | GeneralStupid, do the usual openocd commands work? (halt, resume, mdw 0 256, etc) | 21:17 |
GeneralStupid | andrzejr: looks like they work | 21:18 |
andrzejr | what do you see when you upload the program and jump to 0x100 manually? | 21:20 |
GeneralStupid | andrzejr: hmmm can you give me your commands ? | 21:22 |
andrzejr | halt | 21:27 |
andrzejr | load_image program_file_name.elf 0 elf | 21:27 |
andrzejr | reg npc 0x100 | 21:27 |
andrzejr | resume | 21:27 |
GeneralStupid | > load_image Hello.elf 0 elf | 21:30 |
GeneralStupid | couldn't open Hello.elf | 21:30 |
GeneralStupid | Hmmm | 21:30 |
_franck_ | GeneralStupid: use full path | 21:31 |
GeneralStupid | :/ | 21:37 |
GeneralStupid | _franck_: thanks, that looks good... but still looks like nothing happens | 21:39 |
andrzejr | you can stop (halt) the program at any time and see what it is doing (reg npc, set breakpoints etc) | 21:42 |
GeneralStupid | andrzejr: ok - i see that he changes the addresses, so it looks like the CPU is running | 21:43 |
andrzejr | if you want to see where in the program you are do "or1k-elf-objdump -D program_file_name.elf | less" and search for the address | 21:44 |
GeneralStupid | okay, i tooked the gpio module and removed that input output stuff and just used one direction | 21:45 |
GeneralStupid | But i left gpio_dir_o empty... But this had already worked | 21:46 |
GeneralStupid | oh my ... i started to implement the communication to the LC Display... | 22:00 |
GeneralStupid | maybe... my core is a bit "misconfigured" | 22:00 |
GeneralStupid | no did not work | 22:05 |
GeneralStupid | where can i see the wishbone bus configuration (e.g. memory addresses) in a build project? | 22:09 |
GeneralStupid | got it, looks ok | 22:14 |
GeneralStupid | but my led's are not working :/ | 22:27 |
GeneralStupid | i checked the addresses | 22:27 |
GeneralStupid | and now i checked the pinning | 22:27 |
GeneralStupid | looks okay | 22:27 |
-!- alex-guo_ is now known as alex-guo | 23:32 | |
-!- Netsplit *.net <-> *.split quits: clopez, ed-jones, _franck_, andrzejr, jonmasters, GeneralStupid, stekern, Amadiro, kiwichris, jeffesquivels, (+32 more, use /NETSPLIT to show all of them) | 23:54 | |
--- Log closed Fri Oct 16 00:00:28 2015 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!