Dear all,
I wrote already in a different thread http://archlinuxarm.org/forum/viewtopic.php?f=45&t=7042&start=60#p41233 that I could not reboot my wandboard quad (Rev B1) by the reboot or shutdown -r now command.
I have checked a few older images:
The following (kernel) versions properly boot after a reboot command:
Linux alarm 3.0.35-5-ARCH #1 SMP PREEMPT Thu Jan 23 14:43:31 MST 2014 armv7l GNU/Linux
Linux alarm 3.0.35-6-ARCH #1 SMP PREEMPT Wed Mar 19 16:46:49 MDT 2014 armv7l GNU/Linux
after pacman -Suy is this upgraded to version:
Linux alarm 3.10.17-3-ARCH #1 SMP Tue Jul 15 20:38:48 MDT 2014 armv7l GNU/Linux
With this kernel version is a boot after the reboot command not working anymore.
The boot process hangs after "Starting Kernel...."
During the shutdown I do see a few errors pointing on the watchdog and uboot detects that the reboot has to do with the watchdog "Reset cause: WDOG" can it be that something is not correctly initialized?
Shutdown and unsuccessful boot log:
$this->bbcode_second_pass_code('', '
uname -a
Linux wandboard 3.10.17-3-ARCH #1 SMP Tue Jul 15 20:38:48 MDT 2014 armv7l GNU/Linux
[root@wandboard ~]# reboot
[[32m OK [0m] Stopped target Sound Card.
Stopping User Manager for UID 0...
[[32m OK [0m] Stopped target Graphical Interface.
[[32m OK [0m] Stopped target Multi-User System.
Stopping Network Time Service...
Stopping OpenSSH Daemon...
Stopping Entropy Harvesting Daemon...
Stopping Automatic wired network connection using netctl profiles...
Stopping Login Service...
[[32m OK [0m] Stopped target Login Prompts.
Stopping Getty on tty1...
Stopping Serial Getty on ttymxc0...
Stopping D-Bus System Message Bus...
Starting Generate shutdown-ramfs...
[[32m OK [0m] Stopped OpenSSH Daemon.
[[32m OK [0m] Stopped Login Service.
[[32m OK [0m] Stopped D-Bus System Message Bus.
[[32m OK [0m] Stopped Entropy Harvesting Daemon.
[[32m OK [0m] Stopped Network Time Service.
[[32m OK [0m] Stopped Automatic wired network connection using netctl profiles.
[[32m OK [0m] Stopped Getty on tty1.
[[32m OK [0m] Stopped Serial Getty on ttymxc0.
[[32m OK [0m] Stopped User Manager for UID 0.
[[32m OK [0m] Removed slice user-0.slice.
[[32m OK [0m] Removed slice system-serial\x2dgetty.slice.
[[32m OK [0m] Removed slice system-getty.slice.
Stopping Permit User Sessions...
[[32m OK [0m] Removed slice system-netctl\x2difplugd.slice.
[[32m OK [0m] Started Generate shutdown-ramfs.
[[32m OK [0m] Stopped Permit User Sessions.
[[32m OK [0m] Stopped target Basic System.
[[32m OK [0m] Stopped target Slices.
[[32m OK [0m] Removed slice User and Session Slice.
[[32m OK [0m] Stopped target Paths.
[[32m OK [0m] Stopped target Timers.
[[32m OK [0m] Stopped target Sockets.
[[32m OK [0m] Closed PC/SC Smart Card Daemon Activation Socket.
[[32m OK [0m] Closed D-Bus System Message Bus Socket.
[[32m OK [0m] Stopped target System Initialization.
Stopping Load/Save RF Kill Switch Status of rfkill2...
Stopping Load/Save RF Kill Switch Status of rfkill1...
Stopping Load/Save RF Kill Switch Status of rfkill0...
Stopping Load/Save Screen Backlight Brightness of ba...ight_lvds.29...
Stopping Load/Save Screen Backlight Brightness of ba...light_lcd.28...
[[32m OK [0m] Stopped target Encrypted Volumes.
Stopping Load/Save Random Seed...
Stopping Apply Kernel Variables...
[[32m OK [0m] Stopped Apply Kernel Variables.
Stopping Setup Virtual Console...
[[32m OK [0m] Stopped Setup Virtual Console.
Stopping Update UTMP about System Boot/Shutdown...
[[32m OK [0m] Stopped target Swap.
[[32m OK [0m] Stopped target Remote File Systems.
[[32m OK [0m] Stopped Load/Save RF Kill Switch Status of rfkill2.
[[32m OK [0m] Stopped Load/Save RF Kill Switch Status of rfkill1.
[[32m OK [0m] Stopped Load/Save RF Kill Switch Status of rfkill0.
[[32m OK [0m] Stopped Load/Save Screen Backlight Brightness of bac...klight_lvds.29.
[[32m OK [0m] Stopped Load/Save Screen Backlight Brightness of bac...cklight_lcd.28.
[[32m OK [0m] Stopped Load/Save Random Seed.
[[32m OK [0m] Stopped Update UTMP about System Boot/Shutdown.
Stopping Create Volatile Files and Directories...
[[32m OK [0m] Stopped Create Volatile Files and Directories.
[[32m OK [0m] Stopped target Local File Systems.
Unmounting /run/user/0...
Unmounting Temporary Directory...
[[32m OK [0m] Removed slice system-systemd\x2dbacklight.slice.
[[32m OK [0m] Removed slice system-systemd\x2drfkill.slice.
[[32m OK [0m] Unmounted /run/user/0.
[[32m OK [0m] Unmounted Temporary Directory.
[[32m OK [0m] Reached target Unmount All Filesystems.
[[32m OK [0m] Stopped target Local File Systems (Pre).
Stopping Create Static Device Nodes in /dev...
[[32m OK [0m] Stopped Create Static Device Nodes in /dev.
Stopping Remount Root and Kernel File Systems...
[[32m OK [0m] Stopped Remount Root and Kernel File Systems.
[[32m OK [0m] Reached target Shutdown.
imx2-wdt 20bc000.wdog: Unexpected close: Expect reboot!
systemd-shutdown[1]: Sending SIGTERM to remaining processes...
systemd-journald[168]: Received SIGTERM from PID 1 (systemd-shutdow).
systemd-shutdown[1]: Sending SIGKILL to remaining processes...
systemd-shutdown[1]: Hardware watchdog 'imx2+ watchdog', version 0
systemd-shutdown[1]: Unmounting file systems.
systemd-shutdown[1]: Unmounting /sys/kernel/debug.
systemd-shutdown[1]: Unmounting /sys/fs/fuse/connections.
systemd-shutdown[1]: Unmounting /dev/mqueue.
EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
systemd-shutdown[1]: All filesystems unmounted.
systemd-shutdown[1]: Deactivating swaps.
systemd-shutdown[1]: All swaps deactivated.
systemd-shutdown[1]: Detaching loop devices.
systemd-shutdown[1]: All loop devices detached.
systemd-shutdown[1]: Detaching DM devices.
systemd-shutdown[1]: All DM devices detached.
systemd-shutdown[1]: Successfully changed into root pivot.
systemd-shutdown[1]: Returning to initrd...
imx2-wdt 20bc000.wdog: Unexpected close: Expect reboot!
Sending SIGTERM to remaining processes...
Sending SIGKILL to remaining processes...
Hardware watchdog 'imx2+ watchdogcgroup: option changes via remount are deprecated (pid=1 comm=shutdown)
', version 0
Unmounting file syscgroup: option changes via remount are deprecated (pid=1 comm=shutdown)
tems.
Unmounting /oldroot/sys/fscgroup: option changes via remount are deprecated (pid=1 comm=shutdown)
/cgroup/perf_event.
Unmounting /cgroup: option changes via remount are deprecated (pid=1 comm=shutdown)
oldroot/sys/fs/cgroup/blkio.
Unmcgroup: option changes via remount are deprecated (pid=1 comm=shutdown)
ounting /oldroot/sys/fs/cgroup/frcgroup: option changes via remount are deprecated (pid=1 comm=shutdown)
eezer.
Unmounting /oldroot/sys/fcgroup: option changes via remount are deprecated (pid=1 comm=shutdown)
s/cgroup/devices.
Unmounting /olcgroup: option changes via remount are deprecated (pid=1 comm=shutdown)
droot/sys/fs/cgroup/memory.
Unmounting /oldroot/sys/fs/cgroup/cpu,cpuacct.
Unmounting /oldroot/sys/fs/cgroup/cpuset.
Unmounting /oldroot/sys/fs/cgroup/systemd.
Unmounting /oldroot/sys/fs/cgroup.
Unmounting /oldroot/run.
Unmounting /oldroot/dev/pts.
UEXT4-fs (mmcblk0p1): re-mounted. Opts: (null)
nmounting /oldroot/dev/shm.
Unmounting /oldroot/sys/kernel/security.
Unmounting /oldroot/proc.
Unmounting /oldroot/sys.
Unmounting /oldroot/dev.
Unmounting /oldroot.
All filesystems unmounted.
Deactivating swaps.
All swaps deactivated.
Detaching loop devices.
All loop devices detached.
Detaching DM devices.
All DM devices detached.
Rebooting.
sd 0:0:0:0: [sda] Synchronizing SCSI cache
imx2-wdt 20bc000.wdog: Device shutdown: Expect reboot!
Restarting system.
U-Boot 2014.04 (May 17 2014 - 13:26:22) Arch Linux ARM
CPU: Freescale i.MX6Q rev1.2 at 792 MHz
Reset cause: WDOG
Board: Wandboard
DRAM: 2 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: FEC [PRIME]
Hit any key to stop autoboot: 1 0
mmc0 is current device
SD/MMC found on device 0
102 bytes read in 70 ms (1000 Bytes/s)
Importing environment from mmc (uEnv.txt)...
Checking if uenvcmd is set ...
Running default loadzimage ...
3600688 bytes read in 253 ms (13.6 MiB/s)
43443 bytes read in 78 ms (543 KiB/s)
Booting from mmc ...
Kernel image @ 0x12000000 [ 0x000000 - 0x36f130 ]
## Flattened Device Tree blob at 18000000
Booting using the fdt blob at 0x18000000
Using Device Tree in place at 18000000, end 1800d9b2
Starting kernel ...
')
Needless to say that the system does boot when I power cycle or push on the reset button.
Using the mainline kernel does not have this problem. Does this kernel support the vpuenc / vpudec options in gstreamer? If so, then using this kernel would be an option for me.
Greetings,
Han