Как стать автором
Обновить

Комментарии 14

Спасибо, а я всегда думал что sysupgrade для обновления OpenWRT, а factory для перепрошивки, и с опаской шью самосборные прошивки на wt3020, потому как factory даёт ошибку а sysupgrade нет
Стоит отметить, что все это справедливо лишь для определённых целей сборки. Для других всё может сильно отличаться.
Всегда использовал DD-WRT — очень стабильна и не подводила, подскажите насколько сильна разница с OpenWRT?
Разница в чём? Если в надёжности, то OpenWrt крайне надёжен. На счёт dd-wrt ничего не знаю.
OpenWRT открыта и есть пакетный менеджер. Oчень удобно добавлять желаемый функционал. Наверняка есть ещё отличия…
Отличия в удобстве. Есть правда кое какие моменты которые в OpenWRT нужно подумать а в dd-wrt работают из коробки (например VPN), но это компенсируется удобством в настройке что с консоли что с веба, простота сборки прошивки с выбором пакетов в прошивки ( что даёт возможность записать пакеты которые не устанавливаются из-за недостатка места, благодаря оптимизации ( или сжатию, не суть) и докучи всунуть в прошивку например логин-пароль инета. и при factory reset получить сразу рабочий инет.
+ использование места на встроенной памяти ( в dd-wrt такого не видел, когда пользовался)
В dd-wrt тоже это есть. Но вот добавления в прошивку нужно функционала нету точно, а пакетный менеджер тоже есть.
Несовсем, dd-wrt открыт(opensource) лишь частично, вы можете пересобрать прошивку, используя их SDK. Но это нетривиальный процесс с почти отсутствующей документацией. Однажды пройдя этот квест, все профиты, полученные этим трудом, оказались ниже удобства OpenWRT.

P.S. Добавлял coovachilli + кастомные страницы веб интерфейса. Удалось, но я вам настоятельно советую не повторять этот квест.
Если аналогию с десктопами — это примерно как ubuntu vs gentoo.
В openwrt всё достаточно чётко структурировано по пакетам/папкам — тут ядро, тут тулзы, тут вебморда и т.д. Причём разный дополнительный софт (например, tor, transmission-daemon и т.д. фактически является частью системы и ставится единообразно. Разве что скачивается из отдельных реп; но в дереве конфига потом уже без разницы). Разработка идёт непрерывно; новые фичи и обновлённые пакеты появляются в транке практически сразу. И да — я говорю про сборку из исходников. Она достаточно беспроблемна.
dd-wrt принято ставить из бинарей. Исходники можно _попробовать_ собрать, но геморроя с этим гораздо больше, чем в openwrt. Сами исходники организованы как попало (например, какие-нибудь специфические модули ядра могут лежать в произвольной папке и ссылаться на другие исходники прямыми связями). Дополнительного софта в базовой сборке вообще не предполагается. Собрать модуль ядра, чтобы запустить какую-нубидь специфическую железку (3g модем или принтер) — совсем нетривиальная задача. Но зато есть и плюсы — монолитная система (скачал блоб, прошил — и работает). Есть проприетарные модули для разных чипов, аналогов которых нет в openwrt (например, если производитель железа даёт собственный скомпилированный блоб — ddwrt его заюзает и включит в прошивку; openwrt не будет).
Ну и — дополнительные софт для ddwrt всё же можно поставить через optware. Но у этого подхода есть минусы (например, увеличенное потребление памяти из-за дубля системных библиотек; невозможно так просто собрать что-то низкоуровневое, что нужно запускать как модуль ядра).
Я бы не сказал, что сборка транка беспроблемна. Но сообщество старается, чтобы она была таковой.
НЛО прилетело и опубликовало эту надпись здесь
OpenWrt можно собрать и для микроволновки, если архитектура позволит.
Спасибо, добрый человек.

Без этого текста всем было бы лень ещё лет тридцать-сорок, а с ним у нас за сегодня появилась поддержка сброса настроек OpenWRT до заводских прямо из U-Boot'а.

Ищет первый заголовок JFFS2 (по двухбайтовой сигнатуре и проверке CRC всего заголовка), после чего вписывает вместо него 0xDEADCODE.

Вроде не упомянули главного различия с прикладной точки зрения:
initramfs-kernel не сохраняет изменения, сделанные в файловой системе во время работы
squashfs-sysupgrade же — сохраняет (если дать достаточно времени на инициализацию системы)


Это я глядя на ваши илюстрации структур образов понял, почему в моей тестовой сборке OpenWRT 19.07 не сохранялись настройки сети между перезагрузками (не смотря на uci commit). Я прошивал вариант initramfs-kernel.


Из бутлогов это хорошо видно (diff-айте, чтобы увидеть разницу):


вариант `initramfs-kernel`
Checking image at bc050000 ...

Image Name: MIPS OpenWrt Linux-5.4.93
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 7021100 Bytes = 6.7 MB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum… OK
Uncompressing Kernel Image… OK


Starting kernel ...


[ 0.000000] Linux version 5.4.93 (serg@ubuntu) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r15667-84fa59b5a8)) #0 Mon Feb 1 09:00:23 2021
[ 0.000000] Board has DDR2
[ 0.000000] Analog PMU set to hw control
[ 0.000000] Digital PMU set to hw control
[ 0.000000] SoC Type: MediaTek MT7620A ver:2 eco:6
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[ 0.000000] MIPS: machine is Xiaomi MiWiFi Mini
[ 0.000000] Initrd not found or empty — disabling initrd
[ 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] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Writing ErrCtl register=0002d458
[ 0.000000] Readback ErrCtl register=0002d458
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 117488K/131072K available (4735K kernel code, 205K rwdata, 1044K rodata, 6040K init, 205K bss, 13584K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 256
[ 0.000000] random: get_random_bytes called from start_kernel+0x32c/0x520 with crng_init=0
[ 0.000000] CPU Clock: 580MHz
[ 0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
[ 0.000000] systick: enable autosleep mode
[ 0.000000] systick: running — mult: 214748, shift: 32
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[ 0.000010] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[ 0.007592] Calibrating delay loop… 385.02 BogoMIPS (lpj=770048)
[ 0.045493] pid_max: default: 32768 minimum: 301
[ 0.050194] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.057253] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.071731] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.081212] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.087901] pinctrl core: initialized pinctrl subsystem
[ 0.093586] NET: Registered protocol family 16
[ 0.360577] PCI host bridge /pcie@10140000 ranges:
[ 0.365197] MEM 0x0000000020000000..0x000000002fffffff
[ 0.370253] IO 0x0000000010160000..0x000000001016ffff
[ 0.398775] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 0.404255] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[ 0.410597] rt2880_gpio 10000638.gpio: registering 16 gpios
[ 0.416027] rt2880_gpio 10000638.gpio: registering 16 irq handlers
[ 0.422886] PCI host bridge to bus 0000:00
[ 0.426868] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[ 0.433494] pci_bus 0000:00: root bus resource [io 0xffffffff]
[ 0.439242] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.445833] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.453571] pci 0000:00:00.0: [1814:0801] type 01 class 0x060400
[ 0.459391] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 0.465453] pci 0000:00:00.0: reg 0x14: [mem 0x20200000-0x2020ffff]
[ 0.471625] pci 0000:00:00.0: supports D1
[ 0.475447] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 0.483342] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[ 0.489228] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[ 0.495820] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[ 0.502401] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[ 0.510369] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 0.516779] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[ 0.523204] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[ 0.529594] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[ 0.536359] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff]
[ 0.542954] pci 0000:00:00.0: BAR 9: assigned [mem 0x20100000-0x201fffff pref]
[ 0.549969] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff]
[ 0.556571] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit]
[ 0.563681] pci 0000:01:00.0: BAR 6: assigned [mem 0x20100000-0x2010ffff pref]
[ 0.570675] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.575494] pci 0000:00:00.0: bridge window [mem 0x20000000-0x200fffff]
[ 0.582086] pci 0000:00:00.0: bridge window [mem 0x20100000-0x201fffff pref]
[ 0.589219] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 0.603981] clocksource: Switched to clocksource systick
[ 0.610585] NET: Registered protocol family 2
[ 0.615716] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.623876] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.631283] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.638129] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.644450] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.650808] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.657873] NET: Registered protocol family 1
[ 0.662159] PCI: CLS 0 bytes, default 32
[ 1.155969] random: fast init done
[ 9.947844] rt-timer 10000100.timer: maximum frequency is 1220Hz
[ 9.956128] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 9.970909] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 9.976580] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 10.004904] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 10.012331] printk: console [ttyS0] disabled
[ 10.016531] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[ 10.026155] printk: console [ttyS0] enabled
[ 10.026155] printk: console [ttyS0] enabled
[ 10.034614] printk: bootconsole [early0] disabled
[ 10.034614] printk: bootconsole [early0] disabled
[ 10.051061] spi spi0.0: force spi mode3
[ 10.066161] spi-nor spi0.0: w25q128 (16384 Kbytes)
[ 10.071135] 7 fixed-partitions partitions found on MTD device spi0.0
[ 10.077630] Creating 7 MTD partitions on "spi0.0":
[ 10.082539] 0x000000000000-0x000000030000: "u-boot"
[ 10.088761] 0x000000030000-0x000000040000: "u-boot-env"
[ 10.095261] 0x000000040000-0x000000050000: "factory"
[ 10.101503] 0x000000050000-0x000000fd0000: "firmware"
[ 10.182594] 0x000000fd0000-0x000000fe0000: "crash"
[ 10.188762] 0x000000fe0000-0x000000ff0000: "reserved"
[ 10.195076] 0x000000ff0000-0x000001000000: "Bdata"
[ 10.202073] libphy: Fixed MDIO Bus: probed
[ 10.217532] gsw: setting port4 to ephy mode
[ 10.221896] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 0 link up (100Mbps/Full duplex)
[ 10.231640] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[ 10.238478] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[ 10.247503] rt2880_wdt 10000120.watchdog: Initialized
[ 10.254175] NET: Registered protocol family 10
[ 10.262918] Segment Routing with IPv6
[ 10.266882] NET: Registered protocol family 17
[ 10.271513] 8021q: 802.1Q VLAN Support v1.8
[ 10.312112] Freeing unused kernel memory: 6040K
[ 10.316765] This architecture does not have kernel memory protection.
[ 10.323343] Run /init as init process
[ 10.980535] init: Console is alive
[ 10.984433] init: — watchdog — [ 11.017780] kmodloader: loading kernel modules from /etc/modules-boot.d/[ 11.038367] usbcore: registered new interface driver usbfs
[ 11.044162] usbcore: registered new interface driver hub
[ 11.049746] usbcore: registered new device driver usb
[ 11.061836] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 11.077751] SCSI subsystem initialized
[ 11.087331] ehci-fsl: Freescale EHCI Host controller driver
[ 11.095310] ehci-platform: EHCI generic platform driver
[ 11.111080] phy phy-usbphy.0: remote usb device wakeup disabled
[ 11.117148] phy phy-usbphy.0: UTMI 16bit 30MHz
[ 11.121697] ehci-platform 101c0000.ehci: EHCI Host Controller
[ 11.127608] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[ 11.135837] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[ 11.146913] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[ 11.154372] hub 1-0:1.0: USB hub found
[ 11.158802] hub 1-0:1.0: 1 port detected
[ 11.168801] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 11.176534] ohci-platform: OHCI generic platform driver
[ 11.182252] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[ 11.189276] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[ 11.197494] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[ 11.229041] hub 2-0:1.0: USB hub found
[ 11.233431] hub 2-0:1.0: 1 port detected
[ 11.246423] usbcore: registered new interface driver usb-storage
[ 11.253521] kmodloader: done loading kernel modules from /etc/modules-boot.d/

