Skip to content

Instantly share code, notes, and snippets.

@voltagex
Last active November 27, 2022 11:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save voltagex/1dae7c0bf153c76a49bea407f932be69 to your computer and use it in GitHub Desktop.
Save voltagex/1dae7c0bf153c76a49bea407f932be69 to your computer and use it in GitHub Desktop.
MochaBin 5G
https://github.com/MarvellEmbeddedProcessors/atf-marvell/commit/e8c3b07f1f7d7e7ddd9c457a19d510a0a9c87df9
BootROM - 2.03
Starting CP-0 IOROM 1.07
Booting from SPI NOR flash 1 (0x32)
Found valid image at boot postion 0x000
lmv_ddr: mv_ddr-devel-18.12.0-g41927ee (Sep 05 2022 - 14:40:38)
mv_ddr: completed successfully
BL2: Initiating SCP_BL2 transfer to SCP
U-Boot 2018.03-devel-18.12.3-gb794de0054 (Sep 05 2022 - 14:38:22 +0800)
Model: Marvell Armada 7040 Mochabin development board
SoC: Armada7040-B0; AP806-B0; CP115-A0
Clock: CPU 1400 [MHz]
DDR 800 [MHz]
FABRIC 800 [MHz]
MSS 200 [MHz]
LLC Enabled (Exclusive Mode)
DRAM: 8 GiB
Bus spi@700680 CS0 configured for direct access 00000000f9000000:0x1000000
SF: Detected w25q32bv with page size 256 Bytes, erase size 4 KiB, total 4 MiB
Comphy chip #0:
Comphy-0: SGMII1 3.125 Gbps
Comphy-1: USB3_HOST0
Comphy-2: SATA0
Comphy-3: SATA1
Comphy-4: SFI0 10.3125 Gbps
Comphy-5: PEX2
UTMI PHY 0 initialized to USB Host0
UTMI PHY 1 initialized to USB Host1
SATA link 0 timeout.
SATA link 1 timeout.
AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
flags: 64bit ncq led only pmp fbss pio slum part sxs
PCIE-0: Link down
MMC: sdhci@6e0000: 0
Loading Environment from SPI Flash... OK
Model: Marvell Armada 7040 Mochabin development board
Net: eth0: mvpp2-0 [PRIME], eth1: mvpp2-1, eth2: mvpp2-2
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0(part 0) is current device
16589312 bytes read in 1222 ms (12.9 MiB/s)
23512 bytes read in 8 ms (2.8 MiB/s)
## Flattened Device Tree blob at 06f00000
Booting using the fdt blob at 0x6f00000
Using Device Tree in place at 0000000006f00000, end 0000000006f08bd7
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd081]
[ 0.000000] Linux version 5.4.163-00034-ga7e9e3c22288 (gti@ubuntu) (gcc versi on 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f9 1977701] (Linaro GCC 7.3-2018.05)) #1 SMP PREEMPT Mon Aug 29 10:38:30 CST 2022
[ 0.000000] Machine model: Globalscale MOCHAbin Development Board
[ 0.000000] earlycon: uart8250 at MMIO32 0x00000000f0512000 (options '')
[ 0.000000] printk: bootconsole [uart8250] enabled
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 64 MiB at 0x00000000bc000000
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000000023fffffff ]
[ 0.000000] NUMA: NODE_DATA [mem 0x23efd7800-0x23efd8fff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000000000000-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x000000023fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] node 0: [mem 0x0000000004200000-0x00000000bfffffff]
[ 0.000000] node 0: [mem 0x0000000100000000-0x000000023fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000023fffffff]
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.1
[ 0.000000] percpu: Embedded 22 pages/cpu s52632 r8192 d29288 u90112
[ 0.000000] Detected PIPT I-cache on CPU0
[ 0.000000] CPU features: detected: EL2 vector hardening
[ 0.000000] CPU features: detected: Branch predictor hardening
[ 0.000000] Speculative Store Bypass Disable mitigation not required
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 2063880
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line: console=ttyS0,115200 earlycon=uart8250,mmio3 2,0xf0512000 root=PARTUUID=89708921-01 rw rootwait net.ifnames=0 biosdevname=0
[ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 byte s, linear)
[ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0xb8000000-0xbc000000] (64MB)
[ 0.000000] Memory: 8078180K/8386560K available (10236K kernel code, 648K rwd ata, 3476K rodata, 1792K init, 407K bss, 242844K reserved, 65536K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jif fies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GIC: Adjusting CPU interface base to 0x00000000f022f000
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:160, num:32)
[ 0.000000] GICv2m: range[mem 0xf0280000-0xf0280fff], SPI[160:191]
[ 0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:192, num:32)
[ 0.000000] GICv2m: range[mem 0xf0290000-0xf0290fff], SPI[192:223]
[ 0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:224, num:32)
[ 0.000000] GICv2m: range[mem 0xf02a0000-0xf02a0fff], SPI[224:255]
[ 0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:256, num:32)
[ 0.000000] GICv2m: range[mem 0xf02b0000-0xf02b0fff], SPI[256:287]
[ 0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x448 wit h crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 25.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns
[ 0.000002] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 43980 46511100ns
[ 0.008581] Console: colour dummy device 80x25
[ 0.013330] Calibrating delay loop (skipped), value calculated using timer fr equency.. 50.00 BogoMIPS (lpj=100000)
[ 0.024250] pid_max: default: 32768 minimum: 301
[ 0.029196] LSM: Security Framework initializing
[ 0.034132] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, li near)
[ 0.042234] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 byte s, linear)
[ 0.051484] ASID allocator initialised with 32768 entries
[ 0.057282] rcu: Hierarchical SRCU implementation.
[ 0.062510] EFI services will not be available.
[ 0.067458] smp: Bringing up secondary CPUs ...
[ 0.072635] Detected PIPT I-cache on CPU1
[ 0.072674] CPU1: Booted secondary processor 0x0000000001 [0x410fd081]
[ 0.073076] Detected PIPT I-cache on CPU2
[ 0.073104] CPU2: Booted secondary processor 0x0000000100 [0x410fd081]
[ 0.073518] Detected PIPT I-cache on CPU3
[ 0.073537] CPU3: Booted secondary processor 0x0000000101 [0x410fd081]
[ 0.073582] smp: Brought up 1 node, 4 CPUs
[ 0.111285] SMP: Total of 4 processors activated.
[ 0.116248] CPU features: detected: 32-bit EL0 Support
[ 0.121679] CPU features: detected: CRC32 instructions
[ 0.136110] CPU: All CPU(s) started at EL2
[ 0.140481] alternatives: patching kernel code
[ 0.146459] devtmpfs: initialized
[ 0.152192] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma x_idle_ns: 7645041785100000 ns
[ 0.162548] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.170623] pinctrl core: initialized pinctrl subsystem
[ 0.176402] DMI not present or invalid.
[ 0.180627] NET: Registered protocol family 16
[ 0.186023] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.192458] audit: initializing netlink subsys (disabled)
[ 0.198292] audit: type=2000 audit(0.132:1): state=initialized audit_enabled= 0 res=1
[ 0.206517] cpuidle: using governor menu
[ 0.210760] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.224950] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.232070] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.239150] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.246229] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.253965] cryptd: max_cpu_qlen set to 1000
[ 0.259560] ACPI: Interpreter disabled.
[ 0.263939] iommu: Default domain type: Translated
[ 0.269218] vgaarb: loaded
[ 0.272210] SCSI subsystem initialized
[ 0.276349] usbcore: registered new interface driver usbfs
[ 0.282163] usbcore: registered new interface driver hub
[ 0.287837] usbcore: registered new device driver usb
[ 0.293416] pps_core: LinuxPPS API ver. 1 registered
[ 0.298666] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome tti <giometti@linux.it>
[ 0.308301] PTP clock support registered
[ 0.312472] EDAC MC: Ver: 3.0.0
[ 0.316409] clocksource: Switched to clocksource arch_sys_counter
[ 0.322930] VFS: Disk quotas dquot_6.6.0
[ 0.327081] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.334432] pnp: PnP ACPI: disabled
[ 0.341279] thermal_sys: Registered thermal governor 'step_wise'
[ 0.341282] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.348091] NET: Registered protocol family 2
[ 0.360086] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, li near)
[ 0.370176] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 6553 6 bytes, linear)
[ 0.379297] TCP established hash table entries: 65536 (order: 7, 524288 bytes , linear)
[ 0.387916] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, line ar)
[ 0.396355] TCP: Hash tables configured (established 65536 bind 65536)
[ 0.403343] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 0.410677] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear )
[ 0.418498] NET: Registered protocol family 1
[ 0.423414] RPC: Registered named UNIX socket transport module.
[ 0.429677] RPC: Registered udp transport module.
[ 0.434655] RPC: Registered tcp transport module.
[ 0.439607] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.446465] PCI: CLS 0 bytes, default 64
[ 0.450959] hw perfevents: unable to count PMU IRQs
[ 0.456135] hw perfevents: /ap806/config-space@f0000000/pmu: failed to regist er PMU devices!
[ 0.465139] kvm [1]: IPA Size Limit: 44 bits
[ 0.469975] kvm [1]: vgic interrupt IRQ1
[ 0.474210] kvm [1]: Hyp mode initialized successfully
[ 0.481854] Initialise system trusted keyrings
[ 0.486613] workingset: timestamp_bits=44 max_order=21 bucket_order=0
[ 0.496657] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.503182] NFS: Registering the id_resolver key type
[ 0.508540] Key type id_resolver registered
[ 0.512962] Key type id_legacy registered
[ 0.517195] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.524257] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering ...
[ 0.532187] 9p: Installing v9fs 9p2000 file system support
[ 0.547812] Key type asymmetric registered
[ 0.552166] Asymmetric key parser 'x509' registered
[ 0.557311] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2 45)
[ 0.565125] io scheduler mq-deadline registered
[ 0.569876] io scheduler kyber registered
[ 0.575648] armada-ap806-pinctrl f06f4000.system-controller:pinctrl: register ed pinctrl driver
[ 0.585209] armada-cp110-pinctrl f2440000.system-controller:pinctrl: register ed pinctrl driver
[ 0.595509] EINJ: ACPI disabled.
[ 0.600374] mv_xor_v2 f0400000.xor: Marvell Version 2 XOR driver
[ 0.607020] mv_xor_v2 f0420000.xor: Marvell Version 2 XOR driver
[ 0.613738] mv_xor_v2 f0440000.xor: Marvell Version 2 XOR driver
[ 0.620430] mv_xor_v2 f0460000.xor: Marvell Version 2 XOR driver
[ 0.627229] mv_xor_v2 f26a0000.xor: Marvell Version 2 XOR driver
[ 0.633921] mv_xor_v2 f26c0000.xor: Marvell Version 2 XOR driver
[ 0.641812] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.649172] printk: console [ttyS0] disabled
[ 0.673812] f0512000.serial: ttyS0 at MMIO 0xf0512000 (irq = 8, base_baud = 1 2500000) is a 16550A
[ 0.683194] printk: console [ttyS0] enabled
[ 0.683194] printk: console [ttyS0] enabled
[ 0.691807] printk: bootconsole [uart8250] disabled
[ 0.691807] printk: bootconsole [uart8250] disabled
[ 0.722436] f2702000.serial: ttyS1 at MMIO 0xf2702000 (irq = 17, base_baud = 15625000) is a 16550A
[ 0.731975] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 0.738472] brd: module loaded
[ 0.745538] loop: module loaded
[ 0.748986] ahci f2540000.sata: f2540000.sata supply ahci not found, using du mmy regulator
[ 0.757331] ahci f2540000.sata: f2540000.sata supply phy not found, using dum my regulator
[ 0.765722] platform f2540000.sata:sata-port@0: f2540000.sata:sata-port@0 sup ply target not found, using dummy regulator
[ 0.777748] spi-nor spi2.0: w25q32 (4096 Kbytes)
[ 0.782545] 3 fixed-partitions partitions found on MTD device spi2.0
[ 0.788948] Creating 3 MTD partitions on "spi2.0":
[ 0.793771] 0x000000000000-0x0000003e0000 : "u-boot"
[ 0.800826] 0x0000003e0000-0x0000003f0000 : "hw-info"
[ 0.808827] 0x0000003f0000-0x000000400000 : "u-boot-env"
[ 0.817165] libphy: Fixed MDIO Bus: probed
[ 0.821438] tun: Universal TUN/TAP device driver, 1.6
[ 0.826616] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[ 0.832484] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 0.838455] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
[ 0.845451] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 0.851065] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[ 0.858932] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 0.864986] orion-mdio f212a200.mdio: IRQ index 0 not found
[ 0.870634] libphy: orion_mdio_bus: probed
[ 0.875605] mv88e6085 f212a200.mdio-mii:03: switch 0x3400 detected: Marvell 8 8E6141, revision 0
[ 0.897734] libphy: mdio: probed
[ 0.928116] mvpp2 f2000000.ethernet: using 8 per-cpu buffers
[ 0.942975] VFIO - User Level meta-driver version: 0.3
[ 0.948564] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.955126] ehci-pci: EHCI PCI platform driver
[ 0.959608] ehci-platform: EHCI generic platform driver
[ 0.964960] ehci-orion: EHCI orion driver
[ 0.969049] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.975272] ohci-pci: OHCI PCI platform driver
[ 0.979753] ohci-platform: OHCI generic platform driver
[ 0.985347] xhci-hcd f2510000.usb3: xHCI Host Controller
[ 0.990701] xhci-hcd f2510000.usb3: new USB bus registered, assigned bus numb er 1
[ 0.998295] xhci-hcd f2510000.usb3: hcc params 0x0a000990 hci version 0x100 q uirks 0x0000000000010010
[ 1.007587] xhci-hcd f2510000.usb3: irq 19, io mem 0xf2510000
[ 1.013737] hub 1-0:1.0: USB hub found
[ 1.017527] hub 1-0:1.0: 1 port detected
[ 1.021612] xhci-hcd f2510000.usb3: xHCI Host Controller
[ 1.026978] xhci-hcd f2510000.usb3: new USB bus registered, assigned bus numb er 2
[ 1.034503] xhci-hcd f2510000.usb3: Host supports USB 3.0 SuperSpeed
[ 1.040916] usb usb2: We don't know the algorithms for LPM for this host, dis abling LPM.
[ 1.049267] hub 2-0:1.0: USB hub found
[ 1.053056] hub 2-0:1.0: 1 port detected
[ 1.057220] usbcore: registered new interface driver cdc_acm
[ 1.062913] cdc_acm: USB Abstract Control Model driver for USB modems and ISD N adapters
[ 1.070970] usbcore: registered new interface driver cdc_wdm
[ 1.076691] usbcore: registered new interface driver usb-storage
[ 1.083122] armada38x-rtc f2284000.rtc: registered as rtc0
[ 1.088703] i2c /dev entries driver
[ 1.107603] sdhci: Secure Digital Host Controller Interface driver
[ 1.113829] sdhci: Copyright(c) Pierre Ossman
[ 1.118252] Synopsys Designware Multimedia Card Interface Driver
[ 1.124350] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.155514] mmc0: SDHCI controller on f06e0000.sdhci [f06e0000.sdhci] using A DMA 64-bit
[ 1.164829] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.171248] usbcore: registered new interface driver usbhid
[ 1.176883] usbhid: USB HID core driver
[ 1.181231] NET: Registered protocol family 10
[ 1.186099] Segment Routing with IPv6
[ 1.189834] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.196036] NET: Registered protocol family 17
[ 1.200561] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 1.213753] 9pnet: Installing 9P2000 support
[ 1.218077] Key type dns_resolver registered
[ 1.222565] registered taskstats version 1
[ 1.226688] Loading compiled-in X.509 certificates
[ 1.233392] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counte rs available
[ 1.243146] armada8k-pcie f2640000.pcie: host bridge /cp0/pcie@f2640000 range s:
[ 1.250518] armada8k-pcie f2640000.pcie: IO 0xf9020000..0xf902ffff -> 0xf9 020000
[ 1.258219] armada8k-pcie f2640000.pcie: MEM 0xc0000000..0xefffffff -> 0xc0 000000
[ 1.276095] mmc0: new high speed MMC card at address 0001
[ 1.281875] mmcblk0: mmc0:0001 DF4016 14.7 GiB
[ 1.286629] mmcblk0boot0: mmc0:0001 DF4016 partition 1 4.00 MiB
[ 1.292773] mmcblk0boot1: mmc0:0001 DF4016 partition 2 4.00 MiB
[ 1.298828] mmcblk0rpmb: mmc0:0001 DF4016 partition 3 4.00 MiB, chardev (243: 0)
[ 1.307772] mmcblk0: p1
[ 2.266054] armada8k-pcie f2640000.pcie: Phy link never came up
[ 2.272016] armada8k-pcie f2640000.pcie: Link not up after reconfiguration
[ 2.278999] armada8k-pcie f2640000.pcie: PCI host bridge to bus 0000:00
[ 2.285650] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 2.291165] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] (bus addre ss [0xf9020000-0xf902ffff])
[ 2.300691] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xefffffff]
[ 2.307616] pci 0000:00:00.0: [11ab:0110] type 01 class 0x060400
[ 2.313673] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[ 2.320033] pci 0000:00:00.0: supports D1 D2
[ 2.324326] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 2.331742] pci 0000:00:00.0: BAR 0: assigned [mem 0xc0000000-0xc00fffff]
[ 2.338574] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 2.907291] pcieport 0000:00:00.0: PME: Signaling with IRQ 33
[ 2.913203] pcieport 0000:00:00.0: AER: enabled with IRQ 33
[ 2.919000] ahci f2540000.sata: f2540000.sata supply ahci not found, using dummy regulator
[ 2.927352] ahci f2540000.sata: f2540000.sata supply phy not found, using dummy regulator
[ 2.935623] platform f2540000.sata:sata-port@0: f2540000.sata:sata-port@0 supply target not found, using dummy regulator
[ 2.946746] platform f2540000.sata:sata-port@1: f2540000.sata:sata-port@1 supply target not found, using dummy regulator
[ 2.959875] ahci f2540000.sata: masking port_map 0x3 -> 0x3
[ 2.965523] ahci f2540000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[ 2.974092] ahci f2540000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[ 2.982899] scsi host0: ahci
[ 2.986060] scsi host1: ahci
[ 2.989063] ata1: SATA max UDMA/133 mmio [mem 0xf2540000-0xf256ffff] port 0x100 irq 34
[ 2.997021] ata2: SATA max UDMA/133 mmio [mem 0xf2540000-0xf256ffff] port 0x180 irq 34
[ 3.005127] libphy: SFP I2C Bus: probed
[ 3.009150] libphy: SFP I2C Bus: probed
[ 3.013365] mv88e6085 f212a200.mdio-mii:03: switch 0x3400 detected: Marvell 88E6141, revision 0
[ 3.033782] libphy: mdio: probed
[ 3.059289] mvpp2 f2000000.ethernet: using 8 per-cpu buffers
[ 3.077669] mvpp2 f2000000.ethernet eth0: Using firmware node mac address f0:ad:4e:28:9d:7e
[ 3.087848] mvpp2 f2000000.ethernet eth1: Using firmware node mac address f0:ad:4e:28:9d:7f
[ 3.098019] mvpp2 f2000000.ethernet eth2: Using firmware node mac address f0:ad:4e:28:9d:80
[ 3.131086] xhci-hcd f2500000.usb3: xHCI Host Controller
[ 3.136442] xhci-hcd f2500000.usb3: new USB bus registered, assigned bus number 3
[ 3.144037] xhci-hcd f2500000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[ 3.153331] xhci-hcd f2500000.usb3: irq 18, io mem 0xf2500000
[ 3.159516] hub 3-0:1.0: USB hub found
[ 3.163306] hub 3-0:1.0: 1 port detected
[ 3.167379] xhci-hcd f2500000.usb3: xHCI Host Controller
[ 3.172724] xhci-hcd f2500000.usb3: new USB bus registered, assigned bus number 4
[ 3.180250] xhci-hcd f2500000.usb3: Host supports USB 3.0 SuperSpeed
[ 3.186663] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 3.195027] hub 4-0:1.0: USB hub found
[ 3.198816] hub 4-0:1.0: 1 port detected
[ 3.203018] pca953x 0-0039: 0-0039 supply vcc not found, using dummy regulator
[ 3.210311] pca953x 0-0039: using no AI
[ 3.216105] libphy: SFP I2C Bus: probed
[ 3.220946] sfp sfp-eth0: Host maximum power 1.0W
[ 3.230520] libphy: SFP I2C Bus: probed
[ 3.235346] sfp sfp-eth2: Host maximum power 1.0W
[ 3.250695] mv88e6085 f212a200.mdio-mii:03: switch 0x3400 detected: Marvell 88E6141, revision 0
[ 3.271085] libphy: mdio: probed
[ 3.318623] ata1: SATA link down (SStatus 0 SControl 300)
[ 3.324082] ata2: SATA link down (SStatus 0 SControl 300)
[ 3.424417] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[ 3.577075] hub 3-1:1.0: USB hub found
[ 3.580909] hub 3-1:1.0: 4 ports detected
[ 3.704439] usb 4-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[ 3.729126] hub 4-1:1.0: USB hub found
[ 3.732927] hub 4-1:1.0: 4 ports detected
[ 3.927932] mv88e6085 f212a200.mdio-mii:03 lan0 (uninitialized): PHY [!cp0!config-space@f2000000!mdio@12a200!switch0@1!mdio:11] driver [Marvell 88E6341 Family]
[ 3.945926] mv88e6085 f212a200.mdio-mii:03 lan1 (uninitialized): PHY [!cp0!config-space@f2000000!mdio@12a200!switch0@1!mdio:12] driver [Marvell 88E6341 Family]
[ 3.963820] mv88e6085 f212a200.mdio-mii:03 lan2 (uninitialized): PHY [!cp0!config-space@f2000000!mdio@12a200!switch0@1!mdio:13] driver [Marvell 88E6341 Family]
[ 3.981707] mv88e6085 f212a200.mdio-mii:03 lan3 (uninitialized): PHY [!cp0!config-space@f2000000!mdio@12a200!switch0@1!mdio:14] driver [Marvell 88E6341 Family]
[ 4.002854] mv88e6085 f212a200.mdio-mii:03: configuring for inband/2500base-x link mode
[ 4.024101] mvpp2 f2000000.ethernet: all ports have a low MTU, switching to per-cpu buffers
[ 4.050995] mvpp2 f2000000.ethernet: using 8 per-cpu buffers
[ 4.059788] DSA: tree 0 setup
[ 4.063055] armada38x-rtc f2284000.rtc: setting system clock to 2022-11-27T10:26:36 UTC (1669544796)
[ 4.087381] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[ 4.095545] VFS: Mounted root (ext4 filesystem) on device 179:1.
[ 4.102855] devtmpfs: mounted
[ 4.106668] Freeing unused kernel memory: 1792K
[ 4.111376] Run /sbin/init as init process
[ 4.196770] random: fast init done
[ 4.699335] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[ 4.720997] systemd[1]: Detected architecture arm64.
Welcome to Ubuntu 18.04 LTS!
[ 4.756963] systemd[1]: Set hostname to <moca289d7e>.
[ 4.886902] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[ 4.904038] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[ 5.001340] random: systemd: uninitialized urandom read (16 bytes read)
[ 5.008045] systemd[1]: Reached target Swap.
[ OK ] Reached target Swap.
[ 5.024496] random: systemd: uninitialized urandom read (16 bytes read)
[ 5.031253] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ 5.056472] random: systemd: uninitialized urandom read (16 bytes read)
[ 5.063522] systemd[1]: Created slice System Slice.
[ OK ] Created slice System Slice.
[ 5.084783] systemd[1]: Listening on Journal Audit Socket.
[ OK ] Listening on Journal Audit Socket.
[ 5.104553] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ OK ] Listening on Journal Socket.
Starting Create list of required st…ce nodes for the current kernel...
Mounting POSIX Message Queue File System...
Mounting Kernel Debug File System...
Starting Remount Root and Kernel File Systems...
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
Starting Load Kernel Modules...
[ OK ] Listening on udev Control Socket.
Starting udev Coldplug all Devices...
[ OK ] Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice User and Session Slice.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Reached target Paths.
[ OK ] Reached target Local Encrypted Volumes.
Starting Set the console keyboard layout...
Mounting Huge Pages File System...
[ OK ] Reached target System Time Synchronized.
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Listening on Syslog Socket.
Starting Journal Service...
[ OK ] Reached target Slices.
[ OK ] Reached target Remote File Systems.
[ OK ] Started Create list of required sta…vice nodes for the current kernel.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Mounted Kernel Debug File System.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Mounted Huge Pages File System.
Starting Load/Save Random Seed...
Starting Create Static Device No[ 5.772751] cfg80211: Loading compiled-in X.509 certificates for regulatory database
des in /dev...
[ 5.790203] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ OK ] Started Journal Service.
[ OK ] Started Load Kernel Modules.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Create Static Device Nodes in /dev.
Starting udev Kernel Device Manager...
Starting Apply Kernel Variables...
Mounting Kernel Configuration File System...
Starting Flush Journal to Persistent Storage...
[ OK ] Started Set the console keyboard layout.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Mounted Kernel Configuration File System.
[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Reached target Local File Systems.
Starting Set console font and keymap...
Starting Raise network interfaces...
[ OK ] Found device /dev/ttyS0.
[ OK ] Started Set console font and keymap.
[ OK ] Started ifup for lan0.
[ OK ] Started ifup for lan2.
[ OK ] Started ifup for lan3.
[ OK ] Started ifup for eth2.
[ OK ] Started ifup for eth1.
[ OK ] Found device /sys/subsystem/net/devices/lan1.
[ OK ] Found device /sys/subsystem/net/devices/eth0.
[ OK ] Started ifup for eth0.
[ OK ] Started ifup for lan1.
[ OK ] Found device /sys/subsystem/net/devices/bond0.
[ OK ] Started ifup for bond0.
[ OK ] Started Flush Journal to Persistent Storage.
Starting Create Volatile Files and Directories...
[ OK ] Started Create Volatile Files and Directories.
Starting Network Name Resolution...
[ OK ] Started Entropy daemon using the HAVEGE algorithm.
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily apt download activities.
[ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[ OK ] Started Discard unused blocks once a week.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Started Daily apt upgrade and clean activities.
[ OK ] Started Message of the Day.
[ OK ] Reached target Timers.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
[ OK ] Started D-Bus System Message Bus.
Starting System Logging Service...
Starting Avahi mDNS/DNS-SD Stack...
Starting WPA supplicant...
Starting Login Service...
[ OK ] Started Regular background program processing daemon.
Starting Restore /etc/resolv.conf i…fore the ppp link was shut down...
[ OK ] Started Set the CPU Frequency Scaling governor.
[ OK ] Started Network Name Resolution.
[ OK ] Started System Logging Service.
[ OK ] Started Restore /etc/resolv.conf if…before the ppp link was shut down.
[ OK ] Started Login Service.
[ OK ] Started Avahi mDNS/DNS-SD Stack.
[ OK ] Reached target Host and Network Name Lookups.
[ OK ] Started WPA supplicant.
[FAILED] Failed to start Raise network interfaces.
See 'systemctl status networking.service' for details.
[ OK ] Reached target Network.
Starting OpenBSD Secure Shell server...
Starting Network Time Service...
Starting Permit User Sessions...
[ OK ] Reached target Network is Online.
Starting /etc/rc.local Compatibility...
Starting LSB: Brings up/down network automatically...
[ OK ] Started Permit User Sessions.
[ OK ] Started /etc/rc.local Compatibility.
[ OK tarting Set console scheme...
[ OK ] Started Network Time Service.
[ OK ] Started Set console scheme.
[ OK ] Created slice system-getty.slice.
[ OK ] Started Getty on tty1.
[ OK ] Reached target Login Prompts.
[ OK ] Started LSB: Brings up/down network automatically.
[ OK ] Started OpenBSD Secure Shell server.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Started Update UTMP about System Runlevel Changes.
Ubuntu 18.04 LTS moca289d7e ttyS0
moca289d7e login:
Marvell>> version
U-Boot 2018.03-devel-18.12.3-gb794de0054 (Sep 05 2022 - 14:38:22 +0800)
Marvell>> printenv
arch=arm
baudrate=115200
board=mvebu_armada-8k
board_name=mvebu_armada-8k
bootcmd=mmc dev 0; ext4load mmc 0:1 $kernel_addr_r $image_name; ext4load mmc 0:1 $fdt_addr_r $fdt_name; setenv bootargs $console root=PARTUUID=89708921-01 rw rootwait net.ifnames=0 biosdevname=0; booti $kernel_addr_r - $fdt_addr_r
bootdelay=2
console=console=ttyS0,115200 earlycon=uart8250,mmio32,0xf0512000
cpu=armv8
eth1addr=F0:AD:4E:28:9D:7F
eth2addr=F0:AD:4E:28:9D:80
ethact=mvpp2-0
ethaddr=F0:AD:4E:28:9D:7E
ethprime=eth0
extra_params=pci=pcie_bus_safe
fdt_addr_r=0x6f00000
fdt_high=0xffffffffffffffff
fdt_name=boot/armada-7040-mochabin.dtb
fdtcontroladdr=7f6241d0
gatewayip=10.4.50.254
get_images=tftpboot $kernel_addr_r $image_name; tftpboot $fdt_addr_r $fdt_name; run get_ramfs
get_ramfs=if test "${ramfs_name}" != "-"; then setenv ramdisk_addr_r 0x8000000; tftpboot $ramdisk_addr_r $ramfs_name; else setenv ramdisk_addr_r -;fi
hostname=marvell
image_name=boot/Image
initrd_addr=0xa00000
initrd_size=0x2000000
ipaddr=0.0.0.0
kernel_addr_r=0x7000000
loadaddr=0x6000000
netdev=eth0
netmask=255.255.255.0
pcb_rev=1.5.0
pcb_sn=MCB-2235-000167
ramdisk_addr_r=0x8000000
ramfs_name=-
root=root=/dev/nfs rw
rootpath=/srv/nfs/
serverip=0.0.0.0
set_bootargs=setenv bootargs $console $root ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:none nfsroot=$serverip:$rootpath,tcp,v3 $extra_params $cpuidle
soc=mvebu
stderr=serial@512000
stdin=serial@512000
stdout=serial@512000
vendor=Marvell
Environment size: 1557/65532 bytes
Marvell>> help
? - alias for 'help'
avs - Set/Get Adaptive Voltage Scaling (AVS) value
base - print or set address offset
bdinfo - print Board Info structure
blkcache- block cache diagnostics and control
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootefi - Boots an EFI payload from memory
bootelf - Boot from an ELF image in memory
booti - boot arm64 Linux Image image from memory
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
bootvx - Boot vxWorks from an ELF image
bubt - Burn a u-boot image to flash
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
date - get/set/reset date & time
dcache - enable or disable data cache
dhcp - boot image via network using DHCP/TFTP protocol
dm - Driver model low level access
echo - echo args to console
editenv - edit environment variable
env - environment handling commands
exit - exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls - list files in a directory (default /)
ext4load- load binary file from a Ext4 filesystem
ext4ls - list files in a directory (default /)
ext4size- determine a file's size
ext4write- create a file in the root directory
false - do nothing, unsuccessfully
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
fatsize - determine a file's size
fdt - flattened device tree utility commands
fstype - Look up a filesystem type
go - start application at address 'addr'
gpio - query and control gpio pins
gzwrite - unzip and write memory to block device
help - print command description/usage
hw_info - hw_info
i2c - I2C sub-system
icache - enable or disable instruction cache
iminfo - print header information for application image
imxtract- extract a part of a multi-image
ir - ir - Reading and changing internal register values.
itest - return true/false on integer compare
led - manage LEDs
load - load binary file from a filesystem
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loadx - load binary file over serial line (xmodem mode)
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
ls - list files in a directory (default /)
lzmadec - lzma uncompress a memory region
map - Display address decode windows
md - memory display
mdio - MDIO utility commands
mii - MII utility commands
mm - memory modify (auto-incrementing address)
mmc - MMC sub system
mmcinfo - display MMC info
mw - memory write (fill)
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
part - disk partition related commands
pci - list and access PCI Configuration Space
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
pxe - commands to get and boot from pxe files
regulator- uclass operations
reset - Perform RESET of the CPU
run - run commands in an environment variable
rx_training- rx_training <cp id> <comphy id>
save - save file to a filesystem
saveenv - save environment variables to persistent storage
scsi - SCSI sub-system
scsiboot- boot from SCSI device
setenv - set environment variables
setexpr - set environment variable as the result of eval expression
sf - SPI flash sub-system
showvar - print local hushshell variables
size - determine a file's size
sleep - delay execution for some time
source - run script from memory
sspi - SPI utility command
switch - Switch Access commands
sysboot - command to get and boot from syslinux files
test - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
time - run commands and summarize execution time
true - do nothing, successfully
tsen - tsen - Display the SoC temperature.
unzip - unzip a memory region
usb - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version
Marvell>> mmcinfo
Device: sdhci@6e0000
Manufacturer ID: 45
OEM: 100
Name: DF401
Bus Speed: 52000000
Mode : MMC High Speed (52MHz)
Rd Block Len: 512
MMC version 5.1
High Capacity: Yes
Capacity: 14.7 GiB
Bus Width: 4-bit
Erase Group Size: 512 KiB
HC WP Group Size: 8 MiB
User Capacity: 14.7 GiB WRREL
Boot Capacity: 4 MiB ENH
RPMB Capacity: 4 MiB ENH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment