Merge lp://staging/~morphis/goget-ubuntu-touch/add-turbo-bootstrap-support into lp://staging/goget-ubuntu-touch
Status: | Merged |
---|---|
Approved by: | Ćukasz Zemczak |
Approved revision: | 239 |
Merged at revision: | 229 |
Proposed branch: | lp://staging/~morphis/goget-ubuntu-touch/add-turbo-bootstrap-support |
Merge into: | lp://staging/goget-ubuntu-touch |
Diff against target: |
129 lines (+74/-9) 2 files modified
devices/fastboot.go (+7/-0) ubuntu-device-flash/touch.go (+67/-9) |
To merge this branch: | bzr merge lp://staging/~morphis/goget-ubuntu-touch/add-turbo-bootstrap-support |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alfonso Sanchez-Beato | Approve | ||
Sergio Schvezov | Approve | ||
Alex Tu (community) | Needs Fixing | ||
Review via email: mp+291583@code.staging.launchpad.net |
Commit message
Add bootstrap support for turbo/frieza/cooler devices
The bootloader on turbo/frieza/cooler does not have support for fastboot format <partition> or fastboot boot <image>. Therefor we have to workaround this by using a OEM specific bootloader command to reboot into recovery and adjusting the cleanup of the /cache partition before we push any files.
Also this adds an alias for turbo which is named "smdk" from the bootloader which can't be changed anymore on our production devices.
Description of the change
Corresponding MP for turbo to add the new "format cache" command can be found at https:/
Opened this for a first discussion if we want to add device specific quirks this way.
verified the prebuilt one [1] and it works fine on latest engineer mode recovery which enabled adb[2] by command: touch/rc- proposed/ meizu.en --recovery- image=$ {the-recovery[ 2]}.img --bootstrap --device turbo
$ ubuntu-device-flash touch --channel ubuntu-
[1] https:/ /private- fileshare. canonical. com/~morphis/ ubuntu- device- flash /git.launchpad. net/~device- release/ turbo/+ git/recovery/ plain/recovery. img
[2] https:/