Zyxel nsa325 v1 - uart broken - usb boot problem

having some problems using nsa325

  • uart is only working from unit to computer short circuit between rx - gnd
  • load address of uInitrd false

is there any way giving load addresses within uImage and uInitrd?
tested openWRT openwrt-19.07.0-kirkwood-zyxel_nsa325-initramfs-uImage as uImage

[ 2.172429] usb 1-1.3: new high-speed USB device number 3 using orion-ehci
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

is not possible because of broken uart interface

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2021.05.06 11:20:20 =~=~=~=~=~=~=~=~=~=~=~=
ü
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__| 
 ** MARVELL BOARD: DB-88F6282A-BP LE 

U-Boot 1.1.4 (Sep 16 2011 - 17:51:53) Marvell version: 3.5.9

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CFF00

Soc: 88F6282 A1CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 533Mhz , TClock = 200Mhz 

DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
DRAM CS[0] base 0x00000000   size 512MB 
DRAM Total size 512MB  16bit width
Addresses 10M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (10M - 7M): Done
NAND:128 MB
Flash:  0 kB

CPU : Marvell Feroceon (Rev 1)
Kernel address is 0x4640000.

Streaming disabled 
Write allocate disabled


USB 0: host mode
	[BlueDBG] reseting SoC Pex[0]  0 ...
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
	[BlueDBG] reseting SoC Pex[1]  0 ...
	[BlueDBG] reseting SoC Pex[1]  1 ...
	[BlueDBG] reseting SoC Pex[1]  2 ...
	[BlueDBG] reseting SoC Pex[1]  3 ...
	[BlueDBG] reseting SoC Pex[1]  4 ...
	[BlueDBG] reseting SoC Pex[1]  5 ...
	[BlueDBG] reseting SoC Pex[1]  6 ...
	[BlueDBG] reseting SoC Pex[1]  7 ...
	[BlueDBG] reseting SoC Pex[1]  8 ...
	[BlueDBG] reseting SoC Pex[1]  9 ...
	[BlueDBG] reseting SoC Pex[1]  10 ...
PEX 1: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  2  1  0 
(Re)start USB...
USB:   scanning bus for devices... 3 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
1 Storage Device(s) found
....
.
...................
.........................
...................................................
......................................................................................................
..................................................................................................................................................

3602280 bytes read
....
.
...................
.........................
...................................................
......................................................................................................
............................................................................................................................................................................................................
....
..............................................................................................................................................................................................................

