A czy dobrym pomysłem będzie podbicie wersji openwrt do np. 19.07 (nowsze sterowniki?)? Sklonowałem repo z źródeł openwrt, wybrałem odpowiedni branch, przerzuciłem dts dla Oolite-v8-32MB i dodałem target w /target/linux/ramips/image/mt7621.mk. Zbudował mi się ale po wgraniu na płytkę cały czas się resetuje. To co rzuca na konsole podczas jednego cyklu podaję poniżej
===================================================================
MT7621 stage1 code Mar 12 2015 14:43:30 (ASIC)
CPU=500000000 HZ BUS=166666666 HZ
==================================================================
Change MPLL source from XTAL to CR...
do MEMPLL setting..
MEMPLL Config : 0x31100000
3PLL mode + External loopback
=== XTAL-40Mhz === DDR-800Mhz ===
PLL3 FB_DL: 0x9, 1/0 = 570/454 25000000
PLL4 FB_DL: 0x14, 1/0 = 693/331 51000000
PLL2 FB_DL: 0x18, 1/0 = 649/375 61000000
do DDR setting..[01F40000]
Apply DDR3 Setting...(use customer AC)
0 8 16 24 32 40 48 56 64 72 80 88 96 104 112 120
--------------------------------------------------------------------------------
0000:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0001:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0002:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0003:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0004:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0005:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0006:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0007:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0008:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0009:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000A:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000B:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000C:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000D:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000E:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000F:| 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
0010:| 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
0011:| 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0
0012:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0013:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0014:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0015:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0016:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0017:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0018:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0019:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001A:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001B:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001C:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001D:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001E:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001F:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
DRAMC_DQSCTL1[0e0]=14000000
DRAMC_DQSGCTL[124]=80000000
rank 0 coarse = 16
rank 0 fine = 64
B:| 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0
opt_dle value:9
DRAMC_DDR2CTL[07c]=C287221D
DRAMC_PADCTL4[0e4]=000022B3
DRAMC_DQIDLY1[210]=0B0A090A
DRAMC_DQIDLY2[214]=050A0809
DRAMC_DQIDLY3[218]=0A080807
DRAMC_DQIDLY4[21c]=08070A08
DRAMC_R0DELDLY[018]=00003031
==================================================================
RX DQS perbit delay software calibration
==================================================================
1.0-15 bit dq delay value
==================================================================
bit| 0 1 2 3 4 5 6 7 8 9
--------------------------------------
0 | 9 8 9 11 8 7 9 5 6 7
10 | 7 8 7 10 7 8
--------------------------------------
==================================================================
2.dqs window
x=pass dqs delay value (min~max)center
y=0-7bit DQ of every group
input delay:DQS0 =49 DQS1 = 48
==================================================================
bit DQS0 bit DQS1
0 (1~95)48 8 (1~94)47
1 (1~95)48 9 (1~94)47
2 (1~95)48 10 (1~94)47
3 (2~96)49 11 (1~92)46
4 (1~95)48 12 (0~95)47
5 (1~96)48 13 (1~95)48
6 (1~96)48 14 (1~96)48
7 (1~97)49 15 (1~95)48
==================================================================
3.dq delay value last
==================================================================
bit| 0 1 2 3 4 5 6 7 8 9
--------------------------------------
0 | 10 9 10 11 9 8 10 5 7 8
10 | 8 10 8 10 7 8
==================================================================
==================================================================
TX perbyte calibration
==================================================================
DQS loop = 15, cmp_err_1 = ffff0000
dqs_perbyte_dly.last_dqsdly_pass[0]=15, finish count=1
dqs_perbyte_dly.last_dqsdly_pass[1]=15, finish count=2
DQ loop=15, cmp_err_1 = ffff0000
dqs_perbyte_dly.last_dqdly_pass[0]=15, finish count=1
dqs_perbyte_dly.last_dqdly_pass[1]=15, finish count=2
byte:0, (DQS,DQ)=(8,8)
byte:1, (DQS,DQ)=(8,8)
DRAMC_DQODLY1[200]=88888888
DRAMC_DQODLY2[204]=88888888
20,data:88
[EMI] DRAMC calibration passed
===================================================================
MT7621 stage1 code done
CPU=500000000 HZ BUS=166666666 HZ
===================================================================
U-Boot 1.1.3 (Mar 31 2017 - 10:58:58)
Board: Ralink APSoC DRAM: 256 MB
relocate_code Pointer at: 8ffa8000
Config XHCI 40M PLL
flash manufacture id: ef, device id 40 19
find flash: W25Q256FV
*** Warning - bad CRC, using default environment
============================================
Ralink UBoot Version: 4.3.0.0
--------------------------------------------
ASIC MT7621A DualCore (MAC to MT7530 Mode)
DRAM_CONF_FROM: Auto-Detection
DRAM_TYPE: DDR3
DRAM bus: 16 bit
Xtal Mode=3 OCP Ratio=1/3
Flash component: SPI Flash
Date:Mar 31 2017 Time:10:58:58
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:256, ways:4, linesz:32 ,total:32768
##### The CPU freq = 880 MHZ ####
estimate memory size =256 Mbytes
#Reset_MT7530
Catution: ResetButton wasn't pressed or not long enough!
Continuing normal boot...
============================================
Please choose the operation:
1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP. 0
3: System Boot system code via Flash.
## Booting image at bc050000 ...
Image Name: MIPS OpenWrt Linux-4.14.232
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1928343 Bytes = 1.8 MB
Load Address: 80001000
Entry Point: 80001000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 256
Starting kernel ...
[ 0.000000] Linux version 4.14.232 (pcx@pcx-OptiPlex-7010) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11351-a1ee0ebbd8)) #0 SMP Sun May 16 21:55:26 2021
[ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[ 0.000000] MIPS: machine is Oolite-v8 32MB
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 1c000000 @ 00000000 (usable)
[ 0.000000] memory: 04000000 @ 20000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] VPE topology {2,2} total 4
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] HighMem [mem 0x0000000010000000-0x0000000023ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000001bffffff]
[ 0.000000] node 0: [mem 0x0000000020000000-0x0000000023ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000023ffffff]
[ 0.000000] random: get_random_bytes called from start_kernel+0x94/0x4ac with crng_init=0
[ 0.000000] percpu: Embedded 14 pages/cpu s26192 r8192 d22960 u57344
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 130560
[ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Writing ErrCtl register=00004133
[ 0.000000] Readback ErrCtl register=00004133
[ 0.000000] Memory: 511796K/524288K available (4556K kernel code, 230K rwdata, 1012K rodata, 1292K init, 248K bss, 12492K reserved, 0K cma-reserved, 262144K highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS: 256
[ 0.000000] CPU Clock: 880MHz
[ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[ 0.000012] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[ 0.015546] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[ 0.087856] pid_max: default: 32768 minimum: 301
[ 0.097196] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.110220] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.126410] Hierarchical SRCU implementation.
[ 0.136097] smp: Bringing up secondary CPUs ...
[ 0.146669] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.146679] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.146693] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.146863] CPU1 revision is: 0001992f (MIPS 1004Kc)
[ 0.205334] Synchronize counters for CPU 1: done.
[ 0.276929] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.276938] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.276947] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.277028] CPU2 revision is: 0001992f (MIPS 1004Kc)
[ 0.326528] Synchronize counters for CPU 2: done.
[ 0.387649] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.387658] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.387667] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.387758] CPU3 revision is: 0001992f (MIPS 1004Kc)
[ 0.446104] Synchronize counters for CPU 3: done.
[ 0.505721] smp: Brought up 1 node, 4 CPUs
[ 0.517802] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.537305] futex hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.549779] pinctrl core: initialized pinctrl subsystem
[ 0.561865] NET: Registered protocol family 16
[ 0.582900] pull PCIe RST: RALINK_RSTCTRL = 0
[ 0.891885] release PCIe RST: RALINK_RSTCTRL = 7000000
[ 0.901953] ***** Xtal 40MHz *****
[ 0.908682] release PCIe RST: RALINK_RSTCTRL = 7000000
[ 0.918891] Port 0 N_FTS = 1b102800
[ 0.925788] Port 1 N_FTS = 1b102800
[ 0.932716] Port 2 N_FTS = 1b102800
[ 2.091439] PCIE0 no card, disable it(RST&CLK)
[ 2.100131] PCIE1 no card, disable it(RST&CLK)
[ 2.108932] -> 2107f2
[ 2.113609] PCIE2 enabled
[ 2.118790] PCI host bridge /pcie@1e140000 ranges:
[ 2.128317] MEM 0x0000000060000000..0x000000006fffffff
[ 2.138680] IO 0x000000001e160000..0x000000001e16ffff
[ 2.149036] PCI coherence region base: 0xbfbf8000, mask/settings: 0x60000000
[ 2.174379] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 2.185793] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 2.197076] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 2.210061] PCI host bridge to bus 0000:00
[ 2.218115] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[ 2.231734] pci_bus 0000:00: root bus resource [io 0xffffffff]
[ 2.243485] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 2.256968] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 2.273213] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 2.289713] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[ 2.302737] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[ 2.316560] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[ 2.330034] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[ 2.344375] pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
[ 2.357861] pci 0000:00:00.0: BAR 7: no space for [io size 0x1000]
[ 2.370292] pci 0000:00:00.0: BAR 7: failed to assign [io size 0x1000]
[ 2.383436] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[ 2.397778] pci 0000:01:00.0: BAR 5: assigned [mem 0x60000000-0x600001ff]
[ 2.411251] pci 0000:01:00.0: BAR 4: no space for [io size 0x0010]
[ 2.423686] pci 0000:01:00.0: BAR 4: failed to assign [io size 0x0010]
[ 2.436821] pci 0000:01:00.0: BAR 0: no space for [io size 0x0008]
[ 2.449261] pci 0000:01:00.0: BAR 0: failed to assign [io size 0x0008]
[ 2.462395] pci 0000:01:00.0: BAR 2: no space for [io size 0x0008]
[ 2.474835] pci 0000:01:00.0: BAR 2: failed to assign [io size 0x0008]
[ 2.487969] pci 0000:01:00.0: BAR 1: no space for [io size 0x0004]
[ 2.500410] pci 0000:01:00.0: BAR 1: failed to assign [io size 0x0004]
[ 2.513544] pci 0000:01:00.0: BAR 3: no space for [io size 0x0004]
[ 2.525984] pci 0000:01:00.0: BAR 3: failed to assign [io size 0x0004]
[ 2.539124] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 2.548960] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
[ 2.562449] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref]
[ 2.578409] clocksource: Switched to clocksource GIC
[ 2.590226] NET: Registered protocol family 2
[ 2.599551] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 2.613302] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[ 2.626098] TCP: Hash tables configured (established 2048 bind 2048)
[ 2.638833] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 2.650346] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 2.663047] NET: Registered protocol family 1
[ 2.908348] 4 CPUs re-calibrate udelay(lpj = 2924544)
[ 2.920193] Crashlog allocated RAM at address 0x3f00000
[ 2.930799] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[ 2.950629] random: fast init done
[ 2.951900] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.968893] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 2.991998] bounce: pool size: 64 pages
[ 2.999619] io scheduler noop registered
[ 3.007260] io scheduler deadline registered (default)
[ 3.018857] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 3.033272] console [ttyS0] disabled
[ 3.040350] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[ 3.058277] console [ttyS0] enabled
[ 3.058277] console [ttyS0] enabled
[ 3.072057] bootconsole [early0] disabled
[ 3.072057] bootconsole [early0] disabled
[ 3.090597] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[ 3.105044] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[ 3.127923] m25p80 spi0.0: w25q256 (32768 Kbytes)
[ 3.137380] 4 fixed-partitions partitions found on MTD device spi0.0
[ 3.150043] Creating 4 MTD partitions on "spi0.0":
[ 3.159601] 0x000000000000-0x000000030000 : "u-boot"
[ 3.170833] 0x000000030000-0x000000040000 : "u-boot-env"
[ 3.182660] 0x000000040000-0x000000050000 : "factory"
[ 3.193969] 0x000000050000-0x000002000000 : "firmware"
[ 3.206291] libphy: Fixed MDIO Bus: probed
[ 3.280478] libphy: mdio: probed
[ 4.686664] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[ 4.699305] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 22
[ 4.719259] NET: Registered protocol family 10
[ 4.729993] Segment Routing with IPv6
[ 4.737385] NET: Registered protocol family 17
[ 4.746352] 8021q: 802.1Q VLAN Support v1.8
[ 4.757788] hctosys: unable to open rtc device (rtc0)
[ 4.768981] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[ 4.783891] Please append a correct "root=" boot option; here are the available partitions:
[ 4.800529] 1f00 192 mtdblock0
[ 4.800536] (driver?)
[ 4.813533] 1f01 64 mtdblock1
[ 4.813538] (driver?)
[ 4.826540] 1f02 64 mtdblock2
[ 4.826545] (driver?)
[ 4.839553] 1f03 32448 mtdblock3
[ 4.839558] (driver?)
[ 4.852555] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 4.870700] Rebooting in 1 seconds..
===================================================================
MT7621 stage1 code Mar 12 2015 14:43:30 (ASIC)
CPU=500000000 HZ BUS=166666666 HZ
==================================================================Czego może mu brakować? Adresy pamięci w dts są takie same jak na obrazach 18.06 które działały.