11 Replies Latest reply on Apr 7, 2015 2:08 PM by kona

    How to enable ppp in kernel mode / rebuild the kernel with ppp?

    kona

      I was trying to enable a dial up network using GPRS shield on Intel Edison. I was able to send AT commands and even sent an sms successfully.

      For this I installed pppd and tried enabling it following http://ppp.samba.org/documentation.html

      But it says ppp is installed as a module and it has to be a part of kernel.

      Can someone guide me in rebuilding the kernel with ppp support.

      Meanwhile I tried out my hand on building a standard Edison image by increasing the root file partition. Fortunately ran into errors

       

      NOTE: Preparing runqueue

      NOTE: Executing SetScene Tasks

      NOTE: Executing RunQueue Tasks

      NOTE: Running task 730 of 2802 (ID: 1197, /home/raghu/edison_flash/edison-src/poky/meta/recipes-devtools/libtool/libtool-cross_2.4.2.bb, do_configure)

      NOTE: Running task 775 of 2802 (ID: 1233, /home/raghu/edison_flash/edison-src/poky/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb, do_packagedata)

      NOTE: Running task 819 of 2802 (ID: 1512, /home/raghu/edison_flash/edison-src/poky/meta/recipes-core/zlib/zlib_1.2.8.bb, do_package)

      NOTE: recipe libtool-cross-2.4.2-r6.1: task do_configure: Started

      NOTE: recipe opkg-utils-0.1.8+gitAUTOINC+c33b217016-r0: task do_packagedata: Started

      NOTE: recipe opkg-utils-0.1.8+gitAUTOINC+c33b217016-r0: task do_packagedata: Succeeded

      NOTE: Running task 830 of 2802 (ID: 1519, /home/raghu/edison_flash/edison-src/device-software/meta-edison-distro/recipes-connectivity/openssl/openssl_1.0.1g.bb, do_configure)

      NOTE: Running task 854 of 2802 (ID: 2431, /home/raghu/edison_flash/edison-src/device-software/meta-edison-distro/recipes-connectivity/openssl/cryptodev-linux_1.6.bb, do_package)

      NOTE: recipe openssl-1.0.1g-r0: task do_configure: Started

      NOTE: recipe cryptodev-linux-1.6-r0: task do_package: Started

      NOTE: recipe zlib-1.2.8-r0: task do_package: Started

      NOTE: recipe cryptodev-linux-1.6-r0: task do_package: Succeeded

      NOTE: Running task 863 of 2802 (ID: 2429, /home/raghu/edison_flash/edison-src/device-software/meta-edison-distro/recipes-connectivity/openssl/cryptodev-linux_1.6.bb, do_packagedata)

      NOTE: recipe cryptodev-linux-1.6-r0: task do_packagedata: Started

      NOTE: recipe zlib-1.2.8-r0: task do_package: Succeeded

      NOTE: Running task 864 of 2802 (ID: 1510, /home/raghu/edison_flash/edison-src/poky/meta/recipes-core/zlib/zlib_1.2.8.bb, do_packagedata)

      NOTE: recipe cryptodev-linux-1.6-r0: task do_packagedata: Succeeded

      NOTE: Running task 875 of 2802 (ID: 77, /home/raghu/edison_flash/edison-src/poky/meta/recipes-kernel/linux/linux-yocto_3.10.bb, do_compile)

      NOTE: recipe zlib-1.2.8-r0: task do_packagedata: Started

      NOTE: recipe linux-yocto-3.10.17+gitAUTOINC+6ad20f049a_c03195ed6e-r0: task do_compile: Started

      NOTE: recipe zlib-1.2.8-r0: task do_packagedata: Succeeded

      Log data follows:

      | DEBUG: Executing shell function do_compile

      | NOTE: make -j 4 bzImage CC=i586-poky-linux-gcc  LD=i586-poky-linux-ld.bfd

      | make: *** No rule to make target `bzImage'.  Stop.

      | ERROR: oe_runmake failed

      | WARNING: exit code 1 from a shell command.

      | ERROR: Function failed: do_compile (log file is located at /home/raghu/edison_flash/edison-src/build/tmp/work/edison-poky-linux/linux-yocto/3.10.17+gitAUTOINC+6ad20f049a_c03195ed6e-r0/temp/log.do_compile.27578)

      NOTE: recipe linux-yocto-3.10.17+gitAUTOINC+6ad20f049a_c03195ed6e-r0: task do_compile: Failed

      NOTE: recipe openssl-1.0.1g-r0: task do_configure: Succeeded

      NOTE: recipe libtool-cross-2.4.2-r6.1: task do_configure: Succeeded

      NOTE: Tasks Summary: Attempted 896 tasks of which 888 didn't need to be rerun and 1 failed.