Re: [LEDE-DEV] Handling the image generation process on ARC770

2017-07-24 Thread Alex
On 07/24/2017 11:54 AM, Felix Fietkau wrote: On 2017-07-24 20:09, Alexandru Gagniuc wrote: On 07/24/2017 01:42 AM, Felix Fietkau wrote: [snip] I think the most sensible way would be to change the kernel to support load_addr == entry_point. This could be achieved by adding a small assembly stub

Re: [LEDE-DEV] Handling the image generation process on ARC770

2017-07-24 Thread Felix Fietkau
On 2017-07-24 20:09, Alexandru Gagniuc wrote: > On 07/24/2017 01:42 AM, Felix Fietkau wrote: >> On 2017-07-21 18:53, Alexandru Gagniuc wrote: >>> Hello, >>> >>> I am looking to write some rules to generate images on an SOC we're >>> trying to port over. >>> >>> I need a vmlinux-initramfs ELF file w

Re: [LEDE-DEV] Handling the image generation process on ARC770

2017-07-24 Thread Alexandru Gagniuc
On 07/24/2017 01:42 AM, Felix Fietkau wrote: On 2017-07-21 18:53, Alexandru Gagniuc wrote: Hello, I am looking to write some rules to generate images on an SOC we're trying to port over. I need a vmlinux-initramfs ELF file with DWARF debugging information. This is useful because it goes straig

Re: [LEDE-DEV] Handling the image generation process on ARC770

2017-07-24 Thread Felix Fietkau
On 2017-07-21 18:53, Alexandru Gagniuc wrote: > Hello, > > I am looking to write some rules to generate images on an SOC we're > trying to port over. > > I need a vmlinux-initramfs ELF file with DWARF debugging information. > This is useful because it goes straight to gdb and can be loaded over

[LEDE-DEV] Handling the image generation process on ARC770

2017-07-21 Thread Alexandru Gagniuc
Hello, I am looking to write some rules to generate images on an SOC we're trying to port over. I need a vmlinux-initramfs ELF file with DWARF debugging information. This is useful because it goes straight to gdb and can be loaded over JTAG. I can write the following rule: define Device/ad