BPI-R2 New image : Openwrt/LEDE 2017-09-08

Hi, i have problem with opkg. I am not able to doeload any packages (luci, etc…) console says: “[package] has no valid architecture, ignoring” Is there some advice for me how to download and install packages?

I also met the same problem,It seems like architecture doesn’t suit。

here are some discussions:https://forum.openwrt.org/viewtopic.php?id=57733

we need to find the right arch,and then modify /etc/opkg.conf to suit it, but I am still trying ……

Why not complie packages yourself?

sorry,I’m newer for openwrt, I also find someone said we could build our owe package, but he didn’t show the steps,I’ll serach for this ,thank you.

We can select a package that we want by running command “make menuconfig”, if it’s configured as ‘M’, we can see the package in bin/targets/mediatek/32/packages/ after building lede project.

nice, thank you gary.

Is link http://pan.baidu.com/s/1eS1pRCA working? It’s not working for me

Also https://drive.google.com/open?id=1oP7jy1KrrIOifvImo2nQ59wx3_9hHkgk there is no image for LEDE.

the image on my gdrive is named mtk-bpi-r2-SD.img (or EMMC)…this name come from lede build-script…

1 Like

Ok. I will try it. Thank you very much.

EDIT: Working :slight_smile:

Hello.

Do somebody have proble when compiling luci? I have missing dependencies:

  • satisfy_dependencies_for: Cannot satisfy the following dependencies for luci:
  • libuci-lua (>= 2018-01-01)
  • opkg_install_cmd: Cannot install package luci.

My feeds.conf.default:

src-git packages https://git.lede-project.org/feed/packages.git
src-git packages https://git.lede-project.org/feed/packages.git
src-git luci https://git.lede-project.org/project/luci.git
src-git routing https://git.lede-project.org/feed/routing.git
src-git telephony https://git.lede-project.org/feed/telephony.git

I found same problem here https://forum.lede-project.org/t/solved-issues-compiling/10755, but looks like i’m using correct repository.

Can somedoby help me wich this?

Regards.

You can fix it in this way:

1 Like

As per other comment, can we have a clear image link with English menu. Also can we have an update image of BPI-R2 Openwrt/LEDE 2017-09-08, as it is getting old.

In step 5, I cannot see any prompt on the screen but a pure white blank screen. What can I do next?

I created an image based on: https://github.com/garywangcn/bpi-r2_lede. It boots from SD card, I haven’t been able to get Wifi working. Ethernet works fine though.

SD-Card: https://mega.nz/#!4ZAh1JLJ!goe9BVkYsMq8s8kcXyYIONiOFptZXjgu8L2DAkc2Y1o

EMMC: https://mega.nz/#!tZBxCSTA!V7s8AanKmG7F0w7kZd3y2fo04rhbdO-VMKVBKmkLdvE

1 Like

smokeythebandit, does the opkg work now?

@Tohin Not in this image, but I compiled a new image and now it seems to work.

The project on https://github.com/garywangcn/bpi-r2_lede is configured to compile for Cortex-A7 with neon as floating point processor, but the processor in on the banana pi 2 doesn’t have a neon unit. So the executable from the package manager couldn’t execute on the chip.

To fix it I removed ‘CPU_SUBTYPE:=neon-vfpv4’ from target/linux/mediatek/32/target.mk

SD-Card: https://mega.nz/#!5NwWxBLY!EyVVJkmkMXGiAJm8toeRwRhdViKX4fs85ckDCKtzr_I

EMMC: https://mega.nz/#!1EoyARDQ!blJ5WxcQQClT35YnNoDup-mMwJZlGnsDKEkozVBMKYE

mt7623n support neon as fpu, and I guess the kernel config is incorrect so that you need to modify target.mk, thanks.

CONFIG_VFP=y
CONFIG_VFPv3=y
CONFIG_NEON=y

Hey @moore thank you for your responce. I’ve compiled an image using these settings in the kernel config, but there still seems to be some incompatibility with the binaries from openwrt. Maybe there is also in issue with the compiler ?

please refer to below patch https://github.com/lede-project/source/commit/00dcccc74cf893dc453c715c74c342f88a67c6c0

Hello. Is it possible to create image with ext4 root file system and how i can do it? How I can flash it to EMMC?

Regards.