mini2440 - boot 3.16 kernel

sudip
hi all,
I am trying to boot from a 3.16 main line kernel built from
mini2440_defconfig. But it is not booting . Has any one tried to boot from
the given defconfig .

thanks in advance
sudip

davef
I far as I aware there are quite a number of patches necessary to get the
mini2440 to run on a mainline kernel.

I don't know if the mini2440 would even boot from a mainline kernel.

I suggest having a look through the patch set in the Pengutronix mini2440
BSP to get an idea of what is required to get a functioning mini2440.

Good luck!

sudip
I have already tried to boot the mainline kernel and it didnt boot. So
actually my question is : has any one tried to boot the mainline kernel
using mini2440_defconfig ? 
And if it doesn't boot then why do we have mini2440_defconfig in the
mainline kernel ..

Renato Aloi
Hi! Do you mind sharing where did you get this mainline kernel 3.6 source
code from? just to be sure we are talking about same thing here.

I am working with Emdebian wheezy-grip for rootfs and have downloaded the
modified kernel 2.6.32 and arm toolchain 4.4.3 for mini2440 from:

friendlyarm.net/downloads

Where did you get yours?
Renato

davef
Main line is at kernel.org

davef
And if it doesn't boot then why do we have mini2440_defconfig in the
mainline kernel ..

Missed this ... I think because there was work done by buserror years ago
that with his patches (?) would allow you to boot the unit.  Unfortunately,
the mini2440 was not maintained in mainline.

Fortunately, Pengutronix came to the rescue with BSPs that actually work
and have been maintained up until recently

Renato Aloi
I've managed to take a look at git repo. It appears to be some work in
progress about this subject indeed...

Is buserror Arnd Bergmann?

Found this:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/?id=...

I've heard about Pengutronix BSPs. Hoping for some free time to take a
look!

davef
buserror = Michel Pollet

I have been off mainline for about 2 years so I REALLY don't know the state
of any mainline kernel for the mini2440 ... so I need my understanding
updated if it is possible to get a mainline kernel working without having
to jump through too many hoops.

Pengutronix works and the free support is top-notch.  And there is even a
good Quickstart guide that really helps people starting out.

Good luck!

davef
You could grab the latest mini2440BSP from Pengutronix and look at the long
list of patches that are applied ... from what I understand are required to
get the mainline kernel to work properly.

Renato Aloi
davef, thanks for the information! I am starting now, but eager to know
more about embedded linux! Took me 5 days to understand how boot process
works! I had some set backs here because my uBoot was not running from RAM.
So, because you pin-point bill's station forum to me, I've managed to find
the anwser to my problem:
http://billforums.station51.net/viewtopic.php?f=1&t=2#p77

And there is a work around instructions here:
http://billforums.station51.net/viewtopic.php?f=1&t=2

@ May 31 2010 update!

So now I have my uBoot up and running! I just booting now my first linux!

I think I should improve my skills trying to compile 3.16 kernel for ARM
platform. Raspberry Pi uses kernel 3.12 if I am right... 

Maybe is there a way tooking base at 3.12 version?