Kali Linux for Pinebook Pro
#11
Steev has confirmed that it is currently broken.
You can find me on IRC, Discord and Twitter


  Reply
#12
@shmoo You didn't explicitly say, excuse me if wrong,, Is that vbox for arm?
and a kali arm image? ,, because, of course i386 or x64 won't ever work
OR is it somehow cross compiled?
  Reply
#13
Think he's running a regular kali build to create the ARM PBP version
  Reply
#14
I got the kernel to build and boot with the Kali patches from the arm pinebook pro build script on Manjaro Linux

I had to install these packages to build (I also updated before):

Code:
sudo pacman -S base-devel
sudo pacman -S bc

I have included my kernel build script, just run it from the root folder of the cloned repo. you will need to manually move the kernel from the one that is generated.

Code:
mv /boot/Image.kali /boot/Image

i commented out the uboot lines as i didn't change anything there. 

this are the warnings and errors from the build i did, but it still boots.
Code:
drivers/iommu/arm-smmu-v3.c: In function ‘arm_smmu_tlb_inv_range’:
drivers/iommu/arm-smmu-v3.c:2029:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
2029 | }
     | ^
drivers/net/usb/smsc95xx.c: In function ‘smsc95xx_init_mac_address’:
drivers/net/usb/smsc95xx.c:960:2: warning: ISO C90 forbidshope this mixed declarations and code [-Wdeclaration-after-statement]
 960 |  const u8 *mac_addr;
     |  ^~~~~
drivers/vhost/scsi.c: In function ‘vhost_scsi_flush’:
drivers/vhost/scsi.c:1374:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1374 | }
     | ^
drivers/vhost/vhost.c: In function ‘log_used’:
drivers/vhost/vhost.c:1937:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1937 | }
     | ^


I tested injection mode with my Netgear USB nic, it works Smile

I don't think the pinebook pro wifi supports monitor mode.

try it out let me know what you think

(01-22-2020, 10:08 PM)wdt Wrote: @shmoo  You didn't explicitly say, excuse me if wrong,, Is that vbox for arm?
and a kali arm image?  ,, because, of course i386 or x64 won't ever work
OR is it somehow cross compiled?

the build scripts are for cross compiling on an AMD64 or x86 system.  they will need to be edited to run on the PBP. 

no vbox for arm, the scripts use qemu to execute the arm code on the AMD64/x86 system in the chroot for building the system.


Attached Files
.txt   makeManjaroKali.txt (Size: 2.39 KB / Downloads: 137)
.log   error.log (Size: 5.15 KB / Downloads: 119)
Power Distribution Tech and AV by trade, but I have been using Linux since around 2002.  I like the raspberry pi and pinebook pro, SBCs and the possibilities they open.
  Reply
#15
As I'm in general more a Debian user I think I wil revert back from Manjaro to the Debian install and try this route:

Quote:sudo su
apt update
apt install -y wget gnupg
wget -q -O - https://archive.kali.org/archive-key.asc | gpg --import
gpg --keyserver hkp://keys.gnupg.net --recv-key 44C6513A8E4FB3D30875F758ED444FF07D8D0BF6
echo "deb http://http.kali.org/kali kali-rolling main non-free contrib" > /etc/apt/sources.list
gpg -a --export ED444FF07D8D0BF6 | sudo apt-key add -
apt update
apt -y upgrade
apt -y dist-upgrade
apt -y autoremove --purge
apt -y install kali-linux-full
  Reply
#16
1. official pinebook image 2020.1 is not working (was using pine64 installer to write to sd card)
2. image I build using kali-arm repo is working (same pine64 installer)
url: https://mega.nz/#!AVoSEahD!OBGSb2CLwXYO0...nWrKICJE0g

question is how to install kali to internal drive from above build ?
  Reply
#17
any news on an official build?
  Reply
#18
Official release are here: https://www.offensive-security.com/kali-...rm-images/

https://images.offensive-security.com/ar...pro.img.xz

I found a bug on this release.

Perhaps my sd card is bad burned, filesystem is corrupted, initram fails and can't install/upgrade nothing...
  Reply
#19
I've just downloaded the SD version. I'll let you know what my experience with this version is

[Edit] No issues here so far
  Reply
#20
@erchache2000
>Perhaps my sd card is bad burned, filesystem is corrupted, initram fails and can't install/upgrade nothing.
I have never seen so many errors, except a dying HD, literally hundreds (orphaned inodes)
Not a bad uSD, still seems to boot up, can still install, apt wanted to be "fixed"
Checked again, only 1 error this time
kali:kali does not work,, have to logon as root:toor
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  An unofficial Debian Installer for Pinebook Pro danielt 430 151,514 7 hours ago
Last Post: ab1jx
  OpenMandriva to release ARM builds for PineBook Pro and Pi ludix 8 760 Yesterday, 04:38 PM
Last Post: wdt
  postmarketOS/Alpine edge image for the Pinebook Pro MartijnBraam 62 31,321 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,539 01-30-2021, 11:03 AM
Last Post: mara
  FLOSS pinebook pro linux set-up misha64 3 1,098 01-14-2021, 04:05 PM
Last Post: kuleszdl
  My Debian journey on the Pinebook Pro schwarzwieweiss 32 3,823 01-07-2021, 09:35 AM
Last Post: schwarzwieweiss
  Armbian for the Pinebook Pro [WIP] Luke 41 14,087 01-06-2021, 06:14 PM
Last Post: Idaho
  Gentoo on Pinebook Pro RELEASE jannik2099 48 28,420 01-03-2021, 06:21 AM
Last Post: wdt

Forum Jump:


Users browsing this thread: 1 Guest(s)