arjepsen Posted February 19, 2018 Posted February 19, 2018 Hey. I got an orange pi zero + 2 that I'm trying to run armbian on. I've downloaded the both the ubuntu and debian server, and installed to the sd card using Etcher. It boots, but when the boot process reaches "starting kernel", it reboots, and keeps in that loop. Here's a link to a screenshot of what's shown on screen just before it reboots: https://www.dropbox.com/s/xt6ebsdzi0nkf19/Fil 19-02-2018 18.12.04.jpeg?dl=0 I've also tried the images listed on orange pi's own website. They boot up fine to a working desktop. Any help?
Igor Posted February 19, 2018 Posted February 19, 2018 This one: https://dl.armbian.com/orangepizeroplus2-h5/Ubuntu_xenial_next.7z boots and HDMI is enabled. Spoiler U-Boot SPL 2017.11-armbian (Jan 25 2018 - 08:05:45) DRAM: 512 MiB Trying to boot from MMC1 NOTICE: BL3-1: Running on H5 (1718) in SRAM A2 (@0x44000) NOTICE: Configuring SPC Controller NOTICE: BL3-1: v1.0(debug):aa75c8d NOTICE: BL3-1: Built : 08:05:40, Jan 25 2018 INFO: BL3-1: Initializing runtime services INFO: BL3-1: Preparing for EL3 exit to normal world INFO: BL3-1: Next image address: 0x4a000000, SPSR: 0x3c9 U-Boot 2017.11-armbian (Jan 25 2018 - 08:05:45 +0100) Allwinner Technology CPU: Allwinner H5 (SUN50I) Model: OrangePi Zero Plus2 DRAM: 512 MiB MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: No ethernet found. starting USB... No controllers found Autoboot in 1 seconds, press <Space> to stop switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 3100 bytes read in 195 ms (14.6 KiB/s) ## Executing script at 4fc00000 U-boot loaded from SD Boot script loaded from mmc 143 bytes read in 157 ms (0 Bytes/s) 29656 bytes read in 316 ms (90.8 KiB/s) 504 bytes read in 535 ms (0 Bytes/s) Applying kernel provided DT overlay sun50i-h5-usbhost2.dtbo 504 bytes read in 544 ms (0 Bytes/s) Applying kernel provided DT overlay sun50i-h5-usbhost3.dtbo 4179 bytes read in 412 ms (9.8 KiB/s) Applying kernel provided DT fixup script (sun50i-h5-fixup.scr) ## Executing script at 44000000 5422766 bytes read in 538 ms (9.6 MiB/s) 12943368 bytes read in 895 ms (13.8 MiB/s) ## Loading init Ramdisk from Legacy Image at 4fe00000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 5422702 Bytes = 5.2 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 4fa00000 Booting using the fdt blob at 0x4fa00000 Loading Ramdisk to 49ad4000, end 49fffe6e ... OK reserving fdt memory region: addr=4fa00000 size=6d000 Loading Device Tree to 0000000049a64000, end 0000000049ad3fff ... OK Starting kernel ... Loading, please wait... starting version 229 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems done. Begin: Will now check root file system ... fsck from util-linux 2.27.1 [/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 /dev/mmcblk0p1: clean, 35990/103792 files, 290653/414720 blocks done. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. Welcome to Ubuntu 16.04.3 LTS! [ OK ] Started Trigger resolvconf update for networkd DNS. [ OK ] Listening on Syslog Socket. [ OK ] Listening on /dev/initctl Compatibility Named Pipe. [ OK ] Listening on fsck to fsckd communication Socket. [ OK ] Listening on udev Kernel Socket. [ OK ] Listening on Journal Socket. [ OK ] Listening on udev Control Socket. [ OK ] Listening on Journal Socket (/dev/log). [ OK ] Started Dispatch Password Requests to Console Directory Watch. [ OK ] Reached target Remote File Systems (Pre). [ OK ] Reached target Remote File Systems. [ OK ] Listening on Journal Audit Socket. [ OK ] Set up automount Arbitrary Executab...ats File System Automount Point. [ OK ] Reached target Swap. [ OK ] Created slice User and Session Slice. [ OK ] Created slice System Slice. [ OK ] Created slice system-serial\x2dgetty.slice. Starting Nameserver information manager... Mounting Huge Pages File System... Starting Remount Root and Kernel File Systems... Starting Restore / save the current clock... Starting Load Kernel Modules... Starting Create list of required st... nodes for the current kernel... Starting Set console keymap... Mounting POSIX Message Queue File System... Mounting Debug File System... [ OK ] Reached target Slices. [ OK ] Reached target Encrypted Volumes. [ OK ] Started Forward Password Requests to Wall Directory Watch. [ OK ] Reached target Paths. [ OK ] Mounted Huge Pages File System. [ OK ] Mounted POSIX Message Queue File System. [ OK ] Mounted Debug File System. [ OK ] Started Remount Root and Kernel File Systems. [ OK ] Started Restore / save the current clock. [ OK ] Started Load Kernel Modules. [ OK ] Started Create list of required sta...ce nodes for the current kernel. [ OK ] Started Set console keymap. [ OK ] Started Nameserver information manager. Starting Create Static Device Nodes in /dev... Starting Apply Kernel Variables... Mounting Configuration File System... Starting udev Coldplug all Devices... Starting Load/Save Random Seed... [ OK ] Mounted Configuration File System. [ OK ] Started Apply Kernel Variables. [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Started Load/Save Random Seed. [ OK ] Reached target Local File Systems (Pre). Mounting /tmp... Starting udev Kernel Device Manager... [ OK ] Mounted /tmp. [ OK ] Reached target Local File Systems. Starting Set console font and keymap... Starting Armbian enhanced Log2Ram... [ OK ] Started Entropy daemon using the HAVEGE algorithm. [ OK ] Started udev Coldplug all Devices. [ OK ] Started udev Kernel Device Manager. [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. [ OK ] Started Armbian enhanced Log2Ram. Starting Journal Service... [ OK ] Found device /dev/ttyS0. [ OK ] Found device /dev/ttyGS0. [ OK ] Started Journal Service. Starting Flush Journal to Persistent Storage... [ OK ] Started Flush Journal to Persistent Storage. Starting Create Volatile Files and Directories... [ OK ] Started Create Volatile Files and Directories. Starting Update UTMP about System Boot/Shutdown... [ OK ] Reached target System Time Synchronized. [ OK ] Started Update UTMP about System Boot/Shutdown. [ OK ] Reached target System Initialization. Starting Armbian filesystem resize service... [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Reached target Sockets. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Started Armbian filesystem resize service. [FAILED] Failed to start Set console font and keymap. See 'systemctl status console-setup.service' for details. [ OK ] Reached target Basic System. Starting LSB: Load kernel modules needed to enable cpufreq scaling... Starting System Logging Service... Starting Login Service... [ OK ] Started Armbian first run tasks. [ OK ] Created slice system-getty.slice. Starting LSB: Start/stop sysstat's sadc... Starting Permit User Sessions... [ OK ] Started D-Bus System Message Bus. [ OK ] Reached target Network (Pre). Starting Raise network interfaces... Starting Network Manager... [ OK ] Started Regular background program processing daemon. Starting Initializes zram swaping... Starting LSB: Armbian gathering hardware information... [ OK ] Started System Logging Service. [ OK ] Started Permit User Sessions. [ OK ] Started LSB: Start/stop sysstat's sadc. [ OK ] Started Login Service. [ OK ] Started LSB: Load kernel modules needed to enable cpufreq scaling. [ OK ] Started Initializes zram swaping. Starting LSB: set CPUFreq kernel parameters... Starting Set console scheme... [ OK ] Started Set console scheme. [ OK ] Started LSB: set CPUFreq kernel parameters. Starting LSB: Set sysfs variables from /etc/sysfs.conf... [ OK ] Started LSB: Set sysfs variables from /etc/sysfs.conf. [ OK ] Started Raise network interfaces. [ OK ] Started Network Manager. Starting Network Manager Wait Online... [ OK ] Reached target Network. [ OK ] Started Unattended Upgrades Shutdown. Starting OpenBSD Secure Shell server... Starting Network Manager Script Dispatcher Service... [ OK ] Started Network Manager Script Dispatcher Service. Starting Hostname Service... [ OK ] Started Hostname Service. [ OK ] Started OpenBSD Secure Shell server. Starting WPA supplicant... Starting Authenticate and Authorize Users to Run Privileged Tasks... [ OK ] Started WPA supplicant. [ OK ] Started Authenticate and Authorize Users to Run Privileged Tasks. [ OK ] Started Network Manager Wait Online. [ OK ] Reached target Network is Online. [ OK ] Started Daily apt download activities. [ OK ] Started Daily apt upgrade and clean activities. [ OK ] Reached target Timers. Starting /etc/rc.local Compatibility... Starting LSB: Advanced IEEE 802.11 management daemon... Starting LSB: Start NTP daemon... Starting LSB: disk temperature monitoring daemon... [ OK ] Started /etc/rc.local Compatibility. [ OK ] Started LSB: Advanced IEEE 802.11 management daemon. [ OK ] Started LSB: disk temperature monitoring daemon. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS0. [ OK ] Started Serial Getty on ttyGS0. [ OK ] Reached target Login Prompts. [ OK ] Started LSB: Start NTP daemon. [ OK ] Started LSB: Armbian gathering hardware information. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Ubuntu 16.04.3 LTS orangepizeroplus2 ttyS0 orangepizeroplus2 login: In case you still have troubles, start reading this. Make sure you have the right image/board.
arjepsen Posted February 19, 2018 Author Posted February 19, 2018 yes, tried that image - tried it again from the link you posted just to make extra sure, and it's the same thing. When it starts the kernel, it reboots. I've tried various power supplies - right now I'm using one rated for 2,4A. Tried various cards to - but I dont think the problem is either the psu, or the card, since I am able to boot perfectly fine from the images on the orange pi website. Quite sure my board is a zero plus 2 - H5
Dmytro Vasylenko Posted April 3, 2018 Posted April 3, 2018 (edited) @arjepsen were you able to fix this issue ? i have identical one on same hardware + armbian 5.34, on armbian 5.38 i was getting "Cannot setup simplefb" Edited April 3, 2018 by Dmytro Vasylenko
Igor Posted April 4, 2018 Posted April 4, 2018 9 hours ago, Dmytro Vasylenko said: on armbian 5.38 i was getting "Cannot setup simplefb" When do you get this? Does it also reboot? Can you describe your setup more in details?
Dmytro Vasylenko Posted April 4, 2018 Posted April 4, 2018 hi @igor, my hardware is orange pi zero 2+ (H5) microSD regular card on 8Gb (i think it is transcend, sorry i left it at home) for video output i've used hdmi only (with Philips TV and Dell Monitor) used etcher to write all images what images i've tried built in firmware on emmc worked perfectly armbian 5.34 - i see armbian logo in the center, so i assume fb initiated successfully but after "Starting kernel ...." line it reboots and continually reboots on this line. (screenshot attached) armbian 5.38 - i see error that "Cannot setup simplefb: node not found" screen flickers (no armbian logo), i see "Starting kernel ..." and it starts to continually reboot (each time in same place). (screenshot attached) archlinux from http://www.orangepi.org/downloadresources/ black screen nothing happens debian server from http://www.orangepi.org/downloadresources/ have boot perfectly, with no issues (made some basic packages update, configured wifi, etc) so it's definitely on an issue with PSU, it was late already and i've not tried to write armbian back to exclude faulty card slot.
Igor Posted April 4, 2018 Posted April 4, 2018 My v1.0 board, this image https://dl.armbian.com/orangepizeroplus2-h5/Ubuntu_xenial_next.7z and connected/powered to USB3 hub boots perfectly fine. With monitor attached. Boards might have a difference in memory quality/speed. This would explain why stock images work. Are you able to get some verbose boot logs on a serial console? Before you go for that, change cables, PSU, monitor and don't attach anything else to the board.
arjepsen Posted April 4, 2018 Author Posted April 4, 2018 13 hours ago, Dmytro Vasylenko said: @arjepsen were you able to fix this issue ? i have identical one on same hardware + armbian 5.34, on armbian 5.38 i was getting "Cannot setup simplefb" No - I still have the same issue. Have tried different cards, different psu's, different monitors/screens.
Igor Posted April 4, 2018 Posted April 4, 2018 43 minutes ago, Igor said: and connected/powered to USB3 hub boots perfectly fine ... until I tried to run apt update & upgrade. It instantly crashed. I switched now to a (trusted) LAB PSU and after severe stressing board remains stable. I am proceeding to upgrade, switching to beta, desktop install ...According to this, the problem can be solved by reading this section and act accordingly. Nope, it crashed again.
Igor Posted April 4, 2018 Posted April 4, 2018 I am doing some more research on this topic ... I'll update images when done. 1
Dmytro Vasylenko Posted April 4, 2018 Posted April 4, 2018 4 hours ago, Igor said: I am doing some more research on this topic ... I'll update images when done. thanks
Igor Posted April 4, 2018 Posted April 4, 2018 Try with attached kernel. linux-image-dev-sunxi64_5.42_arm64.deb linux-dtb-dev-sunxi64_5.42_arm64.deb
Dmytro Vasylenko Posted April 4, 2018 Posted April 4, 2018 2 hours ago, Igor said: Try with attached kernel. linux-image-dev-sunxi64_5.42_arm64.deb linux-dtb-dev-sunxi64_5.42_arm64.deb thank for the images, not quite sure how to use them - i should mount sdcard - place this images there - stop boot sequence - boot with provided kernel am i right ? Also wanted to share with you. I've tried to boot one more time with 5.38 (Armbian_5.38_Orangepizeroplus2-h5_Ubuntu_xenial_next_4.14.14) build without screen attached (only serial debugger). I do not see errors related to simplefb and have attached log file to this reply. It contains three reboots in the row. Do you need something else ? log.txt
Igor Posted April 5, 2018 Posted April 5, 2018 7 hours ago, Dmytro Vasylenko said: thank for the images, not quite sure how to use them Download to your board and install with: dpkg -i *.deb reboot. You can also switch to nightly (armbian-config -> system) and switch to alternative kernels (dev). My board survived the night with this kernel. I'll keep on with testings.
Dmytro Vasylenko Posted April 5, 2018 Posted April 5, 2018 2 hours ago, Igor said: Download to your board and install with: dpkg -i *.deb reboot. You can also switch to nightly (armbian-config -> system) and switch to alternative kernels (dev). My board survived the night with this kernel. I'll keep on with testings. not sure i'm following you, how i should download it and install on the board if i can't boot the board ...
Igor Posted April 5, 2018 Posted April 5, 2018 2 minutes ago, Dmytro Vasylenko said: not sure i'm following you, how i should download it and install on the board if i can't boot the board ... Sorry. Try this build:https://dl.armbian.com/orangepizeroplus2-h5/archive/Armbian_5.42_Orangepizeroplus2-h5_Debian_stretch_dev_4.16.0.7z
arjepsen Posted April 5, 2018 Author Posted April 5, 2018 Ok, for my part, it now boots, and I end up with a login prompt. Unfortunately I don't think the image includes drivers for the addon usb card, and my usb-ttl serial cable is still incoming in the mail. I'll report back when I get it.
Igor Posted April 5, 2018 Posted April 5, 2018 4 minutes ago, arjepsen said: Unfortunately I don't think the image includes drivers for the addon usb card It will take some time before this kernel gets to the functionality of the previous one ... I hope we will get better stability. What is missing? I noticed that gserial console is not enabled. I'll try to fix that asap.
Dmytro Vasylenko Posted April 5, 2018 Posted April 5, 2018 @igor same here, was able to boot, run apt updates, installed to emmc, wifi also works. thank you for help. 1
arjepsen Posted April 6, 2018 Author Posted April 6, 2018 ok, I received my usb-ttl cable. I can boot and login - everything seems fine. Updated, and installed openhab - fine so far. Only problem now is that I can't seem to get the addon-board with usb ports etc to work.
Igor Posted April 6, 2018 Posted April 6, 2018 33 minutes ago, arjepsen said: Only problem now is that I can't seem to get the addon-board with usb ports etc to work. Overlay support might be broken on this build which means you need to edit DTS(B) manually and enable USB ports ... development builds have rough edges.
Recommended Posts