Table of Contents
Sansa Fuze
RockBox
- MPEG-2 video
- MP3 audio
- Width x height: 220×176
- Video bitrate: 384k
- Audio bitrate: 96k
ffmpeg -i video.mp4 -vcodec mpeg2video -s 220x176 -vb 384k -acodec mp3 -ab 96k -y video.mpg
I added a udev rule in /etc/udev/rules.d/75-persistent-vfat.rules
just for fun to have a /dev/sansa
device for the internal drive
SUBSYSTEM=="block", ENV{ID_FS_UUID}=="A0BD-5FE2", SYMLINK+="sansa", ENV{GENERATED}="1"
When mounting the drive, use sync
option in fstab so that it copies in real-time, and you don't have to wait a ton either running sync
or unmounting the drive.
/dev/sansa /mnt/sansa vfat noauto,users,sync 0 0
Copying large amounts of files to the internal disk will overwork the poor little device, and segfault RockBox usually at some point. Just run an fsck on the VFAT block device, and keep going. For the SD card that can go in there, use a modern card reader. :)
fsck.vfat /dev/sdf
Block size of a VFAT filesystem is 512k, so using rsync, you'll see it averaging around that speed limit.
Sometimes your filesystem is really jacked, and needs some rescue. See http://www.dedoimedo.com/computers/rescue-fat32-disk-linux.html
sudo ./fsck.fat -r -l -v -t -y /dev/sansa
Rockbox
Building RockBox from source isn't too bad … if you're patient. :)
Download 3.14 source code here and unpack it.
cd into tools/
, and set proper permissions for executable files:
chmod +x *.pl *.sh configure genlang
Run configure
, the architecture type is ARM.
Make a build dir outside of the tools directory, and run configure
.
mkdir ../build cd ../build ../tools/configure
The target for the Sansa Fuze is 58.
Run make
as normal to build the install!