Kernel for A64 git
I am trying to setup the Pine64 2GB version to run TVHeadEnd. I have seen that this has been done successfully but it was using the HDHomeRun box. I have a USB based ATSC tuner. Is there an easy way I can compile the em28xx and required modules?

Thanks!
(07-18-2016, 07:47 PM)dkulinski Wrote: I am trying to setup the Pine64 2GB version to run TVHeadEnd.  I have seen that this has been done successfully but it was using the HDHomeRun box.  I have a USB based ATSC tuner.  Is there an easy way I can compile the em28xx and required modules?

Thanks!


"easy" ?  ... mostly, yes.

clone this:  https://github.com/akhepcat/build-pine64-kernel    and you'll get a script which will automate the majority of building and installing
the kernel.  however, it uses a slightly different /boot  layout than the default, which I find useful as it allows me to have a backup kernel/initrd
and everything organized into their own directory.


If you'e used longsleep's  installer, you should have the  linux...headers  directory in /usr/src/,  and you'll need to copy the '.config'  from there into your new build directory.  The script prompts you when and where to do that.

after you copy it, you'll need to "make menuconfig"   and then find where that em28xx driver is enabled, and set it to 'M'odule.  then save the new config, and resume the script.

If everything is done right, you'll have a new kernel that you've built, with your new driver.


"slightly less easy"

You'll need to clone the kernel source from longsleep's repository, and switch to the branch that you have installed .

copy the '.config'  and 'modsym.vers'  from the same 'linux...headers'  directory into your new branch.

again, make menuconfig, enable the em28xx driver, and save and exit.

then you can make just the new module, and copy the em28xx.ko  into the appropriate /lib/modules/...    directory.


I don't have access to my pine right now so i can't get more specific than that.   However, it's not terribly difficult
to figure out, and you'll want to learn how on your own, for the next upgrade cycle.
(07-16-2016, 06:25 AM)longsleep Wrote: I just pushed a new awesome Kernel release. It brings a security fix and some additional modules. For details, see the first post of this thread.

Get 3.10.102-2-pine64-longsleep-66 from https://www.stdin.xyz/downloads/people/longsleep/pine64-images/linux/
You don't happen to have the Linux LCD drivers, do you?
Thanks
(07-24-2016, 12:57 AM)scorn4society Wrote:
(07-16-2016, 06:25 AM)longsleep Wrote: I just pushed a new awesome Kernel release. It brings a security fix and some additional modules. For details, see the first post of this thread.

Get 3.10.102-2-pine64-longsleep-66 from https://www.stdin.xyz/downloads/people/longsleep/pine64-images/linux/
You don't happen to have the Linux LCD drivers, do you?
Thanks

Lcd support is part of the display driver.
(07-24-2016, 01:02 AM)longsleep Wrote:
(07-24-2016, 12:57 AM)scorn4society Wrote:
(07-16-2016, 06:25 AM)longsleep Wrote: I just pushed a new awesome Kernel release. It brings a security fix and some additional modules. For details, see the first post of this thread.

Get 3.10.102-2-pine64-longsleep-66 from https://www.stdin.xyz/downloads/people/longsleep/pine64-images/linux/
You don't happen to have the Linux LCD drivers, do you?
Thanks

Lcd support is part of the display driver.
Is this the touch LCD? Working?

Sent from my SM-G930V using Tapatalk
(07-24-2016, 05:08 AM)modsbyus Wrote: Is this the touch LCD? Working?

No clue as i have not tried. The display driver cannot work without a closed source binary (namely libhdmi) and thus is of no interest or target of any serious development.
I just compiled a couple kernel modules for people that need USB-serial converters, can we add some of those to the default configuration as modules?

I think a couple popular ones are:

Code:
CONFIG_USB_SERIAL_ARK3116=m
CONFIG_USB_SERIAL_BELKIN=m
CONFIG_USB_SERIAL_CH341=m
CONFIG_USB_SERIAL_CP210X=m
CONFIG_USB_SERIAL_CYPRESS_M8=m
CONFIG_USB_SERIAL_FTDI_SIO=m
CONFIG_USB_SERIAL_IR=m
CONFIG_USB_SERIAL_GARMIN=m
CONFIG_USB_SERIAL_KOBIL_SCT=m
CONFIG_USB_SERIAL_PL2303=m

Or we just have all of them as module...
Come have a chat in the Pine IRC channel >>
I guess so, care to create a pull request?
Hey guys, is it possible to include additional gamepad kernel modules in the next build, since I'm not really sure I can do it myself? As I've explained in this thread: http://forum.pine64.org/showthread.php?tid=1985, I think it would be sufficient to add CONFIG_HID_DRAGONRISE and CONFIG_HID_SONY.
Should not be a big deal. Please create pull request as well.


Possibly Related Threads…
Thread Author Replies Views Last Post
  PineA64+: Audio in 5.0 Kernel puzzles 6 10,100 11-13-2019, 09:41 AM
Last Post: roel
  Rockpro64 NFS root mount (kernel 4.20) - ethernet help? tenspd137 0 3,195 12-06-2018, 01:14 AM
Last Post: tenspd137
  NVMe and new kernel bjbb17 0 2,867 09-25-2018, 03:39 PM
Last Post: bjbb17
  Real-time linux kernel Artyom 45 80,633 09-11-2018, 01:08 AM
Last Post: zzwpine
  DKMS on kernel 3.10.107-pine64 obrienmd 5 9,572 06-21-2018, 05:45 PM
Last Post: evilbunny
  Gentoo for pine64 - longsleep kernel incoherent 0 3,884 12-09-2017, 08:14 AM
Last Post: incoherent
  [SOLVED] UEFI + Fedora Mainline Kernel Booting! cztian 0 3,609 07-13-2017, 08:38 PM
Last Post: cztian
  Mainline kernel [Solved] jeroen79 11 21,357 02-08-2017, 06:19 AM
Last Post: umiddelb
Question Need help : Issue in running compiled kernel with tftp+uboot dinesh.bhoyar 2 5,137 01-30-2017, 12:44 AM
Last Post: dinesh.bhoyar
  Jackd triggers kernel warning cztian 0 3,758 09-03-2016, 08:16 AM
Last Post: cztian

Forum Jump:


Users browsing this thread: 3 Guest(s)