Use Case
When doing iterative development targeting physical hardware managed by Jumpstarter, I want to avoid the full flash-and-reboot cycle for every change. Instead, I want to:
- Flash a base image once
- Mount the device's filesystem locally
- Build and install directly to the mount
- Run tests
This dramatically shortens the edit-build-test loop by eliminating the reboot, which can take minutes depending on the hardware.
Desired Workflow
(rcar_s4) $ j storage flash --file ./my-remote-image.raw
(rcar_s4) $ mkdir -p /tmp/device-mnt
(rcar_s4) $ j mount /tmp/device-mnt
(rcar_s4) $ make
(rcar_s4) $ make install DESTDIR=/tmp/device-mnt
(rcar_s4) $ j tmt run --all
Why This Matters
For kernel and driver development on embedded targets (e.g., R-Car S4), a typical iteration involves:
- Changing a few source files
- Building (seconds with ccache)
- Re-flashing (only seconds with simg)
- Rebooting the device (minutes depending on the hardware) - this is the bottleneck
- Running tests
With j mount, the install step becomes a direct file copy to the device's filesystem.
Expected Behavior for j mount
- Exposes the storage as a locally mountable filesystem via sshfs
- Supports read-write access
- Works with standard tools (
make install, cp, rsync)
- Unmounts cleanly on session end or explicit
j umount
Use Case
When doing iterative development targeting physical hardware managed by Jumpstarter, I want to avoid the full flash-and-reboot cycle for every change. Instead, I want to:
This dramatically shortens the edit-build-test loop by eliminating the reboot, which can take minutes depending on the hardware.
Desired Workflow
Why This Matters
For kernel and driver development on embedded targets (e.g., R-Car S4), a typical iteration involves:
With
j mount, the install step becomes a direct file copy to the device's filesystem.Expected Behavior for
j mountmake install,cp,rsync)j umount