Reply
Thread Tools
newsbot | Posts: 94 | Thanked: 6 times | Joined on Jul 2005
#1
 Maemo has just released flasher utilities for the following:  [blockquote][list] [li]Mac OS X[/li] [li]Linux on Intel x86[/li] [li]Linux on PowerPC[/li] [/ul] [/blockquote] You can download them here. ...
Read the full article.
 
Posts: 99 | Thanked: 3 times | Joined on Sep 2005
#2
Excuse my asking but whats the sigificance of a flasher utility (ie. Mac OX) ? Is this a developer thing?
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#3
It is a developer utility. You can e.g. set the device into R&D mode which allows you to become root.
But the flasher can also be used for updating the firmware, so it might eventually be useful for normal users as well.
 
Posts: 93 | Thanked: 2 times | Joined on Aug 2005
#4
odd, we have been usign a windows based tool since we got the device a couple months ago, which was only used to flash bin files to the device. Wonder if/when they'll make this tool available to the public.
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#5
Maybe the Windows-based flasher is meant for end users to upgrade the firmware while the command line tool is tailored for developers.

Code:
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
  --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
It can do quite a lot!
 
Posts: 93 | Thanked: 2 times | Joined on Aug 2005
#6
Oh I didn't realise it more dev stuff in it... yeah, the little tool we use for "flashing" is a simple "Plug it in, find the device, choose your bin, update device" and thats it
 
Posts: 108 | Thanked: 6 times | Joined on Nov 2005 @ Central London
#7
Can someone help me out with getting the Mac version running? I have Linux but only in Virtual PC and I imagine getting that to connect out over USB will be a right pain...

It comes as a file called flasher.macosx - now I imagine I'll need to give the file 'execute' permission or something like that, but can someone help me out?

The first thing I tried was simply running it by typing ./flasher.macosx at the command line - also tried using sudo - no luck :\

users-Computer:~/Maemo tools user$ ls
flasher.macosx
users-Computer:~/Maemo tools user$ ./flasher.macosx
-bash: ./flasher.macosx: Permission denied
users-Computer:~/Maemo tools user$ sudo ./flasher.macosx
Password:
sudo: ./flasher.macosx: command not found


My mac command line skills aren't quite there it seems
 
Posts: 211 | Thanked: 3 times | Joined on Oct 2005
#8
You do this of your own free will, don't sue me if it formats your hard drive...

I suspect:

chmod +x flasher.macosx

will solve the problem. Files copied to an OSX file system have the execute bit turned off by default.
 
Posts: 108 | Thanked: 6 times | Joined on Nov 2005 @ Central London
#9
Thanks Andy - that's exactly what I was after - I'd forgotten the name and required switches of the chmod command

Worked just fine - now to see if I can get into R&D mode and get me some r00t access

users-Computer:~/Maemo tools user$ chmod +x flasher.macosx
users-Computer:~/Maemo tools user$
users-Computer:~/Maemo tools user$ ./flasher.macosx
Nothing to do!
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

[SNIP]
 
Posts: 108 | Thanked: 6 times | Joined on Nov 2005 @ Central London
#10
OK, I really can't get it to work - I'm doing it in the order most howtos seem to suggest - i.e. to run the flasher, then plug in the 770...

users-Computer:~/Maemo tools user$ ./flasher.macosx --enable-rd-mode
Suitable USB device not found, waiting
^C
users-Computer:~/Maemo tools user$ sudo ./flasher.macosx --enable-rd-mode
Password:
Suitable USB device not found, waiting


...but as you can see, it just sits there waiting

Am I missing a trick here? Is there something you need to do to get the Mac command line/terminal app to 'see' the USB connection?
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:17.