1 (edytowany przez Gruberek 2015-06-27 04:32:24)

Temat: WT3020F 16MB flash - problem

Witam.
Jako, że nie mogłem spać wymieniłem flash w swoim Nexx WT3020F. Przy okazji wgrałem też zmodyfikowany u-boot z trybem ratunkowym itp.

Niestety OpenWRT ( by obsy ) nie uruchamia się po tych modyfikacjach. Log z konsoli:

U-Boot 1.1.4 (Nov 18 2014 - 22:58:07)

Ralink APSoC (MT7620 E2 ver 2, eco 6)
DRAM:  64 MB
Flash: Winbond W25Q128 (16 MB)
*** Warning - bad CRC, using default environment

Clocks: CPU:600MHz, Bus:200MHz
In:    serial
Out:   serial
Err:   serial
Net:   rt2880_eth_initialize...
VLAN: None
Fetching MAC Address from 0xbc040028
eth0: 8c:88:2b:00:3d:0c
eth0 up
eth0
Hit any key to stop autoboot:  0
## Booting image at 9c050000 ...
   Image Name:   MIPS OpenWrt Linux-3.18.16
   Created:      2015-06-26  21:11:44 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1196020 Bytes =  1.1 MB
   Load Address: 80000000
   Entry Point:  80000000
   Verifying Checksum at 0x9c050040 ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

Jak widać zatrzymuje się na "Starting kernel ..." i tak już zostaje.
Wgrałem też na próbę OpenWRT, które było w paczce z u-bootem i uruchomiło się bez problemu. Niestety nie "widziało" całego flash'a. Zmieniłem też na próbę u-boot na standardowy i OpenWRT by obsy uruchomiło się, ale również nie "widać" całego flasha.

Jakieś pomysły?

Home: ZyXEL NBG6817 (OpenWrt)
NAS: HP ProLiant MicroServer Gen8 E3-1265L V2, 16 GB (PVE)

2

Odp: WT3020F 16MB flash - problem

To wgraj też openwrt z openwrt.org i zobacz.  Żeby nie było że "openwrt które było w paczce z ubootem" jest jakoś zmodyfikowane.

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

3 (edytowany przez Gruberek 2015-06-27 08:30:22)

Odp: WT3020F 16MB flash - problem

Z openwrt.org też się nie uruchamia ze zmodyfikowanym u-boot. Jedyne, które działa i "widzi" cały flash to jakaś stara kompilacja z tego wątku: https://forum.openwrt.org/viewtopic.php?id=54717.

Może będziesz miał chwilę żeby zrobić obraz dla wt3020 z 16 MB flash smile

Home: ZyXEL NBG6817 (OpenWrt)
NAS: HP ProLiant MicroServer Gen8 E3-1265L V2, 16 GB (PVE)

4

Odp: WT3020F 16MB flash - problem

/dts-v1/;

/include/ "mt7620n.dtsi"

/ {
    compatible = "wt3020", "ralink,mt7620n-soc";
    model = "Nexx WT3020";

    palmbus@10000000 {
                gpio2: gpio@660 {
                        status = "okay";
                };

                gpio3: gpio@688 {
                        status = "okay";
                };

        spi@b00 {
            status = "okay";

            m25p160@0 {
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "w25q128";
                reg = <0 0>;
                linux,modalias = "m25p160", "w25q128";
                spi-max-frequency = <10000000>;

                partition@0 {
                    label = "u-boot";
                    reg = <0x0 0x30000>;
                    read-only;
                };

                partition@30000 {
                    label = "u-boot-env";
                    reg = <0x30000 0x10000>;
                    read-only;
                };

                factory: partition@40000 {
                    label = "factory";
                    reg = <0x40000 0x10000>;
                    read-only;
                };

                partition@50000 {
                    label = "firmware";
                    reg = <0x50000 0xfb0000>;
                };
            };
        };
    };

    ehci@101c0000 {
        status = "okay";
    };

    ohci@101c1000 {
        status = "okay";
    };

    ethernet@10100000 {
        mtd-mac-address = <&factory 0x4>;
        ralink,port-map = "wllll";
    };

    wmac@10180000 {
        ralink,mtd-eeprom = <&factory 0>;
    };

    pinctrl {
        state_default: pinctrl0 {
            default {
                ralink,group = "ephy", "wled", "pa", "i2c", "wdt", "uartf";
                ralink,function = "gpio";
            };
        };
    };

    gpio-keys-polled {
        compatible = "gpio-keys-polled";
        #address-cells = <1>;
        #size-cells = <0>;
        poll-interval = <20>;
        reset {
            label = "reset";
            gpios = <&gpio0 1 1>;
            linux,code = <0x198>;
        };
    };

        gpio-leds {
                compatible = "gpio-leds";
                power {
                        label = "nexx:blue:power";
                        gpios = <&gpio3 0 0>;
                };
        };
};

Wystarczy chyba sobie samemu zmienić plik *.dts - jak opisane w cytowanym linku i przekompilować openwrt.

5

Odp: WT3020F 16MB flash - problem

No właśnie zmieniłem dts ale nie mogę znaleźć wt3020 w konfiguracji. Wybrałem default i już się kompiluje ale nie wiem czy zrobi obraz.

Home: ZyXEL NBG6817 (OpenWrt)
NAS: HP ProLiant MicroServer Gen8 E3-1265L V2, 16 GB (PVE)

6

Odp: WT3020F 16MB flash - problem

Zrobi. Dla ramipsów niekiedy nie ma zdefiniowanych osobno tragetów.

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

7 (edytowany przez build000 2015-06-27 09:19:59)

Odp: WT3020F 16MB flash - problem

/include/ "mt7620n.dtsi"

/ {
    compatible = "wt3020", "ralink,mt7620n-soc";
    model = "Nexx WT3020";
(...)

Teoretycznie (...i praktycznie) wiadomo gdzie to siedzi... wink

8

Odp: WT3020F 16MB flash - problem

Po zmianie dts i wgraniu openwrt wszystko działa jak trzeba.

BusyBox v1.23.2 (2015-06-27 01:31:50 PDT) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 CHAOS CALMER (Chaos Calmer, r46107)
 -----------------------------------------------------
  * 1 1/2 oz Gin            Shake with a glassful
  * 1/4 oz Triple Sec       of broken ice and pour
  * 3/4 oz Lime Juice       unstrained into a goblet.
  * 1 1/2 oz Orange Juice
  * 1 tsp. Grenadine Syrup
 -----------------------------------------------------
root@OpenWrt:/# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                   12.8M    464.0K     12.3M   4% /
/dev/root                 2.0M      2.0M         0 100% /rom
tmpfs                    30.0M     60.0K     30.0M   0% /tmp
/dev/mtdblock6           12.8M    464.0K     12.3M   4% /overlay
overlayfs:/overlay       12.8M    464.0K     12.3M   4% /
tmpfs                   512.0K         0    512.0K   0% /dev
root@OpenWrt:/#

@Cezary: zbudujesz swój obraz na 16 MB flash?

Home: ZyXEL NBG6817 (OpenWrt)
NAS: HP ProLiant MicroServer Gen8 E3-1265L V2, 16 GB (PVE)

9

Odp: WT3020F 16MB flash - problem

Tak, porównałem ten dts to jedyna zmiana to większenie flash, reszta jest bez zmian.

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

10

Odp: WT3020F 16MB flash - problem

Tak na marginesie, większość układów MediaTeka ma możliwość pracy z FLASH w trybie 4-bajtowego adresowania (sprzętowy kontroler, nie programowo), w odróżnieniu od Qualcomm/Atheros. W praktyce oznacza to ograniczenie rozmiaru kości SPI NOR do 64 MB. Sprawdzone w praktyce smile

I jeszcze jedna ciekawostka w temacie większego FLASH: http://vonger.cn/?p=1824

11

Odp: WT3020F 16MB flash - problem

pepe2k napisał/a:

Tak na marginesie, większość układów MediaTeka ma możliwość pracy z FLASH w trybie 4-bajtowego adresowania (sprzętowy kontroler, nie programowo), w odróżnieniu od Qualcomm/Atheros. W praktyce oznacza to ograniczenie rozmiaru kości SPI NOR do 64 MB. Sprawdzone w praktyce smile

Dobrze wiedzieć smile Tylko gdzie kupić taki flash w obudowie sop8 ?

pepe2k napisał/a:

I jeszcze jedna ciekawostka w temacie większego FLASH: http://vonger.cn/?p=1824

No ale tego to już się tanim programatorem nie ugryzie sad

Home: ZyXEL NBG6817 (OpenWrt)
NAS: HP ProLiant MicroServer Gen8 E3-1265L V2, 16 GB (PVE)

12

Odp: WT3020F 16MB flash - problem

Gruberek napisał/a:
pepe2k napisał/a:

Tak na marginesie, większość układów MediaTeka ma możliwość pracy z FLASH w trybie 4-bajtowego adresowania (sprzętowy kontroler, nie programowo), w odróżnieniu od Qualcomm/Atheros. W praktyce oznacza to ograniczenie rozmiaru kości SPI NOR do 64 MB. Sprawdzone w praktyce smile

Dobrze wiedzieć smile Tylko gdzie kupić taki flash w obudowie sop8 ?

W tym samym miejscu, gdzie kupiłeś kości 16 MB? big_smile
I nie w SOP8, a w SOIC8 - to dwie zupełnie różne obudowy (szerokość 150 vs. 200 mils, https://en.wikipedia.org/wiki/Small_Out … ed_Circuit).

Uprzedzam, że to nie działa na zasadzie "wymień i używaj". Trzeba pogrzebać w kodzie i robić swoje kompilacje (a przynajmniej do niedawna jeszcze tak było, nie jestem ostatnio na bieżąco ze zmianami w OpenWrt).

Gruberek napisał/a:
pepe2k napisał/a:

I jeszcze jedna ciekawostka w temacie większego FLASH: http://vonger.cn/?p=1824

No ale tego to już się tanim programatorem nie ugryzie sad

Przecież to ma ten sam interfejs (szeregowy, SPI), kwestia odpowiedniego oprogramowania.
Niestety, cena i dostępność tego wynalazku na razie skutecznie blokuje jego wykorzystanie.

13

Odp: WT3020F 16MB flash - problem

Czyli pozostanę przy 16 MB smile W sumie to wystarczało mi nawet 8, bo akurat tego routera używam tylko w aucie, ale musiałem przetestować stację lutowniczą więc padło na nexx'a ( bo jest tani, a nigdy nie lutowałem smd smile ).

Home: ZyXEL NBG6817 (OpenWrt)
NAS: HP ProLiant MicroServer Gen8 E3-1265L V2, 16 GB (PVE)

14

Odp: WT3020F 16MB flash - problem

Gruberek napisał/a:

Czyli pozostanę przy 16 MB smile W sumie to wystarczało mi nawet 8, bo akurat tego routera używam tylko w aucie, ale musiałem przetestować stację lutowniczą więc padło na nexx'a ( bo jest tani, a nigdy nie lutowałem smd smile ).

No to skoro działa, to test wypadł pozytywnie smile

15 (edytowany przez Gruberek 2015-06-27 12:52:00)

Odp: WT3020F 16MB flash - problem

5 razy go poprawiałem, bo się nie uruchamiał. Generalnie lutowanie po ciemku o 3 nad ranem, po całym dniu i połowie nocy za kierownicą to nie jest dobry pomysł smile Co prawda luty wyglądają tragicznie ale ważne, że działa. Trening czyni mistrza. Dzisiaj jeszcze 2 sztuki zamierzam przerobić smile

Swoją drogą to rewelacyjny jest ten u-boot od chińczyków ( ten z linku na wiki.openwrt.org ). Jest dużo dostępnych opcji między innymi backup dowolnej partycji lub całego flash, upgrade, overclocking i zmiana mac adresów.

EDIT: oczywiście wszystko z przeglądarki smile

Home: ZyXEL NBG6817 (OpenWrt)
NAS: HP ProLiant MicroServer Gen8 E3-1265L V2, 16 GB (PVE)

16

Odp: WT3020F 16MB flash - problem

Gruberek napisał/a:

5 razy go poprawiałem, bo się nie uruchamiał. Generalnie lutowanie po ciemku o 3 nad ranem, po całym dniu i połowie nocy za kierownicą to nie jest dobry pomysł smile Co prawda luty wyglądają tragicznie ale ważne, że działa. Trening czyni mistrza. Dzisiaj jeszcze 2 sztuki zamierzam przerobić smile

Praktyka czyni mistrza.

Gruberek napisał/a:

Swoją drogą to rewelacyjny jest ten u-boot od chińczyków ( ten z linku na wiki.openwrt.org ). Jest dużo dostępnych opcji między innymi backup dowolnej partycji lub całego flash, upgrade, overclocking i zmiana mac adresów.

Tia... zamknięte źródła, złamanie przez autora zasad licencji GPL... używasz na własną odpowiedzialność.
Moja modyfikacja na MediaTeki też będzie, testuję już wersję na MT7628.

17

Odp: WT3020F 16MB flash - problem

pepe2k napisał/a:

Moja modyfikacja na MediaTeki też będzie, testuję już wersję na MT7628.

No to rewelacja smile Jak tylko się pojawi to zmienię smile

Home: ZyXEL NBG6817 (OpenWrt)
NAS: HP ProLiant MicroServer Gen8 E3-1265L V2, 16 GB (PVE)

18

Odp: WT3020F 16MB flash - problem

@Gruberek: zrób sobie upgrade i zobacz czy działa.
http://dl.eko.one.pl/test/openwrt-ramip … pgrade.bin

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

19

Odp: WT3020F 16MB flash - problem

Niestety nie wstaje sad

root@OpenWrt:/tmp# sysupgrade -n openwrt-ramips-mt7620-wt3020-16M-squashfs-sysup
grade.bin
killall: watchdog: no process killed
Sending TERM to remaining processes ... ubusd logd netifd odhcpd ntpd dnsmasq
Sending KILL to remaining processes ...
Switching to ramdisk...
Performing system upgrade...
Unlocking firmware ...

Writing from <stdin> to firmware ...
Upgrade completed
Rebooting s[  131.010000] reboot: Restarting system
ystem...


U-Boot 1.1.4 (Nov 18 2014 - 22:58:07)

Ralink APSoC (MT7620 E2 ver 2, eco 6)
DRAM:  64 MB
Flash: Winbond W25Q128 (16 MB)
*** Warning - bad CRC, using default environment

Clocks: CPU:600MHz, Bus:200MHz
In:    serial
Out:   serial
Err:   serial
Net:   rt2880_eth_initialize...
VLAN: None
Fetching MAC Address from 0xbc040028
eth0: 8c:88:2b:00:3d:0c
eth0 up
eth0
Hit any key to stop autoboot:  0
## Booting image at 9c050000 ...
   Image Name:   MIPS OpenWrt Linux-3.18.16
   Created:      2015-06-27  12:22:31 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1195903 Bytes =  1.1 MB
   Load Address: 80000000
   Entry Point:  80000000
   Verifying Checksum at 0x9c050040 ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...
Home: ZyXEL NBG6817 (OpenWrt)
NAS: HP ProLiant MicroServer Gen8 E3-1265L V2, 16 GB (PVE)

20

Odp: WT3020F 16MB flash - problem

Gruberek napisał/a:
pepe2k napisał/a:

Moja modyfikacja na MediaTeki też będzie, testuję już wersję na MT7628.

No to rewelacja smile Jak tylko się pojawi to zmienię smile

Tak w ogóle, to ten U-Boot, którego używasz bazuje na mojej modyfikacji... Chińczyk ukradł, przerobił, opublikował binarki i nie chce podzielić się kodem.

Gruberek napisał/a:

Niestety nie wstaje sad

root@OpenWrt:/tmp# sysupgrade -n openwrt-ramips-mt7620-wt3020-16M-squashfs-sysup
grade.bin
killall: watchdog: no process killed
Sending TERM to remaining processes ... ubusd logd netifd odhcpd ntpd dnsmasq
Sending KILL to remaining processes ...
Switching to ramdisk...
Performing system upgrade...
Unlocking firmware ...

Writing from <stdin> to firmware ...
Upgrade completed
Rebooting s[  131.010000] reboot: Restarting system
ystem...


U-Boot 1.1.4 (Nov 18 2014 - 22:58:07)

Ralink APSoC (MT7620 E2 ver 2, eco 6)
DRAM:  64 MB
Flash: Winbond W25Q128 (16 MB)
*** Warning - bad CRC, using default environment

Clocks: CPU:600MHz, Bus:200MHz
In:    serial
Out:   serial
Err:   serial
Net:   rt2880_eth_initialize...
VLAN: None
Fetching MAC Address from 0xbc040028
eth0: 8c:88:2b:00:3d:0c
eth0 up
eth0
Hit any key to stop autoboot:  0
## Booting image at 9c050000 ...
   Image Name:   MIPS OpenWrt Linux-3.18.16
   Created:      2015-06-27  12:22:31 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1195903 Bytes =  1.1 MB
   Load Address: 80000000
   Entry Point:  80000000
   Verifying Checksum at 0x9c050040 ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

Ty masz problem z U-Bootem, nie z kernelem.

21

Odp: WT3020F 16MB flash - problem

@pepe2k: ale moja kompilacja odpala bez problemu smile

Home: ZyXEL NBG6817 (OpenWrt)
NAS: HP ProLiant MicroServer Gen8 E3-1265L V2, 16 GB (PVE)

22

Odp: WT3020F 16MB flash - problem

dts tylko podmieniłem smile

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

23

Odp: WT3020F 16MB flash - problem

Ja też smile ściągnąłem źródła, ustawiłem target, zmieniłem dts i efekt jest taki:

U-Boot 1.1.4 (Nov 18 2014 - 22:58:07)

Ralink APSoC (MT7620 E2 ver 2, eco 6)
DRAM:  64 MB
Flash: Winbond W25Q128 (16 MB)
*** Warning - bad CRC, using default environment

Clocks: CPU:600MHz, Bus:200MHz
In:    serial
Out:   serial
Err:   serial
Net:   rt2880_eth_initialize...
VLAN: None
Fetching MAC Address from 0xbc040028
eth0: 8c:88:2b:00:3d:0c
eth0 up
eth0
Hit any key to stop autoboot:  0
## Booting image at 9c050000 ...
   Image Name:   MIPS OpenWrt Linux-3.18.16
   Created:      2015-06-27   8:45:52 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1136040 Bytes =  1.1 MB
   Load Address: 80000000
   Entry Point:  80000000
   Verifying Checksum at 0x9c050040 ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.18.16 (gruberek@ubuntu) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46107) ) #2 Sat Jun 27 01:45:09 PDT 2015
[    0.000000] Board has DDR1
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: Ralink MT7620N ver:2 eco:6
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[    0.000000] MIPS: machine is Nexx WT3020
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 61372K/65536K available (2509K kernel code, 130K rwdata, 516K rodata, 164K init, 186K bss, 4164K reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 600MHz
[    0.000000] systick: running - mult: 214748, shift: 32
[    0.010000] Calibrating delay loop... 398.13 BogoMIPS (lpj=1990656)
[    0.070000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100000] pinctrl core: initialized pinctrl subsystem
[    0.110000] NET: Registered protocol family 16
[    0.130000] rt2880_gpio 10000600.gpio: registering 24 gpios
[    0.140000] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[    0.150000] rt2880_gpio 10000660.gpio: registering 32 gpios
[    0.160000] rt2880_gpio 10000660.gpio: registering 32 irq handlers
[    0.170000] rt2880_gpio 10000688.gpio: registering 1 gpios
[    0.180000] rt2880_gpio 10000688.gpio: registering 1 irq handlers
[    0.190000] Switched to clocksource systick
[    0.200000] NET: Registered protocol family 2
[    0.200000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.220000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.230000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.240000] TCP: reno registered
[    0.250000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.260000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.270000] NET: Registered protocol family 1
[    0.280000] rt-timer 10000100.timer: maximum frequency is 2441Hz
[    0.300000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.320000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.330000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.350000] msgmni has been set to 119
[    0.360000] io scheduler noop registered
[    0.370000] io scheduler deadline registered (default)
[    0.380000] drivers/phy/phy-ralink-usb.c:ralink_usb_phy_probe[147]
[    0.390000] drivers/phy/phy-ralink-usb.c:ralink_usb_phy_probe[161]
[    0.410000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.420000] console [ttyS0] disabled
[    0.430000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a 16550A
[    0.450000] console [ttyS0] enabled
[    0.450000] console [ttyS0] enabled
[    0.460000] bootconsole [early0] disabled
[    0.460000] bootconsole [early0] disabled
[    0.480000] m25p80 spi32766.0: w25q128 (16384 Kbytes)
[    0.490000] 4 ofpart partitions found on MTD device spi32766.0
[    0.500000] Creating 4 MTD partitions on "spi32766.0":
[    0.510000] 0x000000000000-0x000000030000 : "u-boot"
[    0.520000] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.540000] 0x000000040000-0x000000050000 : "factory"
[    0.550000] 0x000000050000-0x000001000000 : "firmware"
[    0.680000] 2 uimage-fw partitions found on MTD device firmware
[    0.690000] 0x000000050000-0x0000001655e8 : "kernel"
[    0.700000] 0x0000001655e8-0x000001000000 : "rootfs"
[    0.720000] mtd: device 5 (rootfs) set to be root filesystem
[    0.730000] 1 squashfs-split partitions found on MTD device rootfs
[    0.740000] 0x000000340000-0x000001000000 : "rootfs_data"
[    0.750000] ralink_soc_eth 10100000.ethernet: loaded mt7620 driver
[    0.770000] ralink_soc_eth 10100000.ethernet eth0: ralink at 0xb0100000, irq 5
[    0.780000] rt2880_wdt 10000120.watchdog: Initialized
[    0.790000] TCP: cubic registered
[    0.800000] NET: Registered protocol family 17
[    0.810000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    0.830000] 8021q: 802.1Q VLAN Support v1.8
[    0.860000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    0.880000] Freeing unused kernel memory: 164K (80317000 - 80340000)
[    3.280000] init: Console is alive
[    3.290000] init: - watchdog -
[    5.540000] usbcore: registered new interface driver usbfs
[    5.550000] usbcore: registered new interface driver hub
[    5.560000] usbcore: registered new device driver usb
[    5.580000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.590000] ehci-platform: EHCI generic platform driver
[    5.800000] phy phy-usbphy.0: remote usb device wakeup disabled
[    5.810000] phy phy-usbphy.0: UTMI 16bit 30MHz
[    5.820000] ehci-platform 101c0000.ehci: EHCI Host Controller
[    5.830000] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[    5.850000] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[    5.880000] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[    5.890000] hub 1-0:1.0: USB hub found
[    5.900000] hub 1-0:1.0: 1 port detected
[    5.910000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.920000] ohci-platform: OHCI generic platform driver
[    5.930000] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[    5.940000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[    5.960000] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[    6.030000] hub 2-0:1.0: USB hub found
[    6.040000] hub 2-0:1.0: 1 port detected
[    6.290000] init: - preinit -
[    6.770000] 8021q: adding VLAN 0 to HW filter on device eth0
[    6.860000] random: mktemp urandom read with 10 bits of entropy available
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   10.430000] jffs2: notice: (301) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   10.460000] mount_root: switching to jffs2 overlay
[   10.500000] procd: - early -
[   10.510000] procd: - watchdog -
[   11.140000] procd: - ubus -
[   12.160000] procd: - init -
Please press Enter to activate this console.
[   12.940000] NET: Registered protocol family 10
[   12.960000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   12.980000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
[   13.000000] Backport generated by backports.git backports-20150129-0-gdd4a670
[   13.020000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   13.040000] nf_conntrack version 0.5.0 (961 buckets, 3844 max)
[   13.080000] xt_time: kernel timezone is -0000
[   13.120000] cfg80211: Calling CRDA to update world regulatory domain
[   13.150000] cfg80211: World regulatory domain updated:
[   13.160000] cfg80211:  DFS Master region: unset
[   13.160000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   13.180000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   13.200000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   13.220000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   13.230000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   13.250000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   13.270000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   13.280000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   13.300000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   13.360000] PPP generic driver version 2.4.2
[   13.370000] NET: Registered protocol family 24
[   13.410000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0500 detected
[   13.430000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected
[   19.590000] 8021q: adding VLAN 0 to HW filter on device eth0
[   19.610000] device eth0.1 entered promiscuous mode
[   19.620000] device eth0 entered promiscuous mode
[   19.640000] br-lan: port 1(eth0.1) entered forwarding state
[   19.650000] br-lan: port 1(eth0.1) entered forwarding state
[   21.650000] br-lan: port 1(eth0.1) entered forwarding state
Home: ZyXEL NBG6817 (OpenWrt)
NAS: HP ProLiant MicroServer Gen8 E3-1265L V2, 16 GB (PVE)

24

Odp: WT3020F 16MB flash - problem

Gruberek napisał/a:

@pepe2k: ale moja kompilacja odpala bez problemu smile

Budujecie dwa zupełnie różne wersje kodu? W trunku zmieniła się biblioteka standardowa C (uClibc -> musl).
Tak czy siak, to jest problem z U-Boot, też kiedyś z tym walczyłem - jedne obrazy startowały, inne nie.

25

Odp: WT3020F 16MB flash - problem

Ja buduję CC-rc2 pobrane dzisiaj.

Home: ZyXEL NBG6817 (OpenWrt)
NAS: HP ProLiant MicroServer Gen8 E3-1265L V2, 16 GB (PVE)