[ 11.262512] init: — preinit — [ 11.524781] random: jshn: uninitialized urandom read (4 bytes read)
[ 11.618802] random: jshn: uninitialized urandom read (4 bytes read)
[ 11.792686] random: jshn: uninitialized urandom read (4 bytes read)
[ 12.192555] 8021q: adding VLAN 0 to HW filter on device eth0
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
[ 13.736938] procd: — early — [ 13.740198] procd: — watchdog — [ 14.029499] procd: — watchdog — [ 14.033246] procd: — ubus — [ 14.046220] urandom_read: 5 callbacks suppressed
[ 14.046230] random: ubusd: uninitialized urandom read (4 bytes read)
[ 14.068616] random: ubusd: uninitialized urandom read (4 bytes read)
[ 14.076892] procd: — init — Please press Enter to activate this console.
[ 14.794150] kmodloader: loading kernel modules from /etc/modules.d/[ 14.840579] Loading modules backported from Linux version v5.8.18-0-gab435ce49bd1
[ 14.848305] Backport generated by backports.git v5.8.18-1-0-ga630fd46
[ 14.922657] xt_time: kernel timezone is -0000
[ 15.074785] mt76x2e 0000:01:00.0: card — bus=0x1, slot = 0x0 irq=4
[ 15.081431] mt76x2e 0000:01:00.0: ASIC revision: 76120044
[ 15.157826] urngd: jent-rng init failed, err: 2
[ 15.362386] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a
[ 15.373700] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
[ 15.379363] mt76x2e 0000:01:00.0: Build: 1
[ 15.383556] mt76x2e 0000:01:00.0: Build Time: 201507311614____
[ 15.399525] mt76x2e 0000:01:00.0: Firmware running!
[ 15.466057] PPP generic driver version 2.4.2
[ 15.480605] NET: Registered protocol family 24
[ 15.569310] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory"
[ 15.576771] ieee80211 phy1: rt2x00_set_rt: Info — RT chipset 6352, rev 0500 detected
[ 15.584717] ieee80211 phy1: rt2x00_set_rf: Info — RF chipset 7620 detected
[ 15.631836] kmodloader: done loading kernel modules from /etc/modules.d/

[ 21.502554] random: crng init done
[ 70.879662] 8021q: adding VLAN 0 to HW filter on device eth0
[ 70.904804] br-lan: port 1(eth0.1) entered blocking state
[ 70.910407] br-lan: port 1(eth0.1) entered disabled state
[ 70.916372] device eth0.1 entered promiscuous mode
[ 70.921325] device eth0 entered promiscuous mode
[ 70.958642] br-lan: port 1(eth0.1) entered blocking state
[ 70.964194] br-lan: port 1(eth0.1) entered forwarding state
[ 71.895034] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready


вариант `squashfs-sysupgrade` (первая загрузка)
Checking image at bc050000 ...

Image Name: MIPS OpenWrt Linux-5.4.93
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1995820 Bytes = 1.9 MB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum… OK
Uncompressing Kernel Image… OK


Starting kernel ...


[ 0.000000] Linux version 5.4.93 (serg@ubuntu) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r15667-84fa59b5a8)) #0 Mon Feb 1 09:00:23 2021
[ 0.000000] Board has DDR2
[ 0.000000] Analog PMU set to hw control
[ 0.000000] Digital PMU set to hw control
[ 0.000000] SoC Type: MediaTek MT7620A ver:2 eco:6
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[ 0.000000] MIPS: machine is Xiaomi MiWiFi Mini
[ 0.000000] Initrd not found or empty — disabling initrd
[ 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] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Writing ErrCtl register=0002d450
[ 0.000000] Readback ErrCtl register=0002d450
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 122352K/131072K available (4735K kernel code, 205K rwdata, 1044K rodata, 1176K init, 205K bss, 8720K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 256
[ 0.000000] random: get_random_bytes called from start_kernel+0x32c/0x520 with crng_init=0
[ 0.000000] CPU Clock: 580MHz
[ 0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
[ 0.000000] systick: enable autosleep mode
[ 0.000000] systick: running — mult: 214748, shift: 32
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[ 0.000011] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[ 0.007593] Calibrating delay loop… 385.02 BogoMIPS (lpj=770048)
[ 0.045485] pid_max: default: 32768 minimum: 301
[ 0.050186] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.057245] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.071709] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.081190] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.087878] pinctrl core: initialized pinctrl subsystem
[ 0.093559] NET: Registered protocol family 16
[ 0.360537] PCI host bridge /pcie@10140000 ranges:
[ 0.365157] MEM 0x0000000020000000..0x000000002fffffff
[ 0.370213] IO 0x0000000010160000..0x000000001016ffff
[ 0.398681] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 0.404161] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[ 0.410504] rt2880_gpio 10000638.gpio: registering 16 gpios
[ 0.415934] rt2880_gpio 10000638.gpio: registering 16 irq handlers
[ 0.422788] PCI host bridge to bus 0000:00
[ 0.426771] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[ 0.433397] pci_bus 0000:00: root bus resource [io 0xffffffff]
[ 0.439145] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.445736] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.453474] pci 0000:00:00.0: [1814:0801] type 01 class 0x060400
[ 0.459294] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 0.465356] pci 0000:00:00.0: reg 0x14: [mem 0x20200000-0x2020ffff]
[ 0.471525] pci 0000:00:00.0: supports D1
[ 0.475349] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 0.483242] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[ 0.489127] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[ 0.495719] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[ 0.502298] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[ 0.510259] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 0.516668] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[ 0.523093] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[ 0.529483] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[ 0.536249] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff]
[ 0.542844] pci 0000:00:00.0: BAR 9: assigned [mem 0x20100000-0x201fffff pref]
[ 0.549858] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff]
[ 0.556461] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit]
[ 0.563571] pci 0000:01:00.0: BAR 6: assigned [mem 0x20100000-0x2010ffff pref]
[ 0.570564] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.575384] pci 0000:00:00.0: bridge window [mem 0x20000000-0x200fffff]
[ 0.581975] pci 0000:00:00.0: bridge window [mem 0x20100000-0x201fffff pref]
[ 0.589108] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 0.603865] clocksource: Switched to clocksource systick
[ 0.610457] NET: Registered protocol family 2
[ 0.615587] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.623748] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.631154] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.638000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.644323] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.650680] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.657750] NET: Registered protocol family 1
[ 0.662032] PCI: CLS 0 bytes, default 32
[ 0.668952] rt-timer 10000100.timer: maximum frequency is 1220Hz
[ 0.677210] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 0.692073] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.697715] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.725885] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.733251] printk: console [ttyS0] disabled
[ 0.737471] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[ 0.747094] printk: console [ttyS0] enabled
[ 0.747094] printk: console [ttyS0] enabled
[ 0.755552] printk: bootconsole [early0] disabled
[ 0.755552] printk: bootconsole [early0] disabled
[ 0.772125] spi spi0.0: force spi mode3
[ 0.787313] spi-nor spi0.0: w25q128 (16384 Kbytes)
[ 0.792294] 7 fixed-partitions partitions found on MTD device spi0.0
[ 0.798788] Creating 7 MTD partitions on "spi0.0":
[ 0.803698] 0x000000000000-0x000000030000: "u-boot"
[ 0.809830] 0x000000030000-0x000000040000: "u-boot-env"
[ 0.816473] 0x000000040000-0x000000050000: "factory"
[ 0.822687] 0x000000050000-0x000000fd0000: "firmware"
[ 0.832463] 2 uimage-fw partitions found on MTD device firmware
[ 0.838576] Creating 2 MTD partitions on "firmware":
[ 0.843668] 0x000000000000-0x0000001e746c: "kernel"
[ 0.849811] 0x0000001e746c-0x000000f80000: "rootfs"
[ 0.855977] mtd: device 5 (rootfs) set to be root filesystem
[ 0.863639] 1 squashfs-split partitions found on MTD device rootfs
[ 0.870046] 0x0000006dd000-0x000000f80000: "rootfs_data"
[ 0.876692] 0x000000fd0000-0x000000fe0000: "crash"
[ 0.882752] 0x000000fe0000-0x000000ff0000: "reserved"
[ 0.889120] 0x000000ff0000-0x000001000000: "Bdata"
[ 0.896178] libphy: Fixed MDIO Bus: probed
[ 0.912454] gsw: setting port4 to ephy mode
[ 0.916803] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 0 link up (100Mbps/Full duplex)
[ 0.926678] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[ 0.933521] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[ 0.942538] rt2880_wdt 10000120.watchdog: Initialized
[ 0.949238] NET: Registered protocol family 10
[ 0.958096] Segment Routing with IPv6
[ 0.962060] NET: Registered protocol family 17
[ 0.966694] 8021q: 802.1Q VLAN Support v1.8
[ 0.983250] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 0.997255] Freeing unused kernel memory: 1176K
[ 1.001910] This architecture does not have kernel memory protection.
[ 1.008489] Run /sbin/init as init process
[ 1.207809] random: fast init done
[ 2.757587] init: Console is alive
[ 2.761489] init: — watchdog — [ 5.198920] kmodloader: loading kernel modules from /etc/modules-boot.d/[ 5.473801] usbcore: registered new interface driver usbfs
[ 5.479595] usbcore: registered new interface driver hub
[ 5.485175] usbcore: registered new device driver usb
[ 5.497456] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 5.513462] SCSI subsystem initialized
[ 5.523083] ehci-fsl: Freescale EHCI Host controller driver
[ 5.531018] ehci-platform: EHCI generic platform driver
[ 5.546777] phy phy-usbphy.0: remote usb device wakeup disabled
[ 5.552840] phy phy-usbphy.0: UTMI 16bit 30MHz
[ 5.557389] ehci-platform 101c0000.ehci: EHCI Host Controller
[ 5.563299] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[ 5.571535] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[ 5.582650] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[ 5.590153] hub 1-0:1.0: USB hub found
[ 5.594537] hub 1-0:1.0: 1 port detected
[ 5.604614] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 5.612364] ohci-platform: OHCI generic platform driver
[ 5.618080] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[ 5.625100] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[ 5.633327] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[ 5.664850] hub 2-0:1.0: USB hub found
[ 5.669217] hub 2-0:1.0: 1 port detected
[ 5.682291] usbcore: registered new interface driver usb-storage
[ 5.689376] kmodloader: done loading kernel modules from /etc/modules-boot.d/

