Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 29,476
» Latest member: alain
» Forum threads: 16,197
» Forum posts: 116,882
Full Statistics
|
|
|
Kali Linux for Pinebook Pro - stuck on the login screen |
Posted by: owaspfap - 07-13-2023, 05:21 PM - Forum: Linux on Pinebook Pro
- No Replies
|
 |
Hi everyone,
I want to be able to run kali off of the pinebook pro as needed via the SD card. I followed the Pinebook Pro installation instructions here: https://www.kali.org/docs/arm/pinebook/
* Download and validate the kali linux image
* flash the kali-linux-2023.2-pinebook-pro-arm64.img file to the SD card (note, no errors or issues took place on flashing the SD card)
* insert the SD card to the pinebook pro
* start the machine
From here, I'll see what appears to be the boot process loading which is a wall of text. Note that I saw several "FAILED" "Failed to start ssh.service - OpenBSD SecureShell error, etc.
kali-pinebook-pro login:
password:
After the booting process stops, I am dropped into a CLI login screen. I attempt to use the kali login defaults e.g. username: kali and password kali which shows as invalid. Does anyone have the default login and password or can we determine if I did something horribly wrong?
Thank you!
|
|
|
pinetab 2 not booting |
Posted by: ajhiii070 - 07-13-2023, 05:09 PM - Forum: General Discussion on PineTab
- Replies (5)
|
 |
Iv'e got my pine tab 2 to boot once again and the only thing it says is [ 0.000000] clk: failed to reparent gpll to clk_rtc32k_frac: -22 it repeats this line 1 more time and below both lines I get a flashing cursor does anybody out there know what it means? and what do I need to do to get it run again? please thisis driving me nuts pine64 insists that the community will help please!
|
|
|
box86 Actually Works Well on Manjaro Phosh/xfce |
Posted by: jakfish - 07-13-2023, 02:39 PM - Forum: General Discussion on PinePhone
- Replies (9)
|
 |
It's a bit of a hike to get to the end of compiling and installing, but once done, box86/WINE performs admirably on the PP Community phone/physical keyboard.
In xfce (though not in Manjaro Phosh, oddly), LibreOffice has laggy typing, but Word 97, despite its 20-second start-up, has none, and once the program is up, it's as robust as anything on the PP. All its features function and it works with the phone's suspend.
HanDBase, my favorite cross-platform database app, also does its job.
|
|
|
Boot into NVME drive, no wifi, sound, buttons... |
Posted by: PaulQ - 07-13-2023, 01:50 PM - Forum: General Discussion on Pinebook Pro
- No Replies
|
 |
I installed an NVMe drive into my Pinebook Pro. I booted into Majaro from a MicroSD card, blew away the "ROOT_MNJRO" partition from the eMMC drive, and then use the Manjaro flash utility to flash Manjaro Arm for Pinebook to the NVMe drive. On reboot, I completed the setup, rebooted, and then there's no wifi, no audio, connecting my USB ethernet dongle doesn't get recognized, even the power button doesn't work. *UPDATE* The power button does work now.** If I flash this image to the eMMC drive, everything works fine. The same image works fine from the microSD card. For some reason, only when I flash the image to NVMe do I lose all of the functionality of the Pinebook Pro, though I can open a terminal and folders. Hoping someone here can point me in the right direction.
|
|
|
Accessing the camera from Python |
Posted by: lagrang3 - 07-13-2023, 01:38 PM - Forum: PinePhone Software
- Replies (8)
|
 |
