Skip to content

Commit

Permalink
Copy bootfiles from sdcard using network first
Browse files Browse the repository at this point in the history
Signed-off-by: Trecia Agoylo <[email protected]>
  • Loading branch information
tagoylo committed Jan 12, 2024
1 parent 497fc8d commit d19395a
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions nebula/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,15 @@ def board_reboot_auto(
sdcard=sdcard,
)
else:
if self.usbsdmux:
if sdcard:
self.board_reboot_uart_net_pdu(
system_top_bit_path=system_top_bit_path,
bootbinpath=bootbinpath,
uimagepath=uimagepath,
devtreepath=devtreepath,
sdcard=sdcard,
)
elif self.usbsdmux:
self.board_reboot_sdmux_pdu(
system_top_bit_path=system_top_bit_path,
bootbinpath=bootbinpath,
Expand All @@ -794,8 +802,7 @@ def board_reboot_auto(
system_top_bit_path=system_top_bit_path,
bootbinpath=bootbinpath,
uimagepath=uimagepath,
devtreepath=devtreepath,
sdcard=sdcard,
devtreepath=devtreepath
)

def shutdown_powerdown_board(self):
Expand Down

0 comments on commit d19395a

Please sign in to comment.