Eth0 stoped working after configuring switch on 8devices Habanero-dvk

Firmware: openwrt-22.03.4-ipq40xx-generic-8dev_habanero-dvk-squashfs-sysupgrade.bin

I tried to configure a switch on the device using the following commands:

uci add network switch
uci add_list network.@switch[0]=switch
uci add_list network.@switch[0].name='switch0'
uci add_list network.@switch[0].reset='1'
uci add_list network.@switch[0].enable_vlan='1'
uci add network switch_vlan
uci add_list network.@switch_vlan[0]=switch_vlan
uci add_list network.@switch_vlan[0].device='switch0'
uci add_list network.@switch_vlan[0].vlan='1'
uci add_list network.@switch_vlan[0].ports='0 1 2 3 4'
uci commit network
reboot

The device wasn't responsive via eth0 after this command.

I was able to login to the device via usb using picocom -b 115200 /dev/ttyUSB0 See: https://wiki.8devices.com/habanero:connect

These are the results:

# ifconfig
eth1      Link encap:Ethernet  HWaddr C4:93:00:41:3B:BA  
          inet addr:192.168.190.46  Bcast:192.168.191.255  Mask:255.255.254.0
          inet6 addr: fe80::c693:ff:fe41:3bba/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1980 errors:0 dropped:21 overruns:0 frame:0
          TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:212991 (207.9 KiB)  TX bytes:5998 (5.8 KiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:77 errors:0 dropped:0 overruns:0 frame:0
          TX packets:77 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:7336 (7.1 KiB)  TX bytes:7336 (7.1 KiB)
CK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN qlen 1000
    link/ether c4:93:00:41:3b:b9 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether c4:93:00:41:3b:ba brd ff:ff:ff:ff:ff:ff
    inet 192.168.190.46/23 brd 192.168.191.255 scope global eth1
       valid_lft forever preferred_lft forever
    inet6 fe80::c693:ff:fe41:3bba/64 scope link 
       valid_lft forever preferred_lft forever
4: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether c4:93:00:41:3b:bb brd ff:ff:ff:ff:ff:ff
5: wlan1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether c4:93:00:41:3b:bc brd ff:ff:ff:ff:ff:ff

As you can see eth0 is not set, and doesn't have address 192.168.1.1

Factory reset using:

sysupgrade -v /tmp/openwrt-22.03.4-ipq40xx
-generic-8dev_habanero-dvk-squashfs-sysupgrade.bin

also didn't help

This is the post reboot log:

root@OpenWrt:/# reboot
root@OpenWrt:/# [  230.741214] ess_edma c080000.edma eth1: Link is Down
[ `
Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset),  D - Delta,  S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.1.1-00123
S - IMAGE_VARIANT_STRING=DAABANAZA
S - OEM_IMAGE_VERSION_STRING=CRM
S - Boot Config, 0x00000021
S - Reset status Config, 0x00000010
S - Core 0 Frequency, 0 MHz
B -       261 - PBL, Start
B -      1339 - bootable_media_detect_entry, Start
B -      1679 - bootable_media_detect_success, Start
B -      1693 - elf_loader_entry, Start
B -      5075 - auth_hash_seg_entry, Start
B -      7221 - auth_hash_seg_exit, Start
B -    578300 - elf_segs_hash_verify_entry, Start
B -    696002 - PBL, End
B -    696026 - SBL1, Start
B -    786860 - pm_device_init, Start
D -         7 - pm_device_init, Delta
B -    788322 - boot_flash_init, Start
D -     52807 - boot_flash_init, Delta
B -    845270 - boot_config_data_table_init, Start
D -      3838 - boot_config_data_table_init, Delta - (419 Bytes)
B -    852747 - clock_init, Start
D -      7566 - clock_init, Delta
B -    864466 - CDT version:2,Platform ID:9,Major ID:0,Minor ID:0,Subtype:64
B -    867995 - sbl1_ddr_set_params, Start
B -    872984 - cpr_init, Start
D -         2 - cpr_init, Delta
B -    877424 - Pre_DDR_clock_init, Start
D -         4 - Pre_DDR_clock_init, Delta
D -     13234 - sbl1_ddr_set_params, Delta
B -    890736 - pm_driver_init, Start
D -         2 - pm_driver_init, Delta
B -    961555 - sbl1_wait_for_ddr_training, Start
D -        27 - sbl1_wait_for_ddr_training, Delta
B -    977900 - Image Load, Start
D -    150246 - QSEE Image Loaded, Delta - (293592 Bytes)
B -   1128580 - Image Load, Start
D -      1446 - SEC Image Loaded, Delta - (2048 Bytes)
B -   1138897 - Image Load, Start
D -    189601 - APPSBL Image Loaded, Delta - (387096 Bytes)
B -   1328896 - QSEE Execution, Start
D -        60 - QSEE Execution, Delta
B -   1335141 - SBL1, End
D -    641116 - SBL1, Delta
S - Flash Throughput, 2002 KB/s  (683155 Bytes,  341093 us)
S - DDR Frequency, 672 MHz


U-Boot 2012.07-00032-gc18376d [local,local] (Apr 24 2019 - 15:46:54)

=====================================
Caraboot v4.3 (IPQ4018) U-boot
http://www.8devices.com/
-------------------------------------
smem ram ptable found: ver: 1 len: 3
DRAM:  512 MiB
machid : 0x9000040
NAND:  SF: Detected W25Q256 with page size 64 KiB, total 32 MiB
ipq_spi: page_size: 0x100, sector_size: 0x10000, size: 0x2000000
32 MiB
MMC:   qca_mmc: 0
In:    serial
Out:   serial
Err:   serial
machid: 9000040
flash_type: 0
Net:   MAC0 addr:c4:93:0:41:3b:b9
PHY ID1: 0x4d
PHY ID2: 0xd0b1
ipq40xx_ess_sw_init done
eth0
Hit any key to stop autoboot:  0 
Booting from partition: 1

Loading from nand2, offset 0x1c0000
Fit image detected...
   FIT description: ARM OpenWrt FIT (Flattened Image Tree)
    Image 0 (kernel-1)
     Description:  ARM OpenWrt Linux-5.10.176
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x840000e4
     Data Size:    2960192 Bytes = 2.8 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: 0x80208000
     Entry Point:  0x80208000
     Hash algo:    crc32
     Hash value:   e042da94
     Hash algo:    sha1
     Hash value:   d0362ba34420861b756409f51342221fcd54ab5e
    Image 1 (fdt-1)
     Description:  ARM OpenWrt 8dev_habanero-dvk device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x842d2d60
     Data Size:    17965 Bytes = 17.5 KiB
     Architecture: ARM
     Hash algo:    crc32
     Hash value:   c622fa7a
     Hash algo:    sha1
     Hash value:   e75ad756df37f31bf4de7252544e98912a896b0b
    Default Configuration: 'config@1'
    Configuration 0 (config@1)
     Description:  OpenWrt 8dev_habanero-dvk
     Kernel:       kernel-1
     FDT:          fdt-1
## Booting kernel from FIT Image at 84000000 ...
   Using 'config@1' configuration
   Trying 'kernel-1' kernel subimage
     Description:  ARM OpenWrt Linux-5.10.176
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x840000e4
     Data Size:    2960192 Bytes = 2.8 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: 0x80208000
     Entry Point:  0x80208000
     Hash algo:    crc32
     Hash value:   e042da94
     Hash algo:    sha1
     Hash value:   d0362ba34420861b756409f51342221fcd54ab5e
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Flattened Device Tree from FIT Image at 84000000
   Using 'config@1' configuration
   Trying 'fdt-1' FDT blob subimage
     Description:  ARM OpenWrt 8dev_habanero-dvk device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x842d2d60
     Data Size:    17965 Bytes = 17.5 KiB
     Architecture: ARM
     Hash algo:    crc32
     Hash value:   c622fa7a
     Hash algo:    sha1
     Hash value:   e75ad756df37f31bf4de7252544e98912a896b0b
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0x842d2d60
   Uncompressing Kernel Image ... OK
   Loading Device Tree to 871e8000, end 871ef62c ... OK
Using machid 0x9000040 from environment

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.176 (builder@buildhost) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 11.2.0 r20123-38ccc47687) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 SMP Sun Apr 9 12:27:46 2023
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: 8devices Habanero DVK
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x000000009fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x0000000087dfffff]
[    0.000000]   node   0: [mem 0x0000000087e00000-0x0000000087ffffff]
[    0.000000]   node   0: [mem 0x0000000088000000-0x000000009fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000009fffffff]
[    0.000000] percpu: Embedded 15 pages/cpu s31116 r8192 d22132 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: rootfstype=squashfs
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 506816K/524288K available (6479K kernel code, 608K rwdata, 956K rodata, 1024K init, 246K bss, 17472K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 48.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb11fd3bfb, max_idle_ns: 440795203732 ns
[    0.000011] sched_clock: 56 bits at 48MHz, resolution 20ns, wraps every 4398046511096ns
[    0.000028] Switching to timer-based delay loop, resolution 20ns
[    0.000336] Calibrating delay loop (skipped), value calculated using timer frequency.. 96.00 BogoMIPS (lpj=480000)
[    0.000363] pid_max: default: 32768 minimum: 301
[    0.000546] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000566] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001578] CPU: Testing write buffer coherency: ok
[    0.001962] qcom_scm: convention: smc legacy
[    0.002943] Setting up static identity map for 0x80300000 - 0x8030003c
[    0.003117] rcu: Hierarchical SRCU implementation.
[    0.003404] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.003772] smp: Bringing up secondary CPUs ...
[    0.007337] smp: Brought up 1 node, 4 CPUs
[    0.007360] SMP: Total of 4 processors activated (384.00 BogoMIPS).
[    0.007372] CPU: All CPU(s) started in SVC mode.
[    0.012919] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.013092] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.013120] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.013376] pinctrl core: initialized pinctrl subsystem
[    0.015206] NET: Registered protocol family 16
[    0.015549] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.016756] thermal_sys: Registered thermal governor 'step_wise'
[    0.017185] cpuidle: using governor ladder
[    0.017248] cpuidle: using governor menu
[    0.045963] cryptd: max_cpu_qlen set to 1000
[    0.050449] usbcore: registered new interface driver usbfs
[    0.050525] usbcore: registered new interface driver hub
[    0.050581] usbcore: registered new device driver usb
[    0.050635] pps_core: LinuxPPS API ver. 1 registered
[    0.050648] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.050678] PTP clock support registered
[    0.052666] clocksource: Switched to clocksource arch_sys_counter
[    0.053684] NET: Registered protocol family 2
[    0.053947] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.055087] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.055160] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.055225] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.055315] TCP: Hash tables configured (established 4096 bind 4096)
[    0.055450] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.055494] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.055786] NET: Registered protocol family 1
[    0.055836] PCI: CLS 0 bytes, default 64
[    0.058160] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.063143] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.063170] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.198331] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.200664] qcom-pcie 40000000.pci: host bridge /soc/pci@40000000 ranges:
[    0.200727] qcom-pcie 40000000.pci:       IO 0x0040200000..0x00402fffff -> 0x0040200000
[    0.200760] qcom-pcie 40000000.pci:      MEM 0x0040300000..0x0040ffffff -> 0x0040300000
[    1.374424] qcom-pcie 40000000.pci: Phy link never came up
[    1.376003] qcom-pcie 40000000.pci: cannot initialize host
[    1.376114] qcom-pcie: probe of 40000000.pci failed with error -110
[    1.377899] bam-dma-engine 8e04000.dma: num-channels unspecified in dt
[    1.377923] bam-dma-engine 8e04000.dma: num-ees unspecified in dt
[    1.379370] tcsr 1949000.tcsr: setting wifi_glb_cfg = 41000000
[    1.379476] tcsr 194b000.tcsr: setting usb hs phy mode select = e700e7
[    1.379569] tcsr 1953000.ess_tcsr: setting ess interface select = 0
[    1.379658] tcsr 1957000.tcsr: setting wifi_noc_memtype_m0_m2 = 2222222
[    1.380368] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    1.382283] msm_serial 78af000.serial: msm_serial: detected port #0
[    1.382334] msm_serial 78af000.serial: uartclk = 1843200
[    1.382394] 78af000.serial: ttyMSM0 at MMIO 0x78af000 (irq = 35, base_baud = 115200) is a MSM
[    1.382424] msm_serial: console setup on port #0
[    1.965362] printk: console [ttyMSM0] enabled
[    1.970540] msm_serial: driver initialized
[    1.979574] loop: module loaded
[    1.981356] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
[    1.981533] nand: AMD/Spansion S34ML01G2
[    1.988180] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.994170] spi_qup 78b5000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[    2.001240] spi-nor spi0.0: w25q256 (32768 Kbytes)
[    2.006733] 10 fixed-partitions partitions found on MTD device spi0.0
[    2.011263] OF: Bad cell count for /soc/spi@78b5000/flash@0/partitions
[    2.017783] OF: Bad cell count for /soc/spi@78b5000/flash@0/partitions
[    2.024762] OF: Bad cell count for /soc/spi@78b5000/flash@0/partitions
[    2.030691] OF: Bad cell count for /soc/spi@78b5000/flash@0/partitions
[    2.037407] Creating 10 MTD partitions on "spi0.0":
[    2.043717] 0x000000000000-0x000000040000 : "SBL1"
[    2.049057] 0x000000040000-0x000000060000 : "MIBIB"
[    2.053888] 0x000000060000-0x0000000c0000 : "QSEE"
[    2.058570] 0x0000000c0000-0x0000000d0000 : "CDT"
[    2.063527] 0x0000000d0000-0x0000000e0000 : "DDRPARAMS"
[    2.068220] 0x0000000e0000-0x0000000f0000 : "APPSBLENV"
[    2.073369] 0x0000000f0000-0x000000170000 : "APPSBL"
[    2.078499] 0x000000170000-0x000000180000 : "ART"
[    2.083802] 0x000000180000-0x0000001c0000 : "cfg"
[    2.088310] 0x0000001c0000-0x000002000000 : "firmware"
[    2.093626] 2 fit-fw partitions found on MTD device firmware
[    2.097506] Creating 2 MTD partitions on "firmware":
[    2.103362] 0x000000000000-0x0000002e0000 : "kernel"
[    2.108766] 0x0000002e0000-0x000001e40000 : "rootfs"
[    2.113716] mtd: setting mtd12 (rootfs) as root device
[    2.118387] 1 squashfs-split partitions found on MTD device rootfs
[    2.123154] 0x0000006c0000-0x000001e40000 : "rootfs_data"
[    2.168705] ESS reset ok!
[    2.242892] ESS reset ok!
[    3.007893] i2c /dev entries driver
[    3.009913] sdhci: Secure Digital Host Controller Interface driver
[    3.010199] sdhci: Copyright(c) Pierre Ossman
[    3.016534] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.021510] sdhci_msm 7824900.sdhci: Got CD GPIO
[    3.030353] NET: Registered protocol family 10
[    3.032867] Segment Routing with IPv6
[    3.035555] NET: Registered protocol family 17
[    3.039260] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    3.043589] 8021q: 802.1Q VLAN Support v1.8
[    3.056768] Registering SWP/SWPB emulation handler
[    3.059506] genirq: irq_chip msmgpio did not update eff. affinity mask of irq 104
�[    3.083735] VFS: Mounted root (squashfs filesystem) readonly on device 31:12.
[    3.086504] Freeing unused kernel memory: 1024K
[    3.156117] Run /sbin/init as init process
[    4.120630] init: Console is alive
[    4.120934] init: - watchdog -
[    5.695762] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.270160] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    6.270259] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    6.274898] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f665 hci version 0x100 quirks 0x0000000002010010
[    6.282216] xhci-hcd xhci-hcd.0.auto: irq 106, io mem 0x08a00000
[    6.291735] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    6.297773] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    6.303060] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    6.311308] hub 1-0:1.0: USB hub found
[    6.317266] hub 1-0:1.0: 1 port detected
[    6.321353] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.330351] hub 2-0:1.0: USB hub found
[    6.333140] hub 2-0:1.0: 1 port detected
[    6.337149] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    6.340735] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    6.346293] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f665 hci version 0x100 quirks 0x0000000002010010
[    6.353648] xhci-hcd xhci-hcd.1.auto: irq 107, io mem 0x06000000
[    6.363149] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    6.369194] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[    6.374507] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    6.382845] hub 3-0:1.0: USB hub found
[    6.388827] hub 3-0:1.0: 1 port detected
[    6.393705] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.397238] hub 4-0:1.0: USB hub found
[    6.404629] hub 4-0:1.0: config failed, hub doesn't have any ports! (err -19)
[    6.411145] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.425129] init: - preinit -
[    7.975846] random: jshn: uninitialized urandom read (4 bytes read)
[    8.019713] random: jshn: uninitialized urandom read (4 bytes read)
[    8.089357] random: jshn: uninitialized urandom read (4 bytes read)
[    8.258623] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
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
[   12.813157] jffs2: notice: (228) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 1 orphan) and 12 of xref (1 dead, 0 orphan) found.
[   12.818736] mount_root: switching to jffs2 overlay
[   12.870412] overlayfs: upper fs does not support tmpfile.
[   12.902752] random: crng init done
[   12.902809] random: 5 urandom warning(s) missed due to ratelimiting
[   12.906835] urandom-seed: Seeding with /etc/urandom.seed
[   13.301161] procd: - early -
[   13.301427] procd: - watchdog -
[   14.082894] procd: - watchdog -
[   14.087267] procd: - ubus -
[   14.288653] procd: - init -
Please press Enter to activate this console.
[   15.525344] kmodloader: loading kernel modules from /etc/modules.d/*
[   15.644531] urngd: v1.0.2 started.
[   15.683927] Loading modules backported from Linux version v5.15.92-0-ge515b9902f5f
[   15.683973] Backport generated by backports.git v5.15.92-1-0-gdfe0f60c
[   15.771403] PPP generic driver version 2.4.2
[   15.784392] NET: Registered protocol family 24
[   17.769078] ath10k_ahb a000000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[   17.769135] ath10k_ahb a000000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   17.781058] ath10k_ahb a000000.wifi: firmware ver 10.4b-ct-4019-fW-13-5ae337bb1 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 6b2b5c5b
[   17.838513] ath10k_ahb a000000.wifi: Loading BDF type 0
[   17.839120] ath10k_ahb a000000.wifi: board_file api 2 bmi_id 0:16 crc32 9957e3db
[   19.132257] ath10k_ahb a000000.wifi: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   19.132310] ath10k_ahb a000000.wifi: msdu-desc: 2500  skid: 32
[   19.168383] ath10k_ahb a000000.wifi: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   19.169362] ath10k_ahb a000000.wifi: wmi print 'free: 53252 iram: 13432 sram: 35752'
[   19.332452] ath10k_ahb a000000.wifi: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-nvmem max-sta 32 raw 0 hwcrypto 1
[   21.483957] ath10k_ahb a800000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[   21.484018] ath10k_ahb a800000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   21.496017] ath10k_ahb a800000.wifi: firmware ver 10.4b-ct-4019-fW-13-5ae337bb1 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 6b2b5c5b
[   21.553082] ath10k_ahb a800000.wifi: Loading BDF type 0
[   21.553336] ath10k_ahb a800000.wifi: board_file api 2 bmi_id 0:17 crc32 9957e3db
[   22.847625] ath10k_ahb a800000.wifi: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   22.847690] ath10k_ahb a800000.wifi: msdu-desc: 2500  skid: 32
[   22.883657] ath10k_ahb a800000.wifi: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   22.884646] ath10k_ahb a800000.wifi: wmi print 'free: 53252 iram: 13432 sram: 35752'
[   23.008103] ath10k_ahb a800000.wifi: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-nvmem max-sta 32 raw 0 hwcrypto 1
[   23.166963] kmodloader: done loading kernel modules from /etc/modules.d/*
[   32.264671] ess_edma c080000.edma eth1: Link is Down
[   35.355501] ess_edma c080000.edma eth1: Link is Up - 1Gbps/Full - flow control off
[   35.356485] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready

I need a way to fix eth0
Also understanding the issue and an how to configure a switch without breaking eth0 would be helpful

thanks,

Hi

i think you need to specify '-n' to drop old config

sysupgrade --help
Usage: /sbin/sysupgrade [<upgrade-option>...] <image file or URL>
       /sbin/sysupgrade [-q] [-i] [-c] [-u] [-o] [-k] <backup-command> <file>

upgrade-option:
...
        -n           do not save configuration over reflash
1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.