New XU4 Kernel 4.9 Ubuntu Image for public release

Moderators: mdrjr, odroid

New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby odroid » Thu May 11, 2017 2:01 pm

Hardkernel announced Linux kernel 4.9.11 support for the ODROID-XU4 and XU3 platforms in late February and we started a debugging party publicly.

After ten weeks of debugging party with our community members, we are proudly releasing a new Ubuntu image based on latest Linux kernel 4.9.27 LTS.
We've improved and added new features such UASP, UHS mode, IRQ balancing, HW mouse cursor, HW RTC Alarm, overlayfs, faster armsoc DDX, multi-touch screen and much more.
You can find over 300 commits in our GitHub history.
https://github.com/hardkernel/linux/commits/odroidxu4-4.9.y

We've packed all the updates into a new OS image for all XU4/3 users.
This official Ubuntu OS image is available on this link.
http://odroid.com/dokuwiki/doku.php?id=en:xu3_ubuntu_k49_release_note_20170510
We will keep improving the Linux OS.

Update!
Ubuntu minimal image with Kernel 4.9 LTS has been also released.
http://odroid.com/dokuwiki/doku.php?id= ... tu_minimal


Note that there is no reliable way to update the Kernel to 4.9 from 3.10.
So please freshly install the new OS image after backup your data.

Image
User avatar
odroid
Site Admin
 
Posts: 28732
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby badtoperfect » Thu May 11, 2017 5:44 pm

Is there a newer version Mali GPU driver for Wayland?
badtoperfect
 
Posts: 5
Joined: Sat Jun 25, 2016 12:23 pm
languages_spoken: Chinese,English
ODROIDs: ODROID-XU4 + eMMC + UART

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby odroid » Thu May 11, 2017 6:10 pm

Nice first reply. :D
We have no license of Wayland DDK. We have only X11/FBDEV DDK.
Request the latest Wayland driver for XU4/3 on the ARM Mali developer site since ARM released the XU4/3 Wayland driver last July and no update.
https://community.arm.com/graphics/

Or pushing ARM people more intensively as described in this thread. ;)
viewtopic.php?f=96&t=26172&p=189831#p189831
User avatar
odroid
Site Admin
 
Posts: 28732
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby stmicro » Thu May 11, 2017 7:42 pm

Great job. I enjoyed the party a lot as an observer. Thank you guys.
stmicro
 
Posts: 229
Joined: Tue Apr 28, 2015 4:23 pm
Location: shenzhen china
languages_spoken: english, chinese
ODROIDs: Many Odroids and Rpis.

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby emu_can » Thu May 11, 2017 10:03 pm

Congratulation and thank you for long term support on two years old board. any plan to releae a minimal 4.9 Ubuntu or Debian image for my home NAS powered by XU4?
emu_can
 
Posts: 24
Joined: Tue Sep 06, 2016 2:06 pm
languages_spoken: english
ODROIDs: Several C2 boards.
2 x C0, 2 x XU4

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby venkatbo » Fri May 12, 2017 1:15 am

Gr8 effort folks!

Is it possible to get a link to a howto to create a "base minimalist" headless server image suitable to add LEMP, MEAN, Docker, cluster, etc., stacks
User avatar
venkatbo
 
Posts: 457
Joined: Mon Feb 25, 2013 3:10 pm
Location: Bay Area, California
languages_spoken: english
ODROIDs: C0/C1+/C2 U3+ XU3-Lite/XU4 VU/VU7+ Touchscreen Show TFT Cloudshell SmartPower mAHRS DAC GPS Multiscope

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby Snk » Fri May 12, 2017 3:01 am

Any support for Ubuntu 17.04? (If released)

Enviado de meu SM-G900M usando Tapatalk
User avatar
Snk
 
Posts: 275
Joined: Sun Jul 31, 2016 6:43 am
languages_spoken: Portuguese
ODROIDs: XU4 + eMMC 32GB + UART

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby elementalwindx » Fri May 12, 2017 11:22 pm

