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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Fuze V1 - Undefined instruction at 0x00000474
« previous next »
  • Print
Pages: [1]

Author Topic: Fuze V1 - Undefined instruction at 0x00000474  (Read 2516 times)

Offline Eibwen

  • Member
  • *
  • Posts: 6
Fuze V1 - Undefined instruction at 0x00000474
« on: March 01, 2010, 07:09:23 PM »
I tried installing with the 3.5 installer on a Fuze V1 2GB
I believe it would show the RockBox logo screen, then almost immediately show:

Undefined instruction at 0x00000474

It definitely did not show any UI.

I tried installing with both Firmware 01.02.26 and 01.02.31

Holding the arrow button to boot normal firmware worked, and flashing with original firmware restored it to working order

I did all of it on Windows 7 64bit.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8986
Re: Fuze V1 - Undefined instruction at 0x00000474
« Reply #1 on: March 01, 2010, 07:15:41 PM »
Could you try downloading the latest build (from the download link on the left side of the screen) and unzipping it to your player?
Logged

Offline Eibwen

  • Member
  • *
  • Posts: 6
Re: Fuze V1 - Undefined instruction at 0x00000474
« Reply #2 on: March 02, 2010, 12:41:26 PM »
I remembered slightly incorrectly, the error is "Undefined instruction at 00000474" (no 0x)

And it flashes the boot screen for less than a second, it is apparently "Boot Ver 1.0RC" then goes to that error message

Extracting .rockbox from build r24992 did nothing at all.


Using the manual bootloader install process (the versions linked to by this page http://www.rockbox.org/wiki/SansaAMS#Installation_for_Stable_e200v2_F):
Original firmware 01.02.31 gave an error message (the install program did not give any errors and seemed to patch it)
01.02.26 it says patched succeeded

But putting that firmware on still resulted in the same error
« Last Edit: March 02, 2010, 01:24:15 PM by Eibwen »
Logged

Offline funman

  • Developer
  • Member
  • *
  • Posts: 645
Re: Fuze V1 - Undefined instruction at 0x00000474
« Reply #3 on: March 02, 2010, 04:09:06 PM »
Try removing the .rockbox directory:

If the error is still there the problem is in the bootloader

If instead you see something like "no .rockbox directory" then the error is in the build, and you can try using a current build to see if it fixes the problem.
Logged
a wise man said: "a wise man said"

Offline Eibwen

  • Member
  • *
  • Posts: 6
Re: Fuze V1 - Undefined instruction at 0x00000474
« Reply #4 on: March 02, 2010, 04:43:39 PM »
The error is still there when there is no .rockbox directory, so the boot loader is not working on mine
Logged

Offline funman

  • Developer
  • Member
  • *
  • Posts: 645
Re: Fuze V1 - Undefined instruction at 0x00000474
« Reply #5 on: March 02, 2010, 04:59:15 PM »
Dunno what happens there, bootloader is using 0x81000000 as base address, not 0x0.

This address is inside irq stack (minus 0x81000000).

Can you build a bootloader from current svn and install it manually with mkamsboot ?

Also what happens if you keep pressing the power button (or any other one but left) while powering on ?
The logo should disappear faster and perhaps text could be printed, depending on when the bootloader fails.
Logged
a wise man said: "a wise man said"

Offline Eibwen

  • Member
  • *
  • Posts: 6
Re: Fuze V1 - Undefined instruction at 00000474
« Reply #6 on: March 02, 2010, 05:31:38 PM »
If i hold down any button other than left it just restarts immediately after flashing the error message
Otherwise it pauses on the error message until i press a button, then restarts


What would be the quickest way to be able to build it? A knoppix live cd perhaps?  Or would it not take much to get it to build in windows?
Logged

Offline Riffer

  • Member
  • *
  • Posts: 14
Re: Fuze V1 - Undefined instruction at 0x00000474
« Reply #7 on: March 02, 2010, 07:17:01 PM »
For how to build have a look here: http://www.rockbox.org/wiki/DevelopmentGuide#Set_Up_Your_Environment

There are many options to do it.  The Wiki contains all you must have to know.
Logged

Offline Eibwen

  • Member
  • *
  • Posts: 6
Re: Fuze V1 - Undefined instruction at 0x00000474
« Reply #8 on: March 03, 2010, 02:54:59 PM »
Okay i built it just now, using the VM

I now have bootloader r25003-100303

And it goes directly to a white error screen with:
Undefined instruction at 0000048C
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1054
Re: Fuze V1 - Undefined instruction at 0x00000474
« Reply #9 on: March 03, 2010, 04:02:17 PM »
A wild guess, maybe the filesystem is corrupted? Can you run chkdsk on the fuze?
Logged

Offline Eibwen

  • Member
  • *
  • Posts: 6
Re: Fuze V1 - Undefined instruction at 0x00000474 [SOLVED]
« Reply #10 on: March 03, 2010, 04:56:29 PM »
That did help a little

With the firmware i built i get:
Data abort at 810014B0

(ran chkdsk again here, and it found some more of the same problems as below)

Flashed with the manually created bootloader, said couldn't find firmware or something, using the current build

So i deleted the .rockbox that was there
Then used the 3.5 installer and it works


Thank all of you so much!


The installer works with offical firmware 01.02.31, but the mkamsboot.exe seemed to refuse it, that seems very odd to me.



Code: [Select]
J:\>chkdsk /F
The type of the file system is FAT.
Cannot lock current drive.

Chkdsk cannot run because the volume is in use by another
process.  Chkdsk may run if this volume is dismounted first.
ALL OPENED HANDLES TO THIS VOLUME WOULD THEN BE INVALID.
Would you like to force a dismount on this volume? (Y/N) y
Volume dismounted.  All opened handles to this volume are now invalid.
Volume SANSA FUZE created 1/1/1980 12:00 AM
Volume Serial Number is 0123-4567
Windows is verifying files and folders...
Removing nonvalid long folder entry from \...
Removing nonvalid long folder entry from \...
Removing nonvalid long folder entry from \...
Removing nonvalid long folder entry from \...
File and folder verification is complete.
Convert lost chains to files (Y/N)? y
884736 bytes in 27 recovered files.
Windows has made corrections to the file system.

2,022,932,480 bytes total disk space.
       65,536 bytes in 2 hidden files.
    1,441,792 bytes in 44 folders.
1,761,443,840 bytes in 260 files.
  259,948,544 bytes available on disk.

       32,768 bytes in each allocation unit.
       61,735 total allocation units on disk.
        7,933 allocation units available on disk.

J:\>chkdsk
The type of the file system is FAT.
The volume is in use by another process. Chkdsk
might report errors when no corruption is present.
Volume SANSA FUZE created 1/1/1980 12:00 AM
Volume Serial Number is 0123-4567
Windows is verifying files and folders...
File and folder verification is complete.
Windows has checked the file system and found no problems.

2,022,932,480 bytes total disk space.
       98,304 bytes in 3 hidden files.
    1,409,024 bytes in 43 folders.
1,761,443,840 bytes in 260 files.
  259,948,544 bytes available on disk.

       32,768 bytes in each allocation unit.
       61,735 total allocation units on disk.
        7,933 allocation units available on disk.
Logged

Offline funman

  • Developer
  • Member
  • *
  • Posts: 645
Re: Fuze V1 - Undefined instruction at 0x00000474 [SOLVED]
« Reply #11 on: March 03, 2010, 09:37:11 PM »
Quote from: Eibwen on March 03, 2010, 04:56:29 PM
The installer works with offical firmware 01.02.31, but the mkamsboot.exe seemed to refuse it, that seems very odd to me.

This is because mkamsboot.exe is older than Rockbox Utility, and doesn't know about the recently release firmware
Logged
a wise man said: "a wise man said"

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Fuze V1 - Undefined instruction at 0x00000474
 

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

Page created in 0.176 seconds with 22 queries.