IRC logs for #openrisc Saturday, 2016-05-21

--- Log opened Sat May 21 00:00:16 2016
zumpWhats a good HW device to start designing stuff using AXI bus?01:38
olofkshorne: For the stack hack I think we can let it be for now. I guess the worst thing that could happen is that some struct comes out wrong in gdb03:53
olofkFor the first issue, I would like some input from stekern or blueCmd or someone else who has been doing more of the spec work03:55
blueCmdolofk: read the gcc code :P04:36
blueCmdstupid varags handling. remember it being a pain when porting glibc04:36
blueCmddon't remember the details tho, sorry04:36
shorneblueCmd: this is about return conventions, i.e. struct is returned as pointer passed to in r304:59
shorneI think I found in GCC here04:59
shornehttps://github.com/openrisc/or1k-gcc/blob/or1k/gcc/config/or1k/or1k.h#L54105:02
shorneLIBCALL_VALUEE, but not sure if its the whole picture, it doesnt match so well what is in gdb, Ill keep looking but if you know where a pointer would be helpful05:03
shorneolofk: I have one more small patch on top of the last which is a bit more safe handling of the 'stack hack'05:04
blueCmdshorne: https://github.com/openrisc/or1k-gcc/blob/or1k/gcc/config/or1k/or1k.h#L63805:05
shorneblueCmd: thanks05:08
shorneolofk: need to update some comments then Ill post another patch.  Theory of the fix is if we have fabricated args that we to copy to target and get a pointer to then we cant put on the bottom stack since we may need to put args there. So instead, we create some space at the top and put the data there (like a tiny heap).05:12
shornesounds complicated, but code fix is pretty minimal05:12
shorneand it should be more safe then whats there now05:13
ZipCPUzump: Isn't the AXI bus a Xilinx proprietary creation?  Good hardware, then, would be something from Xilinx.06:21
wallentoAXI is Amba is ARM06:39
ZipCPUwallento: I stand corrected.06:45
ZipCPUI just know I keep stumbling across these proprietary Xilinx IP blocks when wandering through the generate IP section of Vivado.06:46
wallentozump, I by the way would suggest starting with a zedbaord06:46
wallentoor something like this06:46
wallentomy wild guess is you have an ARM core, so designing your hardware block in a zynq platform comes pretty near06:47
--- Log closed Sun May 22 00:00:17 2016

Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!