Hi Priyank,
DISCLAIMER:
These instructions are given in the hope that they will be useful.
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
It's always good to have a backup linux on the eMMC in case of
anything does not boot as wanted. ;)
Before patching the kernel, you need the kernel itsself... :)
I would suggest the following:
Use a good and reliable SDcard and -- if possible -- an external
harddrive (I use a TOSHIBA STOR.E ALU 2S 500MB for this purpose) with
a *powered* USB hub, since the BBBs USB port cannot power the
harddisc. I setup the fstab of my BBB so it will mount some parts
of the hd over directories of the rootfs of my BBB optionally,
which get most of the write accesses off the SDcard while compiling.
This will lower the wear-out of the SDcard.
On the other hand...until now I have not lost any
SDcard due to wear-out effects. The hd card is not needed from the
pure technical point of view.
If you want to use Gentoo: Gentoo is source based, beside the very
very basic rootfs, anything else is compiled natively on the BBB. This
will take time. Compiling the kernel on the BBB will take about eight
hours (you will compile the kernel on your desktop LINUX, though...).
Especially in the beginning until you will only need to add single
applications the BBB will compile things most of the time. On the other hand:
This little great computer only consumes 5W on full load. Start the
compiling task before going to bed and the next morning will start with
a bunch of fresh and new applications :)))
And this will give you the freedom to only include things you really
need or want. Especially on space limited embedded systems this an
advantage.
Using Gentoo needs to dig a little deeper into a little more of
manuals and documentations. It is definetly not the distribution for
the fire-and-forget kind of user. If you interested in a little deeper
look into the inside of Linux und UNIX systems you definetly will like
Gentoo.
Instructions how to setup Gentoo for the Beaglebone black you will
find here:
http://dev.gentoo.org/~armin76/arm/beagleboneblack/install.xml
The instruction how to setup the fantastic one-and-only
Robert-Nelson-kernel-building-suit :)))) you will find here:
http://eewiki.net/display/linuxonarm/BeagleBone+Black
DO THE FOLLOWING WITHOUT ATTACHING THE AUDIO CAPE TO THE BBB FIRST!
I would suggest the following:
1.) Setup Robert Nelsons kernel build suit first according to its
documentation.
2.) Build "Das U-Boot" (the bootloader stuff)
3.) Setup a SDcard according to Robert Nelsons instructions (mine is
16GB of size, 7.8GB still free. Use a good and reliable SDcard).
4.) Recompile Robert Nelsons Linux kernel with the default
configuration/setup.
If the compilation works fine and produces a kernel with the according
archives under .../deploy/. its time for Gentoo! :) :
1.) Install the rootfs image for Gentoo on you SDcard and get it running.
A kernel will come with the rootfs
image. It may be necessary to modify some of the config files below
/etc with the SDcard mounted on you desktop PC Linux instead of the
BBB to setup networking and ssh...instructions see above.
The common and platform independant part of the documentation of
Gentoo is also a very good source of information (see links in above
linked install guide of Gentoo for the BBB).
After Gentoo is running from your SDcard you will need to do the
follwing:
1.) Disable eMMC and HDMI by modifying uEnv.txt config file for Das
U-Boot. This is NOT permament! :) As soon you will boot your BBB
without a SDcard inserted, eMMC and HDMI are there again...
2.) Remap the storage place of the kernel image from first partition
to one of the others to get more space for different kernels and
to lower the wear out of the SDcard by moving write cycles off the
small first partition. This is also done in uEnv.txt.
3.) Patch the kernel to support the Audio cape. This patch is a
workaround, which I found in the internet (source of the
information here:
https://groups.google.com/forum/#!topic/beagleboard/ZJGwxA7BG4E)
It is NOT developed by me!
This workaround is NOT compatible with HDMI!
4.) May be you need to patch the device tree also to disable the
LEDs of the audio cape since they do interfer with the LCD7 (A2)
cape (and may be other capes I dont know) if you use one.
Send me a ping :) if your BBB without the AUDIO cape will boot into
Gentoo and you have access via ssh to it.
Good luck! 8)
Best regards,
mcc
Priyank Patel <
priyank...@gmail.com> [13-10-01 08:24]:
> > Priyank Patel <
priyank...@gmail.com <javascript:>> [13-10-01 07:56]:
> > > Hi Meino,
> > > I have looked up both directional and unidirectional adafruit has to
> > offer.
> > > The unidirectional microphone seems to be partially helping as the
> > website
> > > says it is ideal for the distance of 6" from the sound source (this is
> > > hearing aid and the sound source can be far or near) .Besides that,
> > other
> > > concern is how would I interface it with the Audio cape (If I purchased
> > > one). This query was produced as I do not see a mic-in audio jack.
> > Please,
> > > suggest me what can be steps that can be taken further. Thanks for
> > > researching on my behalf. You guys are helping a lot. Much obliged.
> > > Priyank.
> > >
> > >
> > > On Tue, Oct 1, 2013 at 12:15 AM, <
meino....@gmx.de <javascript:>>
> > wrote:
> > >
> > > > Hi Priyank,
> > > >
> > > > hope that this could be helpful?!:
> > > >
http://www.adafruit.com/products/1063
> > > >
> > > > ???
> > > >
> > > > Best regards,
> > > > mcc
> > > >
> > > >
> > > >
> > > >
> > > > Priyank Patel <
priyank...@gmail.com <javascript:>> [13-10-01 06:00]: