Kernel for A64 git
#51
(04-03-2016, 03:03 AM)longsleep Wrote: Found the issue. Fixed in https://github.com/longsleep/linux-pine6...6021a4484f - will release a new Kernel build today.

I pushed a new Kernel build, fixing the Ethernet crash for 2GB Pine64+ models.

Get 3.10.65-4-pine64-longsleep-16 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)

Many thanks for the effort you put on improving things. Much appreciated.
#52
@longsleep:

How do I use the make_rootfs script?
Donate BTC: 3Eav9uqXi8Nx1axb7QjK6xV4km4K9YGv9a
#53
(04-08-2016, 09:26 AM)Terra854 Wrote: @longsleep:

How do I use the make_rootfs script?

Well, it that is not obvious, then these scripts are probably not for you. So the easy answer to your question is "just execute it".
#54
(04-08-2016, 10:13 AM)longsleep Wrote:
(04-08-2016, 09:26 AM)Terra854 Wrote: @longsleep:

How do I use the make_rootfs script?

Well, it that is not obvious, then these scripts are probably not for you. So the easy answer to your question is "just execute it".

Ok. Just wondering, what to type in for the <linux-folder> variable?
Donate BTC: 3Eav9uqXi8Nx1axb7QjK6xV4km4K9YGv9a
#55
(04-11-2016, 01:21 AM)Terra854 Wrote:
(04-08-2016, 10:13 AM)longsleep Wrote:
(04-08-2016, 09:26 AM)Terra854 Wrote: @longsleep:

How do I use the make_rootfs script?

Well, it that is not obvious, then these scripts are probably not for you. So the easy answer to your question is "just execute it".

Ok. Just wondering, what to type in for the <linux-folder> variable?

Well, the name says it all, it is the path to a Linux tree (aka the kernel) fully compiled with Image and modules.
#56
I pushed a new Kernel build with some cleanups and more modules enabled. See first post of this thread for details.

Get 3.10.65-5-pine64-longsleep-19 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)
#57
(04-16-2016, 03:49 AM)longsleep Wrote: I pushed a new Kernel build with some cleanups and more modules enabled. See first post of this thread for details.

Get 3.10.65-5-pine64-longsleep-19 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)
Hi all
Is eny chace to get kernel with USB CP210x family of UART Bridge Controllers ?
#58
(04-16-2016, 07:11 AM)tomekr Wrote: Is eny chace to get kernel with USB CP210x family of UART Bridge Controllers ?

Yes. I suggest you check the list of changes in the first post.
#59
longsleep,

Normally to build a module I would install the appropriate headers. I pulled https://www.stdin.xyz/downloads/people/l...-19.tar.xz  but am still getting errors on the build, specifically,

Code:
make -C /lib/modules/3.10.65-5-pine64-longsleep/build SUBDIRS=/root/rt5370sta-master/os/linux modules
make[1]: *** /lib/modules/3.10.65-5-pine64-longsleep/build: No such file or directory.  Stop.
When I check;
Code:
ls /lib/modules/3.10.65-5-pine64-longsleep/ -al
total 420
drwxrwxr-x  3 root root  4096 Apr 15 16:05 .
drwxrwxr-x  6 root root  4096 Apr 15 16:05 ..
lrwxrwxrwx  1 root root    48 Apr 16 20:20 build -> /medilongsleep/Storage/Pine64/linux/linux-pine64
Suggestions? Its probably been 6 years since I compiled a module in linux.
#60
(04-16-2016, 06:33 PM)rahlquist Wrote: longsleep,

Normally to build a module I would install the appropriate headers. I pulled https://www.stdin.xyz/downloads/people/l...-19.tar.xz  but am still getting errors on the build, specifically,

Code:
make -C /lib/modules/3.10.65-5-pine64-longsleep/build SUBDIRS=/root/rt5370sta-master/os/linux modules
make[1]: *** /lib/modules/3.10.65-5-pine64-longsleep/build: No such file or directory.  Stop.
When I check;
Code:
ls /lib/modules/3.10.65-5-pine64-longsleep/ -al
total 420
drwxrwxr-x  3 root root  4096 Apr 15 16:05 .
drwxrwxr-x  6 root root  4096 Apr 15 16:05 ..
lrwxrwxrwx  1 root root    48 Apr 16 20:20 build -> /medilongsleep/Storage/Pine64/linux/linux-pine64
Suggestions? Its probably been 6 years since I compiled a module in linux.

 I was trying to compile a module also. It was for CH34x driver, the usb serial converter on the Chinese Arduino clones so I could use the Arduino IDE. I got the same problem. The make compiler is looking for a directory that does not exist. You will need to create it and you will need SU or root privelege to do so. Go into your terminal and type 'sudo bash', then enter password 'ubuntu'. You will have a terminal with all root priveleges and file system ownership.
Create the directory build where the compiler is seeking it and place the makefile and any libraries in the build directory and then try the make command from there. It will at least try to compile. That was as far as I got because my particular example froze at like line 4700 or so in the compile. I am pretty rusty at this  and not sure if I have all the required dependancies in the install or what the problem is. But it took me quite a while to figure out that the compiler wanted the build files in the build directory and that I had to create it myself. Maybe you will have better luck with your module.


Possibly Related Threads…
Thread Author Replies Views Last Post
  PineA64+: Audio in 5.0 Kernel puzzles 6 10,097 11-13-2019, 09:41 AM
Last Post: roel
  Rockpro64 NFS root mount (kernel 4.20) - ethernet help? tenspd137 0 3,190 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,602 09-11-2018, 01:08 AM
Last Post: zzwpine
  DKMS on kernel 3.10.107-pine64 obrienmd 5 9,570 06-21-2018, 05:45 PM
Last Post: evilbunny
  Gentoo for pine64 - longsleep kernel incoherent 0 3,882 12-09-2017, 08:14 AM
Last Post: incoherent
  [SOLVED] UEFI + Fedora Mainline Kernel Booting! cztian 0 3,605 07-13-2017, 08:38 PM
Last Post: cztian
  Mainline kernel [Solved] jeroen79 11 21,351 02-08-2017, 06:19 AM
Last Post: umiddelb
Question Need help : Issue in running compiled kernel with tftp+uboot dinesh.bhoyar 2 5,134 01-30-2017, 12:44 AM
Last Post: dinesh.bhoyar
  Jackd triggers kernel warning cztian 0 3,755 09-03-2016, 08:16 AM
Last Post: cztian

Forum Jump:


Users browsing this thread: 4 Guest(s)