You can download the modified firmware which is able to run script here:
SCRIPTING IS VERY POWERFUL BE VERY CAREFUL WHAT YOU DO
Here are the steps to make it work and some Instructions:
Here is the first script you could run if you want to test it:
#!/bin/sh cat /proc/cpuinfo > /mnt/media0/cpu.txt
/mnt/media0 <-- your 8GB or 16GB Flash with all your files
/mnt/media1 <-- is internal Data with Samsung Application you see when the player is running
/ <-- root filesystem everybody who ever used Linux will understand
AGAIN PLEASE BE VERY CAREFUL WHAT YOU DO!!!
There is a safety feature which will protect you when you run a bogus script and the player is not responding -> wait for at least 2 minutes. push reset button -> every script you run will be deleted and replaced with a dummy script so if you will have to write the script again if you want to use it again after every reboot of the player.
I will release another firmware without this security feature in a few but I advise everybody to test scripts with this firmware and if you want a permanent change upgrade to the other firmware. There is also the possibilty to update the /etc/rc.start script. But this is for proffesional users only.
Scripting on the player means a powerful way to change the linux running on the player and to be able to customize it any way you want.
Update Process List
PID Uid VSZ Stat Command 1 root 2076 SW init 2 root SW< [kthreadd] 3 root SW< [ksoftirqd/0] 4 root SW< [watchdog/0] 5 root SW< [events/0] 6 root SW< [khelper] 53 root SW< [kblockd/0] 56 root SW< [cqueue/0] 60 root SW< [mxc_spi.2] 64 root SW< [kseriod] 77 root SW< [kmmcd] 107 root SW [pdflush] 108 root SW [pdflush] 109 root SW< [kswapd0] 147 root SW< [aio/0] 231 root SW< [kondemand/0] 299 root 2076 RW sh /mnt/media0/script.sh 302 root 2080 SW -sh 306 root 59992 SW /usr/local/bin/r0 Application AppMain 309 root 1336 SW /usr/local/bin/USBSrv 320 root 2252 RW ps aux
Last edited by slade; 11-04-2010 at 07:54 AM.
|r0, rockbox, samsung yp-r0|
|Thread Tools||Search this Thread|
All times are GMT -5. The time now is 07:02 AM.