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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,666
» Latest member: behrenswatches
» Forum threads: 16,243
» Forum posts: 117,143

Full Statistics

Latest Threads
I think you can try compi...
Forum: General Discussion on Pinebook Pro
Last Post: wangyukunshan
3 hours ago
» Replies: 0
» Views: 27
Second screen mirroring
Forum: General
Last Post: OpalTromp
8 hours ago
» Replies: 2
» Views: 1,701
kivy app keeping focus wh...
Forum: Mobian on PinePhone
Last Post: Kevin Kofler
9 hours ago
» Replies: 1
» Views: 43
Optimizing Battery Life o...
Forum: General Discussion on PinePhone
Last Post: Kevin Kofler
9 hours ago
» Replies: 1
» Views: 67
Wake up Call
Forum: General Discussion on PinePhone
Last Post: biketool
Yesterday, 02:35 PM
» Replies: 4
» Views: 218
How to add an homemade ap...
Forum: Mobian on PinePhone
Last Post: JChdeL
Yesterday, 04:13 AM
» Replies: 3
» Views: 289
Has anyone installed Tris...
Forum: General
Last Post: RandB
11-03-2025, 12:08 PM
» Replies: 1
» Views: 2,184
Xen hypervisor on Rock64
Forum: Linux on Rock64
Last Post: darkfader
11-03-2025, 09:25 AM
» Replies: 6
» Views: 9,690
[Article] RISC-V Ox64 BL8...
Forum: General
Last Post: smithjohns
11-03-2025, 12:54 AM
» Replies: 3
» Views: 9,470
Pinetab2s running DanctNI...
Forum: PineTab Software
Last Post: biketool
11-02-2025, 04:45 AM
» Replies: 0
» Views: 92

 
  help on developing BLE bluetooth MIDI
Posted by: Luno - 04-05-2023, 12:08 PM - Forum: Development Discussion on PineTime - No Replies

Hi there,

I want BLE-MIDI on the PineTime, overall preferred running in InfiniTime, because it seems the only still active OS. And I really like that OS.
I tried a library from Adafruit, with no success. Then I found this: https://novelbits.io/bluetooth-gatt-serv...teristics/ which explains very detailed how everything works, and I can compile it with Segger development tools (almost: There is a known bug in creating the binary, but that's ok, I don't want to stay on Segger anyway). But I can't find out how I could integrate it into InfiniTime. There are so many dependencies. How can one do something like port a new library?


Best regards,
Luno


  Signal for Pinefon
Posted by: wigan - 04-05-2023, 06:10 AM - Forum: General Discussion on PinePhone - Replies (1)

Signal for Pinefon can be found at...

https://gitlab.com/undef1/signal-desktop...s/13612537


  Pinephone & Nexdock
Posted by: treebeard - 04-04-2023, 06:48 AM - Forum: General Discussion on PinePhone - Replies (3)

I got one of the Nexdock things that Purism is selling and I really like it.  I no longer need to tether the phone to a laptop for certain mobile uses - I can simply use the relevant apps and data directly on the phone now.  One odd behavior I am seeing is the screen going black for a couple seconds 2-4 times per minute.  I don't see this behavior when the Nexdock is connected to my Juno tablet (with mobian) so it's apparently not endemic to the dock.

Does anyone else have experience with a Nexdock and Pinephone?  I'd sure like to get some clues to the source of this issue.


  What RISC-V chip will the PineTab-V use?
Posted by: msm - 04-04-2023, 02:01 AM - Forum: PineTab Hardware - Replies (2)

Will the PineTav-V use the same chip as the Star64 or a different chip?

Mike


  Develop a new firmware for PineTime
Posted by: belushi - 04-03-2023, 02:46 PM - Forum: Development Discussion on PineTime - Replies (2)

Hi everyone,

(I hope I'm posting in the right place. If not, please let me know.)

I have been using PineTime since 2021 and I really like it. I'm absolutely a FOSS-guy who welcomes any open/community-based projects, such as PineTime which is a fully open (hardware and software) and long overdue product in the smartwatch market.

I'm studying Computer Engineering at university. Many of us design a high-level application (Java, Python etc.) or a webpage or something AI related stuff. However, I'm rather a hardware (IoT/embedded systems) -oriented person, and that's why many people think i'm crazy when I say: "I loved my Assembly programming course" Smile

To be honest, when I bought my first PineTime, I ordered a twin pack (sealed and devkit), because I knew that I would like to modify/hack/develop my watch in the future. And now it seems like a good idea to deal with PineTime because it perfectly fits my studies and who knows... maybe that could be even a great theme for my thesis. Moreover, it would be a great adventure (doing it for fun).

I'm planning to create a new (very basic) firmware from scratch. I mean that would be an independent and separate project from InfiniTime / Wasp-OS or other relevant PineTime related firmwares, although it would rely on some third party libraries (such as LVGL or FreeRTOS) and it would use existing projects (mostly InfiniTime) as a reference.


Initial (essential) objectives:

  • display time without any smart capabilities (e.g. Bluetooth synchronization)

Future (optional) objectives:
  • Bluetooth implementation
  • Heart rate measuring
  • Step counting
  • Built-in apps
  • ...

At first, it sounds easy, doesn't it? However even the clock implementation can be challenging: multitasking, UI, using touch controller/screen/button for watch controlling, battery management, energy management, memory management, and so on.

My major problem is that there is no detailed developer documentation for PineTime. There is a lot of information about hardware, but I couldn't find any official "Getting started" or "How to start coding on your PineTime" articles.

So please let me ask some questions to be able to see more clearly.

First of all: Is it hard to program PineTime?
More specifically, is it hard to program PineTime for a student who has only some basic knowledge about embedded devices / hardware? I mean, I know how does a CPU works (in a nutshell), what registers are, communication protocols (I2C, SPI, UART etc.) and I have some knowledge about ARM architecture too, but I have never done anything like this (smartwatch programming) before.

How to start?
How to configure a developer setup? Which IDE are you using? Which softwares (e.g. compiler) are you using? It would be awesome to create a "Hello world!" application or some very-very basic app to gain experience and to learn the basics. Are there any tutorials? It seems that Lup Yuen's articles are useful, and as I mentioned, PineTime is a good reference (however, too complex for me, which makes it difficult to understand the basics).

How to code?
I mean, which programming language would be the best choice? C? C++? Rust? Anything else? I have to admit that my knowledge in C++ and Rust is very limited, I always use C for low-level programming, which is not necessarily the best choice (I suppose C is not the safest language). Is it worth the time and effort to learn another language? Is it easier to code PineTime in another language than C?

Which libraries should I use?
Why and when should we use external libraries, such as FreeRTOS or LVGL (like InfiniTime uses those libraries too). Are they required? If my project is "not too complex" do they make coding harder or easier?


Thank you in advance for anybody who reads my post and I would appreciate if you give me some helpful answers.


  Pine H64
Posted by: rajsachdev - 04-03-2023, 01:21 AM - Forum: General Discussion on PINE H64 - Replies (10)

Just bought a board (in India), have tried various images on pine site and different power supplies and SD cards the board always gets stuck on

U-Boot SPL 2022.04 (Mar 01 2023 - 00:14:33 +00000)
DRAM:

it never goes past DRAM:

the date after SPL changes with different images but it's stuck on DRAM:

once in a while it give this message once , restarts and gets stuck on DRAM again:

DRAM: This DRAM setup is currently not supported.


  The power of the Star64 vs Pinebook Pro/RockPro64
Posted by: Starfall - 04-02-2023, 06:02 PM - Forum: General - Replies (1)

From looking at the specification, it seems the StarFive JH7110 is weaker than the Rockchip RK3399 but has more L2 cache. In performance I imagine the star64 will be slightly stronger than a RK3399 based device with its a72 cores disabled, in the case of pine64 hardware, only better because of the 8gb of ram?

Comparing GPUs, weaker but support for newer standards?

Do you agree? Difficult to benchmark, perhaps need the 4gb star and 4gb rock to go head to head.


  Software for PineTab-V
Posted by: msm - 04-02-2023, 04:09 PM - Forum: PineTab Software - Replies (12)

What OS is primarily being worked on for the PineTab-V?  Also, is there a channel for RISC-V development?  I would be interested in helping.

Mike


  other kind of 2fa/mfa
Posted by: zetabeta - 04-02-2023, 02:43 PM - Forum: General - Replies (2)

this is little bit offtopic of pine forums, but i think it interests some users. other kind of 2fa/mfa.

because of possible privacy issues, data collection and locking to close platforms, like google play and apple store, i don't usually like 2fa or mfa. two-factor-authentication or multi-factor-authentication is additional required policy for many services to getting in.

i found by coincidence a reasonable alternative, which can be used for 2fa/mfa systems. essentially, it has no privacy or data collection issues (assuming of usage). it is totp https://en.wikipedia.org/wiki/Time-based...e_password . it is based on time and correct timezone.

i initiated this on some services already, but i don't name those here, because of advertising. quite often, it is called an "authenticator app".

also hardware based totp devices are available, but might be cumbersome to be activated for service.

in debian, there is a package "oathtool". which can used by following, note -b is for base32.

Code:
watch oathtool --totp -b base32-coded-key-here

there is graphical apps as well. base32 is usually a default instead of hex input. for oathtool, hex input is default.

many services require 2fa/mfa, and what annoys me is that those services require an app which is dependent on google play services or apple store. basically forcing closed platforms. totp was created somewhat long time ago, so it has been available as a possible choice already.

this is one example that i'm not necessarily against 2fa or mfa, it is more like, how it is implemented. and there are choices.


  PinePhone keyboard tones
Posted by: mlnease - 04-02-2023, 02:20 PM - Forum: General Discussion on PinePhone - Replies (10)

Hello,

I am new to Linux (except Ubuntu) and to this forum; my PinePhone is my first "smart" phone (at age 70!) so my questions will likely be elementary.  Thanks for your patience.

My problem is that the virtual keys don't produce audible tones when touched so that I can't use it for automated phone systems ("Press 1 Now" for example).  I've looked everywhere I can think of in Settings including Sound, Tweaks, Mobile Settings and Keyboard to no avail.

Thanks in advance.

p.s. The application is 'Calls'.