Still having problems compiling Kernel :(

Hello All;

I managed to compile a kernel and write it to the uSD card, but it won’t boot.

What I am trying to do is probably simple for some of you but I can’t seem to build a kernel that works.

What I am trying to create is a Debian image with RAID Kernel module support.

I have been trying for over a month now, and could really use some help.

Could someone please provide me with a “.conf” and instructions or just an image with RAID support ??

Thanks;

Bill

“No one could make a greater mistake than he who did nothing because he could do only a little.”

“All that is necessary for the triumph of evil is that good men do nothing” Edmond Burke (1729 - 1797)

http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book

http://ca.linkedin.com/pub/bill-pretty/2b/b07/602

Thanks RH;

It is a software RAID, and I am struggling with Robert's scripts :frowning:

Well,

CONFIG_MD_RAID<all>

is already built as a module, what module do you actually need?

Regards,

It is a software RAID, and I am struggling with Robert's scripts :frowning:

I dunno anything about that. I can only say what I would do.
I would provide enough info about what I've tried so far then someone might know right away what's up.

Ok here we go:

A couple of months ago I was looking for a Debian image with software RAID support.
The one I was using did not. Robert kindly pointed me to one that, as it turned out had 'crippled' RAID
support. In that while 'md' was present none of the software RAID Modem modules were.
I tried to get some help just "adding" the modules support to my existing image. But nobody replied.

So I looked around an found the following instructions:

It is a software RAID, and I am struggling with Robert's scripts :frowning:

I dunno anything about that. I can only say what I would do.
I would provide enough info about what I've tried so far then someone might know right away what's up.

Ok here we go:

A couple of months ago I was looking for a Debian image with software RAID support.
The one I was using did not. Robert kindly pointed me to one that, as it turned out had 'crippled' RAID
support. In that while 'md' was present none of the software RAID Modem modules were.
I tried to get some help just "adding" the modules support to my existing image. But nobody replied.

So I looked around an found the following instructions:

-------------------------------------------------------------------
git clone GitHub - RobertCNelson/ti-linux-kernel-dev: vendor bsp...
cd ti-linux-kernel-dev
git checkout origin/ti-linux-3.14.y -b tmp
./build_kernel.sh

After that kernel upgrades are as easy as:

wget http://rcn-ee.net/deb/raring-armhf/v3.8.13-bone28/install-me.sh
sudo /bin/bash install-me.sh

---------------------------------------------------------------------

The first part compiled a Kernel, but I can't get it to load to a uSD card and work properly.
I modified 'system.sh' per the instructions in the README file.

I copied a Debian image to the uSD card and then ran "install_kernel.sh".
I can find out what the image file name was, I just didn't have it handy.
The result was a uSD card that doesn't boot.

I think it's time to just nuke that script...

All I can think is that there is kernel mismatch or something.
Either that or I selected the wrong options during the 'build kernel' phase.
That's why I was looking for a .config file from somebody that I know works.

Any help would be REALLY appreciated at this point.

Step 1: grab usb serial thing
Step 2: check where zImage/uImage/etc is loaded from
Step 3: check where *.dtb is loaded from:

From the build, copy zImage/uImage to boot loacation, copy *.dtb to
the boot location, install modules.

See:

https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-CopyKernelFiles

For where they are expected to be today..

Regards,