Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nanopi-neo: fix mtda image fails to boot due to boot device not found #372

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

baprusty
Copy link
Contributor

  • Observing boot failure on nanopi-neo, due to dev/mmcblk2p1 not found
  • Update the isar to latest revision
  • isar commit ref: ilbers/isar@f0ba858 (use part uuid instead of particular dev), fixes boot issue on nanopi-neo

Boot failure logs:

Begin: Running /scripts/local-block ... mdadm: No arrays found in config file or automatically
done.
done.
Gave up waiting for root file system device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/mmcblk2p1 does not exist.  Dropping to a shell!
(initramfs)

After the fix:

Debian GNU/Linux 12 mtda ttyS0

mtda login: mtda
Password:
Linux mtda 6.1.0-13-armmp #1 SMP Debian 6.1.55-1 (2023-09-29) armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
mtda@mtda:~$ lsblk
NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
mmcblk0     179:0    0 29.7G  0 disk
└─mmcblk0p1 179:1    0 29.7G  0 part /
mtda@mtda:~$ mtda-cli -v
MTDA version: 0.26
mtda@mtda:~$

complete-boot-logs-neo.txt

- Observing boot failure on nanopi-neo, due to dev/mmcblk2p1 not found
- Update the isar to latest revision
- isar commit ref: f0ba858 (use part uuid instead of particular dev),
    fixes boot issue on nanopi-neo

Signed-off-by: Badrikesh Prusty <[email protected]>
@chombourger chombourger merged commit 2c54b1c into siemens:master Nov 30, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants