PINE64
KISS Linux for Pinebook Pro - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: KISS Linux for Pinebook Pro (/showthread.php?tid=9304)



KISS Linux for Pinebook Pro - jedavies-dev - 02-28-2020

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


RE: KISS Linux for Pinebook Pro - tllim - 03-01-2020

(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 :-)


RE: KISS Linux for Pinebook Pro - Surehand53 - 11-29-2020

(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...


RE: KISS Linux for Pinebook Pro - Surehand53 - 12-02-2020

(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 ?


RE: KISS Linux for Pinebook Pro - jedavies-dev - 12-06-2020

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.