This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/apps/plugins/SUBDIRS b/apps/plugins/SUBDIRS | |
index c22977f..ed75631a 100644 | |
--- a/apps/plugins/SUBDIRS | |
+++ b/apps/plugins/SUBDIRS | |
@@ -31,7 +31,7 @@ fft | |
#endif | |
chessbox | |
-fractals | |
+//fractals |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set /p device= "Enter device drive (typically E: or F:) " | |
echo Device is %device% | |
set ofile= sonynwz_result.txt | |
scsitool-nwz-v19 %device% help_us > %ofile% | |
scsitool-nwz-v19 %device% get_dhp > %ofile% | |
scsitool-nwz-v19 %device% get_dnk_nvp_multi kas shp sps fmp pcd mid ctr fpi fur fvi ins lyr nvr prk rbt she sku ums ups clv pwd clg fni rnd mac >> %ofile% | |
echo Result has been written to %ofile% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/firmware/asm/mips/thread-mips32.c b/firmware/asm/mips/thread-mips32.c | |
index e754df7e29..664375d4e5 100644 | |
--- a/firmware/asm/mips/thread-mips32.c | |
+++ b/firmware/asm/mips/thread-mips32.c | |
@@ -26,20 +26,20 @@ | |
*--------------------------------------------------------------------------- | |
*/ | |
-void start_thread(void); /* Provide C access to ASM label */ | |
-static void USED_ATTR _start_thread(void) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $UBIFS is ubifs image file | |
# make sure $IMAGE is a ubifs image file | |
blkid $(IMAGE) | |
$(IMAGE): ... TYPE="ubifs" | |
# size of created mtd is 256.0 MiB | |
modprobe nandsim first_id_byte=0x2c second_id_byte=0xda third_id_byte=0x90 fourth_id_byte=0x95 | |
flash_erase /dev/mtd0 0 0 | |
ubiformat /dev/mtd0 -s 2048 -O 2048 | |
modprobe ubi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Monitoring done by pid 21337 | |
alsa monitor | |
+-hw:0 | |
+-id: icxcodec | |
+-name: icx-codec | |
+-long name: sound codec (icx mixer) | |
+-mixer name: icx mixer | |
+-driver: | |
+-components: | |
+-hctl controls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#include <stdbool.h> | |
#include <string.h> | |
#include <getopt.h> | |
unsigned char vt_MUSIC_CR0_AC0_HDP_FR0_NC0[] = | |
{ | |
0x33, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, 0x17, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
amixer controls > /contents/amixer.log | |
ls -R /dev/snd > /contents/snd.log | |
aplay -l > /contents/card.log | |
aplay -L >> /contents/card.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <stdint.h> | |
#include <stdbool.h> | |
const unsigned char scramble[256] = | |
{ | |
0x00, 0xcc, 0xc1, 0xc2, 0xc3, 0xcd, 0xce, 0xcf, 0xc4, 0xc5, 0xc6, 0xc7, 0xc8, 0xc9, 0xca, 0xcb, | |
0x20, 0x2a, 0x2b, 0x2c, 0x2d, 0x24, 0x2e, 0x2f, 0x21, 0x22, 0x23, 0x25, 0x26, 0x27, 0x28, 0x29, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enc -> dec | |
00 -> 00 | |
ff -> ff | |
80 -> 90 (1000 -> 1001) | |
40 -> 30 (0100 -> 0011) | |
e0 -> 10 (1110 -> 0001) | |
20 -> 60 (0010 -> 0110) | |
c0 -> 70 (1100 -> 0111) | |
a0 -> c0 (1010 -> 1100) | |
60 -> 80 (0110 -> 1000) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
All examples below are for NWZ-E580, but the same applies for other targets: | |
at the root of rockbox resposotory: | |
> mkdir build_nwze580_bl | |
> cd build_nwze580_bl | |
> ../tools/configure | |
# select NWZ-E580 Series | |
# Select (B)ootloader | |
> make | |
> make -C ../rbutil/mknwzboot | |
# NOTE: mknwzboot requires to install libcrypto++-dev |