Minimal 64bit ARM RootFS for Debian and Ubuntu
#31
(02-19-2016, 02:32 PM)umiddelb Wrote: @longsleep: Do you think you will be able to update  simpleimage-pine64-20160207-1.img.xz?

The simpleimage release has been updated. See http://forum.pine64.org/showthread.php?tid=99 for details what has changed and download URL.
#32
(02-21-2016, 06:54 AM)longsleep Wrote: The simpleimage release has been updated. See http://forum.pine64.org/showthread.php?tid=99 for details what has changed and download URL.

Cool, I've updated the RootFS archives for Debian Jessie and Ubuntu Trusty to reflect this change.
I wasn't able to compile the mali kernel module on the PINE64 directly. May be someone has the time to figure it out.

This is how I've build the kernel on the PINE64:

Code:
#!/bin/sh
set -ex
git clone --depth 1 --single-branch -b pine64-hacks https://github.com/umiddelb/linux-pine64.git
curl -sSL https://github.com/longsleep/build-pine64-image/raw/master/blobs/pine64.dts > linux-pine64/arch/arm64/boot/dts/sun50i-a64-pine64-plus.dts
curl -sSL https://android.googlesource.com/platform/system/core/+archive/master/mkbootimg.tar.gz | tar -xzvf - mkbootimg
cd linux-pine64
make sun50iw1p1smp_linux_defconfig
make clean
make -j 4 Image sun50i-a64-pine64-plus.dtb modules
../mkbootimg --kernel arch/arm64/boot/Image --base 0x40000000 --kernel_offset 0x01080000 --board Pine64 --pagesize 2048 -o arch/arm64/boot/kernel.img
sudo cp arch/arm64/boot/dts/sun50i-a64-pine64-plus.dtb arch/arm64/boot/kernel.img /boot
sudo make modules_install
sudo make firmware_install
sudo make headers_install INSTALL_HDR_PATH=/usr
#33
Hello everyone! Who can tell? 
1) Will Linux kernel support ARM Design Studio (ARM Gator Kernel Patch) out of the box?
2) Will support Real-Time linux kernel PREEMPT_RT (https://rt.wiki.kernel.org/index.php/Main_Page) out of the box? 

This would significantly expand the opportunities for Pine64 in robotics, avionics (as autopilot) and automation.
#34
(02-28-2016, 12:23 AM)Artyom Wrote: Hello everyone! Who can tell? 
1) Will Linux kernel support ARM Design Studio (ARM Gator Kernel Patch) out of the box?
2) Will support Real-Time linux kernel PREEMPT_RT (https://rt.wiki.kernel.org/index.php/Main_Page) out of the box? 

This would significantly expand the opportunities for Pine64 in robotics, avionics (as autopilot) and automation.

You may fork https://github.com/longsleep/linux-pine6...-hacks-1.2 and apply the patchwork. I can run some tests on my pine64 then.
#35
(02-28-2016, 09:59 AM)umiddelb Wrote:
(02-28-2016, 12:23 AM)Artyom Wrote: Hello everyone! Who can tell? 
1) Will Linux kernel support ARM Design Studio (ARM Gator Kernel Patch) out of the box?
2) Will support Real-Time linux kernel PREEMPT_RT (https://rt.wiki.kernel.org/index.php/Main_Page) out of the box? 

This would significantly expand the opportunities for Pine64 in robotics, avionics (as autopilot) and automation.

You may fork https://github.com/longsleep/linux-pine6...-hacks-1.2 and apply the patchwork. I can run some tests on my pine64 then.

-------------------------ARM Streamline (ARM Gator) ----------------------------------------------------------------------------------------------------------
For ARM gator need kernel version 3.4 (https://github.com/ARM-software/gator). 
Instructions for integration into the kernel here http://infocenter.arm.com/help/index.jsp...EJAAI.html
We have kernet 3.10. I understand correctly?
------------------------------------------------------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------- RT_PREEMPT --------------------------------------------------------------
This evening I will correct kernel and apply the patch RT_PREEMPT. How to finish correcting the kernel will write.
More information can be found here:

https://rt.wiki.kernel.org/index.php/Main_Page
https://rt.wiki.kernel.org/index.php/RT_PREEMPT_HOWTO

Fairly a good example of the use of real-time kernel can be found here:
http://docs.emlid.com/navio/Downloads/Re...inux-RPi2/
http://www.emlid.com
--------------------------------------------------------------------------------------------------------------------------------------
#36
(02-29-2016, 09:36 PM)Artyom Wrote: We have kernel 3.10. I understand correctly?
The BSP Linux kernel carries version number 3.10.65.
#37
(02-29-2016, 11:24 PM)umiddelb Wrote:
(02-29-2016, 09:36 PM)Artyom Wrote: We have kernel 3.10. I understand correctly?
The BSP Linux kernel carries version number 3.10.65.

I patch kernel. Link to download
https://yadi.sk/d/032Gpm_CponbR
#38
@Artyom
Thanks for your work, I would suggest forking Longsleep's kernel repo on Github and put the changes in a separate branch. This should help moving forward having your changes visible, also given frequent changes to BSP tree it will help to keep the RT kernel updated.
c
#39
(03-01-2016, 10:20 AM)janjwerner Wrote: @Artyom
Thanks for your work, I would suggest forking Longsleep's kernel repo on Github and put the changes in a separate branch. This should help moving forward having your changes visible, also given frequent changes to BSP tree it will help to keep the RT kernel updated.
c

Thank you. But do not thank in advance. Bad sign in Russian)). You must first check if everything is working.
#40
(03-01-2016, 10:28 AM)Artyom Wrote:
(03-01-2016, 10:20 AM)janjwerner Wrote: @Artyom
Thanks for your work, I would suggest forking Longsleep's kernel repo on Github and put the changes in a separate branch. This should help moving forward having your changes visible, also given frequent changes to BSP tree it will help to keep the RT kernel updated.
c

Thank you. But do not thank in advance. Bad sign in Russian)). You must first check if everything is working.

Doesn't compile on arm64, some of the patches may have damaged kernel dependency configuration:
Code:
debian@p64:~/kernel/3.10/linux-pine64-pine64-hacks-1.2-RT$ make sun50iw1p1smp_linux_defconfig
arch/arm64/Kconfig:572: can't open file "kernel/power/Kconfig"
/home/debian/kernel/3.10/linux-pine64-pine64-hacks-1.2-RT/scripts/kconfig/Makefile:105: recipe for target 'sun50iw1p1smp_linux_defconfig' failed
make[1]: *** [sun50iw1p1smp_linux_defconfig] Error 1
Makefile:503: recipe for target 'sun50iw1p1smp_linux_defconfig' failed
make: *** [sun50iw1p1smp_linux_defconfig] Error 2

Could you post which patch sets you've applied, please.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Arch, Debian or other for Pinebook? cootcraig 3 6,977 05-01-2019, 09:11 AM
Last Post: cootcraig
  Pine64: Minimal SDL config Max11 3 6,604 01-04-2019, 03:47 PM
Last Post: Max11
  Issues with both Deb and Ubuntu germanshep 0 2,746 08-28-2018, 05:47 PM
Last Post: germanshep
  Help debug my pine64A+ ubuntu/plex hangs XaRz 8 11,182 11-02-2017, 06:34 AM
Last Post: XaRz
  Ubuntu 16.04 cannot resolve dns - connection timed out; no servers could be reached marcosti 2 10,574 03-01-2017, 02:46 PM
Last Post: dkryder
  Pine64 will be supported by HypriotOS (a Debian Jessie based OS for running Docker) Quintus23M 9 18,461 02-03-2017, 05:50 AM
Last Post: pfeerick
Question Ultrawide Display for Ubuntu Mate DE dudeytsang 1 5,403 01-01-2017, 07:26 AM
Last Post: CaptainZalo
  Pine64+Ubuntu+Tvheadend+DVBT Dongle Shai 3 6,998 10-03-2016, 04:23 AM
Last Post: Shai
  Dmesg output Ubuntu Mate S265 1 3,921 10-02-2016, 07:28 AM
Last Post: MarkHaysHarris777
  mounting rootfs Shai 1 3,492 10-01-2016, 07:59 AM
Last Post: waldo

Forum Jump:


Users browsing this thread: 6 Guest(s)