This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Did anyone build the linux kernel using uVision?

Since uVision supports gnu tools etc, it should be possible to buid the linux kernel for embedded use using it. The purpose would be good kernel debugging. I guess an important problem is how to control the make. Can uVision use external make files? If I cannot use the normal make structure of the kernel, each new kernel version will mean a lot of work.

Regards

Jokke

  • I don't think uVision can use make files, but that doesn't matter. You can run the compiler from the command line. Hence, an external make program can use the ARM compiler (armcc) to build programs.

    Were you thinking about uLinux?

  • No, we are building linux kernel for embedded use with arm9 in one project using the open embedded environment, and we have the uVision environment for another. I notice that we have bad facilities for debugging of the linux kernel code in that project, and it should be possible to debug it using Keils debugger, since we have a JTAG interface, and Keil supports ARM9. Maybe I just need an elf file and an available source code tree to do that?

    Jokke

  • " Maybe I just need an [elf] file and an available source code tree to do that?"

    Yes, that should do it!

    You may well have to tweak your build system to get it to generate exactly the file format(s) and level(s) of debug info that uVision requires...

  • I do my linux builds under linux, and keil runs in Windows. Can I just ftp the source tree over, and Keil will interpret the path's correctly? Or should I go for some kind of mingw build?

    Jokke