I installed a mender image on the revpi 5. I built it using the debos build from revpi itself and am sure I built it correct.
Once the device starts, sometimes the boot times are roughly 2 minutes. I noticed this in the logs:
Code: Select all
[ 0.563489] mmc0: CQHCI version 5.10
[ 0.587012] mmc0: SDHCI controller on 1000fff000.mmc [1000fff000.mmc] using ADMA 64-bit
[ 0.590370] Waiting for root device /dev/mmcblk0p2...
[ 133.693567] mmc0: Command Queue Engine enabled, 16 tags
[ 133.693571] mmc0: new HS400 Enhanced strobe MMC card at address 0001 [ 133.693974] mmcblk0: mmc0:0001 BJTD4R 29.1 GiB
[ 133.694464] mmcblk0: p1 p2 p3 p4
[ 133.694624] mmcblk0: mmc0:0001 BJTD4R 29.1 GiB
[ 133.694660] mmcblk0boot0: mmc0:0001 BJTD4R 4.00 MiB
[ 133.694928] mmcblk0boot1: mmc0:0001 BJTD4R 4.00 MiB [ 133.695169] mmcblk0rpmb: mmc0:0001 BJTD4R 4.00 MiB, chardev (243:0)
[ 133.702348] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[ 133.702351] EXT4-fs (mmcblk0p2): write access will be enabled during recovery [ 133.732280] EXT4-fs (mmcblk0p2): recovery complete
[ 133.733056] EXT4-fs (mmcblk0p2): mounted filesystem a04a987c-8196-4d0d-a3cd-a912ea2325f9 ro with ordered data mode. Quota mode: none.
[ 134.034667] systemd[1]: Expecting device dev-mmcblk0p1.device - /dev/mmcblk0p1...
[ 134.034700] systemd[1]: Expecting device dev-mmcblk0p4.device - /dev/mmcblk0p4...
[ 134.161294] EXT4-fs (mmcblk0p2): re-mounted a04a987c-8196-4d0d-a3cd-a912ea2325f9 r/w.
[ 134.187757] EXT4-fs (mmcblk0p2): resizing filesystem from 1946624 to 1946624 blocks
[ 135.131680] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 137.032260] EXT4-fs (mmcblk0p4): recovery complete
[ 137.034115] EXT4-fs (mmcblk0p4): mounted filesystem 41469db3-5ad9-437e-a5c2-8c2289bb40ba r/w with ordered data mode. Quota mode: none.
[ 137.066805] EXT4-fs (mmcblk0p4): resizing filesystem from 3672064 to 3672064 blocks
When a boot goes fast, the [ 0.590370] Waiting for root device /dev/mmcblk0p2... does not appear in the logs. Does anyone have a clue as to why this behavior presents itself?