Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  SAMSUNG YH-920
« previous next »
  • Print
Pages: 1 2 [3] 4 5 ... 16

Author Topic: SAMSUNG YH-920  (Read 126571 times)

Offline funman

  • Developer
  • Member
  • *
  • Posts: 645
Re: SAMSUNG YH-920
« Reply #30 on: November 03, 2008, 08:54:34 AM »
Improve your skills by looking at it !

Nobody will do it for you, so your best bet is take confidence and continue what you started.
Logged
a wise man said: "a wise man said"

Offline pyro_maniac

  • Member
  • *
  • Posts: 99
Re: SAMSUNG YH-920
« Reply #31 on: November 04, 2008, 09:26:19 AM »
Should it be standard like all PortalPlayers?
Logged

Offline Bagder

  • Member
  • *
  • Posts: 1452
    • Daniel's site
Re: SAMSUNG YH-920
« Reply #32 on: November 04, 2008, 03:56:00 PM »
Since it uses a portalplayer chip it certainly shares all the portalplayer-specific details with the other portalplayer-based devices. But there's a selection of additional hardware that may or may not be similar to what other Rockbox targets already use.
Logged

Offline pyro_maniac

  • Member
  • *
  • Posts: 99
Re: SAMSUNG YH-920
« Reply #33 on: November 04, 2008, 06:08:27 PM »
But to find that out i need to go on modifying the iriver build to get loaded on my device, right?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: SAMSUNG YH-920
« Reply #34 on: November 04, 2008, 06:45:44 PM »
Quote from: pyro_maniac on November 04, 2008, 06:08:27 PM
But to find that out i need to go on modifying the iriver build to get loaded on my device, right?

I don't think you'll have any use for the iriver build itself, just its source code if it does share some hardware in common.  The first thing to do is begin reverse engineering the hardware, and working on drivers for it.
Logged

Offline pyro_maniac

  • Member
  • *
  • Posts: 99
Re: SAMSUNG YH-920
« Reply #35 on: December 03, 2008, 03:37:32 PM »
Hi, i m again!

I changed my strategy. i red out the mbr of the player and run objdump on that. Is there an other step that i can make with it or is the assembly the end?

EDIT:

1. I red out the MBR and run arm-elf-objdump on that.
2. I cut off the header of my firmware and run arm-elf-objdump on that too.

Is there a arm disassembler or what can i make with that code?
how did you made it on other devices?
« Last Edit: December 06, 2008, 03:00:58 PM by pyro_maniac »
Logged

Offline pyro_maniac

  • Member
  • *
  • Posts: 99
Re: SAMSUNG YH-920
« Reply #36 on: December 08, 2008, 11:49:04 AM »
No comment?
Logged

Offline funman

  • Developer
  • Member
  • *
  • Posts: 645
Re: SAMSUNG YH-920
« Reply #37 on: December 08, 2008, 12:26:11 PM »
Quote from: pyro_maniac on December 03, 2008, 03:37:32 PM
2. I cut off the header of my firmware and run arm-elf-objdump on that too.

Is there a arm disassembler or what can i make with that code?

objdump is a dissasembler, you can use the -D flag.

example: arm-elf-objdump -b binary -m arm -D myfile.bin
Logged
a wise man said: "a wise man said"

Offline Bagder

  • Member
  • *
  • Posts: 1452
    • Daniel's site
Re: SAMSUNG YH-920
« Reply #38 on: December 08, 2008, 01:51:59 PM »
and there's no point in disassemblying the MBR, you should decrypt the mi4 and disassemble or you should disassemble the bootloader (which usually is unencrypted thumb ARM on the PP devices)
Logged

Offline pyro_maniac

  • Member
  • *
  • Posts: 99
Re: SAMSUNG YH-920
« Reply #39 on: December 09, 2008, 03:46:51 AM »
Quote from: funman on December 08, 2008, 12:26:11 PM
objdump is a dissasembler, you can use the -D flag.

example: arm-elf-objdump -b binary -m arm -D myfile.bin

Ok thats the way  i made it. I thought there is an other step to get C code out of that. Is there a datasheet for the commands?

Quote from: Bagder on December 08, 2008, 01:51:59 PM
and there's no point in disassemblying the MBR, you should decrypt the mi4 and disassemble or you should disassemble the bootloader (which usually is unencrypted thumb ARM on the PP devices)

I said it befor, i can t find any bootloader. Thats my problem and the reason why i red out the MBR. Also in the other files were no bootloader found. Are there other possibilitys?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: SAMSUNG YH-920
« Reply #40 on: December 09, 2008, 03:49:33 AM »
On several players the bootloader (or firmware image itself) is stored in a separate flash ROM, and there's no way to access it via the disk.
Logged

Offline pyro_maniac

  • Member
  • *
  • Posts: 99
Re: SAMSUNG YH-920
« Reply #41 on: December 09, 2008, 03:51:49 AM »
That is only accessable in a special player mode or with JTAG?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: SAMSUNG YH-920
« Reply #42 on: December 09, 2008, 03:55:32 AM »
It depends entirely on how they've designed the hardware. There's no guarantee that it's externally accessible at all without coming up with a way to directly read such a chip yourself.

Or it may just be somewhere you haven't looked yet.

There's really more or less unlimited flexibility in how they can design such a device, so you want to try not to have too many expectations in where you'll find it based on previous devices.
Logged

Offline pyro_maniac

  • Member
  • *
  • Posts: 99
Re: SAMSUNG YH-920
« Reply #43 on: December 09, 2008, 04:08:14 AM »
That sounds very difficult to me. So i have only the chance to run my own firmware with that bootloader. That makes me a very sad.
Logged

Offline funman

  • Developer
  • Member
  • *
  • Posts: 645
Re: SAMSUNG YH-920
« Reply #44 on: December 09, 2008, 05:02:28 AM »
Quote from: pyro_maniac on December 09, 2008, 04:08:14 AM
That sounds very difficult to me. So i have only the chance to run my own firmware with that bootloader. That makes me a very sad.

That's already a good start !

What do you need to see that is in the bootloader and would not be in the firmware file?

Now I think you must disassemble the firmware and look for known PP registers to find what could be access to the buttons, LCD .. and try to reproduce the behaviour in your own (C / assembly) code.

I'm not familiar with PP, but I would start looking at the files firmware/export/pp*.h
Logged
a wise man said: "a wise man said"

  • Print
Pages: 1 2 [3] 4 5 ... 16
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  SAMSUNG YH-920
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.094 seconds with 15 queries.