Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
sansa_fuze [2017/07/29 09:26]
beandog created
sansa_fuze [2021/10/17 19:36] (current)
beandog [RockBox]
Line 1: Line 1:
 ====== Sansa Fuze ====== ====== Sansa Fuze ======
 +
 +==== RockBox ====
  
   * [[https://​www.rockbox.org/​wiki/​PluginMpegplayer|RockBox MPEG Player]]   * [[https://​www.rockbox.org/​wiki/​PluginMpegplayer|RockBox MPEG Player]]
 +
 +  * MPEG-2 video
 +  * MP3 audio
 +  * Width x height: 220x176
 +  * Video bitrate: 384k
 +  * Audio bitrate: 96k
 +
 +<​code>​
 +ffmpeg -i video.mp4 -vcodec mpeg2video -s 220x176 -vb 384k -acodec mp3 -ab 96k -y video.mpg
 +</​code>​
 +
 +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
 +
 +<​code>​
 +SUBSYSTEM=="​block",​ ENV{ID_FS_UUID}=="​A0BD-5FE2",​ SYMLINK+="​sansa",​ ENV{GENERATED}="​1"​
 +</​code>​
 +
 +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.
 +
 +<​code>​
 +/​dev/​sansa ​             /​mnt/​sansa ​     vfat    noauto,​users,​sync ​      0 0
 +</​code>​
 +
 +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. :)
 +
 +<​code>​
 +fsck.vfat /dev/sdf
 +</​code>​
 +
 +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]]
 +
 +<​code>​
 +sudo ./fsck.fat -r -l -v -t -y /dev/sansa
 +</​code>​
 +
 +==== Rockbox ====
 +
 +Building RockBox from source isn't too bad ... if you're patient. :)
 +
 +Download 3.14 source code [[http://​download.rockbox.org/​release/​3.14/​rockbox-3.14.7z|here]] and unpack it.
 +
 +cd into ''​tools/'',​ and set proper permissions for executable files:
 +
 +<​code>​
 +chmod +x *.pl *.sh configure genlang
 +</​code>​
 +
 +Run ''​configure'',​ the architecture type is ARM.
 +
 +Make a build dir outside of the tools directory, and run ''​configure''​.
 +
 +<​code>​
 +mkdir ../build
 +cd ../build
 +../​tools/​configure
 +</​code>​
 +
 +The target for the Sansa Fuze is 58.
 +
 +Run ''​make''​ as normal to build the install!

Navigation