Support lt version of mx51evk hwpack along with non-lt version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Image Tools |
Fix Released
|
Medium
|
Mattias Backman |
Bug Description
The landing team version of mx51evk hwpack has to include the packaged kernel based on Freescale's BSP, as well as other packages. Due to the kernel flavor name difference (linaro-mx51 vs linaro-lt-mx5), linaro-image-tools is currently unable to support both hwpacks.
Lool suggested a preferred list of kernels:
<lool> ericm|ubuntu: Here's the rationale: currently we use a static filename or regexp to find the kernel to install, if we find more than one linaro-image-tools break (that's a reported bug I think); if you have multiple kernels installed, the behavior is also not specified
<lool> ericm|ubuntu: What I would propose is that we keep list of preferred kernels and process them in order
<lool> for instance, "omap4, omap" would cause omap4 to be tried first, then omap to be tried
we would use comparable lists in linaro-image-tools and flash-kernel
For your LT case, the Mx51BoardConfig would say "kernel_flavors = lt-mx51, mx51, mx5" or something like that
Related branches
- Loïc Minier (community): Approve
- James Westby (community): Approve
- Guilherme Salgado: Pending requested
-
Diff: 346 lines (+104/-56)3 files modifiedlinaro_image_tools/hwpack/packages.py (+1/-1)
linaro_image_tools/media_create/boards.py (+60/-51)
linaro_image_tools/media_create/tests/test_media_create.py (+43/-4)
Changed in linaro-image-tools: | |
milestone: | none → 0.5.0 |
milestone: | 0.5.0 → 0.4.4 |
Changed in linaro-image-tools: | |
assignee: | nobody → Mattias Backman (mabac) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in linaro-image-tools: | |
status: | In Progress → Fix Committed |
Changed in linaro-image-tools: | |
status: | Fix Committed → Fix Released |
Would also fix bug #645536