Need help in bringing up Linux on Mini6410

Ravikanth
Hi,
I am a beginner in Linux. I got Mini6410 board. I want to bring up Linux on
Mini6410 through SD card. I am using Ubuntu 11.04 on my PC. Can anybody
help how to start? What all I need to build the linux source and boot
loader. Your help is really appreciated. Thanks alot.

Dave McLaughlin
Try this

http://www.corewind.cn/minidevs/info210.html

Dave...

redeagle
In general:
 * Get a proper kernel-source patched for the Mini6410 (you find it on the
DVD-images)
 * Create a cross-compiler: read this:
https://www.friendlyarm.net/forum/topic/4270#lastpost or try this:
https://github.com/esden/summon-arm-toolchain (this compiler is made for
OS-less cortex-m3, but it also works to compile a linux-kernel for the
mini6410 (Linux has good makefiles :) ))
 * find a rootfs - I used Slackware 13.37 for ARMs.
 * install everything (e.g. on a SD-Card how I described here:
https://www.friendlyarm.net/forum/topic/4272#20144 )

holger
Hi,
why do you want another Linux? There is a Linux preinstalled. I had tested
the Ubunte with xfce and it is really slow:-)

The Qtopia that is installed is also a Linux and runs very well.

redeagle
@holger:
The first step a general PC-user does after they bought a PC, is to replace
the preinstalled windows with a new one.
So, why should geeks like we are use the fucking default OS? ;)

Some motivations I had:
 * I have the same (well, the x86-version :D ) OS on an old PC running.
 * It provides ALL relevant development-tools. You don't even need a
cross-compiler.
 * And of cause you have a wide range of packages available for such
mainstream-distributions.
 * The Mini6410 has a powerful processor an enough RAM for
"mainstream"-distributions.

holger
You want to develop directly on the mini? Why?

Why should I not use the pre-installed OS? It works perfect for me. I don't
use the Qtopia only a standalone qt app and different Linux tools. They all
worked perfect on this OS. Why should I change that?

I tried Debian and Ubuntu on the Mini6410. Yes, they are Desktop versions
compiled for the mini. They not really optimized for an embedded system.
The point is: They are not designed for an embbeded system. The lightweight
Linux under the Qtopia is done so.
And I do not want to develop directly on the mini. My pc has so much more
power and compiling and testing is much faster and easier on the desktop pc
than on the mini:-)
And yes, there is a ARM-Version of my Desktop Linux available with all the
packages. But I don't want and need this on it (Gentoo:-) )

Btw. I never replaced the OS on a PC I bought..... firts: I bought never a
complete PC and second never with a preinstalled OS:-).... My default OS is
called "BIOS" :-)

Ravikanth
Hi Dave, Redeagle and holger,

thanks alot for your information. I came to know that I got wrong DVD by
mistake from Friendly ARM. So I am downloading DVDs from Friendly ARM ftp
site. Once this is done, I will follow the instructions you people given
and let you know if any problems faced. Thanks alot once more.

Ravikanth
Hi Holger,
My main intention is to understand about some of the linux drivers through
logs. I tried this with my PC several times and I tired but there is of no
use. Thats why I chose this option. If I can boot linux from SD card on
Mini6410, then I modify the linux code and can analyze how the drivers are
behaving. Even though I am not sure whether it works, Just I am trying this
option. If any suggestions, you are most welcome. Thanks.