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: 443)
.log   error.log (Size: 5.15 KB / Downloads: 418)
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
  Debian on Pinebook Pro u974615 8 449 03-22-2024, 03:57 PM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 1,126 02-22-2024, 04:02 PM
Last Post: tllim
  Attempting to install Void Linux, boots into a black screen 9a3eedi 0 209 02-18-2024, 08:54 AM
Last Post: 9a3eedi
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 1,921 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 1,981 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 86,673 12-08-2023, 11:25 PM
Last Post: tllim
  Boot Order in Pinebook Pro food 8 994 11-23-2023, 07:37 AM
Last Post: KC9UDX
  PineBook Pro seems to go to deep sleep, but doesn't wake up pogo 11 4,931 08-31-2023, 04:20 PM
Last Post: TRS-80
  Would a Pinebook Pro be good for a Linux newbie? cassado10 6 1,326 08-08-2023, 04:58 AM
Last Post: moobythegoldensock
  Install deepin OS on pinebook pro wangyukunshan 4 1,426 08-07-2023, 01:12 PM
Last Post: myself600

Forum Jump:


Users browsing this thread: 1 Guest(s)