Hello, i`m trying to recompile Lede from branch Lede-17.01 (for Tp-Link 1043ND V4) and i get bridge: automatic filtering via arp/ip/ip6tables has been deprecated message and continously rebooting of the router.
Any ideea how to skip this?
Thanks!
[ 0.385755] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.391935] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.404366] io scheduler noop registered
[ 0.408533] io scheduler deadline registered (default)
[ 0.414072] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.421109] console [ttyS0] disabled
[ 0.444904] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[ 0.454000] console [ttyS0] enabled
[ 0.454000] console [ttyS0] enabled
[ 0.461551] bootconsole [early0] disabled
[ 0.461551] bootconsole [early0] disabled
[ 0.472190] m25p80 spi0.0: found w25q128, expected m25p80
[ 0.477821] m25p80 spi0.0: w25q128 (16384 Kbytes)
[ 0.482715] 9 cmdlinepart partitions found on MTD device spi0.0
[ 0.488837] Creating 9 MTD partitions on "spi0.0":
[ 0.493795] 0x000000000000-0x000000020000 : "u-boot"
[ 0.500686] 0x000000020000-0x0000001a0000 : "kernel"
[ 0.507078] 0x0000001a0000-0x000000f50000 : "rootfs"
[ 0.513443] mtd: device 2 (rootfs) set to be root filesystem
[ 0.519384] 1 squashfs-split partitions found on MTD device rootfs
[ 0.525779] 0x000000720000-0x000000f50000 : "rootfs_data"
[ 0.532583] 0x000000f50000-0x000000f70000 : "product-info"
[ 0.539555] 0x000000f70000-0x000000fc0000 : "config"
[ 0.545932] 0x000000fc0000-0x000000fd0000 : "partition-table"
[ 0.553126] 0x000000fd0000-0x000000ff0000 : "logs"
[ 0.559529] 0x000000ff0000-0x000001000000 : "ART"
[ 0.565632] 0x000000020000-0x000000f50000 : "firmware"
[ 0.590275] libphy: ag71xx_mdio: probed
[ 1.161181] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd036, driver=Generic PHY]
[ 1.171275] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:SGMII
[ 1.179415] NET: Registered protocol family 10
[ 1.187543] NET: Registered protocol family 17
[ 1.192218] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.205253] 8021q: 802.1Q VLAN Support v1.8
[ 1.216516] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 1.224871] Freeing unused kernel memory: 192K (803d0000 - 80400000)
Error relocating /etc/preinit: __extendsfdf2: symbol not found
Error relocating /etc/preinit: __fixunsdfsi: symbol not found
[ 2.115317] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[ 2.115317]
[ 2.124758] Rebooting in 1 seconds..
Seriously why are you taking the mips24kc branch when your CPU is mips74kc? WR1043NDv4_IS_NOT_MIPS24KC!
My mips24kc is NOT SUPPOSED to be used on mips74kc CPU.
I don't hesitate to brick all other architecture to squeeze more performance out of that architecture
My patchset is not just an FE patch set it is a patchset I tested repeatedly to improve the performance for a particular CPU architecture, instead of having a working patchset that gives average performance for all architecture
Yes that is correct don't take 24kc.
Although my mips74kc has a final mip24kc tag, it is still build for 74kc
see -march=74kc
I also removed all the ar71xx packed patches in LEDE which absolutely destroy performance on 74kc
If you keep the ar71xx packed align patches mips74kc suffers
If you delete the ar71xx packed align patches mips24kc suffers
Therefore they have to be separate
mips74kc is a mips74k core
Yes it has to be clean copy.
Because I can patch then go grab a drink while it builds.
Time saver compared to keeping a git repo on my harddisk looking at all those files
When I am done I just delete the whole thing
When I need it I just clone again isn't that convenient?
This is a awesome 1 liner rm -rf lede && git clone -b lede-17.01 https://github.com/lede-project/source.git lede && git clone -b lede-17.01 https://github.com/gwlim/mips74k-lede-patch.git temp; mv temp/* lede/; rm -rf temp && cd lede && ./patch_LEDE.sh
After that make menuconfig select the fast-classifier default target etc after that if you are happy
then make
Go eat drink whatever come back when it is done.
After getting your firmware delete the whole thing
If want it even faster don't delete the dl folder keep it cache it somewhere on your harddisk and put a softlink to it.
When you build just copy the softlink to it.
You can do make -j 8, - j10 whatever if your cpu is beefy enough you can build architecture optimized firmware within 30 mins
Please mind that Package architecture may be different from what is listed in the ToH as (Sub-)Instruction Set.
Different CPUs/SoCs with different architectures / Instructionssets can share the same package architecture.