--- Log opened Wed Jun 22 00:00:04 2016 | ||
-!- Netsplit *.net <-> *.split quits: _franck_, zama, wallento, andrzejr | 03:04 | |
-!- wallento_ is now known as wallento | 03:04 | |
-!- andrzejr_ is now known as andrzejr | 03:04 | |
-!- zama_ is now known as zama | 03:04 | |
olof | Anyone got this error when compiling Linux for OpenRISC? | 07:20 |
---|---|---|
olof | .tmp_kallsyms1.o: In function `kallsyms_addresses': | 07:20 |
olof | (.rodata+0x0): undefined reference to `_text' | 07:20 |
ZipCPU | That looks like a linker script error. Shouldn't the linker script define _text to something like the beginning of the _text_ segment? | 07:20 |
olof | Works now | 07:27 |
olof | It was either a problem with my defconfig, or because I compiled with -j9 | 07:27 |
ZipCPU | "-j9"? I can't find that anywhere in the GCC man page. Is that an OpenRISC specific compiler option? | 07:31 |
stekern | make -j9 | 07:32 |
stekern | I presume ;) | 07:32 |
shorne | make, what version are you compiling? | 07:34 |
shorne | of linux? | 07:34 |
olof | Hmm..It's an old version I had downloaded. Looks like it's from early last year, with my memset patch applied | 07:35 |
olof | Is it worth trying latest head of openrisc/linux ? | 08:09 |
olof | Anyone handy with device trees? | 08:48 |
ZipCPU | No, but I found a tutorial on them here: xillybus.com/tutorials/device-tree-zynq-1 | 08:54 |
stekern | what do you want to know? | 09:01 |
olof | stekern: How to declare a SPI controller without adding any slaves. | 09:44 |
olof | I think spidev might be a keyword here | 09:47 |
_franck_ | olof: it depends which controller you want to use | 10:23 |
_franck_ | normally you'd go in linux/Documentation/devicetree/bindings/ to check what the binding is | 10:23 |
_franck_ | but basically to probe your device you need a compatible string and a reg property | 10:25 |
olofk | _franck__: I think I got the controller part right. I just copied the one from the de0_nano devicetree (the usual OpenCores simple-spi core). | 14:45 |
olofk | But all spi entries in that device tree also described the slaves on that bus. I got several slaves without drivers, so I just want raw access to the bus | 14:46 |
olofk | Can anyone come up with some alternative workflows to FuseSoC? HDLMake from CERN is the only one that comes to mind | 16:31 |
olofk | And standard makefiles of course | 16:31 |
olofk | Sigasi perhaps, or other eclipse-based flows | 16:32 |
-!- mboehnert1 is now known as mboehnert | 20:00 | |
--- Log closed Thu Jun 23 00:00:06 2016 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!