New device manufacturer

Hi!
An interesting device fell into my hands.
Manufacturer - Modas (https://www.modas.com)
Model - BWLC2 V11

This is Wireless-LAN bridge, for Bizerba Scales.
The device runs on a slightly modified OpenWRT. Since I have the device in my hands, I studied the hardware part, found the serial port, and would like to share this information by adding this device to ToH. But the problem is that such a manufacturer is not on the list :slight_smile:

The ToH is only for devices supported by mainline OpenWrt. Devices running OpenWrt derivatives, no matter how "slightly modified" or close to mainline they are, do not count.

Unless you're interested in porting official OpenWrt to this device, in which case we can help. And since you physically have the device on hand, you would be the most qualified person to do it. :slight_smile:

Based on the picture from the site you linked, the WLAN card carries an AR9382, and the main board carries some NXP SoC I can't read from the picture. We do have existing devices that uses these chips, so porting shouldn't be extremely difficult.

The company appears to provide the GPL source code, so you can start with that.

I would be very happy to run the current branch of OpenWRT on this device, just out of interest and experience. But, unfortunately, my knowledge of Linux is slightly limited :slight_smile:
From what I know, uboot has a wait time of 0 seconds. I tried to stop the loading 10 times, but it didn’t work. Currently the device is running on OpenWrt Chaos Calmer. I was able to install and run SSH, SFTP.

Here's some specification:

CPU: MCIMX6S5DVM10AC (IMX6, Cortex A9, 1 core, 1GHz)
RAM: Micron D9MNJ 128MB DDR3
eMMC: Kingston EMMC04G (4GB)
Ethernet: Atheros AR8035-A (1 GBit/s)
WiFi: Atheros AR9382 (Dual-Band 802.11a/b/g/n)
PSU: MMPF0100

U-boot bootlog:

U-Boot 2013.07-rc1-00130-g93dc2ff-dirty (Dec 05 2014 - 10:07:53)

I2C:   ready
DRAM:  128 MiB
SPI:   Init pad configuration (ECSPI3, CS0)
MMC:   FSL_SDHC: 0
In:    serial
Out:   serial
Err:   serial
fuse 00[00]: 20220002
fuse 00[01]: DF668582
fuse 00[02]: 240FC1D4
fuse 00[03]: A65100B0
fuse 00[04]: 00420702
fuse 00[05]: 00003060
fuse 00[06]: 00000010
fuse 00[07]: 00000000
UniqueID: DF668582240FC1D4
MAC: 905F8D000000
BOOT_CFG: 00003060
BT_FUSE_SEL[4]: 00000010
Boot:  console=ttymxc0,115200 SD=mtd0,000C0000 uuid=DF668582240FC1D4 rel=1 v=Dec  5 201410:07:59
probe: bus 2, cs 30720, hz 10000000, mode 0
SF: Unsupported manufacturer 00
Read from MMC offset 00000600 BlockCount 00000001!
Found Magic in MMC!
Read from MMC offset 00000002 BlockCount 00000001!
Found uboot! D1002040
!FoundMagic 0 && !FoundMMCUBoot 0 && FoundMMC 1
go...
Net:   FEC
Warning: FEC MAC addresses don't match:
Address in SROM is         90:5f:8d:00:00:00
Address in environment is  90:5f:8d:08:59:ac

Hit any key to stop autoboot:  0

MMC read: dev # 0, block # 2048, count 16384 ... 16384 blocks read: OK

MMC read: dev # 0, block # 20480, count 20480 ... 20480 blocks read: OK

MMC read: dev # 0, block # 40960, count 512 ... 512 blocks read: OK
## Booting kernel from Legacy Image at 12000000 ...
   Image Name:   ModKl Fr 24. Apr 11:03:20 CEST 2
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4658136 Bytes = 4.4 MiB
   Load Address: 10008000
   Entry Point:  10008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 13000000 ...
   Image Name:   Ramdisk Image
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    8951825 Bytes = 8.5 MiB
   Load Address: 13000000
   Entry Point:  13000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 14000000
   Booting using the fdt blob at 0x14000000
   Loading Kernel Image ... OK
OK
   Loading Ramdisk to 1745d000, end 17ce6811 ... OK
   Loading Device Tree to 17452000, end 1745c1e3 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.0.0+ (thomas@IMX6Dev) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) ) #29 SMP Thu Apr 23 13:24:42 CEST 2015
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Modas MC1
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] PERCPU: Embedded 11 pages/cpu @87ec5000 s12352 r8192 d24512 u45056
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttymxc0,115200 SD=mtd0,000C0000 uuid=DF668582240FC1D4 rel=1 v=Dec  5 201410:07:59
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 104048K/131072K available (6011K kernel code, 246K rwdata, 2108K rodata, 236K init, 8272K bss, 27024K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0x88800000 - 0xff000000   (1896 MB)
[    0.000000]     lowmem  : 0x80000000 - 0x88000000   ( 128 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .text : 0x80008000 - 0x807f604c   (8121 kB)
[    0.000000]       .init : 0x807f7000 - 0x80832000   ( 236 kB)
[    0.000000]       .data : 0x80832000 - 0x8086fa60   ( 247 kB)
[    0.000000]        .bss : 0x8086fa60 - 0x81083b68   (8273 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] L2C-310 erratum 769419 enabled
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 ID prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 512 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76050001
[    0.000000] Switching to timer-based delay loop, resolution 333ns
[    0.000008] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655765682ns
[    0.001182] Console: colour dummy device 80x30
[    0.001215] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.001227] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.001237] ... MAX_LOCK_DEPTH:          48
[    0.001247] ... MAX_LOCKDEP_KEYS:        8191
[    0.001256] ... CLASSHASH_SIZE:          4096
[    0.001265] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.001274] ... MAX_LOCKDEP_CHAINS:      65536
[    0.001283] ... CHAINHASH_SIZE:          32768
[    0.001292]  memory used by lock dependency info: 5167 kB
[    0.001301]  per task-struct memory footprint: 1152 bytes
[    0.001330] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[    0.001355] pid_max: default: 32768 minimum: 301
[    0.001667] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001686] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.003826] Initializing cgroup subsys net_cls
[    0.003910] CPU: Testing write buffer coherency: ok
[    0.004741] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.004822] Setting up static identity map for 0x105e4728 - 0x105e4774
[    0.009107] Brought up 1 CPUs
[    0.009126] SMP: Total of 1 processors activated (6.00 BogoMIPS).
[    0.009140] CPU: All CPU(s) started in SVC mode.
[    0.010987] devtmpfs: initialized
[    0.012205] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.013302] pinctrl core: initialized pinctrl subsystem
[    0.042254] NET: Registered protocol family 16
[    0.043124] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.045294] CPU identified as i.MX6DL, silicon rev 1.2 (Type 61)
[    0.081687] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.081706] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.083316] imx6dl-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.103783] mxs-dma 110000.dma-apbh: initialized
[    0.107427] SCSI subsystem initialized
[    0.108200] usbcore: registered new interface driver usbfs
[    0.108374] usbcore: registered new interface driver hub
[    0.108717] usbcore: registered new device driver usb
[    0.110822] i2c i2c-1: IMX I2C adapter registered
[    0.110855] i2c i2c-1: can't use DMA
[    0.111076] pps_core: LinuxPPS API ver. 1 registered
[    0.111090] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.111152] PTP clock support registered
[    0.116373] Switched to clocksource mxc_timer1
[    0.117902] cfg80211: Calling CRDA to update world regulatory domain
[    0.118138] cfg80211: World regulatory domain updated:
[    0.118153] cfg80211:  DFS Master region: unset
[    0.118165] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    0.118183] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    0.118201] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    0.118217] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[    0.118231] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    0.118245] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    0.118261] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[    0.138684] NET: Registered protocol family 2
[    0.140553] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.140686] TCP bind hash table entries: 1024 (order: 3, 36864 bytes)
[    0.141053] TCP: Hash tables configured (established 1024 bind 1024)
[    0.141192] TCP: reno registered
[    0.141222] UDP hash table entries: 256 (order: 2, 20480 bytes)
[    0.141434] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes)
[    0.142428] NET: Registered protocol family 1
[    0.143352] Trying to unpack rootfs image as initramfs...
[    1.038579] Freeing initrd memory: 8744K (8745d000 - 87ce7000)
[    1.039350] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    1.042028] futex hash table entries: 512 (order: 3, 32768 bytes)
[    1.060462] VFS: Disk quotas dquot_6.5.2
[    1.060981] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.066647] ntfs: driver 2.1.31 [Flags: R/W].
[    1.067848] fuse init (API version 7.23)
[    1.073826] io scheduler noop registered
[    1.073858] io scheduler deadline registered
[    1.073964] io scheduler cfq registered (default)
[    1.074813] imx-weim 21b8000.weim: Driver registered.
[    1.178759] imx6q-pcie 1ffc000.pcie: imx6_pcie_assert_core_reset
[    1.180844] imx6q-pcie 1ffc000.pcie: imx6_pcie_init_phy
[    1.290518] imx6q-pcie 1ffc000.pcie: Force gen1
[    1.290536] imx6q-pcie 1ffc000.pcie: Start LTSSM...!
[    1.290559] imx6q-pcie 1ffc000.pcie: Wait for link...!
[    1.305356] imx6q-pcie 1ffc000.pcie: Now allow Gen2...!
[    1.307924] imx6q-pcie 1ffc000.pcie: PCI host bridge to bus 0000:00
[    1.307948] pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
[    1.307967] pci_bus 0000:00: root bus resource [mem 0x01000000-0x01efffff]
[    1.307989] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.309094] PCI: bus0: Fast back to back transfers disabled
[    1.310898] PCI: bus1: Fast back to back transfers disabled
[    1.311259] pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff]
[    1.311291] pci 0000:00:00.0: BAR 14: assigned [mem 0x01100000-0x011fffff]
[    1.311316] pci 0000:00:00.0: BAR 15: assigned [mem 0x01200000-0x012fffff pref]
[    1.311338] pci 0000:00:00.0: BAR 6: assigned [mem 0x01300000-0x0130ffff pref]
[    1.311371] pci 0000:01:00.0: BAR 0: assigned [mem 0x01100000-0x0111ffff 64bit]
[    1.311450] pci 0000:01:00.0: BAR 6: assigned [mem 0x01200000-0x0120ffff pref]
[    1.311473] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.311501] pci 0000:00:00.0:   bridge window [mem 0x01100000-0x011fffff]
[    1.311522] pci 0000:00:00.0:   bridge window [mem 0x01200000-0x012fffff pref]
[    1.314481] pfuze100-regulator 1-0008: Full layer: 2, Metal layer: 1
[    1.315254] pfuze100-regulator 1-0008: FAB: 0, FIN: 0
[    1.315273] pfuze100-regulator 1-0008: pfuze100 found.
[    1.337949] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 23, base_baud = 5000000) is a IMX
[    2.142419] console [ttymxc0] enabled
[    2.148077] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 290, base_baud = 5000000) is a IMX
[    2.180278] brd: module loaded
[    2.197136] loop: module loaded
[    2.205859] spi_imx 2010000.ecspi: probed
[    2.211981] tun: Universal TUN/TAP device driver, 1.6
[    2.217116] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    2.225453] 2188000.ethernet supply phy not found, using dummy regulator
[    2.247810] pps pps0: new PPS source ptp0
[    2.259767] libphy: fec_enet_mii_bus: probed
[    2.265716] fec 2188000.ethernet eth0: registered PHC device 0
[    2.272351] ath9k 0000:01:00.0: enabling device (0140 -> 0142)
[    2.285426] ath: 6A
[    2.287605] ath: CCA MAX 2.4GHz -60dBm
[    2.291376] ath: CCA MAX 5GHz -60dBm
[    2.294963] ath: CCA NOM 2.4GHz -110dBm
[    2.312103] ieee80211 phy0: Atheros AR9300 Rev:3 mem=0x88a80000, irq=293
[    2.319517] usbcore: registered new interface driver ar5523
[    2.325321] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.331922] ehci-pci: EHCI PCI platform driver
[    2.336558] ehci-mxc: Freescale On-Chip EHCI Host driver
[    2.342305] usbcore: registered new interface driver usblp
[    2.348013] usbcore: registered new interface driver uas
[    2.353534] usbcore: registered new interface driver usb-storage
[    2.359912] usbcore: registered new interface driver usbserial
[    2.365861] usbcore: registered new interface driver usbserial_generic
[    2.372746] usbserial: USB Serial support registered for generic
[    2.378938] usbcore: registered new interface driver pl2303
[    2.384657] usbserial: USB Serial support registered for pl2303
[    2.390763] usbcore: registered new interface driver usb_serial_simple
[    2.397461] usbserial: USB Serial support registered for carelink
[    2.403679] usbserial: USB Serial support registered for zio
[    2.409509] usbserial: USB Serial support registered for funsoft
[    2.415642] usbserial: USB Serial support registered for flashloader
[    2.422152] usbserial: USB Serial support registered for google
[    2.428229] usbserial: USB Serial support registered for vivopay
[    2.434357] usbserial: USB Serial support registered for moto_modem
[    2.440799] usbserial: USB Serial support registered for novatel_gps
[    2.447321] usbserial: USB Serial support registered for hp4x
[    2.453189] usbserial: USB Serial support registered for suunto
[    2.459270] usbserial: USB Serial support registered for siemens_mpi
[    2.474244] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    2.479447] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    2.506423] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    2.515273] hub 1-0:1.0: USB hub found
[    2.519376] hub 1-0:1.0: 1 port detected
[    2.529030] ci_hdrc ci_hdrc.1: doesn't support gadget
[    2.534117] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    2.539174] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[    2.566405] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    2.573751] hub 2-0:1.0: USB hub found
[    2.577710] hub 2-0:1.0: 1 port detected
[    2.585235] snvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-rtc-lp as rtc0
[    2.593844] i2c /dev entries driver
[    2.600103] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[    2.606200] Driver 'mmcblk' needs updating - please use bus_type methods
[    2.613089] sdhci: Secure Digital Host Controller Interface driver
[    2.619333] sdhci: Copyright(c) Pierre Ossman
[    2.624106] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.631301] sdhci-esdhc-imx 2198000.usdhc: could not get ultra high speed state, work on normal mode
[    2.640598] sdhci-esdhc-imx 2198000.usdhc: No vmmc regulator found
[    2.646837] sdhci-esdhc-imx 2198000.usdhc: No vqmmc regulator found
[    2.696425] mmc0: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
[    2.709744] ledtrig-cpu: registered to indicate activity on CPUs
[    2.715988] hidraw: raw HID events driver (C) Jiri Kosina
[    2.729480] usbcore: registered new interface driver usbhid
[    2.737142] usbhid: USB HID core driver
[    2.743509] GACT probability NOT on
[    2.749320] u32 classifier
[    2.754076]     Performance counters on
[    2.757960]     input device check on
[    2.761635]     Actions configured
[    2.765384] Netfilter messages via NETLINK v0.30.
[    2.772312] nfnl_acct: registering with nfnetlink.
[    2.779453] nf_conntrack version 0.5.0 (1762 buckets, 7048 max)
[    2.797254] ctnetlink v0.93: registering with nfnetlink.
[    2.803010] nf_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
[    2.812697] nf_tables_compat: (c) 2012 Pablo Neira Ayuso <pablo@netfilter.org>
[    2.820465] ip_set: protocol 6
[    2.823771] ipip: IPv4 over IPv4 tunneling driver
[    2.830153] gre: GRE over IPv4 demultiplexor driver
[    2.835826] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.841740] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[    2.848378] arp_tables: (C) 2002 David S. Miller
[    2.854407] TCP: cubic registered
[    2.859694] NET: Registered protocol family 10
[    2.868335] NET: Registered protocol family 17
[    2.872886] mmc0: MAN_BKOPS_EN bit is not set
[    2.877862] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    2.890688] Bridge firewalling registered
[    2.894820] Ebtables v2.0 registered
[    2.902017] 8021q: 802.1Q VLAN Support v1.8
[    2.907595] lib80211: common routines for IEEE802.11 drivers
[    2.916879] mmc0: new DDR MMC card at address 0001
[    2.923861] Key type dns_resolver registered
[    2.928408] Registering SWP/SWPB emulation handler
[    2.933711] mmcblk0: mmc0:0001 S10004 3.56 GiB
[    2.941106] mmcblk0boot0: mmc0:0001 S10004 partition 1 4.00 MiB
[    2.948835] snvs_rtc 20cc034.snvs-rtc-lp: setting system clock to 1970-01-01 07:34:58 UTC (27298)
[    2.958203] mmcblk0boot1: mmc0:0001 S10004 partition 2 4.00 MiB
[    2.966521] mmcblk0rpmb: mmc0:0001 S10004 partition 3 4.00 MiB
[    2.988560]  mmcblk0: p1
[    3.036150] Freeing unused kernel memory: 236K (807f7000 - 80832000)
procd: Console is alive
procd: - watchdog -
procd: - preinit -
procd: - early -
procd: - watchdog -
Failed to connect to ubus
procd: - ubus -
[    6.000966] random: ubusd urandom read with 11 bits of entropy available
procd: - init -
Please press Enter to activate this console.
procd: - init complete -
[    9.578313] fec 2188000.ethernet eth0: Freescale FEC PHY driver [Atheros 8035 ethernet] (mii_bus:phy_addr=2188000.ethernet:04, irq=-1)
[    9.591182] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

I tinkered with this device a little more. I found how to get into recovery mode. You need to hold down the reset button, and when the second LED from the button lights up red, release it. The device will enter recovery mode.

Modas> printenv
BootMMC=mmc read 0x12000000 0x00000800 0x00004000; mmc read 0x13000000 0x00005000 0x00005000; mmc read 0x14000000 0x0000A000 0x00000200; bootm 0x12000000 0x13000000 0x14000000
BootTFTP=tftp 0x12000000 uImage; tftp 0x13000000 CpioRoot; tftp 0x14000000 DTB; bootm 0x12000000 0x13000000 0x14000000
WLANMAC=00:0E:8E:67:4B:B6
autoload=no
bootargs=console=ttymxc0,115200 SD=mtd0,000C0000 uuid=DF668582240FC1D4 rel=1 v=Dec  5 201410:07:59 lc=3  uuid=DF668582240FC1D4 rel=1 v=Dec  5 201410:07:59
bootcmd=run BootTFTP
bootdelay=0
ethact=FEC
ethaddr=90:5F:8D:08:59:AC
ipaddr=192.168.190.111
serverip=192.168.190.248
stderr=serial
stdin=serial
stdout=serial

Environment size: 676/262140 bytes
Modas>

I downloaded the OpenWRT sources and kernel sources from the modas.com website to try to compile them and flash them onto the device. Just to make sure it works and understand the procedure.
Also, I extracted DTB from RAM.

After assembling the firmware from the sources, I received the "uImage" file (as I understand it, this is the kernel), as well as the following files (as I understand it, OpenWRT):

Снимок экрана 2024-02-26 145231

The bootloader in recovery mode asks for the files uImage (kernel), CpioRoot (RAMDisk image with RootFS?), and DTB.
I have a problem with CpioRoot. I tried to insert openwrt-imx6-rootfs.cpio - got such errors

Wrong Ramdisk Image Format
Ramdisk image is corrupt or invalid

At this point I have run out of ideas for now. Need community help :slight_smile:

Modas> boot
Using FEC device
TFTP from server 192.168.190.248; our IP address is 192.168.190.111
Filename 'uImage'.
Load address: 0x12000000
Loading: --- NetLoop UDP handler set (17f965dc)
#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ########################################
         3.7 MiB/s
done
--- NetLoop UDP handler set (00000000)
--- NetLoop ARP handler set (00000000)
Bytes transferred = 6192104 (5e7be8 hex)
Using FEC device
TFTP from server 192.168.190.248; our IP address is 192.168.190.111
Filename 'CpioRoot'.
Load address: 0x13000000
Loading: --- NetLoop UDP handler set (17f965dc)
#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ############################################################
         3.8 MiB/s
done
--- NetLoop UDP handler set (00000000)
--- NetLoop ARP handler set (00000000)
Bytes transferred = 9289467 (8dbefb hex)
Using FEC device
TFTP from server 192.168.190.248; our IP address is 192.168.190.111
Filename 'DTB'.
Load address: 0x14000000
Loading: --- NetLoop UDP handler set (17f965dc)
######
         1.9 MiB/s
done
--- NetLoop UDP handler set (00000000)
--- NetLoop ARP handler set (00000000)
Bytes transferred = 29156 (71e4 hex)
## Booting kernel from Legacy Image at 12000000 ...
   Image Name:
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6192040 Bytes = 5.9 MiB
   Load Address: 10008000
   Entry Point:  10008000
   Verifying Checksum ... OK
Wrong Ramdisk Image Format
Ramdisk image is corrupt or invalid

try running the bootm command in u-boot, and feed it one of the initramfs:es.

There seems to be some progress :slight_smile:

Modas> tftp 0x13000000 openwrt-imx6-uImage-initramfs
Using FEC device
TFTP from server 192.168.190.248; our IP address is 192.168.190.111
Filename 'openwrt-imx6-uImage-initramfs'.
Load address: 0x13000000
Loading: --- NetLoop UDP handler set (17f965dc)
#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #############################################
         3.8 MiB/s
done
--- NetLoop UDP handler set (00000000)
--- NetLoop ARP handler set (00000000)
Bytes transferred = 8545640 (826568 hex)
Modas> bootm 0x12000000 0x13000000 0x14000000
## Booting kernel from Legacy Image at 12000000 ...
   Image Name:
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6192040 Bytes = 5.9 MiB
   Load Address: 10008000
   Entry Point:  10008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 13000000 ...
   Image Name:   ARM OpenWrt Linux-3.18.19
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    8545576 Bytes = 8.1 MiB
   Load Address: 10008000
   Entry Point:  10008000
   Verifying Checksum ... OK
No Linux ARM Ramdisk Image
Ramdisk image is corrupt or invalid
Modas>

