Youku YK-L1c

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

Moderator: Moderators

ViBE
Posts: 194
Joined: Sun Apr 19, 2015 6:58 pm

Re: Youku YK-L1c

Post by ViBE »

a bit different question: why firmware request stopped? or when will be available again?

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

Re: Youku YK-L1c

Post by Lantis »

I’m very busy with my personal life and work.
I’m happy to help anyone learn to make their own images, but I don’t have the time to spin up an environment just to do it myself. My environment is dedicated to development at this stage
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.

ViBE
Posts: 194
Joined: Sun Apr 19, 2015 6:58 pm

Re: Youku YK-L1c

Post by ViBE »

Lantis wrote:I’m very busy with my personal life and work.
I’m happy to help anyone learn to make their own images, but I don’t have the time to spin up an environment just to do it myself. My environment is dedicated to development at this stage
understand. is it risky or complicated? i'm using the same GL.iNet hardware what you sell and i found a potential successor: https://www.gl-inet.com/products/gl-b1300/. looks cool and it's multicore. but i don't see any WRT's yet for it. would be nice to do a Gargoyle firmware for it somehow.

ispyisail
Moderator
Posts: 5180
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Youku YK-L1c

Post by ispyisail »

understand. is it risky or complicated? i'm using the same GL.iNet hardware what you sell and i found a potential successor: https://www.gl-inet.com/products/gl-b1300/. looks cool and it's multicore. but i don't see any WRT's yet for it. would be nice to do a Gargoyle firmware for it somehow.
its only in openwrt "snapshot"

You need to wait for it to go into stable

https://openwrt.org/toh/start?dataflt%5 ... ~%5D=gl-b1

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

Re: Youku YK-L1c

Post by ghorvath »

Lantis wrote: In the meantime, I have sent the seller a request for source code under GPL requirements. If they won’t comply, there’s not much that can be done, but I’ll certainly report it to eBay.
So far this is what I was able to get out of them:
Our router uses the MTK7620A chipset, and the official website of the Gargoyle has a corresponding SDK.

Our engineers only add some commonly used plugins, such as printer drivers, etc. All source code is posted on the corresponding developer's website. If you want to compile the firmware yourself, you can choose the plugin you need to install.
I am not sure how much help this is. I will try to ask them one more time, but I guess I will need to figure out what to do without them.

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

Re: Youku YK-L1c

Post by Lantis »

Well that is far more than I got out of them. Stick with it.
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.

ViBE
Posts: 194
Joined: Sun Apr 19, 2015 6:58 pm

Re: Youku YK-L1c

Post by ViBE »

ispyisail wrote:
understand. is it risky or complicated? i'm using the same GL.iNet hardware what you sell and i found a potential successor: https://www.gl-inet.com/products/gl-b1300/. looks cool and it's multicore. but i don't see any WRT's yet for it. would be nice to do a Gargoyle firmware for it somehow.
its only in openwrt "snapshot"

You need to wait for it to go into stable

https://openwrt.org/toh/start?dataflt%5 ... ~%5D=gl-b1
so there's some chance. nice.

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

Re: Youku YK-L1c

Post by ghorvath »

Lantis wrote:You should start here:
https://www.gargoyle-router.com/wiki/do ... umentation

For your device, if it is supported by 17.04, then you should use the branch “base-on_openwrt_remerge” which will become Gargoyle 1.11.0 and is based on Openwrt 18.06.

The Ramips target has not been migrated to the new build yet, so you will need to generate a config from scratch using the base Openwrt config.
So far I managed to git clone repositories (gargoyle and openwrt), checked out the relevant branches (base_on_openwrt_remerge for gargoyle and openwrt-18.06 for openwrt). Also, I think I kind of figured out which packages I need to install (I have debian 9.5) for the build to succeed.

I found that my device is supported as youku-yk1, for example in target/linux/ramips/image I find this:

Code: Select all

define Device/youku-yk1
  DTS := YOUKU-YK1
  IMAGE_SIZE := $(ralink_default_fw_size_32M)
  DEVICE_TITLE := YOUKU YK1
  DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport
endef
TARGET_DEVICES += youku-yk1
I also found a file target/linux/ramips/dts/YOUKU-YK1.dts, and "youku" can also be found in a couple other files in target/linux/ramips/base-files.

So my question is this: how do I generate the new profile in the gargoyle/base_on_openwrt_remerge branch for the youku-yk1 router? Or should I do it in the openwrt/openwrt-18.06 branch?

Thanks for the help.

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

Re: Youku YK-L1c

Post by Lantis »

If you checkout the latest base_on_openwrt_remerge, I have updated the custom target.
You can now “make custom” and see if you can select your router from the menu, and select the Gargoyle packages.

Sometimes it works better to stop at this point and rescue the .config file and create a new Gargoyle target and start the build fresh from there.
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:If you checkout the latest base_on_openwrt_remerge, I have updated the custom target.
You can now “make custom” and see if you can select your router from the menu, and select the Gargoyle packages.
Ok, I was able to select the packages, except for the DLNA for Gargoyle package. For some reason this did not show up among the possible gargoyle plugins.

I selected virtually all of them, except for the themes and languages for which I added "M" (modularize?). Does it make sense, or would I be able to install any of those later on even if I left them empty (select "n")?

And in fact, does it make sense to compile these plugins into the image, or would I be able to install them later on if wanted? Would there be any drawback if I install them later? Like the package would require more space or something?
Lantis wrote: Sometimes it works better to stop at this point and rescue the .config file and create a new Gargoyle target and start the build fresh from there.
I saved the config just in case, but continued, and the machine now compiles. Approximately how long would it take?

I would be happy to share the saved buildconfig, and even create a new profile, if you let me know how to do any of these.

Thanks for the help, we will see if I get a flashable image.

PS. one more question. How can I check the maximum size of the firmware for this device? Or is gargoyle not going to let me flash a too big image, anyway? (Currently there is some version of gargoyle on the router.) Openwrt technical info about this router says 32 MB flash, but fdisk -l shows 7 /dev/mtdblock partitions with sizes 192 KiB, 64 KiB, 64 KiB, 15.7 MiB, 1.1 MiB, 14.6 MiB, 1.8 MiB. I wonder which contains the actual firmware...

Post Reply