Temat: Routerboard 133 wgranie openwrt

Witam

Ostatnio wpadł mi w ręce  Routerboard 133   ,udało mi się  uruchomić   w ramie  tylko jakąś starą wersję openwrt-adm5120-2.6-vmlinux.elf :

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
KAMIKAZE (bleeding edge, r11293) -------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
-------------------------------------


Nowsze wersje ściągane z  downloads.openwrt.org   przy  uruchamianiu   wywalają się   z komunikatem kernel panic:


openwrt-adm5120-router_le-vmlinux.elf

[   21.436000] Status: 18008402 KERNEL EXL
[   21.436000] Cause : b0808008
[   21.436000] BadVA : 0000016c
[   21.436000] PrId  : 0001800b (MIPS 4Kc)
[   21.436000] Modules linked in:
[   21.436000] Process default (pid: 0, threadinfo=8389e000, task=8389e03c, tls=0
0000001)
[   21.436000] Stack : 80343bd8 80343bd8 80363010 80363010 80363020 00000040
[   21.436000] Call Trace:
[   21.436000] [<800141bc>] __do_page_fault+0x58/0x3c8
[   21.436000]
[   21.436000]
Code: 3463d001  0083182b  00c08021 <1460007e> 8e36012c  3c03ffdf  8f840014  3463f
fff  00831824
[   21.596000] ---[ end trace 626b4a933640a487 ]---
[   21.648000] Kernel panic - not syncing: Fatal exception in interrupt
[   21.648000] ---[ end Kernel panic - not syncing: Fatal exception in interrupt
[   41.900000] random: nonblocking pool is ini


lub inna starsza wersja:
openwrt-15.05.1-adm5120-rb1xx-vmlinux.elf



DM5120 built-in ethernet switch driver version 0.1.1
adm5120_wdt: Watchdog Timer version 0.1
TCP: westwood registered
NET: Registered protocol family 17
Registering the dns_resolver key type
yaffs: dev is 32505859 name is "mtdblock3" ro
yaffs: passed flags ""
VFS: Mounted root (yaffs filesystem) readonly on device 31:3.
devtmpfs: error mounting -2
Freeing unused kernel memory: 156k freed
Kernel panic - not syncing: No init found.  Try passing init= option to kernel. S
e Linux Documentation/init.txt for guidance.


openwrt-15.05-adm5120-rb1xx-vmlinux.elf


[    2.316000] [<802f8230>] 0x802f8230
[    2.316000] [<80005ebc>] 0x80005ebc
[    2.316000] [<80005ecc>] 0x80005ecc
[    2.316000] [<80005ebc>] 0x80005ebc
[    2.316000] [<800014a8>] 0x800014a8
[    2.316000]
[    2.316000]
Code: 30420001  00a2180a  8c64001c <8c900000> 8e030000  8e020004  0062102b  14400
004  3c028035
[    2.520000] ---[ end trace 7ef8a5eed3b5b36d ]---
[    2.532000] Kernel panic - not syncing: Attempted to kill init! exitcode=0x000
0000b
[    2.532000]
[    2.532000] ---[ end Kernel panic - not syncing: Attempted to kill init! exitc
ode=0x0000000b
[    2.532000]


Mam  uwalone rb 133?   Na dwóch mam to samo.  Czy  uszkodzone obrazy  plików?

2

Odp: Routerboard 133 wgranie openwrt

Został Ci jeszcze http://downloads.lede-project.org/relea … 120/rb1xx/ do sprawdzenia.

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

3

Odp: Routerboard 133 wgranie openwrt

O dzięki sprawdzę

4 (edytowany przez aloszka 2017-02-20 21:47:42)

Odp: Routerboard 133 wgranie openwrt

Niestety  kernel panic:


[    1.220000] ADM5120 built-in ethernet switch driver version 0.1.1
[    1.256000] adm5120_wdt: Watchdog Timer version 0.1
[    1.264000] TCP: cubic registered
[    1.268000] NET: Registered protocol family 10
[    1.292000] NET: Registered protocol family 17
[    1.296000] bridge: automatic filtering via arp/ip/ip6tables has been deprecat
ed. Update your scripts to load br_netfilter if you need this.
[    1.308000] 8021q: 802.1Q VLAN Support v1.8
[    2.048000] yaffs: dev is 32505859 name is "mtdblock3" ro
[    2.052000] yaffs: passed flags ""
[    2.332000] VFS: Mounted root (yaffs2 filesystem) readonly on device 31:3.
[    2.340000] Freeing unused kernel memory: 196K (8032f000 - 80360000)
[    2.348000] Kernel panic - not syncing: No working init found.  Try passing in
it= option to kernel. See Linux Documentation/init.txt for guidance.
[    2.348000] Rebooting in 1 seconds..


Ta stara wersja co się  uruchamia mogła by być nawet  ale     przy instalacji  przez  wget2nand  się  też  wywala.

5

Odp: Routerboard 133 wgranie openwrt

Pokaż całość od samego uruchomienia.

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

6 (edytowany przez aloszka 2017-02-20 21:56:41)

Odp: Routerboard 133 wgranie openwrt

RouterBOOT booter 2.12

RouterBoard 133

CPU frequency: 175 MHz
  Memory size:  32 MB

Press any key within 2 seconds to enter setup..
trying dhcp protocol...... OK
resolved mac address 00:0C:42:16:3C:28
Gateway: 192.168.0.1
transfer started .......................... transfer ok, time=5.60s
setting up elf image... OK
jumping to kernel code
[    0.000000] Linux version 3.18.43 (buildbot@builds-02.infra.lede-project.org)
(gcc version 5.4.0 (LEDE GCC 5.4.0 r2995-2ac776a) ) #0 Sun Jan 29 16:34:29 2017
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001800b (MIPS 4Kc)
[    0.000000] SoC      : ADM5120 rev 8, running at 175.000 MHz
[    0.000000] Bootdev  : NOR flash
[    0.000000] Prom     : RouterBOOT
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x01ffffff]
[    0.000000] Primary instruction cache 8kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 16 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total page
s: 8128
[    0.000000] Kernel command line:  console=ttyAM0,115200 rootfstype=yaffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Memory: 28776K/32768K available (2718K kernel code, 111K rwdata, 4
20K rodata, 196K init, 190K bss, 3992K reserved)
[    0.000000] NR_IRQS:24
[    0.000000] Calibrating delay loop... 173.05 BogoMIPS (lpj=346112)
[    0.040000] pid_max: default: 32768 minimum: 301
[    0.044000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.048000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.076000] NET: Registered protocol family 16
[    0.084000] MIPS: machine is Mikrotik RouterBOARD 133
[    0.092000] registering PCI controller with io_map_base unset
[    0.136000] PCI host bridge to bus 0000:00
[    0.140000] pci_bus 0000:00: root bus resource [mem 0x11400000-0x114fffff]
[    0.144000] pci_bus 0000:00: root bus resource [io  0x11500000-0x115fffef]
[    0.148000] pci_bus 0000:00: No busn resource found for root bus, will use [bu
s 00-ff]
[    0.156000] Switched to clocksource MIPS
[    0.168000] NET: Registered protocol family 2
[    0.180000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.188000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.192000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.200000] TCP: reno registered
[    0.204000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.208000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.216000] NET: Registered protocol family 1
[    0.288000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.300000] msgmni has been set to 56
[    0.316000] io scheduler noop registered
[    0.320000] io scheduler deadline registered (default)
[    0.744000] Serial: AMBA driver
[    0.748000] apb:uart0: ttyAM0 at MMIO 0x12600000 (irq = 9, base_baud = 0) is a
AMBA
[    0.756000] console [ttyAM0] enabled
[    0.756000] console [ttyAM0] enabled
[    0.764000] bootconsole [early0] disabled
[    0.764000] bootconsole [early0] disabled
[    0.776000] apb:uart1: ttyAM1 at MMIO 0x12800000 (irq = 10, base_baud = 0) is
a AMBA
[    0.788000] adm5120-flash.0: probing at 0x1FC00000, size:128KiB, width:8 bits
[    0.796000] Found: PMC Pm39LV010
[    0.800000] adm5120-flash.0: Found 1 x8 devices at 0x0 in 8-bit bank
[    0.812000] number of JEDEC chips: 1
[    0.816000] adm5120-flash.0: found at 0x1FC00000, size:128KiB, width:8 bits
[    0.824000] Creating 2 MTD partitions on "adm5120-flash.0":
[    0.828000] 0x000000000000-0x000000010000 : "booter"
[    0.840000] 0x000000010000-0x000000020000 : "firmware"
[    0.856000] nand: device found, Manufacturer ID: 0xad, Chip ID: 0x76
[    0.860000] nand: Hynix NAND 64MiB 3,3V 8-bit
[    0.868000] nand: 64MiB, SLC, page size: 512, OOB size: 16
[    0.872000] Scanning device for bad blocks
[    1.180000] Creating 2 MTD partitions on "gen_nand":
[    1.188000] 0x000000000000-0x000000400000 : "kernel"
[    1.200000] 0x000000400000-0x000004000000 : "rootfs"
[    1.216000] mtd: device 3 (rootfs) set to be root filesystem
[    1.224000] ADM5120 built-in ethernet switch driver version 0.1.1
[    1.260000] adm5120_wdt: Watchdog Timer version 0.1
[    1.268000] TCP: cubic registered
[    1.272000] NET: Registered protocol family 10
[    1.304000] NET: Registered protocol family 17
[    1.308000] bridge: automatic filtering via arp/ip/ip6tables has been deprecat
ed. Update your scripts to load br_netfilter if you need this.
[    1.320000] 8021q: 802.1Q VLAN Support v1.8
[    2.044000] yaffs: dev is 32505859 name is "mtdblock3" ro
[    2.052000] yaffs: passed flags ""
[    2.332000] VFS: Mounted root (yaffs2 filesystem) readonly on device 31:3.
[    2.340000] Freeing unused kernel memory: 196K (8032f000 - 80360000)
[    2.348000] Kernel panic - not syncing: No working init found.  Try passing in
it= option to kernel. See Linux Documentation/init.txt for guidance.
[    2.348000] Rebooting in 1 seconds..

RouterBOOT booter 2.12

RouterBoard 133

CPU frequency: 175 MHz
  Memory size:  32 MB

Press any key within 2 seconds to enter setup..
trying dhcp protocol....... OK
resolved mac address 00:0C:42:16:3C:28
Gateway: 192.168.0.1
transfer started .....


to było z tego pliku: lede-17.01.0-rc1-r3042-ec095b5-adm5120-rb1xx-vmlinux.elf

7

Odp: Routerboard 133 wgranie openwrt

A z tego: lede-17.01.0-rc2-r3131-42f3c1f-adm5120-rb1xx-vmlinux.elf  jest to :  (chyba  to samo  wkleiłem nie sprawdzałem) 


Press any key within 2 seconds to enter setup..
trying dhcp protocol........ OK
resolved mac address 00:0C:42:16:3C:28
Gateway: 192.168.0.1
transfer started .......................... transfer ok, time=5.73s
setting up elf image... OK
jumping to kernel code
[    0.000000] Linux version 3.18.43 (buildbot@builds-02.infra.lede-project.org)
(gcc version 5.4.0 (LEDE GCC 5.4.0 r3104-41de9a2) ) #0 Thu Feb 2 21:49:33 2017
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001800b (MIPS 4Kc)
[    0.000000] SoC      : ADM5120 rev 8, running at 175.000 MHz
[    0.000000] Bootdev  : NOR flash
[    0.000000] Prom     : RouterBOOT
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x01ffffff]
[    0.000000] Primary instruction cache 8kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 16 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total page
s: 8128
[    0.000000] Kernel command line:  console=ttyAM0,115200 rootfstype=yaffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Memory: 28776K/32768K available (2718K kernel code, 111K rwdata, 4
20K rodata, 196K init, 190K bss, 3992K reserved)
[    0.000000] NR_IRQS:24
[    0.000000] Calibrating delay loop... 173.05 BogoMIPS (lpj=346112)
[    0.040000] pid_max: default: 32768 minimum: 301
[    0.044000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.048000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.076000] NET: Registered protocol family 16
[    0.084000] MIPS: machine is Mikrotik RouterBOARD 133
[    0.092000] registering PCI controller with io_map_base unset
[    0.136000] PCI host bridge to bus 0000:00
[    0.140000] pci_bus 0000:00: root bus resource [mem 0x11400000-0x114fffff]
[    0.144000] pci_bus 0000:00: root bus resource [io  0x11500000-0x115fffef]
[    0.148000] pci_bus 0000:00: No busn resource found for root bus, will use [bu
s 00-ff]
[    0.156000] Switched to clocksource MIPS
[    0.168000] NET: Registered protocol family 2
[    0.180000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.188000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.192000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.200000] TCP: reno registered
[    0.204000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.208000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.216000] NET: Registered protocol family 1
[    0.292000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.304000] msgmni has been set to 56
[    0.324000] io scheduler noop registered
[    0.328000] io scheduler deadline registered (default)
[    0.752000] Serial: AMBA driver
[    0.756000] apb:uart0: ttyAM0 at MMIO 0x12600000 (irq = 9, base_baud = 0) is a
AMBA
[    0.764000] console [ttyAM0] enabled
[    0.764000] console [ttyAM0] enabled
[    0.772000] bootconsole [early0] disabled
[    0.772000] bootconsole [early0] disabled
[    0.780000] apb:uart1: ttyAM1 at MMIO 0x12800000 (irq = 10, base_baud = 0) is
a AMBA
[    0.796000] adm5120-flash.0: probing at 0x1FC00000, size:128KiB, width:8 bits
[    0.804000] Found: PMC Pm39LV010
[    0.808000] adm5120-flash.0: Found 1 x8 devices at 0x0 in 8-bit bank
[    0.820000] number of JEDEC chips: 1
[    0.824000] adm5120-flash.0: found at 0x1FC00000, size:128KiB, width:8 bits
[    0.832000] Creating 2 MTD partitions on "adm5120-flash.0":
[    0.836000] 0x000000000000-0x000000010000 : "booter"
[    0.848000] 0x000000010000-0x000000020000 : "firmware"
[    0.864000] nand: device found, Manufacturer ID: 0xad, Chip ID: 0x76
[    0.868000] nand: Hynix NAND 64MiB 3,3V 8-bit
[    0.872000] nand: 64MiB, SLC, page size: 512, OOB size: 16
[    0.880000] Scanning device for bad blocks
[    1.188000] Creating 2 MTD partitions on "gen_nand":
[    1.196000] 0x000000000000-0x000000400000 : "kernel"
[    1.208000] 0x000000400000-0x000004000000 : "rootfs"
[    1.224000] mtd: device 3 (rootfs) set to be root filesystem
[    1.232000] ADM5120 built-in ethernet switch driver version 0.1.1
[    1.268000] adm5120_wdt: Watchdog Timer version 0.1
[    1.276000] TCP: cubic registered
[    1.280000] NET: Registered protocol family 10
[    1.300000] NET: Registered protocol family 17
[    1.304000] bridge: automatic filtering via arp/ip/ip6tables has been deprecat
ed. Update your scripts to load br_netfilter if you need this.
[    1.316000] 8021q: 802.1Q VLAN Support v1.8
[    2.048000] yaffs: dev is 32505859 name is "mtdblock3" ro
[    2.052000] yaffs: passed flags ""
[    2.332000] VFS: Mounted root (yaffs2 filesystem) readonly on device 31:3.
[    2.344000] Freeing unused kernel memory: 196K (8032f000 - 80360000)
[    2.348000] Kernel panic - not syncing: No working init found.  Try passing in
it= option to kernel. See Linux Documentation/init.txt for guidance.
[    2.348000] Rebooting in 1 seconds..

