sorry for sending it twice. I intended to send to the mailing list.
On 07/08/2013 11:55 AM, Stefan Kalkowski wrote:
Hi Aditya,
On 07/08/2013 11:03 AM, Aditya Kousik wrote:
Hi Stefan,
You got us. We tweaked all the iMX53 files to make it into imx6. :D
so excuse me for thinking something else!
(editing create_builddir to add foc_imx6, hw_imx6 etc.) and edited all related platform folders and header file register addresses (board_base.h). And simply ran make followed by make run/demo. We've got the image.elf and uImage. Now stuck on booting these on the i.MX6.
In that case, it can be really everything: beginning with the wrong initialization of the serial device, errors in the memory layout, booting the kernel image to a bad position and so on. It's impossible to give you a general advice hereby.
Being in your situation I would start by instrumenting the base-hw kernel, so it will first print something to serial line. Please have a look at the kernel function:
https://github.com/genodelabs/genode/blob/master/base-hw/src/core/kernel.cc#...
This is the first C-function triggered after a few assembler instructions in:
https://github.com/genodelabs/genode/blob/master/base-hw/src/core/arm/crt0.s...
If it doesn't print anything, you might use a JTAG debugger to have a look what happens after u-boot jumps to the first kernel instruction. If you don't have a JTAG debugger available, ensure that your kernel image doesn't get loaded to memory where u-boot resides in, or to the first page of physical memory.
Good luck, and best regards Stefan
Thanks and Regards Aditya
On 8 Jul 2013 14:24, "Stefan Kalkowski" <stefan.kalkowski@...1... mailto:stefan.kalkowski@...1...> wrote:
Hi Aditya, On 07/08/2013 08:48 AM, Aditya Kousik wrote: > Hello, > > I'm trying to run Genode on an i.MX6. And I've tried copying uImage. But > that doesn't seem to be enough. I came across this : > http://comments.gmane.org/gmane.os.genode.devel/813 I hope you're not trying to use the uImage build for i.MX53 on a i.MX6 platform? Apart from u-boot, the kernel, as well as Genode's core process, and drivers are hardly bound not only to the SoC (i.MX53 or i.MX6), but also to the board the SoC is built in. So you can't just run the same image built for i.MX53 Quickstart board without modifications on some i.MX6 board. Regards Stefan > > Your set of u-boot files, is it pandaboard specific? or can the MLO, > u-boot.bin be copied to any device and booted? > > What's the procedure of booting from using the image.elf? (So far, i ran > mkimage and created a uImage file. But that's obviously not enough. > What's missing?) > > Thanks and regards, > Aditya > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > > > > _______________________________________________ > Genode-main mailing list > Genode-main@lists.sourceforge.net <mailto:Genode-main@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/genode-main > -- Stefan Kalkowski Genode Labs http://www.genode-labs.com/ · http://genode.org/