2009-05-21 03:43:29 Generate only the executable after building the kernel...
zigma dsp (GERMANY)
The default kernel configuration generates uImage and vmImage files along with the executable - 'linux'. Can I generate only the exe - 'linux' file?
I have the BF533 EZ-KIT and my data size is more than what can be booted. Ofcourse the size is much within the SDRAM limit. So I just want to run and debug the code, with the exe. I do not want bootable images (and I do not want any build errors which might throw off because of small flash size - when building).
How do I achieve the above?
2009-05-21 09:58:48 Re: Generate only the executable after building the kernel...
Robin Getz (UNITED STATES)
I don't understand what you are trying to do - without a file system - the kernel will panic, since it can't find init.
2009-05-21 10:51:48 Re: Generate only the executable after building the kernel...
zigma dsp (GERMANY)
Thanks for your time. Maybe I confused you with the 'exe' term.
This is what I want to do:
1. I have the final ELF image (kernel + application) that I can load through Ethernet and run directly by issueing the BOOTE command from uBoot. So I do have the file system.
2. When doing the make image, I get several other files, like the uImage, which can be used to boot from flash.
3. However I do not want any other image output, expect my ELF image (the 'linux' file among other files in uClinux/images dir). Is this possible?
2009-05-21 13:45:26 Re: Generate only the executable after building the kernel...
Mike Frysinger (UNITED STATES)
the output in images/ is handled by your board's makefile, so you're free to tweak it however you want. there is no option for doing this dynamically though. look at the 'image' target in vendors/<vendor>/<board>/Makefile.
2009-05-22 00:29:26 Re: Generate only the executable after building the kernel...
Frank Van Hooft (CANADA)
Just as a foolish idea, if all you want to do is remove a few additional files you don't need, why not use a shell script? You can call the standard "make" from your shell script, then do a bunch of "rm" after make's finished. That way you don't need any custom makefiles, and you can more easily switch it to newer blackfin uclinux branches (like the upcoming 2009R1) as well.