How much linux is required for the phone to run?
#11
(07-30-2020, 10:35 AM)overdrawnfettuccine Wrote:
(07-29-2020, 10:29 PM)Subsentient Wrote:
(07-29-2020, 01:24 AM)overdrawnfettuccine Wrote: 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
Yeah it's depressing on ARM except in the server space where ACPI is starting to appear.

If you want that kind of barebones experience, I'd recommend moving up to raw AVR microcontrollers, like the ATTiny85, my favorite. They're a lot of fun, and they're bare metal entirely, no arduino board to baby you. Just 8K of ROM to put your compiled C into. You can get a row of around 10 of them for like $15, then you can fiddle with them however you like.

You could also consider getting into linux kernel driver development, knowledge which would be useful in both ARM and x86 spaces.

How much boot/init knowledge is required? I absolutely would like a touchscreen and either wifi or a modem with 4g capabilities/SMS.
Would it have enough CPU power to run a basic rougelike game written in C at 60fps? Things simple enough that the nes/snes can do with pixels instead of tiles which make those consoles life easier
Ahh, I see. There are beefier AVR microcontrollers that can probably do what you want, but the ATTIny85 is not it. I would look at some of the higher end ATmega family.

Though, I'm starting to think you'd be better off writing such things as apps for Linux on the PinePhone. Wifi/4G support can be accessed easily that way, and you get full access to high-quality game frameworks like SDL2. Why reinvent the wheel, after all? You can write it in C, just like in microcontrollers/arduino. Many applications in Linux are.
  Reply
#12
(07-30-2020, 07:41 PM)Subsentient Wrote:
(07-30-2020, 10:35 AM)overdrawnfettuccine Wrote: How much boot/init knowledge is required? I absolutely would like a touchscreen and either wifi or a modem with 4g capabilities/SMS.
Would it have enough CPU power to run a basic rougelike game written in C at 60fps? Things simple enough that the nes/snes can do with pixels instead of tiles which make those consoles life easier
Ahh, I see. There are beefier AVR microcontrollers that can probably do what you want, but the ATTIny85 is not it. I would look at some of the higher end ATmega family.

Though, I'm starting to think you'd be better off writing such things as apps for Linux on the PinePhone. Wifi/4G support can be accessed easily that way, and you get full access to high-quality game frameworks like SDL2. Why reinvent the wheel, after all? You can write it in C, just like in microcontrollers/arduino. Many applications in Linux are.
It's more fun when it's bare metal. I'm sure I can easily figure out how to manage the screen and I can live without sound. Input probably not too terrible. However networking is outside of my realm unless I can access it through a library or AT commands.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How-To: Remote Control Your Phone from Desktop via VNC biketool 2 418 10-12-2024, 11:47 AM
Last Post: biketool
  Genode- Sculpt OS for the PinePhone (non Linux) Surehand53 1 1,603 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,596 09-09-2023, 09:49 AM
Last Post: WhiteHexagon
  Article: NuttX RTOS for PinePhone: Phone Calls and Text Messages lupyuen 2 1,930 05-03-2023, 05:03 PM
Last Post: lupyuen
  Arch Linux on PinePhone Rocky-IV 4 10,677 12-21-2022, 04:35 AM
Last Post: gregb49
  Mepo - Minimalist and hackable OSM map viewer for mobile linux mil 22 17,900 10-31-2022, 07:29 AM
Last Post: mil
  [Stupid Question] Where is the phone camera software?! newusername 5 3,781 10-10-2022, 03:58 AM
Last Post: newusername
  Control HBIAS through a linux OS twiclo 0 1,227 10-04-2022, 03:20 PM
Last Post: twiclo
  difference between android and linux? vanja 3 2,737 09-16-2022, 07:43 PM
Last Post: TRS-80
  meet franz! (whatsapp,telegram,etc linux client) vanja 0 1,340 09-15-2022, 01:23 AM
Last Post: vanja

Forum Jump:


Users browsing this thread: 4 Guest(s)