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: 513)
.log   error.log (Size: 5.15 KB / Downloads: 499)
Working as a Film Electric and I have been using Linux since around 2002. 
Like to play with Python and Jupyter Lab/Notebooks when not going to the park with my baby girl.
  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
  Upgrading Armbian from v24.2.1 gnome, breaks pinebook pro Sb2024 0 116 11-10-2024, 02:50 PM
Last Post: Sb2024
  Attempting to install Void Linux, boots into a black screen 9a3eedi 1 1,193 09-28-2024, 09:23 AM
Last Post: throwawayforvoid
  Pinebook pro won't boot after bootloader installation jwensouls 4 942 08-21-2024, 04:17 AM
Last Post: KC9UDX
  Slackware Linux working on PBP vxzero 0 604 06-05-2024, 04:30 PM
Last Post: vxzero
  [Pinebook Pro/Mobian/XFCE4] can fix touch or screen in greeter not both SynthGal 0 401 05-31-2024, 09:42 AM
Last Post: SynthGal
  Debian on Pinebook Pro u974615 7 2,894 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 4,113 02-22-2024, 04:02 PM
Last Post: tllim
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 3,222 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 3,512 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 103,585 12-08-2023, 11:25 PM
Last Post: tllim

Forum Jump:


Users browsing this thread: 1 Guest(s)