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