Need to build the DT blob for Origen, Linux Linaro Tracking project in jenkins
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro CI |
Fix Released
|
Critical
|
Milo Casagrande | ||
Linaro Linux Baseline |
Fix Released
|
High
|
Andrey Konovalov |
Bug Description
In LAVA Origen is set up to use the device tree. The hwpack created by the CI job doesn't contain the dtb file. Hence the boot failure (http://
-----8<-----
ORIGEN # setenv bootcmd 'fatload mmc 0:5 0x40007000 uImage; fatload mmc 0:5 0x42000000 uInitrd; fatload mmc 0:5 0x41f00000 board.dtb; bootm 0x40007000 0x42000000 0x41f00000'
ORIGEN # setenv bootargs 'console=
ORIGEN # boot
reading uImage
3878424 bytes read
reading uInitrd
1532483 bytes read
reading board.dtb
** Unable to read "board.dtb" from mmc 0:5 **
<snip>
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
-----8<-----
The llct and the ll trees have the required change in the builddeb script. So adding the "make dtbs" step to the build_instructi
Related branches
- Andrey Konovalov (community): Approve
- Deepti B. Kalakeri (community): Approve
- Paul Sokolovsky: Pending requested
- Linaro Infrastructure: Pending requested
-
Diff: 15 lines (+1/-1)1 file modifiedjenkins_common_lib (+1/-1)
Changed in linaro-linux-baseline: | |
milestone: | none → 12.10 |
importance: | Undecided → High |
Changed in linaro-ci: | |
milestone: | none → 2012.10 |
importance: | Undecided → Critical |
assignee: | nobody → Milo Casagrande (milo) |
Changed in linaro-ci: | |
status: | New → Confirmed |
Changed in linaro-linux-baseline: | |
status: | New → In Progress |
assignee: | nobody → Andrey Konovalov (andrey-konovalov) |
Changed in linaro-ci: | |
status: | In Progress → Fix Committed |
Changed in linaro-linux-baseline: | |
status: | In Progress → Fix Released |
Hi Andrey, the lined branch adds support for a parametrized build (you will need to set a parameter in the CI job) in oder to use a further step in the compilation and run 'make dtbs'.
I have a question though: I was looking at the hwpack used by the LAVA job you pointed us, but that hardware pack does not contain any information about dtb file (if you open the hwpack and look at the metadata file, no DTB file is listed there). Is this supposed to be so for Origen hwpacks? The hwpack configuration file (both version 2 and the latest version 3) supports the definition of a DTB file that will be copied in the boot directory.
I guess the "make dtbs" is an extra step to compile the correct stuff and have a package with the DTB file included, that will be installed correctly. Is that all that is needed?