How to reboot i.MX6 by MfgTool after burning firmware?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to reboot i.MX6 by MfgTool after burning firmware?

ソリューションへジャンプ
1,288件の閲覧回数
m_c
Senior Contributor I

Is there any command that can add in ucl.xml to reboot i.MX6 by MfgTool after burning firmware?

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 解決策
1,153件の閲覧回数
max_tsai
NXP Employee
NXP Employee

Saw your discussion with customer. Replied here.

Checked with L4.1.15.

In normal rootfs, reboot is /sbin/halt.sysvinit.

In initramfs, reboot is linked to /bin/busybox.nosuid

/bin/busybox.nosuid is not the real function of reboot. 

//normal rootfs

root@imx6slevk:~# /bin/busybox.nosuid
BusyBox v1.24.1 (2016-09-08 18:25:03 CDT) multi-call binary.
BusyBox is copyrighted by many authors between 1998-2015.
Licensed under GPLv2. See source distribution for detailed

root@imx6slevk:~# whereis reboot
reboot: /sbin/reboot /sbin/reboot.sysvinit
root@imx6slevk:~# ls -l /sbin/reboot.sysvinit
lrwxrwxrwx 1 root root 13 Sep 16 22:35 /sbin/reboot.sysvinit -> halt.sysvinit

//initramfs

UTP: sending Success to kernel for command $ whereis reboot.
utp_poll: pass returned.
UTP: received command '$ ls -l /sbin/reboot'
UTP: executing "ls -l /sbin/reboot"
lrwxrwxrwx 1 root root 19 May 10 2017 /sbin/reboot -> /bin/busybox.nosuid
UTP: sending Success to kernel for command $ ls -l /sbin/reboot.
utp_poll: pass returned.
UTP: received command '$ ls -l /bin/busybox.nosuid'
UTP: executing "ls -l /bin/busybox.nosuid"
-rwxr-xr-x 1 root root 548048 Apr 13 2017 /bin/busybox.nosuid
UTP: sending Success to kernel for command $ ls -l /bin/busybox.nosuid.
utp_poll: pass returned.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,154件の閲覧回数
max_tsai
NXP Employee
NXP Employee

Saw your discussion with customer. Replied here.

Checked with L4.1.15.

In normal rootfs, reboot is /sbin/halt.sysvinit.

In initramfs, reboot is linked to /bin/busybox.nosuid

/bin/busybox.nosuid is not the real function of reboot. 

//normal rootfs

root@imx6slevk:~# /bin/busybox.nosuid
BusyBox v1.24.1 (2016-09-08 18:25:03 CDT) multi-call binary.
BusyBox is copyrighted by many authors between 1998-2015.
Licensed under GPLv2. See source distribution for detailed

root@imx6slevk:~# whereis reboot
reboot: /sbin/reboot /sbin/reboot.sysvinit
root@imx6slevk:~# ls -l /sbin/reboot.sysvinit
lrwxrwxrwx 1 root root 13 Sep 16 22:35 /sbin/reboot.sysvinit -> halt.sysvinit

//initramfs

UTP: sending Success to kernel for command $ whereis reboot.
utp_poll: pass returned.
UTP: received command '$ ls -l /sbin/reboot'
UTP: executing "ls -l /sbin/reboot"
lrwxrwxrwx 1 root root 19 May 10 2017 /sbin/reboot -> /bin/busybox.nosuid
UTP: sending Success to kernel for command $ ls -l /sbin/reboot.
utp_poll: pass returned.
UTP: received command '$ ls -l /bin/busybox.nosuid'
UTP: executing "ls -l /bin/busybox.nosuid"
-rwxr-xr-x 1 root root 548048 Apr 13 2017 /bin/busybox.nosuid
UTP: sending Success to kernel for command $ ls -l /bin/busybox.nosuid.
utp_poll: pass returned.

0 件の賞賛
返信