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
| |-+  Starting Development and Compiling
| | |-+  How to debug boot process on a new port?
« previous next »
  • Print
Pages: [1]

Author Topic: How to debug boot process on a new port?  (Read 1199 times)

Offline jukeboxhero

  • Member
  • *
  • Posts: 1
How to debug boot process on a new port?
« on: July 28, 2010, 02:27:15 PM »
Hello,

I am new to rockbox and like to port it to an older mp3 player of mine: Medion Jukebox MD 420. There is also a special thread open for this player since ages (id 6784). According to that thread I build rockbox based on the H10 settings and tried to boot it.

The problem is, that I cannot see any output on the display - it just gets blank.

But when I look into the player, I can see, that there was a '/tmp' directory created during boot, this means the file system driver seems to work. I searched a lit in the sources and also in the forum and documentation to learn something about debugging techniques for rockbox, but only found something about JTAG and I am more a system programmer than a hardware developer...

Is it possible to generate debug logfiles somehow in the filesystem? I found some hint in logf.h, but I do not really see how to start...

Any tips are welcome!

Many thanks and best regards,

    JukeBoxHero
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: How to debug boot process on a new port?
« Reply #1 on: July 28, 2010, 03:01:52 PM »
Rockbox doesn't use a /tmp directory, so that's presumably not Rockbox creating that... so I don't think it's reasonable to assume that Rockbox is getting far enough to write to the disk.

If there's some kind of serial port (perhaps used for a remote/dock, or just unpopulated pads on the board) that's a good option; if JTAG is available that's another good one but requires more knowledge (and hardware) to use. Other than that you have options like.. trying to flash an LED/the backlight/etc.. :)
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  How to debug boot process on a new port?
 

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

Page created in 0.062 seconds with 15 queries.