Option to flash bootloader for Flame device full flash

RESOLVED WONTFIX

Status

Firefox OS
General
RESOLVED WONTFIX
4 years ago
3 years ago

People

(Reporter: gerard, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
We should be able to flash the bootloader when doing a fullflash for Flame device (and others if provided).

Flashing this is just a matter of:
> $ fastboot flash aboot out/target/product/flame/bootloader

Bug 1103998 is about adding the bootloader in the fullflash zip.
(Reporter)

Comment 1

3 years ago
Askeing, can you help me here ? I had a look at the B2G-flash-tool repo, but I'm having some hard time understanding how I could add this kind of feature.
Flags: needinfo?(fyen)
For full-flashing, it have to modify the "flash.sh"[1] on https://github.com/mozilla-b2g/B2G repo.
I am not familiar with modifying the flash.sh, but I think you can just submit a Pull Request to B2G.

[1] https://github.com/mozilla-b2g/B2G/blob/master/flash.sh
Flags: needinfo?(fyen)
(Reporter)

Comment 3

3 years ago
(In reply to Askeing Yen[:askeing] from comment #2)
> For full-flashing, it have to modify the "flash.sh"[1] on
> https://github.com/mozilla-b2g/B2G repo.
> I am not familiar with modifying the flash.sh, but I think you can just
> submit a Pull Request to B2G.
> 
> [1] https://github.com/mozilla-b2g/B2G/blob/master/flash.sh

That's totally unrelated: I'm talking about flashing pvt builds with the code from B2G-flash-tool, which is too cryptic for me at the moment: adding arguments to be able to flash the bootloader, for instance.
Flags: needinfo?(fyen)
The full flashing (flash images) will unzip the image package which contains the "flash.sh", then execute it. This "flash.sh" file comes from B2G repo.
B2G-flash-tool can not control the process of full flashing images.
Flags: needinfo?(fyen)

Comment 5

3 years ago
B2G-flash-tool currently take role for wrapping flash.sh, sorts of logic to flash boot loader shouldn't be out of b2g repo, something like flash.sh gecko or flash gaia, flash tool can perform these only when flash.sh provides API.
(Reporter)

Updated

3 years ago
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.