Alternatively, if you don't want to create your own .config file you can take it from the RPi with shown below process

On the RPi

zcat /proc/config.gz &gt; .config

and then copy the .config file to your build directory (which you want to cross-compile) or default configuration file is found in your downloaded kernel source at arch/arm/configs/bcmrpi_defconfig you just copy it to build directory to .config file.

Then you can build the kernel

make ARCH=arm CROSS_COMPILE=${CCPREFIX}


it's shown at http://elinux.org/RPi_Kernel_Compilation page, below the Perform the compilation chapter. And there is more things in this page about the cross-compiling of the RPi kernel.

Raspbian kernel source compilation configuration
I have defined a function: 

myJ2[n_] := 1/n* Total[RandomVariate[NormalDistribution[0, 1], n]^2]


This is basically an approximation to the gaussian integral. I want to plot this and the error graph (difference between the approximation and the exact value) at the same time. Using a random variable makes this difficult. I tried this:

DiscretePlot[{myJ2[n], 1 - myJ2[n]}, {n, 1, 1000}, Filling -&gt; None, Joined -&gt; True]


However, this is not quite correct, since the myJ2 function is called twice and hence gives different values due to the randomness. I improved this by using:

DiscretePlot[{x, 1 - x} /. x -&gt; myJ2[n], {n, 1, 1000}, Filling -&gt; None, Joined -&gt; True, PlotStyle -&gt; {Red, Blue}]


This gives me the correct values but both in the same color. How can I get both the function and the error function displayed in two graphs or with two different colors?

Thanks

Charly
