Welcome! Log In Create A New Profile

Advanced

armada 370 (88f6710) mainline uboot support

Posted by wacke 
Re: armada 370 (88f6710) mainline uboot support
March 23, 2019 03:03AM
And the boot log:
[    0.000000] Booting Linux on physical CPU 0x0                                                                                                                                       
[    0.000000] Linux version 4.20.6-mvebu-tld-1 (root@lam-mint19) (gcc version 7.3.0 (Ubuntu/Linaro 7.3.0-27ubuntu1~18.04)) #2 SMP PREEMPT Tue Feb 5 16:14:01 PST 2019                 
[    0.000000] CPU: ARMv7 Processor [561f5811] revision 1 (ARMv7), cr=10c5387d                                                                                                         
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache                                                                                                         
[    0.000000] OF: fdt: Machine model: RTNAS V3                                                                                                                                        
[    0.000000] printk: bootconsole [earlycon0] enabled                                                                                                                                 
[    0.000000] Memory policy: Data cache writeback                                                                                                                                     
[    0.000000] On node 0 totalpages: 262144                                                                                                                                            
[    0.000000]   Normal zone: 1536 pages used for memmap                                                                                                                               
[    0.000000]   Normal zone: 0 pages reserved                                                                                                                                         
[    0.000000]   Normal zone: 196608 pages, LIFO batch:63                                                                                                                              
[    0.000000]   HighMem zone: 65536 pages, LIFO batch:15                                                                                                                              
[    0.000000] CPU: All CPU(s) started in SVC mode.                                                                                                                                    
[    0.000000] random: get_random_bytes called from start_kernel+0x78/0x4c4 with crng_init=0                                                                                           
[    0.000000] percpu: Embedded 18 pages/cpu @(ptrval) s41548 r8192 d23988 u73728                                                                                                      
[    0.000000] pcpu-alloc: s41548 r8192 d23988 u73728 alloc=18*4096                                                                                                                    
[    0.000000] pcpu-alloc: [0] 0                                                                                                                                                       
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260608                                                                                                           
[    0.000000] Kernel command line: rootdelay=10 root=/dev/sda1 console=ttyS0,115200 earlyprintk=serial                                                                                
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)                                                                                                        
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)                                                                                                          
[    0.000000] Memory: 1017148K/1048576K available (9216K kernel code, 799K rwdata, 2356K rodata, 1024K init, 332K bss, 31428K reserved, 0K cma-reserved, 262144K highmem)             
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)                                                                                                                       
                   vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)                                                                                                                       
                   lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)                                                                                                                       
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)                                                                                                                       
                   modules : 0xbf000000 - 0xbfe00000   (  14 MB)                                                                                                                       
                     .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)                                                                                                                      
                     .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)                                                                                                                       
                     .data : 0x(ptrval) - 0x(ptrval)   ( 800 kB)                                                                                                                       
                      .bss : 0x(ptrval) - 0x(ptrval)   ( 333 kB)                                                                                                                       
