Hi,
I recently compiled my own BalenaOS image from source for the Jetson TX2 and add my own application data (balena os configure --app myApp). Upon completion, I flashed resulting image (balena-image-jetson-tx2.balenaos-img) to the TX2 over USB using the jetson-flash tool (version 0.5.9).
Everything flashes properly but upon boot I see the following on the serial console
[ 0.000000] Booting Linux on physical CPU 0x100
[ 0.000000] Linux version 4.9.140-l4t-r32.4 (oe-user@oe-host) (gcc version 9.3.0 (GCC) ) #1 SMP PREEMPT Tue Oct 27 20:38:55 UTC 2020
[ 0.000000] Boot CPU: AArch64 Processor [411fd073]
[ 0.000000] OF: fdt:memory scan node memory@80000000, reg size 80,
[ 0.000000] OF: fdt: - 80000000 , 70000000
[ 0.000000] OF: fdt: - f0200000 , 185600000
[ 0.000000] OF: fdt: - 275e00000 , 200000
[ 0.000000] OF: fdt: - 276600000 , 200000
[ 0.000000] OF: fdt: - 277000000 , 200000
[ 0.000000] earlycon: uart8250 at MMIO32 0x0000000003100000 (options '')
[ 0.000000] bootconsole [uart8250] enabled
[ 0.531269] pca953x 0-0074: failed reading register
[ 0.537180] pca953x 0-0077: failed reading register
[ 1.201016] tegradc 15210000.nvdisplay: dc_hdmi_hotplug_init: couldn't get regulator vdd_hdmi_5v0, -517
[ 0.531269] pca953x 0-0074: failed reading register
[ 0.537180] pca953x 0-0077: failed reading register
[ 1.201016] tegradc 15210000.nvdisplay: dc_hdmi_hotplug_init: couldn't get regulator vdd_hdmi_5v0, -517
[ 1.411684] tegradc 15210000.nvdisplay: hdmi: edid read failed
[ 1.411684] tegradc 15210000.nvdisplay: hdmi: edid read failed
[ 1.415863] FAN: coudln't get the regulator
[ 1.415863] FAN: coudln't get the regulator
[ 1.485807] ina3221x 0-0042: ina3221 reset failure status: 0xffffff87
[ 1.485807] ina3221x 0-0042: ina3221 reset failure status: 0xffffff87
[ 1.487247] ina3221x 0-0043: ina3221 reset failure status: 0xffffff87
[ 1.487247] ina3221x 0-0043: ina3221 reset failure status: 0xffffff87
Starting version 244.3+
[ 6.574945] blk_update_request: I/O error, dev mmcblk0rpmb, sector 0
[ 6.646846] blk_update_request: I/O error, dev mmcblk0rpmb, sector 0
[ 7.533700] EXT4-fs (mmcblk0p25): couldn't mount as ext3 due to feature incompatibilities
[ 7.543013] EXT4-fs (mmcblk0p25): couldn't mount as ext2 due to feature incompatibilities
[ 8.326463] cgroup: cgroup2: unknown option "nsdelegate"
[ 8.888249] systemd[1]: /etc/systemd/system/bluetooth.service.d/bluetooth.conf:6: Neither a valid executable name nor an absolute path: pkglibexecdir@/bluetoothd
[ 23.630362] mmc1: Timeout waiting for hardware cmd interrupt.
[ 23.636105] sdhci: =========== REGISTER DUMP (mmc1)===========
[ 23.641932] sdhci: Sys addr: 0x00000000 | Version: 0x00000404
[ 23.647758] sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000
[ 23.653582] sdhci: Argument: 0x80062000 | Trn mode: 0x00000000
[ 23.659406] sdhci: Present: 0x01fb00f1 | Host ctl: 0x00000001
[ 23.665230] sdhci: Power: 0x00000000 | Blk gap: 0x00000000
[ 23.671056] sdhci: Wake-up: 0x00000000 | Clock: 0x00000403
[ 23.676881] sdhci: Timeout: 0x00000000 | Int stat: 0x00000000
[ 23.682706] sdhci: Int enab: 0x00ff1003 | Sig enab: 0x00fc1003
[ 23.688530] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 23.694355] sdhci: Caps: 0x3f6cd08c | Caps_1: 0x18006f73
[ 23.700180] sdhci: Cmd: 0x0000341a | Max curr: 0x00000000
[ 23.706001] sdhci: Host ctl2: 0x00003000
[ 23.709920] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000f7d00410
[ 23.716477] sdhci: ===========================================
[ 23.726406] vdd-1v8: voltage operation not allowed
[ 23.731224] sdhci-tegra 3440000.sdhci: could not set regulator OCR (-1)
[ 23.747961] sdhci-tegra 3440000.sdhci: Auto calibration timed out
[ 23.754363] mmc1: Got command interrupt 0x00010001 even though no command operation was in progress.
[ 23.763480] sdhci: =========== REGISTER DUMP (mmc1)===========
[ 23.769305] sdhci: Sys addr: 0x00000000 | Version: 0x00000404
[ 23.775130] sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000
[ 23.780955] sdhci: Argument: 0x80062000 | Trn mode: 0x00000000
[ 23.786781] sdhci: Present: 0x01fb0000 | Host ctl: 0x00000000
[ 23.792607] sdhci: Power: 0x00000001 | Blk gap: 0x00000000
[ 23.798432] sdhci: Wake-up: 0x00000000 | Clock: 0x00000407
[ 23.804256] sdhci: Timeout: 0x00000000 | Int stat: 0x00000000
[ 23.810079] sdhci: Int enab: 0x00ff1003 | Sig enab: 0x00fc1003
[ 23.815903] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 23.821728] sdhci: Caps: 0x3f6cd08c | Caps_1: 0x18006f73
[ 23.827552] sdhci: Cmd: 0x0000341a | Max curr: 0x00000000
[ 23.833374] sdhci: Host ctl2: 0x00003008
[ 23.837293] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000f7d00410
[ 23.843850] sdhci: ===========================================
[ 23.849933] vdd-1v8: voltage operation not allowed
[ 23.854744] sdhci-tegra 3440000.sdhci: could not set regulator OCR (-1)
[ 23.879337] vdd-1v8: voltage operation not allowed
[ 23.884139] sdhci-tegra 3440000.sdhci: could not set regulator OCR (-1)
[ 23.893127] vdd-1v8: voltage operation not allowed
[ 23.897932] sdhci-tegra 3440000.sdhci: could not set regulator OCR (-1)
And it basically remains there, it never registers to the cloud. I’m not sure if the kernel is halting or if it’s just a network connection problem (ethernet is on board and wifi is configured current balena provisioning). What’s the best way to debug?
Thanks,
Andrew