Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Lullaby5205

Validating
  • Joined

  • Last visited

  1. ODROID-N2+ microSD boot hangs: Armbian U-Boot clock gate and Hardkernel 4.9 PM notifier loopI had an N2+ that would not finish booting from microSD in MMC mode. I captured the dedicated UART at 115200 8N1. On my unit, the two images failed at different stages. I’m posting what I found and what worked, in case anyone has seen the same behavior or knows of an upstream fix. This is a follow-up to my original 2023 report as neooen, with boot logs. I reproduced a boot hang on the same board and traced the current failures; the older logs alone don't establish that the cause was the same. Armbian 25.11.1 Noble Minimal (U-Boot 2022.10)I tried a current official Armbian image for the N2/N2+ as an independent check after the Hardkernel Ubuntu image hung. That Armbian image (26.8.1) also failed to boot directly from microSD: its U-Boot 2026.04 stalled or timed out during SD initialization, before Linux started. I chose the archived Armbian 25.11.1 Noble Minimal image specifically to test a different bootloader. Its board configuration pins U-Boot 2022.10, which the UART banner confirmed. The older image reproduced the stall too, so I used that build for the targeted instrumentation below. Early firmware loaded U-Boot from SD, but mmc dev 0 in U-Boot hung. A USB stick supplied the kernel as a control: Armbian Linux 6.12.58 detected the same microSD and mounted /dev/mmcblk0p2 as /. This showed the card could work in Linux, even when U-Boot couldn't finish initializing it. The instrumented U-Boot stopped after selecting FCLK_DIV2 at the requested 24 MHz SD setting. The SD clock register write returned, but the next controller CFG read did not. The PLL reported lock=1 enable=1 reset=0, while FCLK_DIV2_gate=0. Two experiments worked: Stay on the 24 MHz oscillator ÷ 1. Clock register 0x00000201 read back correctly; direct SD boot reached Armbian first-run setup. Enable FCLK_DIV2 first and verify the gate reads back 1. The original clock setting 0x0000026a (nominal 1 GHz ÷ 42) then worked too. mmc dev 0 returned, and run bootcmd loaded /boot.scr from mmc 0:1 and reached first-run setup without USB. Follow-up: U-Boot 2026.07I reproduced the microSD stall on a newer headless Armbian build (Ubuntu 26.04 Minimal, Linux 6.18.65, unpatched U-Boot 2026.07): mmc dev 0 did not return. With the microSD-only fix, eMMC still stalled at mmc dev 1. Before probing, the fixed PLL reported locked but bit 24 of HHI_FIX_PLL_CNTL1 was clear (0x02f15555). Temporarily setting that bit (0x03f15555) let eMMC initialize and boot. I extended the board-scoped fix to enable FCLK_DIV2 before either controller selects it. The same rebuilt image passed separate unattended cold boots from microSD (mmc 0:1) and eMMC (mmc 1:1) on my N2+, reaching Armbian first-login setup without UART input or manual register writes. The fix changes no speed limits: Armbian caps only eMMC at 24 MHz in U-Boot, while microSD can negotiate up to 50 MHz. I did not measure the rates on my board. If you want to try the unofficial headless image or inspect the patch, see the GitHub Release (successful CI build). The release includes the compressed image, SHA256SUMS, patch, and build manifest. Is the parent gate expected to be off at U-Boot entry on some N2+ boards or firmware versions? Is enabling that parent through U-Boot's clock framework the preferred fix, rather than the direct HHI bit write I used for diagnosis? Is this already fixed in a particular release? Hardkernel Ubuntu 22.04 MATE (stock kernel 4.9.312-22)Hardkernel U-Boot could read the SD card and start Linux. A diagnostic kernel based on the vendor 4.9.312 merge (7e9ab6bbf) stalled at MMC host registration even with eMMC disabled in the RAM device tree. Its fixed PLL was locked and FCLK_DIV2_gate=1; it was not the same observed failure as Armbian U-Boot. The MMC PM notifier registration looped on suspend_pm_nb. The Ethernet probe trace showed: meson6-dwmac: suspend_pm_nb register returned 0 ... self=0 eth%d: No PHY found ethclk81: suspend_pm_nb register returned 0 ... self=1 Both calls used the same static node. The second registration made next point back to the node. MMC then looped walking that list; it didn't create the loop. I moved shared Ethernet TX-monitor notifier registration to the successful probe path and added single-owner registration and removal cleanup. With that test kernel and eMMC disabled in RAM, MMC registration completed, Linux detected the card, Ubuntu mounted root, and serial login worked. LightDM, Xorg, and the seat0 greeter were running. I did not verify the visible HDMI image or a logged-in desktop. Ethernet PHY detection is still unresolved; the diagnostic kernel also doesn't match the stock module directory. Has anyone else seen a failed or repeated Ethernet probe corrupt the PM notifier chain on this vendor image? Is this lifecycle fix the expected approach, or is there a later Hardkernel patch or device-tree fix I should use? If you've encountered either issue, which board revision, bootloader/kernel version, and fix worked for you? I can share the relevant UART excerpts and patch hunks. No SPI/Petitboot reflash was needed for these tests.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.