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.

Recovery: (too) short delay between UMS and Maskrom modes

Featured Replies

Hi!,

 

I am playing around with customizing my boot script (to install later my custom distro), and I am fighting with the Recovery.

I took a long time to understand I have to press the recovery button during a "long time", then release it very quickly to get the UMS mode and not falling into the Maskrom mode.

 

Indeed, when U-Boot detects the recovery button keypress, it proposes UMS, then very shortly after the Maskrom mode.

 

Is it possible to configure U-Boot to wait longer on the UMS mode,  let's say 5 seconds, and after that delay switch to Maskrom mode as latest failover?

 

For info: I have Armbian running on EMMC, and I play within the /boot folder, then roll-back my trials in Recovery/UMS mode.

 

Kind regards,

Xavier Miller.

As we have mentioned on the wiki, you can watch the System LED as visual cue. When it blink once, release the button.

There are roughly 2 second delay to release the button.

https://github.com/armbian/build/blob/master/patch/u-boot/u-boot-rockchip64-mainline/general-support-recovery-button.patch#L131-L137

 

Another visual cue you can check is through serial console.

U-Boot 2020.07-armbian (Nov 23 2020 - 16:22:15 +0100)

SoC: Rockchip rk3399
Reset cause: POR
DRAM:  3.9 GiB
PMIC:  RK808
SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
MMC:   mmc@fe320000: 1, sdhci@fe330000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Model: Helios64
Revision: 1.2 - 4GB non ECC
using mmc0 device for download mode
rockchip_dnl_mode = ums mode

as soon as you see rockchip_dnl_mode = ums mode, release the button.

  • Author

yeah, but the feeling is less than 2 seconds. Can it because the flashing starts after the message (no lit, then lit)?

 

Meanwhile, I have my custom kernel and OS (Gentoo Linux), they run fine :-)

Guest
This topic is now closed to further replies.

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.