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:

Thank You for your continued support and contributions!

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

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

Offline wolly-p

  • Member
  • *
  • Posts: 24
Re: SAMSUNG YH-920
« Reply #75 on: February 05, 2009, 05:13:36 AM »
Bootloader is attached
* BL_YH920.bin (119.97 kB - downloaded 323 times.)
Logged

Offline pyro_maniac

  • Member
  • *
  • Posts: 99
Re: SAMSUNG YH-920
« Reply #76 on: February 05, 2009, 06:03:32 AM »
Quote from: wolly-p on February 05, 2009, 05:13:36 AM
Bootloader is attached

Ok thanks, but how can i get this onto the device? Copy that into the System directory?
Logged

Offline wolly-p

  • Member
  • *
  • Posts: 24
Re: SAMSUNG YH-920
« Reply #77 on: February 05, 2009, 04:44:42 PM »
It's already flashed into the ROM; at present, I don't see a need to change it. If you really want to do that, you would first have to debug it, next to modify it, finally to flash it back to the ROM, but the flashing method is hardware-dependent. Copying will not work.

However, I do not understand the way you want to proceed. Like other PP-based players, the (fixed) bootloader does the necessary steps to initialise the device (e.g. CPU, ATA-interface and a bit more),  and then reads its main firmware from the encrypted mi4-file. This mi4 file is what you have to build completely new, based partly on the available Rockbox sources, and partly with new modules you have to write on your own, dependent on the YH-920 hardware. In order to understand how the hardware works, it will indeed be helpful to debug the bootloader.
Logged

Offline pyro_maniac

  • Member
  • *
  • Posts: 99
Re: SAMSUNG YH-920
« Reply #78 on: February 07, 2009, 05:59:47 PM »
I don't know if you have watched into the bootloader but there are some interesting strings in it. I attachted what i have found. Maybe you will take a look and tell me, what you think.
* BL_Strings.txt (2.04 kB - downloaded 295 times.)
Logged

Offline wolly-p

  • Member
  • *
  • Posts: 24
Re: SAMSUNG YH-920
« Reply #79 on: February 09, 2009, 06:00:11 AM »
Looks like strings of diagnostic tests / error messages. But I don't see how it could be utilised for your intended Rockbox build. BTW, about 2 years ago, I sent various emails to the Samsung guy whose e-mail address can be found in the strings, and the address was existing, but I never got any reply. Seems to be company policy ...
Logged

Offline pyro_maniac

  • Member
  • *
  • Posts: 99
Re: SAMSUNG YH-920
« Reply #80 on: February 09, 2009, 07:11:35 AM »
I was wonderung how much this bootloader can do and i thougt it functions could be helpful for developing.
Logged

Offline wolly-p

  • Member
  • *
  • Posts: 24
Re: SAMSUNG YH-920
« Reply #81 on: February 09, 2009, 08:49:32 AM »
Not to get me wrong: for sure it would be helpful to disassemble / debug the bootloader, because it could serve as the valuable source for hardware addresses, initialisations of hardware components etc. But as mentioned before, I expect proper disassembling / debugging the firmware (i.e. mi4-file) to deliver quicker results. Just my guess, since I haven't done it myself. You could browse the other build forums, this could give you an indication how to proceed.
Logged

Offline pyro_maniac

  • Member
  • *
  • Posts: 99
Re: SAMSUNG YH-920
« Reply #82 on: February 11, 2009, 05:33:54 PM »
I played around with the h10 build again and i found some interessting. the screen is still empty after booting but i connected the device to my windows mashine and that noticed a usb device with the name "Rockbox media player". gevaerts gave me the hint with logf() so i will try this tomorrow.

I hope i can sleep tonight! :-D
Logged

Offline wolly-p

  • Member
  • *
  • Posts: 24
Re: SAMSUNG YH-920
« Reply #83 on: February 12, 2009, 04:52:17 AM »
That's really interesting. Maybe logf() can also give you hints concerning the display (just a guess).
Logged

Offline pyro_maniac

  • Member
  • *
  • Posts: 99
Re: SAMSUNG YH-920
« Reply #84 on: February 12, 2009, 04:27:12 PM »
So now there is a serial connection to the device. But I have to stop here and need to learn what i can do with it and how it works.

I am open for any hints and advices.
Logged

Offline wolly-p

  • Member
  • *
  • Posts: 24
Re: SAMSUNG YH-920
« Reply #85 on: February 13, 2009, 04:11:33 AM »
Can you attach the results of logf (logf.log, logf.txt or whatever it's called) here?
Logged

Offline pyro_maniac

  • Member
  • *
  • Posts: 99
Re: SAMSUNG YH-920
« Reply #86 on: February 13, 2009, 04:48:14 AM »
Until now there is nothing that came from the device. Thats why i have to leran more about it and i think i have to build in more debug. I try to find some time on the weekend.

/EDIT: The only thing i got was: "Connected,"

/EDIT: I recived a "test" out of the connection from the usb_serial_transfer_complete function. But there seems to be still some issues on in the serial connection. i can't read out the logf buffer, where i wrote my init logs into.
« Last Edit: February 16, 2009, 06:14:08 PM by pyro_maniac »
Logged

Offline wolly-p

  • Member
  • *
  • Posts: 24
Re: SAMSUNG YH-920
« Reply #87 on: February 18, 2009, 05:20:24 AM »
You still don't have any other log or debug info, i.e. files on the harddisk? It not, it could be worthwile disassembling the bootloader in order to understand why the current ATA routine does not seem to work. Maybe Rockbox stumbles over something which causes it to stop before writing something to the HDD.
Logged

Offline pyro_maniac

  • Member
  • *
  • Posts: 99
Re: SAMSUNG YH-920
« Reply #88 on: February 19, 2009, 05:13:39 PM »
Quote from: wolly-p on February 18, 2009, 05:20:24 AM
You still don't have any other log or debug info, i.e. files on the harddisk? It not, it could be worthwile disassembling the bootloader in order to understand why the current ATA routine does not seem to work. Maybe Rockbox stumbles over something which causes it to stop before writing something to the HDD.

I don't write to the hdd. I try to recive the data of logf() over the serial usb connection.

I didn't understand the whole functionality yet. I recived a test message via usb serial connection but i wasn't able to read out the logf buffer. To disassemble the bootloader would be a bigger thing to me than to understand and get to work the usb serial thing.

/EDIT: now i have redone my work and i got a connection again. as gevaerts adviced me, i am trying to rearange the init of the components in apps/main.c and to let them wait for a serial usb connection.

/EDIT: i manualy red out old logf entrys but they are very cryptic and to rearange the init seems to be very tricky. i got very often a system freeze on connecting.

/EDIT: i am actually testing the patch FS#9253 to write logf() results into a file. the file was created but nothing in yet. i am working on it. And with the new usb stack i even have access to the hdd after booting rockbox. :-)
« Last Edit: March 08, 2009, 04:14:31 PM by pyro_maniac »
Logged

Offline pyro_maniac

  • Member
  • *
  • Posts: 99
Re: SAMSUNG YH-920
« Reply #89 on: March 10, 2009, 01:00:00 PM »
I need some help in testing my patch in FS#9253 because i have no device rockbox running on.
« Last Edit: March 11, 2009, 05:59:36 AM by pyro_maniac »
Logged

  • Print
Pages: 1 ... 4 5 [6] 7 8 ... 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.086 seconds with 23 queries.