Openwrt 19.07.3 build -- patch failure

Vonger
 
Posts: 896
Joined: Sun Oct 19, 2014 6:00 am

Re: Openwrt 19.07.3 build -- patch failure

Tue Oct 27, 2020 4:25 pm

Wow, now 19.07.4 already supported that patch, but I tested the official compiled version it is not working well...iperf3 only 10Mbps
But I compile 19.07.4 directly from openwrt source code, mt76 works well, 58Mbps even good than MTK driver, weird, it should be same code.

Connecting to host 192.168.1.1, port 5201
[ 5] local 192.168.1.231 port 60966 connected to 192.168.1.1 port 5201
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 7.43 MBytes 62.3 Mbits/sec
[ 5] 1.00-2.00 sec 6.83 MBytes 57.3 Mbits/sec
[ 5] 2.00-3.00 sec 6.92 MBytes 58.1 Mbits/sec
[ 5] 3.00-4.00 sec 6.93 MBytes 58.1 Mbits/sec
[ 5] 4.00-5.00 sec 6.90 MBytes 57.9 Mbits/sec
[ 5] 5.00-6.00 sec 7.01 MBytes 58.8 Mbits/sec
[ 5] 6.00-7.00 sec 6.93 MBytes 58.1 Mbits/sec
[ 5] 7.00-8.00 sec 6.94 MBytes 58.2 Mbits/sec
[ 5] 8.00-9.00 sec 6.97 MBytes 58.5 Mbits/sec
[ 5] 9.00-10.00 sec 6.98 MBytes 58.5 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
[ 5] 0.00-10.00 sec 69.8 MBytes 58.6 Mbits/sec sender
[ 5] 0.00-10.07 sec 69.7 MBytes 58.1 Mbits/sec receiver

iperf Done.

mernst
 
Posts: 2
Joined: Wed Dec 23, 2020 8:38 pm

Re: Openwrt 19.07.3 build -- patch failure

Thu Dec 24, 2020 7:07 pm

I did not check whether the patch related to the performance is in, but I wanted to give some feedback on how to get the VoCore2 with 19.07.3 running.

1. Follow strictly the documentation on https://github.com/vonger/vocore2 for the first steps:
Code: Select all
git clone https://github.com/openwrt/openwrt.git
cd openwrt
git checkout v19.07.3
./scripts/feeds update -a
./scripts/feeds install -a
cd ./package
git clone https://github.com/vonger/vocore2.git

2. now apply ALL patches which are described:
Code: Select all
cd ..
mkdir ./package/kernel/mt76/patches
cp ./package/vocore2/openwrt.1907/0822-mt76-read-factory-eeprom.patch ./package/kernel/mt76/patches
patch -p1 < ./package/vocore2/openwrt.1907/vocore2-default-banner.patch
patch -p1 < ./package/vocore2/openwrt.1907/vocore2-default-enable-wireless.patch
patch -p1 < ./package/vocore2/openwrt.1907/vocore2-default-lan-address.patch
patch -p1 < ./package/vocore2/openwrt.1907/vocore2-default-password.patch
patch -p1 < ./package/vocore2/openwrt.1907/vocore2-fixmaster-sdcard.patch

3. now additional apply following patch which is not described!:
Code: Select all
patch -p1 < ./package/vocore2/openwrt.1907/vocore2-default-enable-sdcard.patch

4. copy the configuration files for the kernel into the right directory
Code: Select all
cp ./package/vocore2/openwrt.1907/config-4.14 ./target/linux/ramips/mt76x8/

5. copy now finally the config file for the openwrt make process into the main directory
Code: Select all
cp ./package/vocore2/openwrt.1907/.config .

6. now it's important to execute one time
Code: Select all
make menuconfig
to properly update the .config file

7. then execute simply
Code: Select all
make

8. finally the executable is available in
Code: Select all
bin/targets/ramips/mt76x8/openwrt-ramips-mt76x8-vocore2-squashfs-sysupgrade.bin

Previous
Return to VoCore2/Lite/Ultimate

Who is online

Users browsing this forum: No registered users and 59 guests