Article: NuttX RTOS for PinePhone: Feature Phone UI in LVGL, Zig and WebAssembly
#49
Hi @lupyuen , congratulations on the milestone! You raced through that one Smile  In the meantime I only just finished testing my 'tcon' and 'de' implementations in Zig.  Last 'gotcha' was SRAM_CTRL_REG1 having a default value, meaning undocumented, that needed to be zeroed.  I find all these undocumented hacks really unsettling.  For example on the tcon side I removed the delay after PLL_VIDEO0 and instead looped waiting for the LOCK bit, no idea if that is valid, but seems to work and removes one mystery delay() call (which anyway I could not work out how to implement in Zig), but it would be nice to have confirmation on all these small tweaks that seem to be needed.  I guess all the developers moved onto new shinny PineTab toys Wink  Although it seems to have gone very quiet regarding blog news etc, 4 months? did I miss some other news regarding the community?  Anyway I think I continue a while longer, since this is good for exercising my Zig skills.

So what is next for you? the educational plans? or LVGL on star64? Smile


Code:
    //step 1 - configure PLL     var pll = ccu.PLL_VIDEO0_CTRL_REG.peek();     pll.PLL_ENABLE = true;     ccu.PLL_VIDEO0_CTRL_REG.poke(pll);     //wait PLL stable     while (ccu.PLL_VIDEO0_CTRL_REG.peek().LOCK == false) {         lockWaitCntr += 1;         if (lockWaitCntr > 10000) {             debug.red(true);             return;         }     }
  Reply


Messages In This Thread
RE: Article: NuttX RTOS for PinePhone: Feature Phone UI in LVGL, Zig and WebAssembly - by WhiteHexagon - 08-11-2023, 10:36 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  asterisk or FreePBX on pinephone? vanja 0 885 06-16-2026, 09:24 AM
Last Post: vanja
  Jami on Pinephone [ IM and VOIP ] p1trson 15 25,493 06-16-2026, 05:02 AM
Last Post: marlboro1950
  Movuan distribution for PinePhone merom 6 8,092 06-04-2026, 02:10 AM
Last Post: merom
  Latest firmware for PinePhone modem! Subsentient 106 247,102 04-03-2026, 08:37 AM
Last Post: baptx
  Fedora + Phosh for PinePhone njha 77 233,734 01-14-2026, 12:22 AM
Last Post: tllim
  Difficulty with openSUSE Tumbleweed Install PinePhone Beta danm1988 0 1,388 11-17-2025, 07:49 AM
Last Post: danm1988
  How-To: Remote Control Your Phone from Desktop via VNC biketool 16 16,947 10-16-2025, 06:55 AM
Last Post: biketool
  baremetal via Zig on PinePhone - JumpDrive help please WhiteHexagon 1 4,704 07-07-2025, 10:33 AM
Last Post: WhiteHexagon
  Jami on the Pine phone ? bcnaz 8 16,667 06-09-2025, 04:17 PM
Last Post: j_s
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 40 71,827 12-28-2024, 12:19 AM
Last Post: mara

Forum Jump:


Users browsing this thread: 1 Guest(s)