Is there a command line to take us from the version we are on to 4.9 without having to reload the entire image? :) something like a apt-get dist-upgrade? :P
elementalwindx
 
Posts: 78
Joined: Thu Dec 17, 2015 11:48 am
languages_spoken: english

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby sha256 » Sat May 13, 2017 6:11 pm

Hello, will there be a minimal version XU4 of the 2017 image? I only see a minimal for C1 for 2017

I tried to upgrade to 4.9 on both Arch and Debian and on my headless XU4 neither will boot whatsoever. I just need a working minimal image, but right now I have not any image working.
sha256
 
Posts: 51
Joined: Sat Dec 12, 2015 8:01 am
languages_spoken: english

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby sha256 » Sun May 14, 2017 1:25 am

Well I was forced to install the full 20170510 mate image for XU4... it's the first image with 4.9 that boots on my XU4, even though the couple first boots failed. Good job I guess?

Edit: This isn't too good:
Code: Select all
cryptsetup benchmark
# Tests are approximate using memory only (no storage IO).
PBKDF2-sha1       281875 iterations per second
PBKDF2-sha256     188592 iterations per second
PBKDF2-sha512     120249 iterations per second
PBKDF2-ripemd160  229950 iterations per second
PBKDF2-whirlpool   25801 iterations per second
Required kernel crypto interface not available.
Ensure you have algif_skcipher kernel module loaded.

Yeah I can't use this:
Code: Select all
cryptsetup open /dev/sda1 Xxxx
Enter passphrase for /dev/sda1:
device-mapper: reload ioctl on temporary-cryptsetup-1916 failed: No such file or directory
Failed to setup dm-crypt key mapping for device /dev/sda1.
Check that kernel supports twofish-xts-plain-64 cipher (check syslog for more info).
sha256
 
Posts: 51
Joined: Sat Dec 12, 2015 8:01 am
languages_spoken: english

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby meveric » Sun May 14, 2017 1:56 am

sha256 wrote:Hello, will there be a minimal version XU4 of the 2017 image? I only see a minimal for C1 for 2017

I tried to upgrade to 4.9 on both Arch and Debian and on my headless XU4 neither will boot whatsoever. I just need a working minimal image, but right now I have not any image working.

The Kernel should work on all image, if prepared correctly.
My Debian Jessie images (either the server or OGST image) work "fine" with Kernel 4.9. Just make sure to fix the fstab entry on the Debian Jessie server image as explained numerous times.
User avatar
meveric
 
Posts: 9204
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby sha256 » Sun May 14, 2017 2:29 am

meveric wrote:
sha256 wrote:Hello, will there be a minimal version XU4 of the 2017 image? I only see a minimal for C1 for 2017

I tried to upgrade to 4.9 on both Arch and Debian and on my headless XU4 neither will boot whatsoever. I just need a working minimal image, but right now I have not any image working.

The Kernel should work on all image, if prepared correctly.
My Debian Jessie images (either the server or OGST image) work "fine" with Kernel 4.9. Just make sure to fix the fstab entry on the Debian Jessie server image as explained numerous times.

You're right it boots with that, thanks, I tried it just now I still had it on a card (I got other problems installing fresh from your image that I didn't last time, but got around them). Honestly I've been reading the whole 4.9 party forum and I can't find information.

Didn't get me far though, your package has aes but it's missing twofish/serpent so can't mount drives.
sha256
 
Posts: 51
Joined: Sat Dec 12, 2015 8:01 am
languages_spoken: english

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby meveric » Sun May 14, 2017 2:31 am

It's probably just some config option that need to be set in the kernel.. should be rather easy to fix with the next Kernel. :)
User avatar
meveric
 
Posts: 9204
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby sha256 » Sun May 14, 2017 3:43 am

