Youku YK-L1c

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Youku YK-L1c

Post by Lantis »

Sorry, it’s not a GIT patch (although very similar). It was formed using “quilt” which is what you should use for Gargoyle patches.

You’ll have to do your own research, but something like
quilt new 001-my_patch.patch
quilt edit ramips-src/myfile.txt
***make your changes either in the editor or externally, doesn’t matter***
quilt refresh

This drags all changes into the patch you created.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

ghorvath
Posts: 46
Joined: Thu Sep 29, 2016 12:03 pm

Re: Youku YK-L1c

Post by ghorvath »

Lantis wrote:Sorry, it’s not a GIT patch (although very similar). It was formed using “quilt” which is what you should use for Gargoyle patches.
Ok thanks.I will give it a try.

If I understand it correctly, the patch in the end should go into the patches-generic folder, right? Or maybe I just append it to 012-oversized-image-will-not-crash-build.patch ?

Also, how can I make sure that the command ``make ramips.mt7620'' applyies the patch? Because after a make clean, or better yet, after cloning gargoyle source code there is still no ramips-src folder, etc. However, I would like to make this in such a way that the patch is applied automatically at the point where it is needed.

ghorvath
Posts: 46
Joined: Thu Sep 29, 2016 12:03 pm

Re: Youku YK-L1c

Post by ghorvath »

Hm, somehow it is still not willing to apply the patch:

Code: Select all

ghorvath@SamsungLaptop:~/work/gargoyle$ quilt import ramips-lantis.patch 
Importing patch ramips-lantis.patch (stored as patches/ramips-lantis.patch)
ghorvath@SamsungLaptop:~/work/gargoyle$ quilt applied
No patches applied
ghorvath@SamsungLaptop:~/work/gargoyle$ quilt unapplied
patches/ramips-lantis.patch
ghorvath@SamsungLaptop:~/work/gargoyle$ quilt push
Applying patch patches/ramips-lantis.patch
patching file ramips-src/include/image-commands.mk
Hunk #1 FAILED at 275.
1 out of 1 hunk FAILED -- rejects in file ramips-src/include/image-commands.mk
patching file ramips-src/target/linux/ramips/image/Makefile
Hunk #1 FAILED at 135.
Hunk #2 FAILED at 143.
2 out of 2 hunks FAILED -- rejects in file ramips-src/target/linux/ramips/image/Makefile
Patch patches/ramips-lantis.patch does not apply (enforce with -f)
ghorvath@SamsungLaptop:~/work/gargoyle$
What am I doing wrong?

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Youku YK-L1c

Post by Lantis »

Not sure, it works ok here.
You could start a new patch and just make the same changes that I did.
It could be a white space issue (most likely).

I think attaching it to the end of patch 012 eventually would be ok.
Otherwise, 012 renamed to include “ar71xx” and your patch to include “ramips”
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

ghorvath
Posts: 46
Joined: Thu Sep 29, 2016 12:03 pm

Re: Youku YK-L1c

Post by ghorvath »

I am at this point:
https://github.com/ericpaulbishop/gargoyle/pull/772

However, I am stuck. Somehow kn_rc (the factory version) does not compile. It dies because of zyimage I think, but somehow I cannot patch this in a way that the build would continue. Could someone take a look if they have time?

Thanks.

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Youku YK-L1c

Post by Lantis »

Responded on issue.
I had meant to look at this for you earlier this week but had been busy.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

ghorvath
Posts: 46
Joined: Thu Sep 29, 2016 12:03 pm

Re: Youku YK-L1c

Post by ghorvath »

Thanks, it helped me to continue. I also put another question in the issue.

ghorvath
Posts: 46
Joined: Thu Sep 29, 2016 12:03 pm

Re: Youku YK-L1c

Post by ghorvath »

I think the ramips/7620 code is more or less ready, you can check it out here:

https://github.com/ericpaulbishop/gargoyle/pull/772

I will still do some testing before I remove the do not merge sign.

ghorvath
Posts: 46
Joined: Thu Sep 29, 2016 12:03 pm

Re: Youku YK-L1c

Post by ghorvath »

Both profiles seem to compile even after make custom, so I removed the "do not merge" flag from the PR.

Thanks for all the help!

Post Reply