Temat: kompilacja LEDE -lantiq
witam - próbuje skompilować lede dla Zyxel P2812 F3 ale chiałem zrobić to na podstawie configu Cezarego ( chodzi o to że skompilować nie jest problem ale trza wiedzieć co zaznaczyć ) wiec chciałem się wzorować na tym cofigu https://dl.eko.one.pl/chaos_calmer/lant … tiq.xrx200 - jedyną rzecz jaką zmieniłem to wybrałem tylko ten model routera . Wiem że było to robione dla CC = wiec moga byc problemy = pokazało się kilka pomniejszych błedów dotyczących patchy ale z nimi sobie poradziłem ale teraz nie wiem czego dotyczy błąd może jakaś wskazówka ?
Applying ./patches/960-0010-ath10k-limit-htt-rx-ring-size.patch using plaintext:
patching file drivers/net/wireless/ath/ath10k/htt.h
Applying ./patches/960-0011-ath10k-limit-pci-buffer-size.patch using plaintext:
patching file drivers/net/wireless/ath/ath10k/pci.c
tar -C /home/adam/lede/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/compat-wireless-2017-01-31 -xzf /home/adam/lede/dl/ipw2100-fw-1.3.tgz
tar -C /home/adam/lede/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/compat-wireless-2017-01-31 -xzf /home/adam/lede/dl/ipw2200-fw-3.1.tgz
tar -C /home/adam/lede/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/compat-wireless-2017-01-31 -xjf /home/adam/lede/dl/zd1211-firmware-1.4.tar.bz2
rm -rf /home/adam/lede/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/compat-wireless-2017-01-31/include/linux/ssb /home/adam/lede/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/compat-wireless-2017-01-31/include/linux/bcma /home/adam/lede/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/compat-wireless-2017-01-31/include/net/bluetooth
rm -f /home/adam/lede/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/compat-wireless-2017-01-31/include/linux/cordic.h /home/adam/lede/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/compat-wireless-2017-01-31/include/linux/crc8.h /home/adam/lede/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/compat-wireless-2017-01-31/include/linux/eeprom_93cx6.h /home/adam/lede/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/compat-wireless-2017-01-31/include/linux/wl12xx.h /home/adam/lede/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/compat-wireless-2017-01-31/include/linux/spi/libertas_spi.h /home/adam/lede/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/compat-wireless-2017-01-31/include/net/ieee80211.h /home/adam/lede/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/compat-wireless-2017-01-31/backport-include/linux/bcm47xx_nvram.h
echo 'compat-wireless-2017-01-31-1-r3316-7eb58cf109' > /home/adam/lede/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/compat-wireless-2017-01-31/compat_version
cp -fpR ./files/regdb.txt /home/adam/lede/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/compat-wireless-2017-01-31/net/wireless/db.txt
touch /home/adam/lede/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/compat-wireless-2017-01-31/.prepared_d91640b7d52692cdf863b7eabf2d5feb_6664517399ebbbc92a37c5bb081b5c53
rm -f /home/adam/lede/staging_dir/target-mips_24kc_musl/stamp/.mac80211_installed
cmp /home/adam/lede/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/compat-wireless-2017-01-31/include/linux/ath9k_platform.h /home/adam/lede/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/linux-4.4.61/include/linux/ath9k_platform.h
/home/adam/lede/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/compat-wireless-2017-01-31/include/linux/ath9k_platform.h /home/adam/lede/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/linux-4.4.61/include/linux/ath9k_platform.h differ: char 1483, line 52
make[3]: *** [/home/adam/lede/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/compat-wireless-2017-01-31/.configured_f649296166a026603b27a201aea2377c] Error 1
make[3]: Leaving directory `/home/adam/lede/package/kernel/mac80211'
make[2]: *** [package/kernel/mac80211/compile] Error 2
make[2]: Leaving directory `/home/adam/lede'
make[1]: *** [/home/adam/lede/staging_dir/target-mips_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/adam/lede'
make: *** [world] Błąd 2Ps. w katalogu bin większość już jest skompilowana ale obrazu jeszcze nie ma
w sumie to plik na którym staje wyglada tak
adam@Z51 ~ $ cat -n /home/adam/lede/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/compat-wireless-2017-01-31/include/linux/ath9k_platform.h
1 /*
2 * Copyright (c) 2008 Atheros Communications Inc.
3 * Copyright (c) 2009 Gabor Juhos <juhosg@openwrt.org>
4 * Copyright (c) 2009 Imre Kaloz <kaloz@openwrt.org>
5 *
6 * Permission to use, copy, modify, and/or distribute this software for any
7 * purpose with or without fee is hereby granted, provided that the above
8 * copyright notice and this permission notice appear in all copies.
9 *
10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 */
18
19 #ifndef _LINUX_ATH9K_PLATFORM_H
20 #define _LINUX_ATH9K_PLATFORM_H
21
22 #define ATH9K_PLAT_EEP_MAX_WORDS 2048
23
24 struct ath9k_platform_data {
25 const char *eeprom_name;
26
27 u16 eeprom_data[ATH9K_PLAT_EEP_MAX_WORDS];
28 u8 *macaddr;
29
30 int led_pin;
31 u32 gpio_mask;
32 u32 gpio_val;
33
34 u32 bt_active_pin;
35 u32 bt_priority_pin;
36 u32 wlan_active_pin;
37
38 bool endian_check;
39 bool is_clk_25mhz;
40 bool tx_gain_buffalo;
41 bool disable_2ghz;
42 bool disable_5ghz;
43 bool led_active_high;
44
45 int (*get_mac_revision)(void);
46 int (*external_reset)(void);
47
48 bool use_eeprom;
49
50 int num_leds;
51 const struct gpio_led *leds;
52 const char *led_name;
53 };
54
55 #endif /* _LINUX_ATH9K_PLATFORM_H */