[LEDE-DEV] Adding support for Comfast CF-WR650AC

Gareth Parker gareth41 at orcon.net.nz
Sat Jun 4 04:07:12 PDT 2016


I have found part of the cause of switch problem

It's related to this commit:
http://git.openwrt.org/?p=openwrt.git;a=commit;h=ef54bfd6c8c82e865dd2f6c80b3
78a0c0f772ffc

I tried to checkout parent commit and worked fine, any commits after this
one cause the router to hang then reboot on issuing "swconfig dev switch0
show".
I also tried reverting this commit in lede, editing file
"target/linux/generic/files/drivers/net/phy/ar8216.c" but still had the same
problem, so it looks there's something else also causing this problem in
lede.

If anyone wants to have a look at this, I can give you remote access to a
linux box with serial console to router.


Here is what I get:

root at OpenWrt:/# swconfig dev switch0 show
Global attributes:
        enable_vlan: 1
        enable_mirror_rx: 0
        enable_mirror_tx: 0
        mirror_monitor_port: 0
        mirror_source_port: 0

and it locks up there for approximately 5 seconds before router reboots, I'm
assuming the watchdog timer is forcing the reboot.  There's no other console
output that shows up.


Gareth



-----Original Message-----
From: Lede-dev [mailto:lede-dev-bounces at lists.infradead.org] On Behalf Of
Jo-Philipp Wich
Sent: Monday, 30 May 2016 1:09 a.m.
To: lede-dev at lists.infradead.org
Subject: Re: [LEDE-DEV] Adding support for Comfast CF-WR650AC

Hi Gareth,

the CC patch you linked looks reasonably clean so I can't spot immediate
reasons that would prevent it from getting included into LEDE.

I suggest that you fork https://github.com/lede-project/source and integrate
the required changes into your clone, then open a PR based on it. You can of
course use git-send-email and patches too if you prefer that.

If you need help porting certain changes to master let me know, a few things
surrounding image building and default config changed compared to CC.

Regards,
Jo

_______________________________________________
Lede-dev mailing list
Lede-dev at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev




More information about the Lede-dev mailing list