| acathla | hello | 16:39 |
|---|---|---|
| acathla | y'a une doc pour créer des plateformes pour mibuild? | 16:39 |
| acathla | is there a documentation to create new platforms for mibuild? | 16:40 |
| acathla | or just copy/paste of existing examples | 16:40 |
| bhamilton | Example where a new platform was created by looking at existing platforms: http://brandonhamilton.github.io/building-a-soc-with-migen/creating-platform-description.html | 16:50 |
| acathla | bhamilton, thank you | 16:53 |
| ysionneau | wow, I didn't know this documentation existed :) | 17:58 |
| ysionneau | very good! | 17:58 |
| ysionneau | acathla: hi! For which board do you want to add support for in mibuild? :) | 18:00 |
| ysionneau | is it possible to tell GNU as to just do the pre-processing part (like -E for gcc)? | 19:52 |
| ysionneau | I'm trying to debug some assembly defines/macros | 19:52 |
| ysionneau | oh, ok I just have to use gcc instead of gnu-as and specify -E | 19:53 |
| ysionneau | got it, thanks | 19:54 |
| ysionneau | I have confirmation that an LTE company is still manufacturing and designing chips with several lm32 coproc embedded in it | 20:22 |
| ysionneau | that's cool | 20:22 |
| ysionneau | they don't seem to run them over something like 100 MHz though | 20:25 |
| ysionneau | for some unknown reason | 20:25 |
| larsc | ysionneau: or just use cpp | 20:34 |
| ysionneau | yeah I'm doing something like lm32--netbsd-gcc -x assembler-with-cpp | 20:36 |
| ysionneau | I'm tring to do something like this: http://pastebin.com/GtAPpS50 | 20:40 |
| ysionneau | none of both work | 20:40 |
| ysionneau | either as a macro or as a define | 20:40 |
| ysionneau | calling it as set_cpuvar CURLWP, r12 for the macro, or SET_CPUVAR(CURLWP,r12) for the define | 20:41 |
| ysionneau | CPU_INFO_CURLWP is defined as offsetof(struct cpu_info, ci_curlwp) | 20:42 |
| ysionneau | the goal is to load the "ci_curlwp" member of the struct cpu_info *cpu_info_store; | 20:43 |
| ysionneau | it says: | 20:45 |
| ysionneau | /Users/fallen/dev/NetBSD/sys/arch/lm32/lm32/locore_subr.S: Assembler messages: | 20:45 |
| ysionneau | /Users/fallen/dev/NetBSD/sys/arch/lm32/lm32/locore_subr.S:53: Error: unresolved expression that must be resolved | 20:45 |
| ysionneau | the output of the pre-processor: http://pastebin.com/BxSjuBEG | 20:47 |
| ysionneau | is it incorrect to put ";" between instructions? :o | 20:50 |
| ysionneau | assembly generated by the pre-processor seems correct :o | 20:54 |
| ysionneau | arg ... | 20:55 |
| ysionneau | addi fp, sp, sp | 20:55 |
| ysionneau | sp is not an immediate :) | 20:55 |
| ysionneau | my god the error message is not clear | 20:55 |
| ysionneau | problem solved | 20:56 |
| --- Thu Aug 29 2013 | 00:00 | |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!