Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,679
» Latest member: Gett1272
» Forum threads: 16,253
» Forum posts: 117,171

Full Statistics

Latest Threads
Are you interested in a n...
Forum: General Discussion on Pinebook Pro
Last Post: WEF
Yesterday, 02:33 PM
» Replies: 2
» Views: 2,970
Recycling pinephone as ho...
Forum: PinePhone Hardware
Last Post: biketool
Yesterday, 11:18 AM
» Replies: 3
» Views: 288
BT PAN - we need iptables...
Forum: Mobian on PinePhone
Last Post: biketool
Yesterday, 07:29 AM
» Replies: 0
» Views: 64
black cursos background
Forum: General Discussion on PineTab
Last Post: polrus
11-11-2025, 04:07 PM
» Replies: 0
» Views: 56
slight bumps causing phon...
Forum: PinePhone Pro Hardware
Last Post: JadenSki
11-11-2025, 02:05 PM
» Replies: 2
» Views: 96
Star64 Irradium (based on...
Forum: Getting Started
Last Post: mara
11-11-2025, 02:01 PM
» Replies: 10
» Views: 12,482
Switching cameras on PPpr...
Forum: Mobian on PinePhone
Last Post: biketool
11-11-2025, 10:44 AM
» Replies: 0
» Views: 49
Battery connector dead
Forum: PinePhone Hardware
Last Post: mdk
11-11-2025, 10:05 AM
» Replies: 3
» Views: 2,372
No touch KB after update(...
Forum: Mobian on PinePhone
Last Post: biketool
11-11-2025, 09:45 AM
» Replies: 3
» Views: 184
compass pdf link expired:...
Forum: General Discussion on PinePhone
Last Post: WhiteHexagon
11-10-2025, 12:39 PM
» Replies: 4
» Views: 307

 
  Multiple NEMA 17 stepper motors with the Teensy 4.0
Posted by: Harry - 08-22-2025, 12:24 AM - Forum: General - No Replies

Good afternoon everyone,
I'm working on a project that requires six NEMA 17 stepper motors. I can use the standard A4988 or the more powerful DRV8825 driver, but both are 5V devices, while the Teensy 4.0 is a 3.3V device.

Can these drivers be used directly with the Teensy without damaging it?
Do they require a logic level converter?
Are there other compatible 3.3V stepper drivers?


  Giving away a Pinebook Pro for free (with a broken hinge)
Posted by: tuxifan - 08-20-2025, 03:59 PM - Forum: Pinebook Hardware and Accessories - Replies (4)

Hey!

The hinge on my Pinebook Pro has broken and I don't feel like fixing it. And since I'd hate to throw this thing away for just that reason, I'm willing to give it away for free.

I'm shipping from Germany near Hamburg, just send me a message here or on IRC (same username as here) if you're interested. You would however have to pay for shipment, after successfully receiving the Pinebook Pro.

Fixing that hinge apparenly involves gluing it, for more info post a message in the #pinebook channel on the Pine64 IRC, it appears to be pretty repairable using the correct type of glue.

Tell me what you're going to use the PBP for!
This is how I'm going to rank this:
 1. Developers - reputable developers in the Pinebook Pro community who need some extra hardware to play with and don't necessarily need a working hinge.
 2. Newbies - people interested in buying a Pinebook Pro and in fixing that hinge.
 3. Enthusiasts - existing Pinebook Pro users interested in spare parts and willing to distribute remaining spare parts further.

If you're a developer, send me a link of some sort to a list of previous contributions.

Tuxifan


  Bare metal on Pinephone Pro
Posted by: alain - 08-19-2025, 07:58 AM - Forum: PinePhone Pro Software - No Replies

Hello,

I would like to boot a bare metal program (that just starts and enters in an infinite loop) (asm+c) on my ppp thank to U-Boot, but U-Boot don't boot my program and blinks the multicolor led in red, and then shut down. What's wrong in my code ? 

start.S

Code:
    .global start
start:
    msr        DAIFSet, #7

    bl        main

spin:    b        spin

spl.lds
Code:
ENTRY(start)

SECTIONS
{
    . = 0x02000000;

    . = ALIGN(4);
    .text :
    {
        *(.text)
    }

    . = ALIGN(4);
    .rodata : { *(.rodata*) }

    . = ALIGN(4);
    .data : { *(.data*) }

    . = ALIGN(4);
    .got : { *(.got) }

    _end = .;

    . = ALIGN(8);
    __bss_start__ = .;
    .bss_start (OVERLAY) : {
        KEEP(*(.__bss_start));
        __bss_base = .;
    }
    .bss __bss_base (OVERLAY) : {
        *(.bss*)
        . = ALIGN(4);
        __bss_limit = .;
    }
    .bss_end __bss_limit (OVERLAY) : {
        KEEP(*(.__bss_end));
    }
    __bss_end__ = .;
}

main.c
Code:
/*
*
* Tom Trebisky  12-31-2021
*/

typedef volatile unsigned int vu32;
typedef unsigned int u32;

struct gpio {
    vu32 data;
    vu32 dir;
    u32 _pad0[2];

    u32 _pad1[8];

    vu32 ie;
    vu32 im;
    vu32 il;
    vu32 ip;

    vu32 is;
    vu32 ris;
    vu32 debounce;
    vu32 eoi;

    vu32 ext;
    u32 _pad2[3];

    vu32 sync;
};

#define GPIO0_BASE ((struct gpio *) 0xff720000)
#define GPIO1_BASE ((struct gpio *) 0xff730000)

#define GPIO2_BASE ((struct gpio *) 0xff780000)
#define GPIO3_BASE ((struct gpio *) 0xff788000)
#define GPIO4_BASE ((struct gpio *) 0xff790000)

#define GPIO_BASE GPIO0_BASE

#define LED_BIT        (8+3)
#define LED_PIN 24
#define LED_MASK 1<<LED_PIN

void main ( void ) {
    volatile int count = 100000000;

    while ( count-- )
        ;
}

Makefile
Code:
BOARD = rk3399
CROSS_COMPILE = aarch64-linux-gnu-

# -------------------------------------

OBJS = start.o main.o

TARGET = $(BOARD).bin

# CFLAGS        :=    -g -Wall -Wextra -ffreestanding -fno-builtin -mlittle-endian
CFLAGS        :=    -g -Wall -ffreestanding -fno-builtin -mlittle-endian
CFLAGS        += -march=armv8-a+crc
CFLAGS        += -mtune=cortex-a53
CFLAGS        += -I.

LDFLAGS        :=    -Bstatic \
            -Tspl.lds \
            -Wl,--start-group \
            -Wl,--end-group \
            -Wl,--build-id=none \
            -nostdlib

CC            =    $(CROSS_COMPILE)gcc $(CFLAGS)
LD             =    $(CROSS_COMPILE)gcc $(LDFLAGS)
OBJCOPY            =    $(CROSS_COMPILE)objcopy
DUMP            =    $(CROSS_COMPILE)objdump

LOAD            =    tools/loader -h64

# This gives us dependencies in .d files.
# CFLAGS        += -MMD
# This gives us a map file.
# CFLAGS        += -Wl,-Map=$(BOARD).map,--cref \

.c.o:
    @echo " [CC]   $<"
    @$(CC) $< -c -o $@

.S.o:
    @echo " [CC]   $<"
    @$(CC) $< -c -o $@

# -------------------------------------

all: install
#all: $(TARGET)

install: $(TARGET)
#     cp $(TARGET) /var/lib/tftpboot


$(BOARD).elf: $(OBJS)
    @echo " [LD]   $(BOARD).elf"
    @$(LD) $(OBJS) -o $(BOARD).elf

$(TARGET): $(BOARD).elf
    @#echo " [IMG]  $(TARGET)
    @$(OBJCOPY) -O binary $(BOARD).elf $(TARGET)

dis: $(BOARD).elf
    $(DUMP) -d $(BOARD).elf -z >$(BOARD).dis

fetch:
    cp ../USB_loader/loader tools

usb:  $(TARGET)
    $(LOAD) $(TARGET)

sdcard:  $(TARGET)
    $(LOAD) -o $(TARGET) | dd of=/dev/sdf seek=1 conv=fdatasync

.PHONY: clean
clean:
    rm -f *.o
    rm -f *.img
    rm -f *.elf
    rm -f *.bin
    rm -f *.map
    rm -f *.dis


  fixing the ppkb mainboard rather than replacing...
Posted by: Jite - 08-16-2025, 02:20 PM - Forum: PinePhone Pro Accessories - Replies (2)

Dear all, 

I was hoping to brain storm the community on how to fix the pinephone keyboard mainboard rather than just replacing it when the charging chip overheats and gets fried as it seems to do every 4-9 months for me. 

I must have at least 6-7 mainboards in my possession now (only one of which is working sadly). 

I have never soldered before, but would be willing to learn, particularly if the replacement charging chip could be bought for very cheap and it just needed desoldering the old one and soldering on the new one. This would be a good reason to start my soldering journey...

Glad for anyone's tips on this. 

BW


Exclamation Pinephone pro stuck while booting
Posted by: Supervisor - 08-16-2025, 11:35 AM - Forum: PinePhone Pro Hardware - Replies (3)

So i have a pinephone pro and i have tried every thing provided here https://forum.pine64.org/showthread.php?tid=18216 and gotten assistanve on discord which still did not help. Ive charged for approximately 10 hours on Maskrom, tried using a sd card, flashed directly to EMMC, attempted to reinstall Towboot, Used a gui tool and dd, and still it will not work. Whenever i turn it on with a working os installed it will flash red then yellow then stay stuck, the screen wont even show anything. If i try without an os on the phone it reboots as the it knows there no os installed. Sometimes too when i turn it on it will stay red and just vibrate as soon as it is turned on. It will not even boot to an SD card if i use either the RE button or the volume down button. I can however boot into mass storage mode by holding volume up and connect it to the computer, im not sure how much this can help but if anyone can help pls do.


  Compatible U.S. carriers with web voicemail access?
Posted by: Zebulon Walton - 08-15-2025, 02:40 PM - Forum: General Discussion on PinePhone - Replies (2)

Anyone know of U.S. carriers compatible with the Pinephone that have access to voicemail via a computer using a web browser? So far the only one I've come up with is T-Mobile which is a bit pricey. (T-Mobile does have inexpensive pay-as-you go plans but it looks like you can't bring over your existing phone number. I've had my cell phone number since 1992 and don't really want to change it.)

The reason: Just a few days ago my carrier AT&T discontinued their voicemail notification feature which I have used for decades - it notified an external device (pager) when a new voicemail arrived. This was a legacy feature from the early 1990s that probably nobody provides any more. However I would still like a way to check for voicemail that does not involve turning on and using the phone. (I leave the phone off most of the time for privacy as I have no wish to be tracked 24/7). Although possible to retrieve voicemail from a land line that is an increasingly rare thing to find when not at home.


  Long dialpad keypress to retrieve voicemail
Posted by: Zebulon Walton - 08-15-2025, 01:35 PM - Forum: Mobian on PinePhone - Replies (3)

AT&T has made some unwelcome (at least to me) changes to its basic voicemail service. Now the simplest way to check voicemail from one's phone is to hold down the "1" key on the dialpad to issue a long tone. However this does not work on the Pinephone, at least not running Mobian Bookworm+Phosh.

It is not clear whether this long tone triggers something proprietary in a phone provided by AT&T or whether just sending the tone out over the phone network is sufficient. (It does work if I put my SIM back in the flip phone AT&T sent me when 3G service was discontinued in the U.S. but I did that just for test purposes, I don't want to actually use that stupid Google-infested thing.)

Anyone know if this can be made to work on the Pinephone? I can still retrieve voicemail by dialing my own number so am not dead in the water but it's necessary to enter a security code each time which is a bit of a PITA.)


Exclamation Pinephone Pro wont boot to anything!
Posted by: Supervisor - 08-14-2025, 06:47 AM - Forum: General Discussion of PinePhone Pro - Replies (5)

So i have a pinephone pro here and i tried turning it on after like a year of not using it. The battery was obviously drained so i charged it for 6 hours on maskrom mode to my mac. After trying to turn it on, the led turns red, then yellow, but then stay there. Ive tried flashing oses to the EMMC and a 16gb SD card and also tried reinstalling towboot using the exact instructions provided, ive tried both sp.installer.img and shared disk methods for that. Ive already followed these instructions:

https://forum.pine64.org/showthread.php?tid=18216

Please help!   Sad


  PinePhone Pro discontinued
Posted by: teekay - 08-13-2025, 11:23 AM - Forum: General Discussion of PinePhone Pro - Replies (9)

Quote:But with a $400 price tag, it was also twice as expensive as the original PinePhone and never generated as much interest from buyers or developers. And now Pine64 says it’s ceased production of the PinePhone Pro and has no plans to resume selling the phone.


https://liliputing.com/pinephone-pro-lin...available/


  Hello from Ukraine
Posted by: SolderJackDIY - 08-08-2025, 05:55 PM - Forum: P64-LTS / SOPINE Projects, Ideas and Tutorials - Replies (1)

Привіт усім, я з України і щойно приєднався до спільноти. З нетерпінням чекаю можливості дізнатися більше про продукти Pine64.