コード例 #1
0
ファイル: board_machine.py プロジェクト: sjg20/tbot
 def do_boot(self, ub: board.UBootShell) -> channel.Channel:
     ub.exec0("echo", "Booting linux ...")
     ub.exec0("echo", "[  0.000]", "boot: message")
     ub.exec0("echo", "[  0.013]", "boot: info")
     ub.exec0("echo", "[  0.157]", "boot: message")
     return ub.boot(
         board.Raw(
             "printf 'tb-login: '******'Password: '******'root' && $password = '******' ]] || exit 1"
         )
     )
コード例 #2
0
ファイル: board_machine.py プロジェクト: sjg20/tbot
 def do_boot(self, ub: board.UBootShell) -> channel.Channel:
     ub.exec0("echo", "Booting linux ...")
     ub.exec0("echo", "[  0.000]", "boot: message")
     ub.exec0("echo", "[  0.013]", "boot: info")
     ub.exec0("echo", "[  0.157]", "boot: message")
     ub.exec0("export", "HOME=/tmp")
     return ub.boot(
         board.Raw(
             "printf 'tb-login: '******'root' ]] || exit 1"
         )
     )
コード例 #3
0
ファイル: wandboard.py プロジェクト: EmbLux-Kft/tbot-tbot2go
 def do_boot(self, ub: board.UBootShell) -> channel.Channel:
     self.uboot.do_set_env(self, ub)
     return ub.boot("run", "bootcmd")