I've been trying to write a Python application for the Pinephone that needs access to the camera.
1. My first iteration was using python-opencv, but that doesn't work out of the box.
The simple first two lines:
```
import cv2
cap = cv2.VideoCapture(0)
```
produce the following error:
```
[ WARN:0@18.736] global ./modules/videoio/src/cap_gstreamer.cpp (2401) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module v4l2src0 reported: Device '/dev/video0' is not a capture device.
[ WARN:0@18.739] global ./modules/videoio/src/cap_gstreamer.cpp (1356) open OpenCV | GStreamer warning: unable to start pipeline
[ WARN:0@18.740] global ./modules/videoio/src/cap_gstreamer.cpp (862) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created
[ WARN:0@18.758] global ./modules/videoio/src/cap_v4l.cpp (902) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
```
There is some discussion about this problem in a manjaro forum: https://forum.manjaro.org/t/access-pinep...encv/94593
but there are no conclusive solutions.
I have two possible work-around to this issue:
2. I could build a python library reusing "megapixels" code (https://gitlab.com/postmarketOS/megapixels). By the way, there is a very interesting description of the pinephone camera interface in the README in that repository.
3. Or I could call an external command from my python executable that gets me the actual camera data, for example `ffmpeg` similarly to this blog post: https://blog.brixit.nl/camera-on-the-pinephone/
In my opinion, solution 3 is ugly and probably under-performant, while 2 seems overkill.
There should be a simple way to read the camera data natively from Python.
If anyone can give me a solution or a hint, I would really appreciate it.
|
|
|
Pinetab2 stays dark / won't boot |
Posted by: derco0n - 07-13-2023, 11:44 AM - Forum: PineTab Hardware
- No Replies
|
 |
Hi everyone,
my Pinetab2 suddenly stopped working after around 4 weeks of minor usage.
The main symptom is, that the display stays complete black when trying to power on.
As Pine64's support is unfortunately not very helpful and pointed me to the community, i'd really appreciate your help.
I was able to get the following out from UART-console:
Code: ## Checking hash(es) for Image u-boot ... sha256+ OK
## Checking hash(es) for Image fdt-2 ... sha256+ OK
## Checking hash(es) for Image atf-2 ... sha256+ OK
## Checking hash(es) for Image atf-3 ... sha256+ OK
## Checking hash(es) for Image atf-4 ... sha256+ OK
## Checking hash(es) for Image atf-5 ... sha256+ OK
## Checking hash(es) for Image atf-6 ... sha256+ OK
INFO: Preloader serial: 2
NOTICE: BL31: v2.3():v2.3-594-g7f859117f:cl
NOTICE: BL31: Built : 04:51:16, May 11 2023
INFO: GICv3 without legacy support detected.
INFO: ARM GICv3 driver initialized in EL3
INFO: pmu v1 is valid 220114
INFO: dfs DDR fsp_param[0].freq_mhz= 1056MHz
INFO: dfs DDR fsp_param[1].freq_mhz= 324MHz
INFO: dfs DDR fsp_param[2].freq_mhz= 528MHz
INFO: dfs DDR fsp_param[3].freq_mhz= 780MHz
INFO: BL31: Initialising Exception Handling Framework
INFO: BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR: Error initializing runtime service opteed_fast
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0xa00000
INFO: SPSR = 0x3c9
U-Boot 2023.07-1-00043-g2e0e11b8e6 (Jul 01 2023 - 07:59:26 +0000)
Model: Pine64 PineTab2 v2.0
DRAM: 8 GiB (effective 7.7 GiB)
PMIC: RK8170 (on=0x80, off=0x04)
Core: 321 devices, 25 uclasses, devicetree: separate
MMC: mmc@fe2b0000: 1, mmc@fe2c0000: 2, mmc@fe310000: 0
Loading Environment from nowhere... OK
In: serial@fe660000
Out: serial@fe660000
Err: serial@fe660000
Model: Pine64 PineTab2 v2.0
Net: No ethernet found.
Hit any key to stop autoboot: 0
Card did not respond to voltage select! : -110
** Booting bootflow 'mmc@fe310000.bootdev.part_1' with script
Booting from eMMC
Loading kernel...
Failed to load '/Image.gz'
Uncompressing kernel...
Error: Bad gzipped data
Loading initramfs...
7685356 bytes read in 68 ms (107.8 MiB/s)
Loading dtb...
120036 bytes read in 41 ms (2.8 MiB/s)
Booting...
Bad Linux ARM64 Image magic!
Boot failed (err=-14)
No ethernet found.
No ethernet found.
|
|
|
Problem with USB 3.0 Type A |
Posted by: hobbitus - 07-13-2023, 03:46 AM - Forum: Pinebook Pro Hardware and Accessories
- Replies (4)
|
 |
Hello everyone,
I have got problem with the USB 3.0 Type A
No information in dmesg or journalctl -f -u systemd-udevd about any devices in this USB port.
$lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 002: ID 258a:001e HAILUCK CO.,LTD USB KEYBOARD
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$lsusb -tv
/: Bus 08.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M
ID 1d6b:0001 Linux Foundation 1.1 root hub
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
ID 258a:001e
|__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
ID 258a:001e
/: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M
ID 1d6b:0001 Linux Foundation 1.1 root hub
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
ID 05e3:0608 Genesys Logic, Inc. Hub
|__ Port 1: Dev 6, If 0, Class=Vendor Specific Class, Driver=mt7601u, 480M
ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
I do not know if this could be hardware issue, OS (Manjaro) or anything else?
Thank you for advice and suggestions.
PS: I've just noticed this post with similar, possibly the same issues https://forum.manjaro.org/t/usb-port-bre...sue/139653
|
|
|
|