[    0.000000] rcu: Preemptible hierarchical RCU implementation.                                                                                                                       
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.                                                                                                           
[    0.000000] 
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.                                                                                                  
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1                                                                                                            
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16                                                                                                                         
[    0.000000] L2C: DT/platform modifies aux control register: 0x12086302 -> 0x1a086302
[    0.000000] Aurora cache controller enabled, 4 ways, 256 kB                                                                                                                         
[    0.000000] Aurora: CACHE_ID 0x00000100, AUX_CTRL 0x1a086302                                                                                                                        
[    0.000000] Switching to timer-based delay loop, resolution 53ns                                                                                                                    
[    0.000007] sched_clock: 32 bits at 18MHz, resolution 53ns, wraps every 114840871909ns                                                                                              
[    0.007895] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 102208375848 ns                                                           
[    0.019572] Console: colour dummy device 80x30                                                                                                                                      
[    0.024022] Calibrating delay loop (skipped), value calculated using timer frequency.. 37.39 BogoMIPS (lpj=186996)                                                                  
[    0.034367] pid_max: default: 32768 minimum: 301                                                                                                                                    
[    0.039156] LSM: Security Framework initializing                                                                                                                                    
[    0.043836] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)                                                                                                             
[    0.050441] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)                                                                                                        
[    0.058249] CPU: Testing write buffer coherency: ok                                                                                                                                 
[    0.063426] CPU0: thread -1, cpu 0, socket -1, mpidr 0                                                                                                                              
[    0.118920] Setting up static identity map for 0x100000 - 0x100060                                                                                                                  
[    0.125410] mvebu-soc-id: MVEBU SoC ID=0x6710, Rev=0x1                                                                                                                              
[    0.130684] mvebu-pmsu: Initializing Power Management Service Unit                                                                                                                  
[    0.148859] rcu: Hierarchical SRCU implementation.                                                                                                                                  
[    0.188860] smp: Bringing up secondary CPUs ...                                                                                                                                     
[    0.193379] smp: Brought up 1 node, 1 CPU                                                                                                                                           
[    0.197371] SMP: Total of 1 processors activated (37.39 BogoMIPS).                                                                                                                  
[    0.203553] CPU: All CPU(s) started in SVC mode.                                                                                                                                    
[    0.209017] devtmpfs: initialized                                                                                                                                                   
[    0.219045] VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6                                                                                                 
[    0.227187] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns                                                                        
[    0.237273] futex hash table entries: 256 (order: 2, 16384 bytes)                                                                                                                   
[    0.243642] prandom: seed boundary self test passed                                                                                                                                 
[    0.251321] prandom: 100 self tests passed                                                                                                                                          
[    0.255402] pinctrl core: initialized pinctrl subsystem                                                                                                                             
[    0.262365] NET: Registered protocol family 16                                                                                                                                      
[    0.267258] DMA: preallocated 256 KiB pool for atomic coherent allocations                                                                                                          
[    0.275386] audit: initializing netlink subsys (disabled)                                                                                                                           
[    0.282509] cpuidle: using governor ladder                                                                                                                                          
[    0.286637] audit: type=2000 audit(0.260:1): state=initialized audit_enabled=0 res=1                                                                                                
[    0.295451] cpuidle: using governor menu                                                                                                                                            
[    0.299731] hw-breakpoint: debug architecture 0x4 unsupported.                                                                                                                      
[    0.399958] vgaarb: loaded                                                                                                                                                          
[    0.402970] SCSI subsystem initialized                                                                                                                                              
[    0.409262] libata version 3.00 loaded.                                                                                                                                             
[    0.409526] usbcore: registered new interface driver usbfs                                                                                                                          
[    0.415033] usbcore: registered new interface driver hub                                                                                                                            
[    0.421584] usbcore: registered new device driver usb                                                                                                                               
[    0.427532] media: Linux media interface: v0.10                                                                                                                                     
[    0.432797] videodev: Linux video capture interface: v2.00                                                                                                                          
[    0.439063] pps_core: LinuxPPS API ver. 1 registered                                                                                                                                
[    0.444008] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>                                                                                
[    0.453668] PTP clock support registered                                                                                                                                            
[    0.460182] clocksource: Switched to clocksource armada_370_xp_clocksource                                                                                                          
[    0.537535] VFS: Disk quotas dquot_6.6.0                                                                                                                                            
[    0.541569] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)                                                                                                         
[    0.572031] NET: Registered protocol family 2                                                                                                                                       
[    0.577584] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)                                                                                                 
[    0.585912] TCP established hash table entries: 8192 (order: 3, 32768 bytes)                                                                                                        
[    0.593288] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)                                                                                                               
[    0.599764] TCP: Hash tables configured (established 8192 bind 8192)                                                                                                                
[    0.606300] UDP hash table entries: 512 (order: 2, 16384 bytes)                                                                                                                     
[    0.612281] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)                                                                                                                
[    0.618806] NET: Registered protocol family 1                                                                                                                                       
[    0.653951] RPC: Registered named UNIX socket transport module.                                                                                                                     
[    0.659847] RPC: Registered udp transport module.                                                                                                                                   
[    0.664615] RPC: Registered tcp transport module.                                                                                                                                   
[    0.669298] RPC: Registered tcp NFSv4.1 backchannel transport module.                                                                                                               
[    0.675733] PCI: CLS 0 bytes, default 64                                                                                                                                            
[    0.675948] Unpacking initramfs...                                                                                                                                                  
[    1.103418] Freeing initrd memory: 7828K                                                                                                                                            
[    1.107507] NetWinder Floating Point Emulator V0.97 (double precision)                                                                                                              
[    1.114426] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available                                                                                            
[    1.125381] Initialise system trusted keyrings                                                                                                                                      
[    1.129845] Key type blacklist registered                                                                                                                                           
[    1.135309] workingset: timestamp_bits=30 max_order=18 bucket_order=0                                                                                                               
[    1.142003] zbud: loaded                                                                                                                                                            
[    1.155546] NFS: Registering the id_resolver key type                                                                                                                               
[    1.160819] Key type id_resolver registered                                                                                                                                         
[    1.164985] Key type id_legacy registered                                                                                                                                           
[    1.168988] nfs4filelayout_init: NFSv4 File Layout Driver Registering...                                                                                                            
[    1.175758] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).                                                                                                                
[    1.182386] jffs2: version 2.2. (NAND) (SUMMARY)  \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.                                                                                      
[    1.190003] orangefs_debugfs_init: called with debug mask: :none: :0:                                                                                                               
[    1.196800] orangefs_init: module version upstream loaded                                                                                                                           
[    1.330708] Key type asymmetric registered                                                                                                                                          
[    1.334794] Asymmetric key parser 'x509' registered                                                                                                                                 
[    1.339714] bounce: pool size: 64 pages                                                                                                                                             
[    1.343896] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)                                                                                                    
[    1.351464] io scheduler noop registered                                                                                                                                            
[    1.355371] io scheduler deadline registered                                                                                                                                        
[    1.359661] io scheduler cfq registered (default)                                                                                                                                   
[    1.366830] armada-370-pinctrl f1018000.pin-ctrl: registered pinctrl driver                                                                                                         
[    1.381524] mvebu-pcie soc:pcie@82000000: PCI host bridge to bus 0000:00                                                                                                            
[    1.388208] pci_bus 0000:00: root bus resource [bus 00-ff]                                                                                                                          
[    1.394096] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xffdfffff]                                                                                                          
[    1.401259] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]                                                                                                                 
[    1.407503] pci_bus 0000:00: scanning bus                                                                                                                                           
[    1.407632] pci 0000:00:01.0: [11ab:6710] type 01 class 0x060400                                                                                                                    
[    1.407668] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pref]                                                                                                            
[    1.408130] pci 0000:00:02.0: [11ab:6710] type 01 class 0x060400                                                                                                                    
[    1.408159] pci 0000:00:02.0: reg 0x38: [mem 0x00000000-0x000007ff pref]                                                                                                            
[    1.409516] pci_bus 0000:00: fixups for bus                                                                                                                                         
[    1.409533] PCI: bus0: Fast back to back transfers disabled                                                                                                                         
[    1.415479] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 0                                                                                                            
[    1.415489] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring                                                                                             
[    1.423538] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 0                                                                                                            
[    1.423545] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring                                                                                             
[    1.431586] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 1                                                                                                            
[    1.431834] pci_bus 0000:01: scanning bus                                                                                                                                           
[    1.431872] pci 0000:01:00.0: [168c:0030] type 00 class 0x028000                                                                                                                    
[    1.431919] pci 0000:01:00.0: reg 0x10: [mem 0x40000000-0x4001ffff 64bit]                                                                                                           
[    1.431961] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]                                                                                                            
[    1.432059] pci 0000:01:00.0: supports D1 D2                                                                                                                                        
[    1.432066] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold                                                                                                             
[    1.432076] pci 0000:01:00.0: PME# disabled                                                                                                                                         
[    1.461366] pci_bus 0000:01: fixups for bus                                                                                                                                         
[    1.461378] PCI: bus1: Fast back to back transfers enabled                                                                                                                          
[    1.466842] pci_bus 0000:01: bus scan returning with max=01                                                                                                                         
[    1.466853] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01                                                                                                             
[    1.466869] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 1                                                                                                            
[    1.467126] pci_bus 0000:02: scanning bus                                                                                                                                           
[    1.467169] pci 0000:02:00.0: [168c:003c] type 00 class 0x028000                                                                                                                    
[    1.467214] pci 0000:02:00.0: reg 0x10: [mem 0x42000000-0x421fffff 64bit]                                                                                                           
[    1.467256] pci 0000:02:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]                                                                                                            
[    1.467347] pci 0000:02:00.0: supports D1 D2                                                                                                                                        
[    1.467354] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold                                                                                                             
[    1.467363] pci 0000:02:00.0: PME# disabled                                                                                                                                         
[    1.521341] pci_bus 0000:02: fixups for bus                                                                                                                                         
[    1.521353] PCI: bus2: Fast back to back transfers enabled                                                                                                                          
[    1.526817] pci_bus 0000:02: bus scan returning with max=02                                                                                                                         
[    1.526828] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02                                                                                                             
[    1.526839] pci_bus 0000:00: bus scan returning with max=02                                                                                                                         
[    1.526909] pci 0000:00:02.0: BAR 14: assigned [mem 0xf8000000-0xf81fffff]                                                                                                          
[    1.533789] pci 0000:00:01.0: BAR 14: assigned [mem 0xf8200000-0xf82fffff]                                                                                                          
[    1.540655] pci 0000:00:01.0: BAR 15: assigned [mem 0xf8300000-0xf83fffff pref]                                                                                                     
[    1.547935] pci 0000:00:02.0: BAR 15: assigned [mem 0xf8400000-0xf84fffff pref]                                                                                                     
[    1.555230] pci 0000:00:01.0: BAR 6: assigned [mem 0xf8500000-0xf85007ff pref]                                                                                                      
[    1.562439] pci 0000:00:02.0: BAR 6: assigned [mem 0xf8600000-0xf86007ff pref]                                                                                                      
[    1.569636] pci 0000:01:00.0: BAR 0: assigned [mem 0xf8200000-0xf821ffff 64bit]                                                                                                     
[    1.576941] pci 0000:01:00.0: BAR 6: assigned [mem 0xf8300000-0xf830ffff pref]                                                                                                      
[    1.584149] pci 0000:00:01.0: PCI bridge to [bus 01]                                                                                                                                
[    1.589098] pci 0000:00:01.0:   bridge window [mem 0xf8200000-0xf82fffff]                                                                                                           
[    1.595874] pci 0000:00:01.0:   bridge window [mem 0xf8300000-0xf83fffff pref]                                                                                                      
[    1.603087] pci 0000:02:00.0: BAR 0: assigned [mem 0xf8000000-0xf81fffff 64bit]                                                                                                     
[    1.610384] pci 0000:02:00.0: BAR 0: error updating (0xf8000004 != 0xffffffff)
[    1.617575] pci 0000:02:00.0: BAR 0: error updating (high 0x000000 != 0xffffffff)                                                                                                   
[    1.625043] pci 0000:02:00.0: BAR 6: assigned [mem 0xf8400000-0xf840ffff pref]
[    1.632250] pci 0000:00:02.0: PCI bridge to [bus 02]                                                                                                                                
[    1.637196] pci 0000:00:02.0:   bridge window [mem 0xf8000000-0xf81fffff]                                                                                                           
[    1.643973] pci 0000:00:02.0:   bridge window [mem 0xf8400000-0xf84fffff pref]                                                                                                      
[    1.651269] pcieport 0000:00:01.0: assign IRQ: got 0                                                                                                                                
[    1.651286] pcieport 0000:00:01.0: enabling device (0140 -> 0142)                                                                                                                   
[    1.657608] pcieport 0000:00:02.0: assign IRQ: got 0                                                                                                                                
[    1.657623] pcieport 0000:00:02.0: enabling device (0140 -> 0142)                                                                                                                   
[    1.664863] mv_xor f1060800.xor: Marvell shared XOR driver                                                                                                                          
[    1.731263] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )                                                                                                     
[    1.738959] mv_xor f1060900.xor: Marvell shared XOR driver                                                                                                                          
[    1.801296] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )                                                                                                     
[    1.957209] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled                                                                                                                
[    1.967525] printk: console [ttyS0] disabled                                                                                                                                        
[    1.993249] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 18, base_baud = 12500000) is a 16550A                                                                                  
[    2.002417] printk: console [ttyS0] enabled                                                                                                                                         
[    2.010873] printk: bootconsole [earlycon0] disabled                                                                                                                                
[    2.023004] sata_mv f10a0000.sata: version 1.28                                                                                                                                     
[    2.023214] sata_mv f10a0000.sata: slots 32 ports 2                                                                                                                                 
[    2.041592] scsi host0: sata_mv                                                                                                                                                     
[    2.055665] scsi host1: sata_mv                                                                                                                                                     
[    2.059226] ata1: SATA max UDMA/133 irq 27                                                                                                                                          
[    2.063636] ata2: SATA max UDMA/133 irq 27                                                                                                                                          
[    2.069630] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0x68                                                                                                                
[    2.076151] nand: Micron MT29F32G08CBACAWP                                                                                                                                          
[    2.080704] nand: 4096 MiB, MLC, erase size: 1024 KiB, page size: 4096, OOB size: 224                                                                                               
[    2.088585] nand: WARNING: pxa3xx_nand-0: the ECC used on your system is too weak compared to the one required by the NAND chip
[    2.101436] Bad block table found at page 1048320, version 0x01                                                                                                                     
[    2.108159] Bad block table found at page 1048064, version 0x01                                                                                                                     
[    2.114591] nand_read_bbt: bad block at 0x000005a00000                                                                                                                              
[    2.119754] nand_read_bbt: bad block at 0x000005b00000                                                                                                                              
[    2.125249] 7 fixed-partitions partitions found on MTD device pxa3xx_nand-0                                                                                                         
[    2.132394] Creating 7 MTD partitions on "pxa3xx_nand-0":                                                                                                                           
[    2.137834] 0x000000000000-0x000000400000 : "u-boot"                                                                                                                                
[    2.144516] 0x000000400000-0x000000800000 : "uboot_env"                                                                                                                             
[    2.151771] 0x000000800000-0x000000c00000 : "vendor"                                                                                                                                
[    2.158618] 0x000000c00000-0x000001800000 : "unused"                                                                                                                                
[    2.165604] 0x000001800000-0x000001c00000 : "kernel"                                                                                                                                
[    2.172692] 0x000001c00000-0x000040000000 : "ubi"                                                                                                                                   
[    2.180754] 0x000040000000-0x0000fbc00000 : "syscfg"                                                                                                                                
[    2.194689] libphy: Fixed MDIO Bus: probed                                                                                                                                          
[    2.203090] libphy: orion_mdio_bus: probed                                                                                                                                          
[    2.212397] mvneta f1074000.ethernet eth0: Using random mac address 6a:36:83:ae:38:9c                                                                                               
[    2.222843] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver                                                                                                              
[    2.229446] ehci-pci: EHCI PCI platform driver                                                                                                                                      
[    2.234535] ehci-orion: EHCI orion driver                                                                                                                                           
[    2.238761] orion-ehci f1050000.usb: EHCI Host Controller                                                                                                                           
[    2.244668] orion-ehci f1050000.usb: new USB bus registered, assigned bus number 1                                                                                                  
[    2.252591] orion-ehci f1050000.usb: irq 24, io mem 0xf1050000                                                                                                                      
[    2.280239] orion-ehci f1050000.usb: USB 2.0 started, EHCI 1.00                                                                                                                     
[    2.286463] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.20                                                                                          
[    2.294844] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1                                                                                                      
[    2.302170] usb usb1: Product: EHCI Host Controller                                                                                                                                 
[    2.307074] usb usb1: Manufacturer: Linux 4.20.6-mvebu-tld-1 ehci_hcd                                                                                                               
[    2.313586] usb usb1: SerialNumber: f1050000.usb                                                                                                                                    
[    2.319075] hub 1-0:1.0: USB hub found                                                                                                                                              
[    2.323152] hub 1-0:1.0: 1 port detected                                                                                                                                            
[    2.327940] orion-ehci f1051000.usb: EHCI Host Controller                                                                                                                           
[    2.333740] orion-ehci f1051000.usb: new USB bus registered, assigned bus number 2                                                                                                  
[    2.341602] orion-ehci f1051000.usb: irq 25, io mem 0xf1051000                                                                                                                      
[    2.370213] orion-ehci f1051000.usb: USB 2.0 started, EHCI 1.00                                                                                                                     
[    2.376452] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.20                                                                                          
[    2.384811] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1                                                                                                      
[    2.392115] ata1: SATA link down (SStatus 0 SControl F300)                                                                                                                          
[    2.397682] usb usb2: Product: EHCI Host Controller                                                                                                                                 
[    2.402623] usb usb2: Manufacturer: Linux 4.20.6-mvebu-tld-1 ehci_hcd                                                                                                               
[    2.409226] usb usb2: SerialNumber: f1051000.usb                                                                                                                                    
[    2.414671] hub 2-0:1.0: USB hub found                                                                                                                                              
[    2.418666] hub 2-0:1.0: 1 port detected                                                                                                                                            
[    2.424176] usbcore: registered new interface driver usblp                                                                                                                          
[    2.430762] usbcore: registered new interface driver usb-storage                                                                                                                    
[    2.437452] mousedev: PS/2 mouse device common for all mice                                                                                                                         
[    2.444636] i2c /dev entries driver                                                                                                                                                 
[    2.471600] orion_wdt: Initial timeout 229 sec                                                                                                                                      
[    2.528614] marvell-cesa f1090000.crypto: CESA device successfully registered                                                                                                       
[    2.536986] hidraw: raw HID events driver (C) Jiri Kosina                                                                                                                           
[    2.543601] usbcore: registered new interface driver usbhid                                                                                                                         
[    2.549205] usbhid: USB HID core driver                                                                                                                                             
[    2.554010] drop_monitor: Initializing network drop monitor service                                                                                                                 
[    2.561164] NET: Registered protocol family 10                                                                                                                                      
[    2.576745] Segment Routing with IPv6                                                                                                                                               
[    2.580716] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver                                                                                                                     
[    2.588504] NET: Registered protocol family 17                                                                                                                                      
[    2.604281] 8021q: 802.1Q VLAN Support v1.8                                                                                                                                         
[    2.608584] Key type dns_resolver registered                                                                                                                                        
[    2.613281] ThumbEE CPU extension supported.                                                                                                                                        
[    2.617599] Registering SWP/SWPB emulation handler                                                                                                                                  
[    2.624711] registered taskstats version 1                                                                                                                                          
[    2.628844] Loading compiled-in X.509 certificates                                                                                                                                  
[    2.634631] zswap: loaded using pool lzo/zbud                                                                                                                                       
[    2.684513] Key type big_key registered                                                                                                                                             
[    2.711242] Key type encrypted registered                                                                                                                                           
[    2.719308] input: gpio-keys as /devices/platform/gpio-keys/input/input0                                                                                                            
[    2.727877] hctosys: unable to open rtc device (rtc0)                                                                                                                               
[    2.910750] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)                                                                                                                 
[    2.919942] ata2.00: ATA-7: JMicron, 100415, max UDMA/133                                                                                                                           
[    2.925451] ata2.00: 7856128 sectors, multi 1: LBA48                                                                                                                                
[    2.933599] ata2.00: configured for UDMA/133                                                                                                                                        
[    2.949336] scsi 1:0:0:0: Direct-Access     ATA      JMicron          15   PQ: 0 ANSI: 5                                                                                            
[    2.959957] sd 1:0:0:0: [sda] 7856128 512-byte logical blocks: (4.02 GB/3.75 GiB)                                                                                                   
[    2.969846] sd 1:0:0:0: [sda] Write Protect is off                                                                                                                                  
[    2.974826] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00                                                                                                                               
[    2.975130] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA                                                                                
[    2.988453]  sda: sda1 sda2                                                                                                                                                         
[    2.994917] sd 1:0:0:0: [sda] Attached SCSI disk                                                                                                                                    
[    3.001801] Freeing unused kernel memory: 1024K                                                                                                                                     
[    3.022478] Checked W+X mappings: passed, no W+X pages found                                                                                                                        
[    3.028185] Run /init as init process                                                                                                                                               
[    3.215410] random: systemd-udevd: uninitialized urandom read (16 bytes read)                                                                                                       
[    3.239988] random: udevadm: uninitialized urandom read (16 bytes read)                                                                                                             
[    3.248050] random: systemd-udevd: uninitialized urandom read (16 bytes read)                                                                                                       
[    4.400486] mv88e6085 f1072004.mdio-mii:00: switch 0x1710 detected: Marvell 88E6171, revision 2                                                                                     
[    4.472331] libphy: mdio: probed                                                                                                                                                    
[    5.065007] mv88e6085 f1072004.mdio-mii:00 lan0 (uninitialized): PHY [!soc!internal-regs!mdio@72004!switch@0!mdio:00] driver [Generic PHY]                                          
[    5.127569] mv88e6085 f1072004.mdio-mii:00 lan1 (uninitialized): PHY [!soc!internal-regs!mdio@72004!switch@0!mdio:01] driver [Generic PHY]                                          
[    5.186139] mv88e6085 f1072004.mdio-mii:00 lan2 (uninitialized): PHY [!soc!internal-regs!mdio@72004!switch@0!mdio:02] driver [Generic PHY]                                          
[    5.243604] mv88e6085 f1072004.mdio-mii:00 lan3 (uninitialized): PHY [!soc!internal-regs!mdio@72004!switch@0!mdio:03] driver [Generic PHY]                                          
[    5.301442] mv88e6085 f1072004.mdio-mii:00 wan (uninitialized): PHY [!soc!internal-regs!mdio@72004!switch@0!mdio:04] driver [Generic PHY]                                           
[    5.360025] DSA: tree 0 setup                                                                                                                                                       
[   17.402820] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem                                                                                                      
[   17.426615] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)                                                                                                 
[   17.520818] random: fast init done                                                                                                                                                  
[   21.510834] sd 1:0:0:0: Attached scsi generic sg0 type 0                                                                                                                            
[   22.088913] cfg80211: Loading compiled-in X.509 certificates for regulatory database                                                                                                
[   22.211103] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'                                                                                                              
[   22.218572] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   22.234851] cfg80211: failed to load regulatory.db                                                                                                                                  
[   22.554686] ath10k_pci 0000:02:00.0: of_irq_parse_pci: failed with rc=134
[   22.627494] ath10k_pci 0000:02:00.0: assign IRQ: got 0
[   22.640734] pcieport 0000:00:02.0: enabling bus mastering                                                                                                                           
[   22.648607] ath9k 0000:01:00.0: assign IRQ: got 68                                                                                                                                  
[   22.648641] pcieport 0000:00:01.0: enabling bus mastering                                                                                                                           
[   22.648660] ath9k 0000:01:00.0: enabling device (0000 -> 0002)                                                                                                                      
[   22.670354] ath10k_pci 0000:02:00.0: Refused to change power state, currently in D3                                                                                                 
[   22.769940] ath9k 0000:01:00.0: enabling bus mastering                                                                                                                              
[   22.991462] ath10k_pci 0000:02:00.0: failed to wake up device : -110
[   22.997921] ath10k_pci 0000:02:00.0: disabling bus mastering                                                                                                                        
[   23.070625] ath10k_pci: probe of 0000:02:00.0 failed with error -110
[   23.362709] ath: EEPROM regdomain: 0x64                                                                                                                                             
[   23.362720] ath: EEPROM indicates we should expect a direct regpair map                                                                                                             
[   23.362735] ath: Country alpha2 being used: 00                                                                                                                                      
[   23.362739] ath: Regpair used: 0x64                                                                                                                                                 
[   23.510743] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'                                                                                                           
[   23.512195] ieee80211 phy1: Atheros AR9300 Rev:3 mem=0xf1140000, irq=68                                                                                                             
[   25.329917] ath9k 0000:01:00.0 wlp1s0: renamed from wlan0                                                                                                                           
[   26.589216] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro                                                                                                                     
[   30.727704] mvneta f1074000.ethernet eth0: configuring for fixed/rgmii-id link mode                                                                                                 
[   30.736225] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready                                                                                                                      
[   30.742414] mvneta f1074000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off                                                                                               
[   30.757921] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready                                                                                                                 
[   31.150493] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.                                    
[   31.270506] br0: port 1(lan0) entered blocking state                                                                                                                                
[   31.282053] br0: port 1(lan0) entered disabled state                                                                                                                                
[   31.307766] device lan0 entered promiscuous mode
[   31.321776] device eth0 entered promiscuous mode
[   31.350560] mv88e6085 f1072004.mdio-mii:00 lan0: configuring for phy/gmii link mode
[   31.397929] br0: port 2(lan1) entered blocking state
[   31.410423] br0: port 2(lan1) entered disabled state
[   31.421562] device lan1 entered promiscuous mode
[   31.444969] mv88e6085 f1072004.mdio-mii:00 lan1: configuring for phy/gmii link mode
[   31.500471] br0: port 3(lan2) entered blocking state
[   31.510517] br0: port 3(lan2) entered disabled state
[   31.532365] device lan2 entered promiscuous mode
[   31.557377] mv88e6085 f1072004.mdio-mii:00 lan2: configuring for phy/gmii link mode
[   31.605288] br0: port 4(lan3) entered blocking state
[   31.610532] br0: port 4(lan3) entered disabled state
[   31.618055] device lan3 entered promiscuous mode
[   31.631136] mv88e6085 f1072004.mdio-mii:00 lan3: configuring for phy/gmii link mode
[   31.651282] IPv6: ADDRCONF(NETDEV_UP): br0: link is not ready
[  139.601023] random: crng init done
[  139.604462] random: 7 urandom warning(s) missed due to ratelimiting
[  139.621194] IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready
[  139.668151] mv88e6085 f1072004.mdio-mii:00 wan: configuring for phy/gmii link mode
[  139.676856] IPv6: ADDRCONF(NETDEV_UP): wan: link is not ready
[  143.873266] mv88e6085 f1072004.mdio-mii:00 wan: Link is Up - 1Gbps/Full - flow control rx/tx
[  143.881913] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready
Re: armada 370 (88f6710) mainline uboot support
March 23, 2019 04:51PM
wacke,

> I've booted up my box with this dts:
> // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> /*
> * Device Tree file for Marvell Armada 370
> Reference Design board
> * (RD-88F6710-A1)

Why do you choose this DTS? is it closer to your box than one you used before?

> I'm confusing about the 6171 switch's base
> address, my box must set to 0x0, but in the kernel
> document , it said that the 6171 switch used 0x10
> base address.

Do you have GPL source for this box? it is indeed a little bit strange. The EA4500 use 0x10. So either the Ref Manual or GPL source would be good to see why. Let me see if I can get a look at the manual.

I think running a Reference Board DTS is OK. But it will not be complete until you can add things that specific to your box.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: armada 370 (88f6710) mainline uboot support
March 23, 2019 07:48PM
Hi bodhi,
Unfortunately, there was no GPL source for my box. The oem system was a customized openwrt(AA) that build from marvell sdk.
The bootlog see: https://forum.archive.openwrt.org/viewtopic.php?id=50173&p=17#p237049
Re: armada 370 (88f6710) mainline uboot support
March 23, 2019 09:37PM
wacke,

> The oem system was a customized openwrt(AA) that
> build from marvell sdk.
> The bootlog see:
> https://forum.archive.openwrt.org/viewtopic.php?id=50173&p=17#p237049


Can you search the current OpenWrt forum for this user's posts

In the archive link https://forum.archive.openwrt.org/viewtopic.php?id=50173&p=17#p237049

This post seems to tell that linuxpro was active in upgrading the RT NAS V3:

Quote

Post #423
linuxpro
21 Jun 2014, 18:15

I wonder if he/she has made anymore progress.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: armada 370 (88f6710) mainline uboot support
March 23, 2019 10:46PM
Hi bodhi,
Acctully, I've contacted to his team member, and was told that there won't be any progress anymore, so I'm on my own now. The last info I got from him, was the openwrt cc system, I decompiled the dtb from that system (kernel image):

/dts-v1/;

/ {
	#address-cells = <0x1>;
	#size-cells = <0x1>;
	model = "RTNAS V3";
	compatible = "marvell,rtnas-v3","marvell,a370-rd", "marvell,armada370", "marvell,armada-370-xp";

	chosen {
		bootargs = "console=ttyS0,115200 earlyprintk";
	};

	aliases {
		eth0 = "/soc/internal-regs/ethernet@70000";
		eth1 = "/soc/internal-regs/ethernet@74000";
		gpio0 = "/soc/internal-regs/gpio@18100";
		gpio1 = "/soc/internal-regs/gpio@18140";
		gpio2 = "/soc/internal-regs/gpio@18180";
	};

	memory {
		device_type = "memory";
		reg = <0x0 0x20000000>;
	};

	cpus {
		#address-cells = <0x1>;
		#size-cells = <0x0>;

		cpu@0 {
			compatible = "marvell,sheeva-v7";
			device_type = "cpu";
			reg = <0x0>;
		};
	};

	soc {
		#address-cells = <0x2>;
		#size-cells = <0x1>;
		controller = <0x1>;
		interrupt-parent = <0x2>;
		pcie-mem-aperture = <0xf8000000 0x7e00000>;
		pcie-io-aperture = <0xffe00000 0x100000>;
		compatible = "marvell,armada370-mbus", "simple-bus";
		ranges = <0xf0010000 0x0 0xf1000000 0x100000 0x1e00000 0x0 0xfff00000 0x100000>;

		devbus-bootcs {
			compatible = "marvell,mvebu-devbus";
			reg = <0xf0010000 0x10400 0x8>;
			ranges = <0x0 0x12f0000 0x0 0xffffffff>;
			#address-cells = <0x1>;
			#size-cells = <0x1>;
			clocks = <0x3 0x0>;
			status = "disabled";
		};

		devbus-cs0 {
			compatible = "marvell,mvebu-devbus";
			reg = <0xf0010000 0x10408 0x8>;
			ranges = <0x0 0x13e0000 0x0 0xffffffff>;
			#address-cells = <0x1>;
			#size-cells = <0x1>;
			clocks = <0x3 0x0>;
			status = "disabled";
		};

		devbus-cs1 {
			compatible = "marvell,mvebu-devbus";
			reg = <0xf0010000 0x10410 0x8>;
			ranges = <0x0 0x13d0000 0x0 0xffffffff>;
			#address-cells = <0x1>;
			#size-cells = <0x1>;
			clocks = <0x3 0x0>;
			status = "disabled";
		};

		devbus-cs2 {
			compatible = "marvell,mvebu-devbus";
			reg = <0xf0010000 0x10418 0x8>;
			ranges = <0x0 0x13b0000 0x0 0xffffffff>;
			#address-cells = <0x1>;
			#size-cells = <0x1>;
			clocks = <0x3 0x0>;
			status = "disabled";
		};

		devbus-cs3 {
			compatible = "marvell,mvebu-devbus";
			reg = <0xf0010000 0x10420 0x8>;
			ranges = <0x0 0x1370000 0x0 0xffffffff>;
			#address-cells = <0x1>;
			#size-cells = <0x1>;
			clocks = <0x3 0x0>;
			status = "disabled";
		};

		internal-regs {
			compatible = "simple-bus";
			#address-cells = <0x1>;
			#size-cells = <0x1>;
			ranges = <0x0 0xf0010000 0x0 0x100000>;

			rtc@10300 {
				compatible = "marvell,orion-rtc";
				reg = <0x10300 0x20>;
				interrupts = <0x32>;
				status = "okay";
			};

			spi@10600 {
				compatible = "marvell,armada-370-spi", "marvell,orion-spi";
				reg = <0x10600 0x28>;
				#address-cells = <0x1>;
				#size-cells = <0x0>;
				cell-index = <0x0>;
				interrupts = <0x1e>;
				clocks = <0x3 0x0>;
				status = "disabled";
			};

			spi@10680 {
				compatible = "marvell,armada-370-spi", "marvell,orion-spi";
				reg = <0x10680 0x28>;
				#address-cells = <0x1>;
				#size-cells = <0x0>;
				cell-index = <0x1>;
				interrupts = <0x5c>;
				clocks = <0x3 0x0>;
				status = "disabled";
			};

			i2c@11000 {
				compatible = "marvell,mv64xxx-i2c";
				#address-cells = <0x1>;
				#size-cells = <0x0>;
				interrupts = <0x1f>;
				timeout-ms = <0x3e8>;
				clocks = <0x3 0x0>;
				status = "disabled";
				reg = <0x11000 0x20>;
			};

			i2c@11100 {
				compatible = "marvell,mv64xxx-i2c";
				#address-cells = <0x1>;
				#size-cells = <0x0>;
				interrupts = <0x20>;
				timeout-ms = <0x3e8>;
				clocks = <0x3 0x0>;
				status = "disabled";
				reg = <0x11100 0x20>;
			};

			serial@12000 {
				compatible = "snps,dw-apb-uart";
				reg = <0x12000 0x100>;
				reg-shift = <0x2>;
				interrupts = <0x29>;
				reg-io-width = <0x1>;
				clocks = <0x3 0x0>;
				status = "okay";
			};

			serial@12100 {
				compatible = "snps,dw-apb-uart";
				reg = <0x12100 0x100>;
				reg-shift = <0x2>;
				interrupts = <0x2a>;
				reg-io-width = <0x1>;
				clocks = <0x3 0x0>;
				status = "disabled";
			};

			pin-ctrl@18000 {
				reg = <0x18000 0x38>;
				compatible = "marvell,mv88f6710-pinctrl";

				sdio-pins1 {
					marvell,pins = "mpp9", "mpp11", "mpp12", "mpp13", "mpp14", "mpp15";
					marvell,function = "sd0";
				};

				sdio-pins2 {
					marvell,pins = "mpp47", "mpp48", "mpp49", "mpp50", "mpp51", "mpp52";
					marvell,function = "sd0";
				};

				sdio-pins3 {
					marvell,pins = "mpp48", "mpp49", "mpp50", "mpp51", "mpp52", "mpp53";
					marvell,function = "sd0";
				};

				i2c0-pins {
					marvell,pins = "mpp2", "mpp3";
					marvell,function = "i2c0";
				};

				i2s-pins1 {
					marvell,pins = "mpp5", "mpp6", "mpp7", "mpp8", "mpp9", "mpp10", "mpp12", "mpp13";
					marvell,function = "audio";
				};

				i2s-pins2 {
					marvell,pins = "mpp49", "mpp47", "mpp50", "mpp59", "mpp57", "mpp61", "mpp62", "mpp60", "mpp58";
					marvell,function = "audio";
				};

				mdio-pins {
					marvell,pins = "mpp17", "mpp18";
					marvell,function = "ge";
				};

				ge0-rgmii-pins {
					marvell,pins = "mpp5", "mpp6", "mpp7", "mpp8", "mpp9", "mpp10", "mpp11", "mpp12", "mpp13", "mpp14", "mpp15", "mpp16";
					marvell,function = "ge0";
				};

				ge1-rgmii-pins {
					marvell,pins = "mpp19", "mpp20", "mpp21", "mpp22", "mpp23", "mpp24", "mpp25", "mpp26", "mpp27", "mpp28", "mpp29", "mpp30";
					marvell,function = "ge1";
					linux,phandle = <0x6>;
					phandle = <0x6>;
				};

				fan-pins {
					marvell,pins = "mpp10";
					marvell,function = "gpio";
					linux,phandle = <0x9>;
					phandle = <0x9>;
				};

				led-pins {
					marvell,pins = "mpp62";
					marvell,function = "gpio";
					linux,phandle = <0xa>;
					phandle = <0xa>;
				};
			};

			corediv-clock@18740 {
				compatible = "marvell,armada-370-corediv-clock";
				reg = <0x18740 0xc>;
				#clock-cells = <0x1>;
				clocks = <0x4>;
				clock-output-names = "nand";
				linux,phandle = <0x7>;
				phandle = <0x7>;
			};

			mbus-controller@20000 {
				compatible = "marvell,mbus-controller";
				reg = <0x20000 0x100 0x20180 0x20>;
				linux,phandle = <0x1>;
				phandle = <0x1>;
			};

			interrupt-controller@20000 {
				compatible = "marvell,mpic";
				#interrupt-cells = <0x1>;
				#size-cells = <0x1>;
				interrupt-controller;
				msi-controller;
				reg = <0x20a00 0x1d0 0x21870 0x58>;
				linux,phandle = <0x2>;
				phandle = <0x2>;
			};

			coherency-fabric@20200 {
				compatible = "marvell,coherency-fabric";
				reg = <0x20200 0xb0 0x21010 0x1c>;
			};

			timer@20300 {
				reg = <0x20300 0x30 0x21040 0x30>;
				interrupts = <0x25 0x26 0x27 0x28 0x5 0x6>;
				compatible = "marvell,armada-370-timer";
				clocks = <0x3 0x2>;
			};

			watchdog@20300 {
				reg = <0x20300 0x34 0x20704 0x4>;
				compatible = "marvell,armada-370-wdt";
				clocks = <0x3 0x2>;
			};

			pmsu@22000 {
				compatible = "marvell,armada-370-pmsu";
				reg = <0x22000 0x1000>;
			};

			usb@50000 {
				compatible = "marvell,orion-ehci";
				reg = <0x50000 0x500>;
				interrupts = <0x2d>;
				status = "okay";
				clocks = <0x3 0x0>;
			};

			usb@51000 {
				compatible = "marvell,orion-ehci";
				reg = <0x51000 0x500>;
				interrupts = <0x2e>;
				status = "okay";
				clocks = <0x3 0x0>;
			};

			ethernet@70000 {
				reg = <0x70000 0x4000>;
				interrupts = <0x8>;
				clocks = <0x5 0x4>;
				status = "disabled";
				compatible = "marvell,armada-370-neta";
			};

			mdio {
				#address-cells = <0x1>;
				#size-cells = <0x0>;
				compatible = "marvell,orion-mdio";
				reg = <0x72004 0x4>;
				clocks = <0x5 0x4>;
				linux,phandle = <0xc>;
				phandle = <0xc>;
			};

			ethernet@74000 {
				reg = <0x74000 0x4000>;
				interrupts = <0xa>;
				clocks = <0x5 0x3>;
				status = "okay";
				compatible = "marvell,armada-370-neta";
				pinctrl-0 = <0x6>;
				pinctrl-names = "default";
				phy-mode = "rgmii-id";

				fixed-link {
					speed = <0x3e8>;
					full-duplex;
				};
			};

			sata@a0000 {
				compatible = "marvell,armada-370-sata";
				reg = <0xa0000 0x5000>;
				interrupts = <0x37>;
				clocks = <0x5 0xf 0x5 0x1e>;
				clock-names = <0x30003100>;
				status = "okay";
				nr-ports = <0x2>;
			};

			nand@d0000 {
				compatible = "marvell,armada370-nand";
				reg = <0xd0000 0x54>;
				#address-cells = <0x1>;
				#size-cells = <0x1>;
				interrupts = <0x71>;
				clocks = <0x7 0x0>;
				status = "okay";
				num-cs = <0x2>;
				marvell,nand-keep-config;
				marvell,nand-enable-arbiter;
				nand-on-flash-bbt;
				nand-ecc-strength = <0x4>;
				nand-ecc-step-size = <0x200>;

				partition@0 {
					label = "u-boot";
					reg = <0x0 0x400000>;
				};

				partition@400000 {
					label = "uboot_env";
					reg = <0x400000 0x400000>;
				};

				partition@800000 {
					label = "vendor";
					reg = <0x800000 0x400000>;
				};

				partition@c00000 {
					label = "unused";
					reg = <0xc00000 0xc00000>;
				};

				partition@1800000 {
					label = "kernel";
					reg = <0x1800000 0x400000>;
				};

				partition@1c00000 {
					label = "ubi";
					reg = <0x1c00000 0x3e400000>;
				};

				partition@40000000 {
					label = "syscfg";
					reg = <0x40000000 0xbbc00000>;
				};
			};

			mvsdio@d4000 {
				compatible = "marvell,orion-sdio";
				reg = <0xd4000 0x200>;
				interrupts = <0x36>;
				clocks = <0x5 0x11>;
				bus-width = <0x4>;
				cap-sdio-irq;
				cap-sd-highspeed;
				cap-mmc-highspeed;
				status = "disabled";
			};

			l2-cache {
				compatible = "marvell,aurora-outer-cache";
				reg = <0x8000 0x1000>;
				cache-id-part = <0x100>;
				cache-unified;
				wt-override;
			};

			gpio@18100 {
				compatible = "marvell,orion-gpio";
				reg = <0x18100 0x40 0x181c0 0x8>;
				reg-names = "gpio", "pwm";
				ngpios = <0x20>;
				gpio-controller;
				#gpio-cells = <0x2>;
				#pwm-cells = <0x2>;
				interrupt-controller;
				#interrupt-cells = <0x2>;
				interrupts = <0x52 0x53 0x54 0x55>;
				clocks = <0x3 0x0>;
				linux,phandle = <0x8>;
				phandle = <0x8>;
			};

			gpio@18140 {
				compatible = "marvell,orion-gpio";
				reg = <0x18140 0x40 0x181c8 0x8>;
				reg-names = "gpio", "pwm";
				ngpios = <0x20>;
				gpio-controller;
				#gpio-cells = <0x2>;
				#pwm-cells = <0x2>;
				interrupt-controller;
				#interrupt-cells = <0x2>;
				interrupts = <0x57 0x58 0x59 0x5a>;
				clocks = <0x3 0x0>;
				linux,phandle = <0xb>;
				phandle = <0xb>;
			};

			gpio@18180 {
				compatible = "marvell,orion-gpio";
				reg = <0x18180 0x40>;
				ngpios = <0x2>;
				gpio-controller;
				#gpio-cells = <0x2>;
				interrupt-controller;
				#interrupt-cells = <0x2>;
				interrupts = <0x5b>;
			};

			system-controller@18200 {
				compatible = "marvell,armada-370-xp-system-controller";
				reg = <0x18200 0x100>;
			};

			clock-gating-control@18220 {
				compatible = "marvell,armada-370-gating-clock";
				reg = <0x18220 0x4>;
				clocks = <0x3 0x0>;
				#clock-cells = <0x1>;
				linux,phandle = <0x5>;
				phandle = <0x5>;
			};

			mvebu-sar@18230 {
				compatible = "marvell,armada-370-core-clock";
				reg = <0x18230 0x8>;
				#clock-cells = <0x1>;
				linux,phandle = <0x3>;
				phandle = <0x3>;
			};

			thermal@18300 {
				compatible = "marvell,armada370-thermal";
				reg = <0x18300 0x4 0x18304 0x4>;
				status = "okay";
			};

			sscg@18330 {
				reg = <0x18330 0x4>;
			};

			cpurst@20800 {
				compatible = "marvell,armada-370-cpu-reset";
				reg = <0x20800 0x8>;
			};

			audio-controller@30000 {
				compatible = "marvell,armada370-audio";
				reg = <0x30000 0x4000>;
				interrupts = <0x5d>;
				clocks = <0x5 0x0>;
				clock-names = "internal";
				status = "disabled";
			};

			xor@60800 {
				compatible = "marvell,orion-xor";
				reg = <0x60800 0x100 0x60a00 0x100>;
				status = "okay";

				xor00 {
					interrupts = <0x33>;
					dmacap,memcpy;
					dmacap,xor;
				};

				xor01 {
					interrupts = <0x34>;
					dmacap,memcpy;
					dmacap,xor;
					dmacap,memset;
				};
			};

			xor@60900 {
				compatible = "marvell,orion-xor";
				reg = <0x60900 0x100 0x60b00 0x100>;
				status = "okay";

				xor10 {
					interrupts = <0x5e>;
					dmacap,memcpy;
					dmacap,xor;
				};

				xor11 {
					interrupts = <0x5f>;
					dmacap,memcpy;
					dmacap,xor;
					dmacap,memset;
				};
			};

			gpio-keys {
				compatible = "gpio-keys";
				#address-cells = <0x1>;
				#size-cells = <0x0>;

				button@1 {
					label = "Software Button";
					linux,code = <0x74>;
					gpios = <0x8 0x6 0x1>;
				};
			};

			gpio-fan {
				compatible = "gpio-fan";
				gpios = <0x8 0x8 0x0>;
				gpio-fan,speed-map = <0x0 0x0 0xbb8 0x1>;
				pinctrl-0 = <0x9>;
				pinctrl-names = "default";
			};

			gpio_leds {
				compatible = "gpio-leds";
				pinctrl-names = "default";
				pinctrl-0 = <0xa>;

				sw_led {
					label = "370rd:green:sw";
					gpios = <0xb 0x0 0x1>;
					default-state = "keep";
				};
			};
		};

		bootrom {
			compatible = "marvell,bootrom";
			reg = <0x1e00000 0x0 0x100000>;
		};

		pcie-controller {
			compatible = "marvell,armada-370-pcie";
			status = "okay";
			device_type = "pci";
			#address-cells = <0x3>;
			#size-cells = <0x2>;
			msi-parent = <0x2>;
			bus-range = <0x0 0xff>;
			ranges = <0x82000000 0x0 0x40000 0xf0010000 0x40000 0x0 0x2000 0x82000000 0x0 0x80000 0xf0010000 0x80000 0x0 0x2000 0x82000000 0x1 0x0 0x4e80000 0x0 0x1 0x0 0x81000000 0x1 0x0 0x4e00000 0x0 0x1 0x0 0x82000000 0x2 0x0 0x8e80000 0x0 0x1 0x0 0x81000000 0x2 0x0 0x8e00000 0x0 0x1 0x0>;

			pcie@1,0 {
				device_type = "pci";
				assigned-addresses = <0x82000800 0x0 0x40000 0x0 0x2000>;
				reg = <0x800 0x0 0x0 0x0 0x0>;
				#address-cells = <0x3>;
				#size-cells = <0x2>;
				#interrupt-cells = <0x1>;
				ranges = <0x82000000 0x0 0x0 0x82000000 0x1 0x0 0x1 0x0 0x81000000 0x0 0x0 0x81000000 0x1 0x0 0x1 0x0>;
				interrupt-map-mask = <0x0 0x0 0x0 0x0>;
				interrupt-map = <0x0 0x0 0x0 0x0 0x2 0x3a>;
				marvell,pcie-port = <0x0>;
				marvell,pcie-lane = <0x0>;
				clocks = <0x5 0x5>;
				status = "okay";
			};

			pcie@2,0 {
				device_type = "pci";
				assigned-addresses = <0x82002800 0x0 0x80000 0x0 0x2000>;
				reg = <0x1000 0x0 0x0 0x0 0x0>;
				#address-cells = <0x3>;
				#size-cells = <0x2>;
				#interrupt-cells = <0x1>;
				ranges = <0x82000000 0x0 0x0 0x82000000 0x2 0x0 0x1 0x0 0x81000000 0x0 0x0 0x81000000 0x2 0x0 0x1 0x0>;
				interrupt-map-mask = <0x0 0x0 0x0 0x0>;
				interrupt-map = <0x0 0x0 0x0 0x0 0x2 0x3e>;
				marvell,pcie-port = <0x1>;
				marvell,pcie-lane = <0x0>;
				clocks = <0x5 0x9>;
				status = "okay";
			};
		};
	};

	clocks {
		mainpll {
			compatible = "fixed-clock";
			#clock-cells = <0x0>;
			clock-frequency = <0x77359400>;
			linux,phandle = <0x4>;
			phandle = <0x4>;
		};
	};

	mvsw61xx {
		compatible = "marvell,mv88e6085";
		status = "okay";
		reg = <0x10>;
		mii-bus = <0xc>;
		cpu-port-0 = <0x5>;
		cpu-port-1 = <0x6>;
		is-indirect;
	};
};
Re: armada 370 (88f6710) mainline uboot support
March 23, 2019 11:31PM
wacke,

I see. This does not help. linuxpro's version is the old approach that does not fully activate the DSA switch the way we want it.

mvsw61xx {
		compatible = "marvell,mv88e6085";
		status = "okay";
		reg = <0x10>;
		mii-bus = <0xc>;
		cpu-port-0 = <0x5>;
		cpu-port-1 = <0x6>;
		is-indirect;
	};


The OpenWrt Linksys EA4500 switch definition in DTS is what we want. I am using that version and the switch works well (the changes I made was cosmetic only).

What you are using from the Reference Board is also good (basically the same as EA4500).

Quote

* Copied from arch/arm/boot/dts/armada-370-db.dts
*
* Copyright (C) 2013 Florian Fainelli <florian@openwrt.org>


So I am not sure what we can do here for the RT NAS V3. It looks like something is slowing it down, but it should not. My benchmark for EA4500 proved that.

-bodhi
===========================
Forum Wiki
bodhi's corner
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: