0
mockingbird

Downloaded New Kernel - Bricked

Recommended Posts

(edited)

So I did the following today:
 

Spoiler

sed -i /deb/s/jessie/stretch/g /etc/apt/sources.list $
sed -i /deb/s/jessie/stretch/g /etc/apt/sources.list.d/*.list
apt-get update
apt-get upgrade
apt-get dist-upgrade

 

Everything went fine except at the end where it complained about busybox not being there and it failed the update of initramfs...  This was no issue.  I installed busybox, rebooted, ran apt-get autoremove and then autoclean and everything worked fine.  I was still on kernel 3.x, so I ran armbian-config but I did not see the latest kernel present in the switch kernel option.

I ran apt-get install linux-image.next.sunxi (or something similar) and it installed, so I then rebooted.  Now it's bricked.  I'm attaching the serial console output.  Please help.
 

Spoiler

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2019.05.06 23:08:54 =~=~=~=~=~=~=~=~=~=~=~=
 
U-Boot SPL 2018.05-armbian (Sep 19 2018 - 12:21:54 +0200)
DRAM: 512 MiB
Trying to boot from MMC1


U-Boot 2018.05-armbian (Sep 19 2018 - 12:21:54 +0200) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: FriendlyARM NanoPi NEO
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
Loading Environment from EXT4... ** File not found /boot/boot.env **

** Unable to read "/boot/boot.env" from mmc0:1 **
Failed (-5)
In:    serial
Out:   serial
Err:   serial
Net:   phy interface0
eth0: ethernet@1c30000
230454 bytes read in 44 ms (5 MiB/s)
Unknown command 'bmp' - try 'help'
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) 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
3708 bytes read in 25 ms (144.5 KiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
191 bytes read in 18 ms (9.8 KiB/s)
5258646 bytes read in 443 ms (11.3 MiB/s)
7489584 bytes read in 631 ms (11.3 MiB/s)
Found mainline kernel configuration
** File not found /boot/dtb/sun8i-h3-nanopi-neo.dtb **
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
** File not found /boot/dtb/overlay/sun8i-h3-usbhost1.dtbo **
** File not found /boot/dtb/overlay/sun8i-h3-usbhost2.dtbo **
** File not found /boot/dtb/overlay/sun8i-h3-fixup.scr **
## Loading init Ramdisk from Legacy Image at 43300000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5258582 Bytes = 5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
SCRIPT FAILED: continuing...
Card did not respond to voltage select!

Device 0: device type unknown
... is now current device
** Bad device usb 0 **
** Bad device usb 0 **
ethernet@1c30000 Waiting for PHY auto negotiation to complete. done
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10
BOOTP broadcast 11
BOOTP broadcast 12
BOOTP broadcast 13
BOOTP broadcast 14
BOOTP broadcast 15
BOOTP broadcast 16
BOOTP broadcast 17

Retry time exceeded; starting again
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/01-02-81-c6-bd-b3-63
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-sunxi
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
*** ERROR: `serverip' not set
Config file not found
Abort
=> 

 


Here is the result of 'printenv':
 

Spoiler

arch=arm
baudrate=115200
board=sunxi
board_name=sunxi
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf
boot_net_usb_start=usb start
boot_prefixes=/ /boot/
boot_script_dhcp=boot.scr.uimg
boot_scripts=boot.scr.uimg boot.scr
boot_targets=fel mmc_auto usb0 pxe dhcp 
bootargs=root=UUID=a7494ea2-f4de-4fa5-b148-bb3849cbef2c rootwait rootfstype=ext4 console=tty1 console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 loglevel=1 ubootpart=bae6846f-01 ubootsource=mmc usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u   sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1
bootcmd=run distro_bootcmd
bootcmd_dhcp=run boot_net_usb_start; if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;
bootcmd_fel=if test -n ${fel_booted} && test -n ${fel_scriptaddr}; then echo '(FEL boot)'; source ${fel_scriptaddr}; fi
bootcmd_mmc0=setenv devnum 0; run mmc_boot
bootcmd_mmc1=setenv devnum 1; run mmc_boot
bootcmd_mmc_auto=if test ${mmc_bootdev} -eq 1; then run bootcmd_mmc1; run bootcmd_mmc0; elif test ${mmc_bootdev} -eq 0; then run bootcmd_mmc0; run bootcmd_mmc1; fi
bootcmd_pxe=run boot_net_usb_start; dhcp; if pxe get; then pxe boot; fi
bootcmd_sunxi_compat=setenv root /dev/mmcblk0p3 rootwait; if ext2load mmc 0 0x44000000 uEnv.txt; then echo Loaded environment from uEnv.txt; env import -t 0x44000000 ${filesize}; fi; setenv bootargs console=${console} root=${root} ${extraargs}; ext2load mmc 0 0x43000000 script.bin && ext2load mmc 0 0x48000000 uImage && bootm 0x48000000
bootcmd_usb0=setenv devnum 0; run usb_boot
bootdelay=1
bootfstype=ext4
bootm_size=0xa000000
console=both
consoleargs=console=tty1 console=ttyS0,115200
cpu=armv7
devnum=0
devplist=1
devtype=usb
dfu_alt_info_ram=kernel ram 0x42000000 0x1000000;fdt ram 0x43000000 0x100000;ramdisk ram 0x43300000 0x4000000
disp_mem_reserves=off
disp_mode=1920x1080p60
distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
docker_optimizations=on
ethact=ethernet@1c30000
ethaddr=02:81:c6:bd:b3:63
fdt_addr_r=0x43000000
fdtcontroladdr=5bf4ee40
fdtfile=sun8i-h3-nanopi-neo.dtb
fileaddr=42000000
filesize=724830
initrd_high=0xFFFFFFFF
kernel_addr_r=0x42000000
load_addr=0x44000000
loadsplash= for prefix in ${boot_prefixes}; do if test -e mmc 0 ${prefix}boot.bmp; then load mmc 0 ${splashimage} ${prefix}boot.bmp; bmp d ${splashimage}; fi; done
mmc_boot=if mmc dev ${devnum}; then setenv devtype mmc; run scan_dev_for_boot_part; fi
mmc_bootdev=0
overlay_error=false
overlay_prefix=sun8i-h3
overlays=usbhost1 usbhost2
partitions=name=loader1,start=8k,size=32k,uuid=${uuid_gpt_loader1};name=loader2,size=984k,uuid=${uuid_gpt_loader2};name=esp,size=128M,bootable,uuid=${uuid_gpt_esp};name=system,size=-,uuid=${uuid_gpt_system};
partuuid=bae6846f-01
preboot=run loadsplash; usb start
pxefile_addr_r=0x43200000
ramdisk_addr_r=0x43300000
rootdev=UUID=a7494ea2-f4de-4fa5-b148-bb3849cbef2c
rootfstype=ext4
scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;
scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done
scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi
scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
scriptaddr=0x43100000
serial#=02c00081c6bdb363
soc=sunxi
splashimage=66000000
splashpos=m,m
stderr=serial
stdin=serial,usbkbd
stdout=serial
usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
uuid_gpt_esp=c12a7328-f81f-11d2-ba4b-00a0c93ec93b
uuid_gpt_system=69dad710-2ce4-4e3c-b16c-21a1d49abed3
verbosity=1

Environment size: 4586/131068 bytes
=> 

 



Thank you.
 

 

Board: NanoPi Neo
Edited by Igor
spoilers

Share this post


Link to post
Share on other sites
1 hour ago, mockingbird said:

I ran apt-get install linux-image.next.sunxi


You forget to install linux-dtb-next-sunxi package ... plug SD card somewhere and extract content of deb file and make a symlink from dtb -> dtb-5.0.13-sunxi (or whatever your version is). 

Share this post


Link to post
Share on other sites
On 5/7/2019 at 12:53 AM, Igor said:


You forget to install linux-dtb-next-sunxi package ... plug SD card somewhere and extract content of deb file and make a symlink from dtb -> dtb-5.0.13-sunxi (or whatever your version is). 

Thank you, that fixed it.

You need to boot into Linux on a computer with the SD card inserted into the computer you're booting from.  The best way to do this is to download a distro that you can burn to a DVD.  You then boot from the DVD when you restart your computer.  I used kubuntu-19.04-desktop-amd64.iso.

Next, after you boot from the DVD, make sure your internet works (you will have to connect your WiFi in the Kubuntu desktop) and then you need to download the Armbian package that contains the DTB that corresponds to the kernel you updated to.  In my case it was Kernel 4.19.38.

Open Firefox in Kubuntu, and navigate to https://apt.armbian.com/pool/main/l/

This is a list of directories.  The directories you're interested in are the ones that are formatted as such: "linux"-(version)-"platform"

In my case, I needed to navigate into the "linux-4.19.38-sunxi" directory.

If you don't know or remember the kernel version you installed before your device was bricked, then look at the dates of the directories.  In my case, I installed the latest kernel two or so days ago, and the date listed for 4.19.38 is 03-May-2019.  The latest version isn't necessarily the newest version.  Later beta versions can have a newer version number but an earlier date.  I'm not sure how important this step is, but it's worth mentioning nevertheless.  Make sure you also get the 32-bit version if your Linux install is 32-bit.  In my case, the NanoPi Neo is strictly a 32-bit device, so there was no room for error there.

Next you need to download the correct .deb package from within the directory, in my case it was "linux-dtb-next-sunxi_5.83_armhf.deb".  Firefox will by default save the file in "/Home/Downloads".  For the purpost of this post, we'll use this directory as a reference.  After the file finishes downloading, you can click 'Open Containing Folder' and it will open the directory.  Now right-click on 'linux-dtb-next-sunxi_5.85_armhf.deb' and click 'extract here'.  It will create a directry called 'linux-dtb-next-sunxi_5.85_armhf, open that directory.  Right click on 'data.tar.xz' and click 'extract here'.

Next, you need to move this directory into the SD card, but depending on how you have the SD card connected to the computer, you may need root access.  You should be able to do this without root if you have it connected to the computer through a SD to USB adapter.  We'll be focusing on a scenario where root access is required.

You now need to open a terminal in Kubuntu.  Click on the 6 dots at the bottom left corner of the screen, this opens up a screen of programs.  On the right side, click on the second dot, this will display a second page of programs.  You should see a program called 'Terminal'.

Click it, and this will open a terminal window.  Type 'sudo passwd root'.  Enter a password, and then again to confirm it.  Next, type 'sudo -i'.  You should now have root access.  Now you need to move one of the subdirectories from the directory of the archive you extracted earlier to the boot directory of your SD card.  First, you will need to go into the 'boot' directory of your Armbian Distro in your SD card.  Don't confuse the 'boot' directory of the Kubuntu root directory for the one in your SD card.

To access the boot directory in your SD card type the following:

cd /media/ubuntu

ls

Now you should see a long string of numbers and letters, enter that directory.  In my case, I need to enter:

cd 86e484d0-fa19-48d4-903a-a085a676e65b
cd boot


Now we need to move a directory from the archive you extracted earlier into the boot directory and then we need to create a symlink.  Type the following:

mv ~/Downloads/linux-dtb-next-sunxi_5.85_armhf/data/boot/dtb-4.19.38-sunxi . (<-- the period after the space is important!)
ln -s dtb-4.19.38-sunxi dtb

Next type 'ls -l'

If you've done things correctly, you should see this entry in the resulting output:
lrwxrwxrwx 1 root root      18 May  7 15:21 dtb -> dtb-4.19.38-sunxi/

To confirm, type 'cd dtb', then 'ls'.  You should see a bunch of files.

If you do, type 'shutdown now'.

Put your SD card back into your device and boot it.  If you did things properly and it now boots, SSH into it and run 'apt-get install linux-dtb-next-sunxi'

That installs some other stuff into the dtb directory that uboot complains about during boot.  Not sure what they do, but it's probably a good thing to have.

You should be good to go.  Good luck :-)

Share this post


Link to post
Share on other sites

I'm not sure what happened, but after running an apt-get upgrade recently, it bricked again.

Here is a serial dump:

 


U-Boot 2018.05-armbian (Sep 19 2018 - 12:21:54 +0200) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: FriendlyARM NanoPi NEO
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
Loading Environment from EXT4... ** File not found /boot/boot.env **

** Unable to read "/boot/boot.env" from mmc0:1 **
Failed (-5)
In:    serial
Out:   serial
Err:   serial
Net:   phy interface0
eth0: ethernet@1c30000
230454 bytes read in 45 ms (4.9 MiB/s)
Unknown command 'bmp' - try 'help'
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) 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
3708 bytes read in 25 ms (144.5 KiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
191 bytes read in 18 ms (9.8 KiB/s)
5258686 bytes read in 441 ms (11.4 MiB/s)
** File not found /boot/zImage **
Found mainline kernel configuration
29427 bytes read in 117 ms (245.1 KiB/s)
504 bytes read in 135 ms (2.9 KiB/s)
Applying kernel provided DT overlay sun8i-h3-usbhost1.dtbo
504 bytes read in 136 ms (2.9 KiB/s)
Applying kernel provided DT overlay sun8i-h3-usbhost2.dtbo
4155 bytes read in 125 ms (32.2 KiB/s)
Applying kernel provided DT fixup script (sun8i-h3-fixup.scr)
## Executing script at 44000000
SCRIPT FAILED: continuing...
Card did not respond to voltage select!

Device 0: device type unknown
... is now current device
** Bad device usb 0 **
** Bad device usb 0 **
ethernet@1c30000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4

Abort

I had to copy vmlinuz-4.19.38-sunxi, System.map-4.19.38-sunxi, and config-4.19.38-sunxi from linux-image-next-sunxi_5.86_armhf.deb.  Here is the new (successful) boot output:

 

U-Boot SPL 2018.05-armbian (Sep 19 2018 - 12:21:54 +0200)
DRAM: 512 MiB
Trying to boot from MMC1


U-Boot 2018.05-armbian (Sep 19 2018 - 12:21:54 +0200) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: FriendlyARM NanoPi NEO
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
Loading Environment from EXT4... ** File not found /boot/boot.env **

** Unable to read "/boot/boot.env" from mmc0:1 **
Failed (-5)
In:    serial
Out:   serial
Err:   serial
Net:   phy interface0
eth0: ethernet@1c30000
230454 bytes read in 45 ms (4.9 MiB/s)
Unknown command 'bmp' - try 'help'
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) 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
3708 bytes read in 24 ms (150.4 KiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
191 bytes read in 17 ms (10.7 KiB/s)
5258686 bytes read in 441 ms (11.4 MiB/s)
7489920 bytes read in 637 ms (11.2 MiB/s)
Found mainline kernel configuration
29427 bytes read in 120 ms (239.3 KiB/s)
504 bytes read in 138 ms (2.9 KiB/s)
Applying kernel provided DT overlay sun8i-h3-usbhost1.dtbo
504 bytes read in 139 ms (2.9 KiB/s)
Applying kernel provided DT overlay sun8i-h3-usbhost2.dtbo
4155 bytes read in 128 ms (31.3 KiB/s)
Applying kernel provided DT fixup script (sun8i-h3-fixup.scr)
## Executing script at 44000000
## Loading init Ramdisk from Legacy Image at 43300000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5258622 Bytes = 5 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=6d000
   Loading Device Tree to 49f90000, end 49ffffff ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Loading, please wait...
starting version 232
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.29.2
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 
/dev/mmcblk0p1: clean, 80202/468640 files, 520475/1871544 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to [1mDebian GNU/Linux 9 (stretch)[0m!

[[0;32m  OK  [0m] Set up automount Arbitrary Executab…rmats File System Automount Point.
[[0;32m  OK  [0m] Listening on udev Kernel Socket.
[[0;32m  OK  [0m] Listening on Journal Audit Socket.
[[0;32m  OK  [0m] Listening on /dev/initctl Compatibility Named Pipe.
[[0;32m  OK  [0m] Listening on udev Control Socket.
[[0;32m  OK  [0m] Listening on Journal Socket.
[[0;32m  OK  [0m] Started Dispatch Password Requests to Console Directory Watch.
[[0;32m  OK  [0m] Reached target Remote File Systems.
[[0;32m  OK  [0m] Listening on fsck to fsckd communication Socket.
[[0;32m  OK  [0m] Started Forward Password Requests to Wall Directory Watch.
[[0;32m  OK  [0m] Reached target Swap.
[[0;32m  OK  [0m] Listening on Syslog Socket.
[[0;32m  OK  [0m] Reached target Encrypted Volumes.
[[0;32m  OK  [0m] Created slice System Slice.
         Starting Load Kernel Modules...
         Starting Create list of required st…ce nodes for the current kernel...
[[0;32m  OK  [0m] Created slice system-getty.slice.
         Starting Set the console keyboard layout...
         Mounting POSIX Message Queue File System...
         Starting Nameserver information manager...
         Starting Remount Root and Kernel File Systems...
         Starting Restore / save the current clock...
[[0;32m  OK  [0m] Created slice system-serial\x2dgetty.slice.
[[0;32m  OK  [0m] Created slice User and Session Slice.
[[0;32m  OK  [0m] Reached target Slices.
[[0;32m  OK  [0m] Listening on Journal Socket (/dev/log).
         Starting Journal Service...
         Mounting Debug File System...
[[0;32m  OK  [0m] Reached target Paths.
[[0;32m  OK  [0m] Mounted Debug File System.
[[0;32m  OK  [0m] Mounted POSIX Message Queue File System.
[[0;32m  OK  [0m] Started Load Kernel Modules.
[[0;32m  OK  [0m] Started Create list of required sta…vice nodes for the current kernel.
[[0;32m  OK  [0m] Started Remount Root and Kernel File Systems.
[[0;32m  OK  [0m] Started Restore / save the current clock.
[[0;32m  OK  [0m] Started Nameserver information manager.
         Starting Load/Save Random Seed...
         Starting udev Coldplug all Devices...
         Starting Create Static Device Nodes in /dev...
         Starting Apply Kernel Variables...
         Mounting Configuration File System...
[[0;32m  OK  [0m] Started Load/Save Random Seed.
[[0;32m  OK  [0m] Mounted Configuration File System.
[[0;32m  OK  [0m] Started Apply Kernel Variables.
[[0;32m  OK  [0m] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[[0;32m  OK  [0m] Started udev Kernel Device Manager.
[[0;32m  OK  [0m] Found device /dev/ttyGS0.
[[0;32m  OK  [0m] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[[0;32m  OK  [0m] Started Flush Journal to Persistent Storage.
[[0;32m  OK  [0m] Started Set the console keyboard layout.
[[0;32m  OK  [0m] Reached target Local File Systems (Pre).
         Mounting /tmp...
[[0;32m  OK  [0m] Mounted /tmp.
[[0;32m  OK  [0m] Reached target Local File Systems.
         Starting Raise network interfaces...
         Starting Armbian ZRAM config...
         Starting Set console font and keymap...
         Starting Create Volatile Files and Directories...
[[0;32m  OK  [0m] Started Set console font and keymap.
[[0;32m  OK  [0m] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
[[0;32m  OK  [0m] Started Entropy daemon using the HAVEGE algorithm.
[[0;32m  OK  [0m] Reached target System Time Synchronized.
[[0;32m  OK  [0m] Started Update UTMP about System Boot/Shutdown.
[[0;32m  OK  [0m] Started udev Coldplug all Devices.
[[0;32m  OK  [0m] Found device /dev/ttyS0.
[[0;32m  OK  [0m] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[[0;32m  OK  [0m] Started Armbian ZRAM config.
         Starting Armbian memory supported logging...
[[0;32m  OK  [0m] Found device /sys/subsystem/net/devices/eth0.
[[0;32m  OK  [0m] Started ifup for eth0.
[[0;32m  OK  [0m] Started Raise network interfaces.
[[0;32m  OK  [0m] Started Armbian memory supported logging.
[[0;32m  OK  [0m] Reached target System Initialization.
         Starting Armbian hardware optimization...
[[0;32m  OK  [0m] Listening on D-Bus System Message Bus Socket.
[[0;32m  OK  [0m] Reached target Sockets.
         Starting Armbian hardware monitoring...
[[0;32m  OK  [0m] Started Daily Cleanup of Temporary Directories.
[[0;32m  OK  [0m] Started Daily apt download activities.
[[0;32m  OK  [0m] Started Daily apt upgrade and clean activities.
[[0;32m  OK  [0m] Reached target Timers.
[[0;32m  OK  [0m] Started Armbian hardware optimization.
[[0;32m  OK  [0m] Started Armbian hardware monitoring.
[[0;32m  OK  [0m] Reached target Basic System.
         Starting Login Service...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
[[0;32m  OK  [0m] Started D-Bus System Message Bus.
[[0;32m  OK  [0m] Started Self Monitoring and Reporting Technology (SMART) Daemon.
         Starting LSB: RPi-Monitor daemon...
[[0;32m  OK  [0m] Started Regular background program processing daemon.
         Starting System Logging Service...
         Starting LSB: RPi-Monitor sunxi-temp helper...
         Starting LSB: Start/stop sysstat's sadc...
         Starting Network Manager...
[[0;32m  OK  [0m] Started System Logging Service.
[[0;32m  OK  [0m] Started LSB: RPi-Monitor sunxi-temp helper.
[[0;32m  OK  [0m] Started LSB: Start/stop sysstat's sadc.
[[0;32m  OK  [0m] Started Login Service.
[[0;32m  OK  [0m] Started LSB: Load kernel modules needed to enable cpufreq scaling.
         Starting LSB: set CPUFreq kernel parameters...
[[0;32m  OK  [0m] Started Network Manager.
[[0;32m  OK  [0m] Reached target Network.
         Starting OpenBSD Secure Shell server...
         Starting The Apache HTTP Server...
[[0;32m  OK  [0m] Started Unattended Upgrades Shutdown.
         Starting Permit User Sessions...
         Starting Network Manager Wait Online...
[[0;32m  OK  [0m] Started LSB: set CPUFreq kernel parameters.
[[0;32m  OK  [0m] Started Permit User Sessions.
         Starting Network Manager Script Dispatcher Service...
         Starting LSB: Set sysfs variables from /etc/sysfs.conf...
[[0;32m  OK  [0m] Started Network Manager Script Dispatcher Service.
         Starting Hostname Service...
[[0;32m  OK  [0m] Started LSB: Set sysfs variables from /etc/sysfs.conf.
[[0;32m  OK  [0m] Started OpenBSD Secure Shell server.
[[0;32m  OK  [0m] Started Hostname Service.
         Starting Authorization Manager...
[[0;32m  OK  [0m] Started Network Manager Wait Online.
[[0;32m  OK  [0m] Reached target Network is Online.
         Starting LSB: web-based administration interface for Unix systems...
         Starting LSB: Advanced IEEE 802.11 management daemon...
         Starting LSB: Start NTP daemon...
         Starting /etc/rc.local Compatibility...
         Starting LSB: disk temperature monitoring daemon...
[[0;32m  OK  [0m] Started LSB: Advanced IEEE 802.11 management daemon.
[[0;32m  OK  [0m] Started /etc/rc.local Compatibility.
[[0;32m  OK  [0m] Started Authorization Manager.
[[0;32m  OK  [0m] Started LSB: disk temperature monitoring daemon.
[[0;32m  OK  [0m] Started Serial Getty on ttyGS0.
[[0;32m  OK  [0m] Started Serial Getty on ttyS0.
[[0;32m  OK  [0m] Started Getty on tty1.
[[0;32m  OK  [0m] Reached target Login Prompts.
[[0;32m  OK  [0m] Started LSB: Start NTP daemon.
[[0;32m  OK  [0m] Started The Apache HTTP Server.


Debian GNU/Linux 9 nanopineo ttyS0

nanopineo login: 

I then ran 'dpkg -i linux-image-next-sunxi_5.86_armhf.deb' for good measure and got this output.

 

root@nanopineo:/home/nanopi# dpkg -i linux-image-next-sunxi_5.86_armhf.deb
(Reading database ... 66591 files and directories currently installed.)
Preparing to unpack linux-image-next-sunxi_5.86_armhf.deb ...
update-initramfs: Deleting /boot/initrd.img-3.4.113-sun8i
Removing obsolete file uInitrd-3.4.113-sun8i
Unpacking linux-image-next-sunxi (5.86) over (5.85) ...
Setting up linux-image-next-sunxi (5.86) ...
update-initramfs: Generating /boot/initrd.img-4.19.38-sunxi
update-initramfs: Converting to u-boot format
root@nanopineo:/home/nanopi#

Next I rebooted, ran apt-get update and upgrade and it found only one 176kb package which was a new DTB.  I installed it and rebooted.

Everything's working fine.



 

Share this post


Link to post
Share on other sites
7 hours ago, mockingbird said:

I'm not sure what happened


You have two kernels which is a recipe for problems. Remove (old) one.

Share this post


Link to post
Share on other sites
On 5/13/2019 at 12:38 AM, Igor said:


You have two kernels which is a recipe for problems. Remove (old) one.

Hi, can you please describe the process for removing the old one?  Also, how can I update armbian-config's database to reflect a newer choice of Kernels in the 'switch kernel' section?

 

Thanks

Share this post


Link to post
Share on other sites
On 5/15/2019 at 6:51 PM, mockingbird said:

Hi, can you please describe the process for removing the old one?  Also, how can I update armbian-config's database to reflect a newer choice of Kernels in the 'switch kernel' section?

 

Thanks


Ok, the old one has been delete, everything works fine:

 

root@nanopineo:/# cd boot
root@nanopineo:/boot# ls
armbianEnv.txt                  dtb-4.19.38-sunxi
armbianEnv.txte                 initrd.img-4.19.38-sunxi
armbian_first_run.txt.template  overlay-user
bin                             script.bin
bin.old                         System.map-3.4.113-sun8i
boot.bmp                        System.map-4.19.38-sunxi
boot.cmd                        uInitrd
boot-desktop.png                uInitrd-4.19.38-sunxi
boot.scr                        vmlinuz-3.4.113-sun8i
config-3.4.113-sun8i            vmlinuz-4.19.38-sunxi
config-4.19.38-sunxi            zImage
dtb
root@nanopineo:/boot# apt-get remove linux-image-3.4.113-sun8i
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'linux-image-sun8i' instead of 'linux-image-3.4.113-sun8i'
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
root@nanopineo:/boot# apt-get remove linux-image-sun8i
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  linux-image-sun8i
0 upgraded, 0 newly installed, 1 to remove and 2 not upgraded.
After this operation, 48.6 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 66591 files and directories currently installed.)
Removing linux-image-sun8i (5.85) ...
update-initramfs: Deleting /boot/initrd.img-3.4.113-sun8i
root@nanopineo:/boot#


I noticed that the idle temperature has increased from around 39°C to  47°C from the old kernel/version to the new one.  Could the heartbeat feature (blue led flashing) be causing that (this wasn't present in the last version)?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0