Rewriting parts of hal ..
Michael Grunditz (467) 531 posts |
Hi I think I have decided to rewrite some parts of the HAL to GAS syntax and perhaps even build them outside RO with a plain arm-elf toolchain. Another thing I will tryout is the AsAsm assembler. Michael |
Michael Grunditz (467) 531 posts |
OK, I skip the GAS idea. I also prefer ObjAsm syntax. But I don’t think I can do without elf. I don’t mean to make the changes official , its just that I got stuck last time I tried to port RISC OS somewhere in the borderlines between HAL and kernel code. That code is long gone , but this time I want to use jtag so I know what happens. AsAsm seems to output suitable elf’s but I still have the problem with getting the start address to be something not 0×0. |
Rick Murray (539) 13850 posts |
<raises hand> That’s the assembler in the GNU toolchain, right? |
Michael Grunditz (467) 531 posts |
Yes ofc , I have done that in the past and will continue to do it. The problem is when I get stuck somewhere where serial output is impossible. Anyway , I just managed tp get a AsAsm assembled program work in gdb+jlink , including branching \o/ . I will stick with elf for a while than switch to AOF , when most things work. |
Raik (463) 2061 posts |
Hello Michael. Another question, sorry. Have you continued the Freescale port or not? The second would be unfortunate. |
Michael Grunditz (467) 531 posts |
Yes that is what all this is about :) The problem was that my previous attempts was lost in a harddisk failure. I have moved on from MX51 to MX53 with quad core MX6 in the pipeline. I am much more confident in my new toolchain with JTAG etc.. so I think it will work better this time. |