Onira Posted February 23, 2020 Posted February 23, 2020 (edited) Hello I am using NPiNeoPlus2 board (ordered Neo2 but they send me Neo Plus2) I red this is not officially supported but it works some way The image works from TF but when I write it to eMMC it boots it works but can't reboot I type reboot and I get (serial) $ sudo reboot [sudo] password for onir: [ OK ] Stopped target Timers. [ OK ] Stopped Daily apt upgrade and clean activities. Stopping Authorization Manager... [ OK ] Stopped Stopping Session 2 of user onir. [ OK ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch. [ OK ] Stopped Daily rotation of log files. [ OK ] Stopped target System Time Synchronized. [ OK ] Stopped target Multi-User System. [ OK ] Stopped Resets System Activity Data Collector. Stopping Regular background program processing daemon... Stopping LSB: Advanced IEEE 802.11 management daemon... Stopping LSB: Set sysfs variables from /etc/sysfs.conf... Stopping rng-tools.service... Stopping chrony, an NTP client/server... [ OK ] Stopped target Login Prompts. Stopping Serial Getty on ttyS0... Stopping Getty on tty1... Stopping OpenBSD Secure Shell server... Stopping System Logging Service... Stopping Dispatcher daemon for systemd-networkd... Stopping Unattended Upgrades Shutdown... [ OK ] Stopped Regular background program processing daemon. [ OK ] Stopped Dispatcher daemon for systemd-networkd. [ OK ] Stopped System Logging Service. [ OK ] Stopped chrony, an NTP client/server. [ OK ] Stopped OpenBSD Secure Shell server. [ OK ] Stopped Unattended Upgrades Shutdown. [ OK ] Stopped Authorization Manager. [ OK ] Stopped Getty on tty1. [ OK ] Stopped Serial Getty on ttyS0. [ OK ] Stopped Save/Restore Sound Card State. [ OK ] Stopped LSB: Advanced IEEE 802.11 management daemon. [ OK ] Stopped rng-tools.service. [ OK ] Stopped Session 2 of user onir. Stopping User Manager for UID 1000... Stopping Manage Sound Card State (restore and store)... [ OK ] Removed slice system-serial\x2dgetty.slice. [ OK ] Stopped /etc/rc.local Compatibility. [ OK ] Stopped target Network is Online. [ OK ] Stopped Network Manager Wait Online. [ OK ] Removed slice system-getty.slice. Stopping Login Service... [ OK ] Stopped User Manager for UID 1000. [ OK ] Stopped LSB: Set sysfs variables from /etc/sysfs.conf. [ OK ] Stopped Manage Sound Card State (restore and store). Stopping LSB: set CPUFreq kernel parameters... Stopping User Runtime Directory /run/user/1000... [ OK ] Stopped Login Service. [ OK ] Unmounted /run/user/1000. [ OK ] Stopped User Runtime Directory /run/user/1000. [ OK ] Removed slice User Slice of UID 1000. Stopping Permit User Sessions... [ OK ] Stopped Permit User Sessions. [ OK ] Stopped LSB: set CPUFreq kernel parameters. Stopping LSB: Load kernel …d to enable cpufreq scaling... [ OK ] Stopped target Network. Stopping Network Manager... Stopping Raise network interfaces... Stopping WPA supplicant... [ OK ] Stopped LSB: Load kernel m…ded to enable cpufreq scaling. [ OK ] Stopped Network Manager. [ OK ] Stopped target Remote File Systems. [ OK ] Stopped Raise network interfaces. [ OK ] Stopped WPA supplicant. Stopping D-Bus System Message Bus... [ OK ] Stopped D-Bus System Message Bus. [ OK ] Stopped target Basic System. [ OK ] Stopped target Paths. [ OK ] Stopped target Slices. [ OK ] Removed slice User and Session Slice. [ OK ] Stopped target Sockets. [ OK ] Closed Syslog Socket. [ OK ] Closed D-Bus System Message Bus Socket. [ OK ] Stopped target System Initialization. Stopping Update UTMP about System Boot/Shutdown... [ OK ] Stopped Apply Kernel Variables. [ OK ] Stopped Load Kernel Modules. [ OK ] Stopped target Local Encrypted Volumes. [ OK ] Stopped Dispatch Password …ts to Console Directory Watch. [ OK ] Stopped Forward Password R…uests to Wall Directory Watch. Stopping Entropy daemon using the HAVEGE algorithm... Stopping Restore / save the current clock... Stopping Armbian memory supported logging... [ OK ] Stopped Entropy daemon using the HAVEGE algorithm. [ OK ] Stopped Restore / save the current clock. Stopping Load/Save Random Seed... [ OK ] Stopped Update UTMP about System Boot/Shutdown. [ OK ] Stopped Create Volatile Files and Directories. [ OK ] Stopped Load/Save Random Seed. [ OK ] Unmounted /var/log. [ OK ] Unmounted /var/log.hdd. [ OK ] Stopped Armbian memory supported logging. Stopping Armbian ZRAM config... [ OK ] Stopped Armbian ZRAM config. [ OK ] Stopped target Local File Systems. Unmounting /tmp... [ OK ] Unmounted /tmp. [ OK ] Stopped target Local File Systems (Pre). [ OK ] Stopped Create Static Device Nodes in /dev. [ OK ] Stopped Create System Users. [ OK ] Stopped Remount Root and Kernel File Systems. [ OK ] Stopped target Swap. [ OK ] Reached target Shutdown. Deactivating swap /dev/zram1... [ OK ] Deactivated swap /dev/zram1. [ OK ] Reached target Unmount All Filesystems. [ OK ] Reached target Final Step. [ OK ] Started Reboot. [ OK ] Reached target Reboot. [ 228.568922] reboot: Restarting system U-Boot SPL 2019.10-armbian (Feb 07 2020 - 12:55:56 +0100) DRAM: 1024 MiB Trying to boot from MMC2 and it waits... what for? Image Armbian_20.02.1_Nanopineoplus2_buster_current_5.4.20 it happens the same on every kernel used Edited February 23, 2020 by Onira
Igor Posted February 23, 2020 Posted February 23, 2020 1 hour ago, Onira said: The image works from TF but when I write it to eMMC it boots it works but can't reboot This is a bug, somewhere in ATF / boot loader areas. 1 hour ago, Onira said: and it waits... what for? Hard to say why it doesn't proceed ... needs to be investigated by someone that have: knowledge, time, hardware, ... IIRC I have seen this kind of behaviour on some other board, but don't recall what is the exact cause ... Let's wait for some clues and ideas.
Onira Posted February 23, 2020 Author Posted February 23, 2020 4 hours ago, Igor said: Let's wait for some clues and ideas. OK Ty for the reply I will stay on TF for now...
OpenglMan Posted February 24, 2020 Posted February 24, 2020 Well, the reboot problem is not an easy problem. Most of this boards with H3 H5 SoC inside, doesn't have a power management unit. This is the main problem. But there is a slightly dirty solution that you can do. Activate the reboot pin using a digital output. It will always work: You can also try the following tests: Maybe you can try to buy a power supply recommended by the manufacturer Finally you can try to copy the image of the SD card working using the dd command. For it, copy the SD card image to a pendrive using dd comand. Now, power on the unit with other SD card, and after that, copy the image in the usb unit to the eMMC: Something like that: dd if=/dev/sda of=/dev/mmcblk1 status=progress
Onira Posted February 24, 2020 Author Posted February 24, 2020 But why is it working from TF/SD card? I have no reboot problems from card til I switch to eMMC
Onira Posted February 24, 2020 Author Posted February 24, 2020 29 minutes ago, Onira said: But why is it working from TF/SD card? I have no reboot problems from card til I switch to eMMC Well I found myself stupid The power supply I was using was 3A, I tried 4A and it reboots now Funny but I newer had issues with power supply... You can laugh at me now
Onira Posted February 24, 2020 Author Posted February 24, 2020 Unfortunately it is not rebooting anymore I placed old 1GB TF cart (empty, formatted to EXT4 same filesystem as eMMC) and reboots again... After doing updating the bootloader stopped rebooting again (with and without TF card) Powered on, updated the bootloader again and it's rebooting. With present TF card of course...
Onira Posted June 22, 2020 Author Posted June 22, 2020 I wrote a new fresh image of focal fossa and It seems to be rebooting properly from eMMC without any TF card inserted
sfx2000 Posted June 27, 2020 Posted June 27, 2020 On 2/23/2020 at 5:51 AM, Onira said: [ 228.568922] reboot: Restarting system U-Boot SPL 2019.10-armbian (Feb 07 2020 - 12:55:56 +0100) DRAM: 1024 MiB Trying to boot from MMC2 Are you doing USB-OTG on that board for console?
Recommended Posts