EspressoBin V7 Rebooting with Kernel panic - not syncing: No working init found

I downloaded the image files for EspressoBin V7 from the device page but I can't extract any image files on this page using 7-zip or native MacOS archive handler, so I'm not sure if the problem is corrupt image files to begin with. But I was somehow able to use Winzip to extract the image files and dumped it on to an SD Card. Loaded this card into the board and ran into a continuous reboot problem. It keeps rebooting with an error Kernel panic - not syncing: No working init found.

On the ExpressoBin, I configured the following environment variables:

Marvell>> ext4ls mmc 0:1
<DIR>       4096 .
<DIR>       4096 ..
<DIR>       4096 lost+found
         7589896 Image
            8263 armada-3720-espressobin-v7.dtb
             425 boot.scr
Marvell>> setenv fdt_name 'armada-3720-espressobin-v7.dtb'
Marvell>> setenv image_name 'Image'
Marvell>> setenv ethact 'neta0'
Marvell>> setenv set_bootargs 'setenv bootargs $console'
Marvell>> setenv bootmmc 'mmc dev 0; ext4load mmc 0:1 $kernel_addr $image_name;ext4load mmc 0:1 $fdt_addr $fdt_name;setenv bootargs $console root=/dev/mmcblk0p1 rw rootwait; booti $kernel_addr - $fdt_addr'
Marvell>> saveenv
Saving Environment to SPI Flash...
SF: Detected mx25u3235f with page size 256 Bytes, erase size 64 KiB, total 4 MiB
Erasing SPI flash...Writing to SPI flash...done
Marvell>> run bootmmc

Output after running bootmmc:

Marvell>> run bootmmc
switch to partitions #0, OK
mmc0 is current device
7589896 bytes read in 329 ms (22 MiB/s)
8263 bytes read in 8 ms (1007.8 KiB/s)
## Flattened Device Tree blob at 04f00000
   Booting using the fdt blob at 0x4f00000
   Using Device Tree in place at 0000000004f00000, end 0000000004f05046

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.195 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11208-ce6496d796)) #0 SMP Sun Sep 6 16:19:39 2020
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] Machine model: Globalscale Marvell ESPRESSOBin Board V7
[    0.000000] earlycon: ar3700_uart0 at MMIO 0x00000000d0012000 (options '')
[    0.000000] bootconsole [ar3700_uart0] enabled
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 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.0
[    0.000000] random: get_random_bytes called from 0xffffff8008710810 with crng_init=0
[    0.000000] percpu: Embedded 16 pages/cpu s24984 r8192 d32360 u65536
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 258048
[    0.000000] Kernel command line: console=ttyMV0,115200 earlycon=ar3700_uart,0xd0012000 root=/dev/mmcblk0p1 rw rootwait
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Memory: 1022656K/1048576K available (5694K kernel code, 372K rwdata, 1016K rodata, 320K init, 272K bss, 25920K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008610000   (  5696 KB)
[    0.000000]     .rodata : 0xffffff8008610000 - 0xffffff8008710000   (  1024 KB)
[    0.000000]       .init : 0xffffff8008710000 - 0xffffff8008760000   (   320 KB)
[    0.000000]       .data : 0xffffff8008760000 - 0xffffff80087bd008   (   373 KB)
[    0.000000]        .bss : 0xffffff80087bd008 - 0xffffff8008801030   (   273 KB)
[    0.000000]     fixed   : 0xffffffbefe7fb000 - 0xffffffbefec00000   (  4116 KB)
[    0.000000]     PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
[    0.000000]               0xffffffbf00000000 - 0xffffffbf01000000   (    16 MB actual)
[    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc040000000   (  1024 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  CONFIG_RCU_FANOUT set to non-default value of 32
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000d1d40000
[    0.000000] arch_timer: cp15 timer(s) running at 12.50MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049cda, max_idle_ns: 440795202628 ns
[    0.000004] sched_clock: 56 bits at 12MHz, resolution 80ns, wraps every 4398046511080ns
[    0.008360] Calibrating delay loop (skipped), value calculated using timer frequency.. 25.00 BogoMIPS (lpj=125000)
[    0.018953] pid_max: default: 32768 minimum: 301
[    0.023779] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.030611] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.038700] ASID allocator initialised with 32768 entries
[    0.044263] Hierarchical SRCU implementation.
[    0.049042] smp: Bringing up secondary CPUs ...
[    0.053934] Detected VIPT I-cache on CPU1
[    0.053963] GICv3: CPU1: found redistributor 1 region 0:0x00000000d1d60000
[    0.053995] CPU1: Booted secondary processor [410fd034]
[    0.054071] smp: Brought up 1 node, 2 CPUs
[    0.074777] SMP: Total of 2 processors activated.
[    0.079617] CPU features: detected: GIC system register CPU interface
[    0.086252] CPU features: detected: 32-bit EL0 Support
[    0.091539] CPU: All CPU(s) started at EL2
[    0.095756] alternatives: patching kernel code
[    0.102175] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.112264] futex hash table entries: 512 (order: 4, 65536 bytes)
[    0.118585] pinctrl core: initialized pinctrl subsystem
[    0.124499] NET: Registered protocol family 16
[    0.129802] cpuidle: using governor ladder
[    0.134081] vdso: 2 pages (1 code @ ffffff8008614000, 1 data @ ffffff8008764000)
[    0.141802] DMA: preallocated 256 KiB pool for atomic allocations
[    0.148893] d0012000.serial: ttyMV0 at MMIO 0xd0012000 (irq = 8, base_baud = 0) is a mvebu-uart
[    0.157793] console [ttyMV0] enabled
[    0.157793] console [ttyMV0] enabled
[    0.165164] bootconsole [ar3700_uart0] disabled
[    0.165164] bootconsole [ar3700_uart0] disabled
[    0.183437] SCSI subsystem initialized
[    0.187475] usbcore: registered new interface driver usbfs
[    0.193106] usbcore: registered new interface driver hub
[    0.198455] usbcore: registered new device driver usb
[    0.204901] clocksource: Switched to clocksource arch_sys_counter
[    0.211839] NET: Registered protocol family 2
[    0.216920] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.224011] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[    0.230942] TCP: Hash tables configured (established 8192 bind 8192)
[    0.237658] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.243353] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.250036] NET: Registered protocol family 1
[    0.255309] Crashlog allocated RAM at address 0x3f00000
[    0.260573] workingset: timestamp_bits=62 max_order=18 bucket_order=0
[    0.270757] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.276652] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.288676] io scheduler noop registered
[    0.292739] io scheduler deadline registered (default)
[    0.300430] OF: PCI: host bridge /soc/pcie@d0070000 ranges:
[    0.306092] OF: PCI:   MEM 0xe8000000..0xe8ffffff -> 0xe8000000
[    0.312139] OF: PCI:    IO 0xe9000000..0xe900ffff -> 0xe9000000
[    1.314893] advk-pcie d0070000.pcie: link never came up
[    1.320000] advk-pcie d0070000.pcie: PCI host bridge to bus 0000:00
[    1.326526] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.332350] pci_bus 0000:00: root bus resource [mem 0xe8000000-0xe8ffffff]
[    1.339552] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0xe9000000-0xe900ffff])
[    2.780830] advk-pcie d0070000.pcie: Posted PIO Response Status: CA, 0xe00 @ 0x0
[    2.789676] mv_xor d0060900.xor: Marvell shared XOR driver
[    2.855459] mv_xor d0060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    2.925451] mv_xor d0060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    2.933384] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    2.941195] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    2.949688] loop: module loaded
[    2.953356] ahci-mvebu d00e0000.sata: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    2.962582] ahci-mvebu d00e0000.sata: flags: ncq sntf led only pmp fbs pio slum part sxs
[    2.971433] scsi host0: ahci-mvebu
[    2.975050] ata1: SATA max UDMA/133 mmio [mem 0xd00e0000-0xd00e1fff] port 0x100 irq 13
[    2.984429] m25p80 spi0.0: mx25u3235f (4096 Kbytes)
[    2.990575] libphy: Fixed MDIO Bus: probed
[    2.995127] libphy: orion_mdio_bus: probed
[    2.999520] mv88e6085 d0032004.mdio-mii:01: switch 0x3410 detected: Marvell 88E6341, revision 0
[    3.015960] libphy: /soc/internal-regs@d0000000/mdio@32004/switch0@1/mdio: probed
[    3.032223] mvneta d0030000.ethernet eth0: Using device tree mac address f0:ad:4e:0a:a4:42
[    3.040891] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.047681] ehci-pci: EHCI PCI platform driver
[    3.052340] ehci-platform: EHCI generic platform driver
[    3.057762] ehci-orion: EHCI orion driver
[    3.061893] orion-ehci d005e000.usb: EHCI Host Controller
[    3.067335] orion-ehci d005e000.usb: new USB bus registered, assigned bus number 1
[    3.075147] orion-ehci d005e000.usb: irq 11, io mem 0xd005e000
[    3.104893] orion-ehci d005e000.usb: USB 2.0 started, EHCI 1.00
[    3.111406] hub 1-0:1.0: USB hub found
[    3.114971] hub 1-0:1.0: 1 port detected
[    3.119939] xhci-hcd d0058000.usb: xHCI Host Controller
[    3.125214] xhci-hcd d0058000.usb: new USB bus registered, assigned bus number 2
[    3.133110] xhci-hcd d0058000.usb: hcc params 0x0a000998 hci version 0x100 quirks 0x0000000000010010
[    3.142348] xhci-hcd d0058000.usb: irq 10, io mem 0xd0058000
[    3.148434] hub 2-0:1.0: USB hub found
[    3.152335] hub 2-0:1.0: 1 port detected
[    3.156497] xhci-hcd d0058000.usb: xHCI Host Controller
[    3.161553] xhci-hcd d0058000.usb: new USB bus registered, assigned bus number 3
[    3.169479] xhci-hcd d0058000.usb: Host supports USB 3.0  SuperSpeed
[    3.176166] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.184578] hub 3-0:1.0: USB hub found
[    3.188138] hub 3-0:1.0: 1 port detected
[    3.192871] usbcore: registered new interface driver usb-storage
[    3.199302] i2c /dev entries driver
[    3.203189] sdhci: Secure Digital Host Controller Interface driver
[    3.209520] sdhci: Copyright(c) Pierre Ossman
[    3.213705] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.220050] xenon-sdhci d00d0000.sdhci: Got CD GPIO
[    3.225607] NET: Registered protocol family 10
[    3.231003] Segment Routing with IPv6
[    3.234481] NET: Registered protocol family 17
[    3.239367] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    3.252837] 8021q: 802.1Q VLAN Support v1.8
[    3.259703] mv88e6085 d0032004.mdio-mii:01: switch 0x3410 detected: Marvell 88E6341, revision 0
[    3.275978] libphy: /soc/internal-regs@d0000000/mdio@32004/switch0@1/mdio: probed
[    3.290322] DSA: switch 0 0 parsed
[    3.293670] DSA: tree 0 parsed
[    3.306246] ata1: SATA link down (SStatus 0 SControl 300)
[    3.996831] Marvell 88E6390 !soc!internal-regs@d0000000!mdio@32004!switch0@1!mdio:11: attached PHY driver [Marvell 88E6390] (mii_bus:phy_addr=!soc!internal-regs@d0000000!mdio@32004!switch0@1!mdio:11, irq=POLL)
[    4.116841] Marvell 88E6390 !soc!internal-regs@d0000000!mdio@32004!switch0@1!mdio:12: attached PHY driver [Marvell 88E6390] (mii_bus:phy_addr=!soc!internal-regs@d0000000!mdio@32004!switch0@1!mdio:12, irq=POLL)
[    4.236842] Marvell 88E6390 !soc!internal-regs@d0000000!mdio@32004!switch0@1!mdio:13: attached PHY driver [Marvell 88E6390] (mii_bus:phy_addr=!soc!internal-regs@d0000000!mdio@32004!switch0@1!mdio:13, irq=POLL)
[    4.256998] xenon-sdhci d00d0000.sdhci: Got CD GPIO
[    4.325022] genirq: Setting trigger mode 3 for irq 34 failed (0xffffff8008319078)
[    4.332525] mmc0: SDHCI controller on d00d0000.sdhci [d00d0000.sdhci] using ADMA
[    4.340790] hctosys: unable to open rtc device (rtc0)
[    4.347984] Waiting for root device /dev/mmcblk0p1...
[    4.393816] mmc0: new high speed SDHC card at address 5048
[    4.400159] mmcblk0: mmc0:5048 SD32G 28.9 GiB
[    4.406541]  mmcblk0: p1 p2
[    4.445270] EXT4-fs (mmcblk0p1): warning: mounting unchecked fs, running e2fsck is recommended
[    4.456845] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Opts: (null)
[    4.464878] VFS: Mounted root (ext4 filesystem) on device 179:1.
[    4.472192] Freeing unused kernel memory: 320K
**[    4.526811] Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.**
[    4.541671] SMP: stopping secondary CPUs
[    4.545778] Kernel Offset: disabled
[    4.549523] CPU features: 0x0002008
[    4.553202] Memory Limit: none
[    4.560150] Rebooting in 1 seconds..

UBoot Output:

TIM-1.0
WTMI-armada-17.10.5-bb8f823
WTMI: system early-init
SVC REV: 5, CPU VDD voltage: 1.155V

Fill memory before self refresh...done

Now in Self-refresh Mode
Exited self-refresh ...


Self refresh Pass.
DDR self test mode test done!!
Vref read training
===================
Final vdac_value 0x0000001F

Vref write training
===================
Final vref_value 0x0000001F

DLL TUNING
==============
   DLL 0xc0001050[21:16]: [6,32,1c]
   DLL 0xc0001050[29:24]: [7,29,18]
   DLL 0xc0001054[21:16]: [9,2f,1c]
   DLL 0xc0001054[29:24]: [e,2e,1e]
   DLL 0xc0001074[21:16]: [0,3f,1f]
   DLL 0xc0001074NOTICE:  Booting Trusted Firmware
NOTICE:  BL1: v1.3(release):armada-17.10.3:39a62a1f
NOTICE:  BL1: Built : 08:53:20, Jun 25 2NOTICE:  BL2: v1.3(release):armada-17.10.3:39a62a1f
NOTICE:  BL2: Built : 08:53:21, Jun 25 2019NOTICE:  BL31: v1.3(release):armada-17.10.3:39a62a1f
NOTICE:  BL31:

U-Boot 2017.03-armada-17.10.2-g255b9cc9c1 (Jun 25 2019 - 08:50:55 +0800)

Model: Marvell Armada 3720 Community Board ESPRESSOBin
       CPU    @ 1000 [MHz]
       L2     @ 800 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 800 [MHz]
DRAM:  1 GiB
U-Boot DT blob at : 000000003f716298
Comphy-0: USB3          5 Gbps
Comphy-1: PEX0          2.5 Gbps
Comphy-2: SATA0         6 Gbps
SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl SATA mode
flags: ncq led only pmp fbss pio slum part sxs
PCIE-0: Link down
MMC:   sdhci@d0000: 0, sdhci@d8000: 1
SF: Detected mx25u3235f with page size 256 Bytes, erase size 64 KiB, total 4 MiB
Net:   eth0: neta@30000 [PRIME]
Hit any key to stop autoboot:  0

Please help.

root=/dev/mmcblk0p2
1 Like

That fixed it. Thank you very much for a quick response. :+1:

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.