Openwrt 19.07.3 build -- patch failure

Nirvana
 
Posts: 7
Joined: Sun May 19, 2019 3:02 pm

Openwrt 19.07.3 build -- patch failure

Sun Aug 23, 2020 2:32 pm

Hello,

I try to follow your instructions on github https://github.com/Vonger/vocore2 but I get the following errors:

Code: Select all
$ patch -p1 < ./package/vocore2/openwrt.1907/vocore2-fixmaster-es8388.patch
patching file target/linux/ramips/modules.mk
patching file target/linux/ramips/dts/VOCORE2.dtsi
Hunk #2 succeeded at 36 (offset -1 lines).
patching file target/linux/ramips/dts/VOCORE2.dts
patch: **** malformed patch at line 105:  &spi0 {


and also this:

Code: Select all
$ cp ./package/vocore2/openwrt.1907/0810-es8388-support.patch ./target/linux/ramips/patches-4.14
cp: cannot stat './package/vocore2/openwrt.1907/0810-es8388-support.patch': No such file or directory


What do you recommend?

Nirvana
 
Posts: 7
Joined: Sun May 19, 2019 3:02 pm

Re: Openwrt 19.07.3 build -- patch failure

Sun Aug 23, 2020 7:34 pm

I was able to fix the first error. The patch file needs to be fixed.

Change the line
Code: Select all
@@ -16,6 +16,45 @@

to
Code: Select all
@@ -16,6 +16,46 @@


Then the patch will apply properly.

I do not know how to fix the missing file though!
Last edited by Nirvana on Sun Aug 23, 2020 7:36 pm, edited 1 time in total.

Nirvana
 
Posts: 7
Joined: Sun May 19, 2019 3:02 pm

Re: Openwrt 19.07.3 build -- patch failure

Sun Aug 23, 2020 9:13 pm

Here is also another build warning that might need to be fixed?

Code: Select all
WARNING: Makefile 'package/vocore2/utils/qt5/Makefile' has a build dependency on '+libstdcpp', which does not exist

Nirvana
 
Posts: 7
Joined: Sun May 19, 2019 3:02 pm

Re: Openwrt 19.07.3 build -- patch failure

Mon Aug 24, 2020 12:54 am

Here is another bug I found.

In your MT7628 I2C patch you are looking for the compatibility string:
Code: Select all
.compatible = "mediatek,mt7621-i2c"


But in the VOCORE2.dts file, it says
Code: Select all
compatible = "mediatek,i2c-mt7628";


So the module does not load properly

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

Re: Openwrt 19.07.3 build -- patch failure

Mon Aug 24, 2020 1:52 am

Currently ES8388 driver can not work correctly in OpenWrt 19.07.3 even with correct patch, I am fixing this so that might cause the patch broken. Please do not use that patch for now, if you need to use sound card, better to use openwrt 18.06.5 version.

Looks like 19.07.3 some drivers are changed cause es8388 can not work well.

about mediatek,mt7628-i2c, I think that issue is because that es8388 patch.

Nirvana
 
Posts: 7
Joined: Sun May 19, 2019 3:02 pm

Re: Openwrt 19.07.3 build -- patch failure

Tue Oct 20, 2020 6:02 pm

Hello,

I am trying out my vocore again... I see you have updated your build instructions on github a little but not much. Maybe they could get updated again? I see still instructions for using file "0810-es8388-support.patch" that does not exist.

But the real reason I am here, i am trying to use SD Card. It works with your firmware for Vocore 2 Ultimate, 20200812.19073.bin. But when I follow your instructions to build the firmware and make my own, I do not get a /dev/mmcblk0 device. Perhaps there is something missing from the instructions on github?

Return to VoCore2/Lite/Ultimate

Who is online

Users browsing this forum: No registered users and 4 guests