RouterBOOT booter 2.12

RouterBoard 133

CPU frequency: 175 MHz
  Memory size:  32 MB

Press any key within 2 seconds to enter setup..
trying dhcp protocol........ OK
resolved mac address 00:0C:42:16:3C:28
Gateway: 192.168.0.1
transfer started

8

Odp: Routerboard 133 wgranie openwrt

Nie wiem dlaczego on tak robi.

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

9

Odp: Routerboard 133 wgranie openwrt

Ok. To niestety kaplica.

10

Odp: Routerboard 133 wgranie openwrt

Mielm kiedys ten sprzet. Wydaje mi sie ze probujesz odpalic (bootp) obraz ktory szuka juz openwrt w nand a go tam nie masz. poczytaj:
https://wiki.openwrt.org/toh/mikrotik/rb133
Najpierw obraz startujacy z ram, pozniej zapis do flash.

11

Odp: Routerboard 133 wgranie openwrt

W ramdysku odpalam sobie  jakąś  zabytkową wersję  (patrz pierwszy post)    jest opis  instalacji  tej wersji ,    wget2nand    coś tam zapisuje jednak   nie podnosi się obraz po   przestawieniu   na odpalenie  z flasha.   Jest też    opis   zapisu   inną metodą  ale  nie próbowałem jeszcze .  W wiki pisze że  musi być dhcp  i serwer tftp i tak mam zrobione.  Niestety nowych wersji nie potrafię odpalić nawet w ramdysku.

12

Odp: Routerboard 133 wgranie openwrt

Mysle ze powinienes pobawic sie glownie wersja AA - https://downloads.openwrt.org/attitude_ … ent/12.09/

13

Odp: Routerboard 133 wgranie openwrt

Chyba próbowałem wcześniej   już  to uruchomić :

[    2.196000] Kernel panic - not syncing: No init found.  Try passing init= optio
n to kernel. See Linux Documentation/init.txt 

To ostatnie dwie linijki