RedSnake64 / openwrt-yun

OpenWrt for Arduino Yún
GNU General Public License v2.0
12 stars 5 forks source link

install package #11

Open paolofrs opened 5 years ago

paolofrs commented 5 years ago

Is it normal I can't install packages from http://archive.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/ ?

There is a problem with kernel builds...here is what i get:

root@Arduino:/# opkg install http://archive.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/routing/kmod-batman-adv_3.18.20+2014.4.0-1_ar71xx.ipk Downloading http://archive.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/routing/kmod-batman-adv_3.18.20+2014.4.0-1_ar71xx.ipk Installing kmod-batman-adv (3.18.20+2014.4.0-1) to root... Collected errors: * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-batman-adv: * kernel (= 3.18.20-1-7bed08fa9c06eb8089e82c200340ec66) * kmod-lib-crc32c * * opkg_install_cmd: Cannot install package kmod-batman-adv.

RedSnake64 commented 5 years ago

yes - you need the packages from the original build. Unfortunately the package server is offline (http://rsdev.16mb.com/download). Which version do you use? v1.5?

paolofrs commented 5 years ago

yes - the last one.

I am quite new to building custom kernel and even more building custom embedded kernel. Can you point me out some good reference to start learing?

I've read the general build guides and the specific guides for arduino on OpenWRT website but they are pretty poor and the contenet is spread across differente pages and steps... indeed I am having problems. For example there's nothing saying how to port official OpenWRT repo to the YUN, I do not get if it is possible (and how) to only build one package, etc...

My final goal (no matter the time) would be:

  1. porting the 18.06 to the YUN
  2. find a method that applies on ARM arch also
    (I have 2 YUN and a Raspberry)

Thank you very much!

RedSnake64 commented 5 years ago

A quiet good beginning reference is: https://oldwiki.archive.openwrt.org/doc/howto/build First of all you need to setup your build enviroment. The next step is to clone the openwrt git repository and switch to the latest release branch. Then update & install feeds. Afterwards you can configure your packages, target device with "make menuconfig" and build the system.