Releases: avafinger/nanopi-m4-ubuntu-base-minimal
Mainline Linux Image 5.1-rc6 for RK3399 NanoPi M4
Kernel Image 5.1-rc6 for NanoPi M4 built with gcc 7.4.0 (8.3.0 is currently broken on ubuntu)
- Install
sudo dpkg -i linux-image-mainline-5.1_1.0-11.deb
Make sure you have this /boot tree after install the deb package.
ls -la /boot
-rw-rw-r-- 1 alex alex 1197 Jan 19 18:58 boot.cmd
-rw-r--r-- 1 root root 1269 Jan 19 18:59 boot.scr
lrwxrwxrwx 1 root root 30 Abr 21 20:37 dtb -> rk3399-nanopi-m4.dtb_5.1.0-rc6
lrwxrwxrwx 1 root root 15 Abr 21 20:37 Image -> Image_5.1.0-rc6*
-rw-r--r-- 1 root root 54903 Abr 21 20:36 rk3399-nanopc-t4.dtb_5.1.0-rc6
-rw-r--r-- 1 root root 54519 Abr 21 20:36 rk3399-nanopi-m4.dtb_5.1.0-rc6
Mainline Linux Image 5.1-rc2 for RK3399 NanoPi M4
Linux Kernel Image 5.1-rc2 NanoPi M4
Install on OS Image 5.x only
sudo dpkg -i linux-image-mainline-5.1_1.0-10.deb
[sudo] password for ubuntu:
Selecting previously unselected package linux-image-mainline-5.1.0-rc2.
(Reading database ... 75552 files and directories currently installed.)
Preparing to unpack linux-image-mainline-5.1_1.0-10.deb ...
INFO: Updating Kernel 5.1.0-rc1-rk3399 to 5.1.0-rc2
INFO: Updating...
Unpacking linux-image-mainline-5.1.0-rc2 (1.0-10) ...
Setting up linux-image-mainline-5.1.0-rc2 (1.0-10) ...
OK: Kernel update success! Please reboot with: sync && sudo reboot
sudo shutdown -h now
Linux Kernel Image 5.0.3 Mainline NanoPi M4 (Experimental)
Linux Image 5.0.3 upgrade for the mainline 5.0 OS Image only.
Install:
sudo dpkg - i linux-image-mainline-5.0_1.0-9.deb
sudo shutdown -h now
Linux Image 4.4.177-rk3399 for RK3399 NanoPi M4
Linux Image 4.4.177-rk3399 for RK3399 NanoPi M4 with kernel headers.
This is Linux Image Kernel version 4.4.177-rk3399 with BSP and mainline fixes.
built with gcc 7.3
CPU freq back to 2 GHz (2.0 / 1.5 Ghz)
mainline 4.4.177 patches
How to Install:
-
Backup your data
-
check available space in /boot for the new kernel image
df -lh
you need at least 20Mbytes, if not enough space, remove unused kernel with dpkg -
Upgrade Kernel with:
sudo dpkg -i linux-image-4.4.177-rk3399_1.0-9.deb
and then:
sudo shutdown -h now
power off the board for 15 secs and boot again
Linux Image 4.4.175-rk3399 for RK3399 NanoPi M4 / NEO4 / T4
Linux Image 4.4.175-rk3399 for RK3399 NanoPi M4 with kernel headers.
This is Linux Image Kernel version 4.4.174-rk3399 with BSP and mainline fixes.
- built with gcc 7.3
- CPU freq back to 2 GHz (2.0 / 1.5 Ghz)
- mainline 4.4.175 patches
Install:
-
Backup your data
-
check available space in /boot for the new kernel image
df -lh
you need at least 20Mbytes, if not enough space, remove unused kernel with dpkg -
Upgrade Kernel with:
sudo dpkg -i linux-image-4.4.175-rk3399_1.0-8.deb
and then:
sudo shutdown -h now
power off the board for 15 secs and boot
PS:
- it should boot on NEO4, just change the DTB like so:
cd /boot
sudo ln -sf rk3399-nanopi4-rev04.dtb__4.4.174-rk3399 dtb
sync && sudo shutdown -h now
boot on NEO4
Linux kernel Image 5.0.0-rc7 for NanoPi M4 / T4
Linux kernel Image 5.0.0-rc7 for NanoPi M4 / T4
Install instructions:
- Make sure you have 19 Mbytes free on /boot partition
- install with:
sudo dpkg -i linux-image-mainline-5.0_1.0-8.deb
sudo shutdown -h now
remove power and wait 10 secs then power on.
Linux Image 5.0.0-rc6-rk3399 for RK3399 NanoPi M4 / T4
Linux kernel Image 5.0.0-rc6-rk3399 for NanoPi M4 / T4
Install instructions:
- Make sure you have 19 Mbytes free on /boot partition
- install with:
sudo dpkg -i linux-image-mainline-5.0_1.0-7.deb
sudo shutdown -h now
remove power and wait 15 secs then boot.
Linux Image 4.4.174-rk3399 for RK3399 NanoPi M4 / NEO4
Linux Image 4.4.174-rk3399 for RK3399 NanoPi M4 with kernel headers.
This is Linux Image Kernel version 4.4.174-rk3399 with BSP and mainline fixes.
- built with gcc 8.2
- lower CPU freq for stability and lower cpu temperature (1.8 / 1.4 Ghz)
- mainline 4.4.174 patches
Install:
-
Backup your data
-
check available space in /boot for the new kernel image
df -lh
you need at least 20Mbytes, if not enough space, remove unused kernel with dpkg -
Upgrade Kernel with:
sudo dpkg -i linux-image-4.4.174-rk3399_1.0-7.deb
and then:
sudo shutdown -h now
power off the board for 15 secs and boot
PS:
- it should boot on NEO4, just change the DTB like so:
cd /boot
sudo ln -sf rk3399-nanopi4-rev04.dtb__4.4.174-rk3399 dtb
sync && sudo shutdown -h now
boot on NEO4
u-boot version 2
This is u-boot rc1 and bootloader optimized to boot faster. (experimental)
Write to SD CARD:
sudo dd if=idbloader.img of=/dev/sdX seek=64 conv=notrunc
sudo dd if=trust.img of=/dev/sdX seek=24576 conv=notrunc
sudo dd if=uboot.img of=/dev/sdX seek=16384 conv=notrunc
where X is the device letter (b,c...) (for USB DHC reader/writer)
Finding the correct device letter on ISB SDHC USB writer , attach the SD crad and check:
dmesg|tail
[35936.768017] usb 2-2: reset high-speed USB device number 21 using ehci-pci
[35936.892019] usb 2-2: device descriptor read/64, error -71
[35937.544018] usb 2-2: device not accepting address 21, error -71
[35937.656016] usb 2-2: reset high-speed USB device number 21 using ehci-pci
[35938.062648] sd 12:0:0:0: [sdc] Attached SCSI removable disk
[35943.590088] sd 12:0:0:0: [sdc] 31116288 512-byte logical blocks: (15.9 GB/14.8 GiB)
[35943.599971] sdc: sdc1 sdc2
Mainline Linux Image 5.0.0-rc5 for RK3399 NanoPi M4
Mainline Linux Image 5.0.0-rc5 for RK3399 NanoPi M4 with kernel headers.
Requirements:
- Mainline OS Image
Note
DO NOT APPLY THIS on BSP / Mainline Kernel OS Image
This is Linux Image Kernel version 5.0.0-rc5 mainline.
- CPU freq 2.0 / 1.5 GHz
- mainline
Install:
-
Backup your data
-
check available space in /boot for the new kernel image
df -lh
you need at least 20Mbytes, if not enough space, remove unused kernel with dpkg -
Upgrade Mainline Kernel with:
sudo dpkg -i linux-image-mainline-5.0_1.0-6.deb
and then:
sudo shutdown -h now
power off the board for 15 secs and boot!