I partitioned the SD card of the development board, and then burned the image for the IMX6ULL chip officially provided by NXP. Encountered the following problem when starting. Please help me!
Mounting POSIX Message Queue File System...
Mounting Kernel Debug File System...
Mounting Temporary Directory (/tmp)...
Starting Create list of st…odes for the current kernel...
Starting Journal Service...
Mounting FUSE Control File System...
Mounting Kernel Configuration File System...
Starting Remount Root and Kernel File Systems...
Starting Apply Kernel Variables...
Starting udev Coldplug all Devices...
Starting Setup Virtual Console...
[FAILED] Failed to mount POSIX Message Queue File System.
See 'systemctl status dev-mqueue.mount' for details.
[FAILED] Failed to mount Kernel Debug File System.
See 'systemctl status sys-kernel-debug.mount' for details.
[FAILED] Failed to mount Temporary Directory (/tmp).
See 'systemctl status tmp.mount' for details.
[DEPEND] Dependency failed for Network Time Synchronization.
[DEPEND] Dependency failed for Login Service.
[ OK ] Started Create list of sta… nodes for the current kernel.
[ OK ] Started Journal Service.
[FAILED] Failed to mount FUSE Control File System.
See 'systemctl status sys-fs-fuse-connections.mount' for details.
[FAILED] Failed to mount Kernel Configuration File System.
See 'systemctl status sys-kernel-config.mount' for details.
[FAILED] Failed to start Remount Root and Kernel File Systems.
See 'systemctl status systemd-remount-fs.service' for details.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Setup Virtual Console.
[ OK ] Reached target System Time Set.
[ OK ] Reached target System Time Synchronized.
Starting Flush Journal to Persistent Storage...
Starting Create Static Device Nodes in /dev...
[ 7.282036] systemd-journald[114]: Received client request to flush runtime journal.
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Reached target Local File Systems (Pre).
Mounting /var/volatile...
Starting udev Kernel Device Manager...
[FAILED] Failed to mount /var/volatile.
See 'systemctl status var-volatile.mount' for details.
[DEPEND] Dependency failed for Bind mount volatile /srv.
[DEPEND] Dependency failed for Bind mount volatile /var/cache.
[DEPEND] Dependency failed for Bind mount volatile /var/lib.
[DEPEND] Dependency failed for Bind mount volatile /var/spool.
[DEPEND] Dependency failed for Local File Systems.
[ OK ] Stopped Dispatch Password …ts to Console Directory Watch.
[ OK ] Stopped Forward Password R…uests to Wall Directory Watch.
[ OK ] Reached target Timers.
[ OK ] Reached target Network (Pre).
[ OK ] Reached target Login Prompts.
[ OK ] Closed Syslog Socket.
Starting Load/Save Random Seed...
[ OK ] Reached target Sockets.
Starting Console System Startup Logging...
[ OK ] Started Emergency Shell.
[ OK ] Reached target Emergency Mode.
Starting Create Volatile Files and Directories...
[ OK ] Started udev Kernel Device Manager.
Starting Network Service...
[FAILED] Failed to start Console System Startup Logging.
See 'systemctl status console-kit-log-system-start.service' for details.
[ OK ] Started udev Coldplug all Devices.
Starting Start Psplash Boot Screen...
[ OK ] Started Start Psplash Boot Screen.
[ OK ] Started Create Volatile Files and Directories.
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started Network Service.
[ OK ] Reached target Network.
[ OK ] Started Update UTMP about System Boot/Shutdown.
Starting Update UTMP about System Runlevel Changes...
Mounting Kernel Configuration File System...
[FAILED] Failed to mount Kernel Configuration File System.
See 'systemctl status sys-kernel-config.mount' for details.
[ OK ] Started Update UTMP about System Runlevel Changes.
[ OK ] Created slice system-systemd\x2dbacklight.slice.
Mounting FUSE Control File System...
Starting Load/Save Screen …backlight:backlight-display...
[ 12.338274] random: crng init done
[ 12.341717] random: 7 urandom warning(s) missed due to ratelimiting
[FAILED] Failed to mount FUSE Control File System.
See 'systemctl status sys-fs-fuse-connections.mount' for details.
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Load/Save Screen B…f backlight:backlight-display.
[ 13.120972] Micrel KSZ8081 or KSZ8091 20b4000.ethernet-1:01: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=20b4000.ethernet-1:01, irq=POLL)
[ 13.149479] ov5640 1-003c: 1-003c supply DOVDD not found, using dummy regulator
[ 13.157030] ov5640 1-003c: 1-003c supply DVDD not found, using dummy regulator
[ 13.186198] mx6s-csi 21c4000.csi: initialising
[ 13.338493] ov5640 1-003c: 1-003c supply AVDD not found, using dummy regulator
[ 13.358796] imx-sdma 20ec000.sdma: loaded firmware 3.5
[ 13.558683] ov5640_read_reg:write reg error:reg=300a
[ 13.563704] camera ov5640 is not found
You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or "exit"
to boot into default mode.
[ 14.061111] Micrel KSZ8081 or KSZ8091 20b4000.ethernet-1:02: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=20b4000.ethernet-1:02, irq=POLL)
Press Enter for maintenance
(or press Control-D to continue):
Hi @cclike,
I hope you are doing well.
Please kindly share the steps you followed to partition the SD card and flash the image into the SD card.
Thanks & Regards,
Dhruvit Vasavada
This is partition step:
sudo fdisk /dev/sda
p
d [lists the current partitions]
[to delete existing partitions. Repeat this until no unnecessary partitions
are reported by the 'p' command to start fresh.]
n
p
1
20480
1024000
p [create a new partition]
[create a primary partition - use for both partitions]
[the first partition]
[starting at offset sector]
[size for the first partition to be used for the boot images]
[to check the partitions]
n
p
2
1228800
<enter>
p
w
[starting at offset sector, which leaves enough space for the kernel,
the bootloader and its configuration data]
[using the default value will create a partition that extends to
the last sector of the media]
[to check the partitions]
[this writes the partition table to the media and fdisk exits]
This is the image flash step
1. uboot
sudo dd if=u-boot-imx6ull.imx of=/dev/sda bs=1k seek=1 conv=fsync
2. zImage and dtb
sudo mkfs.vfat /dev/sda1
sudo mount /dev/sda1 /mnt
sudo cp zImage /mnt/
sudo cp imx6ull-14x14-evk.dtb /mnt/
sync
sudo umount /dev/sda1
3. rootfs
sudo mkfs.ext4 /dev/sda2
sudo mount /dev/sda2 /mnt
sudo cp rootfs/* /mnt/
sync
sudo umount /dev/sda2
My reference document is attached below!Thanks
Hi @cclike,
I hope you are doing well.
Thanks for the steps.
->Please give the below command to boot into default mode.
systemctl default
Thanks & Regards,
Dhruvit Vasavada
$ systemctl default
(or press Control-D to continue):
sh-5.0# systemctl default
You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or "exit"
to boot intPress Enter for maintenance
(or press Control-D to continue):
sh-5.0#
sh-5.0# systemctl default
You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or "exit"
to boot intPress Enter for maintenance
(or press Control-D to continue):
Thank you for your help! That were executed the command info!
Hi @cclike,
I hope you are doing well.
->Please make sure to partition the SD card, Copy Kernel Image and DTB file, and Copy the rootfs by the given commands in User Guide.
https://www.nxp.com/docs/en/
->Please check with the command given in the suggestions.
-After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" or "exit" to boot After logging in, type "journalctl -xb" to boot into default mode.
Thanks & Regards,
Dhruvit Vasavada