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
  Reply
#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 :-)
  Reply
#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...
  Reply
#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 ?
  Reply
#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.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  An unofficial Debian Installer for Pinebook Pro danielt 430 151,485 5 hours ago
Last Post: ab1jx
  OpenMandriva to release ARM builds for PineBook Pro and Pi ludix 8 757 Yesterday, 04:38 PM
Last Post: wdt
  postmarketOS/Alpine edge image for the Pinebook Pro MartijnBraam 62 31,311 02-14-2021, 12:25 PM
Last Post: pmjohann
  Kali Linux password fail Wawe 4 248 02-09-2021, 01:38 PM
Last Post: barray
  Pinebook Pro wifi not working seyo-iv 1 188 02-01-2021, 11:00 AM
Last Post: seyo-iv
  slarm64 (unofficial slackware) Pinebook Pro RK3399 (aarch64) mara 25 3,538 01-30-2021, 11:03 AM
Last Post: mara
  FLOSS pinebook pro linux set-up misha64 3 1,097 01-14-2021, 04:05 PM
Last Post: kuleszdl
  My Debian journey on the Pinebook Pro schwarzwieweiss 32 3,820 01-07-2021, 09:35 AM
Last Post: schwarzwieweiss
  Armbian for the Pinebook Pro [WIP] Luke 41 14,083 01-06-2021, 06:14 PM
Last Post: Idaho
  Gentoo on Pinebook Pro RELEASE jannik2099 48 28,400 01-03-2021, 06:21 AM
Last Post: wdt

Forum Jump:


Users browsing this thread: 1 Guest(s)