mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-20 02:22:43 -05:00
Give the Gigabeat S bootloader the ability to untar a tarball.
To test a build, use 'make tar' and send the tar to the unit. The bootloader will unarchive it and delete it before loading the main binary. This is a temporary hack to make testing possible until we have a better way of sending a complete build. Also enable writing to the disk by disabling the optimised write stubs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16338 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4a06c87e78
commit
e2f5f21e5b
3 changed files with 102 additions and 14 deletions
|
|
@ -128,9 +128,11 @@ void ata_device_init(void)
|
|||
ATA_TIME_9 = (T + 20)/T;
|
||||
}
|
||||
|
||||
#if 0
|
||||
#if !defined(BOOTLOADER)
|
||||
void copy_write_sectors(const unsigned char* buf, int wordcount)
|
||||
{
|
||||
(void)buf; (void)wordcount;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -22,10 +22,12 @@
|
|||
/* Plain C read & write loops */
|
||||
#define PREFER_C_READING
|
||||
#define PREFER_C_WRITING
|
||||
#if 0
|
||||
#if !defined(BOOTLOADER)
|
||||
#define ATA_OPTIMIZED_WRITING
|
||||
void copy_write_sectors(const unsigned char* buf, int wordcount);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define ATA_DATA ATA_DRIVE_DATA
|
||||
#define ATA_ERROR ATA_DRIVE_FEATURES
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue