[LEDE-DEV] Separate dts for Cavium routers

2016-11-01 Thread Michał Osowiecki
Hi. I'm struggling with Cavium based routers from Cisco&Linksys trying to port them to LEDE. I do it in spare time but it get more and more complicated (especially board detection) and i would like to ask you - is it good idea to disable CONFIG_BUILTIN_DTB, create separate dts for Ubiquity ER a

[LEDE-DEV] cavium: Ignore MEM boot param when too small

2016-06-08 Thread Michał Osowiecki
Cisco RV0XX u-boot sets MEM=2048 as boot param. We assume that at least 4MB (mem_alloc_size) of ram is needed to run linux on cavium boards, so if mem < 4M - ignore it and set default value Signed-off-by: Michał Osowiecki --- a/arch/mips/cavium-octeon/setup.c 2016-06-06 18:15:32.00

[LEDE-DEV] b53 cpu_port patch for cavium boards

2016-05-21 Thread Michał Osowiecki
patch will need more work to detect them. Signed-off-by: Michał Osowiecki --- a/drivers/net/phy/b53/b53_common.c +++ b/drivers/net/phy/b53/b53_common.c @@ -1372,6 +1372,14 @@ /* cpu port is always last */ sw_dev->ports = sw_dev->cpu_port + 1; +#ifdef CONFIG_CAVIUM_OCTEON_SOC + if (d