Rockbox Development > Starting Development and Compiling

How to debug boot process on a new port?

(1/1)

jukeboxhero:
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

torne:
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.. :)

Navigation

[0] Message Index

Go to full version