Skip to content

Bootkick ship mode#2330

Merged
robbederks merged 3 commits intomasterfrom
ship-mode
Feb 16, 2026
Merged

Bootkick ship mode#2330
robbederks merged 3 commits intomasterfrom
ship-mode

Conversation

@elkoled
Copy link
Copy Markdown
Contributor

@elkoled elkoled commented Feb 12, 2026

Ship mode switches off VPH_PWR from PMI8998 to save power.
To bootkick out of ship mode, a rising edge on PMI8998 DC_IN is required.

Baseline: 18.56mA @ 12.01V - 223mW
Ship mode: 13.42mA @ 12.00V - 161mW

@elkoled elkoled changed the title Bootkick ship mode Bootkick QC ship mode Feb 12, 2026
@elkoled elkoled changed the title Bootkick QC ship mode Bootkick ship mode Feb 12, 2026
// open drain
set_gpio_output_type(GPIOD, 3, OUTPUT_TYPE_OPEN_DRAIN); // FAN_EN
set_gpio_output_type(GPIOC, 11, OUTPUT_TYPE_OPEN_DRAIN); // DC_IN_EN_N
set_gpio_output_type(GPIOC, 12, OUTPUT_TYPE_OPEN_DRAIN); // VBAT_EN
Copy link
Copy Markdown
Contributor

@adeebshihadeh adeebshihadeh Feb 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@robbederks looks like VBAT_EN is stale from old revs?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes can be cleaned up

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adeebshihadeh
Copy link
Copy Markdown
Contributor

LGTM, will let @robbederks merge

@robbederks robbederks merged commit a09005c into master Feb 16, 2026
6 checks passed
@robbederks robbederks deleted the ship-mode branch February 16, 2026 16:50
heysenbug pushed a commit to Ever-Cars/panda that referenced this pull request Mar 8, 2026
* add bootkick for ship mode

* boot standby

* comment
heysenbug added a commit to Ever-Cars/panda that referenced this pull request Mar 8, 2026
* single header for all drivers (commaai#2335)

* drivers.h, claude's try

* include from root

* fix mac

* organize a lil more

* Move system stuff to sys/ (commaai#2337)

* Move system stuff to sys/

* move power saving

* clean up

* cleanup unused defines in drivers.h (commaai#2336)

* Bootkick ship mode (commaai#2330)

* add bootkick for ship mode

* boot standby

* comment

* No more VBAT_EN (commaai#2339)

this pin is not connected anymore

* Reduce panda power usage (commaai#2340)

* add bootkick for ship mode

* boot standby

* comment

* stop mode

* fix som status

* exti wakeup

* all standby

* clean

* analog mode

* adc

* clean

* HSI

* stop only cuatro

* comments

* UM2331

* rm

* comment

* enforce SAFETY_SILENT

* clean

* misra

* rm

* disable pulls

* assert

* Revert "disable pulls"

This reverts commit 3b954b9.

* pull note

* add stop mode USB cmd

* add stop mode to HITL

* fix

* async stop mode request

* test all harness/ign configs

* more time

* use uptime

* print debug

* unstuck

* show prints

* more

* logger

* loglevel

* log

* uptime test

* tighter timing

* print wakeout source

* rm debug

* clean

* robust

* add CAN2

* test more cans

* clean

* more

* longer

* multiple

* more

* can1

* reorder

* normal

* clean

* partial

* clean

* test

* time

* delay

* reset

* setup

* reset

* revert

* silent

* fix ordering

* no random

* warnings

* err

* timings

* heartbeat

* time

* faster

* can1

* simpler

* test 20x

* put back random

* clean

* comment

* jenkinsfile

* final

* Remove python3 and gcc@13 installation for macOS (commaai#2343)

* sync device time before git checkout in CI (commaai#2344)

* vendor the compiler toolchain (commaai#2342)

* use vendored cppcheck from dependencies repo (commaai#2347)

* measure sound output level (commaai#2354)

* measure sound output level

* average instead

* this was wrong

* fix calc?

* try vu meter

* abs per buf

* more testing

* debug

* debug2

* debug3

* reset to 0

* fix parsing bug

* fix parsing bug

* this works

* minor cleanup

* fix misra

* docs

* Don't overflow the mic filter (commaai#2352)

don't overflow the filter

* Remove FINAL_PROVISIONING firmware variant (commaai#2358)

* Remove FINAL_PROVISIONING firmware path and CI usage

* Remove remaining FINAL_PROVISIONING references from CI

* why do i even try codex

* build system simplifications (commaai#2359)

* buidl system simplifications

* less j

* fix that

* make test_misra.sh a lil nicer to run

* Revert "make test_misra.sh a lil nicer to run"

This reverts commit 16a8e52.

* don't install spidev on PC (commaai#2360)

* don't install spidev on PC

* ugh base ubuntu

* install libusb from pip (commaai#2351)

* install libusb from pip

Use libusb-package to bundle libusb as a Python dependency instead of
requiring it as a system package. This simplifies setup on all platforms.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix agnos

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* document structs inline (commaai#2362)

* inline CAN docs

* document structs inline

* lil more

* mv crypto/ and certs/ into board/ (commaai#2363)

* run all tests in test.sh (commaai#2364)

* rm tres bootkick tests (commaai#2365)

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Daniel Koepping <elkoled@gmail.com>
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
mmoo758 added a commit to mmoo758/panda that referenced this pull request Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants