Kernel 3.8.13(X/X2/U2/U3) For Ubuntu(Server)/Fedora/Debian

Moderators: mdrjr, odroid, meveric

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby mdrjr » Tue Jul 29, 2014 10:59 pm

I don't know since I don't use/never used that specific image.
mdrjr
Site Admin
 
Posts: 11681
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby sert00 » Sun Aug 17, 2014 6:12 am

konfiot wrote:I just tried that script with an updated debian from odroid.us, but it didn't work.
To help the script detect the system, I created the file /etc/hk-debian.
At the end, the script complains that it doesn't find /boot/boot-auto.scr (Or something like thet, don't remember the exact name), but it finishes.
But when I reboot, I'm still using the 3.0.57 kernel.
So is there any way to update to kernel 3.8 with the odroid.us debian version ?

it's a soo old image..at least if you want debian use something else more new here in community,they are from end 2013 or 2014,same rootfs and do a kernel update.
The odroid.us site has older versions of anything,they were mantained by osterluk but he stopped updating that.
2x Odroid-U2
2x Odroid-XU-E
Odroid-U3
Odroid-C1+
Odroid-XU4
Lcd touch panel 10.1"
....and many of the goodies available....
User avatar
sert00
 
Posts: 745
Joined: Sun Feb 24, 2013 12:26 am
languages_spoken: english,italian
ODROIDs: ODROID-U2*2__ODROID-U3__ODROID-XU-E__ODROID-XU-Ebeta__ODROID-C1__ODROID-XU4

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby YamashitaRen » Mon Aug 18, 2014 4:07 am

@konfiot
What image are you using ? Maybe it's too old to use the kernel-update script ...
If you're using kernel-update, give us a pastebin of the excuted script.

I already used kernel-update with the latest odroid.us image and it worked fine ;)
YamashitaRen
 
Posts: 34
Joined: Sun Jul 07, 2013 6:55 pm
languages_spoken: Français, English
ODROIDs: Odroid-U2

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby mescanef » Wed Aug 20, 2014 6:54 am

mdrjr wrote:
snooty15041960 wrote:Can you add kernel-module for ec168 usb-dvbt-stick please?


Sure.. I've just added.. should be live by the end of the day.


Hi,

mdrjr, any chances on adding the following kernel options:

Code: Select all
CONFIG_SYN_COOKIES
CONFIG_INET_IPCOMP
CONFIG_INET_AH
CONFIG_INET_XFRM_TUNNEL
CONFIG_DEVPTS_MULTIPLE_INSTANCES
CONFIG_CGROUP_FREEZER
CONFIG_RESOURCE_COUNTERS
CONFIG_MEMCG
CONFIG_MEMCG_KMEM
CONFIG_MEMCG_SWAP
CONFIG_CGROUP_PERF
CONFIG_CGROUP_SCHED
CONFIG_FAIR_GROUP_SCHED


? :-)

Kind Regards,
mescanef
mescanef
 
Posts: 17
Joined: Sat Jul 05, 2014 9:41 pm
languages_spoken: english
ODROIDs: U3

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby mdrjr » Wed Aug 20, 2014 10:09 am

Done and building :)
mdrjr
Site Admin
 
Posts: 11681
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby mescanef » Thu Aug 21, 2014 2:07 am

mdrjr wrote:Done and building :)


TY :-)


// EDIT:

Argh, trying to get working pluto (openswan) for the IPsec conn and still some modules are missing.
Code: Select all
# ip xfrm state
Cannot open netlink socket: Protocol not supported


kindly please add yet these one:

Code: Select all
CONFIG_XFRM_USER
CONFIG_NETFILTER_XT_TARGET_NOTRACK
CONFIG_NETFILTER_NETLINK_QUEUE_CT
CONFIG_NET_KEY_MIGRATE
CONFIG_INET_LRO
CONFIG_INET_UDP_DIAG


probably the first option will fix this, however the additional one are at least recommended.

:)

regards
mescanef
mescanef
 
Posts: 17
Joined: Sat Jul 05, 2014 9:41 pm
languages_spoken: english
ODROIDs: U3

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby mdrjr » Thu Aug 21, 2014 9:32 am

Added.. will take a hour or so to be live.
mdrjr
Site Admin
 
Posts: 11681
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby mescanef » Mon Aug 25, 2014 6:50 am

Thanks mdrjr, ipsec working as expected.

ATM trying with the LXC & libvirt, I can see that kernel doesn't have these two options:

Code: Select all
CONFIG_USER_NS
CONFIG_SECURITYFS


The USER_NS - namespaces - in 3.8 is probably marked as "experimental", however, some sources (http://kernelnewbies.org/Linux_3.8) claims, that this feature is supported by 3.8.x tree, but perhaps it's missing some additional stable code, compared to the "fully supported" >=3.12.x. Also, based on this -> https://lists.yoctoproject.org/pipermai ... 00425.html, the LXC won't fail while starting, when user namespace is enabled and there is no securityfs nor selinux kernel support.

Any chances on enabling them too? :-)

regards,
mescanef
mescanef
 
Posts: 17
Joined: Sat Jul 05, 2014 9:41 pm
languages_spoken: english
ODROIDs: U3

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby stormracer » Sat Aug 30, 2014 4:24 am

Hello,
i want to try can-bus with an odroid-u3 with an MCP2515 and the SPI-Interface. The MCP is supported by the Kernel. Is it possible to enable the Kernel-Modul? Or should I compile a kernel myself.

The relevant entry is:
Code: Select all
+CONFIG_CAN=m

+CONFIG_CAN_DEV=m
+CONFIG_CAN_CALC_BITTIMING=y
+CONFIG_CAN_MCP251X=m


Thanks, regards
Christian
stormracer
 
Posts: 1
Joined: Sat Aug 30, 2014 2:22 am
languages_spoken: german
ODROIDs: ODROID-U3

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby mdrjr » Sat Aug 30, 2014 5:57 am

Done.. should be live in a few hours :)
mdrjr
Site Admin
 
Posts: 11681
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby dagger907 » Sun Aug 31, 2014 1:43 am

Can you compile in the zram-module? Swapping on SD/eMMC-cards is not a good idea, and i've only got positive experiences with zram in both production and QA/Test-systems!

Best regards
dagger907
 
Posts: 1
Joined: Sun Aug 31, 2014 1:41 am
languages_spoken: english norwegian
ODROIDs: U3

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby aadamson » Sun Aug 31, 2014 4:56 am

it's been so long since I built a linux kernel that I'm not even sure how to ask this.

I've been trying to setup a small linux box with ham radio utilities installed and I've come down to the point where I need the following modules
AX25
MKISS

Would it be possible to build a kernel with those modules available please?

Thanks in advance,
Alan Adamson
Atlanta, GA
aadamson
 
Posts: 2
Joined: Sun Aug 31, 2014 4:53 am
languages_spoken: english
ODROIDs: X2

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby mdrjr » Sun Aug 31, 2014 5:12 am

Added both ZRAM and AX25/MKISS support. Should be live within a hour or so.
mdrjr
Site Admin
 
Posts: 11681
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby aadamson » Sun Aug 31, 2014 5:23 am

mdrjr - in a word... your AWESOME! thanks so much... hopefully that will be all I need... I'll let you know if not :)..

Thanks again!
aadamson
 
Posts: 2
Joined: Sun Aug 31, 2014 4:53 am
languages_spoken: english
ODROIDs: X2

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby vallave » Mon Sep 01, 2014 6:16 pm

is it possible to include driver for USBTV007 EasyCAP.. looks like it is available post 3.11
vallave
 
Posts: 1
Joined: Wed Feb 05, 2014 2:58 am
languages_spoken: english
ODROIDs: u3

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby mdrjr » Tue Sep 02, 2014 12:24 am

I'll check support for USBTV007 if its possible to add
mdrjr
Site Admin
 
Posts: 11681
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby liiwi » Tue Sep 02, 2014 2:35 am

Would it be possible to enable CONFIG_FHANDLE ? New systemd requires it.

*update* nevermind, my own problem, now that the script runs properly system is updated, Jessie is smiling :)
liiwi
 
Posts: 1
Joined: Tue Sep 02, 2014 2:31 am
languages_spoken: english
ODROIDs: Many

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby mescanef » Thu Oct 09, 2014 9:15 am

hello

mdrjr: could you compile selinux into kernel? my proposition is to set it as "disabled" by default during the kernel boot (aware people will enable it explicitly via the kernel cmd line).

Code: Select all
CONFIG_SECURITY_SELINUX=y
CONFIG_SECURITY_SELINUX_BOOTPARAM=y
CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=0
CONFIG_SECURITY_SELINUX_DISABLE=y
CONFIG_SECURITY_SELINUX_DEVELOP=y
CONFIG_SECURITY_SELINUX_AVC_STATS=y
CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=1


