Obtain test boot partition from config
Bug #1174179 reported by
Senthil Kumaran S
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LAVA Dispatcher |
Fix Released
|
Critical
|
Senthil Kumaran S |
Bug Description
Test boot partitions are different for some devices which needs to be taken into consideration to pull boot.txt or uEnv.txt in order to untangle boot commands. The test boot partition must be specified in the device specific config file for devices which has different partitions. This is important else, all jobs will fail.
Related branches
lp:~stylesen/lava-dispatcher/fix-bug-1174179
- Dave Pigott: Approve
-
Diff: 142 lines (+55/-16)3 files modifiedlava_dispatcher/config.py (+2/-0)
lava_dispatcher/default-config/lava-dispatcher/device-defaults.conf (+9/-0)
lava_dispatcher/device/master.py (+44/-16)
lp:~stylesen/lava-lab/fix-bug-1174179
- Dave Pigott: Approve
- Diff: 0 lines
Changed in lava-dispatcher: | |
status: | In Progress → Fix Committed |
Changed in lava-dispatcher: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Following the information provided by Dave Pigott:
<snip> defaults. conf we need
In device-
boot_device = 0
testboot_offset = 2
And the following exceptions need to be used:
arndale
boot_device = 1
testboot_offset = 3
imx53
testboot_offset = 3
origen
testboot_offset = 3
snowball
boot_device = 1
Then you need to take the occurrences of "0:2" (or whatever) and make the "0" into whatever boot_device is set to and add test boot_offset to the "2" (or whatever) part.
</snip>