Kernel for A64 git
(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.


Messages In This Thread
Kernel for A64 git - by longsleep - 02-14-2016, 03:00 AM
RE: Kernel for A64 git - by drag00n - 02-14-2016, 04:12 AM
RE: Kernel for A64 git - by longsleep - 02-14-2016, 04:28 AM
RE: Kernel for A64 git - by drag00n - 02-14-2016, 04:31 AM
RE: Kernel for A64 git - by umiddelb - 02-15-2016, 07:25 AM
RE: Kernel for A64 git - by longsleep - 02-15-2016, 11:05 AM
RE: Kernel for A64 git - by umiddelb - 02-15-2016, 12:11 PM
RE: Kernel for A64 git - by longsleep - 02-15-2016, 12:35 PM
RE: Kernel for A64 git - by longsleep - 02-21-2016, 06:47 AM
RE: Kernel for A64 git - by longsleep - 02-22-2016, 03:09 PM
RE: Kernel for A64 git - by longsleep - 02-23-2016, 02:53 PM
RE: Kernel for A64 git - by tllim - 02-23-2016, 04:28 PM
RE: Kernel for A64 git - by patrickhwood - 02-23-2016, 10:13 PM
RE: Kernel for A64 git - by longsleep - 02-24-2016, 12:36 AM
RE: Kernel for A64 git - by tllim - 02-24-2016, 06:54 PM
RE: Kernel for A64 git - by longsleep - 02-25-2016, 01:16 AM
RE: Kernel for A64 git - by umiddelb - 02-25-2016, 05:04 AM
RE: Kernel for A64 git - by patrickhwood - 02-25-2016, 10:01 AM
RE: Kernel for A64 git - by duanhongyi - 02-25-2016, 01:51 AM
RE: Kernel for A64 git - by longsleep - 02-25-2016, 06:15 AM
RE: Kernel for A64 git - by umiddelb - 02-26-2016, 02:46 AM
RE: Kernel for A64 git - by longsleep - 02-26-2016, 09:15 AM
RE: Kernel for A64 git - by longsleep - 02-28-2016, 03:36 AM
RE: Kernel for A64 git - by patrickhwood - 03-02-2016, 09:52 PM
RE: Kernel for A64 git - by patrickhwood - 03-04-2016, 11:45 AM
RE: Kernel for A64 git - by longsleep - 03-05-2016, 03:41 AM
RE: Kernel for A64 git - by longsleep - 03-06-2016, 10:36 AM
RE: Kernel for A64 git - by tllim - 03-06-2016, 10:47 AM
RE: Kernel for A64 git - by longsleep - 03-06-2016, 10:59 AM
RE: Kernel for A64 git - by longsleep - 03-12-2016, 03:14 AM
RE: Kernel for A64 git - by longsleep - 03-12-2016, 10:39 AM
RE: Kernel for A64 git - by sbhere - 03-13-2016, 09:34 PM
RE: Kernel for A64 git - by Terra854 - 03-17-2016, 09:14 PM
RE: Kernel for A64 git - by longsleep - 03-19-2016, 03:32 PM
RE: Kernel for A64 git - by tllim - 03-19-2016, 08:41 PM
RE: Kernel for A64 git - by duanhongyi - 03-23-2016, 06:27 AM
RE: Kernel for A64 git - by Andrew2 - 03-23-2016, 06:32 AM
RE: Kernel for A64 git - by janjwerner - 03-23-2016, 12:51 PM
RE: Kernel for A64 git - by falk.ben@gmail.com - 03-24-2016, 01:16 PM
RE: Kernel for A64 git - by janjwerner - 03-24-2016, 06:42 PM
RE: Kernel for A64 git - by keiothic - 03-30-2016, 03:00 PM
RE: Kernel for A64 git - by ak_hepcat - 03-30-2016, 06:18 PM
RE: Kernel for A64 git - by janjwerner - 03-30-2016, 07:47 PM
RE: Kernel for A64 git - by patrickhwood - 03-31-2016, 08:49 AM
RE: Kernel for A64 git - by longsleep - 03-31-2016, 10:42 AM
RE: Kernel for A64 git - by ak_hepcat - 03-31-2016, 11:58 AM
RE: Kernel for A64 git - by DaveKram - 04-01-2016, 07:21 AM
RE: Kernel for A64 git - by ak_hepcat - 04-01-2016, 09:54 AM
RE: Kernel for A64 git - by longsleep - 04-03-2016, 03:03 AM
RE: Kernel for A64 git - by mane - 04-07-2016, 03:08 AM
RE: Kernel for A64 git - by Terra854 - 04-08-2016, 09:26 AM
RE: Kernel for A64 git - by longsleep - 04-08-2016, 10:13 AM
RE: Kernel for A64 git - by Terra854 - 04-11-2016, 01:21 AM
RE: Kernel for A64 git - by longsleep - 04-11-2016, 12:01 PM
RE: Kernel for A64 git - by longsleep - 04-16-2016, 03:49 AM
RE: Kernel for A64 git - by tomekr - 04-16-2016, 07:11 AM
RE: Kernel for A64 git - by longsleep - 04-16-2016, 07:56 AM
RE: Kernel for A64 git - by rahlquist - 04-16-2016, 06:33 PM
RE: Kernel for A64 git - by Hart - 04-16-2016, 09:42 PM
RE: Kernel for A64 git - by peterz - 04-17-2016, 03:26 AM
RE: Kernel for A64 git - by peterz - 04-17-2016, 04:44 AM
RE: Kernel for A64 git - by thantik - 04-17-2016, 01:22 PM
RE: Kernel for A64 git - by Hart - 04-17-2016, 05:14 PM
RE: Kernel for A64 git - by Terra854 - 04-20-2016, 09:05 PM
RE: Kernel for A64 git - by jocover - 04-21-2016, 02:01 AM
RE: Kernel for A64 git - by Pirin - 04-23-2016, 09:28 AM
RE: Kernel for A64 git - by longsleep - 04-23-2016, 09:33 AM
RE: Kernel for A64 git - by Pirin - 04-23-2016, 09:50 AM
RE: Kernel for A64 git - by longsleep - 04-23-2016, 01:15 PM
RE: Kernel for A64 git - by ak_hepcat - 04-25-2016, 04:05 PM
RE: Kernel for A64 git - by insignia96 - 04-27-2016, 12:09 AM
RE: Kernel for A64 git - by ak_hepcat - 04-27-2016, 10:50 AM
RE: Kernel for A64 git - by longsleep - 05-02-2016, 01:55 PM
RE: Kernel for A64 git - by longsleep - 05-03-2016, 03:14 PM
RE: Kernel for A64 git - by tkaiser - 05-06-2016, 10:02 AM
RE: Kernel for A64 git - by longsleep - 05-06-2016, 10:47 AM
RE: Kernel for A64 git - by tkaiser - 05-06-2016, 11:16 AM
RE: Kernel for A64 git - by janjwerner - 05-06-2016, 11:21 AM
RE: Kernel for A64 git - by tkaiser - 05-07-2016, 01:06 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 01:14 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 04:24 AM
RE: Kernel for A64 git - by Terra854 - 05-07-2016, 05:40 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 05:45 AM
RE: Kernel for A64 git - by tkaiser - 05-07-2016, 06:08 AM
RE: Kernel for A64 git - by rahlquist - 05-07-2016, 06:20 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 06:28 AM
RE: Kernel for A64 git - by tkaiser - 05-07-2016, 06:37 AM
RE: Kernel for A64 git - by rahlquist - 05-07-2016, 06:54 AM
RE: Kernel for A64 git - by tllim - 05-07-2016, 11:15 AM
RE: Kernel for A64 git - by Terra854 - 05-07-2016, 06:48 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 06:57 AM
RE: Kernel for A64 git - by tkaiser - 05-07-2016, 07:03 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 07:04 AM
RE: Kernel for A64 git - by Terra854 - 05-07-2016, 08:13 AM
RE: Kernel for A64 git - by tkaiser - 05-07-2016, 09:36 AM
RE: Kernel for A64 git - by Terra854 - 05-07-2016, 10:54 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 08:19 AM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 11:26 AM
RE: Kernel for A64 git - by rhkean - 05-07-2016, 03:10 PM
RE: Kernel for A64 git - by longsleep - 05-07-2016, 03:28 PM
RE: Kernel for A64 git - by longsleep - 05-16-2016, 02:30 PM
RE: Kernel for A64 git - by ak_hepcat - 05-19-2016, 12:24 PM
RE: Kernel for A64 git - by longsleep - 05-19-2016, 12:42 PM
RE: Kernel for A64 git - by ak_hepcat - 05-19-2016, 01:25 PM
RE: Kernel for A64 git - by longsleep - 05-21-2016, 12:24 PM
RE: Kernel for A64 git - by longsleep - 05-24-2016, 03:49 PM
RE: Kernel for A64 git - by longsleep - 05-26-2016, 01:44 PM
RE: Kernel for A64 git - by ak_hepcat - 05-27-2016, 12:14 PM
RE: Kernel for A64 git - by lvcargnini - 05-27-2016, 03:43 PM
RE: Kernel for A64 git - by Terra854 - 05-27-2016, 09:30 PM
RE: Kernel for A64 git - by longsleep - 06-17-2016, 02:32 PM
RE: Kernel for A64 git - by ak_hepcat - 07-05-2016, 11:57 PM
RE: Kernel for A64 git - by longsleep - 07-16-2016, 02:47 AM
RE: Kernel for A64 git - by Luxus - 07-10-2016, 02:45 AM
RE: Kernel for A64 git - by xalius - 07-10-2016, 03:22 AM
RE: Kernel for A64 git - by longsleep - 07-16-2016, 06:25 AM
RE: Kernel for A64 git - by ak_hepcat - 07-17-2016, 10:14 AM
RE: Kernel for A64 git - by scorn4society - 07-24-2016, 12:57 AM
RE: Kernel for A64 git - by longsleep - 07-24-2016, 01:02 AM
RE: Kernel for A64 git - by xalius - 07-16-2016, 12:12 PM
RE: Kernel for A64 git - by dkulinski - 07-18-2016, 07:47 PM
RE: Kernel for A64 git - by ak_hepcat - 07-20-2016, 05:37 PM
RE: Kernel for A64 git - by modsbyus - 07-24-2016, 05:08 AM
RE: Kernel for A64 git - by longsleep - 07-24-2016, 08:04 AM
RE: Kernel for A64 git - by xalius - 07-27-2016, 11:34 AM
RE: Kernel for A64 git - by longsleep - 07-27-2016, 02:36 PM
RE: Kernel for A64 git - by Drakuwa - 08-10-2016, 10:28 AM
RE: Kernel for A64 git - by longsleep - 08-10-2016, 10:34 AM
RE: Kernel for A64 git - by Drakuwa - 08-10-2016, 10:48 AM
RE: Kernel for A64 git - by longsleep - 08-20-2016, 03:52 PM
RE: Kernel for A64 git - by RaimundEge - 08-22-2016, 04:14 PM
RE: Kernel for A64 git - by longsleep - 08-22-2016, 11:38 PM
RE: Kernel for A64 git - by nSkaarup - 08-25-2016, 08:06 AM
RE: Kernel for A64 git - by Terra854 - 09-16-2016, 07:30 AM
RE: Kernel for A64 git - by ak_hepcat - 09-17-2016, 06:04 PM
RE: Kernel for A64 git - by Terra854 - 09-18-2016, 02:00 AM
RE: Kernel for A64 git - by Detritus - 09-19-2016, 04:23 AM
RE: Kernel for A64 git - by Terra854 - 09-19-2016, 07:59 AM
RE: Kernel for A64 git - by fneves - 09-27-2016, 06:12 AM
RE: Kernel for A64 git - by v.podzimek - 10-12-2016, 09:56 AM
RE: Kernel for A64 git - by longsleep - 10-12-2016, 10:01 AM
RE: Kernel for A64 git - by v.podzimek - 10-23-2016, 08:19 AM
RE: Kernel for A64 git - by longsleep - 10-23-2016, 06:52 AM
RE: Kernel for A64 git - by MarkHaysHarris777 - 10-23-2016, 08:07 AM
RE: Kernel for A64 git - by mrv - 10-23-2016, 12:49 PM
RE: Kernel for A64 git - by longsleep - 10-29-2016, 07:09 AM
RE: Kernel for A64 git - by hahn - 10-29-2016, 07:15 AM
RE: Kernel for A64 git - by tllim - 10-31-2016, 04:20 PM
RE: Kernel for A64 git - by androsch - 11-10-2016, 04:21 AM
RE: Kernel for A64 git - by ak_hepcat - 11-17-2016, 01:15 PM
RE: Kernel for A64 git - by androsch - 11-17-2016, 02:10 PM
RE: Kernel for A64 git - by androsch - 11-18-2016, 12:52 AM
RE: Kernel for A64 git - by ak_hepcat - 11-20-2016, 08:56 PM
RE: Kernel for A64 git - by androsch - 11-21-2016, 01:07 PM
RE: Kernel for A64 git - by ak_hepcat - 12-07-2016, 05:49 PM
RE: Kernel for A64 git - by waldo - 11-01-2016, 01:29 PM
RE: Kernel for A64 git - by stepw - 11-01-2016, 09:22 PM
RE: Kernel for A64 git - by marcus - 11-02-2016, 09:31 AM
RE: Kernel for A64 git - by gkkpch - 11-06-2016, 02:09 PM
RE: Kernel for A64 git - by MarkHaysHarris777 - 11-18-2016, 01:45 AM
RE: Kernel for A64 git - by benjanyan - 12-03-2016, 05:05 AM
RE: Kernel for A64 git - by pfeerick - 12-03-2016, 06:27 PM
RE: Kernel for A64 git - by longsleep - 12-16-2016, 02:57 PM
RE: Kernel for A64 git - by tllim - 12-16-2016, 07:46 PM
RE: Kernel for A64 git - by androsch - 12-17-2016, 01:42 AM
RE: Kernel for A64 git - by HenryD - 12-21-2016, 12:24 PM
RE: Kernel for A64 git - by longsleep - 12-21-2016, 12:34 PM
RE: Kernel for A64 git - by default - 01-06-2017, 05:44 PM
RE: Kernel for A64 git - by mbt28 - 01-23-2017, 02:20 PM
RE: Kernel for A64 git - by mont3z - 01-26-2017, 03:47 PM
RE: Kernel for A64 git - by mbt28 - 01-27-2017, 02:33 AM
RE: Kernel for A64 git - by longsleep - 03-11-2017, 12:19 PM
RE: Kernel for A64 git - by hahn - 03-12-2017, 02:43 AM
RE: Kernel for A64 git - by chadbhowell - 03-11-2017, 08:16 PM
RE: Kernel for A64 git - by Charles - 09-05-2017, 04:57 AM
RE: Kernel for A64 git - by Miguel Campos - 03-25-2018, 03:49 AM
RE: Kernel for A64 git - by dkryder - 03-25-2018, 02:16 PM
RE: Kernel for A64 git - by Luke - 03-25-2018, 03:25 PM

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

Forum Jump:


Users browsing this thread: 2 Guest(s)