Jump to content

[solved] OS not booting with last update on Cubieboard 1


Go to solution Solved by Alex0010,

Recommended Posts

Posted

Never had a problem with Armbian on my board.

After last full upgrade (linux-image-next-sunxi 5.27.170427 etc) system is not booting. I tried with a fresh SD card (image Armbian_5.25_Cubieboard_Debian_jessie_next_4.9.7) - it's booting fine afresh, but also doesn't boot after full upgrade. Below are logs for both cases.

 

Boot with old card:

Spoiler

U-Boot 2017.01-armbian (Feb 02 2017 - 02:20:16 +0100) Allwinner Technology

CPU:   Allwinner A10 (SUN4I)
Model: Cubietech Cubieboard
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
SCSI:  Target spinup took 0 ms.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst
Net:   eth0: ethernet@01c0b000
Hit any key to stop autoboot:  0
6944 bytes read in 173 ms (39.1 KiB/s)
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
2426 bytes read in 180 ms (12.7 KiB/s)
## Executing script at 43100000
** File not found /boot/.verbose **
0 bytes read in 129 ms (0 Bytes/s)
44405 bytes read in 1200 ms (36.1 KiB/s)
5125088 bytes read in 750 ms (6.5 MiB/s)
6189888 bytes read in 793 ms (7.4 MiB/s)
## Loading init Ramdisk from Legacy Image at 42000000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5125024 Bytes = 4.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 49000000
   Booting using the fdt blob at 0x49000000
   Loading Ramdisk to 49b1c000, end 49fff3a0 ... OK
   Loading Device Tree to 49b0e000, end 49b1bd74 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
                                                                          

 

Inital boot of new card (Armbian_5.25_Cubieboard_Debian_jessie_next_4.9.7), upgrade and stuck on boot:

Spoiler

U-Boot SPL 2017.01-armbian (Feb 02 2017 - 02:20:16)
DRAM: 1024 MiB
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1

U-Boot 2017.01-armbian (Feb 02 2017 - 02:20:16 +0100) Allwinner Technology

CPU:   Allwinner A10 (SUN4I)
Model: Cubietech Cubieboard
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
SCSI:  Target spinup took 0 ms.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst
Net:   eth0: ethernet@01c0b000
Hit any key to stop autoboot:  0
6944 bytes read in 173 ms (39.1 KiB/s)
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
2652 bytes read in 215 ms (11.7 KiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
114 bytes read in 184 ms (0 Bytes/s)
4065494 bytes read in 630 ms (6.2 MiB/s)
6037368 bytes read in 804 ms (7.2 MiB/s)
0 bytes read in 152 ms (0 Bytes/s)
44361 bytes read in 263 ms (164.1 KiB/s)
## Loading init Ramdisk from Legacy Image at 43300000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4065430 Bytes = 3.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
   Booting using the fdt blob at 0x43000000
   reserving fdt memory region: addr=43000000 size=b000
   Loading Ramdisk to 49c1f000, end 49fff896 ... OK
   Loading Device Tree to 49c11000, end 49c1efff ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Loading, please wait...
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.25.2
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1
/dev/mmcblk0p1: clean, 56908/81600 files, 230414/325888 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Debian GNU/Linux 8 (jessie)!

         Expecting device dev-ttyS0.device...
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Set up automount Arbitrary Executable File Formats F...utomount Point.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Swap.
[  OK  ] Created slice Root Slice.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on Delayed Shutdown Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Created slice User and Session Slice.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on Journal Socket.
[  OK  ] Created slice System Slice.
         Starting Increase datagram queue length...
         Starting Restore / save the current clock...
         Mounting Debug File System...
         Mounting POSIX Message Queue File System...
         Starting Create list of required static device nodes...rrent kernel...
         Starting udev Coldplug all Devices...
         Starting LSB: Set keymap...
[  OK  ] Created slice system-serial\x2dgetty.slice.
         Starting Load Kernel Modules...
[  OK  ] Reached target Slices.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Debug File System.
[  OK  ] Started Increase datagram queue length.
[  OK  ] Started Restore / save the current clock.
[  OK  ] Started Create list of required static device nodes ...current kernel.
[  OK  ] Started LSB: Set keymap.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started udev Coldplug all Devices.
         Starting Apply Kernel Variables...
         Mounting FUSE Control File System...
         Mounting Configuration File System...
         Starting Create Static Device Nodes in /dev...
[  OK  ] Listening on Syslog Socket.
         Starting Journal Service...
[  OK  ] Started Journal Service.
[  OK  ] Mounted Configuration File System.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Started udev Kernel Device Manager.
         Starting Copy rules generated while the root was ro...
         Starting LSB: Set preliminary keymap...
         Starting LSB: Tune IDE hard disks...
[  OK  ] Started Copy rules generated while the root was ro.
[  OK  ] Started LSB: Tune IDE hard disks.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Created slice system-ifup.slice.
[  OK  ] Reached target Sound Card.
[  OK  ] Started LSB: Set preliminary keymap.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting Various fixups to make systemd work better on Debian...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
         Starting Load/Save Random Seed...
[  OK  ] Mounted /tmp.
[  OK  ] Started Various fixups to make systemd work better on Debian.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Reached target Local File Systems.
         Starting Armbian enhanced Log2Ram...
         Starting Create Volatile Files and Directories...
[  OK  ] Reached target Remote File Systems.
         Starting Trigger Flushing of Journal to Persistent Storage...
         Starting LSB: Prepare console...
         Starting LSB: Raise network interfaces....
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started Armbian enhanced Log2Ram.
[  OK  ] Started Trigger Flushing of Journal to Persistent Storage.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started LSB: Prepare console.
         Starting LSB: Set console font and keymap...
[  OK  ] Started LSB: Raise network interfaces..
         Starting ifup for eth0...
[  OK  ] Started ifup for eth0.
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
[  OK  ] Started LSB: Set console font and keymap.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Timers.
         Starting Armbian filesystem resize service...
[  OK  ] Started Armbian filesystem resize service.
[  OK  ] Reached target Basic System.
         Starting Entropy daemon using the HAVEGE algorithm...
[  OK  ] Started Entropy daemon using the HAVEGE algorithm.
         Starting Regular background program processing daemon...
[  OK  ] Started Regular background program processing daemon.
         Starting Network Manager...
         Starting OpenBSD Secure Shell server...
[  OK  ] Started OpenBSD Secure Shell server.
         Starting System Logging Service...
         Starting Armbian first run tasks...
[  OK  ] Started Armbian first run tasks.
[  OK  ] Created slice system-getty.slice.
         Starting /etc/rc.local Compatibility...
         Starting D-Bus System Message Bus...
[  OK  ] Started D-Bus System Message Bus.
         Starting Login Service...
         Starting Permit User Sessions...
         Starting LSB: Start/stop sysstat's sadc...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
         Starting LSB: Starts LIRC daemon....
         Starting LSB: Start NTP daemon...
         Starting LSB: Advanced IEEE 802.11 management daemon...
         Starting LSB: Armbian gathering hardware information...
         Starting LSB: disk temperature monitoring daemon...
[  OK  ] Started System Logging Service.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started LSB: Start/stop sysstat's sadc.
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Started LSB: Start NTP daemon.
[  OK  ] Started LSB: disk temperature monitoring daemon.
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Started LSB: Starts LIRC daemon..
[  OK  ] Started Login Service.
         Starting Authenticate and Authorize Users to Run Privileged Tasks...
         Starting LSB: set CPUFreq kernel parameters...
         Starting Serial Getty on ttyS0...
[  OK  ] Started Serial Getty on ttyS0.
         Starting Getty on tty1...
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LSB: set CPUFreq kernel parameters.
         Starting LSB: Set sysfs variables from /etc/sysfs.conf...
[  OK  ] Started Authenticate and Authorize Users to Run Privileged Tasks.
[  OK  ] Started LSB: Set sysfs variables from /etc/sysfs.conf.
[  OK  ] Started Network Manager.
[  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.

Debian GNU/Linux 8 cubieboard ttyS0

cubieboard login: root
Password:
You are required to change your password immediately (root enforced)
Changing password for root.
(current) UNIX password:

Authentication token manipulation error

Debian GNU/Linux 8 cubieboard ttyS0

cubieboard login: root
Password:
You are required to change your password immediately (root enforced)
Changing password for root.
(current) UNIX password:
Enter new UNIX password:
Retype new UNIX password:
Linux cubieboard 4.9.7-sunxi #1 SMP Thu Feb 2 01:52:06 CET 2017 armv7l
  ____      _     _      _                         _
 / ___|   _| |__ (_) ___| |__   ___   __ _ _ __ __| |
| |  | | | | '_ \| |/ _ \ '_ \ / _ \ / _` | '__/ _` |
| |__| |_| | |_) | |  __/ |_) | (_) | (_| | | | (_| |
 \____\__,_|_.__/|_|\___|_.__/ \___/ \__,_|_|  \__,_|
                                                     

Welcome to ARMBIAN 5.25 stable Debian GNU/Linux 8 (jessie) 4.9.7-sunxi   
System load:   0.23             Up time:       4 min
Memory usage:  5 % of 1002Mb    IP:            192.168.0.193
CPU temp:      16°C             HDD temp:      36°C             
Usage of /:    62% of 1.6G      

New to Armbian? Check the documentation first: docs.armbian.com


Thank you for choosing Armbian! Support: www.armbian.com

Creating a new user account. Press <Ctrl-C> to abort

Please provide a username (eg. your forename): cubie
Trying to add user cubie
Adding user `cubie' ...
Adding new group `cubie' (1000) ...
Adding new user `cubie' (1000) with group `cubie' ...
Creating home directory `/home/cubie' ...
Copying files from `/etc/skel' ...
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for cubie
Enter the new value, or press ENTER for the default
        Full Name []:
        Room Number []:
        Work Phone []:
        Home Phone []:
        Other []:
Is the information correct? [Y/n] y

Dear cubie, your account cubie has been created and is sudo enabled.
Please use this account for your daily work from now on.

root@cubieboard:~# pgrep -l apt
root@cubieboard:~# apt-get update
Get:1 http://apt.armbian.com jessie InRelease [14.1 kB]
Get:2 http://security.debian.org jessie/updates InRelease [63.1 kB]            
Get:3 http://apt.armbian.com jessie/main armhf Packages [222 kB]               
Ign http://httpredir.debian.org jessie InRelease                               
Get:4 http://httpredir.debian.org jessie-updates InRelease [145 kB]            
Get:5 http://httpredir.debian.org jessie-backports InRelease [166 kB]          
Get:6 http://apt.armbian.com jessie/utils armhf Packages [6,357 B]             
Hit http://httpredir.debian.org jessie Release.gpg                             
Get:7 http://security.debian.org jessie/updates/main armhf Packages [391 kB]   
Get:8 http://apt.armbian.com jessie/jessie-desktop armhf Packages [13.4 kB]    
Hit http://httpredir.debian.org jessie Release                                 
Get:9 http://security.debian.org jessie/updates/contrib armhf Packages [1,138 B]
Get:10 http://security.debian.org jessie/updates/non-free armhf Packages [14 B]
Get:11 http://security.debian.org jessie/updates/contrib Translation-en [1,211 B]
Get:12 http://security.debian.org jessie/updates/main Translation-en [211 kB]  
Get:13 http://security.debian.org jessie/updates/non-free Translation-en [14 B]
Ign http://apt.armbian.com jessie/jessie-desktop Translation-en_US             
Ign http://apt.armbian.com jessie/jessie-desktop Translation-en                
Ign http://apt.armbian.com jessie/jessie-desktop Translation-en_US.UTF-8       
Ign http://apt.armbian.com jessie/main Translation-en_US                       
Get:14 http://httpredir.debian.org jessie-updates/main armhf Packages/DiffIndex [7,900 B]
Ign http://apt.armbian.com jessie/main Translation-en                          
Ign http://apt.armbian.com jessie/main Translation-en_US.UTF-8                 
Ign http://apt.armbian.com jessie/utils Translation-en_US                      
Ign http://apt.armbian.com jessie/utils Translation-en                         
Ign http://apt.armbian.com jessie/utils Translation-en_US.UTF-8                
Get:15 http://httpredir.debian.org jessie-updates/contrib armhf Packages [32 B]
Get:16 http://httpredir.debian.org jessie-updates/non-free armhf Packages/DiffIndex [736 B]
Get:17 http://httpredir.debian.org jessie-updates/contrib Translation-en [14 B]
Get:18 http://httpredir.debian.org jessie-updates/main Translation-en/DiffIndex [2,704 B]
Get:19 http://httpredir.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]
Get:20 http://httpredir.debian.org jessie-updates/main armhf 2017-03-14-2025.02.pdiff [529 B]
Get:21 http://httpredir.debian.org jessie-updates/main armhf 2017-04-15-2027.16.pdiff [527 B]
Get:22 http://httpredir.debian.org jessie-updates/main armhf 2017-04-15-2027.16.pdiff [527 B]
Get:23 http://httpredir.debian.org jessie-backports/main armhf Packages/DiffIndex [27.8 kB]
Get:24 http://httpredir.debian.org jessie-backports/contrib armhf Packages/DiffIndex [24.1 kB]
Get:25 http://httpredir.debian.org jessie-backports/non-free armhf Packages/DiffIndex [7,546 B]
Get:26 http://httpredir.debian.org jessie-backports/contrib Translation-en/DiffIndex [6,484 B]
Get:27 http://httpredir.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]
Get:28 http://httpredir.debian.org jessie-backports/non-free Translation-en/DiffIndex [15.7 kB]
Hit http://httpredir.debian.org jessie/main armhf Packages                     
Hit http://httpredir.debian.org jessie/contrib armhf Packages                  
Hit http://httpredir.debian.org jessie/non-free armhf Packages                 
Hit http://httpredir.debian.org jessie/contrib Translation-en         
Hit http://httpredir.debian.org jessie/main Translation-en                     
Hit http://httpredir.debian.org jessie/non-free Translation-en                 
Get:29 http://httpredir.debian.org jessie-backports/contrib armhf 2017-02-20-1425.09.pdiff [1,490 B]
Get:30 http://httpredir.debian.org jessie-backports/contrib armhf 2017-02-20-1425.09.pdiff [1,490 B]
Get:31 http://httpredir.debian.org jessie-backports/non-free armhf 2017-02-06-1422.33.pdiff [359 B]
Get:32 http://httpredir.debian.org jessie-backports/non-free armhf 2017-03-15-2026.08.pdiff [481 B]
Get:33 http://httpredir.debian.org jessie-backports/non-free armhf 2017-03-15-2026.08.pdiff [481 B]
Get:34 http://httpredir.debian.org jessie-backports/main 2017-02-06-1422.33.pdiff [4,512 B]
Get:35 http://httpredir.debian.org jessie-backports/main 2017-02-12-0223.09.pdiff [186 B]
Get:36 http://httpredir.debian.org jessie-backports/main 2017-02-13-2025.04.pdiff [346 B]
Get:37 http://httpredir.debian.org jessie-backports/main 2017-02-17-2025.39.pdiff [140 B]
Get:38 http://httpredir.debian.org jessie-backports/main 2017-02-21-1425.24.pdiff [154 B]
Get:39 http://httpredir.debian.org jessie-backports/main 2017-02-22-0825.12.pdiff [17.8 kB]
Get:40 http://httpredir.debian.org jessie-backports/main 2017-02-22-1425.05.pdiff [67 B]
Get:41 http://httpredir.debian.org jessie-backports/main 2017-02-22-2026.03.pdiff [473 B]
Get:42 http://httpredir.debian.org jessie-backports/main 2017-02-24-0827.21.pdiff [197 B]
Get:43 http://httpredir.debian.org jessie-backports/main 2017-02-26-0825.53.pdiff [33 B]
Get:44 http://httpredir.debian.org jessie-backports/main 2017-03-02-0225.40.pdiff [5,295 B]
Get:45 http://httpredir.debian.org jessie-backports/main 2017-03-03-1425.24.pdiff [4,321 B]
Get:46 http://httpredir.debian.org jessie-backports/main 2017-03-04-2026.48.pdiff [362 B]
Get:47 http://httpredir.debian.org jessie-backports/main 2017-03-06-1425.24.pdiff [1,097 B]
Get:48 http://httpredir.debian.org jessie-backports/main 2017-03-06-2025.45.pdiff [6,163 B]
Get:49 http://httpredir.debian.org jessie-backports/main 2017-03-07-1425.40.pdiff [2,480 B]
Get:50 http://httpredir.debian.org jessie-backports/main 2017-03-08-0825.27.pdiff [154 B]
Get:51 http://httpredir.debian.org jessie-backports/main 2017-03-09-1425.38.pdiff [807 B]
Get:52 http://httpredir.debian.org jessie-backports/main 2017-03-10-1425.50.pdiff [2,509 B]
Get:53 http://httpredir.debian.org jessie-backports/main 2017-03-14-1425.29.pdiff [1,879 B]
Get:54 http://httpredir.debian.org jessie-backports/main 2017-03-14-2025.02.pdiff [3,981 B]
Get:55 http://httpredir.debian.org jessie-backports/main 2017-03-15-2026.08.pdiff [4,273 B]
Get:56 http://httpredir.debian.org jessie-backports/main 2017-03-16-0825.29.pdiff [4,490 B]
Get:57 http://httpredir.debian.org jessie-backports/main 2017-03-16-2025.23.pdiff [5,941 B]
Get:58 http://httpredir.debian.org jessie-backports/main 2017-03-17-0226.43.pdiff [3,965 B]
Get:59 http://httpredir.debian.org jessie-backports/main 2017-03-17-1427.32.pdiff [813 B]
Get:60 http://httpredir.debian.org jessie-backports/main 2017-03-23-1426.31.pdiff [12.8 kB]
Get:61 http://httpredir.debian.org jessie-backports/main 2017-03-24-1426.16.pdiff [1,481 B]
Get:62 http://httpredir.debian.org jessie-backports/main 2017-03-31-0825.48.pdiff [71 B]
Get:63 http://httpredir.debian.org jessie-backports/main 2017-03-31-1425.39.pdiff [1,937 B]
Get:64 http://httpredir.debian.org jessie-backports/main 2017-04-04-0826.17.pdiff [312 B]
Get:65 http://httpredir.debian.org jessie-backports/main 2017-04-04-1425.45.pdiff [31 B]
Get:66 http://httpredir.debian.org jessie-backports/main 2017-04-05-1425.06.pdiff [184 B]
Get:67 http://httpredir.debian.org jessie-backports/main 2017-04-11-1425.21.pdiff [2,447 B]
Get:68 http://httpredir.debian.org jessie-backports/main 2017-04-11-2026.20.pdiff [609 B]
Get:69 http://httpredir.debian.org jessie-backports/main 2017-04-12-1424.44.pdiff [834 B]
Get:70 http://httpredir.debian.org jessie-backports/main 2017-04-13-1425.53.pdiff [5,667 B]
Get:71 http://httpredir.debian.org jessie-backports/main 2017-04-13-2026.31.pdiff [334 B]
Get:72 http://httpredir.debian.org jessie-backports/main 2017-04-18-2026.46.pdiff [2,244 B]
Get:73 http://httpredir.debian.org jessie-backports/main 2017-04-22-2026.14.pdiff [2,556 B]
Get:74 http://httpredir.debian.org jessie-backports/main 2017-04-25-0226.04.pdiff [481 B]
Get:75 http://httpredir.debian.org jessie-backports/main 2017-04-26-1426.33.pdiff [786 B]
Get:76 http://httpredir.debian.org jessie-backports/main 2017-04-26-2027.32.pdiff [908 B]
Get:77 http://httpredir.debian.org jessie-backports/main 2017-04-30-2027.26.pdiff [559 B]
Get:78 http://httpredir.debian.org jessie-backports/main 2017-05-01-2025.49.pdiff [549 B]
Get:79 http://httpredir.debian.org jessie-backports/main 2017-05-03-0827.51.pdiff [506 B]
Get:80 http://httpredir.debian.org jessie-backports/main 2017-05-03-0827.51.pdiff [506 B]
Get:81 http://httpredir.debian.org jessie-backports/non-free 2017-03-06-1425.24.pdiff [219 B]
Get:82 http://httpredir.debian.org jessie-backports/non-free 2017-04-11-1425.21.pdiff [322 B]
Get:83 http://httpredir.debian.org jessie-backports/non-free 2017-04-13-1425.53.pdiff [316 B]
Get:84 http://httpredir.debian.org jessie-backports/main armhf Packages [860 kB]
Get:85 http://httpredir.debian.org jessie-backports/non-free 2017-04-13-1425.53.pdiff [316 B]
Fetched 2,328 kB in 20s (112 kB/s)                                             
Reading package lists... Done
root@cubieboard:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  bind9-host dnsutils hostapd libbind9-90 libdns-export100 libdns100 libicu52
  libirs-export91 libisc-export95 libisc95 libisccc90 libisccfg-export90
  libisccfg90 liblwres90 libmysqlclient18 linux-dtb-next-sunxi
  linux-headers-next-sunxi linux-image-next-sunxi linux-libc-dev login
  mysql-common passwd tzdata vim vim-common vim-runtime vim-tiny
27 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 45.0 MB of archives.
After this operation, 2,255 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://apt.armbian.com/ jessie/utils hostapd armhf 1:2.5~armbian5.27.170428+1 [306 kB]
Get:2 http://security.debian.org/ jessie/updates/main login armhf 1:4.2-3+deb8u3 [719 kB]
Get:3 http://apt.armbian.com/ jessie/main linux-dtb-next-sunxi armhf 5.27.170427 [150 kB]
Get:4 http://apt.armbian.com/ jessie/main linux-headers-next-sunxi armhf 5.26 [10.3 MB]
Get:5 http://security.debian.org/ jessie/updates/main libisc-export95 armhf 1:9.9.5.dfsg-9+deb8u10 [128 kB]
Get:6 http://security.debian.org/ jessie/updates/main libdns-export100 armhf 1:9.9.5.dfsg-9+deb8u10 [415 kB]
Get:7 http://httpredir.debian.org/debian/ jessie-updates/main tzdata all 2017b-0+deb8u1 [232 kB]
Get:8 http://security.debian.org/ jessie/updates/main libicu52 armhf 52.1-8+deb8u5 [6,582 kB]
Get:9 http://security.debian.org/ jessie/updates/main libisccfg-export90 armhf 1:9.9.5.dfsg-9+deb8u10 [38.0 kB]
Get:10 http://security.debian.org/ jessie/updates/main libirs-export91 armhf 1:9.9.5.dfsg-9+deb8u10 [36.5 kB]
Get:11 http://security.debian.org/ jessie/updates/main mysql-common all 5.5.55-0+deb8u1 [86.0 kB]
Get:12 http://security.debian.org/ jessie/updates/main libmysqlclient18 armhf 5.5.55-0+deb8u1 [633 kB]
Get:13 http://security.debian.org/ jessie/updates/main passwd armhf 1:4.2-3+deb8u3 [934 kB]
Get:14 http://apt.armbian.com/ jessie/main linux-image-next-sunxi armhf 5.27.170427 [15.9 MB]
Get:15 http://security.debian.org/ jessie/updates/main vim armhf 2:7.4.488-7+deb8u2 [827 kB]
Get:16 http://security.debian.org/ jessie/updates/main vim-tiny armhf 2:7.4.488-7+deb8u2 [362 kB]
Get:17 http://security.debian.org/ jessie/updates/main vim-runtime all 2:7.4.488-7+deb8u2 [5,046 kB]
Get:18 http://security.debian.org/ jessie/updates/main vim-common armhf 2:7.4.488-7+deb8u2 [184 kB]
Get:19 http://security.debian.org/ jessie/updates/main dnsutils armhf 1:9.9.5.dfsg-9+deb8u10 [115 kB]
Get:20 http://security.debian.org/ jessie/updates/main bind9-host armhf 1:9.9.5.dfsg-9+deb8u10 [66.3 kB]
Get:21 http://security.debian.org/ jessie/updates/main libisc95 armhf 1:9.9.5.dfsg-9+deb8u10 [154 kB]
Get:22 http://security.debian.org/ jessie/updates/main libdns100 armhf 1:9.9.5.dfsg-9+deb8u10 [626 kB]
Get:23 http://security.debian.org/ jessie/updates/main libisccc90 armhf 1:9.9.5.dfsg-9+deb8u10 [34.5 kB]
Get:24 http://security.debian.org/ jessie/updates/main libisccfg90 armhf 1:9.9.5.dfsg-9+deb8u10 [50.8 kB]
Get:25 http://security.debian.org/ jessie/updates/main liblwres90 armhf 1:9.9.5.dfsg-9+deb8u10 [48.1 kB]
Get:26 http://security.debian.org/ jessie/updates/main libbind9-90 armhf 1:9.9.5.dfsg-9+deb8u10 [41.9 kB]
Get:27 http://security.debian.org/ jessie/updates/main linux-libc-dev armhf 3.16.39-1+deb8u2 [1,027 kB]
Fetched 45.0 MB in 11s (3,780 kB/s)                                            
Preconfiguring packages ...
(Reading database ... 52095 files and directories currently installed.)
Preparing to unpack .../login_1%3a4.2-3+deb8u3_armhf.deb ...
Unpacking login (1:4.2-3+deb8u3) over (1:4.2-3+deb8u1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up login (1:4.2-3+deb8u3) ...
(Reading database ... 52095 files and directories currently installed.)
Preparing to unpack .../libisc-export95_1%3a9.9.5.dfsg-9+deb8u10_armhf.deb ...
Unpacking libisc-export95 (1:9.9.5.dfsg-9+deb8u10) over (1:9.9.5.dfsg-9+deb8u9) ...
Preparing to unpack .../libdns-export100_1%3a9.9.5.dfsg-9+deb8u10_armhf.deb ...
Unpacking libdns-export100 (1:9.9.5.dfsg-9+deb8u10) over (1:9.9.5.dfsg-9+deb8u9) ...
Preparing to unpack .../libicu52_52.1-8+deb8u5_armhf.deb ...
Unpacking libicu52:armhf (52.1-8+deb8u5) over (52.1-8+deb8u4) ...
Preparing to unpack .../libisccfg-export90_1%3a9.9.5.dfsg-9+deb8u10_armhf.deb ...
Unpacking libisccfg-export90 (1:9.9.5.dfsg-9+deb8u10) over (1:9.9.5.dfsg-9+deb8u9) ...
Preparing to unpack .../libirs-export91_1%3a9.9.5.dfsg-9+deb8u10_armhf.deb ...
Unpacking libirs-export91 (1:9.9.5.dfsg-9+deb8u10) over (1:9.9.5.dfsg-9+deb8u9) ...
Preparing to unpack .../mysql-common_5.5.55-0+deb8u1_all.deb ...
Unpacking mysql-common (5.5.55-0+deb8u1) over (5.5.54-0+deb8u1) ...
Preparing to unpack .../libmysqlclient18_5.5.55-0+deb8u1_armhf.deb ...
Unpacking libmysqlclient18:armhf (5.5.55-0+deb8u1) over (5.5.54-0+deb8u1) ...
Preparing to unpack .../passwd_1%3a4.2-3+deb8u3_armhf.deb ...
Unpacking passwd (1:4.2-3+deb8u3) over (1:4.2-3+deb8u1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up passwd (1:4.2-3+deb8u3) ...
(Reading database ... 52095 files and directories currently installed.)
Preparing to unpack .../tzdata_2017b-0+deb8u1_all.deb ...
Unpacking tzdata (2017b-0+deb8u1) over (2016j-0+deb8u1) ...
Setting up tzdata (2017b-0+deb8u1) ...

Current default time zone: 'Europe/Ljubljana'
Local time is now:      Fri May  5 11:53:50 CEST 2017.
Universal Time is now:  Fri May  5 09:53:50 UTC 2017.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

(Reading database ... 52098 files and directories currently installed.)
Preparing to unpack .../vim_2%3a7.4.488-7+deb8u2_armhf.deb ...
Unpacking vim (2:7.4.488-7+deb8u2) over (2:7.4.488-7+deb8u1) ...
Preparing to unpack .../vim-tiny_2%3a7.4.488-7+deb8u2_armhf.deb ...
Unpacking vim-tiny (2:7.4.488-7+deb8u2) over (2:7.4.488-7+deb8u1) ...
Preparing to unpack .../vim-runtime_2%3a7.4.488-7+deb8u2_all.deb ...
Unpacking vim-runtime (2:7.4.488-7+deb8u2) over (2:7.4.488-7+deb8u1) ...
Preparing to unpack .../vim-common_2%3a7.4.488-7+deb8u2_armhf.deb ...
Unpacking vim-common (2:7.4.488-7+deb8u2) over (2:7.4.488-7+deb8u1) ...
Preparing to unpack .../dnsutils_1%3a9.9.5.dfsg-9+deb8u10_armhf.deb ...
Unpacking dnsutils (1:9.9.5.dfsg-9+deb8u10) over (1:9.9.5.dfsg-9+deb8u9) ...
Preparing to unpack .../bind9-host_1%3a9.9.5.dfsg-9+deb8u10_armhf.deb ...
Unpacking bind9-host (1:9.9.5.dfsg-9+deb8u10) over (1:9.9.5.dfsg-9+deb8u9) ...
Preparing to unpack .../libisc95_1%3a9.9.5.dfsg-9+deb8u10_armhf.deb ...
Unpacking libisc95 (1:9.9.5.dfsg-9+deb8u10) over (1:9.9.5.dfsg-9+deb8u9) ...
Preparing to unpack .../libdns100_1%3a9.9.5.dfsg-9+deb8u10_armhf.deb ...
Unpacking libdns100 (1:9.9.5.dfsg-9+deb8u10) over (1:9.9.5.dfsg-9+deb8u9) ...
Preparing to unpack .../libisccc90_1%3a9.9.5.dfsg-9+deb8u10_armhf.deb ...
Unpacking libisccc90 (1:9.9.5.dfsg-9+deb8u10) over (1:9.9.5.dfsg-9+deb8u9) ...
Preparing to unpack .../libisccfg90_1%3a9.9.5.dfsg-9+deb8u10_armhf.deb ...
Unpacking libisccfg90 (1:9.9.5.dfsg-9+deb8u10) over (1:9.9.5.dfsg-9+deb8u9) ...
Preparing to unpack .../liblwres90_1%3a9.9.5.dfsg-9+deb8u10_armhf.deb ...
Unpacking liblwres90 (1:9.9.5.dfsg-9+deb8u10) over (1:9.9.5.dfsg-9+deb8u9) ...
Preparing to unpack .../libbind9-90_1%3a9.9.5.dfsg-9+deb8u10_armhf.deb ...
Unpacking libbind9-90 (1:9.9.5.dfsg-9+deb8u10) over (1:9.9.5.dfsg-9+deb8u9) ...
Preparing to unpack .../hostapd_1%3a2.5~armbian5.27.170428+1_armhf.deb ...
Unpacking hostapd (1:2.5~armbian5.27.170428+1) over (1:2.5~armbian5.25+1) ...
Preparing to unpack .../linux-dtb-next-sunxi_5.27.170427_armhf.deb ...
Unpacking linux-dtb-next-sunxi (5.27.170427) over (5.25) ...
Preparing to unpack .../linux-headers-next-sunxi_5.26_armhf.deb ...
Unpacking linux-headers-next-sunxi (5.26) over (5.25) ...
dpkg: warning: unable to delete old directory '/usr/src/linux-headers-4.9.7-sunxi/scripts/mod': Directory not empty
dpkg: warning: unable to delete old directory '/usr/src/linux-headers-4.9.7-sunxi/scripts/kconfig': Directory not empty
dpkg: warning: unable to delete old directory '/usr/src/linux-headers-4.9.7-sunxi/scripts/basic': Directory not empty
dpkg: warning: unable to delete old directory '/usr/src/linux-headers-4.9.7-sunxi/scripts/dtc': Directory not empty
dpkg: warning: unable to delete old directory '/usr/src/linux-headers-4.9.7-sunxi/scripts': Directory not empty
dpkg: warning: unable to delete old directory '/usr/src/linux-headers-4.9.7-sunxi/arch/arm/include/generated': Directory not empty
dpkg: warning: unable to delete old directory '/usr/src/linux-headers-4.9.7-sunxi/arch/arm/include': Directory not empty
dpkg: warning: unable to delete old directory '/usr/src/linux-headers-4.9.7-sunxi/arch/arm': Directory not empty
dpkg: warning: unable to delete old directory '/usr/src/linux-headers-4.9.7-sunxi/arch': Directory not empty

dpkg: warning: unable to delete old directory '/usr/src/linux-headers-4.9.7-sunxi': Directory not empty
Preparing to unpack .../linux-image-next-sunxi_5.27.170427_armhf.deb ...

update-initramfs: Deleting /boot/initrd.img-4.9.7-sunxi
Removing obsolete file uInitrd-4.9.7-sunxi
Unpacking linux-image-next-sunxi (5.27.170427) over (5.25) ...

Preparing to unpack .../linux-libc-dev_3.16.39-1+deb8u2_armhf.deb ...
Unpacking linux-libc-dev:armhf (3.16.39-1+deb8u2) over (3.16.39-1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for mime-support (3.58) ...
Processing triggers for systemd (215-17+deb8u6) ...
Setting up libisc-export95 (1:9.9.5.dfsg-9+deb8u10) ...
Setting up libdns-export100 (1:9.9.5.dfsg-9+deb8u10) ...
Setting up libicu52:armhf (52.1-8+deb8u5) ...
Setting up libisccfg-export90 (1:9.9.5.dfsg-9+deb8u10) ...
Setting up libirs-export91 (1:9.9.5.dfsg-9+deb8u10) ...
Setting up mysql-common (5.5.55-0+deb8u1) ...
Setting up libmysqlclient18:armhf (5.5.55-0+deb8u1) ...
Setting up vim-common (2:7.4.488-7+deb8u2) ...
Setting up vim-runtime (2:7.4.488-7+deb8u2) ...
Processing /usr/share/vim/addons/doc
Setting up vim (2:7.4.488-7+deb8u2) ...
Setting up vim-tiny (2:7.4.488-7+deb8u2) ...
Setting up libisc95 (1:9.9.5.dfsg-9+deb8u10) ...
Setting up libdns100 (1:9.9.5.dfsg-9+deb8u10) ...
Setting up libisccc90 (1:9.9.5.dfsg-9+deb8u10) ...
Setting up libisccfg90 (1:9.9.5.dfsg-9+deb8u10) ...
Setting up libbind9-90 (1:9.9.5.dfsg-9+deb8u10) ...
Setting up liblwres90 (1:9.9.5.dfsg-9+deb8u10) ...
Setting up bind9-host (1:9.9.5.dfsg-9+deb8u10) ...
Setting up dnsutils (1:9.9.5.dfsg-9+deb8u10) ...
Setting up hostapd (1:2.5~armbian5.27.170428+1) ...
Setting up linux-dtb-next-sunxi (5.27.170427) ...
Setting up linux-headers-next-sunxi (5.26) ...
Compiling headers - please wait ...

Setting up linux-image-next-sunxi (5.27.170427) ...
update-initramfs: Generating /boot/initrd.img-4.10.12-sunxi
update-initramfs: Converting to u-boot format
Setting up linux-libc-dev:armhf (3.16.39-1+deb8u2) ...
Processing triggers for libc-bin (2.19-18+deb8u7) ...
root@cubieboard:~# systemctl poweroff
[  OK  ] Removed slice system-ifup.slice.
         Stopping User Manager for UID 0...
         Stopping Authenticate and Authorize Users to Run Privileged Tasks...
[  OK  ] Stopped target Graphical Interface.
         Stopping Entropy daemon using the HAVEGE algorithm...
[  OK  ] Stopped target Multi-User System.
         Stopping Regular background program processing daemon...
         Stopping Network Manager...
         Stopping OpenBSD Secure Shell server...
         Stopping System Logging Service...
         Stopping D-Bus System Message Bus...
[  OK  ] Stopped target Login Prompts.
         Stopping Serial Getty on ttyS0...
         Stopping Getty on tty1...
         Stopping LSB: Start/stop sysstat's sadc...
         Stopping LSB: Starts LIRC daemon....
         Stopping LSB: Start NTP daemon...
         Stopping LSB: Advanced IEEE 802.11 management daemon...
         Stopping LSB: Armbian gathering hardware information...
         Stopping LSB: Set sysfs variables from /etc/sysfs.conf...
         Stopping LSB: disk temperature monitoring daemon...
[  OK  ] Stopped target Sound Card.
         Starting Store Sound Card State...
         Starting Unattended Upgrades...
[  OK  ] Stopped Entropy daemon using the HAVEGE algorithm.
[  OK  ] Stopped Regular background program processing daemon.
[  OK  ] Stopped Network Manager.
[  OK  ] Stopped System Logging Service.
[  OK  ] Stopped D-Bus System Message Bus.
[  OK  ] Stopped Authenticate and Authorize Users to Run Privileged Tasks.
[  OK  ] Stopped Getty on tty1.
[  OK  ] Stopped OpenBSD Secure Shell server.
[  OK  ] Stopped Serial Getty on ttyS0.
[  OK  ] Stopped User Manager for UID 0.
[  OK  ] Stopped LSB: Start/stop sysstat's sadc.
[  OK  ] Stopped LSB: Starts LIRC daemon..
[  OK  ] Stopped LSB: Start NTP daemon.
[  OK  ] Stopped LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Stopped LSB: Armbian gathering hardware information.
[  OK  ] Stopped LSB: Set sysfs variables from /etc/sysfs.conf.
[  OK  ] Stopped LSB: disk temperature monitoring daemon.
[  OK  ] Started Store Sound Card State.
         Stopping LSB: set CPUFreq kernel parameters...
[  OK  ] Stopped target Network is Online.
         Stopping Login Service...
[  OK  ] Removed slice user-0.slice.
[  OK  ] Removed slice system-serial\x2dgetty.slice.
[  OK  ] Removed slice system-getty.slice.
         Stopping Armbian first run tasks...
[  OK  ] Stopped Armbian first run tasks.
         Stopping /etc/rc.local Compatibility...
[  OK  ] Stopped /etc/rc.local Compatibility.
         Stopping Permit User Sessions...
[  OK  ] Stopped Login Service.
[  OK  ] Started Unattended Upgrades.
[  OK  ] Stopped LSB: set CPUFreq kernel parameters.
[  OK  ] Stopped Permit User Sessions.
[  OK  ] Stopped target Network.
         Stopping LSB: Load kernel modules needed to enable cpufreq scaling...
[  OK  ] Stopped LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Stopped target Basic System.
[  OK  ] Stopped target Slices.
[  OK  ] Removed slice User and Session Slice.
[  OK  ] Stopped target Paths.
[  OK  ] Stopped target Timers.
[  OK  ] Stopped target Sockets.
[  OK  ] Closed Syslog Socket.
[  OK  ] Closed D-Bus System Message Bus Socket.
[  OK  ] Stopped target System Initialization.
         Stopping Restore / save the current clock...
[  OK  ] Stopped target Encrypted Volumes.
         Stopping Update UTMP about System Boot/Shutdown...
         Stopping LSB: Raise network interfaces....
[  OK  ] Stopped target Swap.
         Deactivating swap /var/swap...
[  OK  ] Stopped target Remote File Systems.
[  OK  ] Stopped target Remote File Systems (Pre).
[  OK  ] Stopped Restore / save the current clock.
[  OK  ] Stopped Update UTMP about System Boot/Shutdown.
[  OK  ] Deactivated swap /var/swap.
         Stopping Create Volatile Files and Directories...
[  OK  ] Stopped Create Volatile Files and Directories.
[  OK  ] Stopped LSB: Raise network interfaces..
         Stopping Apply Kernel Variables...
[  OK  ] Stopped Apply Kernel Variables.
         Stopping Load Kernel Modules...
[  OK  ] Stopped Load Kernel Modules.
         Stopping Load/Save Random Seed...
[  OK  ] Stopped target Local File Systems.
         Unmounting /run/user/0...
         Unmounting /var/log...
         Unmounting /var/log.hdd...
         Unmounting /tmp...
[  OK  ] Stopped Load/Save Random Seed.
[  OK  ] Unmounted /run/user/0.
[  OK  ] Unmounted /var/log.
[  OK  ] Unmounted /var/log.hdd.
[  OK  ] Unmounted /tmp.
[  OK  ] Reached target Unmount All Filesystems.
[  OK  ] Stopped target Local File Systems (Pre).
         Stopping Create Static Device Nodes in /dev...
[  OK  ] Stopped Create Static Device Nodes in /dev.
         Stopping Remount Root and Kernel File Systems...
[  OK  ] Stopped Remount Root and Kernel File Systems.
[  OK  ] Reached target Shutdown.
[ 1168.511136] reboot: Power down
�HELLO! BOOT0 is starting!
boot0 version : 1.5.1
dram size =1024
Succeed in opening nand flash.
Succeed in reading Boot1 file head.
The size of Boot1 is 0x0003c000.
The file stored in 0X00000000 of block 2 is perfect.
Check is correct.
Ready to disable icache.
Succeed in loading Boot1.
Jump to Boot1.
[       0.133] boot1 version : 1.4.0
[       0.133] pmu type = 3
[       0.134] bat vol = 0
[       0.161] axi:ahb:apb=3:2:2
[       0.161] set dcdc2=1400, clock=1008 successed
[       0.163] key
[       0.175] no key found
[       0.175] flash init start
[       4.026] flash init finish
[       4.026] fs init ok
[       4.027] fattype FAT16
[       4.028] fs mount ok
[       4.035] script finish
[       4.036] power finish
[       4.044] BootMain start
[       4.044] 0
[       4.064] key value = 0
[       4.064] recovery key high 6, low 4
[       4.065] unable to find fastboot_key key_max value
[       4.073] test for multi os boot with display
[       4.075] show pic finish
[       4.077] load kernel start
[       4.102] load kernel successed
[       4.102] start address = 0x4a00000

U-Boot 2011.09-rc1 (Nov 26 2012 - 14:01:52) Allwinner Technology

CPU:   SUNXI Family
Board: A10-EVB
DRAM:  512 MiB
NAND:  3776 MiB
In:    serial
Out:   serial
Err:   serial
--------fastboot partitions--------
-total partitions:11-
-name-        -start-       -size-      
bootloader  : 1000000       1000000     
env         : 2000000       1000000     
boot        : 3000000       2000000     
system      : 5000000       14000000    
data        : 19000000      20000000    
misc        : 39000000      1000000     
recovery    : 3a000000      2000000     
cache       : 3c000000      8000000     
private     : 44000000      1000000     
sysrecovery : 45000000      14000000    
UDISK       : 59000000      93000000    
-----------------------------------
Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x3000000, size 0x2000000
 33554432 bytes read: OK

Starting kernel ...

[    0.181251] cryptomgr_test used greatest stack depth: 6672 bytes left
[    0.181629] cryptomgr_test used greatest stack depth: 6480 bytes left
[    0.183524] cryptomgr_test used greatest stack depth: 6388 bytes left
[    0.184475] cryptomgr_test used greatest stack depth: 6280 bytes left
[    0.217408] sw_ahci sw_ahci.0: forcing PORTS_IMPL to 0x1
[    0.570656] ata1.00: supports DRM functions and may not be fully accessible.
[    0.578041] ata1.00: supports DRM functions and may not be fully accessible.
[    0.787674] [LCD] lcd_module_init
[    0.857202] regulator_init_complete: axp20_buck3: incomplete constraints, leaving on
[    0.865242] regulator_init_complete: axp20_buck2: incomplete constraints, leaving on
[    0.873271] regulator_init_complete: axp20_ldo4: incomplete constraints, leaving on
[    0.881216] regulator_init_complete: axp20_ldo3: incomplete constraints, leaving on
[    0.889131] regulator_init_complete: axp20_ldo2: incomplete constraints, leaving on
[    0.897111] regulator_init_complete: axp20_ldo1: incomplete constraints, leaving on
[    0.904843] sunxi-rtc sunxi-rtc: hctosys: unable to read the hardware clock
[    0.966612] init: to sleep 1 seconds.
[    1.744393] sd 1:0:0:0: [sdb] No Caching mode page present
[    1.749880] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[    1.756565] usb-stor-scan used greatest stack depth: 6056 bytes left
[    1.765265] sd 1:0:0:0: [sdb] No Caching mode page present
[    1.770853] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[    1.797019] Alternate GPT is invalid, using primary GPT.
[    1.805517] sd 1:0:0:0: [sdb] No Caching mode page present
[    1.811059] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[    1.970601] init: has waken up.
[    1.973791] init: [william] hdmistatus = 0!
[    1.977978] init: [william] tvstatus = 0!
[    1.982410] init: width = 1280
[    1.985482] init: height = 720
[    1.988550] init: s.st_size = 3686400
[    2.668335] init: do_umount: /data
[    2.792974] e2fsck used greatest stack depth: 5696 bytes left
[    2.945988] init: do_umount: /cache
[    2.991986] init: dont need format /dev/block/nandk
[    2.998185] init: dont need format /dev/block/nandi
[    3.060744] init (1): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj instead.
[    3.074700] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
[    3.926136] ip used greatest stack depth: 5656 bytes left
[    4.110648] android_usb: already disabled
[    5.651143] init: untracked pid 102 exited
[   12.230123] mmc0: mmc_sd_init_card() failure (err = -110)
[   12.242664] mmc0: error -110 whilst initialising SD card
[   12.333486] sunxi-rtc sunxi-rtc: rtc only supports 63��2010��2073�� years
[   12.633340] BatteryStats-Wr used greatest stack depth: 5648 bytes left
[   17.817166] wemac wemac.0: WARNING: no IRQ resource flags set.
[   20.438558] netd used greatest stack depth: 5416 bytes left

 

 

Posted
[ 1168.511136] reboot: Power down
�HELLO! BOOT0 is starting!
boot0 version : 1.5.1
dram size =1024
Succeed in opening nand flash.

It looks like your SD card was not detected at last boot and it start to boot from NAND.

 

Try power cycle and other SD card. Install and upgrade finished fine.

Posted
1 hour ago, Igor said:

It looks like your SD card was not detected at last boot and it start to boot from NAND.

 

This usually happens when serial console adapter is connected

 

Also upgrade log suggests that 5.27 nightly kernel is still available in the main repository for some reason.

Posted
On 05/05/2017 at 5:58 PM, zador.blood.stained said:

This usually happens when serial console adapter is connected

 

Also upgrade log suggests that 5.27 nightly kernel is still available in the main repository for some reason.

About TTL: But I was definitely booting Armbian on my board with TTL connected in the past - just to see if it works. It also boots fine on freshly flashed SD card (gets me to login prompt and then to fully functional bash). It stops working only after upgrade.

 

5.27 kernel is my primary suspect as well at this point. Can I pull older kernel from somewhere and point Armbian to boot it?

Posted
On 05/05/2017 at 4:22 PM, Igor said:

[ 1168.511136] reboot: Power down
�HELLO! BOOT0 is starting!
boot0 version : 1.5.1
dram size =1024
Succeed in opening nand flash.

It looks like your SD card was not detected at last boot and it start to boot from NAND.

 

Try power cycle and other SD card. Install and upgrade finished fine.

I tried 2 cards now (see first post). First one was working fine before the upgrade. Second one I checked with f3 - no issues, and it booted fine with freshly written Armbian_5.25_Cubieboard_Debian_jessie_next_4.9.7. But it's not booting after upgrade that includes 5.27 kernel.

Posted
9 minutes ago, Alex0010 said:

But it's not booting after upgrade that includes 5.27 kernel.


We remove that kernel from repository. Did you build it on your own?

Posted
1 minute ago, Igor said:
10 minutes ago, Alex0010 said:

But it's not booting after upgrade that includes 5.27 kernel.


We remove that kernel from repository. Did you build it on your own?

No, I just did the standard "apt-get update && apt-get dist-upgrade" and got 5.27. @zador.blood.stained said something about 5.27 being in a repo above. Can I manually repair this (I have a Linux PC with SD reader)?

Posted

You can manually repair anything but we need to understand where the problem is. We removed 5.27 from repository few days ago ... the problem must be elsewhere. I'll find my CB1 and try to reproduce ...

Posted

Yes, there is a bug in u-boot from repository but it boots normally when you power cycle the board and fails to start on reboot:

U-Boot SPL 2017.01-armbian (Feb 02 2017 - 02:20:16)
DR-

Now we need to check if this is already fixed upstream or find a source of the problem ...

Posted
59 minutes ago, Igor said:

Yes, there is a bug in u-boot from repository but it boots normally when you power cycle the board and fails to start on reboot:

Just tried power cycling couple of times - same result (not booting up on Cubieboard). SD card is working fine when connected to Linux PC. Same result with fresh SD card (updated several days ago to that damn 5.27 kernel).

Quote

You can manually repair anything but we need to understand where the problem is. We removed 5.27 from repository few days ago ... the problem must be elsewhere. I'll find my CB1 and try to reproduce ...

Can I get some guidance on that manual repair please? I would like to unbrick OS on the first SD card instead of starting afresh.

Posted
1 hour ago, Igor said:
2 hours ago, Alex0010 said:

I would like to unbrick OS on the first SD card instead of starting afresh.

 

https://docs.armbian.com/search.html?q=unbrick

Thanks for the pointer. I unpacked everything from here  http://apt.armbian.com/pool/main/l/linux-4.9.12-sunxi/ and root package from here http://apt.armbian.com/pool/main/l/linux-jessie-root-cubieboard/linux-jessie-root-cubieboard_5.25_armhf.deb

Unfortunately, it's still not booting (stuck at "Uncompressing Linux... done, booting the kernel.", see TTL log below). I noticed that /boot/uInitrd still links to /boot/uInitrd-4.10.12-sunxi, is that the problem?

Files:

Spoiler

drwxr-xr-x 2 root root    4096 Feb  2 05:20 bin
drwxr-xr-x 2 root root    4096 Nov  5  2016 bin.old
-rw-r--r-- 1 root root    6944 Apr 29  2016 boot.bmp
-rw-r--r-- 1 root root    2354 Apr 29  2016 boot.cmd
-rw-r--r-- 1 root root    2426 Apr 29  2016 boot.scr
-rw-r--r-- 1 root root  147712 Apr 26 03:45 config-4.10.12-sunxi
-rw-r--r-- 1 root root  145927 Feb 23 21:48 config-4.9.12-sunxi
lrwxrwxrwx 1 root root      17 May  4 00:59 dtb -> dtb-4.10.12-sunxi
drwxr-xr-x 3 root root   12288 May  4 00:57 dtb-4.10.12-sunxi
drwxr-xr-x 2 root root    4096 Oct  1  2016 dtb-4.6.3-sunxi
drwxr-xr-x 2 root root    4096 Feb 23 21:48 dtb-4.9.12-sunxi
lrwxrwxrwx 1 root root      16 Feb 28 23:39 dtb.old -> dtb-4.9.12-sunxi
-rw-r--r-- 1 root root 5125024 May  4 00:59 initrd.img-4.10.12-sunxi
lrwxrwxrwx 1 root root      18 Apr 29  2016 script.bin -> bin/cubieboard.bin
-rw-r--r-- 1 root root 2767704 Apr 26 03:45 System.map-4.10.12-sunxi
-rw-r--r-- 1 root root 2733477 Feb 23 21:48 System.map-4.9.12-sunxi
lrwxrwxrwx 1 root root      21 May  4 01:00 uInitrd -> uInitrd-4.10.12-sunxi
-rw-r--r-- 1 root root 5125088 May  4 01:00 uInitrd-4.10.12-sunxi
-rwxr-xr-x 1 root root 6189888 Apr 26 03:45 vmlinuz-4.10.12-sunxi
-rwxr-xr-x 1 root root 6126280 Feb 23 21:48 vmlinuz-4.9.12-sunxi
lrwxrwxrwx 1 root root      20 May  9 13:51 zImage -> vmlinuz-4.9.12-sunxi

Boot log:

Spoiler

U-Boot SPL 2017.01-armbian (Feb 02 2017 - 02:20:16)
DRAM: 1024 MiB
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1

U-Boot 2017.01-armbian (Feb 02 2017 - 02:20:16 +0100) Allwinner Technology

CPU:   Allwinner A10 (SUN4I)
Model: Cubietech Cubieboard
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
SCSI:  Target spinup took 0 ms.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst
Net:   eth0: ethernet@01c0b000
Hit any key to stop autoboot:  0
6944 bytes read in 181 ms (37.1 KiB/s)
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
2426 bytes read in 189 ms (11.7 KiB/s)
## Executing script at 43100000
** File not found /boot/.verbose **
0 bytes read in 138 ms (0 Bytes/s)
44405 bytes read in 1221 ms (35.2 KiB/s)
5125088 bytes read in 766 ms (6.4 MiB/s)
6126280 bytes read in 809 ms (7.2 MiB/s)
## Loading init Ramdisk from Legacy Image at 42000000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5125024 Bytes = 4.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 49000000
   Booting using the fdt blob at 0x49000000
   Loading Ramdisk to 49b1c000, end 49fff3a0 ... OK
   Loading Device Tree to 49b0e000, end 49b1bd74 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

 

Posted

I am progressing with this. Burned Armbian_5.25_Cubieboard_Debian_jessie_next_4.9.7.img to the second card again, booted, upgraded - now got linux-image-next-sunxi and linux-dtb-next-sunxi versions 5.26 instead of 5.27.2017<...> - so apparently you fixed packages in repository successfully. I then connected both the first and the second SD cards to PC and copied /boot/ directory from 2nd to 1st, edited /boot/armbianEnv.txt with correct UUID of 1st card and booted OS in emergency mode (see below). Removed linux-image-next-sunxi and linux-dtb-next-sunxi packages and installed them again, this time getting versions 5.26.

 

OS boots in emergency mode and:

Spoiler

root@cubieboard:~# systemctl status -l systemd-modules-load.service
● systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static)
  Drop-In: /etc/systemd/system/systemd-modules-load.service.d
           └─10-timeout.conf
   Active: failed (Result: exit-code) since Thu 2017-05-04 01:18:46 MSK; 12s ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 1021 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
 Main PID: 1021 (code=exited, status=1/FAILURE)

May 04 01:18:46 cubieboard systemd-modules-load[1021]: Failed to find module 'lp'
May 04 01:18:46 cubieboard systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
May 04 01:18:46 cubieboard systemd[1]: Failed to start Load Kernel Modules.
May 04 01:18:46 cubieboard systemd[1]: Unit systemd-modules-load.service entered failed state.

root@cubieboard:~# apt-show-versions |grep linux
console-setup-linux:all/jessie 1.123 uptodate
libselinux1:armhf/jessie 2.3-2 uptodate
linux-base:all/jessie 3.5 uptodate
linux-dtb-next-sunxi:armhf/jessie 5.26 uptodate
linux-firmware-image-next-sunxi:armhf/jessie 5.26 uptodate
linux-headers-next-sunxi:armhf/jessie 5.26 uptodate
linux-image-next-sunxi:armhf/jessie 5.26 uptodate
linux-jessie-root-next-cubieboard:armhf/jessie 5.25 uptodate
linux-libc-dev:armhf/jessie 3.16.39-1+deb8u2 upgradeable to 3.16.43-2
linux-u-boot-cubieboard-next:armhf/jessie 5.25 uptodate
util-linux:armhf/jessie 2.25.2-6 uptodate

How can I repair the modules now?

Posted
4 minutes ago, Alex0010 said:

May 04 01:18:46 cubieboard systemd-modules-load[1021]: Failed to find module 'lp'

Did you use this module? It is possible it fell out in 5.26 release, so it needs to be readded to the kernel config if it can be used on these boards.

  • Solution
Posted
36 minutes ago, zador.blood.stained said:

 

42 minutes ago, Alex0010 said:

May 04 01:18:46 cubieboard systemd-modules-load[1021]: Failed to find module 'lp'

Did you use this module? It is possible it fell out in 5.26 release, so it needs to be readded to the kernel config if it can be used on these boards.

 

Those were CUPS modules, which I do not use - it got pulled along with Samba I guess. I removed their conf files from /etc/modules-load.d/ and now my system boots fine.

 

Thanks for all the help, but please don't do this again guys :)

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines