Merge lp://qastaging/~pfalcon/linaro-image-tools/snowball_dts_tweaks into lp://qastaging/linaro-image-tools/11.11

Proposed by Paul Sokolovsky
Status: Merged
Approved by: Milo Casagrande
Approved revision: 579
Merged at revision: 577
Proposed branch: lp://qastaging/~pfalcon/linaro-image-tools/snowball_dts_tweaks
Merge into: lp://qastaging/linaro-image-tools/11.11
Diff against target: 291 lines (+70/-22)
3 files modified
linaro_image_tools/media_create/android_boards.py (+6/-0)
linaro_image_tools/media_create/boards.py (+6/-2)
linaro_image_tools/media_create/tests/test_media_create.py (+58/-20)
To merge this branch: bzr merge lp://qastaging/~pfalcon/linaro-image-tools/snowball_dts_tweaks
Reviewer Review Type Date Requested Status
Milo Casagrande (community) Approve
Patrik Ryd Pending
Mathieu Poirier Pending
Zach Pfeffer Pending
Review via email: mp+129419@code.qastaging.launchpad.net

Description of the change

This implements ability to override initrd_high and fdt_high params on the level of AndroidBoardConfig, per associated bug report. That bugreport however doesn't contain specific values to use for Snowball, so defaults are still used.

To post a comment you must log in.
Revision history for this message
Patrik Ryd (patrik-ryd) wrote :

I guess we need different values for initrd_high and fdt_high for the stable_blob and the tracking_open build. I think we have to wait for a comment from Mathieu since he is the one that actually know all the details.

Revision history for this message
Milo Casagrande (milo) wrote :

Hi Paul,

apart from the default values to use, the changes look OK in order to add support for 'fdt_high' and 'initrd_high'.

There are though at least 20 tests failing with their introduction. Also, tests would need to be fixed with the correct values for the specific boards once we have them.

review: Needs Fixing
575. By Paul Sokolovsky

[merge] Merge form trunk.

Revision history for this message
Данило Шеган (danilo) wrote :

Mathieu emailed the following:

> This is what I have been working with:
>
> fdt_high=0x05000000
> initrd_high=0x06000000

576. By Paul Sokolovsky

Update tests for overridable values for 'initrd_high', 'fdt_high'.

577. By Paul Sokolovsky

Set actual values of fdt_high & initrd_high for Snowball, per Mathieu Poirier.

Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

Fixed tests.

Added values as quoted above by Danilo.

This should be ready now.

Revision history for this message
Milo Casagrande (milo) wrote :

Hi Paul,

I still get 3 errors when running the tests.
One is PEP8 related:

./linaro_image_tools/media_create/android_boards.py:209:15: E221 multiple spaces before operator
./linaro_image_tools/media_create/android_boards.py:223:15: E221 multiple spaces before operator

The other two are related to the new values introduced. They are:

linaro_image_tools.media_create.tests.test_media_create.TestGetBootCmdAndroid.test_android_snowball_sd
linaro_image_tools.media_create.tests.test_media_create.TestGetBootCmdAndroid.test_android_snowball_emmc

578. By Paul Sokolovsky

Update tests for actual Snowball values for fdt_high/initrd_high.

579. By Paul Sokolovsky

Fix pep8 "E221 multiple spaces before operator"

Note: PEP8 is unright about this.

Revision history for this message
Milo Casagrande (milo) wrote :

Thanks Paul for taking care of this!
Loogs great to go!

review: Approve
580. By Paul Sokolovsky

[merge] Merge from trunk.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches