Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Update: Rockbox won't start from flash, any ideas?
From: Björn Stenberg (bjorn_at_haxx.se)
Date: 2003-06-26


idc-dragon_at_gmx.de wrote:
> 1) The display is just blind and blank. It gets written to without
> complaint, but I don't see anything.

That's because we never initialize it. Try simply adding:

    lcd_write(true, LCD_SET_DISPLAY_ON);

...to lcd_init(). Some more setup commands might be needed though. Let me know how the above works.

> 2) ATA is somehow locked up. First it goes wrong in ata.c, function
> io_address_detect():
>
> 727 /* Let's check again, to be sure */
> 728 if(tmp != ATA_CONTROL)
> 729 {
> 730 DEBUGF("ATA I/O address detection failed\n");
> 731 return -1;
> 732 }
>
> Whe I manually "help" it over this, the next fail is in function
> check_registers()
> 427 if ( ATA_STATUS & STATUS_BSY )
> 428 return -1;
>
> I can help it over here as well, but the subsequent register checks fail as
> well. Just everything about ATA seems to be not working.
>
> I'm stuck here. Any ideas?

Sounds like perhaps the IDE power is not enabled yet. Try adding:

  ide_power_enable(true);

...in a suitable place.

-- 
Björn



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa