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
translations translations
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
|-+  Support and General Use
| |-+  Hardware
| | |-+  IHIFI770C gets stuck during boot process
« previous next »
  • Print
Pages: [1]

Author Topic: IHIFI770C gets stuck during boot process  (Read 369 times)

Offline fuyi

  • Member
  • *
  • Posts: 2
IHIFI770C gets stuck during boot process
« on: February 15, 2025, 09:00:14 AM »
The IHIFI770C using daily builds fails to start and gets stuck at the Rockbox boot logo. I tried building from the Master branch source code, but the same issue occurs. However, after removing the INIT_ATTR from the line extern void system_init(void) INIT_ATTR; in the firmware/export/system.h file, it starts normally. My C language skills are poor, and I’m unsure if removing this might cause any side effects. Could someone help check how to properly fix this?
Logged

Offline speachy

  • Administrator
  • Member
  • *
  • Posts: 678
Re: IHIFI770C gets stuck during boot process
« Reply #1 on: February 16, 2025, 07:53:03 AM »
Quote from: fuyi on February 15, 2025, 09:00:14 AM
The IHIFI770C using daily builds fails to start and gets stuck at the Rockbox boot logo. I tried building from the Master branch source code, but the same issue occurs. However, after removing the INIT_ATTR from the line extern void system_init(void) INIT_ATTR; in the firmware/export/system.h file, it starts normally. My C language skills are poor, and I’m unsure if removing this might cause any side effects. Could someone help check how to properly fix this?

Wow, I've been trying to find someone with one of these devices (770/770C/800) for several years now; as far as I am aware you are the first person who has tried this stuff out since it was merged.

The change you made is an interesting one; can I ask why you tried that in particular?  Also, where did the bootloader come from?

As for the failure, system_init() is only called as part of the early boot process by other early boot code, so nothing immediately stands out.  I'm looking into it though
Logged

Offline fuyi

  • Member
  • *
  • Posts: 2
Re: IHIFI770C gets stuck during boot process
« Reply #2 on: February 17, 2025, 07:37:08 AM »
Quote from: speachy on February 16, 2025, 07:53:03 AM
Quote from: fuyi on February 15, 2025, 09:00:14 AM
The IHIFI770C using daily builds fails to start and gets stuck at the Rockbox boot logo. I tried building from the Master branch source code, but the same issue occurs. However, after removing the INIT_ATTR from the line extern void system_init(void) INIT_ATTR; in the firmware/export/system.h file, it starts normally. My C language skills are poor, and I’m unsure if removing this might cause any side effects. Could someone help check how to properly fix this?

Wow, I've been trying to find someone with one of these devices (770/770C/800) for several years now; as far as I am aware you are the first person who has tried this stuff out since it was merged.

The change you made is an interesting one; can I ask why you tried that in particular?  Also, where did the bootloader come from?

As for the failure, system_init() is only called as part of the early boot process by other early boot code, so nothing immediately stands out.  I'm looking into it though

Thank you for addressing the issue. I own the iHiFi 770C, HM-601 Slim, and HM-603 Slim—all RK27XX-based devices. Rockbox runs smoothly on the iHiFi 770C, even more stably than on my HM-60x series.

When I tried updating Rockbox and encountered the boot hang on the iHiFi 770C, I traced back through Git commit history to find the last working version. I discovered that starting from commit 39439f69, the device failed to boot. After reviewing the changes, I noticed modifications to system_init(), so I attempted to revert those changes in the latest code—and it successfully booted.

Interestingly, the HM-60x series (also RK27XX-based) doesn’t exhibit this issue, which suggests the problem might lie in the iHiFi 770C’s device-specific code.

The official Rockbox installation instructions don’t include the iHiFi 770C. I sourced the bootloader from Rockbox-Vortex. Comparing the code merged into Rockbox, I confirmed it’s identical. The installation process for iHiFi devices resembles the HM-60x method: renaming bootloader.rkw to BASE.rkw and overwriting it in the original firmware. The key difference is that the iHiFi requires flashing via RK27Upgrade_image.exe, a tool provided on the Rockbox-Vortex website.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  IHIFI770C gets stuck during boot process
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.103 seconds with 22 queries.