Skip to content

Add New AM62D Edgeai webserver interface - #206

Open
PrathamTI wants to merge 1 commit into
TexasInstruments:wrynose-nextfrom
PrathamTI:horizon-dev
Open

PrathamTI wants to merge 1 commit into
TexasInstruments:wrynose-nextfrom
PrathamTI:horizon-dev

Conversation

@PrathamTI

@PrathamTI PrathamTI commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

This commit introduces new webserver-oob interface with vuetify based demos and packages EdgeAI overlay for AM62D.

@PrathamTI
PrathamTI force-pushed the horizon-dev branch 2 times, most recently from 9497cee to ac81914 Compare August 6, 2026 09:31
@PrathamTI
PrathamTI force-pushed the horizon-dev branch 2 times, most recently from e0298b1 to d2e6317 Compare August 14, 2026 06:11

@cshilwant cshilwant left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

d2e6317 is missing Signed-off-by tag

Comment thread meta-ti-ml/recipes-core/images/tisdk-default-image.bbappend Outdated
Comment thread meta-ti-foundational/recipes-demos/webserver-oob/webserver-oob_git.bb Outdated
@yogeshhegde

Copy link
Copy Markdown
Collaborator

@PrathamTI this should be targeted towards branch wrynose-next (currently it is targeted to wrynose).

Also please submit the same changes for master-next branch

@PrathamTI
PrathamTI force-pushed the horizon-dev branch 2 times, most recently from 9c5edfa to cb07ee4 Compare August 19, 2026 10:36
Comment thread meta-ti-foundational/recipes-tisdk/tisdk-uenv/tisdk-uenv.bbappend
@PrathamTI
PrathamTI marked this pull request as ready for review August 25, 2026 05:10
@PrathamTI
PrathamTI force-pushed the horizon-dev branch 3 times, most recently from 7dac0f5 to eabf476 Compare September 4, 2026 10:06
@PrathamTI PrathamTI changed the title Add AM62D Edgeai overlay and new webserver interface Add New AM62D Edgeai webserver interface Sep 4, 2026
@PrathamTI
PrathamTI changed the base branch from wrynose to wrynose-next September 4, 2026 11:07
Comment thread meta-ti-foundational/recipes-demos/webserver-oob/webserver-oob_git.bb Outdated
Comment thread meta-ti-foundational/recipes-demos/webserver-oob/webserver-oob_git.bb Outdated
Comment thread meta-ti-foundational/recipes-demos/webserver-oob/webserver-oob_git.bb Outdated
Comment thread meta-ti-foundational/recipes-demos/webserver-oob/webserver-oob-frontend-npm.inc Outdated
Comment thread meta-ti-foundational/recipes-demos/webserver-oob/webserver-oob_git.bb Outdated
Comment thread meta-ti-foundational/recipes-demos/webserver-oob/webserver-oob_git.bb Outdated
Comment thread meta-ti-foundational/recipes-demos/webserver-oob/webserver-oob_git.bb Outdated
Comment thread meta-ti-foundational/recipes-demos/webserver-oob/webserver-oob_git.bb Outdated
Comment thread meta-ti-foundational/recipes-demos/webserver-oob/webserver-oob-frontend-npm.inc Outdated
Comment thread meta-ti-foundational/recipes-demos/webserver-oob/webserver-oob_git.bb Outdated
Comment thread meta-ti-foundational/recipes-demos/webserver-oob/webserver-oob_git.bb Outdated
# demos/ is a shared source directory covering every device's demos, not
# scoped per device upstream. Returns the demo directory names relevant device's
# device.json actually references, so do_install only ships those.
def get_active_demos(d):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this function is giving this build warning. Can you check once?

WARNING: Could not read //sources/no-pn-0.0-1/devices/am62dxx/device.json ([Errno 2] No such file or directory: '//sources/no-pn-0.0-1/devices/am62dxx/device.json'); no per-device demos will be installed

@PrathamTI PrathamTI Sep 15, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

get_active_demos() ran too early (before do_unpack) because it was called inline in do_install's shell script. Moved it to its own do_set_active_demos task after do_unpack, passed via ACTIVE_DEMOS

https://github.com/TexasInstruments/meta-tisdk/pull/206/changes#diff-e0765f77ed51a6acdce06350297f35cec67aefe9543717f3915e77833f17e1efR213

- Update webserver-oob_git.bb to build the vuetify-based frontend
  for am62dxx
- Add generate-frontend-inc.js and regenerate
  webserver-oob-frontend-npm.inc with the jszip dependency and full
  npm dependency set
- Install server-plugin.js alongside device.json for am62dxx: server.js
  resolves the plugin path via dirname(DEVICE_CONFIG), which on
  am62dxx is one level above app/, so server-plugin.js must be
  installed there too, otherwise routes like /model-inspector-list
  fall through to the SPA catch-all

Signed-off-by: Pratham Deshmukh <p-deshmukh@ti.com>
Co-authored-by: Vishnu Singh <v-singh1@ti.com>
SRC_URI:append:am62dxx = " ${FRONTEND_NPM_SRC_URI}"

SRCREV = "297f002e65c4eceb172706049f703bed7db4152e"
SRCREV:am62dxx = "80bf2c0f391e96430d8bad25c660d0e5482b572e"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a workaround. We shouldn't be having SRCREV overrides, for the same source repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants