DOKK / manpages / debian 12 / 0xffff / 0xFFFF.1.en
0xFFFF(1) General Commands Manual 0xFFFF(1)

0xFFFF - Open Free Fiasco Firmware Flasher, version 0.9

0xFFFF [options]

0xFFFF is Open Free Fiasco Firmware Flasher for Maemo devices. It support generating and unpacking FIASCO images on local computer. Useful for editing Maemo firmware package for future flash. It support via USB flashing any image type to Maemo device and also "cold" flashing which means flashing dead device with erased bootloader. There is support for booting kernel via USB without flashing to NAND and also changing configuration of Maemo device (enable/disable R&D mode, changing HW revision strings, ...).

0xFFFF is alternative tool to proprietary Nokia flasher-3.5 and fiasco-gen. 0xFFFF generate compatible FIASCO images and also accept FIASCO images generated by Nokia fiasco-gen.

boot default or loaded kernel (default: no cmdline)
boot default or loaded kernel to Update mode
reboot device
load kernel and initfs images to RAM
flash all specified images
cold flash 2nd and secondary images
check for bad blocks on mtd device (default: all)
dump all device images to one fiasco image
dump all device images (or one -t) to directory (default: current)

identify, show all information about device
change root device: 0 - flash, 1 - mmc, 2 - usb
disable/enable USB host mode
disable/enable R&D mode
change R&D flags, flags are comma separated list, can be empty
change HW revision
change NOLO version string
change kernel version string
change initfs version string
change SW release version string
change content eMMC version string

specify fiasco image
specify normal image
arg is [[[dev:[hw:]]ver:]type:]file[%lay]
dev is device name string (default: empty)
hw are comma separated list of HW revisions (default: empty)
ver is image version string (default: empty)
type is image type (default: autodetect)
file is image file name
lay is layout file name (default: none)

filter images by type
filter images by device
filter images by HW revision

unpack fiasco image to directory (default: current)
generate fiasco image with SW rel version (default: no version)

identify images
simulate, do not flash or write on disk
disable hash, checksum and image type checking
be verbose and noisy
show this help message

disable auto reboot by OMAP watchdog
disable auto reboot by external watchdog
disable auto reboot by software lifeguard
enable serial console
disable usb timeout for flashing
enable sti console
disable battery charging
force omap boot reason to power key

Nokia 770
Nokia N800
Nokia N810
Nokia N810 Wimax
Nokia N900
Nokia N950
Nokia N9

xloader
2nd
secondary
kernel
initfs
rootfs
mmc
cmt-2nd
cmt-algo
cmt-mcusw

Local on device
NOLO via USB
Cold flashing via USB
Mk II protocol via USB
RAW disk via USB

Via USB:

Identify device:

$ 0xFFFF -I

Load kernel & initfs and boot it with cmdline:

$ 0xFFFF -m initfs:<file> -m kernel:<file> -l -b "<cmdline>"

Flash kernel and reboot:

$ 0xFFFF -m kernel:<file> -f -r

Flash FIASCO image and reboot:

$ 0xFFFF -M <file> -f -r

Flash only kernel from FIASCO image and reboot:

$ 0xFFFF -M <file> -t kernel -f -r

Cold-Flash 2nd and secondary bootloaders:

$ 0xFFFF -m 2nd:<file> -m secondary:<file> -c

On device (need nanddump from mtd-utils):

Dump all images to current directory:

$ 0xFFFF -e

Dump all images to one FIASCO file:

$ 0xFFFF -E <file>

FIASCO packaging:

Show FIASCO image content:

$ 0xFFFF -M <file> -i

Unpack FIASCO image to current directory:

$ 0xFFFF -M <file> -u

Generate new FIASCO image image.fiasco from files xloader.bin, nolo.bin, zImage, rootfs and append device&version information (xloader for RX-51 hw revision: 2101 and 2102, version 1.0)

$ 0xFFFF -m RX-51:2101,2102:1.0:xloader:xloader.bin -m RX-51:2101,2102:1.0:secondary:nolo.bin -m 2.6.28:kernel:zImage -m rootfs -g image.fiasco
Jan 5 2021 0xFFFF 0.9