Yeah it's the CONFIG_CRYPTO_* options including all the optimizations, I had one that was featured and fast but the attachment is dead. You need menuconfig but here's some missing from the ubuntu config that I remember, but I can't remember what the algif_skcipher or optimization ones are:
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_TWOFISH is not set

Edit: and some of these:
# CONFIG_CRYPTO_USER is not set
# CONFIG_CRYPTO_USER_API_HASH is not set
# CONFIG_CRYPTO_USER_API_SKCIPHER is not set
# CONFIG_CRYPTO_USER_API_RNG is not set
# CONFIG_CRYPTO_USER_API_AEAD is not set
This doesn't include the optimizations
sha256
 
Posts: 51
Joined: Sat Dec 12, 2015 8:01 am
languages_spoken: english

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby meveric » Sun May 14, 2017 3:56 am

ok, added it to the build script. the next Kernel I build will have it activated.
User avatar
meveric
 
Posts: 9204
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby sha256 » Sun May 14, 2017 7:32 am

Hey thanks, it'll need tweaking I bet, but I'll try it first thing when it comes up.

Less pressure on the ubuntu minimal image thing, I decided to install the debian minimal so I can switch back and forth with 3.10 til this settles.
sha256
 
Posts: 51
Joined: Sat Dec 12, 2015 8:01 am
languages_spoken: english

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby elatllat » Mon May 15, 2017 9:28 pm

"rearmed" haha.


DEBUG should probably be removed for the release;
Code: Select all
git diff -U0 remotes/hardkernel/odroidxu4-4.9.y HEAD -- ./arch/arm/configs/odroidxu3_defconfig
diff --git a/arch/arm/configs/odroidxu3_defconfig b/arch/arm/configs/odroidxu3_defconfig
index a4d5007..2448054 100644
--- a/arch/arm/configs/odroidxu3_defconfig
+++ b/arch/arm/configs/odroidxu3_defconfig
@@ -705,4 +705 @@ CONFIG_PM=y
-CONFIG_PM_DEBUG=y
-CONFIG_PM_ADVANCED_DEBUG=y
-# CONFIG_PM_TEST_SUSPEND is not set
-CONFIG_PM_SLEEP_DEBUG=y
+# CONFIG_PM_DEBUG is not set
@@ -1011 +1008 @@ CONFIG_IP_VS_IPV6=y
-CONFIG_IP_VS_DEBUG=y
+# CONFIG_IP_VS_DEBUG is not set
@@ -1176 +1173 @@ CONFIG_L2TP=m
-CONFIG_L2TP_DEBUGFS=m
+# CONFIG_L2TP_DEBUGFS is not set
@@ -2068 +2065 @@ CONFIG_RTLWIFI_USB=m
-# CONFIG_RTLWIFI_DEBUG is not set
+CONFIG_RTLWIFI_DEBUG=y
@@ -3223 +3142 @@ CONFIG_DVB_B2C2_FLEXCOP_USB=m
-CONFIG_DVB_B2C2_FLEXCOP_USB_DEBUG=y
+# CONFIG_DVB_B2C2_FLEXCOP_USB_DEBUG is not set
@@ -3297 +3215,0 @@ CONFIG_DVB_B2C2_FLEXCOP=m
-CONFIG_DVB_B2C2_FLEXCOP_DEBUG=y
@@ -4168 +4086 @@ CONFIG_USB_SERIAL_QT2=m
-CONFIG_USB_SERIAL_DEBUG=m
+# CONFIG_USB_SERIAL_DEBUG is not set
elatllat
 
Posts: 1047
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby derko » Tue May 16, 2017 3:29 pm

Thanks for the kernel update. Crypto is now supported:

# Die Tests sind nur annähernd genau, da sie nicht auf die Festplatte zugreifen.
PBKDF2-sha1 524288 iterations per second
PBKDF2-sha256 179550 iterations per second
PBKDF2-sha512 110144 iterations per second
PBKDF2-ripemd160 194180 iterations per second
PBKDF2-whirlpool 22755 iterations per second
# Algorithm | Key | Encryption | Decryption
aes-cbc 128b 40,2 MiB/s 51,7 MiB/s
serpent-cbc 128b 28,9 MiB/s 39,3 MiB/s
twofish-cbc 128b 45,2 MiB/s 56,3 MiB/s
aes-cbc 256b 41,2 MiB/s 42,5 MiB/s
serpent-cbc 256b 37,2 MiB/s 37,2 MiB/s
twofish-cbc 256b 52,0 MiB/s 53,8 MiB/s
aes-xts 256b 52,0 MiB/s 52,5 MiB/s
serpent-xts 256b 14,5 MiB/s 16,7 MiB/s
twofish-xts 256b 46,2 MiB/s 55,9 MiB/s
aes-xts 512b 42,2 MiB/s 43,2 MiB/s
serpent-xts 512b 38,7 MiB/s 39,8 MiB/s
twofish-xts 512b 56,7 MiB/s 50,4 MiB/s
derko
 
Posts: 58
Joined: Tue Jul 14, 2015 2:16 am
languages_spoken: englisch, german
ODROIDs: XU4

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby odroid » Tue May 16, 2017 3:40 pm

Above two requested has been applied with Kernel 4.9.28 update.
https://github.com/hardkernel/linux/com ... dxu4-4.9.y
User avatar
odroid
Site Admin
 
Posts: 28732
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby elatllat » Tue May 16, 2017 3:51 pm

odroid wrote:Above two requested has been applied with Kernel 4.9.28 update.
https://github.com/hardkernel/linux/com ... dxu4-4.9.y

Thanks.

2 outstanding prs at the moment.
elatllat
 
Posts: 1047
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby mrred128 » Wed May 17, 2017 11:55 am

My system is 16.04 and previously using the 3.x kernel. I got the source from git hub, default config/compiled and installed. My network only comes up as a lo interface.

My lsmod gives me....

Module Size Used by
fuse 75328 3
cpufreq_userspace 1799 0
cpufreq_powersave 878 0
cpufreq_ondemand 5702 2
cpufreq_conservative 2955 0
lzo 1313 64
zram 17418 8
binfmt_misc 6362 1
ina231_sensor 6650 0
exynos_gpiomem 3158 0
8021q 18365 0
garp 4749 1 8021q
mrp 6365 1 8021q
stp 1579 1 garp
llc 3243 2 garp,stp
nfsd 244848 13
ipv6 341273 94
uas 11722 0


Did I do anything wrong or is the interface go under a different mod now?
User avatar
mrred128
 
Posts: 14
Joined: Sun Mar 13, 2016 9:35 am
languages_spoken: english
ODROIDs: ordroid-xu4

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby crashoverride » Wed May 17, 2017 12:09 pm

That happens if you do not update the bootloader/boot.ini. It is using the XU3 device tree. You will need to specify the XU4 device tree in boot.ini.
crashoverride
 
Posts: 3995
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby odroid » Wed May 17, 2017 12:19 pm

We don't support an official upgrade method from Kernel 3.10 to 4.9.

But you can try.
I think you have to modify the boot.ini file to load xu4 dtb instead on xu3 dtb manually.
We changed u-boot to implement a board detection feature to distinguish XU3, XU3-Lite and XU4.
If you don't update the u-boot, you had to change the boot.ini file manually.
So please consider freshly installing the latest image after backup your data first.

PS. crashoverride was slightly faster than me. :o
User avatar
odroid
Site Admin
 
Posts: 28732
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby mrred128 » Wed May 17, 2017 12:22 pm

Where can I find the reference to that info? This would be all that is holding me back.
User avatar
mrred128
 
Posts: 14
Joined: Sun Mar 13, 2016 9:35 am
languages_spoken: english
ODROIDs: ordroid-xu4

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby odroid » Wed May 17, 2017 12:24 pm

Refer this new boot.ini file in Kernel 4.9 image.
https://github.com/mdrjr/5422_bootini/b ... #L144-L148
User avatar
odroid
Site Admin
 
Posts: 28732
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby meveric » Wed May 17, 2017 2:15 pm

can you provide the new u-boot?
Does the "new" u-boot work with the "old" Kernel without complication?
User avatar
meveric
 
Posts: 9204
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby odroid » Wed May 17, 2017 3:18 pm

You can find the latest boot blobs in our github.
https://github.com/hardkernel/u-boot/tr ... hardkernel
And change history.
https://github.com/hardkernel/u-boot/co ... 3-v2012.07

New u-boot works well with old kernel and old boot.ini

I will try to find our latest first-run script which has the auto rootfs resizing as well as writing the boot blobs into the eMMC hidden boot blocks for your Debian images.

Edit:
I found it. It seems to write the u-boot images only when eMMC is a boot media since our new images already have the updated u-boot blobs for SD cards.
Code: Select all
PATH=/sbin:/usr/sbin:/bin:/usr/bin

. /lib/init/vars.sh
. /lib/lsb/init-functions

dev_p2=`blkid -U e139ce78-9841-40fe-8823-96a304a09859`
dev=${dev_p2%??}

case "$1" in
    start)
      if [ -f /.first_boot ]; then
         # oh noes, we need to update u-boot before everything
         if [ -f /sys/block/mmcblk0/mmcblk0boot0/force_ro ]; then
            bl1=/usr/share/5422_uboot/bl1.bin.hardkernel
            bl2=/usr/share/5422_uboot/bl2.bin.hardkernel
            tzsw=/usr/share/5422_uboot/tzsw.bin.hardkernel
            uboot_bin=/usr/share/5422_uboot/u-boot.bin.hardkernel

            export signed_bl1_position=0
            export bl2_position=30
            export uboot_position=62
            export tzsw_position=718
            export env_position=1230
            echo 0 > /sys/block/mmcblk0/mmcblk0boot0/force_ro
            devi=/dev/mmcblk0boot0

            dd iflag=dsync oflag=dsync if=$bl1 of=$devi seek=$signed_bl1_position
            dd iflag=dsync oflag=dsync if=$bl2 of=$devi seek=$bl2_position
            dd iflag=dsync oflag=dsync if=$uboot_bin of=$devi seek=$uboot_position
            dd iflag=dsync oflag=dsync if=$tzsw of=$devi seek=$tzsw_position
            dd iflag=dsync oflag=dsync if=/dev/zero of=$devi seek=$env_position count=32 bs=512
         
            sync

         fi


   
         # ok, its the very first boot, we need to resize the disk.
         p2_start=`fdisk -l $dev | grep p2 | awk '{print $2}'`
         p2_finish=$((`fdisk -l $dev | grep Disk | grep sectors | awk '{printf $7}'` - 1024))
         
         fdisk $dev <<EOF &>> /home/odroid/resize.log
p
d
2
n
p
2
$p2_start
$p2_finish
p
w
EOF
         rm -fr /.first_boot
         [ ! -f /etc/ssh/ssh_host_rsa_key ] && dpkg-reconfigure openssh-server
         sync
         poweroff
         
      else
      
         # ok, we already resized!
         
         log_daemon_msg "Resizing /" &&
         resize2fs $dev_p2 &&
         rm -fr /aafirstboot
      fi
   ;;
    restart|reload|force-reload)
        echo "Error: argument '$1' not supported" >&2
        exit 3
        ;;
    stop)
        ;;
    *)
        echo "Usage: $0 start|stop" >&2
        exit 3
        ;;
esac
User avatar
odroid
Site Admin
 
Posts: 28732
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby meveric » Wed May 17, 2017 5:18 pm

Thanks, I'll try to put it in one of my next updates to further prepare the switch from 3.10 to 4.9 :)
User avatar
meveric
 
Posts: 9204
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby odroid » Thu May 18, 2017 11:38 am

Update!
Ubuntu minimal image with Kernel 4.9 LTS has been released.
http://odroid.com/dokuwiki/doku.php?id= ... tu_minimal
User avatar
odroid
Site Admin
 
Posts: 28732
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby sha256 » Thu May 18, 2017 12:58 pm

That was fast!!! I'll try it all this weekend, great stuff
sha256
 
Posts: 51
Joined: Sat Dec 12, 2015 8:01 am
languages_spoken: english

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby allanm84 » Sat May 20, 2017 5:19 am

Is anyone else having issues with this release and WiFi dongles? I'm using a Realtek RTL8188CUS which worked great on the 3.10 release, but now its extremely slow and its blue light (which used to blink during activity) is on constantly.
allanm84
 
Posts: 6
Joined: Tue Aug 09, 2016 5:43 am
languages_spoken: english
ODROIDs: XU4

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby odroid » Sat May 20, 2017 3:01 pm

We've started to test the XU4 Kernel 4.9 stability.
20pcs of XU4 boards are running the Verium coin mining software to utilize all 160 CPU cores and 40GB RAM as much as possible.
We will share the test result as well as how much we can mine the digital coins every week on this forum.
User avatar
odroid
Site Admin
 
Posts: 28732
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby mad_ady » Sat May 20, 2017 3:32 pm

You've left those power strips uncovered! Think of the children! Safety first! :)
User avatar
mad_ady
 
Posts: 4600
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby odroid » Sat May 20, 2017 4:25 pm

Thank you for the consideration.
But there are no children in our office. We have only old people here. :D
User avatar
odroid
Site Admin
 
Posts: 28732
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Anyone willing to post tutorial 3.10.x -> 4.9.x

Unread postby bobertuk » Sat May 20, 2017 10:05 pm

Now we have a public release of a working 4.9 kernel BUT only from a purpose built image, is anyone willing to post a tutorial to show how to upgrade a working and fully functional 3.10.x kernel to 4.9.x in situ - i.e. direct on the XU4 to be upgraded?

There are lots of very knowledgeable and capable people posting here who, I'm sure, are capable of doing this. I've tested the 4.9 based kernel on an SD card and it works fine but I don't want to have to re-find all the tweaks I've done on my eMMC card. I'd rather be able to upgrade from 3.10 to 4.9 with all tweaks already in place and I'm willing to try it out using an SD card - it's a real pain having to continually swap from eMMC to SD so I'd rather get it over and done with in one hit!

So...
A tutorial on how to compile 4.9.x on the 'in use' 3.10.x with the kernel, boot loader etc put in place so the XU4 will reboot with a fully functioning 4.9?

I know that 4.9 is still in the testing phase but it does seem pretty stable and useable so I'm willing to give this a try.

It must be possible and repeatable!

Any takers?

TIA

Bob
bobertuk
 
Posts: 14
Joined: Mon Sep 07, 2015 8:43 pm
languages_spoken: english

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby sha256 » Sun May 21, 2017 3:49 am

Hurray for stability tests. I haven't been running very long but despite the problems I posted in other thread with crypt & USB3 disk, no stability issues with USB2 disk so far [edit: this isn't completely true it looks like, see other thread].

@bobertuk Using meveric debian image, fresh install that has 3.10, all I had to do was download & install his 4.9 package with "dpkg -i linux-headers-*.deb linux-image-*.deb", change boot.ini "*-xu3.dtb" to "*-xu4.dtb" and edit fstab so the /boot is mounted by UUID (get from "lsblk -o +UUID"). I don't know how much of this works for ubuntu, someone just needs to comment on that.
Last edited by sha256 on Sun May 21, 2017 5:20 am, edited 1 time in total.
sha256
 
