Zig booting up on PinePhone
#1
Thanks to the great series of educational tutorials from @lupyuen , and following the same reverse engineering journey, I finally managed to boot my PinePhone as far as LCD and drawing to screen last night Smile  No Linux, just Zig! and a bit of assembly for boot header.  The code is a disaster scene, but buying a 3rd party serial debug cable this week was the final key to fixing the many register value typos I had scattered throughout my code. Smile  It is a shame with the tariffs into EU, because I should have also bought an SD card extender, the number of times I have to switch the SD card between tests is crazy!

If anyone else takes this journey, I highly recommend to buy the serial debug cable first!!  I dont know how I managed without for so long, flashing LEDs to monitor progress hehe.

Anyway, I just wanted to post here to thank the community, what is left of it Sad  but especially thanks to Lupyuen for the huge amount of work he has spent on adding the missing documentation to get these devices working as part of his NuttX work.  Well done!
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Optimizing Power Management on PinePhone with PostmarketOS ZaraAbbas 0 436 05-27-2025, 01:49 AM
Last Post: ZaraAbbas
  Second-Hand PinePhone rdv 9 2,998 01-05-2025, 11:42 PM
Last Post: tllim
  pinephone 3 ideas aular 5 3,232 11-08-2024, 06:35 AM
Last Post: KC9UDX
  PinePhone Pro and PinePhone Community Edition Different SIM Card Trays dorkydev 2 1,841 04-11-2024, 03:10 PM
Last Post: Kevin Kofler
  Where PinePhone Pro are Made Tony90 1 1,767 01-18-2024, 09:20 AM
Last Post: Kevin Kofler
  using Zoom on Pinephone andrew907 5 3,180 12-09-2023, 01:26 AM
Last Post: crocspot
  [Article] Ox64 BL808 RISC-V SBC: Booting Linux and (maybe) Apache NuttX RTOS lupyuen 2 2,260 11-04-2023, 08:41 PM
Last Post: lupyuen
  [Article] Booting RISC-V Linux on Star64 JH7110 SBC lupyuen 3 3,411 07-05-2023, 02:04 AM
Last Post: balbes150
  Star64 booting up Armbian video tantamount 1 1,662 06-03-2023, 07:40 AM
Last Post: fasgya30
  Does pinephone allow you to repair your own device as easily as fairphone? unix21311 3 3,620 11-06-2022, 10:37 PM
Last Post: Harolddavies0

Forum Jump:


Users browsing this thread: 2 Guest(s)