6362802 bytes read
## Booting image at 02000000 ...
   Image Name:   ARM OpenWrt Linux-4.14.162
   Created:      2020-01-06  16:47:09 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3602216 Bytes =  3.4 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 00800000 ...
   Image Name:   initramfs-3.14.0-kirkwood-tld-1
   Created:      2014-04-06  20:44:41 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6362738 Bytes =  6.1 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.162 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r10860-a3ffeb413b)) #0 Mon Jan 6 16:47:09 2020
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: ZyXEL NSA325
[    0.000000] Memory policy: Data cache writeback
[    0.000000] INITRD: 0x00800000+0x00612000 overlaps in-use memory region - disabling initrd
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c0d284d8, node_mem_map dfbfa000
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    0.000000] random: get_random_bytes called from 0xc0700980 with crng_init=0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 mtdparts=nand_mtd:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) root=LABEL=rootfs loglevel=8
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 506988K/524288K available (4802K kernel code, 162K rwdata, 728K rodata, 6144K init, 208K bss, 17300K 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 : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc05b0a50   (5795 kB)
[    0.000000]       .init : 0xc0700000 - 0xc0d00000   (6144 kB)
[    0.000000]       .data : 0xc0d00000 - 0xc0d28b40   ( 163 kB)
[    0.000000]        .bss : 0xc0d28b40 - 0xc0d5cf1c   ( 209 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000005] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000027] Switching to timer-based delay loop, resolution 5ns
[    0.000088] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000105] pid_max: default: 32768 minimum: 301
[    0.000208] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000223] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000602] CPU: Testing write buffer coherency: ok
[    0.001174] Setting up static identity map for 0x100000 - 0x10003c
[    0.001375] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.004794] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.004813] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.004881] pinctrl core: initialized pinctrl subsystem
[    0.005693] NET: Registered protocol family 16
[    0.005982] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.006701] cpuidle: using governor ladder
[    0.006999] Feroceon L2: Enabling L2
[    0.007031] Feroceon L2: Cache support initialised.
[    0.007223] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.010111] No ATAGs?
[    0.022710] SCSI subsystem initialized
[    0.023062] libata version 3.00 loaded.
[    0.023237] usbcore: registered new interface driver usbfs
[    0.023280] usbcore: registered new interface driver hub
[    0.023322] usbcore: registered new device driver usb
[    0.024784] clocksource: Switched to clocksource orion_clocksource
[    0.025387] NET: Registered protocol family 2
[    0.025837] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.025890] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.025939] TCP: Hash tables configured (established 4096 bind 4096)
[    0.025998] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.026017] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.026121] NET: Registered protocol family 1
[    0.026142] PCI: CLS 0 bytes, default 32
[    0.099960] Crashlog allocated RAM at address 0x3f00000
[    0.100538] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.103766] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.103775] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.157333] io scheduler noop registered
[    0.157344] io scheduler deadline registered (default)
[    0.158213] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.159308] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    0.159322] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.159330] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    0.159338] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.159363] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    0.159506] PCI: bus0: Fast back to back transfers disabled
[    0.159517] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.159610] pci 0000:01:00.0: [1033:0194] type 00 class 0x0c0330
[    0.159656] pci 0000:01:00.0: reg 0x10: [mem 0x90000000-0x90001fff 64bit]
[    0.159786] pci 0000:01:00.0: PME# supported from D0 D3hot
[    0.159890] PCI: bus1: Fast back to back transfers disabled
[    0.159901] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.159927] pci 0000:00:01.0: BAR 8: assigned [mem 0xe0000000-0xe00fffff]
[    0.159939] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bit]
[    0.159957] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.159968] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    0.160002] pci 0000:00:01.0: enabling device (0140 -> 0142)
[    0.160370] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.161727] console [ttyS0] disabled
[    0.161782] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    0.756435] console [ttyS0] enabled
[    0.760547] sata_mv f1080000.sata: version 1.28
[    0.765316] sata_mv f1080000.sata: slots 32 ports 2
[    0.772791] scsi host0: sata_mv
[    0.776357] scsi host1: sata_mv
[    0.779620] ata1: SATA max UDMA/133 irq 32
[    0.783736] ata2: SATA max UDMA/133 irq 32
[    0.788220] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    0.794599] nand: Samsung NAND 128MiB 3,3V 8-bit
[    0.799252] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.806869] Scanning device for bad blocks
[    0.813171] Bad eraseblock 21 at 0x0000002a0000
[    0.818698] Bad eraseblock 31 at 0x0000003e0000
[    0.825132] Bad eraseblock 50 at 0x000000640000
[    0.830751] Bad eraseblock 61 at 0x0000007a0000
[    0.837701] Bad eraseblock 85 at 0x000000aa0000
[    0.842603] Bad eraseblock 89 at 0x000000b20000
[    0.874837] Bad eraseblock 361 at 0x000002d20000
[    0.900913] Bad eraseblock 572 at 0x000004780000
[    0.929337] Bad eraseblock 806 at 0x0000064c0000
[    0.956122] 3 fixed-partitions partitions found on MTD device orion_nand
[    0.962852] Creating 3 MTD partitions on "orion_nand":
[    0.968023] 0x000000000000-0x0000000c0000 : "uboot"
[    0.973328] 0x0000000c0000-0x000000140000 : "uboot_env"
[    0.978949] 0x000000140000-0x000008000000 : "ubi"
[    0.984730] libphy: Fixed MDIO Bus: probed
[    0.989056] libphy: orion_mdio_bus: probed
[    0.999915] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    1.008158] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address fc:f5:28:0d:b2:15
[    1.016966] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.023517] ehci-pci: EHCI PCI platform driver
[    1.028024] ehci-orion: EHCI orion driver
[    1.032186] orion-ehci f1050000.ehci: EHCI Host Controller
[    1.037732] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    1.045625] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    1.074795] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    1.081228] hub 1-0:1.0: USB hub found
[    1.085165] hub 1-0:1.0: 1 port detected
[    1.089421] usbcore: registered new interface driver usb-storage
[    1.095612] i2c /dev entries driver
[    1.099968] orion_wdt: Initial timeout 21 sec
[    1.152011] marvell-cesa f1030000.crypto: CESA device successfully registered
[    1.159860] NET: Registered protocol family 10
[    1.165694] Segment Routing with IPv6
[    1.169423] NET: Registered protocol family 17
[    1.173908] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.186938] 8021q: 802.1Q VLAN Support v1.8
[    1.193648] UBI error: no valid UBI magic found inside mtd2
[    1.199410] hctosys: unable to open rtc device (rtc0)
[    1.316072] ata1: SATA link down (SStatus 0 SControl F300)
[    1.464793] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    1.646043] ata2: SATA link down (SStatus 0 SControl F300)
[    1.668687] Freeing unused kernel memory: 6144K
[    1.675744] hub 1-1:1.0: USB hub found
[    1.684394] init: Console is alive
[    1.687902] hub 1-1:1.0: 4 ports detected
[    1.692268] init: - watchdog -
[    1.700640] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    1.707779] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    1.717754] init: - preinit -
[    1.754809] random: fast init done
[    1.809787] random: jshn: uninitialized urandom read (4 bytes read)
[    1.838074] random: jshn: uninitialized urandom read (4 bytes read)
[    2.076006] random: jshn: uninitialized urandom read (4 bytes read)
[    2.149865] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
[    2.159683] mv643xx_eth_port mv643xx_eth_port.0 eth0: link down
[    2.166467] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    2.172429] usb 1-1.3: new high-speed USB device number 3 using orion-ehci
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
[    2.462790] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[    2.469515] scsi host2: usb-storage 1-1.3:1.0
[    3.755555] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
[    3.765381] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    4.330466] scsi 2:0:0:0: Direct-Access     Generic  USB  SD Reader   0.00 PQ: 0 ANSI: 2
[    4.340039] sd 2:0:0:0: [sda] 3981312 512-byte logical blocks: (2.04 GB/1.90 GiB)
[    4.348027] sd 2:0:0:0: [sda] Write Protect is off
[    4.352844] sd 2:0:0:0: [sda] Mode Sense: 03 00 00 00
[    4.358405] sd 2:0:0:0: [sda] No Caching mode page found
[    4.363742] sd 2:0:0:0: [sda] Assuming drive cache: write through
[    4.373555]  sda: sda1
[    4.378030] sd 2:0:0:0: [sda] Attached SCSI removable disk

It looks like that openwrt was loaded:

[    2.149865] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
[    2.159683] mv643xx_eth_port mv643xx_eth_port.0 eth0: link down
[    2.166467] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

Have you tried connect Ethernet cable ? - default ip is 192.168.1.1

