Rockbox Development > New Ports
Samsung YP-R0
slade:
I am working on a port for YP-R0
Anybody who wants to join let me know.
So far I have been able to extract original firmware and found a few places to inject rockbox. Either create a zImage Kernel or try to crack the bootloader to be able to dual boot.
Please let me know if you want to join.
Update could please someone take a look if it is what I think
I have found the follwing usb.sh script with the /usr/local/bin folder of the YP-R0 (I could repack firmware with making this adjustment.)
--- Quote ---#!/bin/sh
if [ $1 == "on" ]
then
lsmod | grep g_file_storage
if [ $? == 0 ]
then
umount /mnt/media1/dev/gadget
fi
if [ -d /mnt/media0 ]
then
umount /mnt/media1
umount /mnt/media0
fi
lsmod | grep rfs
if [ $? == 0 ]
then
rmmod rfs
fi
lsmod | grep g_file_storage
if [ $? == 0 ]
then
#umount /mnt/media1/dev/gadget
rmmod gadgetfs
rmmod g_file_storage
rmmod arcotg_udc
fi
lsmod | grep g_file_storage
if [ $? != 0 ]
then
modprobe g-file-storage file=/dev/stl3,/dev/stl2 removable=1
fi
echo "OK! USB Connected to /mnt/media0 ! wuwanggood"
elif [ $1 == "off" ]
then
lsmod | grep g_file_storage
if [ $? == 0 ]
then
modprobe g-file-storage -r
fi
lsmod | grep rfs
if [ $? != 0 ]
then
insmod /lib/modules/2.6.24-445-g48ec830/kernel/fs/rfs/rfs.ko
fi
#losetup -o 8192 /dev/loop0 /mnt/media_file/media0
#mount -t vfat /dev/loop0 /mnt/media0
mount -t rfs /dev/stl3 /mnt/media0 -o codepage=utf8
mount -t rfs /dev/stl2 /mnt/media1 -o codepage=utf8
echo "OK! USB disconnected!"
fi
--- End quote ---
If I understand right, it checks wether the mp3 Player is connected via USB (I guess another program is invoking the shellscript with argument "on" or "off")
shouldn't I be able to share another drive (which actually is the system drive /dev/stl1) and be able to connect to it.
Of course I would need to create another folder under mount.
Thanks for you help.
slade:
Hello Everybody I managed to be able to run scripts on my YP-R0
Its still original Firmware (but firmware is linux) I can run every script I would want to.
I would need you guys to maybe give me some input on which information is mandatory for a successful rockbox port.
I did alter the original firmware and flashed it back!
The first script I ran was :
cat /proc/cpuinfo
--- Code: ---Processor : ARMv6-compatible processor rev 3 (v6l)
BogoMIPS : 530.84
Features : swp half thumb fastmult vfp edsp java
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 3
Cache type : write-back
Cache clean : cp15 c7 ops
Cache lockdown : format C
Cache format : Harvard
I size : 16384
I assoc : 4
I line length : 32
I sets : 128
D size : 16384
D assoc : 4
D line length : 32
D sets : 128
Hardware : Freescale MX37 3-Stack Board
Revision : 37000
Serial : 2XXXXXXXXXXXXXXXXXX
--- End code ---
cat /proc/meminfo
--- Code: ---MemTotal: 62612 kB
MemFree: 42412 kB
Buffers: 10144 kB
Cached: 4352 kB
SwapCached: 0 kB
Active: 1804 kB
Inactive: 12964 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 8 kB
Writeback: 0 kB
AnonPages: 304 kB
Mapped: 564 kB
Slab: 984 kB
SReclaimable: 424 kB
SUnreclaim: 560 kB
PageTables: 60 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 31304 kB
Committed_AS: 2068 kB
VmallocTotal: 778240 kB
VmallocUsed: 396 kB
VmallocChunk: 777756 kB
--- End code ---
Kernel : 2.6.24-445-g48ec830
Chronon:
Here's the port page:
http://www.rockbox.org/wiki/SamsungYP
If you don't get responses here you can try posting in the IRC channel too. Most developers seem to spend more time there than on the forums.
pyro_maniac:
--- Quote from: Chronon on November 01, 2010, 03:57:28 PM ---Here's the port page:
http://www.rockbox.org/wiki/SamsungYP
--- End quote ---
I think slade is the author of that wiki page...
@slade:
You should try to build your own kernel and bring it onto the device. Try to get the kernel config and the kernel source code. There should be something on samsungs open source page.
I don't know if its needed to replace that linux. Maybe there can be a rockbox as an application solution as like as on android.
Chronon:
I believe so. I was more posting it for others since it didn't have a link in this topic yet.
Navigation
[0] Message Index
[#] Next page
Go to full version