Also I believe that below cfgs regarding security:
Code: Select all
CONFIG_DEFAULT_SECURITY_DAC=y
CONFIG_DEFAULT_SECURITY=""

can be left as they are now - once again, aware people can explicitly put the 'security=selinux' into cmd kernel line, to override these defaults, to enable selinux during boot. :-)

regards,
mescanef
mescanef
 
Posts: 17
Joined: Sat Jul 05, 2014 9:41 pm
languages_spoken: english
ODROIDs: U3

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby mdrjr » Thu Oct 09, 2014 5:42 pm

I'll add here to my todo list... Its something that I would have to test before pushing and see if it doesn't break anything
mdrjr
Site Admin
 
Posts: 11681
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby rainforest1155 » Fri Oct 17, 2014 8:01 am

Hello mdrjr,

I just migrated my server from a BeagleBoneBlack (was giving me trouble) over to my new ODroid-U3 and when I tried to run my start script, I noticed that Debian image I used as the basis for my set up doesn't have the Ecryptfs module included. Since all my data is encrypted via that, I can't proceed for now.
Any chance you could enable the module in question:
Code: Select all
CONFIG_ECRYPT_FS=m


I appreciate your assistance and hope that won't be a problem.

Thanks,
Sebastian
rainforest1155
 
Posts: 11
Joined: Fri Oct 17, 2014 7:47 am
languages_spoken: english
ODROIDs: Odroid-U3

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby mdrjr » Fri Oct 17, 2014 12:59 pm

Added ;)
mdrjr
Site Admin
 
Posts: 11681
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby rainforest1155 » Fri Oct 17, 2014 7:24 pm

Awesome, thanks so much!
Still working out some kinks with file permissions on the ODroid for some of the copied stuff but other than that it's looking good.
rainforest1155
 
Posts: 11
Joined: Fri Oct 17, 2014 7:47 am
languages_spoken: english
ODROIDs: Odroid-U3

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby Vincent » Mon Oct 20, 2014 6:49 pm

Hi Mdrjr,

Could we use this kernel as a base to build a Debian soft-float distrib?

Thanks.

Regards,
Vincent.
Vincent
 
Posts: 48
Joined: Wed Feb 05, 2014 6:13 pm
languages_spoken: english, french
ODROIDs: C1, U3, Xu Lite

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby mdrjr » Mon Oct 20, 2014 7:15 pm

Yes you can.
mdrjr
Site Admin
 
Posts: 11681
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby Vincent » Mon Oct 20, 2014 7:24 pm

Great!

And could you please confirm that I can't go with this HOWTO as Ubuntu doesn't come with armsf packages? I should chose a Debian distrib (or any other distrib coming with armel packages), right?


Thanks again.

Regards,
Vincent.
Vincent
 
Posts: 48
Joined: Wed Feb 05, 2014 6:13 pm
languages_spoken: english, french
ODROIDs: C1, U3, Xu Lite

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby mdrjr » Mon Oct 20, 2014 7:28 pm

That's correct.. Ubuntu doesn't have softfloat binaries...

AFAIK only debian has
mdrjr
Site Admin
 
Posts: 11681
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby tamcao » Tue Oct 21, 2014 9:09 am

Hi mdrjr,

Is it possible to have a Kernel version that has increase USB buffer size? My understanding is that the default usb buffer size is 16Mb (found by issuing cmd: cat /sys/module/usbcore/parameters/usbfs_memory_mb ). I want to have a bigger USB buffer (something like 1000Mb just to be sure) to do large image capturing via USB3. I did some research on the net and found people mentioning that the variable responsible to define buffer size is "static unsigned usbfs_memory_mb = 16" in file: "/drivers/usb/core/devio.c" . I am a newbie (converted from Windows user) and I have never tried to recompile or reinstall kernel before.

Any help is much appreciated.

Cheers,
Tam
tamcao
 
Posts: 7
Joined: Wed Nov 20, 2013 8:29 pm
languages_spoken: english

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby mdrjr » Tue Oct 21, 2014 10:28 am

tamcao,

We have many guides around the forum on how to build the kernel.. but looks like you are talking about XU3 or XU since those boards is the ones that have USB3...
I don't know the side effects of adding such huge number..
I guess you better rebuild your own kernel instead.
mdrjr
Site Admin
 
Posts: 11681
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby tamcao » Tue Oct 21, 2014 12:12 pm

Hi mdrjr,

Thank you for your suggestion. Yes, I have an Odroid XU and I've placed an order for a XU3 (so it should is on the way soon I hope). I will look around for tutorial on how to build custom kernel. I have not done this before. I am using kernel version 3.4.67 on my XU board with Ubuntu 13.10. Can you suggest a good starting point for a newbie?

Regards,
Tam
tamcao
 
Posts: 7
Joined: Wed Nov 20, 2013 8:29 pm
languages_spoken: english

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby mdrjr » Tue Oct 21, 2014 12:17 pm

viewtopic.php?f=52&t=81

You'll have to adapt a few parts for XU :)
mdrjr
Site Admin
 
Posts: 11681
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby tamcao » Wed Oct 22, 2014 6:19 am

Thanks for your suggestion. I'll give it a go.

Regards,
Tam

EDITED: For those who are interested, I follow this instruction on how to update kernel and it works for me:

http://odroid.us/mediawiki/index.php?ti ... g_a_Kernel
Last edited by tamcao on Thu Oct 23, 2014 7:21 pm, edited 1 time in total.
tamcao
 
Posts: 7
Joined: Wed Nov 20, 2013 8:29 pm
languages_spoken: english

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby cctsao1008 » Wed Oct 22, 2014 1:26 pm

Will you plan to support "Flattened Device Tree" in kernal ?
User avatar
cctsao1008
 
Posts: 44
Joined: Tue Oct 22, 2013 5:10 pm
Location: TAIPEI
languages_spoken: english, chinese
ODROIDs: U2, C1

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby mdrjr » Wed Oct 22, 2014 1:54 pm

cctsao1008 wrote:Will you plan to support "Flattened Device Tree" in kernal ?


Why? What it will add ?
mdrjr
Site Admin
 
Posts: 11681
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby gulp » Thu Oct 23, 2014 10:38 pm

hi,
the commit https://github.com/hardkernel/linux/com ... 4e670c5f5a is inside kernel 3.8.13.28 ?
gulp
 
Posts: 18
Joined: Mon Apr 14, 2014 4:58 am
languages_spoken: Italian,english
ODROIDs: Odroid U3

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby mdrjr » Thu Oct 23, 2014 11:40 pm

gulp wrote:hi,
the commit https://github.com/hardkernel/linux/com ... 4e670c5f5a is inside kernel 3.8.13.28 ?



Yes
mdrjr
Site Admin
 
Posts: 11681
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby cberner » Sun Oct 26, 2014 6:42 am

Can you change these two options to compile the 802.11 stack as modules? Otherwise some Wifi cards like AWUS051NH don't work in Access point mode:

CONFIG_CFG80211=m
CONFIG_MAC80211=m
cberner
 
Posts: 17
Joined: Sun Oct 26, 2014 5:42 am
languages_spoken: english
ODROIDs: u3

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby mdrjr » Sun Oct 26, 2014 7:32 am

cberner wrote:Can you change these two options to compile the 802.11 stack as modules? Otherwise some Wifi cards like AWUS051NH don't work in Access point mode:

CONFIG_CFG80211=m
CONFIG_MAC80211=m


Sure.. I'll do that next week :)
mdrjr
Site Admin
 
Posts: 11681
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby mdrjr » Fri Oct 31, 2014 8:05 am

cberner wrote:Can you change these two options to compile the 802.11 stack as modules? Otherwise some Wifi cards like AWUS051NH don't work in Access point mode:

CONFIG_CFG80211=m
CONFIG_MAC80211=m


Done :)
mdrjr
Site Admin
 
Posts: 11681
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby Digimaster » Sun Nov 30, 2014 7:24 pm

I cannot manage with Easycap-Somagic kernel driver support.
Tried as described here:
https://code.google.com/p/easycap-somag ... ng_modules
but no success.
Could you please add this driver to the kernel?
User avatar
Digimaster
 
Posts: 217
Joined: Tue Feb 26, 2013 4:16 pm
Location: Moscow, Russia
languages_spoken: english, russian
ODROIDs: U2, X2, U3, C1, C2, XU4 × 300+

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby mdrjr » Mon Dec 01, 2014 8:20 am

Digimaster wrote:I cannot manage with Easycap-Somagic kernel driver support.
Tried as described here:
https://code.google.com/p/easycap-somag ... ng_modules
but no success.
Could you please add this driver to the kernel?


I've applied it to our current 3.8 kernel.. test it and let me know if everything is fine..

If it is.. I'll merge it :)
Attachments
0001-saa7115-support-merge-of-the-following-patch-s.patch.gz
(7.31 KiB) Downloaded 648 times
mdrjr
Site Admin
 
Posts: 11681
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby Digimaster » Tue Dec 02, 2014 1:20 am

mdrjr wrote:
I've applied it to our current 3.8 kernel.. test it and let me know if everything is fine..

If it is.. I'll merge it :)


I'm running with developer image:

Code: Select all
root@odroid:/home/odroid/odroid-3.8.y# uname -a
Linux odroid 3.8.13.28 #1 SMP PREEMPT Fri Oct 31 00:21:06 UTC 2014 armv7l armv7l armv7l GNU/Linux
root@odroid:/home/odroid/odroid-3.8.y# lsb_release -a
No LSB modules are available.
Distributor ID:   Ubuntu
Description:   Ubuntu 14.04.1 LTS
Release:   14.04
Codename:   trusty


Applying patch...

Code: Select all
root@odroid:/home/odroid/odroid-3.8.y# git am 0001-saa7115-support-merge-of-the-following-patch-s.patch
Applying: saa7115 support, merge of the following patch's: From patchwork Fri Apr 26 14:22:47 2013 Content-Type: text/plain; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [v2, 1/2] saa7115: move the autodetection code out of the probe function From: Mauro Carvalho Chehab <mchehab@redhat.com> X-Patchwork-Id: 18233 Message-Id: <1366986168-27756-1-git-send-email-mchehab@redhat.com> X-Patchwork-Delegate: hverkuil@xs4all.nl To: unlisted-recipients:; (no To-header on input) Cc: Mauro Carvalho Chehab <mchehab@redhat.com>, Linux Media Mailing List <linux-media@vger.kernel.org> Date: Fri, 26 Apr 2013 11:22:47 -0300
fatal: unrecognized input
Patch failed at 0001 saa7115 support, merge of the following patch's: From patchwork Fri Apr 26 14:22:47 2013 Content-Type: text/plain; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [v2, 1/2] saa7115: move the autodetection code out of the probe function From: Mauro Carvalho Chehab <mchehab@redhat.com> X-Patchwork-Id: 18233 Message-Id: <1366986168-27756-1-git-send-email-mchehab@redhat.com> X-Patchwork-Delegate: hverkuil@xs4all.nl To: unlisted-recipients:; (no To-header on input) Cc: Mauro Carvalho Chehab <mchehab@redhat.com>, Linux Media Mailing List <linux-media@vger.kernel.org> Date: Fri, 26 Apr 2013 11:22:47 -0300
The copy of the patch that failed is found in:
   /home/odroid/odroid-3.8.y/.git/rebase-apply/patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".


What am I doing wrong?
User avatar
Digimaster
 
Posts: 217
Joined: Tue Feb 26, 2013 4:16 pm
Location: Moscow, Russia
languages_spoken: english, russian
ODROIDs: U2, X2, U3, C1, C2, XU4 × 300+

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby mdrjr » Tue Dec 02, 2014 2:31 am

Don't use git am...

patch -p1 < lalala.patch
mdrjr
Site Admin
 
Posts: 11681
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby Digimaster » Tue Dec 02, 2014 3:05 am

Ok, it patches the files. But saa7115 only. For somagic chip I need smi2021 folder in the /drivers/media/usb/
User avatar
Digimaster
 
Posts: 217
Joined: Tue Feb 26, 2013 4:16 pm
Location: Moscow, Russia
languages_spoken: english, russian
ODROIDs: U2, X2, U3, C1, C2, XU4 × 300+

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby mdrjr » Tue Dec 02, 2014 4:42 am

Yeah, but those 6 patch's on the link doesn't add the smi2021

Code: Select all
mdrjr@bigsmall:/media/mdrjr/RAID0_INT/kernel$ cat saa7115-000* | grep diff
diff --git a/drivers/media/i2c/saa7115.c b/drivers/media/i2c/saa7115.c
diff --git a/drivers/media/i2c/saa7115.c b/drivers/media/i2c/saa7115.c
diff --git a/include/media/v4l2-chip-ident.h b/include/media/v4l2-chip-ident.h
diff --git a/drivers/media/i2c/saa7115.c b/drivers/media/i2c/saa7115.c
diff --git a/drivers/media/i2c/saa7115.c b/drivers/media/i2c/saa7115.c
diff --git a/drivers/media/i2c/saa711x_regs.h b/drivers/media/i2c/saa711x_regs.h
diff --git a/drivers/media/i2c/saa7115.c b/drivers/media/i2c/saa7115.c
diff --git a/drivers/media/i2c/saa7115.c b/drivers/media/i2c/saa7115.c
diff --git a/drivers/media/i2c/saa711x_regs.h b/drivers/media/i2c/saa711x_regs.h
diff --git a/include/media/saa7115.h b/include/media/saa7115.h
mdrjr
Site Admin
 
Posts: 11681
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby Digimaster » Tue Dec 02, 2014 4:23 pm

Oh, sorry, I must be more specific.
Those 6 patches are additional for kernel older than 3.11.x
The main patch for smi2021 support is a little above on the page:
Code: Select all
Download the patch with the smi2021 driver module

I've submitted the latest driver module verison to the linux-media mailing-list on September 9th 2013. This is added to linuxtv.org's patchwork. We just download the patch from there:

wget --no-check-certificate https://patchwork.linuxtv.org/patch/20010/mbox/ -O smi2021v3.patch

You can also download the file from a web-browser, visit this link: https://patchwork.linuxtv.org/patch/20010/

Download as mbox, and make sure to save it into the root of the kernel source-tree, and name it smi2021v3.patch
User avatar
Digimaster
 
Posts: 217
Joined: Tue Feb 26, 2013 4:16 pm
Location: Moscow, Russia
languages_spoken: english, russian
ODROIDs: U2, X2, U3, C1, C2, XU4 × 300+

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby Digimaster » Wed Dec 03, 2014 5:06 pm

mdrjr wrote:Yeah, but those 6 patch's on the link doesn't add the smi2021


I have partially succeeded with original smi2021 patch, but there are some issues.
1. /dev/video0 not started automatically due to no firmware upload. To start it I must use somagic-init utility.
2. There are still non-synchronized frames capture. The frames are jerking and fps is 10-12 instead of 25.
I suppose it's because of a lot of incompatibilities in the driver's code. Originally it was made for kernel >3.13,
so I tried to remove undeclared calls, but as I can see, not completely successful. :(
Will try more but not sure I'll managed.
User avatar
Digimaster
 
Posts: 217
Joined: Tue Feb 26, 2013 4:16 pm
Location: Moscow, Russia
languages_spoken: english, russian
ODROIDs: U2, X2, U3, C1, C2, XU4 × 300+

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby mdrjr » Thu Dec 04, 2014 2:09 am

About the FPS, I don't know...
But for firmware loading its working fine on our kernel.
MFC loads a firmware, several wifi adapters also loads firmware...
And even our HDMI driver loads the edid firmware when requested by the user...
mdrjr
Site Admin
 
Posts: 11681
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby Digimaster » Fri Dec 05, 2014 10:17 pm

mdrjr wrote:About the FPS, I don't know...
But for firmware loading its working fine on our kernel.
MFC loads a firmware, several wifi adapters also loads firmware...
And even our HDMI driver loads the edid firmware when requested by the user...


Yes, I know that. The firmware successfully loads by "sudo somagic-init" utility. I mean it's not loaded automatically by the driver.
I suppose it's because of driver's code incompatibility with kernel 3.8.x media environment. I fixed a few "variable not exists" which
actually are exist since 3.13.x kernel.
Maybe it does some functionality break... No idea where to go further.
User avatar
Digimaster
 
Posts: 217
Joined: Tue Feb 26, 2013 4:16 pm
Location: Moscow, Russia
languages_spoken: english, russian
ODROIDs: U2, X2, U3, C1, C2, XU4 × 300+

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby mikewhatever » Fri Dec 12, 2014 6:26 am

So, are we going to move on from 3.8? It's no longer supported, and we've been on 3.8.13.28 for longer then I can remember.
mikewhatever
 
Posts: 21
Joined: Sat Feb 08, 2014 6:41 pm
languages_spoken: english
ODROIDs: u-3

Re: Kernel 3.8.13 For Ubuntu(Server)/Fedora/OpenSUSE/Debian

Unread postby mdrjr » Fri Dec 12, 2014 6:38 am

Maybe on the future :)
mdrjr
Site Admin
 
Posts: 11681
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

PreviousNext

Return to News

Who is online

Users browsing this forum: No registered users and 1 guest