Git Product home page Git Product logo

Comments (4)

fmoessbauer avatar fmoessbauer commented on July 19, 2024 1

Hi @baprusty , thanks for reporting! It either might be, that the inconsistency of the device names in the firmware provided device tree has been fixed, or the names are simply not stable (despite what the documentation states).

As proposed in the commit message, we probably should just rely on partition UUIDs. This also makes it possible to copy the image to the eMMC without any further changes.

Could you please try to replace --ondisk mmcblk2 with --use-uuid in the WKS file and try again?

from isar.

baprusty avatar baprusty commented on July 19, 2024

Root cause seems like: fee0c41

  • I tried building the image by reverting commit
  • Tried building and booting: It is able to boot the image and login prompt appears

Checked info from official page: https://wiki.friendlyelec.com/wiki/index.php/NanoPi_NEO3#Running_the_build

  • Looks like mmcblk0 is for external SD card and mmcblk2 for internal emmc

cc: @fmoessbauer @WiseLord @chombourger

from isar.

baprusty avatar baprusty commented on July 19, 2024

Hi @fmoessbauer, Thanks, With the --use-uuid change:

meta-isar/scripts/lib/wic/canned-wks/nanopi-neo.wks.in
@@ -5,6 +5,6 @@

 part u-boot --source rawcopy --sourceparams "file=/usr/lib/u-boot/nanopi_neo/u-boot-sunxi-with-spl.bin" --no-table --align 8

-part / --source rootfs-u-boot --ondisk mmcblk2 --fstype ext4 --mkfs-extraopts "-T default" --sourceparams "builtin_dt=yes" --label platform --align 1024 --active
+part / --source rootfs-u-boot --use-uuid --fstype ext4 --mkfs-extraopts "-T default" --sourceparams "builtin_dt=yes" --label platform --align 1024 --active

Able to boot the nanopi:

Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Warning: fsck not present, so skipping root file system
[    6.967817] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[    7.230101] Not activating Mandatory Access Control as /sbin/tomoyo-init does not exist.
[    7.721635] systemd[1]: System time before build time, advancing clock.
[    7.789409] systemd[1]: Inserted module 'autofs4'
[    7.888205] systemd[1]: systemd 252.17-1~deb12u1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[    7.921029] systemd[1]: Detected architecture arm.
[    7.927031] systemd[1]: Detected first boot.

Welcome to Debian GNU/Linux 12 (bookworm)!

complete-boot-log-serial-neo-fix.txt

from isar.

baprusty avatar baprusty commented on July 19, 2024

Fixes merged in next: f0ba858

Closing the issue.

from isar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.