Skip to content

Commit

Permalink
images/balena-image-initramfs: Install migrate dependencies in initramfs
Browse files Browse the repository at this point in the history
In order to run the migrate script succesfully, the tools
used by resin-init-flasher script need to exist in the initramfs.

Signed-off-by: Alexandru Costache <alexandru@balena.io>
  • Loading branch information
acostach committed Nov 28, 2024
1 parent dd18657 commit 5073c2c
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ PACKAGE_INSTALL:append = " kernel-module-pcie-tegra194 "
PACKAGE_INSTALL:append = " nv-kernel-module-pcie-tegra-vf "
PACKAGE_INSTALL:append = " kernel-module-nvme "
PACKAGE_INSTALL:append = " kernel-module-phy-tegra194-p2u"

# The three packages below are needed if flashing is
# performed in the initramfs, for example in the case
# where a NVME is flashed directly with the flasher image
# and booted.
# NOTE: We assume only the NVME will be previsioned in
# this case, because the default firmware doesn't
# allow access to the QSPI, but install the qspi driver
# in case it is accessible
PACKAGE_INSTALL:append = " mtd-utils fatrw gptfdisk kernel-module-spi-tegra210-quad"
PACKAGE_INSTALL:append:jetson-orin-nx-seeed-j4012 = " initramfs-module-nvme-wait"

# Below modules are needed for the AGX Orin 64GB to
Expand Down

0 comments on commit 5073c2c

Please sign in to comment.