Ethernet cable inside

         __  __                      _ _                                                                       
        |  \/  | __ _ _ ____   _____| | |                                                                      
        | |\/| |/ _` | '__\ \ / / _ \ | |                                                                      
        | |  | | (_| | |   \ V /  __/ | |                                                                      
        |_|  |_|\__,_|_|    \_/ \___|_|_|                                                                      
 _   _     ____              _                                                                                 
| | | |   | __ )  ___   ___ | |_                                                                               
| | | |___|  _ \ / _ \ / _ \| __|                                                                              
| |_| |___| |_) | (_) | (_) | |_                                                                               
 \___/    |____/ \___/ \___/ \__|                                                                              
 ** MARVELL BOARD: DB-88F6282A-BP LE                                                                           

U-Boot 1.1.4 (Sep 16 2011 - 17:51:53) Marvell version: 3.5.9                                                   

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CFF00                                                            

Soc: 88F6282 A1CPU running @ 1600Mhz L2 running @ 533Mhz                                                       
SysClock = 533Mhz , TClock = 200Mhz                                                                            

DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7                                                           
DRAM CS[0] base 0x00000000   size 512MB                                                                        
DRAM Total size 512MB  16bit width                                                                             
Addresses 10M - 0M are saved for the U-Boot usage.                                                             
Mem malloc Initialization (10M - 7M): Done                                                                     
NAND:128 MB                                                                                                    
Flash:  0 kB                                                                                                   

CPU : Marvell Feroceon (Rev 1)                                                                                 
Kernel address is 0x4640000.                                                                                   

Streaming disabled                                                                                             
Write allocate disabled                                                                                        

USB 0: host mode                                                                                               

PEX 0: PCI Express Root Complex Interface                                                                      
PEX interface detected Link X1                                                                                 


PEX 1: interface detected no Link.                                                                             
Net:   egiga0 [PRIME]                                                                                          
Hit any key to stop autoboot:  0                                                                               
(Re)start USB...                                                                                               
USB:   scanning bus for devices... 3 USB Device(s) found                                                       
Waiting for storage device(s) to settle before scanning...                                                     
1 Storage Device(s) found                                                                                      
....                                                                                                           
.                                                                                                              
......                                                                                                         
............                                                                                                   
.........................                                                                                      
...................................................                                                            
......................................................................................................         
...............................................................................................................

3463840 bytes read                                                                                             
....                                                                                                           
.                                                                                                              
...................                                                                                            
.........................                                                                                      
...................................................                                                            
......................................................................................................         
...............................................................................................................
....                                                                                                           
..                                                                                                             

4265728 bytes read                                                                                             
## Booting image at 02000000 ...                                                                               
   Image Name:   ARM OpenWrt Linux-4.14.54                                                                     
   Created:      2018-07-30  16:25:17 UTC                                                                      
   Image Type:   ARM Linux Kernel Image (uncompressed)                                                         
   Data Size:    3463776 Bytes =  3.3 MB                                                                       
   Load Address: 00008000                                                                                      
   Entry Point:  00008000                                                                                      
   Verifying Checksum ... OK                                                                                   
OK                                                                                                             
## Loading Ramdisk Image at 00800000 ...                                                                       
   Image Name:   ramdisk                                                                                       
   Created:      2021-05-18   8:38:10 UTC                                                                      
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)                                                     
   Data Size:    4265664 Bytes =  4.1 MB                                                                       
   Load Address: 00011000                                                                                      
   Entry Point:  00011000                                                                                      
   Verifying Checksum ... OK                                                                                   

Starting kernel ...                                                                                            

[    0.000000] Booting Linux on physical CPU 0x0                                                               
[    0.000000] Linux version 4.14.54 (buildbot@builds-03.infra.lede-project.org) (gcc version 7.3.0 (OpenWrt G8
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f                              
[    0.000000] CPU: VIVT data cache, VIVT instruction cache                                                    
[    0.000000] OF: fdt: Machine model: ZyXEL NSA325                                                            
[    0.000000] Memory policy: Data cache writeback                                                             
[    0.000000] INITRD: 0x00800000+0x00412000 overlaps in-use memory region - disabling initrd                  
[    0.000000] On node 0 totalpages: 131072                                                                    
[    0.000000] free_area_init_node: node 0, pgdat c0d290c4, node_mem_map dfbfa000                              
[    0.000000]   Normal zone: 1024 pages used for memmap                                                       
[    0.000000]   Normal zone: 0 pages reserved                                                                 
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31                                                      
[    0.000000] random: get_random_bytes called from 0xc0700994 with crng_init=0                                
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768                                                   
[    0.000000] pcpu-alloc: [0] 0                                                                               
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130048                                   
[    0.000000] Kernel command line: console=ttyS0,115200 mtdparts=nand_mtd:0x100000(uboot),0x80000(uboot_env),8
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)                                             
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)                                 
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)                                  
[    0.000000] Memory: 506976K/524288K available (4656K kernel code, 165K rwdata, 716K rodata, 6144K init, 216)
[    0.000000] Virtual kernel memory layout:                                                                   
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)                                               
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)                                               
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)                                               
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)                                               
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)                                               
[    0.000000]       .text : 0xc0008000 - 0xc058c1d8   (5649 kB)                                               
[    0.000000]       .init : 0xc0700000 - 0xc0d00000   (6144 kB)                                               
[    0.000000]       .data : 0xc0d00000 - 0xc0d296e0   ( 166 kB)                                               
[    0.000000]        .bss : 0xc0d296e0 - 0xc0d5f74c   ( 217 kB)                                               
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1                                      
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16                                                 
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 955630223s
[    0.000006] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns                       
[    0.000029] Switching to timer-based delay loop, resolution 5ns                                             
[    0.000089] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj)
[    0.000106] pid_max: default: 32768 minimum: 301                                                            
[    0.000212] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)                                     
[    0.000228] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)                                
[    0.000598] CPU: Testing write buffer coherency: ok                                                         
[    0.001146] Setting up static identity map for 0x100000 - 0x10003c                                          
[    0.001356] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1                                                      
[    0.004466] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.004486] futex hash table entries: 256 (order: -1, 3072 bytes)                                           
[    0.004552] pinctrl core: initialized pinctrl subsystem                                                     
[    0.005355] NET: Registered protocol family 16                                                              
[    0.005631] DMA: preallocated 256 KiB pool for atomic coherent allocations                                  
[    0.006334] cpuidle: using governor ladder                                                                  
[    0.006634] Feroceon L2: Enabling L2                                                                        
[    0.006666] Feroceon L2: Cache support initialised.                                                         
[    0.006860] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address ist
[    0.009704] No ATAGs?                                                                                       
[    0.021576] SCSI subsystem initialized                                                                      
[    0.021905] libata version 3.00 loaded.                                                                     
[    0.022078] usbcore: registered new interface driver usbfs                                                  
[    0.022120] usbcore: registered new interface driver hub                                                    
[    0.022161] usbcore: registered new device driver usb                                                       
[    0.023524] clocksource: Switched to clocksource orion_clocksource                                          
[    0.024115] NET: Registered protocol family 2                                                               
[    0.024565] TCP established hash table entries: 4096 (order: 2, 16384 bytes)                                
[    0.024618] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)                                       
[    0.024668] TCP: Hash tables configured (established 4096 bind 4096)                                        
[    0.024727] UDP hash table entries: 256 (order: 0, 4096 bytes)                                              
[    0.024745] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)                                         
[    0.024861] NET: Registered protocol family 1                                                               
[    0.024883] PCI: CLS 0 bytes, default 32                                                                    
[    0.096189] Crashlog allocated RAM at address 0x3f00000                                                     
[    0.096704] workingset: timestamp_bits=30 max_order=17 bucket_order=0                                       
[    0.099909] squashfs: version 4.0 (2009/01/31) Phillip Lougher                                              
[    0.099919] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. 
[    0.153928] io scheduler noop registered                                                                    
[    0.153940] io scheduler deadline registered (default)                                                      
[    0.154817] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver                             
[    0.155908] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00                          
[    0.155922] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]                                         
[    0.155931] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]                                  
[    0.155940] pci_bus 0000:00: root bus resource [bus 00-ff]                                                  
[    0.155965] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400                                            
[    0.156108] PCI: bus0: Fast back to back transfers disabled                                                 
[    0.156119] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring                     
[    0.156214] pci 0000:01:00.0: [1033:0194] type 00 class 0x0c0330                                            
[    0.156261] pci 0000:01:00.0: reg 0x10: [mem 0x90000000-0x90001fff 64bit]                                   
[    0.156390] pci 0000:01:00.0: PME# supported from D0 D3hot                                                  
[    0.156496] PCI: bus1: Fast back to back transfers disabled                                                 
[    0.156508] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01                                     
[    0.156533] pci 0000:00:01.0: BAR 8: assigned [mem 0xe0000000-0xe00fffff]                                   
[    0.156545] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bit]                             
[    0.156563] pci 0000:00:01.0: PCI bridge to [bus 01]                                                        
[    0.156574] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]                                   
[    0.156608] pci 0000:00:01.0: enabling device (0140 -> 0142)                                                
[    0.173481] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled                                        
[    0.175133] console [ttyS0] disabled                                                                        
[    0.175196] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A          
[    0.801853] console [ttyS0] enabled                                                                         
[    0.806029] sata_mv f1080000.sata: version 1.28                                                             
[    0.810795] sata_mv f1080000.sata: slots 32 ports 2                                                         
[    0.818209] scsi host0: sata_mv                                                                             
[    0.821719] scsi host1: sata_mv                                                                             
[    0.825008] ata1: SATA max UDMA/133 irq 32                                                                  
[    0.829123] ata2: SATA max UDMA/133 irq 32                                                                  
[    0.833614] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1                                        
[    0.839995] nand: Samsung NAND 128MiB 3,3V 8-bit                                                            
[    0.844640] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64                          
[    0.852247] Scanning device for bad blocks                                                                  
[    0.858561] Bad eraseblock 21 at 0x0000002a0000                                                             
[    0.864073] Bad eraseblock 31 at 0x0000003e0000                                                             
[    0.870508] Bad eraseblock 50 at 0x000000640000                                                             
[    0.876131] Bad eraseblock 61 at 0x0000007a0000                                                             
[    0.883067] Bad eraseblock 85 at 0x000000aa0000                                                             
[    0.887983] Bad eraseblock 89 at 0x000000b20000                                                             
[    0.920202] Bad eraseblock 361 at 0x000002d20000                                                            
[    0.946291] Bad eraseblock 572 at 0x000004780000                                                            
[    0.974718] Bad eraseblock 806 at 0x0000064c0000                                                            
[    1.001499] 3 fixed-partitions partitions found on MTD device orion_nand                                    
[    1.008235] Creating 3 MTD partitions on "orion_nand":                                                      
[    1.013397] 0x000000000000-0x0000000c0000 : "uboot"                                                         
[    1.018720] 0x0000000c0000-0x000000140000 : "uboot_env"                                                     
[    1.024347] 0x000000140000-0x000008000000 : "ubi"                                                           
[    1.030119] libphy: Fixed MDIO Bus: probed                                                                  
[    1.034435] libphy: orion_mdio_bus: probed                                                                  
[    1.045231] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4                                   
[    1.053374] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address fc:f5:28:0d:b2:15             
[    1.062188] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver                                      
[    1.068753] ehci-pci: EHCI PCI platform driver                                                              
[    1.073255] ehci-orion: EHCI orion driver                                                                   
[    1.077428] orion-ehci f1050000.ehci: EHCI Host Controller                                                  
[    1.082958] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1                         
[    1.090829] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000                                             
[    1.123534] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00                                            
[    1.129964] hub 1-0:1.0: USB hub found                                                                      
[    1.133895] hub 1-0:1.0: 1 port detected                                                                    
[    1.138157] usbcore: registered new interface driver usb-storage                                            
[    1.144350] i2c /dev entries driver                                                                         
[    1.148702] orion_wdt: Initial timeout 21 sec                                                               
[    1.201441] marvell-cesa f1030000.crypto: CESA device successfully registered                               
[    1.209284] NET: Registered protocol family 10                                                              
[    1.215063] Segment Routing with IPv6                                                                       
[    1.218785] NET: Registered protocol family 17                                                              
[    1.223272] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts t.
[    1.236303] 8021q: 802.1Q VLAN Support v1.8                                                                 
[    1.242971] UBI error: no valid UBI magic found inside mtd2                                                 
[    1.248743] hctosys: unable to open rtc device (rtc0)                                                       
[    1.365449] ata1: SATA link down (SStatus 0 SControl F300)                                                  
[    1.513533] usb 1-1: new high-speed USB device number 2 using orion-ehci                                    
[    1.694773] ata2: SATA link down (SStatus 0 SControl F300)                                                  
[    1.717423] Freeing unused kernel memory: 6144K                                                             
[    1.724445] hub 1-1:1.0: USB hub found                                                                      
[    1.733591] hub 1-1:1.0: 4 ports detected                                                                   
[    1.755487] init: Console is alive                                                                          
[    1.759058] init: - watchdog -                                                                              
[    1.763549] random: fast init done                                                                          
[    1.770483] kmodloader: loading kernel modules from /etc/modules-boot.d/*                                   
[    1.777603] kmodloader: done loading kernel modules from /etc/modules-boot.d/*                              
[    1.787569] init: - preinit -                                                                               
[    1.873170] random: jshn: uninitialized urandom read (4 bytes read)                                         
[    1.900034] random: jshn: uninitialized urandom read (4 bytes read)                                         
[    2.137403] random: jshn: uninitialized urandom read (4 bytes read)                                         
[    2.208443] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled 
[    2.218267] mv643xx_eth_port mv643xx_eth_port.0 eth0: link down                                             
[    2.225051] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready                                              
[    2.231004] usb 1-1.3: new high-speed USB device number 3 using orion-ehci                                  
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                                   
[    2.521339] usb-storage 1-1.3:1.0: USB Mass Storage device detected                                         
[    2.528051] scsi host2: usb-storage 1-1.3:1.0                                                               
[    3.832064] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled 
[    3.841894] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready                                         
[    4.881667] scsi 2:0:0:0: Direct-Access     Generic  USB  SD Reader   0.00 PQ: 0 ANSI: 2                    
[    4.891240] sd 2:0:0:0: [sda] 1950720 512-byte logical blocks: (999 MB/953 MiB)                             
[    4.898979] sd 2:0:0:0: [sda] Write Protect is off                                                          
[    4.903810] sd 2:0:0:0: [sda] Mode Sense: 03 00 00 00                                                       
[    4.909232] sd 2:0:0:0: [sda] No Caching mode page found                                                    
[    4.914583] sd 2:0:0:0: [sda] Assuming drive cache: write through                                           
[    4.924634]  sda: sda1                                                                                      
[    4.929108] sd 2:0:0:0: [sda] Attached SCSI removable disk                                                  
[    5.325079] procd: - early -                                                                                
[    5.328023] procd: - watchdog -                                                                             
[    6.071839] procd: - watchdog -                                                                             
[    6.075165] procd: - ubus -                                                                                 
[    6.081391] urandom_read: 3 callbacks suppressed                                                            
[    6.081396] random: ubusd: uninitialized urandom read (4 bytes read)                                        
[    6.128048] random: ubusd: uninitialized urandom read (4 bytes read)                                        
[    6.134658] random: ubusd: uninitialized urandom read (4 bytes read)                                        
[    6.141720] procd: - init -                                                                                 
Please press Enter to activate this console.                                                                   
[    6.218371] kmodloader: loading kernel modules from /etc/modules.d/*                                        
[    6.226584] ip6_tables: (C) 2000-2006 Netfilter Core Team                                                   
[    6.236997] ip_tables: (C) 2000-2006 Netfilter Core Team                                                    
[    6.245954] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)                                            
[    6.269458] xt_time: kernel timezone is -0000                                                               
[    6.280181] PPP generic driver version 2.4.2                                                                
[    6.285753] NET: Registered protocol family 24                                                              
[    6.291934] kmodloader: done loading kernel modules from /etc/modules.d/*                                   
�                                                                                                              
         __  __                      _ _                                                                       
        |  \/  | __ _ _ ____   _____| | |                                                                      
        | |\/| |/ _` | '__\ \ / / _ \ | |                                                                      
        | |  | | (_| | |   \ V /  __/ | |                                                                      
        |_|  |_|\__,_|_|    \_/ \___|_|_|                                                                      
 _   _     ____              _                                                                                 
| | | |   | __ )  ___   ___ | |_                                                                               
| | | |___|  _ \ / _ \ / _ \| __|                                                                              
| |_| |___| |_) | (_) | (_) | |_                                                                               
 \___/    |____/ \___/ \___/ \__| 
 ** MARVELL BOARD: DB-88F6282A-BP LE 

other Box with working uart port
same usb pendrive

U-Boot 2018.03 (Jun 27 2018 - 06:41:13 +0000)                                                                  
ZyXEL NSA325 2-Bay Power Media Server                                                                          

SoC:   Kirkwood 88F6282_A1                                                                                     
DRAM:  512 MiB                                                                                                 
WARNING: Caches not enabled                                                                                    
NAND:  128 MiB                                                                                                 
MMC:                                                                                                           
Loading Environment from NAND... OK                                                                            
In:    serial                                                                                                  
Out:   serial                                                                                                  
Err:   serial                                                                                                  
Net:   egiga0                                                                                                  
MV88E1318 PHY initialized on egiga0                                                                            
Hit any key to stop autoboot:  0                                                                               
NSA325> usb reset                                                                                              
resetting USB...                                                                                               
USB0:   USB EHCI 1.00                                                                                          
scanning bus 0 for devices... 3 USB Device(s) found                                                            
       scanning usb for storage devices... 1 Storage Device(s) found                                           
NSA325> ext2load usb 0:1 0x800000 uImage                                                                       
3463840 bytes read in 438 ms (7.5 MiB/s)                                                                       
NSA325> ext2load usb 0:1 0x1100000 uInitrd                                                                     
4265728 bytes read in 516 ms (7.9 MiB/s)                                                                       
NSA325> bootm 0x800000 0x1100000                                                                               
## Booting kernel from Legacy Image at 00800000 ...                                                            
   Image Name:   ARM OpenWrt Linux-4.14.54                                                                     
   Created:      2018-07-30  16:25:17 UTC                                                                      
   Image Type:   ARM Linux Kernel Image (uncompressed)                                                         
   Data Size:    3463776 Bytes = 3.3 MiB                                                                       
   Load Address: 00008000                                                                                      
   Entry Point:  00008000                                                                                      
   Verifying Checksum ... OK                                                                                   
## Loading init Ramdisk from Legacy Image at 01100000 ...                                                      
   Image Name:   ramdisk                                                                                       
   Created:      2021-05-18   8:38:10 UTC                                                                      
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)                                                     
   Data Size:    4265664 Bytes = 4.1 MiB                                                                       
   Load Address: 00011000                                                                                      
   Entry Point:  00011000                                                                                      
   Verifying Checksum ... OK                                                                                   
   Loading Kernel Image ... OK                                                                                 
   Loading Ramdisk to 1f70d000, end 1fb1e6c0 ... OK                                                            

Starting kernel ...                                                                                            

[    0.000000] Booting Linux on physical CPU 0x0                                                               
[    0.000000] Linux version 4.14.54 (buildbot@builds-03.infra.lede-project.org) (gcc version 7.3.0 (OpenWrt G8
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f                              
[    0.000000] CPU: VIVT data cache, VIVT instruction cache                                                    
[    0.000000] OF: fdt: Machine model: ZyXEL NSA325                                                            
[    0.000000] Memory policy: Data cache writeback                                                             
[    0.000000] random: get_random_bytes called from 0xc0700994 with crng_init=0                                
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130048                                   
[    0.000000] Kernel command line: console=ttyS0,115200                                                       
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)                                             
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)                                 
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)                                  
[    0.000000] Memory: 502808K/524288K available (4656K kernel code, 165K rwdata, 716K rodata, 6144K init, 216)
[    0.000000] Virtual kernel memory layout:                                                                   
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)                                               
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)                                               
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)                                               
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)                                               
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)                                               
[    0.000000]       .text : 0xc0008000 - 0xc058c1d8   (5649 kB)                                               
[    0.000000]       .init : 0xc0700000 - 0xc0d00000   (6144 kB)                                               
[    0.000000]       .data : 0xc0d00000 - 0xc0d296e0   ( 166 kB)                                               
[    0.000000]        .bss : 0xc0d296e0 - 0xc0d5f74c   ( 217 kB)                                               
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1                                      
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16                                                 
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 955630223s
[    0.000007] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns                       
[    0.000031] Switching to timer-based delay loop, resolution 5ns                                             
[    0.000099] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj)
[    0.000118] pid_max: default: 32768 minimum: 301                                                            
[    0.000234] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)                                     
[    0.000251] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)                                
[    0.000690] CPU: Testing write buffer coherency: ok                                                         
[    0.001297] Setting up static identity map for 0x100000 - 0x10003c                                          
[    0.001523] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1                                                      
[    0.004640] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.004662] futex hash table entries: 256 (order: -1, 3072 bytes)                                           
[    0.004739] pinctrl core: initialized pinctrl subsystem                                                     
[    0.005610] NET: Registered protocol family 16                                                              
[    0.005864] DMA: preallocated 256 KiB pool for atomic coherent allocations                                  
[    0.006614] cpuidle: using governor ladder                                                                  
[    0.006908] Feroceon L2: Enabling L2                                                                        
[    0.006942] Feroceon L2: Cache support initialised.                                                         
[    0.007161] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address ist
[    0.010087] No ATAGs?                                                                                       
[    0.022096] SCSI subsystem initialized                                                                      
[    0.022604] usbcore: registered new interface driver usbfs                                                  
[    0.022647] usbcore: registered new interface driver hub                                                    
[    0.022688] usbcore: registered new device driver usb                                                       
[    0.024048] clocksource: Switched to clocksource orion_clocksource                                          
[    0.024642] NET: Registered protocol family 2                                                               
[    0.025103] TCP established hash table entries: 4096 (order: 2, 16384 bytes)                                
[    0.025156] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)                                       
[    0.025207] TCP: Hash tables configured (established 4096 bind 4096)                                        
[    0.025274] UDP hash table entries: 256 (order: 0, 4096 bytes)                                              
[    0.025293] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)                                         
[    0.025410] NET: Registered protocol family 1                                                               
[    0.098908] Unpacking initramfs...                                                                          
[    0.098930] Initramfs unpacking failed: junk in compressed archive                                          
[    0.110709] Freeing initrd memory: 4168K                                                                    
[    0.111251] Crashlog allocated RAM at address 0x3f00000                                                     
[    0.111959] workingset: timestamp_bits=30 max_order=17 bucket_order=0                                       
[    0.115283] squashfs: version 4.0 (2009/01/31) Phillip Lougher                                              
[    0.115293] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. 
[    0.170390] io scheduler noop registered                                                                    
[    0.170403] io scheduler deadline registered (default)                                                      
[    0.171321] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver                             
[    0.172438] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00                          
[    0.172454] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]                                         
[    0.172462] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]                                  
[    0.172472] pci_bus 0000:00: root bus resource [bus 00-ff]                                                  
[    0.172645] PCI: bus0: Fast back to back transfers disabled                                                 
[    0.172657] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring                     
[    0.173013] PCI: bus1: Fast back to back transfers disabled                                                 
[    0.173051] pci 0000:00:01.0: BAR 8: assigned [mem 0xe0000000-0xe00fffff]                                   
[    0.173064] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe0001fff 64bit]                             
[    0.173082] pci 0000:00:01.0: PCI bridge to [bus 01]                                                        
[    0.173093] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]                                   
[    0.173132] pci 0000:00:01.0: enabling device (0140 -> 0142)                                                
[    0.173151] pci 0000:01:00.0: enabling device (0140 -> 0142)                                                
[    0.190193] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled                                        
[    0.191813] console [ttyS0] disabled                                                                        
[    0.191880] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A          
[    0.740198] console [ttyS0] enabled                                                                         
[    0.744636] sata_mv f1080000.sata: slots 32 ports 2                                                         
[    0.752078] scsi host0: sata_mv                                                                             
[    0.755642] scsi host1: sata_mv                                                                             
[    0.758904] ata1: SATA max UDMA/133 irq 32                                                                  
[    0.763019] ata2: SATA max UDMA/133 irq 32                                                                  
[    0.767536] nand: device found, Manufacturer ID: 0x92, Chip ID: 0xf1                                        
[    0.773919] nand: Eon NAND 128MiB 3,3V 8-bit                                                                
[    0.778225] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64                          
[    0.785840] Scanning device for bad blocks                                                                  
[    0.838575] 3 fixed-partitions partitions found on MTD device orion_nand                                    
[    0.845312] Creating 3 MTD partitions on "orion_nand":                                                      
[    0.850476] 0x000000000000-0x0000000c0000 : "uboot"                                                         
[    0.855811] 0x0000000c0000-0x000000140000 : "uboot_env"                                                     
[    0.861423] 0x000000140000-0x000008000000 : "ubi"                                                           
[    0.867243] libphy: Fixed MDIO Bus: probed                                                                  
[    0.871543] libphy: orion_mdio_bus: probed                                                                  
[    0.882520] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4                                   
[    0.890768] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 10:7b:ef:bc:51:8a             
[    0.899582] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver                                      
[    0.906145] ehci-pci: EHCI PCI platform driver                                                              
[    0.910648] ehci-orion: EHCI orion driver                                                                   
[    0.914827] orion-ehci f1050000.ehci: EHCI Host Controller                                                  
[    0.920360] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1                         
[    0.928160] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000                                             
[    0.964057] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00                                            
[    0.970503] hub 1-0:1.0: USB hub found                                                                      
[    0.974439] hub 1-0:1.0: 1 port detected                                                                    
[    0.978714] usbcore: registered new interface driver usb-storage                                            
[    0.984911] i2c /dev entries driver                                                                         
[    0.989294] orion_wdt: Initial timeout 21 sec                                                               
[    1.043296] marvell-cesa f1030000.crypto: CESA device successfully registered                               
[    1.051167] NET: Registered protocol family 10                                                              
[    1.056999] Segment Routing with IPv6                                                                       
[    1.060723] NET: Registered protocol family 17                                                              
[    1.065237] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts t.
[    1.078261] 8021q: 802.1Q VLAN Support v1.8                                                                 
[    1.085089] UBI: auto-attach mtd2                                                                           
[    1.088429] ubi0: attaching mtd2                                                                            
[    1.206413] ata1: SATA link down (SStatus 0 SControl F300)                                                  
[    1.269913] ubi0: scanning is finished                                                                      
[    1.284723] ubi0: attached mtd2 (name "ubi", size 126 MiB)                                                  
[    1.290231] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes                                  
[    1.297153] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512                                    
[    1.303877] ubi0: VID header offset: 512 (aligned 512), data offset: 2048                                   
[    1.310698] ubi0: good PEBs: 1014, bad PEBs: 0, corrupted PEBs: 0                                           
[    1.316827] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128                              
[    1.324091] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 7794146           
[    1.333001] ubi0: available PEBs: 0, total reserved PEBs: 1014, PEBs reserved for bad PEB handling: 20      
[    1.342868] block ubiblock0_1: created from ubi0:1(rootfs)                                                  
[    1.348399] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem                                 
[    1.355534] hctosys: unable to open rtc device (rtc0)                                                       
[    1.360918] ubi0: background thread "ubi_bgt0d" started, PID 974                                            
[    1.367068] usb 1-1: new high-speed USB device number 2 using orion-ehci                                    
[    1.535302] ata2: SATA link down (SStatus 0 SControl F300)                                                  
[    1.558198] Freeing unused kernel memory: 6144K                                                             
[    1.586418] hub 1-1:1.0: USB hub found                                                                      
[    1.591620] init: Console is alive                                                                          
[    1.595096] hub 1-1:1.0: 4 ports detected                                                                   
[    1.599431] init: - watchdog -                                                                              
[    1.608205] kmodloader: loading kernel modules from /etc/modules-boot.d/*                                   
[    1.615487] kmodloader: done loading kernel modules from /etc/modules-boot.d/*                              
[    1.625326] init: - preinit -                                                                               
[    1.712018] random: jshn: uninitialized urandom read (4 bytes read)                                         
[    1.718351] random: fast init done                                                                          
[    1.743200] random: jshn: uninitialized urandom read (4 bytes read)                                         
[    1.951905] random: jshn: uninitialized urandom read (4 bytes read)                                         
[    2.024155] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled 
[    2.033953] mv643xx_eth_port mv643xx_eth_port.0 eth0: link down                                             
[    2.040761] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready                                              
[    2.046679] usb 1-1.3: new high-speed USB device number 3 using orion-ehci                                  
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                                   
[    2.337110] usb-storage 1-1.3:1.0: USB Mass Storage device detected                                         
[    2.343824] scsi host2: usb-storage 1-1.3:1.0                                                               
[    3.676580] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled 
[    3.686411] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready                                         
[    4.643129] scsi 2:0:0:0: Direct-Access     Generic  USB  SD Reader   0.00 PQ: 0 ANSI: 2                    
[    4.652821] sd 2:0:0:0: [sda] 1950720 512-byte logical blocks: (999 MB/953 MiB)                             
[    4.660560] sd 2:0:0:0: [sda] Write Protect is off                                                          
[    4.665811] sd 2:0:0:0: [sda] No Caching mode page found                                                    
[    4.671161] sd 2:0:0:0: [sda] Assuming drive cache: write through                                           
[    4.681340]  sda: sda1                                                                                      
[    4.685814] sd 2:0:0:0: [sda] Attached SCSI removable disk                                                  
[    5.144556] procd: - early -                                                                                
[    5.147498] procd: - watchdog -                                                                             
[    5.894079] procd: - watchdog -                                                                             
[    5.897402] procd: - ubus -                                                                                 
[    5.903779] urandom_read: 3 callbacks suppressed                                                            
[    5.903784] random: ubusd: uninitialized urandom read (4 bytes read)                                        
[    5.950366] random: ubusd: uninitialized urandom read (4 bytes read)                                        
[    5.956984] random: ubusd: uninitialized urandom read (4 bytes read)                                        
[    5.964031] procd: - init -                                                                                 
Please press Enter to activate this console.                                                                   
[    6.042645] kmodloader: loading kernel modules from /etc/modules.d/*                                        
[    6.050935] ip6_tables: (C) 2000-2006 Netfilter Core Team                                                   
[    6.061505] ip_tables: (C) 2000-2006 Netfilter Core Team                                                    
[    6.070494] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)                                            
[    6.096799] xt_time: kernel timezone is -0000                                                               
[    6.105586] PPP generic driver version 2.4.2                                                                
[    6.111135] NET: Registered protocol family 24                                                              
[    6.117367] kmodloader: done loading kernel modules from /etc/modules.d/*                                   
[    9.582203] br-lan: port 1(eth0) entered blocking state                                                     
[    9.587495] br-lan: port 1(eth0) entered disabled state                                                     
[    9.592927] device eth0 entered promiscuous mode                                                            
[    9.678124] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready                                            
[   11.325087] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled 
[   11.334936] br-lan: port 1(eth0) entered blocking state                                                     
[   11.340188] br-lan: port 1(eth0) entered forwarding state                                                   
[   11.357362] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready                                       



BusyBox v1.28.3 () built-in shell (ash)                                                                        

  _______                     ________        __                                                               
 |       |.-----.-----.-----.|  |  |  |.----.|  |_                                                             
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 18.06.0, r7188-b0b5c64c22
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/# ifconfig
br-lan    Link encap:Ethernet  HWaddr 10:7B:EF:BC:51:8A  
          inet addr:192.168.10.77  Bcast:192.168.10.255  Mask:255.255.255.0
          inet6 addr: fe80::127b:efff:febc:518a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:260 errors:0 dropped:178 overruns:0 frame:0
          TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:22038 (21.5 KiB)  TX bytes:3972 (3.8 KiB)

eth0      Link encap:Ethernet  HWaddr 10:7B:EF:BC:51:8A  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:348 errors:0 dropped:6 overruns:0 frame:0
          TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:32364 (31.6 KiB)  TX bytes:4238 (4.1 KiB)
          Interrupt:33 

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:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1621 (1.5 KiB)  TX bytes:1621 (1.5 KiB)

Hi, i've a problem with u-boot update on my zyxel nsa325 v1 , when i stop autoboot and try to read from usb or when i've start to put u-boot with kwboot then after a few seconds it reboots itself, but on ofw with hdd it work just normal without problem. ofw also boots normally. is there any hope to fix this ? can i write the u-boot from working zyxel os ? Thanks

I suppose so. The firmware upgrade script also writes to flash, and uses this commands to write the kernel uImage:

	/sbin/flash_eraseall /dev/mtd${NEXT_KERNEL_MTD}
	/sbin/nandwrite -a -p /dev/mtd${NEXT_KERNEL_MTD} /mnt/ram1/DATA_1000

I suppose u-boot is /dev/mtd0 (check that), so that would be

	/sbin/flash_eraseall /dev/mtd0
	/sbin/nandwrite -a -p /dev/mtd0 /path/to/uboot-image

You are aware the after the first command the box is no longer bootable.

1 Like

thanks for quick reply, i'll try that asap and give reply .

Thanks. all went like a charm , now i have a nas with recent os :smiley: