Closed
Bug 1104000
Opened 11 years ago
Closed 10 years ago
Option to flash bootloader for Flame device full flash
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: gerard-majax, Unassigned)
References
Details
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•11 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)
Comment 2•11 years ago
|
||
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•11 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)
Comment 4•11 years ago
|
||
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•11 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•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•