|
|
Line 1: |
Line 1: |
| #REDIRECT [[Documentation/Maemo 5 Developer Guide/Development Environment/Maemo Flasher-3.5]] | | #REDIRECT [[Documentation/Maemo 5 Developer Guide/Development Environment/Maemo Flasher-3.5]] |
- |
| |
- | {{lowercase}}
| |
- | The '''flasher''' tool is used to flash data to the tablet's internal 256MB of NAND, which is where the bootloader, kernel, initfs, and rootfs (all of which make up the operating system) are stored. flasher can be used to [[updating the tablet firmware|upgrade the firmware]], wipe the tablet and start from scratch, flash certain specific components (like the kernel or initfs), or change a number of hardware flags.
| |
- |
| |
- | == fiasco-flasher ==
| |
- |
| |
- | fiasco-flasher is the bundled on-device flasher introduced in Diablo. It's typically called during SSU updates to flash the initfs and kernel via <code>flash-and-reboot</code>, but you can use it to flash your own kernel and initfs images (as is done to flash the [[rotation]] kernel).
| |
- |
| |
- | === Usage ===
| |
- |
| |
- | To flash a kernel image, open Xterm, gain [[root access|root]], and run:
| |
- |
| |
- | fiasco-flasher -k <kernel zImage> -f
| |
- |
| |
- | To flash an initfs image, open Xterm, gain root, and run:
| |
- |
| |
- | fiasco-flasher -i <initfs jffs2 image> -f -R
| |
- |
| |
- | == Options ==
| |
- |
| |
- | === flasher-3.0 ===
| |
- |
| |
- | Usage: flasher [OPTIONS]
| |
- | Options:
| |
- | --fiasco, -F <arg> Location of a FIASCO image
| |
- | --kernel, -k <arg> Location of kernel image
| |
- | --initfs, -n <arg> Location of initfs image
| |
- | --rootfs, -r <arg> Location of root JFFS2 image
| |
- | --xloader, -x <arg> Location of X-Loader image
| |
- | --secondary, -s <arg> Location of NOLO secondary bootloader image
| |
- | --2nd, -2 <arg> Location of NOLO cold flasher ("2nd") image
| |
- | --unpack, -u [arg] Unpack a FIASCO image
| |
- | --flash, -f Load and flash all supplied images
| |
- | --load, -l Only load all supplied images
| |
- | --boot, -b [arg] Boot the kernel with optional cmdline
| |
- | --reboot, -R Reboot the board (e.g. after flashing NOLO)
| |
- | --read-board-id, -i Print out the board type
| |
- | --serial-port, -S <arg> Serial port used for cold flashing
| |
- | --initialize-port, -I <arg> Only initialize the serial port
| |
- | --cold-flash, -c "Cold flash" the device
| |
- | --hw-revision, -h <arg> Specify product code and HW revision
| |
- | --enable-rd-mode Enable R&D mode on the device
| |
- | --disable-rd-mode Disable R&D mode on the device
| |
- | --set-rd-flags [arg] Set R&D mode flags on the device
| |
- | --clear-rd-flags [arg] Clear R&D mode flags on the device
| |
- | --query-rd-mode Query the device R&D mode status and flags
| |
- | --set-root-device <arg> Set the default root device
| |
- | --query-root-device Query the default root device
| |
- | --enable-usb-host-mode Set the device into USB host mode
| |
- | --disable-usb-host-mode Set the device into USB peripheral mode
| |
- | --flash-only <arg> Flash only certain components
| |
- |
| |
- | --flash-only flag options
| |
- |
| |
- | Valid --flash-only options:
| |
- | nolo, kernel, initfs, rootfs
| |
- |
| |
- | R&D flags
| |
- |
| |
- | Possible R&D flags:
| |
- | no-omap-wd
| |
- | no-retu-wd
| |
- | no-lifeguard-reset
| |
- | serial-console
| |
- | no-usb-timeout
| |
- |
| |
- | Root device flags
| |
- |
| |
- | Valid devices are:
| |
- | flash
| |
- | mmc
| |
- | usb
| |
- |
| |
- | === fiasco-flasher ===
| |
- |
| |
- | Usage: fiasco-flasher [OPTIONS]
| |
- | Options:
| |
- | --verbose, -v Increase verbosity level
| |
- | --flash, -f Flash supplied images
| |
- | --reboot, -R Reboot the system after
| |
- | --fiasco, -F <arg> Location of a FIASCO image
| |
- | --kernel, -k <arg> Location of kernel image
| |
- | --initfs, -i <arg> Location of initfs image
| |
- | --kill, -K Kill processes on mounted initfs before flashing
| |
- | --hw-revision, -h <arg> Set HW revision override
| |
- | --no-action, -n Only simulate flashing
| |
- | --flash-only <arg> Flash only certain components
| |
- |
| |
- | --flash-only flag options
| |
- |
| |
- | Valid --flash-only options:
| |
- | nolo, kernel, initfs, rootfs
| |
- |
| |
- |
| |
- | [[Category:Users]]
| |
- | [[Category:Development]]
| |
- | [[Category:Power users]]
| |