Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: RE: Flashing for FM released

RE: Flashing for FM released

From: Tom Sustins <tom.sustins_at_bbc.co.uk>
Date: Thu, 17 Jul 2003 10:40:54 +0100

Is there anyway this can be precompiled every day with the daily builds
on the webpage? This is too complicated for those of us who are not
technical.

-----Original Message-----
From: Andreas Stemmer [mailto:groovingandi_at_gmx.de]
Sent: 17 July 2003 10:04
To: rockbox_at_cool.haxx.se
Subject: RE: Flashing for FM released


Tom Sustins
> Can someone tell me how I flash the daily builds? Do I have
> to compile things? As I haven't a clue about that stuff?

Quoting idc-dragons great readme.txt:

6. How do I bring in a current / my personal build of Rockbox?
--------------------------------------------------------------
The second image is the working copy, the "rockbox_flash.rock" plugin
from this package reprograms it. I suggest to place the plugin to where
you keep the others, "/.rockbox/rocks/". The plugin needs to be
consistant with the Rockbox plugin API version, otherwise it will detect
mismatch and won't run. It currently requires an exotic input, a
UCL-compressed image, because that's my internal format. UCL is a nice
open-source compression library I found and use. The decompression is
very fast and less than a page of C-code. The efficiency is even better
than Zip with maximum compression, cooks it down to about 58% of the
original size. For details on UCL, see:
http://www.oberhumer.com/opensource/ucl/
Linux users will have to download it from there and compile it, for
Win32 and Cygwin I can do that, so the executables are in the package.
The sample program from that download is called "uclpack". We'll use
that to compress "rockbox.bin" which is the result of the compilation.
If flashing becomes very popular, this could be a part of the build
process. Don't flash any "old" builds which don't have the latest
coldstart ability I brought into cvs these days. They won't boot. These
instructions refer to builds from cvs state 2003-07-10 on. Here are the
steps:
- If you start from a .ajz file, you'll need to descramble it first into
"rockbox.bin", by using "descramble ajbrec.ajz rockbox.bin". IMPORTANT:
For an FM, the command is different, use "descramble -fm ajbrec.ajz
rockbox.bin"! Otherwise the image won't be functional.
- Compress the image using uclpack, algorithm 2e (the most efficient,
and the only one supported by the bootloader), with maximum compression,
by typing "uclpack --2e --best rockbox.bin rockbox.ucl". You can make a
batch file for this and the above step, if you like.
- Copy the resulting file to the root directory of your box.
- Start the "rockbox_flash.rock" plugin. It's a bit similar to the other
one, but I made it different to make the user aware. It tells you the
flash size and the starting position (so you can calculate how much is
left). After pressing F1 it will check the file, available size, etc.
With F2 it's being programmed, no need for warning this time. If it goes
wrong, you'll still have the permanent image.
- When done, you can restart the box and hopefully your new Rockbox
image.


Andreas Stemmer



BBCi at http://www.bbc.co.uk/

This e-mail (and any attachments) is confidential and may contain
personal views which are not the views of the BBC unless specifically
stated.
If you have received it in error, please delete it from your system, do
not use, copy or disclose the information in any way nor act in
reliance on it and notify the sender immediately. Please note that the
BBC monitors e-mails sent or received. Further communication will
signify your consent to this.
Received on 2003-07-17

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy