-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement fastboot continue when omitting boot img from cdba command line #66
Conversation
@0xB0D just for the reference, meta-qcom's |
BTW, does this work with |
@lumag I tested it as either/or - either continue or the existing flow - however once you've continued once, you can subsequently repeat if the flag is set 8bf824b#diff-e2595c859cae197be14afcd161104e8383205cf6b64952b13114f0e6126f498fR552 |
@0xB0D Ack. |
@0xB0D "The base branch requires all commits to be signed." :-( |
@lumag sure I'll repost |
Add cdba-server side support for "fastboot continue" which allows fastboot to continue its default boot process. I find it useful to setup my boards with an additional SD card which I frequently use the default image on eMMC to chroot to and populate modules, rebooting into fastboot and subsequently booting via fastboot a rootfs on the SD card. Signed-off-by: Bryan O'Donoghue <[email protected]>
Add the ability to omit the image from the cdba call. In this case default to "fastboot continue" on the cdba-server side. Regular booting continues to work like this: cdba -b db410c -h benchtop-cdba ./qlt-kernel/build/square_5.x-tracking/boot_t2a.img New option to boot the default image a proxy for "fastboot continue" cdba -b db410c -h benchtop-cdba Signed-off-by: Bryan O'Donoghue <[email protected]>
@lumag signed |
One thing I find handy is being able to fastboot continue.
My typical workflow is compile/edit whatever then boot the default image on the target board, populate modules on either the rootfs or on a sd card, then reboot to fastboot again.
On the subsequent reboot fastboot into the rootfs with the kernel image I've compiled.
I find this a handy way to always have a default recovery image on the board I can boot.
This series makes the boot.img non-mandatory when invoking cdba.
In this case cdba will issue a new MSG_FASTBOOT_CONTINUE command to cdba-server.
Unsurprisingly MSG_FASTBOOT_CONTINUE => "fastboot continue" on the cdba-server side.
This still works ie "fastboot download; fastboot boot"
cdba -b db410c -h benchtop-cdba ./qlt-kernel/build/square_5.x-tracking/boot_t2a.img
If you drop the boot image though the flow is "fastboot continue"
cdba -b db410c -h benchtop-cdba
My test system
devices:
qcomlt_debug_board: /dev/serial/by-id/usb-Linaro_DebugBoard_68cb7c6b75a4451502020223236460ff-if00
console: /dev/serial/by-id/usb-Linaro_DebugBoard_68cb7c6b75a4451502020223236460ff-if02
name: "db410c"
fastboot: 1dcd2e70
fastboot_set_active: true
fastboot_key_timeout: 5