GNU binutils & PowerPC VLE

2014-04-30 Thread Martin Hinner
Hello, I know this topic does not exactly fit this mailing list, but I think it's better to ask here than on binutils. I need to assemble and disassemble some PowerPC VLE (variable length encoding) e200 code. Binutils as of 2.23.2 support VLE. But when I try to use objdump -D with -m powerp

Re: Loading kernel on MPC86x

2013-08-26 Thread Martin Hinner
On Mon, Aug 26, 2013 at 7:14 PM, Scott Wood wrote: >> that kernel must be at location 0. Another problem was that interrupts >> got re-enabled during execution of my bootloader (I am doing some >> syscalls -> goes to Cisco rom), > Do you mean you're calling into the rom after Linux has already st

Re: Loading kernel on MPC86x

2013-08-24 Thread Martin Hinner
Hello again, just a quick update: I have spent some more time on this and now I can boot into kernel (it works even with initramfs and simple assembly HelloWorld, so it's time to compile userland now). The problem was that kernel must be at location 0. Another problem was that interrupts got re-

Loading kernel on MPC86x

2013-08-24 Thread Martin Hinner
Hi, I am trying to load kernel 2.6.39 on MPC86x-based Cisco 8xx router (I need development platform for another embedded project and this router was first suitable device I have). So far I have: - built crosscompiler - created simple bootloader based on CILO code that can load ELF (zImage) int