How much linux is required for the phone to run?
#8
(07-28-2020, 10:52 PM)KC9UDX Wrote: If you want to go low level, I wouldn't use Linux at all.  I'd start out with Minix or NetBSD.

(07-29-2020, 12:41 AM)Subsentient Wrote:
(07-28-2020, 10:14 PM)overdrawnfettuccine Wrote: How sure are you about that? As the solo programmer I was able to check the status of the SIM card, connect to 4g cell towers, check the signal strength, receive text messages, react to them, store them on the phone, send text messages and pull up GPS information with GLONASS. I specifically remember using AT+CMGF and wondering why my PDU text is not correct and switching to text because it was suitable for our application. It's not too hard

The problem you'll have is getting the system to boot that far. Take a look at the device tree structure for Linux's implementation of the pinephone. This isn't an ATTiny85 where you can just fiddle registers directly and run on bare metal at kernel-level with almost no setup. For example, look at the U-Boot implementation, and that's just to get the kernel executed. U-Boot also has its own device tree implementation. ARM devices are a nightmare to get booted from ground zero and doing anything useful, just in general. If the PinePhone had ACPI/EFI it would be different.

I'm not saying it can't be done, but it's going to be a LOT more difficult than hacking on an arduino or ATMega AVR MCU, and even much more difficult than an x86 PC.

I have to ask, why would you want to go to all that trouble, when anything one man can write would be a vast underutilisation of the PinePhone's Cortex-A53 CPU? I run full desktop-grade XFCE and desktop Firefox etc on mine, and that's my daily driver.

Oh I had no idea there were many hoops to jump through. I thought it'd be fun to program a device that only runs my code with a touchscreen and wifi
  Reply


Messages In This Thread
RE: How much linix is required for the phone to run? - by overdrawnfettuccine - 07-29-2020, 01:24 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How-To: Remote Control Your Phone from Desktop via VNC biketool 2 440 10-12-2024, 11:47 AM
Last Post: biketool
  Genode- Sculpt OS for the PinePhone (non Linux) Surehand53 1 1,608 11-04-2023, 07:23 PM
Last Post: tllim
  Article: NuttX RTOS for PinePhone: Feature Phone UI in LVGL, Zig and WebAssembly lupyuen 64 25,936 09-09-2023, 09:49 AM
Last Post: WhiteHexagon
  Article: NuttX RTOS for PinePhone: Phone Calls and Text Messages lupyuen 2 1,931 05-03-2023, 05:03 PM
Last Post: lupyuen
  Arch Linux on PinePhone Rocky-IV 4 10,690 12-21-2022, 04:35 AM
Last Post: gregb49
  Mepo - Minimalist and hackable OSM map viewer for mobile linux mil 22 17,934 10-31-2022, 07:29 AM
Last Post: mil
  [Stupid Question] Where is the phone camera software?! newusername 5 3,790 10-10-2022, 03:58 AM
Last Post: newusername
  Control HBIAS through a linux OS twiclo 0 1,232 10-04-2022, 03:20 PM
Last Post: twiclo
  difference between android and linux? vanja 3 2,739 09-16-2022, 07:43 PM
Last Post: TRS-80
  meet franz! (whatsapp,telegram,etc linux client) vanja 0 1,347 09-15-2022, 01:23 AM
Last Post: vanja

Forum Jump:


Users browsing this thread: 1 Guest(s)