Posts: 51
Joined: Sat Dec 12, 2015 8:01 am
languages_spoken: english

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby mad_ady » Sun May 21, 2017 3:52 am

Ideally migrating from 3.10 to 4.9 should imply installing an apt source that provides the new kernel and its updates. Using just the debs doesn't give you continuous updates.
User avatar
mad_ady
 
Posts: 4600
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby bobertuk » Sun May 21, 2017 1:29 pm

mad_ady wrote:Ideally migrating from 3.10 to 4.9 should imply installing an apt source that provides the new kernel and its updates. Using just the debs doesn't give you continuous updates.


That seems like the right way to do it. Is there an apt source to do this and if so what is it?

TIA

Bob
bobertuk
 
Posts: 14
Joined: Mon Sep 07, 2015 8:43 pm
languages_spoken: english

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby krishnanvivek » Mon May 22, 2017 3:43 pm

I am looking for MACSEC support in the native kernel for ubuntu. Is there a plan to release the next OS version with it ? IF not i'll go through the process of compiling the kernel.
krishnanvivek
 
Posts: 1
Joined: Mon May 22, 2017 3:40 pm
languages_spoken: english
ODROIDs: XU4

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby streetboy » Mon May 22, 2017 6:05 pm

odroid wrote:We've started to test the XU4 Kernel 4.9 stability.
20pcs of XU4 boards are running the Verium coin mining software to utilize all 160 CPU cores and 40GB RAM as much as possible.
We will share the test result as well as how much we can mine the digital coins every week on this forum.


Good to hear HK is being interested in the stability and boards' lifetime extension instead of generating useless new boards.
They will be a reliable SBC supplier certainly.
I'm really interested in how much money you can make with the coin mining cluster too. :mrgreen:
User avatar
streetboy
 
Posts: 194
Joined: Tue Feb 26, 2013 6:43 pm
languages_spoken: english
ODROIDs: ODROID-X,U2,XU3-Lite
C1, XU4

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby phaseshifter » Tue May 23, 2017 10:12 am

i am too interested in running a biocoin setup would be good to see a tutorial on just exactly how to set up the software for such a project..i got the hardware side of it covered
phaseshifter
 
Posts: 2935
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: N-1..c1+ ..c-2..xu3 lite,xu4...u-3..
u-2...other odroid acc`s as well

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby mad_ady » Tue May 23, 2017 2:34 pm

... and don't forget - at the end of the day, how to convert the bitcoin to real money :)
User avatar
mad_ady
 
Posts: 4600
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby phaseshifter » Tue May 23, 2017 3:09 pm

yes that point is quite a biggy..i have tried to get varium running on a c-2 as i was going to use them..they produce approxx half of what a xu4 does.. and draw half the power...or less
phaseshifter
 
Posts: 2935
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: N-1..c1+ ..c-2..xu3 lite,xu4...u-3..
u-2...other odroid acc`s as well

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby mad_ady » Tue May 23, 2017 7:45 pm

bobertuk wrote:
mad_ady wrote:Ideally migrating from 3.10 to 4.9 should imply installing an apt source that provides the new kernel and its updates. Using just the debs doesn't give you continuous updates.


That seems like the right way to do it. Is there an apt source to do this and if so what is it?

TIA

Bob

I had a friend migrate his 3.10 linux image to 4.9 by adding the following entry under /etc/apt/sources.list.d/odroid.list:
Code: Select all
deb http://deb.odroid.in/5422-s/ xenial main

You can leave the existing non "-s" entry there as well. You can do a sudo apt-get update, sudo apt-get dist-upgrade and it should install kernel 4.9 and arrive at the same image as the new one. But, it's best to have a backup just in case...
User avatar
mad_ady
 
Posts: 4600
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby odroid » Thu May 25, 2017 11:24 am

We've tested the stability of Kernel 4.9.28 for 5 days (120 hours of Uptime).
There was no single bit error so far with the very heavy Verium mining software.
So we can say the stability seems to be acceptable even we need further test.

We've earned 40 Verium(VRM) coins which value is US$40 approximately.
But the actual income must be much lower if we consider the electricity cost. We'll measure the power consumption one week later.

Anyway, we will shut all the system down today and update the boot loader to change the DRAM clock to 933Mhz from 825Mhz.
viewtopic.php?f=93&t=27117
I will post the test results on this thread again early next week.
Stay tuned.
User avatar
odroid
Site Admin
 
Posts: 28732
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby mcoburn » Sat May 27, 2017 5:52 pm

For some reason I was unable to get the kernel to recognize the eMMC 16GB Module of mine. Is this a known bug or did my eMMC just have a hissy fit?
mcoburn
 
Posts: 104
Joined: Tue Feb 26, 2013 9:56 am
Location: Australia
languages_spoken: English
ODROIDs: ODROID-U2, ODROID-XU, ODROID-C1

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby phaseshifter » Sat May 27, 2017 6:22 pm

it had a hissy fit......... you do have a red emmc right..!!!
phaseshifter
 
Posts: 2935
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: N-1..c1+ ..c-2..xu3 lite,xu4...u-3..
u-2...other odroid acc`s as well

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby moon.linux » Sun May 28, 2017 2:25 am

What is the way we can power up cluster of Odroid XU4 ?
I would like to use the same terminology to power up the board.
moon.linux
 
Posts: 1162
Joined: Thu Oct 02, 2014 11:42 pm
languages_spoken: english

Re: New XU4 Kernel 4.9 Ubuntu Image for public release

Unread postby mcoburn » Sun May 28, 2017 10:16 am

phaseshifter wrote:it had a hissy fit......... you do have a red emmc right..!!!


Yes, my 16GB eMMC is a red coloured one. I used it in my ODROID-XU without any issue and also my ODROID-C1. But it just seems on this latest image the eMMC was having a hissy fit - the MATE image before running this one was working A-OK. :?

EDIT:
moon.linux says:
What is the way we can power up cluster of Odroid XU4 ?
I would like to use the same terminology to power up the board.

You mean how to power the ODROIDs in a cluster? You'd probably need a 5V DC power supply and some USB to Barrel adaptor cables. The only issue is you'd have to ensure that the power supply doesn't blow up since when the ODROID powers up it does have a moment of peak power draw as uBoot kicks into action. I had a 5V 3A power supply that I made my own splitter cable to my ODROID-VU and ODROID-C1 - it would run the VU fine, but when the C1 initialized, it blew and magic smoke escaped.

You could get a power board and a bunch of 5V 2A/3A power supplies. That'll allow you to run 6 ODROID-XU4s from USB 5V... although sometimes the USB barrel cables can cause poor contact resulting in random reboots because the pin connector slipped.
mcoburn
 
Posts: 104
Joined: Tue Feb 26, 2013 9:56 am
Location: Australia
languages_spoken: English
ODROIDs: ODROID-U2, ODROID-XU, ODROID-C1

Energy Monitor???

Unread postby bobertuk » Tue May 30, 2017 4:41 am

I've successfully built the EnergyMonitor on the Odroid official Ubuntu release of kernel 4.9.x but it only displays the eight CPU frequencies. There is no display of GPU frequency and no display of GPU or any CPU temperatures.

I built EnergyMonitor as I'm trying out the ameridroid XU4 Aluminium cooling case which is fanless and can get quite hot to the touch. So I would like to visually monitor CPU and GPU temperatures.

Is there any way of seeing the GPU and CPU temperatures with kernel 4.9.x, preferably using a GUI?

TIA

Bob
bobertuk
 
Posts: 14
Joined: Mon Sep 07, 2015 8:43 pm
languages_spoken: english

Next

Return to Ubuntu

Who is online

Users browsing this forum: No registered users and 2 guests