So :slight_smile:
I tried to compile vanilla openwrt 21.01 and run it. I encountered the problem below. As I understand it, the system accesses the eMMC and does not find the root file system there.

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.268 (hacksore@openwrt) (gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)) #1 SMP Mon Feb 26 20:32:54 UTC 2024
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Modas MC1
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] percpu: Embedded 20 pages/cpu s50856 r8192 d22872 u81920
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttymxc0,115200 SD=mtd0,000C0000 uuid=DF6685820F27B1D4 rel=1 v=Dec 5 201410:07:59 lc=3 uuid=DF668582240FC1D4 rel=1 v=Dec  5 201410:07:59
[    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] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 103648K/131072K available (10240K kernel code, 703K rwdata, 3796K rodata, 1024K init, 6550K bss, 27424K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Running RCU self tests
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU lockdep checking is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] ------------[ cut here ]------------
[    0.000000] WARNING: CPU: 0 PID: 0 at ../arch/arm/mach-imx/gpc.c:279 imx_gpc_check_dt+0x5c/0x94
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.4.268 #1
[    0.000000] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[    0.000000] [<8010fa64>] (unwind_backtrace) from [<8010b764>] (show_stack+0x10/0x14)
[    0.000000] [<8010b764>] (show_stack) from [<80a209fc>] (dump_stack+0xdc/0x11c)
[    0.000000] [<80a209fc>] (dump_stack) from [<8011fe14>] (__warn+0xd0/0xe8)
[    0.000000] [<8011fe14>] (__warn) from [<8011fe9c>] (warn_slowpath_fmt+0x70/0x9c)
[    0.000000] [<8011fe9c>] (warn_slowpath_fmt) from [<80f09d64>] (imx_gpc_check_dt+0x5c/0x94)
[    0.000000] [<80f09d64>] (imx_gpc_check_dt) from [<80f0a20c>] (imx6q_init_irq+0x8/0x28)
[    0.000000] [<80f0a20c>] (imx6q_init_irq) from [<80f038c8>] (init_IRQ+0x70/0x80)
[    0.000000] [<80f038c8>] (init_IRQ) from [<80f00e18>] (start_kernel+0x280/0x4b8)
[    0.000000] [<80f00e18>] (start_kernel) from [<00000000>] (0x0)
[    0.000000] irq event stamp: 0
[    0.000000] hardirqs last  enabled at (0): [<00000000>] 0x0
[    0.000000] hardirqs last disabled at (0): [<00000000>] 0x0
[    0.000000] softirqs last  enabled at (0): [<00000000>] 0x0
[    0.000000] softirqs last disabled at (0): [<00000000>] 0x0
[    0.000000] ---[ end trace 58996bc4bee07162 ]---
[    0.000000] Outdated DT detected, suspend/resume will NOT work
[    0.000000] L2C-310 erratum 769419 enabled
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 ID prefetch enabled, offset 16 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 512 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76050001
[    0.000000] Switching to timer-based delay loop, resolution 333ns
[    0.000008] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
[    0.000043] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[    0.001570] Console: colour dummy device 80x30
[    0.001625] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.001646] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.001665] ... MAX_LOCK_DEPTH:          48
[    0.001686] ... MAX_LOCKDEP_KEYS:        8192
[    0.001704] ... CLASSHASH_SIZE:          4096
[    0.001725] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.001744] ... MAX_LOCKDEP_CHAINS:      65536
[    0.001763] ... CHAINHASH_SIZE:          32768
[    0.001784]  memory used by lock dependency info: 3997 kB
[    0.001802]  memory used for stack traces: 2112 kB
[    0.001823]  per task-struct memory footprint: 1536 bytes
[    0.001944] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[    0.001977] CPU: Testing write buffer coherency: ok
[    0.002095] CPU0: Spectre v2: using BPIALL workaround
[    0.002119] pid_max: default: 32768 minimum: 301
[    0.002541] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.002574] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.008218] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.011403] Setting up static identity map for 0x10100000 - 0x10100078
[    0.012166] rcu: Hierarchical SRCU implementation.
[    0.014064] smp: Bringing up secondary CPUs ...
[    0.017064] smp: Brought up 1 node, 1 CPU
[    0.017092] SMP: Total of 1 processors activated (6.00 BogoMIPS).
[    0.017116] CPU: All CPU(s) started in SVC mode.
[    0.020426] devtmpfs: initialized
[    0.046697] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.048195] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.048277] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.048991] pinctrl core: initialized pinctrl subsystem
[    0.055186] NET: Registered protocol family 16
[    0.056779] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.060715] cpuidle: using governor menu
[    0.061268] CPU identified as i.MX6DL, silicon rev 1.2
[    0.083918] vdd1p1: supplied by regulator-dummy
[    0.085996] vdd3p0: supplied by regulator-dummy
[    0.087680] vdd2p5: supplied by regulator-dummy
[    0.089368] vddarm: supplied by regulator-dummy
[    0.091268] vddpu: supplied by regulator-dummy
[    0.092950] vddsoc: supplied by regulator-dummy
[    0.117216] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.117323] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.118461] debugfs: Directory 'dummy-iomuxc-gpr@020e0000' with parent 'regmap' already present!
[    0.119841] imx6dl-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.219110] mxs-dma 110000.dma-apbh: initialized
[    0.224828] SCSI subsystem initialized
[    0.226077] usbcore: registered new interface driver usbfs
[    0.226322] usbcore: registered new interface driver hub
[    0.226494] usbcore: registered new device driver usb
[    0.230298] i2c i2c-1: IMX I2C adapter registered
[    0.230581] videodev: Linux video capture interface: v2.00
[    0.230715] pps_core: LinuxPPS API ver. 1 registered
[    0.230741] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.230810] PTP clock support registered
[    0.234508] Bluetooth: Core ver 2.22
[    0.234659] NET: Registered protocol family 31
[    0.234682] Bluetooth: HCI device and connection manager initialized
[    0.234815] Bluetooth: HCI socket layer initialized
[    0.234857] Bluetooth: L2CAP socket layer initialized
[    0.235037] Bluetooth: SCO socket layer initialized
[    0.238602] clocksource: Switched to clocksource mxc_timer1
[    0.482311] VFS: Disk quotas dquot_6.6.0
[    0.482494] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.515593] QCA AR8337N register
[    0.516336] NET: Registered protocol family 2
[    0.516830] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.519490] tcp_listen_portaddr_hash hash table entries: 128 (order: 0, 5120 bytes, linear)
[    0.519605] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.519662] TCP bind hash table entries: 1024 (order: 3, 36864 bytes, linear)
[    0.519822] TCP: Hash tables configured (established 1024 bind 1024)
[    0.520253] UDP hash table entries: 256 (order: 2, 20480 bytes, linear)
[    0.520377] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes, linear)
[    0.520940] NET: Registered protocol family 1
[    0.522336] PCI: CLS 0 bytes, default 64
[    0.523904] Trying to unpack rootfs image as initramfs...
[    1.138125] Freeing initrd memory: 3356K
[    1.140401] hw perfevents: no interrupt-affinity property for /soc/pmu, guessing.
[    1.140978] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    1.146179] Initialise system trusted keyrings
[    1.147538] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    1.169180] ntfs: driver 2.1.32 [Flags: R/W].
[    1.170563] fuse: init (API version 7.31)
[    1.207476] Key type asymmetric registered
[    1.207688] Asymmetric key parser 'x509' registered
[    1.207907] io scheduler mq-deadline registered
[    1.207939] io scheduler kyber registered
[    1.210103] imx-weim 21b8000.weim: Driver registered.
[    1.214242] imx6q-pcie 1ffc000.pcie: host bridge /soc/pcie@0x01000000 ranges:
[    1.214397] imx6q-pcie 1ffc000.pcie:   No bus range found for /soc/pcie@0x01000000, using [bus 00-ff]
[    1.214549] imx6q-pcie 1ffc000.pcie:   err 0x01f00000..0x01f7ffff -> 0x01f00000
[    1.214659] imx6q-pcie 1ffc000.pcie:    IO 0x01f80000..0x01f8ffff -> 0x00000000
[    1.214917] imx6q-pcie 1ffc000.pcie:   MEM 0x01000000..0x01efffff -> 0x01000000
[    1.221601] pfuze100-regulator 1-0008: Full layer: 2, Metal layer: 1
[    1.222561] pfuze100-regulator 1-0008: FAB: 0, FIN: 0
[    1.222592] pfuze100-regulator 1-0008: pfuze100 found.
[    1.255660] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 23, base_baud = 5000000) is a IMX
[    1.548993] imx6q-pcie 1ffc000.pcie: Link up
[    1.549018] imx6q-pcie 1ffc000.pcie: Link: Gen2 disabled
[    1.549032] imx6q-pcie 1ffc000.pcie: Link up, Gen1
[    1.550143] imx6q-pcie 1ffc000.pcie: PCI host bridge to bus 0000:00
[    1.550170] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.550193] pci_bus 0000:00: root bus resource [??? 0x01f00000-0x01f7ffff flags 0x0]
[    1.550209] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    1.550226] pci_bus 0000:00: root bus resource [mem 0x01000000-0x01efffff]
[    1.550598] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400
[    1.550673] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    1.550725] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
[    1.550815] pci 0000:00:00.0: Limiting cfg_size to 512
[    1.551130] pci 0000:00:00.0: supports D1
[    1.551146] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold
[    1.555208] PCI: bus0: Fast back to back transfers disabled
[    1.555829] pci 0000:01:00.0: [168c:0030] type 00 class 0x028000
[    1.556065] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x0001ffff 64bit]
[    1.556319] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    1.556892] pci 0000:01:00.0: supports D1
[    1.556906] pci 0000:01:00.0: PME# supported from D0 D1 D3hot
[    1.560761] PCI: bus1: Fast back to back transfers disabled
[    1.571859] pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff]
[    1.571891] pci 0000:00:00.0: BAR 14: assigned [mem 0x01100000-0x011fffff]
[    1.571912] pci 0000:00:00.0: BAR 15: assigned [mem 0x01200000-0x012fffff pref]
[    1.571931] pci 0000:00:00.0: BAR 6: assigned [mem 0x01300000-0x0130ffff pref]
[    1.571967] pci 0000:01:00.0: BAR 0: assigned [mem 0x01100000-0x0111ffff 64bit]
[    1.572060] pci 0000:01:00.0: BAR 6: assigned [mem 0x01200000-0x0120ffff pref]
[    1.572081] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.572107] pci 0000:00:00.0:   bridge window [mem 0x01100000-0x011fffff]
[    1.572126] pci 0000:00:00.0:   bridge window [mem 0x01200000-0x012fffff pref]
[    1.574631] pcieport 0000:00:00.0: PME: Signaling with IRQ 292
[    1.582041] pcieport 0000:00:00.0: AER: enabled with IRQ 292
[    2.363551] printk: console [ttymxc0] enabled
[    2.370881] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 64, base_baud = 5000000) is a IMX
[    2.414253] brd: module loaded
[    2.446965] loop: module loaded
[    2.456227] spi_imx 2010000.ecspi: probed
[    2.462533] tun: Universal TUN/TAP device driver, 1.6
[    2.468661] CAN device driver interface
[    2.479246] pps pps0: new PPS source ptp0
[    2.505998] fec 2188000.ethernet eth0: registered PHC device 0
[    2.512413] PPP generic driver version 2.4.2
[    2.517547] PPP BSD Compression module registered
[    2.522462] PPP Deflate Compression module registered
[    2.527682] PPP MPPE Compression module registered
[    2.532604] NET: Registered protocol family 24
[    2.537190] PPTP driver version 0.8.5
[    2.542001] ath9k 0000:01:00.0: enabling device (0140 -> 0142)
[    2.575784] ieee80211 phy0: Atheros AR9300 Rev:3 mem=0x(ptrval), irq=291
[    2.583422] Intel(R) Wireless WiFi driver for Linux
[    2.588324] Copyright(c) 2003- 2015 Intel Corporation
[    2.594124] usbcore: registered new interface driver asix
[    2.599757] usbcore: registered new interface driver ax88179_178a
[    2.605983] usbcore: registered new interface driver cdc_ether
[    2.612130] usbcore: registered new interface driver cdc_ncm
[    2.617916] usbcore: registered new interface driver qmi_wwan
[    2.623862] usbcore: registered new interface driver cdc_mbim
[    2.630876] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.637434] ehci-pci: EHCI PCI platform driver
[    2.642135] ehci-mxc: Freescale On-Chip EHCI Host driver
[    2.647845] usbcore: registered new interface driver cdc_acm
[    2.653602] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    2.661860] usbcore: registered new interface driver usblp
[    2.667473] usbcore: registered new interface driver cdc_wdm
[    2.673775] usbcore: registered new interface driver uas
[    2.679419] usbcore: registered new interface driver usb-storage
[    2.685710] usbcore: registered new interface driver usbserial_generic
[    2.692759] usbserial: USB Serial support registered for generic
[    2.699078] usbcore: registered new interface driver ftdi_sio
[    2.704918] usbserial: USB Serial support registered for FTDI USB Serial Device
[    2.712412] usbcore: registered new interface driver option
[    2.718073] usbserial: USB Serial support registered for GSM modem (1-port)
[    2.725216] usbcore: registered new interface driver pl2303
[    2.730951] usbserial: USB Serial support registered for pl2303
[    2.736983] usbcore: registered new interface driver qcserial
[    2.742890] usbserial: USB Serial support registered for Qualcomm USB modem
[    2.750041] usbcore: registered new interface driver usb_serial_simple
[    2.756736] usbserial: USB Serial support registered for carelink
[    2.762996] usbserial: USB Serial support registered for flashloader
[    2.769508] usbserial: USB Serial support registered for funsoft
[    2.775608] usbserial: USB Serial support registered for google
[    2.781680] usbserial: USB Serial support registered for hp4x
[    2.787512] usbserial: USB Serial support registered for kaufmann
[    2.793762] usbserial: USB Serial support registered for libtransistor
[    2.800442] usbserial: USB Serial support registered for moto_modem
[    2.806799] usbserial: USB Serial support registered for motorola_tetra
[    2.813566] usbserial: USB Serial support registered for nokia
[    2.819551] usbserial: USB Serial support registered for novatel_gps
[    2.825995] usbserial: USB Serial support registered for siemens_mpi
[    2.832516] usbserial: USB Serial support registered for suunto
[    2.838588] usbserial: USB Serial support registered for vivopay
[    2.844682] usbserial: USB Serial support registered for zio
[    2.861986] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    2.869224] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    2.898660] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    2.905773] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    2.914307] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.921621] usb usb1: Product: EHCI Host Controller
[    2.926520] usb usb1: Manufacturer: Linux 5.4.268 ehci_hcd
[    2.932084] usb usb1: SerialNumber: ci_hdrc.0
[    2.940905] hub 1-0:1.0: USB hub found
[    2.945103] hub 1-0:1.0: 1 port detected
[    2.954095] imx_usb 2184200.usb: No over current polarity defined
[    2.965122] ci_hdrc ci_hdrc.1: doesn't support gadget
[    2.970330] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    2.975944] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[    3.008612] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    3.014744] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    3.023111] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.030418] usb usb2: Product: EHCI Host Controller
[    3.035318] usb usb2: Manufacturer: Linux 5.4.268 ehci_hcd
[    3.040886] usb usb2: SerialNumber: ci_hdrc.1
[    3.047163] hub 2-0:1.0: USB hub found
[    3.051260] hub 2-0:1.0: 1 port detected
[    3.060477] using random self ethernet address
[    3.065091] using random host ethernet address
[    3.071605] g_ether gadget: HOST MAC 82:c6:50:dc:f3:1d
[    3.076890] g_ether gadget: MAC e2:20:eb:8a:c1:f4
[    3.084108] using random self ethernet address
[    3.088696] using random host ethernet address
[    3.094407] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[    3.101174] g_ether gadget: g_ether ready
[    3.107214] snvs_rtc 20cc034.snvs-rtc-lp: snvs rtc: you use old dts file, please update it
[    3.119939] snvs_rtc 20cc034.snvs-rtc-lp: registered as rtc0
[    3.125924] i2c /dev entries driver
[    3.131555] usbcore: registered new interface driver uvcvideo
[    3.137324] USB Video Class driver (1.1.1)
[    3.145499] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[    3.152581] Bluetooth: HCI UART driver ver 2.3
[    3.157056] Bluetooth: HCI UART protocol H4 registered
[    3.162488] usbcore: registered new interface driver bcm203x
[    3.168335] usbcore: registered new interface driver bpa10x
[    3.174190] usbcore: registered new interface driver bfusb
[    3.179934] usbcore: registered new interface driver btusb
[    3.185700] usbcore: registered new interface driver ath3k
[    3.192499] sdhci: Secure Digital Host Controller Interface driver
[    3.198777] sdhci: Copyright(c) Pierre Ossman
[    3.203155] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.246204] mmc0: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
[    3.264413] ledtrig-cpu: registered to indicate activity on CPUs
[    3.272952] hidraw: raw HID events driver (C) Jiri Kosina
[    3.280643] usbcore: registered new interface driver usbhid
[    3.286239] usbhid: USB HID core driver
[    3.291365] GACT probability NOT on
[    3.295063] u32 classifier
[    3.297789]     Performance counters on
[    3.301756]     input device check on
[    3.305437]     Actions configured
[    3.317145] xt_time: kernel timezone is -0000
[    3.322129] ipip: IPv4 and MPLS over IPv4 tunneling driver
[    3.329608] gre: GRE over IPv4 demultiplexor driver
[    3.334575] ip_gre: GRE over IPv4 tunneling driver
[    3.348155] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[    3.356840] NET: Registered protocol family 10
[    3.379851] Segment Routing with IPv6
[    3.384084] mip6: Mobile IPv6
[    3.388024] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.395666] mmc0: new DDR MMC card at address 0001
[    3.404958] mmcblk0: mmc0:0001 S10004 3.56 GiB
[    3.410541] mmcblk0boot0: mmc0:0001 S10004 partition 1 4.00 MiB
[    3.417107] mmcblk0boot1: mmc0:0001 S10004 partition 2 4.00 MiB
[    3.427849] ip6_gre: GRE over IPv6 tunneling driver
[    3.435130] NET: Registered protocol family 17
[    3.440737] mmcblk0rpmb: mmc0:0001 S10004 partition 3 4.00 MiB, chardev (247:0)
[    3.449468] Bridge firewalling registered
[    3.459084] can: controller area network core (rev 20170425 abi 9)
[    3.465542] NET: Registered protocol family 29
[    3.470138] can: raw protocol (rev 20170425)
[    3.481333] can: broadcast manager protocol (rev 20170425 t)
[    3.488143]  mmcblk0: p1
[    3.492173] can: netlink gateway (rev 20190810) max_hops=1
[    3.505194] Bluetooth: RFCOMM TTY layer initialized
[    3.518092] Bluetooth: RFCOMM socket layer initialized
[    3.523532] Bluetooth: RFCOMM ver 1.11
[    3.527355] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.533189] Bluetooth: BNEP filters: protocol multicast
[    3.538877] Bluetooth: BNEP socket layer initialized
[    3.543871] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.550065] Bluetooth: HIDP socket layer initialized
[    3.555055] 8021q: 802.1Q VLAN Support v1.8
[    3.559677] Key type dns_resolver registered
[    3.574153] Registering SWP/SWPB emulation handler
[    3.579911] Loading compiled-in X.509 certificates
[    3.687798] snvs_rtc 20cc034.snvs-rtc-lp: setting system clock to 1970-01-01T01:11:40 UTC (4300)
[    3.697012] Bluetooth: Starting self testing
[    3.755351] Bluetooth: ECDH test passed in 52714 usecs
[    3.780028] Bluetooth: SMP test passed in 8918 usecs
[    3.785348] Bluetooth: Finished self testing
[    3.790107] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    3.810964] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[    3.821785] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    3.830473] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    3.841915] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    3.849593] Please append a correct "root=" boot option; here are the available partitions:
[    3.857982] 0100           65536 ram0
[    3.857985]  (driver?)
[    3.864171] 0101           65536 ram1
[    3.864175]  (driver?)
[    3.870352] 0102           65536 ram2
[    3.870355]  (driver?)
[    3.876490] 0103           65536 ram3
[    3.876493]  (driver?)
[    3.882670] 0104           65536 ram4
[    3.882674]  (driver?)
[    3.888845] 0105           65536 ram5
[    3.888849]  (driver?)
[    3.894982] 0106           65536 ram6
[    3.894985]  (driver?)
[    3.901168] 0107           65536 ram7
[    3.901171]  (driver?)
[    3.907305] 0108           65536 ram8
[    3.907308]  (driver?)
[    3.913485] 0109           65536 ram9
[    3.913488]  (driver?)
[    3.919661] 010a           65536 ram10
[    3.919665]  (driver?)
[    3.925885] 010b           65536 ram11
[    3.925888]  (driver?)
[    3.932153] 010c           65536 ram12
[    3.932156]  (driver?)
[    3.938375] 010d           65536 ram13
[    3.938378]  (driver?)
[    3.944637] 010e           65536 ram14
[    3.944641]  (driver?)
[    3.950899] 010f           65536 ram15
[    3.950903]  (driver?)
[    3.957135] b300         3735552 mmcblk0
[    3.957141]  driver: mmcblk
[    3.964016]   b301          524288 mmcblk0p1 a984e6e0-01
[    3.964020]
[    3.970888] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    3.979192] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---

Well, I managed to launch vanilla OpenWrt 21.01.7
There are such problems:

  1. There is no overlay, the settings are reset when reboot.
  2. There is no Wireless section in LuCI.
    At the same time, if I manually create a wlan0 interface in LuCI, it is created and the MAC address is determined correctly.
    For some reason, the default hostapd config was not created. But, I can create it manually, and even start the access point.

I really appreciate the community's help :slight_smile:
What are my next steps?

I understand that almost no one is interested in helping me, and the device is even less interesting. But I really want to understand, to figure it out. For this, I will be very grateful.

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.268 (hacksore@openwrt) (gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)) #1 SMP Mon Feb 26 20:32:54 UTC 2024
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Modas MC1
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] percpu: Embedded 20 pages/cpu s50856 r8192 d22872 u81920
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttymxc0,115200 SD=mtd0,000C0000 uuid=DF6685820F27B1D4 rel=1 v=Dec 5 201410:07:59 lc=3 uuid=DF668582240FC1D4 rel=1 v=Dec  5 201410:07:59
[    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] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 99908K/131072K available (10240K kernel code, 703K rwdata, 3796K rodata, 1024K init, 6550K bss, 31164K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Running RCU self tests
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU lockdep checking is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: DT/platform modifies aux control register: 0x32050000 -> 0x32450000
[    0.000000] L2C-310 erratum 769419 enabled
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 ID prefetch enabled, offset 16 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 512 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76450001
[    0.000000] Switching to timer-based delay loop, resolution 333ns
[    0.000009] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
[    0.000041] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[    0.001705] Console: colour dummy device 80x30
[    0.001758] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.001780] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.001800] ... MAX_LOCK_DEPTH:          48
[    0.001819] ... MAX_LOCKDEP_KEYS:        8192
[    0.001837] ... CLASSHASH_SIZE:          4096
[    0.001857] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.001876] ... MAX_LOCKDEP_CHAINS:      65536
[    0.001895] ... CHAINHASH_SIZE:          32768
[    0.001915]  memory used by lock dependency info: 3997 kB
[    0.001934]  memory used for stack traces: 2112 kB
[    0.001954]  per task-struct memory footprint: 1536 bytes
[    0.002077] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[    0.002107] CPU: Testing write buffer coherency: ok
[    0.002226] CPU0: Spectre v2: using BPIALL workaround
[    0.002251] pid_max: default: 32768 minimum: 301
[    0.002668] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.002702] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.008374] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.011550] Setting up static identity map for 0x10100000 - 0x10100078
[    0.012307] rcu: Hierarchical SRCU implementation.
[    0.014268] smp: Bringing up secondary CPUs ...
[    0.017259] smp: Brought up 1 node, 1 CPU
[    0.017289] SMP: Total of 1 processors activated (6.00 BogoMIPS).
[    0.017314] CPU: All CPU(s) started in SVC mode.
[    0.020570] devtmpfs: initialized
[    0.052053] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.053540] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.053624] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.054350] pinctrl core: initialized pinctrl subsystem
[    0.060554] NET: Registered protocol family 16
[    0.062132] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.065978] cpuidle: using governor menu
[    0.066535] CPU identified as i.MX6DL, silicon rev 1.2
[    0.091435] vdd1p1: supplied by regulator-dummy
[    0.093572] vdd3p0: supplied by regulator-dummy
[    0.095260] vdd2p5: supplied by regulator-dummy
[    0.096987] vddarm: supplied by regulator-dummy
[    0.099349] vddpu: supplied by regulator-dummy
[    0.100658] vddsoc: supplied by regulator-dummy
[    0.127784] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.127895] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.129155] debugfs: Directory 'dummy-iomuxc-gpr@20e0000' with parent 'regmap' already present!
[    0.130653] imx6dl-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.231870] mxs-dma 110000.dma-controller: initialized
[    0.237751] SCSI subsystem initialized
[    0.239020] usbcore: registered new interface driver usbfs
[    0.239275] usbcore: registered new interface driver hub
[    0.239431] usbcore: registered new device driver usb
[    0.240036] usb_phy_generic usbphynop1: usbphynop1 supply vcc not found, using dummy regulator
[    0.240891] usb_phy_generic usbphynop2: usbphynop2 supply vcc not found, using dummy regulator
[    0.244883] i2c i2c-1: IMX I2C adapter registered
[    0.245193] videodev: Linux video capture interface: v2.00
[    0.245321] pps_core: LinuxPPS API ver. 1 registered
[    0.245346] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.245432] PTP clock support registered
[    0.249207] Bluetooth: Core ver 2.22
[    0.249372] NET: Registered protocol family 31
[    0.249396] Bluetooth: HCI device and connection manager initialized
[    0.249668] Bluetooth: HCI socket layer initialized
[    0.249711] Bluetooth: L2CAP socket layer initialized
[    0.249903] Bluetooth: SCO socket layer initialized
[    0.253446] clocksource: Switched to clocksource mxc_timer1
[    0.497338] VFS: Disk quotas dquot_6.6.0
[    0.497520] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.530658] QCA AR8337N register
[    0.531372] NET: Registered protocol family 2
[    0.531871] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.534438] tcp_listen_portaddr_hash hash table entries: 128 (order: 0, 5120 bytes, linear)
[    0.534552] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.534609] TCP bind hash table entries: 1024 (order: 3, 36864 bytes, linear)
[    0.534771] TCP: Hash tables configured (established 1024 bind 1024)
[    0.535217] UDP hash table entries: 256 (order: 2, 20480 bytes, linear)
[    0.535341] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes, linear)
[    0.535901] NET: Registered protocol family 1
[    0.537295] PCI: CLS 0 bytes, default 64
[    0.538884] Trying to unpack rootfs image as initramfs...
[    1.501877] Freeing initrd memory: 7068K
[    1.504467] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    1.505004] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    1.510343] Initialise system trusted keyrings
[    1.511247] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    1.532496] ntfs: driver 2.1.32 [Flags: R/W].
[    1.534018] fuse: init (API version 7.31)
[    1.571093] Key type asymmetric registered
[    1.571299] Asymmetric key parser 'x509' registered
[    1.571516] io scheduler mq-deadline registered
[    1.571547] io scheduler kyber registered
[    1.577773] imx6q-pcie 1ffc000.pcie: host bridge /soc/pcie@1ffc000 ranges:
[    1.578040] imx6q-pcie 1ffc000.pcie:    IO 0x01f80000..0x01f8ffff -> 0x00000000
[    1.578299] imx6q-pcie 1ffc000.pcie:   MEM 0x01000000..0x01efffff -> 0x01000000
[    1.588448] pfuze100-regulator 1-0008: Full layer: 2, Metal layer: 1
[    1.589397] pfuze100-regulator 1-0008: FAB: 0, FIN: 0
[    1.589426] pfuze100-regulator 1-0008: pfuze100 found.
[    1.622948] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 27, base_baud = 5000000) is a IMX
[    1.918936] imx6q-pcie 1ffc000.pcie: Link up
[    1.918960] imx6q-pcie 1ffc000.pcie: Link: Gen2 disabled
[    1.918976] imx6q-pcie 1ffc000.pcie: Link up, Gen1
[    1.920086] imx6q-pcie 1ffc000.pcie: PCI host bridge to bus 0000:00
[    1.920113] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.920132] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    1.920152] pci_bus 0000:00: root bus resource [mem 0x01000000-0x01efffff]
[    1.920591] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400
[    1.920667] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    1.920718] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
[    1.920808] pci 0000:00:00.0: Limiting cfg_size to 512
[    1.921133] pci 0000:00:00.0: supports D1
[    1.921149] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold
[    1.936115] PCI: bus0: Fast back to back transfers disabled
[    1.936647] pci 0000:01:00.0: [168c:0030] type 00 class 0x028000
[    1.936823] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x0001ffff 64bit]
[    1.937006] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    1.937432] pci 0000:01:00.0: supports D1
[    1.937446] pci 0000:01:00.0: PME# supported from D0 D1 D3hot
[    1.941720] PCI: bus1: Fast back to back transfers disabled
[    1.941837] pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff]
[    1.941865] pci 0000:00:00.0: BAR 14: assigned [mem 0x01100000-0x011fffff]
[    1.941884] pci 0000:00:00.0: BAR 15: assigned [mem 0x01200000-0x012fffff pref]
[    1.941903] pci 0000:00:00.0: BAR 6: assigned [mem 0x01300000-0x0130ffff pref]
[    1.941937] pci 0000:01:00.0: BAR 0: assigned [mem 0x01100000-0x0111ffff 64bit]
[    1.942006] pci 0000:01:00.0: BAR 6: assigned [mem 0x01200000-0x0120ffff pref]
[    1.942027] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.942054] pci 0000:00:00.0:   bridge window [mem 0x01100000-0x011fffff]
[    1.942075] pci 0000:00:00.0:   bridge window [mem 0x01200000-0x012fffff pref]
[    1.956797] pcieport 0000:00:00.0: PME: Signaling with IRQ 294
[    1.958762] pcieport 0000:00:00.0: AER: enabled with IRQ 294
[    2.595082] printk: console [ttymxc0] enabled
[    2.602339] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 65, base_baud = 5000000) is a IMX
[    2.612709] 21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 66, base_baud = 5000000) is a IMX
[    2.656126] brd: module loaded
[    2.688783] loop: module loaded
[    2.700256] spi_imx 2008000.spi: probed
[    2.707586] spi_imx 2010000.spi: probed
[    2.713767] tun: Universal TUN/TAP device driver, 1.6
[    2.719751] CAN device driver interface
[    2.724450] flexcan 2090000.flexcan: 2090000.flexcan supply xceiver not found, using dummy regulator
[    2.752468] pps pps0: new PPS source ptp0
[    2.779219] fec 2188000.ethernet eth0: registered PHC device 0
[    2.785656] PPP generic driver version 2.4.2
[    2.790820] PPP BSD Compression module registered
[    2.795727] PPP Deflate Compression module registered
[    2.800953] PPP MPPE Compression module registered
[    2.805878] NET: Registered protocol family 24
[    2.810460] PPTP driver version 0.8.5
[    2.815225] ath9k 0000:01:00.0: enabling device (0140 -> 0142)
[    2.848927] ieee80211 phy0: Atheros AR9300 Rev:3 mem=0x(ptrval), irq=293
[    2.856528] Intel(R) Wireless WiFi driver for Linux
[    2.861431] Copyright(c) 2003- 2015 Intel Corporation
[    2.867214] usbcore: registered new interface driver asix
[    2.872750] usbcore: registered new interface driver ax88179_178a
[    2.879066] usbcore: registered new interface driver cdc_ether
[    2.885179] usbcore: registered new interface driver cdc_ncm
[    2.890977] usbcore: registered new interface driver qmi_wwan
[    2.896921] usbcore: registered new interface driver cdc_mbim
[    2.904065] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.910619] ehci-pci: EHCI PCI platform driver
[    2.915316] ehci-mxc: Freescale On-Chip EHCI Host driver
[    2.921073] usbcore: registered new interface driver cdc_acm
[    2.926831] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    2.935074] usbcore: registered new interface driver usblp
[    2.940690] usbcore: registered new interface driver cdc_wdm
[    2.947008] usbcore: registered new interface driver uas
[    2.952498] usbcore: registered new interface driver usb-storage
[    2.958946] usbcore: registered new interface driver usbserial_generic
[    2.965987] usbserial: USB Serial support registered for generic
[    2.972228] usbcore: registered new interface driver ftdi_sio
[    2.978154] usbserial: USB Serial support registered for FTDI USB Serial Device
[    2.985646] usbcore: registered new interface driver option
[    2.991312] usbserial: USB Serial support registered for GSM modem (1-port)
[    2.998460] usbcore: registered new interface driver pl2303
[    3.004252] usbserial: USB Serial support registered for pl2303
[    3.010300] usbcore: registered new interface driver qcserial
[    3.016213] usbserial: USB Serial support registered for Qualcomm USB modem
[    3.023298] usbcore: registered new interface driver usb_serial_simple
[    3.029988] usbserial: USB Serial support registered for carelink
[    3.036236] usbserial: USB Serial support registered for flashloader
[    3.042679] usbserial: USB Serial support registered for funsoft
[    3.048841] usbserial: USB Serial support registered for google
[    3.054912] usbserial: USB Serial support registered for hp4x
[    3.060747] usbserial: USB Serial support registered for kaufmann
[    3.066991] usbserial: USB Serial support registered for libtransistor
[    3.073668] usbserial: USB Serial support registered for moto_modem
[    3.080023] usbserial: USB Serial support registered for motorola_tetra
[    3.086807] usbserial: USB Serial support registered for nokia
[    3.092734] usbserial: USB Serial support registered for novatel_gps
[    3.099248] usbserial: USB Serial support registered for siemens_mpi
[    3.105755] usbserial: USB Serial support registered for suunto
[    3.111761] usbserial: USB Serial support registered for vivopay
[    3.117918] usbserial: USB Serial support registered for zio
[    3.135673] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    3.142767] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    3.173499] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    3.180571] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    3.189102] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.196412] usb usb1: Product: EHCI Host Controller
[    3.201312] usb usb1: Manufacturer: Linux 5.4.268 ehci_hcd
[    3.206876] usb usb1: SerialNumber: ci_hdrc.0
[    3.215746] hub 1-0:1.0: USB hub found
[    3.219860] hub 1-0:1.0: 1 port detected
[    3.228834] imx_usb 2184200.usb: No over current polarity defined
[    3.239899] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    3.245614] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[    3.273455] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    3.279589] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    3.287954] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.295262] usb usb2: Product: EHCI Host Controller
[    3.300163] usb usb2: Manufacturer: Linux 5.4.268 ehci_hcd
[    3.305730] usb usb2: SerialNumber: ci_hdrc.1
[    3.311975] hub 2-0:1.0: USB hub found
[    3.316053] hub 2-0:1.0: 1 port detected
[    3.325513] using random self ethernet address
[    3.330129] using random host ethernet address
[    3.336626] g_ether gadget: HOST MAC 9a:ba:49:20:41:89
[    3.341911] g_ether gadget: MAC be:3e:04:c7:49:b0
[    3.348961] using random self ethernet address
[    3.353542] using random host ethernet address
[    3.359276] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[    3.366045] g_ether gadget: g_ether ready
[    3.376416] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc0
[    3.382872] i2c /dev entries driver
[    3.388351] usbcore: registered new interface driver uvcvideo
[    3.394210] USB Video Class driver (1.1.1)
[    3.402359] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[    3.409464] Bluetooth: HCI UART driver ver 2.3
[    3.414021] Bluetooth: HCI UART protocol H4 registered
[    3.419366] usbcore: registered new interface driver bcm203x
[    3.425295] usbcore: registered new interface driver bpa10x
[    3.431047] usbcore: registered new interface driver bfusb
[    3.436798] usbcore: registered new interface driver btusb
[    3.442554] usbcore: registered new interface driver ath3k
[    3.449520] sdhci: Secure Digital Host Controller Interface driver
[    3.455803] sdhci: Copyright(c) Pierre Ossman
[    3.460183] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.503258] mmc0: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
[    3.525084] ledtrig-cpu: registered to indicate activity on CPUs
[    3.535096] caam 2100000.caam: Entropy delay = 3200
[    3.540037] caam 2100000.caam: Instantiated RNG4 SH0
[    3.600804] caam 2100000.caam: Instantiated RNG4 SH1
[    3.605884] caam 2100000.caam: device ID = 0x0a16010000000100 (Era 4)
[    3.612347] caam 2100000.caam: job rings = 2, qi = 0
[    3.646496] caam algorithms registered in /proc/crypto
[    3.662801] caam_jr 2101000.jr0: registering rng-caam
[    3.672343] hidraw: raw HID events driver (C) Jiri Kosina
[    3.683980] usbcore: registered new interface driver usbhid
[    3.689578] usbhid: USB HID core driver
[    3.695853] GACT probability NOT on
[    3.703211] u32 classifier
[    3.706027]     Performance counters on
[    3.709882]     input device check on
[    3.713618]     Actions configured
[    3.717178] mmc0: new DDR MMC card at address 0001
[    3.725799] mmcblk0: mmc0:0001 S10004 3.56 GiB
[    3.731039] mmcblk0boot0: mmc0:0001 S10004 partition 1 4.00 MiB
[    3.741553] xt_time: kernel timezone is -0000
[    3.746789] mmcblk0boot1: mmc0:0001 S10004 partition 2 4.00 MiB
[    3.753990] ipip: IPv4 and MPLS over IPv4 tunneling driver
[    3.761315] gre: GRE over IPv4 demultiplexor driver
[    3.766586] ip_gre: GRE over IPv4 tunneling driver
[    3.771830] mmcblk0rpmb: mmc0:0001 S10004 partition 3 4.00 MiB, chardev (247:0)
[    3.790241] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[    3.805067]  mmcblk0: p1
[    3.810824] NET: Registered protocol family 10
[    3.832653] Segment Routing with IPv6
[    3.841100] mip6: Mobile IPv6
[    3.845333] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.856306] ip6_gre: GRE over IPv6 tunneling driver
[    3.863626] NET: Registered protocol family 17
[    3.868738] Bridge firewalling registered
[    3.874579] can: controller area network core (rev 20170425 abi 9)
[    3.881029] NET: Registered protocol family 29
[    3.885630] can: raw protocol (rev 20170425)
[    3.890216] can: broadcast manager protocol (rev 20170425 t)
[    3.896272] can: netlink gateway (rev 20190810) max_hops=1
[    3.902524] Bluetooth: RFCOMM TTY layer initialized
[    3.908570] Bluetooth: RFCOMM socket layer initialized
[    3.913878] Bluetooth: RFCOMM ver 1.11
[    3.917696] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.923028] Bluetooth: BNEP filters: protocol multicast
[    3.928381] Bluetooth: BNEP socket layer initialized
[    3.933433] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.939394] Bluetooth: HIDP socket layer initialized
[    3.944439] 8021q: 802.1Q VLAN Support v1.8
[    3.948959] Key type dns_resolver registered
[    3.963496] Registering SWP/SWPB emulation handler
[    3.968999] Loading compiled-in X.509 certificates
[    4.077735] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 2023-04-17T19:48:51 UTC (1681760931)
[    4.088055] Bluetooth: Starting self testing
[    4.146476] Bluetooth: ECDH test passed in 52855 usecs
[    4.171211] Bluetooth: SMP test passed in 8950 usecs
[    4.176593] Bluetooth: Finished self testing
[    4.180929] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    4.202149] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[    4.213104] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    4.222438] platform regulatory.0: Direct firmware load for regulatory.db.p7s failed with error -2
[    4.236660] Freeing unused kernel memory: 1024K
[    4.241653] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[    4.250238] Run /init as init process
[    5.252963] init: Console is alive
[    5.257556] init: - watchdog -
[    5.266485] kmodloader: no module folders for kernel version 5.4.268 found
[    5.284770] init: - preinit -
[    5.525607] random: jshn: uninitialized urandom read (4 bytes read)
[    5.563751] random: jshn: uninitialized urandom read (4 bytes read)
[    5.584722] random: jshn: uninitialized urandom read (4 bytes read)
[    5.638306] Atheros 8035 ethernet 2188000.ethernet-1:04: attached PHY driver [Atheros 8035 ethernet] (mii_bus:phy_addr=2188000.ethernet-1:04, irq=POLL)
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
[    7.445116] random: procd: uninitialized urandom read (4 bytes read)
[    8.804523] fec 2188000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    8.812450] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.871572] procd: - early -
[    9.876291] procd: - watchdog -
[   10.679449] procd: - watchdog -
[   10.686652] procd: - ubus -
[   10.711878] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.740533] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.754574] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.773830] procd: - init -
Please press Enter to activate this console.
[   11.594600] kmodloader: no module folders for kernel version 5.4.268 found
[   11.607334] urngd: v1.0.2 started.
[   11.723821] random: ubus: uninitialized urandom read (4 bytes read)
[   11.749478] random: jsonfilter: uninitialized urandom read (4 bytes read)
[   11.785772] random: crng init done
[   11.789204] random: 20 urandom warning(s) missed due to ratelimiting
[   11.902164] ------------[ cut here ]------------
[   11.906811] WARNING: CPU: 0 PID: 0 at ../include/trace/events/lock.h:37 lock_acquire+0x110/0x17c
[   11.915598] Modules linked in:
[   11.918663] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.4.268 #1
[   11.924672] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[   11.931219] [<8010fa64>] (unwind_backtrace) from [<8010b764>] (show_stack+0x10/0x14)
[   11.938975] [<8010b764>] (show_stack) from [<80a209fc>] (dump_stack+0xdc/0x11c)
[   11.946296] [<80a209fc>] (dump_stack) from [<8011fe14>] (__warn+0xd0/0xe8)
[   11.953181] [<8011fe14>] (__warn) from [<8011fe9c>] (warn_slowpath_fmt+0x70/0x9c)
[   11.960672] [<8011fe9c>] (warn_slowpath_fmt) from [<801693fc>] (lock_acquire+0x110/0x17c)
[   11.968863] [<801693fc>] (lock_acquire) from [<80a27828>] (_raw_spin_lock+0x28/0x38)
[   11.976618] [<80a27828>] (_raw_spin_lock) from [<8019df3c>] (__tick_broadcast_oneshot_control+0x30/0x228)
[   11.986199] [<8019df3c>] (__tick_broadcast_oneshot_control) from [<8067b074>] (cpuidle_enter_state+0x3c/0x2bc)
[   11.996207] [<8067b074>] (cpuidle_enter_state) from [<8067b330>] (cpuidle_enter+0x28/0x38)
[   12.004480] [<8067b330>] (cpuidle_enter) from [<8014eac0>] (do_idle+0x280/0x2b0)
[   12.011885] [<8014eac0>] (do_idle) from [<8014ee74>] (cpu_startup_entry+0x18/0x1c)
[   12.019465] [<8014ee74>] (cpu_startup_entry) from [<80f00f7c>] (start_kernel+0x3e4/0x4b8)
[   12.027647] irq event stamp: 6008
[   12.030970] hardirqs last  enabled at (6007): [<8019f868>] tick_nohz_idle_enter+0xd4/0xf8
[   12.039153] hardirqs last disabled at (6008): [<8014e8e0>] do_idle+0xa0/0x2b0
[   12.046297] softirqs last  enabled at (5994): [<80125e1c>] irq_enter+0x50/0x94
[   12.053524] softirqs last disabled at (5993): [<80125e08>] irq_enter+0x3c/0x94
[   12.060750] ---[ end trace f5aae8f5cbb71898 ]---
[   12.065401] ------------[ cut here ]------------
[   12.070028] WARNING: CPU: 0 PID: 0 at ../include/trace/events/lock.h:63 lock_release+0xf8/0x2bc
[   12.078727] Modules linked in:
[   12.081790] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W         5.4.268 #1
[   12.089186] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[   12.095728] [<8010fa64>] (unwind_backtrace) from [<8010b764>] (show_stack+0x10/0x14)
[   12.103482] [<8010b764>] (show_stack) from [<80a209fc>] (dump_stack+0xdc/0x11c)
[   12.110799] [<80a209fc>] (dump_stack) from [<8011fe14>] (__warn+0xd0/0xe8)
[   12.117681] [<8011fe14>] (__warn) from [<8011fe9c>] (warn_slowpath_fmt+0x70/0x9c)
[   12.125172] [<8011fe9c>] (warn_slowpath_fmt) from [<801690b8>] (lock_release+0xf8/0x2bc)
[   12.133276] [<801690b8>] (lock_release) from [<801900fc>] (read_seqcount_begin.constprop.14+0x48/0xbc)
[   12.142595] [<801900fc>] (read_seqcount_begin.constprop.14) from [<80190670>] (ktime_get+0x34/0x74)
[   12.151651] [<80190670>] (ktime_get) from [<8019c3bc>] (clockevents_program_event+0xb4/0x180)
[   12.160185] [<8019c3bc>] (clockevents_program_event) from [<8019d3a4>] (tick_broadcast_set_event+0x40/0xa4)
[   12.169934] [<8019d3a4>] (tick_broadcast_set_event) from [<8019e06c>] (__tick_broadcast_oneshot_control+0x160/0x228)
[   12.180464] [<8019e06c>] (__tick_broadcast_oneshot_control) from [<8067b074>] (cpuidle_enter_state+0x3c/0x2bc)
[   12.190470] [<8067b074>] (cpuidle_enter_state) from [<8067b330>] (cpuidle_enter+0x28/0x38)
[   12.198742] [<8067b330>] (cpuidle_enter) from [<8014eac0>] (do_idle+0x280/0x2b0)
[   12.206146] [<8014eac0>] (do_idle) from [<8014ee74>] (cpu_startup_entry+0x18/0x1c)
[   12.213723] [<8014ee74>] (cpu_startup_entry) from [<80f00f7c>] (start_kernel+0x3e4/0x4b8)
[   12.221902] irq event stamp: 6008
[   12.225222] hardirqs last  enabled at (6007): [<8019f868>] tick_nohz_idle_enter+0xd4/0xf8
[   12.233405] hardirqs last disabled at (6008): [<8014e8e0>] do_idle+0xa0/0x2b0
[   12.240546] softirqs last  enabled at (5994): [<80125e1c>] irq_enter+0x50/0x94
[   12.247772] softirqs last disabled at (5993): [<80125e08>] irq_enter+0x3c/0x94
[   12.254995] ---[ end trace f5aae8f5cbb71899 ]---
[   20.355862] Atheros 8035 ethernet 2188000.ethernet-1:04: attached PHY driver [Atheros 8035 ethernet] (mii_bus:phy_addr=2188000.ethernet-1:04, irq=POLL)
[   20.415035] br-lan: port 1(eth0) entered blocking state
[   20.420299] br-lan: port 1(eth0) entered disabled state
[   20.484417] device eth0 entered promiscuous mode
[   23.524026] fec 2188000.ethernet eth0: Link is Up - 10Mbps/Full - flow control off
[   23.531886] br-lan: port 1(eth0) entered blocking state
[   23.537422] br-lan: port 1(eth0) entered forwarding state
[   23.564781] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   25.603717] fec 2188000.ethernet eth0: Link is Down
[   25.608884] br-lan: port 1(eth0) entered disabled state
[   27.685491] fec 2188000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   27.693278] br-lan: port 1(eth0) entered blocking state
[   27.698651] br-lan: port 1(eth0) entered forwarding state

If you booted it using bootm, it's only running in RAM, nothing's written to the flash.
https://openwrt.org/faq/how_can_i_add_support_for_a_new_device

No, I wrote rootfs image to eMMC, but, this is an image, that’s extracted into RAM when boot.