[ 5.698328] init: — preinit — [ 7.778988] random: jshn: uninitialized urandom read (4 bytes read)
[ 7.872464] random: jshn: uninitialized urandom read (4 bytes read)
[ 8.046504] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.002924] 8021q: adding VLAN 0 to HW filter on device eth0
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
[ 9.079881] urandom_read: 4 callbacks suppressed
[ 9.079890] random: procd: uninitialized urandom read (4 bytes read)
[ 10.662711] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[ 10.674703] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 10.821081] procd: — early — [ 10.824140] procd: — watchdog — [ 11.246636] procd: — watchdog — [ 11.250619] procd: — ubus — [ 11.296289] random: ubusd: uninitialized urandom read (4 bytes read)
[ 11.305549] random: ubusd: uninitialized urandom read (4 bytes read)
[ 11.313950] procd: — init — Please press Enter to activate this console.
[ 12.382366] kmodloader: loading kernel modules from /etc/modules.d/[ 12.594885] Loading modules backported from Linux version v5.8.18-0-gab435ce49bd1
[ 12.602615] Backport generated by backports.git v5.8.18-1-0-ga630fd46
[ 12.677612] xt_time: kernel timezone is -0000
[ 12.905125] mt76x2e 0000:01:00.0: card — bus=0x1, slot = 0x0 irq=4
[ 12.911780] mt76x2e 0000:01:00.0: ASIC revision: 76120044
[ 12.982128] urngd: jent-rng init failed, err: 2
[ 13.190071] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a
[ 13.202134] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
[ 13.207818] mt76x2e 0000:01:00.0: Build: 1
[ 13.212011] mt76x2e 0000:01:00.0: Build Time: 201507311614____
[ 13.227583] mt76x2e 0000:01:00.0: Firmware running!
[ 13.294518] PPP generic driver version 2.4.2
[ 13.308742] NET: Registered protocol family 24
[ 13.441444] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory"
[ 13.448919] ieee80211 phy1: rt2x00_set_rt: Info — RT chipset 6352, rev 0500 detected
[ 13.456869] ieee80211 phy1: rt2x00_set_rf: Info — RF chipset 7620 detected
[ 13.472912] kmodloader: done loading kernel modules from /etc/modules.d/

[ 21.430159] random: crng init done
[ 76.088002] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 76.110743] jffs2_build_filesystem(): unlocking the mtd device…
[ 76.112231] done.
[ 76.120579] jffs2_build_filesystem(): erasing all blocks after the end marker…
[ 81.905771] 8021q: adding VLAN 0 to HW filter on device eth0
[ 81.969037] br-lan: port 1(eth0.1) entered blocking state
[ 81.974653] br-lan: port 1(eth0.1) entered disabled state
[ 81.980601] device eth0.1 entered promiscuous mode
[ 81.985555] device eth0 entered promiscuous mode
[ 82.082567] br-lan: port 1(eth0.1) entered blocking state
[ 82.088127] br-lan: port 1(eth0.1) entered forwarding state
[ 82.910645] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready


вариант `squashfs-sysupgrade` (последующие загрузки)
Checking image at bc050000 ...

Image Name: MIPS OpenWrt Linux-5.4.93
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1995820 Bytes = 1.9 MB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum… OK
Uncompressing Kernel Image… OK


Starting kernel ...


[ 0.000000] Linux version 5.4.93 (serg@ubuntu) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r15667-84fa59b5a8)) #0 Mon Feb 1 09:00:23 2021
[ 0.000000] Board has DDR2
[ 0.000000] Analog PMU set to hw control
[ 0.000000] Digital PMU set to hw control
[ 0.000000] SoC Type: MediaTek MT7620A ver:2 eco:6
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[ 0.000000] MIPS: machine is Xiaomi MiWiFi Mini
[ 0.000000] Initrd not found or empty — disabling initrd
[ 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] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Writing ErrCtl register=0003c050
[ 0.000000] Readback ErrCtl register=0003c050
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 122352K/131072K available (4735K kernel code, 205K rwdata, 1044K rodata, 1176K init, 205K bss, 8720K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 256
[ 0.000000] random: get_random_bytes called from start_kernel+0x32c/0x520 with crng_init=0
[ 0.000000] CPU Clock: 580MHz
[ 0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
[ 0.000000] systick: enable autosleep mode
[ 0.000000] systick: running — mult: 214748, shift: 32
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[ 0.000011] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[ 0.007593] Calibrating delay loop… 385.02 BogoMIPS (lpj=770048)
[ 0.045491] pid_max: default: 32768 minimum: 301
[ 0.050191] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.057250] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.071714] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.081195] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.087883] pinctrl core: initialized pinctrl subsystem
[ 0.093564] NET: Registered protocol family 16
[ 0.360542] PCI host bridge /pcie@10140000 ranges:
[ 0.365163] MEM 0x0000000020000000..0x000000002fffffff
[ 0.370219] IO 0x0000000010160000..0x000000001016ffff
[ 0.398683] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 0.404163] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[ 0.410506] rt2880_gpio 10000638.gpio: registering 16 gpios
[ 0.415936] rt2880_gpio 10000638.gpio: registering 16 irq handlers
[ 0.422790] PCI host bridge to bus 0000:00
[ 0.426773] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[ 0.433399] pci_bus 0000:00: root bus resource [io 0xffffffff]
[ 0.439147] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.445738] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.453477] pci 0000:00:00.0: [1814:0801] type 01 class 0x060400
[ 0.459296] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 0.465359] pci 0000:00:00.0: reg 0x14: [mem 0x20200000-0x2020ffff]
[ 0.471527] pci 0000:00:00.0: supports D1
[ 0.475351] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 0.483244] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[ 0.489129] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[ 0.495722] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[ 0.502300] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[ 0.510260] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 0.516669] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[ 0.523095] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[ 0.529485] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[ 0.536250] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff]
[ 0.542846] pci 0000:00:00.0: BAR 9: assigned [mem 0x20100000-0x201fffff pref]
[ 0.549860] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff]
[ 0.556463] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit]
[ 0.563572] pci 0000:01:00.0: BAR 6: assigned [mem 0x20100000-0x2010ffff pref]
[ 0.570566] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.575385] pci 0000:00:00.0: bridge window [mem 0x20000000-0x200fffff]
[ 0.581977] pci 0000:00:00.0: bridge window [mem 0x20100000-0x201fffff pref]
[ 0.589110] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 0.603865] clocksource: Switched to clocksource systick
[ 0.610458] NET: Registered protocol family 2
[ 0.615589] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.623749] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.631155] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.638002] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.644325] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.650682] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.657751] NET: Registered protocol family 1
[ 0.662034] PCI: CLS 0 bytes, default 32
[ 0.668953] rt-timer 10000100.timer: maximum frequency is 1220Hz
[ 0.677212] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 0.692078] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.697720] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.725890] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.733256] printk: console [ttyS0] disabled
[ 0.737476] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[ 0.747099] printk: console [ttyS0] enabled
[ 0.747099] printk: console [ttyS0] enabled
[ 0.755557] printk: bootconsole [early0] disabled
[ 0.755557] printk: bootconsole [early0] disabled
[ 0.772131] spi spi0.0: force spi mode3
[ 0.787336] spi-nor spi0.0: w25q128 (16384 Kbytes)
[ 0.792318] 7 fixed-partitions partitions found on MTD device spi0.0
[ 0.798812] Creating 7 MTD partitions on "spi0.0":
[ 0.803722] 0x000000000000-0x000000030000: "u-boot"
[ 0.809854] 0x000000030000-0x000000040000: "u-boot-env"
[ 0.816496] 0x000000040000-0x000000050000: "factory"
[ 0.822712] 0x000000050000-0x000000fd0000: "firmware"
[ 0.832481] 2 uimage-fw partitions found on MTD device firmware
[ 0.838592] Creating 2 MTD partitions on "firmware":
[ 0.843685] 0x000000000000-0x0000001e746c: "kernel"
[ 0.849834] 0x0000001e746c-0x000000f80000: "rootfs"
[ 0.855999] mtd: device 5 (rootfs) set to be root filesystem
[ 0.863662] 1 squashfs-split partitions found on MTD device rootfs
[ 0.870070] 0x0000006dd000-0x000000f80000: "rootfs_data"
[ 0.876717] 0x000000fd0000-0x000000fe0000: "crash"
[ 0.882779] 0x000000fe0000-0x000000ff0000: "reserved"
[ 0.889147] 0x000000ff0000-0x000001000000: "Bdata"
[ 0.896207] libphy: Fixed MDIO Bus: probed
[ 0.912488] gsw: setting port4 to ephy mode
[ 0.916836] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 0 link up (100Mbps/Full duplex)
[ 0.926710] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[ 0.933553] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[ 0.942570] rt2880_wdt 10000120.watchdog: Initialized
[ 0.949271] NET: Registered protocol family 10
[ 0.958131] Segment Routing with IPv6
[ 0.962095] NET: Registered protocol family 17
[ 0.966729] 8021q: 802.1Q VLAN Support v1.8
[ 0.983307] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 0.997291] Freeing unused kernel memory: 1176K
[ 1.001945] This architecture does not have kernel memory protection.
[ 1.008522] Run /sbin/init as init process
[ 1.207815] random: fast init done
[ 2.757660] init: Console is alive
[ 2.761561] init: — watchdog — [ 5.198852] kmodloader: loading kernel modules from /etc/modules-boot.d/[ 5.473758] usbcore: registered new interface driver usbfs
[ 5.479550] usbcore: registered new interface driver hub
[ 5.485130] usbcore: registered new device driver usb
[ 5.497352] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 5.513337] SCSI subsystem initialized
[ 5.522930] ehci-fsl: Freescale EHCI Host controller driver
[ 5.530852] ehci-platform: EHCI generic platform driver
[ 5.546610] phy phy-usbphy.0: remote usb device wakeup disabled
[ 5.552672] phy phy-usbphy.0: UTMI 16bit 30MHz
[ 5.557221] ehci-platform 101c0000.ehci: EHCI Host Controller
[ 5.563130] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[ 5.571365] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[ 5.582538] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[ 5.590040] hub 1-0:1.0: USB hub found
[ 5.594427] hub 1-0:1.0: 1 port detected
[ 5.604475] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 5.612213] ohci-platform: OHCI generic platform driver
[ 5.617930] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[ 5.624950] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[ 5.633175] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[ 5.664713] hub 2-0:1.0: USB hub found
[ 5.669079] hub 2-0:1.0: 1 port detected
[ 5.682124] usbcore: registered new interface driver usb-storage
[ 5.689211] kmodloader: done loading kernel modules from /etc/modules-boot.d/

[ 5.698162] init: — preinit — [ 7.777126] random: jshn: uninitialized urandom read (4 bytes read)
[ 7.871637] random: jshn: uninitialized urandom read (4 bytes read)
[ 8.052320] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.006354] 8021q: adding VLAN 0 to HW filter on device eth0
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
[ 9.086966] urandom_read: 4 callbacks suppressed
[ 9.086976] random: procd: uninitialized urandom read (4 bytes read)
[ 11.898550] jffs2: notice: (477) jffs2_build_xattr_subsystem: complete building xattr subsystem, 6 of xdatum (5 unchecked, 1 orphan) and 7 of xref (1 dead, 0 orphan) found.
[ 11.917436] mount_root: switching to jffs2 overlay
[ 11.934553] overlayfs: upper fs does not support tmpfile.
[ 11.950329] urandom-seed: Seeding with /etc/urandom.seed
[ 12.112905] procd: — early — [ 12.115975] procd: — watchdog — [ 12.549626] procd: — watchdog — [ 12.553675] procd: — ubus — [ 12.599381] random: ubusd: uninitialized urandom read (4 bytes read)
[ 12.609088] random: ubusd: uninitialized urandom read (4 bytes read)
[ 12.618748] procd: — init — Please press Enter to activate this console.
[ 13.705253] kmodloader: loading kernel modules from /etc/modules.d/[ 13.917829] Loading modules backported from Linux version v5.8.18-0-gab435ce49bd1
[ 13.925574] Backport generated by backports.git v5.8.18-1-0-ga630fd46
[ 13.999969] xt_time: kernel timezone is -0000
[ 14.232620] mt76x2e 0000:01:00.0: card — bus=0x1, slot = 0x0 irq=4
[ 14.239295] mt76x2e 0000:01:00.0: ASIC revision: 76120044
[ 14.308028] urngd: jent-rng init failed, err: 2
[ 14.515001] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a
[ 14.527006] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
[ 14.532681] mt76x2e 0000:01:00.0: Build: 1
[ 14.536874] mt76x2e 0000:01:00.0: Build Time: 201507311614____
[ 14.552480] mt76x2e 0000:01:00.0: Firmware running!
[ 14.619257] PPP generic driver version 2.4.2
[ 14.633654] NET: Registered protocol family 24
[ 14.766884] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory"
[ 14.774370] ieee80211 phy1: rt2x00_set_rt: Info — RT chipset 6352, rev 0500 detected
[ 14.782319] ieee80211 phy1: rt2x00_set_rf: Info — RF chipset 7620 detected
[ 14.798228] kmodloader: done loading kernel modules from /etc/modules.d/

[ 20.273014] random: crng init done
[ 29.146252] 8021q: adding VLAN 0 to HW filter on device eth0
[ 29.170302] br-lan: port 1(eth0.1) entered blocking state
[ 29.175917] br-lan: port 1(eth0.1) entered disabled state
[ 29.181867] device eth0.1 entered promiscuous mode
[ 29.186815] device eth0 entered promiscuous mode
[ 29.225888] br-lan: port 1(eth0.1) entered blocking state
[ 29.231479] br-lan: port 1(eth0.1) entered forwarding state
[ 30.145468] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready


Но вариант initramfs-kernel лучше, когда нужно запустить систему из оперативки (не прошивая во флеш-память).
При выборе в U-Boot пункта "1: System Load Linux to SDRAM via TFTP" и загрузке образа initramfs-kernel получаем систему с kernel, rootfs и rootfs_data из этого-таки образа.
А если запустить с оперативки вариант squashfs-sysupgrade, то получаем kernel из образа, а остальное — из флеш памяти. Перемешалось всё — люди, кони образ, флеш-память… Думаю, понятно, что такая система вряд-ли будет стабильна.

Зарегистрируйтесь на Хабре , чтобы оставить комментарий

Публикации

Истории