René's URL Explorer Experiment


Title: 0.14.1 esp32s3 OTA black-screens on Fri3d badges: drivers.display.st7789 not frozen into the build · Issue #186 · MicroPythonOS/MicroPythonOS · GitHub

Open Graph Title: 0.14.1 esp32s3 OTA black-screens on Fri3d badges: drivers.display.st7789 not frozen into the build · Issue #186 · MicroPythonOS/MicroPythonOS

X Title: 0.14.1 esp32s3 OTA black-screens on Fri3d badges: drivers.display.st7789 not frozen into the build · Issue #186 · MicroPythonOS/MicroPythonOS

Description: Summary The 0.14.1 esp32s3 OTA image black-screens on Fri3d badges. MicroPython boots fine, but mpos.main aborts during board init because the SPI display driver drivers.display.st7789 is not present in the firmware. Because the app neve...

Open Graph Description: Summary The 0.14.1 esp32s3 OTA image black-screens on Fri3d badges. MicroPython boots fine, but mpos.main aborts during board init because the SPI display driver drivers.display.st7789 is not prese...

X Description: Summary The 0.14.1 esp32s3 OTA image black-screens on Fri3d badges. MicroPython boots fine, but mpos.main aborts during board init because the SPI display driver drivers.display.st7789 is not prese...

Opengraph URL: https://github.com/MicroPythonOS/MicroPythonOS/issues/186

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"0.14.1 esp32s3 OTA black-screens on Fri3d badges: drivers.display.st7789 not frozen into the build","articleBody":"## Summary\n\nThe **0.14.1 esp32s3 OTA image black-screens on Fri3d badges**. MicroPython boots fine, but `mpos.main` aborts during board init because the SPI display driver `drivers.display.st7789` is not present in the firmware. Because the app never marks the new image valid, the ESP-IDF bootloader rolls back to the previous version, so users see: download OK, then black screen, then back to the old release.\n\nThis affects **all Fri3d badges** (both `fri3d_2024.py` and `fri3d_2026.py` do `import drivers.display.st7789`), so it is not board-specific.\n\n## Environment\n\n- Firmware: `MicroPythonOS_esp32s3_0.14.1.ota` (from `https://updates.micropythonos.com/releases/esp32s3/`)\n- MicroPython: `1.27.0`, build `78ff170de9-dirty` (2026-07-06)\n- Hardware: Fri3d 2024 badge (see \"Secondary\" below about detection)\n- Prior working release on the same badge: 0.7.x (rolls back to it cleanly)\n\n## Symptom / serial boot log\n\nCaptured over USB serial during the failing boot:\n\n```\nInitializing fri3d_2026 hardware\nError importing mpos.main, sleeping 5 seconds before printing the exception...\nTraceback (most recent call last):\n  File \"main.py\", line 36, in \u003cmodule\u003e\n  File \"lib/mpos/main.py\", line 49, in \u003cmodule\u003e\n  File \"lib/mpos/board/fri3d_2026.py\", line 17, in \u003cmodule\u003e\nImportError: no module named 'st7789'\nMicroPythonOS exiting.\nMicroPython 78ff170de9-dirty on 2026-07-06; Generic ESP32S3 module with Octal-SPIRAM with ESP32S3\nType \"help()\" for more information.\n\u003e\u003e\u003e\n```\n\nThe `no module named 'st7789'` is the missing leaf of `import drivers.display.st7789`.\n\n## Diagnosis (confirmed on the live 0.14.1 REPL)\n\n- `import lcd_bus` -\u003e OK\n- `import lvgl` -\u003e OK\n- `import drivers.display.st7789` -\u003e ImportError\n\nSo the low-level display bus and LVGL are in the build, but the **lvgl_micropython display driver `drivers.display.st7789` (and its `display_driver_framework` dependency) were not frozen into the 0.14.1 esp32s3 image.** These come from `lvgl_micropython/api_drivers/common_api_drivers/display/`. They were present in 0.13.0 and earlier (that is why 0.7.x boots).\n\nRoot cause: a build/freeze regression between 0.13.0 (works) and 0.14.1 (broken), most likely from a `lvgl_micropython` submodule bump or a change in how the display drivers get frozen for the esp32s3 target.\n\n## Step-by-step fix\n\n1. **Reproduce** on any 0.14.1 esp32s3 build: at the REPL, `import drivers.display.st7789` raises ImportError while `import lcd_bus` and `import lvgl` succeed.\n2. **Locate the regression.** Diff the build between the last-good release (0.13.0) and 0.14.1, focusing on:\n   - the `lvgl_micropython` submodule commit (a bump is the most likely culprit),\n   - the esp32s3 `make.py` invocation in `scripts/build_mpos.sh` (whether a display driver is passed / how api_drivers get frozen),\n   - `manifests/manifest.py`.\n   Something in that set stopped freezing `api_drivers/common_api_drivers/display/` (which freezes as `drivers.display.*` plus `display_driver_framework`).\n3. **Restore the freeze.** Ensure `drivers.display.st7789` and `display_driver_framework` are frozen into the esp32s3 image again, exactly as in 0.13.0. Both `fri3d_2024.py` and `fri3d_2026.py` import `drivers.display.st7789`, so both boards need it.\n4. **Rebuild and republish.** Build a fixed esp32s3 OTA (e.g. 0.14.2), publish the `.ota` to `updates.micropythonos.com`, and update the per-hardware `osupdate_\u003chardware_id\u003e.json` manifest to point at it.\n5. **Verify on hardware.** OTA a Fri3d 2024 and a Fri3d 2026 badge and confirm it boots to the UI (no black screen), and that `import drivers.display.st7789` works at the REPL.\n\n## Secondary (not the cause, but worth a look)\n\nMy badge is a **Fri3d 2024**, yet 0.14.1 logged `Initializing fri3d_2026 hardware`. That points to a possible board-misdetection in 0.14.x (`detect_board()` distinguishes the boards by IMU I2C address: 0x6A -\u003e 2026, 0x6B -\u003e 2024). This does not cause the black screen (a correctly-detected 2024 hits the same missing `st7789` import), but the misdetection is worth verifying while the display fix is in.\n\n## How it was captured\n\nBoot log captured over USB serial at 115200 during the OTA attempt, with an auto-reconnecting reader to survive the reboot into the new image.\n","author":{"url":"https://github.com/jnuyens","@type":"Person","name":"jnuyens"},"datePublished":"2026-07-06T21:30:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/186/MicroPythonOS/issues/186"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:fc5a6ed9-485c-4771-81d3-cf79dfdd3279
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA204:383777:3E304F7:568E75D:6A4F5375
html-safe-noncef51f1becdbe803db1020d0b7e6a05ce15230db55917c60e3073071185f89acf1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjA0OjM4Mzc3NzozRTMwNEY3OjU2OEU3NUQ6NkE0RjUzNzUiLCJ2aXNpdG9yX2lkIjoiMTQyOTk2MTY5NzQzOTczMjU5NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac183a896d14a9cb00b68cf7cc828bc79de8233e0894a7295129c86098ddbd51e6
hovercard-subject-tagissue:4823244315
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/MicroPythonOS/MicroPythonOS/186/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2d77d3fae845557241549330a0c9ced5c39f4a9a86f9fe9d5c590d6ad0b7a655/MicroPythonOS/MicroPythonOS/issues/186
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2d77d3fae845557241549330a0c9ced5c39f4a9a86f9fe9d5c590d6ad0b7a655/MicroPythonOS/MicroPythonOS/issues/186
og:image:altSummary The 0.14.1 esp32s3 OTA image black-screens on Fri3d badges. MicroPython boots fine, but mpos.main aborts during board init because the SPI display driver drivers.display.st7789 is not prese...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejnuyens
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
go-importgithub.com/MicroPythonOS/MicroPythonOS git https://github.com/MicroPythonOS/MicroPythonOS.git
octolytics-dimension-user_id213598128
octolytics-dimension-user_loginMicroPythonOS
octolytics-dimension-repository_id975472483
octolytics-dimension-repository_nwoMicroPythonOS/MicroPythonOS
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id975472483
octolytics-dimension-repository_network_root_nwoMicroPythonOS/MicroPythonOS
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/MicroPythonOS/MicroPythonOS/issues/186#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FMicroPythonOS%2FMicroPythonOS%2Fissues%2F186
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FMicroPythonOS%2FMicroPythonOS%2Fissues%2F186
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=MicroPythonOS%2FMicroPythonOS
Reloadhttps://github.com/MicroPythonOS/MicroPythonOS/issues/186
Reloadhttps://github.com/MicroPythonOS/MicroPythonOS/issues/186
Reloadhttps://github.com/MicroPythonOS/MicroPythonOS/issues/186
Please reload this pagehttps://github.com/MicroPythonOS/MicroPythonOS/issues/186
MicroPythonOS https://github.com/MicroPythonOS
MicroPythonOShttps://github.com/MicroPythonOS/MicroPythonOS
Notifications https://github.com/login?return_to=%2FMicroPythonOS%2FMicroPythonOS
Fork 82 https://github.com/login?return_to=%2FMicroPythonOS%2FMicroPythonOS
Star 737 https://github.com/login?return_to=%2FMicroPythonOS%2FMicroPythonOS
Code https://github.com/MicroPythonOS/MicroPythonOS
Issues 23 https://github.com/MicroPythonOS/MicroPythonOS/issues
Pull requests 7 https://github.com/MicroPythonOS/MicroPythonOS/pulls
Discussions https://github.com/MicroPythonOS/MicroPythonOS/discussions
Actions https://github.com/MicroPythonOS/MicroPythonOS/actions
Projects https://github.com/MicroPythonOS/MicroPythonOS/projects
Security and quality 0 https://github.com/MicroPythonOS/MicroPythonOS/security
Insights https://github.com/MicroPythonOS/MicroPythonOS/pulse
Code https://github.com/MicroPythonOS/MicroPythonOS
Issues https://github.com/MicroPythonOS/MicroPythonOS/issues
Pull requests https://github.com/MicroPythonOS/MicroPythonOS/pulls
Discussions https://github.com/MicroPythonOS/MicroPythonOS/discussions
Actions https://github.com/MicroPythonOS/MicroPythonOS/actions
Projects https://github.com/MicroPythonOS/MicroPythonOS/projects
Security and quality https://github.com/MicroPythonOS/MicroPythonOS/security
Insights https://github.com/MicroPythonOS/MicroPythonOS/pulse
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.