This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
university:tools:pluto:devs:reboot [21 Dec 2016 08:24] – [Reboot to Linux kernel] Michael Hennerich | university:tools:pluto:devs:reboot [17 Feb 2022 05:32] (current) – [Reboot to DFU-RAM] Robin Getz | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Rebooting Pluto ====== | + | ====== Rebooting Pluto/M2k ====== |
- | There are few different use cases, and methods to locally (USB/ | + | There are few different use cases, and methods to locally (USB/ |
- | Pluto was designed never to have to be rebooted - but software bugs happen. Before you reboot things - try to ask yourself " | + | Pluto/M2k was designed never to have to be rebooted - but software bugs happen. Before you reboot things - try to ask yourself " |
< | < | ||
Line 14: | Line 14: | ||
\_| | \_| | ||
+ | v0.20 | ||
http:// | http:// | ||
- | # pluto_reboot | + | |
- | Usage: /usr/sbin/pluto_reboot | + | # device_reboot |
+ | Usage: /usr/sbin/device_reboot | ||
+ | sf : Reboot and enter Serial Flash DFU mode | ||
+ | ram : Reboot and enter RAM DFU mode | ||
+ | reset : Reboot | ||
+ | verbose: Reboot and start serial console Verbose | ||
+ | break : Reboot and HALT in u-boot | ||
+ | # | ||
</ | </ | ||
Line 22: | Line 30: | ||
< | < | ||
- | # **pluto_reboot | + | # **device_reboot |
- | # Stopping | + | Stopping |
Stopping dropbear sshd: OK | Stopping dropbear sshd: OK | ||
- | Stopping MSD Daemon | + | Stopping MSD Daemon: OK |
- | Stopping dhcpd Server | + | Stopping dhcpd Daemon |
Stopping network: OK | Stopping network: OK | ||
- | Stopping UDC Gadgets | + | Stopping system message bus: done |
- | configfs-gadget gadget: unbind function 'Mass Storage Function'/ | + | Stopping UDC Gadgets |
- | configfs-gadget gadget: unbind function ' | + | configfs-gadget gadget: unbind function ' |
- | configfs-gadget gadget: unbind function ' | + | configfs-gadget gadget: unbind function 'Mass Storage Function'/ |
- | rmdir: '/ | + | configfs-gadget gadget: unbind function ' |
+ | configfs-gadget gadget: unbind function ' | ||
Stopping logging: OK | Stopping logging: OK | ||
umount: devtmpfs busy - remounted read-only | umount: devtmpfs busy - remounted read-only | ||
Line 42: | Line 51: | ||
reboot: Restarting system | reboot: Restarting system | ||
- | U-Boot PlutoSDR | + | U-Boot PlutoSDR |
- | Model: Zynq Pluto SDR Board | ||
- | Board: Xilinx Zynq | ||
I2C: ready | I2C: ready | ||
DRAM: ECC disabled 512 MiB | DRAM: ECC disabled 512 MiB | ||
Line 53: | Line 60: | ||
Err: | Err: | ||
Model: Zynq Pluto SDR Board | Model: Zynq Pluto SDR Board | ||
- | Board: Xilinx Zynq | ||
- | Net: No ethernet found. | ||
Hit any key to stop autoboot: | Hit any key to stop autoboot: | ||
**Entering DFU RAM mode ...** | **Entering DFU RAM mode ...** | ||
**Copying Linux from DFU to RAM...** | **Copying Linux from DFU to RAM...** | ||
</ | </ | ||
- | ===== Reboot | + | |
+ | |||
+ | <WRAP top tip round box 100%>< | ||
+ | |||
+ | Following commands can be used to boot a fresh build of the firmware image. To simply things, there is a script in [[github> | ||
< | < | ||
- | # **pluto_reboot sf** | + | sshpass |
- | # Stopping IIO Server Daemon | + | sleep 5 |
- | Stopping dropbear sshd: OK | + | sudo dfu-util -l |
- | Stopping MSD Daemon | + | |
- | Stopping dhcpd Server Daemon | + | |
- | Stopping network: OK | + | |
- | Stopping UDC Gadgets ...configfs-gadget gadget: unbind function 'rndis'/df6e30c0 | + | |
- | configfs-gadget gadget: unbind function 'Mass Storage Function' | + | |
- | configfs-gadget gadget: unbind function ' | + | |
- | configfs-gadget gadget: unbind function | + | |
- | rmdir: '/ | + | |
- | Stopping logging: OK | + | |
- | umount: devtmpfs busy - remounted read-only | + | |
- | umount: can't unmount /: Invalid argument | + | |
- | The system is going down NOW! | + | |
- | Sent SIGTERM to all processes | + | |
- | Sent SIGKILL to all processes | + | |
- | Requesting system reboot | + | |
- | reboot: Restarting system | + | |
- | U-Boot PlutoSDR xilinx-v2015.1-11394-gb5e38f7 (Dec 09 2016 - 16:08:19 +0100) | + | Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. |
+ | Copyright 2010-2016 Tormod Volden and Stefan Schmidt | ||
+ | This program is Free Software and has ABSOLUTELY NO WARRANTY | ||
+ | Please report bugs to http: | ||
- | Model: Zynq Pluto SDR Board | + | Found DFU: [0456:b674] ver=0221, devnum=11, cfg=1, intf=0, path=" |
- | Board: Xilinx Zynq | + | Found DFU: [0456:b674] ver=0221, devnum=11, cfg=1, intf=0, path=" |
- | I2C: | + | |
- | DRAM: ECC disabled 512 MiB | + | |
- | SF: Detected N25Q256A with page size 256 Bytes, erase size 4 KiB, total 32 MiB | + | |
- | In: | + | |
- | Out: serial@e0001000 | + | |
- | Err: serial@e0001000 | + | |
- | Model: Zynq Pluto SDR Board | + | |
- | Board: Xilinx Zynq | + | |
- | Net: No ethernet found. | + | |
- | Hit any key to stop autoboot: | + | |
- | **Entering DFU SF mode ...** | + | |
- | **SF: Detected N25Q256A with page size 256 Bytes, erase size 4 KiB, total 32 MiB** | + | |
+ | sudo dfu-util -d 0456: | ||
+ | sudo dfu-util -d 0456: | ||
</ | </ | ||
- | + | </ | |
- | ===== Reboot to Linux kernel | + | ===== Reboot to DFU-Flash |
< | < | ||
- | # **pluto_reboot reset** | + | # **device_reboot sf** |
- | # Stopping | + | Stopping |
Stopping dropbear sshd: OK | Stopping dropbear sshd: OK | ||
- | Stopping MSD Daemon | + | Stopping MSD Daemon: OK |
- | Stopping dhcpd Server | + | Stopping dhcpd Daemon |
Stopping network: OK | Stopping network: OK | ||
- | Stopping UDC Gadgets | + | Stopping system message bus: done |
- | configfs-gadget gadget: unbind function 'Mass Storage Function'/ | + | Stopping UDC Gadgets |
- | configfs-gadget gadget: unbind function ' | + | configfs-gadget gadget: unbind function ' |
- | configfs-gadget gadget: unbind function ' | + | configfs-gadget gadget: unbind function 'Mass Storage Function'/ |
- | rmdir: '/ | + | configfs-gadget gadget: unbind function ' |
+ | configfs-gadget gadget: unbind function ' | ||
Stopping logging: OK | Stopping logging: OK | ||
umount: devtmpfs busy - remounted read-only | umount: devtmpfs busy - remounted read-only | ||
Line 124: | Line 112: | ||
reboot: Restarting system | reboot: Restarting system | ||
- | U-Boot PlutoSDR | + | U-Boot PlutoSDR |
- | Model: Zynq Pluto SDR Board | ||
- | Board: Xilinx Zynq | ||
I2C: ready | I2C: ready | ||
DRAM: ECC disabled 512 MiB | DRAM: ECC disabled 512 MiB | ||
Line 135: | Line 121: | ||
Err: | Err: | ||
Model: Zynq Pluto SDR Board | Model: Zynq Pluto SDR Board | ||
- | Board: Xilinx Zynq | ||
- | Net: No ethernet found. | ||
Hit any key to stop autoboot: | Hit any key to stop autoboot: | ||
- | Booting silently | + | **Entering DFU SF mode ... |
- | Uncompressing Linux... done, booting the kernel. | + | SF: Detected N25Q256A with page size 256 Bytes, erase size 4 KiB, total 32 MiB** |
- | Error: Driver ' | + | </ |
- | Starting logging: OK | + | |
- | Starting watchdog... | + | |
- | Initializing random number generator... done. | + | |
- | Starting UDC Gadgets | + | |
- | Starting network: OK | + | |
- | Starting dhcpd Server Daemon | + | |
- | Starting MSD Daemon | + | |
- | Starting dropbear sshd: OK | + | |
- | Starting IIO Server Daemon | + | |
- | Welcome to Pluto | + | ===== Reboot ===== |
- | pluto login: | + | |
+ | < | ||
+ | # **reboot** | ||
</ | </ |