1 (edytowany przez ad2014 2017-05-26 16:58:52)

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 2

Ps. 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 */

2

Odp: kompilacja LEDE -lantiq

make target/linux/clean
make

zrób

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: kompilacja LEDE -lantiq

dziekuję za zainteresowanie   niestety  dostaje ten sam błąd  - kompiluje komendą  make V=s -j1  - jeszcze bede próbował .
Domyslna konfiguracja  kopiluje sie  bez problemów .  Jeszcze  jedno pytanie  czy  na Twoim  githubie   https://github.com/obsy 
są te  dodatkowe  patche  które dodajesz do obrazów ?    ( zawsze coś  mądrego dokładasz szybciej niż inni smile  )

4

Odp: kompilacja LEDE -lantiq

Dodatkowe łatki są tu: http://dl.eko.one.pl/lede/17.01-SNAPSHOT/patches/

Zrób make dirclean i skompiluj jeszcze raz. Konfig sobie zachowaj wcześniej.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: kompilacja LEDE -lantiq

dzięki -  dam znać

6

Odp: kompilacja LEDE -lantiq

w konfigu  miałem  zaznaczone  :

 Boot Loaders
#
# CONFIG_PACKAGE_uboot-lantiq-bthomehubv5a_ram is not set
# CONFIG_PACKAGE_uboot-lantiq-easy80920_nor is not set
# CONFIG_PACKAGE_uboot-lantiq-easy80920_norspl is not set
# CONFIG_PACKAGE_uboot-lantiq-easy80920_ram is not set
# CONFIG_PACKAGE_uboot-lantiq-easy80920_sfspl is not set
# CONFIG_PACKAGE_uboot-lantiq-fb3370_eva is not set
# CONFIG_PACKAGE_uboot-lantiq-fb3370_ram is not set
# CONFIG_PACKAGE_uboot-lantiq-fb3370_sfspl is not set
CONFIG_PACKAGE_uboot-lantiq-p2812hnufx_nandspl=y
CONFIG_PACKAGE_uboot-lantiq-p2812hnufx_ram=y
# CONFIG_PACKAGE_uboot-lantiq-vgv7510kw22_brn is not set
# CONFIG_PACKAGE_uboot-lantiq-vgv7510kw22_nor is not set
# CONFIG_PACKAGE_uboot-lantiq-vgv7510kw22_ram is not set
# CONFIG_PACKAGE_uboot-lantiq-vgv7519_brn is not set
# CONFIG_PACKAGE_uboot-lantiq-vgv7519_nor is not set
# CONFIG_PACKAGE_uboot-lantiq-vgv7519_ram is not set

jednak  wywalało mi na tym   i  odznaczyłem to  = czyli w tej sekcji nie mam nic zaznaczone  . Czy to powinno być włczone do obrazu  ???   tak by potem  nie było problemów  przy wgraniu obrazu  ?

7

Odp: kompilacja LEDE -lantiq

To nie idzie do obrazu tylko buduje bootlaoder osobno.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

8

Odp: kompilacja LEDE -lantiq

dzięki za info  - po  całodniowej  kompilacji  z przerwami  smile ,  walce z zależnościami wielu pakietów  zbudowało się .
ale mam pytanie  - czym różnią się  te obrazy  i tak :
1 = lede-lantiq-xrx200-P2812HNUF3-squashfs-sysupgrade.bin   
2 = lede-lantiq-xrx200-P2812HNUF3-ubifs-sysupgrade.bin
ja po zmianie  softu  instalowałem  squashfs-sysupgrade.bin

9

Odp: kompilacja LEDE -lantiq

Poczytaj tu:
https://wiki.openwrt.org/doc/techref/filesystems
Zwróć uawagę na:

There is a generic problem when running SquashFS on NAND: The issue is that SquashFS has no bad block management at all and requires all blocks on order; but for proper NAND bad block management you also need to be able to skip bad blocks and occasionally relocate blocks (see squashfs and NAND flash). That's why raw SquashFS is a bad idea on NAND (it works if you use a FTL like UBIFS).

10

Odp: kompilacja LEDE -lantiq

no tak myślałem ( chodzi o failsafe )   - ale   ale   zepsułem   - nie wiem czemu  po flashowaniu  router nie wstał  .  Uruchomiłem  go w trybie  ratunkowym - falisafe   ale  okazuje się że  overalay jest na ubifs   i  chyba  nic  nie da sie zrobić

adam@Z51 ~ $ ssh root@192.168.1.1


BusyBox v1.25.1 () built-in shell (ash)

     _________
    /        /\      _    ___ ___  ___
   /  LE    /  \    | |  | __|   \| __|
  /    DE  /    \   | |__| _|| |) | _|
 /________/  LE  \  |____|___|___/|___|                      lede-project.org
 \        \   DE /
  \    LE  \    /  -----------------------------------------------------------
   \  DE    \  /    Reboot (17.01.1, r3316-7eb58cf109)
    \________\/    -----------------------------------------------------------

================= FAILSAFE MODE active ================
special commands:
* firstboot         reset settings to factory defaults
* mount_root     mount root-partition with config files

after mount_root:
* passwd             change root's password
* /etc/config            directory with config files

for more help see:
http://wiki.openwrt.org/doc/howto/generic.failsafe
=======================================================

=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@(none):~# firstboot -y
/dev/ubi0_1 is not mounted
/dev/ubi0_1 will be erased on next mount
writing /dev/ubi0_1 failed: Operation not permitted
root@(none):~# mtd -r erase rootfs_data
Could not open mtd device: rootfs_data
Could not open mtd device: rootfs_data
root@(none):~# /etc/config
-ash: /etc/config: Permission denied
root@(none):~# cd /etc/config
root@(none):/etc/config# ls -all
drwxr-xr-x    2 root     root           342 Apr 17  2017 .
drwxr-xr-x   24 root     root           989 Apr 17  2017 ..
-rw-r--r--    1 root     root           778 Apr 17  2017 ddns
-rw-r--r--    1 root     root           852 Apr 17  2017 dhcp
-rw-r--r--    1 root     root           134 Apr 17  2017 dropbear
-rw-r--r--    1 root     root           861 Apr 17  2017 etherwake
-rw-r--r--    1 root     root          4205 Apr 17  2017 firewall
-rw-r--r--    1 root     root           347 Apr 17  2017 fstab
-rw-r--r--    1 root     root           129 Apr 17  2017 hd-idle
-rw-r--r--    1 root     root           792 Apr 17  2017 luci
-rw-r--r--    1 root     root           895 Apr 17  2017 network
-rw-r--r--    1 root     root         13368 Apr 17  2017 openvpn
-rw-r--r--    1 root     root          2678 Apr 17  2017 openvpn_recipes
-rw-r--r--    1 root     root           121 Apr 17  2017 p910nd
-rw-r--r--    1 root     root            97 Apr 17  2017 rpcd
-rw-r--r--    1 root     root           123 Apr 17  2017 samba
-rw-r--r--    1 root     root           449 Apr 17  2017 sqm
-rw-r--r--    1 root     root           814 Apr 17  2017 system
-rw-r--r--    1 root     root             0 Apr 17  2017 ubootenv
-rw-r--r--    1 root     root           872 Apr 17  2017 ucitrack
-rw-r--r--    1 root     root           667 Apr 17  2017 uhttpd
-rw-------    1 root     root           137 Apr 17  2017 vnstat
-rw-r--r--    1 root     root           558 Apr 17  2017 wifi_schedule
-rw-r--r--    1 root     root           739 Apr 17  2017 wireless

zbudowany  obraz  miał 11,6 MB (11561128 bajtów)  czy jest za duży ?   
czy jeszcze w tym trybie falisafe  da sie cos zrobic  czy zapinać  konsole ?
przy wgrywaniu 1 softu po zmianie uboota  zastosowałem  zgodnie  z poradnikiem  uzyłem tego pierwszego obrazu
w nazwie openwrt-lantiq-xrx200-P2812HNUF3-squashfs-ubinized.bin

cytuje poradnik
Step 9: Format and Flash UBI image   
     ubidetach -p /dev/mtd5
     ubiformat /dev/mtd5 -f /tmp/openwrt-lantiq-xrx200-P2812HNUF3-squashfs-ubinized.bin (default config RO, changes can be reverted)
     or
     ubiformat /dev/mtd5 -f /tmp/openwrt-lantiq-xrx200-P2812HNUF3-ubifs-ubinized.bin (all data R/W, option to revert changes by reflash)

potem normalnie zmieniłem przez luci na lede snapshot

11

Odp: kompilacja LEDE -lantiq

Jak masz ubifs to masz cały system zapisywalny, więc w failsafe mało co możesz zrobić.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

12

Odp: kompilacja LEDE -lantiq

dobra naprawiłem  z poziomu falisafe  .  Zapomniałem  że tworzac swój obraz  wrzuciłem configi do  files  - poprwiłem  i działa  ehh  ale  dalej   sie "jeszcze motam"   wszystko co chciałem  wkompilowało sie w obraz  - mam teraz ten "kolorowy" motyw w luci pierwszy raz go widze smile     ale  nie rozumie jak jest z tymi partycjami   wyglada to tak :

root@LEDE:~#  mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/ubi0_1 on /overlay type ubifs (rw,noatime)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
root@LEDE:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00050000 00010000 "uboot"
mtd1: 00010000 00010000 "uboot-env"
mtd2: 007a0000 00010000 "unused"
mtd3: 00200000 00020000 "kernel"
mtd4: 07e00000 00020000 "ubi"
root@LEDE:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 9.5M      9.5M         0 100% /rom
tmpfs                    60.7M      1.2M     59.5M   2% /tmp
/dev/ubi0_1             103.0M    160.0K     98.1M   0% /overlay
overlayfs:/overlay      103.0M    160.0K     98.1M   0% /
tmpfs                   512.0K         0    512.0K   0% /dev

czyli  jak to jest  router ma 8MiB NOR + 128MiB NAND  - pomijam  NOR   z tego wychodzi że na  instalację pakietów zostaje 103M
skoro jako pierwszy obraz wgrywałem  openwrt-lantiq-xrx200-P2812HNUF3-squashfs-ubinized.bin   to  czemu  zrobiło sie to ubi0_1  chyba  że  to
Step 9: Format and Flash UBI image   
     ubidetach -p /dev/mtd5   

i teraz w sumie to nie wiem czy ten falisafe działa czy nie

13

Odp: kompilacja LEDE -lantiq

A jak myślisz, dlaczego w nazwie obrazu jest "ubinized"? W nandach stosuje się ubifs jako podstawę systemu plików.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

14

Odp: kompilacja LEDE -lantiq

Cezary napisał/a:

A jak myślisz, dlaczego w nazwie obrazu jest "ubinized"? W nandach stosuje się ubifs jako podstawę systemu plików.

Cezary, ubinized != ubifs. Możesz mieć obraz "ubinized" z squashfs w środku.

15

Odp: kompilacja LEDE -lantiq

a jednak  uwaliłem go ( wgrywałem inny obraz skompilowałem z nowszym kernelem  i  nie wstał  )   -   podłaczyłem  konsole   i teraz jestem w ubocie  mam takie obcje 

ROM VER: �Ȉ��H��

U-Boot 2014.01-openwrt2 (Nov 15 2014 - 14:05:27) P-2812HNU-Fx

Board: ZyXEL P-2812HNU-Fx
SoC:   Lantiq VRX288 v1.1
CPU:   500 MHz
IO:    250 MHz
BUS:   250 MHz
BOOT:  NOR
DRAM:  128 MiB
Flash: 8 MiB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   ltq-eth
Hit any key to stop autoboot:  0 
P-2812HNU-Fx # help
?       - alias for 'help'
base    - print or set address offset
bdinfo  - print Board Info structure
bootm   - boot application image from memory
bootp   - boot image via network using BOOTP/TFTP protocol
cmp     - memory compare
cp      - memory copy
crc32   - checksum calculation
editenv - edit environment variable
env     - environment handling commands
erase   - erase FLASH memory
exit    - exit script
false   - do nothing, unsuccessfully
flinfo  - print FLASH memory information
go      - start application at address 'addr'
help    - print command description/usage
iminfo  - print header information for application image
loadb   - load binary file over serial line (kermit mode)
loadx   - load binary file over serial line (xmodem mode)
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
md      - memory display
mdio    - MDIO utility commands
mii     - MII utility commands
mm      - memory modify (auto-incrementing address)
mw      - memory write (fill)
nand    - NAND sub-system
nboot   - boot from NAND device
nm      - memory modify (constant address)
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
reset   - Perform RESET of the CPU
run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv  - set environment variables
showvar - print local hushshell variables
test    - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
true    - do nothing, successfully
version - print monitor, compiler and linker version
P-2812HNU-Fx # 

mogę od razu załadowac mu obraz przez tftp  ?     czy  muszę  przejsc procedure
U-Boot recovery/stock NOR upload for P-2812HNU-F3

Step 1: Place openwrt-lantiq-xrx200-P2812HNUF3-*** images in tftp folder

Step 2: Set Your IP addres to "192.168.1.2" and start tftp server

Step 3: Upload kernel image
    tftp 0x80800000 openwrt-lantiq-xrx200-P2812HNUF3-uImage

Step 4: Erease NAND
    nand erase.chip

Step 5: Flash kernel image onto NAND
    nand write 0x80800000 0x0 0x200000

Step 6: Upload initramfs image
    tftpboot 0x80800000 openwrt-lantiq-xrx200-P2812HNUF3-uImage-initramfs

Step 7: Run initramfs image and wait till fully booted
    bootm 0x80800000

Step 8: Upload UBI image to /tmp in Your router by SCP/WinSCP after setting root passwd on OpenWRT

Step 9: Format and Flash UBI image    # tutaj mozna sprawdzic czy mtd5 czy mtd4   = cat/proc/mount  chyba
     ubidetach -p /dev/mtd5
     ubiformat /dev/mtd5 -f /tmp/openwrt-lantiq-xrx200-P2812HNUF3-squashfs-ubinized.bin (default config RO, changes can be reverted)
     or
     ubiformat /dev/mtd5 -f /tmp/openwrt-lantiq-xrx200-P2812HNUF3-ubifs-ubinized.bin (all data R/W, option to revert changes by reflash)

Step 10: Reboot router

Step 11: Stop U-boot auto boot process and modify to auto boot OpenWRT at power on
    setenv nboot ' nand read 0x80800000 0x0 0x200000; bootm 0x80800000'
    setenv bootcmd 'run nboot'
    saveenv

Step 12: Power off and on router

16

Odp: kompilacja LEDE -lantiq

Przecież uboot Ci działa. Wgrywaj obraz.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

17

Odp: kompilacja LEDE -lantiq

kurcze  nie wiem  jakim poleceniem to wgrac   czy musze podac adres pamieci 
np . tak     tftp 0x80800000 obraz.bin    ?    czy  jakaś inna komendą ?    nigdzie nie jest to jasno opisane

18

Odp: kompilacja LEDE -lantiq

Przecież sam podałeś krok po kroku co zrobić?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

19

Odp: kompilacja LEDE -lantiq

naprawiłem  smile  w sumie  nie byłem pewny czy z poziomu ubota mogę wgrać dowolny obraz  wiec  zrobiłem jeszcze raz wg.poradnika  ale tam  wchodzi BB  potem zaktualizowałem od razu do sysupgrade -n /tmp/obraz.bin  do SNAPSHOT, r4243-9235a29   i teraz  jak bym chciał  skompilować dokładnie  ta sama rewizję  to  jak  pobrac , jakim poleceniem   
git reset --hard 9235a29     czy  jakoś  ten  branch  wskazać ?
chciałbym mieć własne repo bo snapshot  sie szybko zmienia i  czasem na drugi dzień juz coś nie chce sie instalować

20

Odp: kompilacja LEDE -lantiq

Raczej po prostu weź aktualne źródła i je trzymaj na dysku. Lub własnie gitem wymuś tą określoną wersję.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

21

Odp: kompilacja LEDE -lantiq

Jeśli gitem to spróbuj tak:
git log
tutaj odszukujesz interesujący cię commit
git checkout <odnaleziony_commit>

22

Odp: kompilacja LEDE -lantiq

dzięki  @zigi

23

Odp: kompilacja LEDE -lantiq

sporo  ciekawych informcji  dotyczących  gita   znajdziemy tu https://git-scm.com/book/pl/v1/Narzędzi … ie-rewizji
oraz  tu https://git-scm.com/book/pl/v1/Podstawy … ii-rewizji   .
Wszystko  fajnie  tylko  jak  sprawdzić  jakie  zmiany  są    w  nowo  wypuszczonych  wersjach snapshota    bez  instalacji  obrazu  . Nigdzie  na  stronie lede  nie widze takich  informcji .  Załóżmy że  mam zainstalowany snapshot z poniedziałku  a w środę  wychodzi kolejny   i teraz  żeby sprawdzić  jaka to wersja  muszę ją zainstalować  bo  nigdzie  nie pisze  jaka to rewizja  ( no chyba ze tego nie widzę ) ,  oraz  nie wiem  jakie  zaszły zmiany  ?

24

Odp: kompilacja LEDE -lantiq

W nazwie pliku jest przecież numer wersji. A cała lista zmian jest po prostu na githubie: https://github.com/lede-project/source/commits/master Albo git log po prostu.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

25

Odp: kompilacja LEDE -lantiq

no  właśnie  nie ma numeru wersji  tak  jak u Ciebie

https://dl.eko.one.pl/lede/17.01-SNAPSHOT/targets/ar71xx/generic/
lede-17.01-snapshot-r3371-79cd141-ar71xx-generic-tl-wdr3600-v1-squashfs-sysupgrade

Ty masz  to ładnie opisane  smile nieststy  lede  tego nie stosuje  hmm

/releases/17.01.1/targets/ar71xx/
lede-17.01.1-ar71xx-generic-tl-wdr3600-v1-squashfs-sysupgrade.bin
 /snapshots/targets/
lede-ar71xx-generic-tl-wdr3600-v1-squashfs-sysupgrade

z tąd  tez mi. powstał  ten wątek  -   wiem  pretensje do  twórców  lede