1
0
Fork 0
forked from len0rd/rockbox

* Make the Gigabeat S bootloader a bit more interesting: it looks for the first firmware file it finds on the second partition and attempts to load it. Loading fails to get past the splash screen though.

* Make the main binary compile.
To send a firmware file, use mtp-sendfile. To update you'll need to delete the previous firmware file, as files are named sequentially and the first one is loaded.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15836 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nicolas Pennequin 2007-11-27 15:40:29 +00:00
parent 1dff29a9d6
commit c2ca8c710c
5 changed files with 51 additions and 12 deletions

View file

@ -150,7 +150,12 @@ int disk_mount(int drive)
/* The Elio's hard drive has no partition table and probing for partitions causes
Rockbox to crash - so we temporarily disable the probing until we fix the
real problem. */
for (i=0; volume != -1 && i<4; i++)
#ifdef TOSHIBA_GIGABEAT_S
i = 1; /* For the Gigabeat S, we mount the second partition */
#else
i = 0;
#endif
for (i; volume != -1 && i<4; i++)
{
#ifdef MAX_LOG_SECTOR_SIZE
int j;