I can’t boot OpenWRT on my R2, I already downloaded images from Google Drive which I found in threads here and also tried self compiled images. But the Banana Pi won’t start OpenWRT/Lede (only red led after boot and not even serial output). If I try to run Ubuntu it works.
which image exactly and how do you burn it?
I tried different “mtk-bpi-r2-SD.img”, from your GDrive, from Badu and also my self compiled. I burned them with “dd” (or “bpi-copy” from the bpi tools)
My img is booting if dd’d to /dev/sdx (not partition). Like with ubuntu you have to press powerbutton 10s.after 8s you should see. Preloader output on debug-uart…
Have you tried another card?
My SD card is at /dev/mmcblk0 and yep I already tried another one. I press the power button like 10 secs until it boot up and show the green light, And then it tooks a few secs and the green goes off and only the red power led is left
What is curious, if I mount the Ubuntu image I see the “BPI-BOOT” and “BPI-ROOT” partitions, but if I try to mount the OpenWrt image it’s not even detected as file system
Openwrt does not contain a normal partition table…so it’s correct that you do not see these partitions
Thank you for your help, got it working somehow by using a 32GB SD instead of a 16GB
Size does not matter,but maybe the old card is not compatible with r2…you can try ubuntu on the old card to check this
Ubuntu on old card works, idk why
But another question, AP mode I tried following http://wiki.banana-pi.org/Getting_Started_with_R2#AP_mode_2
But i just get “Permission denied” if I want to execute ./setup.sh and “not found” if I try to execute the commands manually
You have to download wmt-tools and make setup.sh executable (chmod +x setup.sh)
maybe you can try to flash openwrt (i.e my image) again with dd
I have now all the binaries and firmware from https://drive.google.com/file/d/1MJxfHCpR-ph5YJu-_yMTCH5YG9rL6HHY/ (your tar archive containing the wmt tools) but I still have “not found”
root@LEDE:/usr/bin# ls
[ free nano tee
[[ fwtool nc test
awk getrandom nslookup time
basename head passwd top
bunzip2 hexdump pgrep tr
bzcat id printf traceroute
clear iwinfo readlink traceroute6
cmp jshn reset uniq
crontab jsonfilter scp uptime
cut killall seq usign
dbclient ldd sha256sum wc
dirname less signify which
dropbearkey logger sort wmt_loader
du lua ssh wmt_loopback
env luci-bwc stp_uart_launcher xargs
expr md5sum strings yes
find mkfifo tail
root@LEDE:/usr/bin# wmt_loader
-ash: wmt_loader: not found
root@LEDE:/usr/bin# ./wmt_loader
-ash: ./wmt_loader: not found
root@LEDE:/usr/bin#
have you made them executable (chmod +x)?
Yep
root@LEDE:/usr/bin# ls -la
drwxr-xr-x 1 root root 0 Aug 19 17:34 .
drwxr-xr-x 1 root root 0 Aug 19 17:35 ..
lrwxrwxrwx 1 root root 17 Jun 26 11:00 [ -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 [[ -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 awk -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 basename -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 bunzip2 -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 bzcat -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 clear -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 cmp -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 crontab -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 cut -> ../../bin/busybox
lrwxrwxrwx 1 root root 16 Jun 26 11:00 dbclient -> ../sbin/dropbear
lrwxrwxrwx 1 root root 17 Jun 26 11:00 dirname -> ../../bin/busybox
lrwxrwxrwx 1 root root 16 Jun 26 11:00 dropbearkey -> ../sbin/dropbear
lrwxrwxrwx 1 root root 17 Jun 26 11:00 du -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 env -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 expr -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 find -> ../../bin/busybox
lrwxrwxrwx 1 root root 12 Jun 26 11:00 free -> /bin/busybox
-rwxr-xr-x 1 root root 8200 Jun 26 11:00 fwtool
-rwxr-xr-x 1 root root 4095 Jun 26 11:00 getrandom
lrwxrwxrwx 1 root root 17 Jun 26 11:00 head -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 hexdump -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 id -> ../../bin/busybox
-rwxr-xr-x 1 root root 12259 Jun 26 11:00 iwinfo
-rwxr-xr-x 1 root root 8199 Jun 26 11:00 jshn
-rwxr-xr-x 1 root root 16475 Jun 26 11:00 jsonfilter
lrwxrwxrwx 1 root root 17 Jun 26 11:00 killall -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 ldd -> ../../lib/libc.so
lrwxrwxrwx 1 root root 17 Jun 26 11:00 less -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 logger -> ../../bin/busybox
-rwxr-xr-x 1 root root 12295 Aug 15 11:14 lua
-rwxr-xr-x 1 root root 12297 Aug 18 06:21 luci-bwc
lrwxrwxrwx 1 root root 17 Jun 26 11:00 md5sum -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 mkfifo -> ../../bin/busybox
-rwxr-xr-x 1 root root 122929 Aug 18 05:41 nano
lrwxrwxrwx 1 root root 17 Jun 26 11:00 nc -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 nslookup -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 passwd -> ../../bin/busybox
lrwxrwxrwx 1 root root 12 Jun 26 11:00 pgrep -> /bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 printf -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 readlink -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 reset -> ../../bin/busybox
lrwxrwxrwx 1 root root 16 Jun 26 11:00 scp -> ../sbin/dropbear
lrwxrwxrwx 1 root root 17 Jun 26 11:00 seq -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 sha256sum -> ../../bin/busybox
lrwxrwxrwx 1 root root 5 Jun 26 11:00 signify -> usign
lrwxrwxrwx 1 root root 17 Jun 26 11:00 sort -> ../../bin/busybox
lrwxrwxrwx 1 root root 16 Jun 26 11:00 ssh -> ../sbin/dropbear
-rwxr-xr-x 1 root root 33562 Aug 19 17:34 stp_uart_launcher
lrwxrwxrwx 1 root root 17 Jun 26 11:00 strings -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 tail -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 tee -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 test -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 time -> ../../bin/busybox
lrwxrwxrwx 1 root root 12 Jun 26 11:00 top -> /bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 tr -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 traceroute -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 traceroute6 -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 uniq -> ../../bin/busybox
lrwxrwxrwx 1 root root 12 Jun 26 11:00 uptime -> /bin/busybox
-rwxr-xr-x 1 root root 20479 Jun 26 11:00 usign
lrwxrwxrwx 1 root root 17 Jun 26 11:00 wc -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 which -> ../../bin/busybox
-rwxr-xr-x 1 root root 8550 Aug 19 17:34 wmt_loader
-rwxr-xr-x 1 root root 13476 Aug 19 17:34 wmt_loopback
lrwxrwxrwx 1 root root 17 Jun 26 11:00 xargs -> ../../bin/busybox
lrwxrwxrwx 1 root root 17 Jun 26 11:00 yes -> ../../bin/busybox
root@LEDE:/usr/bin#
mhm, thats strange
i also wonder about “-ash” instead of “bash”
since there is no strace-command i cannot dig deeper…maybe another one knows more
Is there already an image of your version with WiFi and HDMI?
Should there be a bash?
root@LEDE:/usr/bin# bash
-ash: bash: not found
Wifi should work in my debian and ubuntu image…hdmi maybe in ubuntu…
As for lede,i only compiled official one…don’t know how to replace kernel/add files in lede because there is no “normal” partition config
wmt-tools itself are binaries they should not depend on bash…
I thought lede also uses bash as shell…don’t know ash
Here they just add it by copying on the SD card
In ubuntu/debian you have normal partitions (bpi-boot/bpi-root) but in lede you see no partitions on sd (if not booted).
Hmm, so there are currently just ubuntu/deb images with wifi support?