I pushed a new Kernel build. This is a major release bringing the Kernel to the newest 3.10.101 from Linux stable. See first post of this thread for details.
Also starting with this Kernel release it is possible to run the Linux with a different HDMI resolution. I support this on my Ubuntu Xenial images using the ppa providing a user space tool sunxi-disp-tool which can change the resultion using ioctl calls to disp2 and fb devices. See the README.md for instructions.
TL;DR instructions to get 720p60 on Ubuntu Xenial:
Note that U-Boot will start the display with 1080p60 - once the systemd service runs (after about 10 seconds) it will switch to whatever you have set in uEnv.txt.
Get 3.10.101-0-pine64-longsleep-39 from https://www.stdin.xyz/downloads/people/l...ges/linux/
Update like this (as root) on any of my images:
You still have to worry as Kernel 3.10 is officially end of life since Dec 2015. It still gets the occasional update but its still a very old Kernel tree.
This is the BSP Kernel and thus it will always stay at 3.10. I will not touch a BSP with another Kernel should one be released. I will provide a upgrade path to mainline Kernel once someone convinced me that the mainline Kernel has reached a state where it actually is useful (WIP by the linux-sunxi community - see http://linux-sunxi.org/Linux_mainlining_effort).
Also starting with this Kernel release it is possible to run the Linux with a different HDMI resolution. I support this on my Ubuntu Xenial images using the ppa providing a user space tool sunxi-disp-tool which can change the resultion using ioctl calls to disp2 and fb devices. See the README.md for instructions.
TL;DR instructions to get 720p60 on Ubuntu Xenial:
Code:
sudo apt-get update && sudo apt-get install sunxi-disp-tool
cat <<EOF | sudo tee -a /boot/uEnv.txt
optargs=disp.screen0_output_mode=720p60
EOF
sudo reboot
Note that U-Boot will start the display with 1080p60 - once the systemd service runs (after about 10 seconds) it will switch to whatever you have set in uEnv.txt.
Get 3.10.101-0-pine64-longsleep-39 from https://www.stdin.xyz/downloads/people/l...ges/linux/
Update like this (as root) on any of my images:
Code:
bash <(curl -s https://raw.githubusercontent.com/longsleep/build-pine64-image/master/simpleimage/platform-scripts/pine64_update_uboot.sh)
bash <(curl -s https://raw.githubusercontent.com/longsleep/build-pine64-image/master/simpleimage/platform-scripts/pine64_update_kernel.sh)
(05-07-2016, 05:40 AM)Terra854 Wrote: Great job longsleep! Now we don't need to worry about security holes and bugs in the outdated 3.10.65 kernel anymore!
You still have to worry as Kernel 3.10 is officially end of life since Dec 2015. It still gets the occasional update but its still a very old Kernel tree.
(05-07-2016, 05:40 AM)Terra854 Wrote: Anyway, once this is released, are there any plans to upgrade the kernel to 3.18 or maybe even to 4.x?
This is the BSP Kernel and thus it will always stay at 3.10. I will not touch a BSP with another Kernel should one be released. I will provide a upgrade path to mainline Kernel once someone convinced me that the mainline Kernel has reached a state where it actually is useful (WIP by the linux-sunxi community - see http://linux-sunxi.org/Linux_mainlining_effort).