# Not able to run development mode on Jetson Nano

**URL:** <https://forums.balena.io/t/not-able-to-run-development-mode-on-jetson-nano/352029>\
**Category:** balenaOS\
**Tags:** jetson\
**Created:** [February 8, 2022, 4:58pm UTC](https://forums.balena.io/t/not-able-to-run-development-mode-on-jetson-nano/352029 "2022-02-08T16:58:33Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![smithandrewc](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@smithandrewc](https://forums.balena.io/u/smithandrewc)\
**Post date:** [February 8, 2022, 4:58pm UTC](https://forums.balena.io/t/not-able-to-run-development-mode-on-jetson-nano/352029/1 "2022-02-08T16:58:33Z")

</div>

Hi,

I’ve recently built a stock jetson-nano-emmc image from master of [balena-jetson](https://github.com/balena-os/balena-jetson) using the command `./balena-yocto-scripts/build/barys -d -k -m jetson-nano-emmc`. The build compiles properly and I’m able to deploy to a nano (using jetson-flash). However, when it boots up, the balena dashboard shows it as “Production”. When I run `cat /mnt/boot/config.json | jq` I don’t see anything about development. When I compare the boot log of an image compiled without the “-d” flag, I do see a more verbose kernel boot log. However, the “-d” image isn’t listed as a Development image in the dashboard and the serial console is not enabled.

Anyone have any suggestions of things to try? I’ve tried forcing the append of the DISTRO\_FEATURES “osdev-image” (thinking maybe the OS\_DEVELOPMENT flag wasn’t being set) but that made no difference. Something else to try?

Thanks,

Andrew

---

<div class="post-metadata">

**Author:** ![andrewnhem](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/andrewnhem/32/4284_2.png) [@andrewnhem](https://forums.balena.io/u/andrewnhem)\
**Post date:** [February 8, 2022, 5:49pm UTC](https://forums.balena.io/t/not-able-to-run-development-mode-on-jetson-nano/352029/2 "2022-02-08T17:49:02Z")

</div>

Hello, Andrew. Andrew here.

I need to brush up on my CLI skills, but when I want a dev device, I provision it as such via the dashboard.

If I want to hack on a production device, I like to use local mode: [Develop locally - Balena Documentation](https://www.balena.io/docs/learn/develop/local-mode/)

Have you tried local mode on that Jetson Nano? Let me know how that goes or if I’m off-target on my recommendation here! 🙂

---

<div class="post-metadata">

**Author:** ![smithandrewc](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@smithandrewc](https://forums.balena.io/u/smithandrewc)\
**Post date:** [February 8, 2022, 6:22pm UTC](https://forums.balena.io/t/not-able-to-run-development-mode-on-jetson-nano/352029/4 "2022-02-08T18:22:34Z")

</div>

Thanks for the suggestion Andrew but local mode isn’t available for me, the tool tip says that “Local mode is only supported on development OS versions”, which is exactly what I’m trying to build and deploy. I’ve never used local mode before but I don’t think it’ll fit my use case, I want to deploy these images to a fleet but I want some debugging features (like the system console) available.

Thanks for trying,

Andrew

---

<div class="post-metadata">

**Author:** ![Langhalsdino](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/langhalsdino/32/3039_2.png) [@Langhalsdino](https://forums.balena.io/u/Langhalsdino)\
**Post date:** [February 11, 2022, 2:08pm UTC](https://forums.balena.io/t/not-able-to-run-development-mode-on-jetson-nano/352029/5 "2022-02-11T14:08:29Z")

</div>

Hi @smithandrewc,  
i face the same challenge. Did you figure out how to solve it?

---

<div class="post-metadata">

**Author:** ![smithandrewc](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@smithandrewc](https://forums.balena.io/u/smithandrewc)\
**Post date:** [February 11, 2022, 2:22pm UTC](https://forums.balena.io/t/not-able-to-run-development-mode-on-jetson-nano/352029/6 "2022-02-11T14:22:13Z")

</div>

Hi @Langhalsdino, unfortunately no. I still haven’t resolved it. I’ll probably spend some time on it this weekend and see what I can find. I’ll report back here any findings.

Thanks.

---

<div class="post-metadata">

**Author:** ![dtischler](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/dtischler/32/2483_2.png) [@dtischler](https://forums.balena.io/u/dtischler)\
**Post date:** [February 11, 2022, 9:32pm UTC](https://forums.balena.io/t/not-able-to-run-development-mode-on-jetson-nano/352029/7 "2022-02-11T21:32:45Z")

</div>

I built a device from source last evening (an unsupported device type) and I used the `-d` flag, and once I got the device online (I had to masquerade as a different device with a recognized slug), it did indeed show as Development version of the OS. So I am wondering if something has changed … @alexgg could the recent work on merging of Dev and Prod images have an impact here when running local builds, even though these users are both passing the `-d` flag to barys?

---

<div class="post-metadata">

**Author:** ![alexgg](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@alexgg](https://forums.balena.io/u/alexgg)\
**Post date:** [February 15, 2022, 12:08pm UTC](https://forums.balena.io/t/not-able-to-run-development-mode-on-jetson-nano/352029/8 "2022-02-15T12:08:27Z")

</div>

The master branch of the `balena-jetson` repository is currently using `balena-yocto-scripts` at `v1.17.0`. This version correctly sets the `OS_DEVELOPMENT` variable when the `-d` flag is passed to barys. I can’t comment on the original problem as there is not enough versioning details in the thread, but it is likely that the `balena-yocto-scripts` version in used was not updated.

---

<div class="post-metadata">

**Author:** ![Langhalsdino](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/langhalsdino/32/3039_2.png) [@Langhalsdino](https://forums.balena.io/u/Langhalsdino)\
**Post date:** [February 19, 2022, 2:56pm UTC](https://forums.balena.io/t/not-able-to-run-development-mode-on-jetson-nano/352029/10 "2022-02-19T14:56:26Z")

</div>

Hi Alexgg,

thank you for pointing this out to me. Yes, i was stuck on v1.15.8 from last November. Switching to v1.17.1 is probably helping.

I will flash a new image on monday and see if it helped 🙂

Side Node: Your yocto book helped me getting comfortable with yocto project.

---

<div class="post-metadata">

**Author:** ![alexgg](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@alexgg](https://forums.balena.io/u/alexgg)\
**Post date:** [February 21, 2022, 10:37am UTC](https://forums.balena.io/t/not-able-to-run-development-mode-on-jetson-nano/352029/11 "2022-02-21T10:37:04Z")

</div>

> Side Node: Your yocto book helped me getting comfortable with yocto project.

I am glad it is still helpful. Let us know how updating `balena-yocto-scripts` go.

---

<div class="post-metadata">

**Author:** ![smithandrewc](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@smithandrewc](https://forums.balena.io/u/smithandrewc)\
**Post date:** [February 22, 2022, 2:22pm UTC](https://forums.balena.io/t/not-able-to-run-development-mode-on-jetson-nano/352029/12 "2022-02-22T14:22:44Z")

</div>

Thanks @alexgg. However, I can confirm that I was building with the balena-yocto-scripts at v1.17.0 (commit f33225d87feff1a4e9b95ca7704c9b7ec27d6d61). What versioning information would you like to help debug? I’m going to sync up the repos now, try rebuilding and see if it helps.

Thanks.

---

<div class="post-metadata">

**Author:** ![alexgg](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@alexgg](https://forums.balena.io/u/alexgg)\
**Post date:** [February 22, 2022, 2:55pm UTC](https://forums.balena.io/t/not-able-to-run-development-mode-on-jetson-nano/352029/13 "2022-02-22T14:55:05Z")

</div>

It could be that you were building with a `conf/local.conf` that was created by an older version. In that case, barys won’t update it so the `OS_DEVELOPMENT` variable wouldn’t be set.  
Please check whether your `conf/local.conf` file contains an `OS_DEVELOPMENT` variable, and if not either just add it or re-create the build directory from scratch.

---

<div class="post-metadata">

**Author:** ![smithandrewc](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@smithandrewc](https://forums.balena.io/u/smithandrewc)\
**Post date:** [February 22, 2022, 2:59pm UTC](https://forums.balena.io/t/not-able-to-run-development-mode-on-jetson-nano/352029/14 "2022-02-22T14:59:51Z")

</div>

Thanks, I confirmed that OS\_DEVELOPMENT is there.

```auto
# Set this to 1 to disable quiet boot and allow bootloader shell access
OS_DEVELOPMENT = "1"

```

I’m rebuilding the image right now, it’s almost done. Once finished I will reflash and see if it works. Thanks.

---

<div class="post-metadata">

**Author:** ![smithandrewc](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@smithandrewc](https://forums.balena.io/u/smithandrewc)\
**Post date:** [February 22, 2022, 3:19pm UTC](https://forums.balena.io/t/not-able-to-run-development-mode-on-jetson-nano/352029/15 "2022-02-22T15:19:50Z")

</div>

OK still an issue. I can see a pretty verbose kernel boot log but the console isn’t available (no prompt from username, etc) and it still shows up as “Production”. Suggestions on things to check? Thanks.

![image](https://global.discourse-cdn.com/balena/original/2X/4/4ae1f82e22340eda9f8d19e7615b08c8c07440e3.png)

---

<div class="post-metadata">

**Author:** ![Langhalsdino](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/langhalsdino/32/3039_2.png) [@Langhalsdino](https://forums.balena.io/u/Langhalsdino)\
**Post date:** [February 22, 2022, 4:21pm UTC](https://forums.balena.io/t/not-able-to-run-development-mode-on-jetson-nano/352029/16 "2022-02-22T16:21:46Z")

</div>

Its the same on my site, i still build images that are production images.

---

<div class="post-metadata">

**Author:** ![dtischler](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/dtischler/32/2483_2.png) [@dtischler](https://forums.balena.io/u/dtischler)\
**Post date:** [February 22, 2022, 6:18pm UTC](https://forums.balena.io/t/not-able-to-run-development-mode-on-jetson-nano/352029/17 "2022-02-22T18:18:21Z")

</div>

@acostach @alexgg Could this be something that is Jetson-repo specific? I built a custom Raspberry Pi image yesterday, and using the `-d` flag was enough for me to get a login terminal on HDMI and `.dev` in balenaCloud. Thanks!

---

<div class="post-metadata">

**Author:** ![Langhalsdino](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/langhalsdino/32/3039_2.png) [@Langhalsdino](https://forums.balena.io/u/Langhalsdino)\
**Post date:** [February 22, 2022, 8:33pm UTC](https://forums.balena.io/t/not-able-to-run-development-mode-on-jetson-nano/352029/18 "2022-02-22T20:33:37Z")

</div>

Furthermore, it might be emmc specific, since @smithandrewc and I are using the jetson nano emmc and jetson xavier nx emmc with the jetson-flash repo tooling by balena.

---

<div class="post-metadata">

**Author:** ![acostach](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@acostach](https://forums.balena.io/u/acostach)\
**Post date:** [February 23, 2022, 12:09pm UTC](https://forums.balena.io/t/not-able-to-run-development-mode-on-jetson-nano/352029/19 "2022-02-23T12:09:37Z")

</div>

Hi @Langhalsdino , can you please try set “developmentMode”:“true” in your /mnt/boot/config.json? You can do this at runtime on the device

---

<div class="post-metadata">

**Author:** ![smithandrewc](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@smithandrewc](https://forums.balena.io/u/smithandrewc)\
**Post date:** [February 23, 2022, 8:21pm UTC](https://forums.balena.io/t/not-able-to-run-development-mode-on-jetson-nano/352029/20 "2022-02-23T20:21:31Z")

</div>

Hi @acostach, thanks for the suggestion. I modified the config.json file and I can confirm that it does go into development mode and a serial console is now available. Before I start searching, any idea where in the source code is that flag set?

Thanks.

---

<div class="post-metadata">

**Author:** ![Langhalsdino](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/langhalsdino/32/3039_2.png) [@Langhalsdino](https://forums.balena.io/u/Langhalsdino)\
**Post date:** [February 24, 2022, 1:11pm UTC](https://forums.balena.io/t/not-able-to-run-development-mode-on-jetson-nano/352029/21 "2022-02-24T13:11:27Z")

</div>

The suggested way works for me too 🙂

---

<div class="post-metadata">

**Author:** ![smithandrewc](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@smithandrewc](https://forums.balena.io/u/smithandrewc)\
**Post date:** [February 24, 2022, 4:59pm UTC](https://forums.balena.io/t/not-able-to-run-development-mode-on-jetson-nano/352029/22 "2022-02-24T16:59:20Z")

</div>

I think I’ve pinpointed the issue, maybe I’m using the tool wrong.

After compiling the image with the “-d” flag, I confirmed in the balena-image-jetson-nano-emmc.balenaos-img file (in partition 12) that the config.json reads:

```auto
{
  "developmentMode": true,
  "deviceType": "jetson-nano-emmc",
  "localMode": true,
  "persistentLogging": false
}

```

However, after I run

```auto
balena os configure --fleet <my fleet> build/tmp/deploy/images/jetson-nano-emmc/balena-image-jetson-nano-emmc.balenaos-img

```

which configures the image to connect to my fleet (with wifi), the config.json file has been altered significantly (which is expected) but I don’t see “developmentMode”: true.

```auto
{
  "applicationId": <app id>,
  "deviceType": "jetson-nano-emmc",
  "userId": <user id>,
  "appUpdatePollInterval": 600000,
  "listenPort": 48484,
  "vpnPort": 443,
  "apiEndpoint": "https://api.balena-cloud.com",
  "vpnEndpoint": "vpn.balena-cloud.com",
  "registryEndpoint": "registry2.balena-cloud.com",
  "deltaEndpoint": "https://delta.balena-cloud.com",
  "mixpanelToken": <some token>,
  "wifiSsid": <my ssid>,
  "wifiKey": <my key>,
  "apiKey": <my api>,
  "files": {
    "network/network.config": "<some network info>"
  }
}

```

Is there something wrong with my deployment procedure (i.e. compile, configure image for my fleet, write image to device, connect)?

Thanks.

[Next page](https://forums.balena.io/t/not-able-to-run-development-mode-on-jetson-nano/352029.md?page=2)
