This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem installing a 6LoWPAN enabled Linux kernel for nRF51 IoT SDK

I followed the instructions in developer.nordicsemi.com/.../a00058.html and reached Obtaining the kernel: Option 2: Native build. I failed at step 3 and the error message goes like this:

pi@raspberrypi ~/raspbian/linux $ make –j5 && make –j5 modules

scripts/kconfig/conf --silentoldconfig Kconfig

make: *** No rule to make target '–j5'. Stop.

I also tries the next step (step 4) but failed too as below: pi@raspberrypi ~/raspbian/linux $ CONCURRENCY_LEVEL=5 DEB_HOST_ARCH=armhf fakeroot make-kpkg --append-to-version –name_of_your_choice --revision date +%Y%m%d%H%M%S --initrd kernel_image kernel_headers

Error: The extended version may only contain lowercase alphanumerics and the characters - + .

The current value is: –name_of_your_choice

Aborting.

Please help.

  • I need to do sudo apt-get and installation is done.

    However, the next step fails:

    pi@raspberrypi ~/raspbian/linux $ CONCURRENCY_LEVEL=5 DEB_HOST_ARCH=armhf fakeroot make-kpkg --append-to-version –name_of_your_choice --revision date +%Y%m%d%H%M%S --initrd kernel_image kernel_headers

    Error: The extended version may only contain

    lowercase alphanumerics and the characters - + .

    The current value is: –name_of_your_choice

    Aborting.

  • Put in the correct date and change name_of_your_choice to name of your choice

  • Since I have installed the newest kernel by sudo apt-get update&&sudo apt-get dist-upgrade. I should have bluetooth_6lowpan. I check my kernel version and it says

    pi@raspberrypi ~ $ uname -a

    Linux raspberrypi 3.18.9-v7+ #2 SMP PREEMPT Thu Mar 19 11:07:50 CET 2015 armv7l GNU/Linux

    This version does have a 6lowpan.ko in /lib/modules/3.18.9-v7+/kernel/net/. However, I also found a newer version 3.18.11-v7+ in /lib/modules. Why is my system not upgraded?

    Anyway, version 3.18.9-v7 should be good enough and I don't have to do the rest of procedures (make -j5 ...), right?

  • It seems that I should enable IPv6 before using radvd. How do I enable it?

Related