oj ale mi wstyd .. szukam, analizuje, głęboko w kodzie a popełniam błędy noworodka mylę 2 z 5 Przepraszam za tak głupie niedopatrzenia. Patrzę jak szpak w kość a widzę co innego ,nawet jak mi wypisałeś w odpowiedzi zdawało mi sie, ze napisałeś dwa te same adresy ech... szkoda gadać ( to chyba wina mojej dysleksji )
[03050D08][03050D09]
DDR Calibration DQS reg = 00008786
U-Boot 1.1.3 (Jun 28 2023 - 16:53:12)
Board: Ralink APSoC DRAM: 64 MB
relocate_code Pointer at: 83fb4000
gpiomode1 54050404.
gpiomode1 54150404.
gpiomode2 05540554.
gpiomode2 00000000.
gpiomode2 05550555.
######GPIO CTRL 0 for GPIO 0~32 OUTPUT tmp(0x0000000c)#####
##########Led gpio info: power(37),wps(2),lan(3),wan_green(43),wlan(44)#########
flash manufacture id: ef, device id 40 17
spi device id: ef 40 17 83 25 (40178325)
find flash: W25Q64BV
============================================
Ralink UBoot Version: 4.3.0.0
--------------------------------------------
ASIC 7628_MP (Port5<->None)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Jun 28 2023 Time:16:53:12
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768
##### The CPU freq = 580 MHZ ####
estimate memory size =64 Mbytes
RESET MT7628 PHY!!!!!!..................................................
starting recovery...
TODO, Read MAC Address from Flash
netboot_common, argc= 3
NetTxPacket = 0x83FE3FC0
KSEG1ADDR(NetTxPacket) = 0xA3FE3FC0
NetLoop,call eth_halt !
NetLoop,call eth_init !
Trying Eth0 (10/100-M)
Waitting for RX_DMA_BUSY status Start... done
ETH_STATE_ACTIVE!!
TFTP from server 192.168.0.225; our IP address is 192.168.0.2
Filename 'tp_recovery.bin'.
TIMEOUT_COUNT=10,Load address: 0x80060000
Loading: T T T T checksum bad
checksum bad
checksum bad
T Got ARP REPLY, set server/gtwy eth addr (a0:36:9f:53:6c:fa)
Got it
checksum bad
checksum bad
#################################################################
######################checksum bad
#checksum bad
##checksum bad
########################################
#################################################################
############################################checksum bad
#####################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###############################################Got ARP REQUEST, return our IP
##################
#################################################################
#################################################################
#################################################################
############################
done
Bytes transferred = 8126464 (7c0000 hex)
NetBootFileXferSize= 007c0000
Erase flash !!
From 0x20000 length 0x7A0000
..........................................................................................................................
Copy 0x80080000 to 0x00020000, count 0x7A0000....
..........................................................................................................................
[03050C0F][03050D09]
DDR Calibration DQS reg = 0000877E
U-Boot 1.1.3 (Jun 28 2023 - 16:53:12)
Board: Ralink APSoC DRAM: 64 MB
relocate_code Pointer at: 83fb4000
******************************
Software System Reset Occurred
******************************
gpiomode1 54050404.
gpiomode1 54150404.
gpiomode2 05540554.
gpiomode2 00000000.
gpiomode2 05550555.
######GPIO CTRL 0 for GPIO 0~32 OUTPUT tmp(0x0000000c)#####
##########Led gpio info: power(37),wps(2),lan(3),wan_green(43),wlan(44)#########
flash manufacture id: ef, device id 40 17
spi device id: ef 40 17 83 25 (40178325)
find flash: W25Q64BV
============================================
Ralink UBoot Version: 4.3.0.0
--------------------------------------------
ASIC 7628_MP (Port5<->None)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Jun 28 2023 Time:16:53:12
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768
##### The CPU freq = 580 MHZ ####
estimate memory size =64 Mbytes
RESET MT7628 PHY!!!!!!
continue to starting system. 0
disable switch phyport...
3: System Boot system code via Flash.(0xbc020000)
do_bootm:argc=2, addr=0xbc020000
## Booting image at bc020000 ...
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 64
Starting kernel ...
[ 0.000000] Linux version 4.14.152 (builder@buildhost) (gcc version 8.3.0 (OpenWrt GCC 8.3.0 r11534-567d08104e)) #0 Sun Nov 17 17:13:28 2019
[ 0.000000] Board has DDR2
[ 0.000000] Analog PMU set to hw control
[ 0.000000] Digital PMU set to hw control
[ 0.000000] SoC Type: MediaTek MT7628AN ver:1 eco:2
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
[ 0.000000] MIPS: machine is TP-Link TL-MR3020 v3
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] random: get_random_bytes called from start_kernel+0x98/0x4a8 with crng_init=0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16240
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=0007d2c0
[ 0.000000] Readback ErrCtl register=0007d2c0
[ 0.000000] Memory: 58108K/65536K available (4143K kernel code, 197K rwdata, 940K rodata, 1176K init, 212K bss, 7428K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 256
[ 0.000000] intc: using register map from devicetree
[ 0.000000] CPU Clock: 580MHz
[ 0.000000] timer_probe: no matching timers found
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[ 0.000009] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[ 0.007545] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[ 0.073494] pid_max: default: 32768 minimum: 301
[ 0.078199] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.084548] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.097294] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.106803] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.112782] pinctrl core: initialized pinctrl subsystem
[ 0.120521] NET: Registered protocol family 16
[ 0.150979] mt7621_gpio 10000600.gpio: registering 32 gpios
[ 0.156580] mt7621_gpio 10000600.gpio: registering 32 gpios
[ 0.162166] mt7621_gpio 10000600.gpio: registering 32 gpios
[ 0.172841] clocksource: Switched to clocksource MIPS
[ 0.178819] NET: Registered protocol family 2
[ 0.184016] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.190705] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.196900] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.203147] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.208746] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.215128] NET: Registered protocol family 1
[ 0.222952] Crashlog allocated RAM at address 0x3f00000
[ 0.229684] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[ 0.242473] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.248103] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.269855] io scheduler noop registered
[ 0.273652] io scheduler deadline registered (default)
[ 0.279424] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.288227] console [ttyS0] disabled
[ 0.291666] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
[ 0.300443] console [ttyS0] enabled
[ 0.300443] console [ttyS0] enabled
[ 0.307431] bootconsole [early0] disabled
[ 0.307431] bootconsole [early0] disabled
[ 0.316861] spi-mt7621 10000b00.spi: sys_freq: 193333333
[ 0.338880] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[ 0.343813] 4 fixed-partitions partitions found on MTD device spi0.0
[ 0.350250] Creating 4 MTD partitions on "spi0.0":
[ 0.355131] 0x000000000000-0x000000020000 : "boot"
[ 0.360908] 0x000000020000-0x0000007c0000 : "firmware"
[ 0.369090] 2 tplink-fw partitions found on MTD device firmware
[ 0.375167] Creating 2 MTD partitions on "firmware":
[ 0.380226] 0x000000000000-0x0000001ae471 : "kernel"
[ 0.386177] 0x0000001ae474-0x0000007a0000 : "rootfs"
[ 0.391946] mtd: device 3 (rootfs) set to be root filesystem
[ 0.399383] 1 squashfs-split partitions found on MTD device rootfs
[ 0.405731] 0x0000003b0000-0x0000007a0000 : "rootfs_data"
[ 0.412086] 0x0000007c0000-0x0000007d0000 : "config"
[ 0.417993] 0x0000007d0000-0x000000800000 : "factory"
[ 0.424704] libphy: Fixed MDIO Bus: probed
[ 0.441424] rt3050-esw 10110000.esw: link changed 0x00
[ 0.448285] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[ 0.458343] NET: Registered protocol family 10
[ 0.467130] Segment Routing with IPv6
[ 0.470949] NET: Registered protocol family 17
[ 0.475602] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 0.488757] 8021q: 802.1Q VLAN Support v1.8
[ 0.503007] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[ 0.516616] Freeing unused kernel memory: 1176K
[ 0.521210] This architecture does not have kernel memory protection.
[ 1.572489] init: Console is alive
[ 1.576310] init: - watchdog -
[ 2.212853] random: fast init done
[ 2.787285] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 2.962267] usbcore: registered new interface driver usbfs
[ 2.968003] usbcore: registered new interface driver hub
[ 2.973532] usbcore: registered new device driver usb
[ 2.985824] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.994365] ehci-platform: EHCI generic platform driver
[ 3.009988] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
[ 3.016801] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
[ 3.022114] ehci-platform 101c0000.ehci: EHCI Host Controller
[ 3.027995] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[ 3.036158] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[ 3.062868] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[ 3.070188] hub 1-0:1.0: USB hub found
[ 3.074557] hub 1-0:1.0: 1 port detected
[ 3.081843] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 3.089931] ohci-platform: OHCI generic platform driver
[ 3.095563] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[ 3.102497] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[ 3.110670] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[ 3.187983] hub 2-0:1.0: USB hub found
[ 3.192228] hub 2-0:1.0: 1 port detected
[ 3.201370] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.219292] init: - preinit -
[ 4.414110] rt3050-esw 10110000.esw: link changed 0x00
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
[ 4.589784] random: procd: uninitialized urandom read (4 bytes read)
[ 7.781988] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[ 7.817860] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 7.941818] procd: - early -
[ 7.945751] procd: - watchdog -
[ 8.560639] rt3050-esw 10110000.esw: link changed 0x01
[ 8.677039] procd: - watchdog -
[ 8.680591] procd: - ubus -
[ 8.712362] random: ubusd: uninitialized urandom read (4 bytes read)
[ 8.733545] random: ubusd: uninitialized urandom read (4 bytes read)
[ 8.740552] random: ubusd: uninitialized urandom read (4 bytes read)
[ 8.748140] procd: - init -
Please press Enter to activate this console.
[ 9.532225] kmodloader: loading kernel modules from /etc/modules.d/*
[ 9.578469] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 9.606383] Loading modules backported from Linux version v5.4-rc2-0-gda0c9ea146cb
[ 9.614136] Backport generated by backports.git v5.4-rc2-1-0-g5a0c323a
[ 9.645770] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 9.672482] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[ 9.815290] xt_time: kernel timezone is -0000
[ 10.002180] mt76_wmac 10300000.wmac: ASIC revision: 76280001
[ 10.174709] urngd: v1.0.1 started.
[ 10.378296] random: crng init done
[ 10.381753] random: 6 urandom warning(s) missed due to ratelimiting
[ 11.045098] mt76_wmac 10300000.wmac: Firmware Version: 20151201
[ 11.051119] mt76_wmac 10300000.wmac: Build Time: 20151201183641
[ 11.072851] mt76_wmac 10300000.wmac: firmware init done
[ 11.268483] PPP generic driver version 2.4.2
[ 11.280383] NET: Registered protocol family 24
[ 11.294996] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 45.934734] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 45.941732] jffs2_build_filesystem(): unlocking the mtd device...
[ 45.946616] done.
[ 45.954910] jffs2_build_filesystem(): erasing all blocks after the end marker...
[ 49.365143] br-lan: port 1(eth0) entered blocking state
[ 49.378087] br-lan: port 1(eth0) entered disabled state
[ 49.383747] device eth0 entered promiscuous mode
[ 49.453039] br-lan: port 1(eth0) entered blocking state
[ 49.458355] br-lan: port 1(eth0) entered forwarding state
[ 49.464080] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 50.412892] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 65.354722] done.
[ 65.356723] jffs2: notice: (1070) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 65.516869] overlayfs: upper fs does not support tmpfile.