Khadas VIM OpenWRT

any good news for vim1 ?

yes its almost ready! plz be patient) i have some special prio requests ))

1 Like

Привет! Могу-ли я установить OWRT под coreelec из терминала?

Можно более подробно что значит под ? из терминала ?

Сценарий такой: coreelec установлен на SD карту, он работает, подключаюсь к нему через локальную сеть по ssh, устанавливаю на карту OWRT пакеты

OK !openwrt for vim1 is ready

3 Likes

Very cool to see development on this topic, this device has good specs for using it as a router/wifiap.
I tested the latest img on vim2, looks good, wifi 5ghz work, but ethernet not.
I’m exited for a stable release for vim2 and testing the performance.
Samba on ubuntu server is a big inprovement in speed compared to a pi, looks promising.

Thanks for the work @hyphop

3 Likes

yes mainline kernel have some problems with ethernet for vim2
i will try to fix it !

vim2 openwrt status - WIP - plz wait !

1 Like

SOME INFO:

i will make release for VIM2 on next week !

i have check openwrt samba on VIM2, after some optimizes
i can get full gigabit bw transfer via lan (with 15% system load) its very cool

sure VIM2 only usb 2.0 and all transfer from real storage’s will be limited about 480Mbit

for VIM3 i can get full gigabit bw transfer from usb storages works fine - ready for highperfomance media storage’s

PS: VIM3 VIM3L openwrt release will come little bit later

4 Likes

Nice, i will test next week.

Cool to know this device is full gigabit and not a usb to ethernet bridge crap, make it esier with usb to ethernet adapter for wan without bottleneck the lan

1 Like

hi u can test openwrt for VIM2 its ready !!!
https://dl.khadas.com/Firmware/VIM2/OpenWrt/

we will make announce and write more annotation tomorrow :wink:

5 Likes

hi openwrt fans ! some fixes again, plz re-download images
VIM1 VIM2 updated

https://dl.khadas.com/Firmware/VIM2/OpenWrt/
https://dl.khadas.com/Firmware/VIM1/OpenWrt/

Khadas Vims OpenWrt rel 0.3

  • added support for VIM2 ( with wifi chip AP6356S VIM2.V14 tested )
  • preinstalled samba, mdns, ttyd, thd + many other packages
  • fix ethernet for VIM2, but still not possible reinit ethernet interface for VIM2
  • improve startup speed - now is about 7 sec
  • LEDs indicators - supported
  • board buttons KEY_F KEY_P - custom usage KEY_F - reset wifi | KEY_P - power off
  • initial optimization for Ethernet USB MMC subsystems
  • many improves
  • change default hostname to openwrt-vim + mdns name to: openwrt-vim.local

Change log

Khadas Vims OpenWrt rel 0.2

  • usb 3g 4g modems - OK
  • improve build scripts
  • some changes
5 Likes

Now I have done some testing:

  • WiFi 5GHz works, but wifi channel not changeable
  • WiFi limited to 107 mbit/s over several distances, seems not to be a WiFi bottleneck (not 100% sure if the vim is the problem)
  • Change IP address range results in dead ethernet (build on own and change the settings before works)
  • No ethernet hotplug
  • SQM not working (one of the top reasons why i use OpenWrt)
  • Building from source results in opkg error (edit: already fixed, hadn’t seen)

Everything else working fine:

  • SMB speed = USB Speed
  • no issues in fps gaming on pc (eth) while use 1 4K streaming device (eth) and 5 smartphones (5ghz) (only little performance drop in WiFi, i will test later with 2 wifi antennas, now only 1 antenna is connected)
  • DHCP and DNS speeds good
  • Use a axix usb ethernet adapter as pppoe interface with vlan tagging works without problems
  • Stability is good no problems after 1 day usage

Thnaks for your Work!

2 Likes

tnx for feedback’s

Change IP address range results in dead ethernet (build on own and change the settings before works)

this is mainline kernel Ethernet driver problem only for VIM2 (this problem exist in every distros which use mainline kernel but nobody try to solve it :wink: poor quality of stmmac driver )
openwrt make ifdown & ifup for every netrork interface changes
… and after ifdown exec ethernet interface can not up again :wink:

simple solution just reboot device

another one possible solution is change openwrt iface scripts libs - its ugly way - but i can try to do it later

WIFI … channels

i will check it soon

SQM

i need to check kernel and may be enable or rebuild some modules
we use not native openwrt kernel - and we need to do something by hands (load modules or rebuild … etc )
i will try include SQM in next release

SMB speed = USB Speed

sure because VIM2 have USB 2.0 only, but u can test samba transfer by special test samba_test which work via RAM share
and can rich full gigabit channel

another situation for VIM3 openwrt with USB3.0 there samba not limitted by usb bandwidth, i will present it soon (still wifi problem not solved)

1 Like

i have spend half day and fix this problem - now VIM2 ethernet work fine without any bugs, plz check last version!!!

last version is V0.31

5 Likes

look like we very close to make new openwrt release for VIM3 VIM3L VIM2 pro - with full supported WIFI and other hardware !!! i have test already all boards and all wifi chips (Wifi AP6398S + mainline kernel)

another news - we have testing already OpenWrt 19.07.0-rc2 - https://openwrt.org/releases/19.07/notes-19.07.0-rc2
an wait New Stable Release from Openwrt

6 Likes

OK! we can test openwrt image for all Khadas boards VIM1 VIM2 VIM2pro VIM3 VIM3L (onboard wifi chips supported for all boards)

INFO:

NOTE: plz download and write new krescue system before write any images !!!

1 Like

@hyphop the github repo is 0.5 version ,can you update that repo to the newest version 0.6 ? thaks~

@hyphop and the overlay rom is to small , how to use the remanining space of sd card to install the openwrt application.

ok UPDATED to 0.61

  • default openwrt rel update to 19.07.1

check this examples how to build images khadas-openwrt/project at master · hyphop/khadas-openwrt · GitHub