KISS Linux for Pinebook Pro
#1
I've built a version of KISS Linux for aarch64, available here:  https://github.com/jedavies-dev/kiss-aarch64

For information on KISS Linux please see the main distro page:  https://k1ss.org

KISS Linux is x86_64 only.  However I wanted to run this on the Pinebook Pro, so have built an aarch64 version.  I'm posting this here in case anyone else is interested and to get feedback. Have been using this on my PBP for about a month so far.

Please note that this is a work in progress. For now I only provide a root tarball (same as x86_64) so you must install this from another distro using a chroot.  For example you can install KISS onto an SD card by booting into the default Debian running on the eMMC drive.  I may also provide a bootable .img file in future though.

Please note that this is an unofficial port of KISS Linux and is not supported by Dylan Araps (the creator of KISS Linux).  However I also sometimes hang around in #kisslinux on Freenode if you have questions.

Thanks,
James
#2
(02-28-2020, 11:54 AM)jedavies-dev Wrote: I've built a version of KISS Linux for aarch64, available here:  https://github.com/jedavies-dev/kiss-aarch64

For information on KISS Linux please see the main distro page:  https://k1ss.org

KISS Linux is x86_64 only.  However I wanted to run this on the Pinebook Pro, so have built an aarch64 version.  I'm posting this here in case anyone else is interested and to get feedback. Have been using this on my PBP for about a month so far.

Please note that this is a work in progress. For now I only provide a root tarball (same as x86_64) so you must install this from another distro using a chroot.  For example you can install KISS onto an SD card by booting into the default Debian running on the eMMC drive.  I may also provide a bootable .img file in future though.

Please note that this is an unofficial port of KISS Linux and is not supported by Dylan Araps (the creator of KISS Linux).  However I also sometimes hang around in #kisslinux on Freenode if you have questions.

Thanks,
James

Thanks on porting Kiss Linux for Pinebook Pro :-)
#3
(02-28-2020, 11:54 AM)jedavies-dev Wrote: ...
Please note that this is a work in progress. For now I only provide a root tarball (same as x86_64) so you must install this from another distro using a chroot.  For example you can install KISS onto an SD card by booting into the default Debian running on the eMMC drive.  I may also provide a bootable .img file in future though.
...
Hi James.

Is there a chance to get a .img ?
I had a look at the install instructions but have to admit that I still have some questions, especially about how to get to a kernel...
#4
(11-29-2020, 04:02 PM)Surehand53 Wrote:
(02-28-2020, 11:54 AM)jedavies-dev Wrote: ...
Please note that this is a work in progress. For now I only provide a root tarball (same as x86_64) so you must install this from another distro using a chroot.  For example you can install KISS onto an SD card by booting into the default Debian running on the eMMC drive.  I may also provide a bootable .img file in future though.
...
Hi James.

Is there a chance to get a .img ?
I had a look at the install instructions but have to admit that I still have some questions, especially about how to get to a kernel...

So, I have some initial progress. From the description and iin the repo I put a few pieces together to start:

download tarball from repro -> kiss-chroot-aarch64-2020.9-1.tar.xz  (Or whatever is newest)

```
tar xf kiss-chroot-aarch64-2020.9-1.tar.xz
```

this gives the new folder `kiss-aarch64-testroot`

Start chroot
```
sudo ./kiss-aarch64-testroot/bin/kiss_chroot ./kiss-aarch64-testroot
```

make sure to be in the home folder `/root`
```
cd
```

Download the repro
```
mkdir repos && cd repos
git clone https://github.com/jedavies-dev/kiss-aarch64.git
```

export the `KISS_PATH`
```
export KISS_PATH=/root/repos/kiss-aarch64/core:/root/repos/kiss-aarch64/overrides:/root/repos/kiss-aarch64/extra:/root/repos/kiss-aarch64/modules/repo/extra:/root/repos/kiss-aarch64/modules/repo/xorg
```

export `KISS_SU`
```
export KISS_SU=su
```

export build flags as given for the tarball release:
```
export CFLAGS="-mcpu=generic -mtune=generic -Os -pipe"
export CXXFLAGS="-mcpu=generic -mtune=generic -Os -pipe"
export MAKEFLAGS="-j6"
```

start the kiss update
```
kiss u
```

In my case I got the mesaage to update the package manager first -> press `Enter`

After that start the update again
```
kiss u
```
In my case I was asked to agree to build some dependencies -> press `Enter` and wait... a lot. (~15 min in my case)

-------------------------------
So I think this creates the system.
I am less clear how to move on from here. I think it is time to get a kernel ? Should I copy that from Manjaro or compile the Manjaro one? And then it needs to be copied where ? And how exactly do I create the uBoot ?
#5
Hi Surehand53,
The GitHub page has details on the kernel and bootloader if you want to build these yourself.

If you don't want to build your own kernel/bootloader and have a spare SD card with Manjaro installed on it, you can use the ready built kernel and bootloader from there.

I'm currently using a build of the tsys Manjaro kernel as linked on the GitHub page. Not sure how close the mainline kernel is to being usable on the PBP - it may be possible now, but I haven't tried this in a while.

Note you don't have to use the generic build flags on your own machine. I used the generic flags when creating the tarball so that it could be used on any aarch64 device. When building packages for yourself you can use flags more tailored to the PBP - see the GitHub page for details.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pop!_OS coming to Pinebook Pro? jiyong 2 183 10-15-2021, 03:46 AM
Last Post: jiyong
  Gentoo on Pinebook Pro RELEASE jannik2099 50 42,769 10-05-2021, 08:16 AM
Last Post: glesker
  postmarketOS/Alpine edge image for the Pinebook Pro MartijnBraam 72 54,389 09-18-2021, 03:58 PM
Last Post: stozi
  Arch Linux ARM root filesystem SKiljan 20 2,582 09-12-2021, 11:16 AM
Last Post: flyingscorpio
  Pinebook pro nearly unusable after using manjaro-arm-installer TheCounselor 2 937 09-07-2021, 08:34 PM
Last Post: TRS-80
  Please help...Pinebook Pro Night Color / mode not working :( sushilsharma71@gmail.com 13 1,773 08-16-2021, 05:16 PM
Last Post: sushilsharma71@gmail.com
Sad 1080p60 video on PBP Linux chewie 2 611 08-03-2021, 09:43 AM
Last Post: chewie
  which distro + DE are you using these days on the Pinebook Pro? halogen 19 2,846 08-01-2021, 03:25 AM
Last Post: gabeeg
  Blobs on the Pinebook Pro globaltree 6 1,019 07-25-2021, 12:11 PM
Last Post: igorp
Bug 4K@30 video output does not work properly on Pinebook Pro jkm 0 448 06-29-2021, 08:43 AM
Last Post: jkm

Forum Jump:


Users browsing this thread: 1 Guest(s)