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
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  NWZ Create UPG Fails
« previous next »
  • Print
Pages: [1]

Author Topic: NWZ Create UPG Fails  (Read 874 times)

Offline majjam

  • Member
  • *
  • Posts: 2
NWZ Create UPG Fails
« on: April 09, 2021, 03:55:00 PM »
Hi
i want to create an altered bootloader for my sonyNWZe580 (no boot menu on but direct boot into rockbox if hold button is not on hold)
Altering the bootloader to my needs is not the problem, nor compiling it. But i have troube to create an upg file for the update

1. compiling of and executing of rockbox work  =>OK

2. compiling of bootloader works  => OK

3. compiling mknwzboot fails !  =>


4. compiling upgtools works = >OK

mknwzboot has a dependency to  utils/nwztools/upgtool
but this seems to be broken :
The Makefile has references to md5.c  and mg.c which do not exist.
Because mg.cpp does exist i think that upgtools were updated but not the mknwzboot's makefile

Update :

i edited Makefile of mknwzboot  to build it sucessfully  :
UPGTOOLS_SOURCES = misc.c upg.c fwp.c mg.cpp md5.cpp
UPGTOOLS_SOURCES = misc.c upg.c  mg.cpp keysig_search.c <= this seems to be fine



Unfortuantely i always get a segfault when using:
../rbutil/mknwzboot/mknwzboot -o NW_WM_FW.UPG -b bootloader-nwze580.sony
[INFO] Bootloader file for Sony NWZ-E580 Series
Segmentation fault (core dumped)


The same goes for  upgtool which i can build unmodified

./upgtool -m nwz-e580 -c bootloader-nwze580.sony
Keys
  KAS: 6e25f79812eca7ceed04819d833e80af
  Key: a70807da
  Sig: 97e8ce46

Segmentation fault (core dumped)


so probably something is wrong with my build system , i don't know ?
(im usung linux mint 20 within virtualbox )

Has anyone a working build of mknwzboot and upgtool for win32 for me to play with ?

thanks in advance Max

« Last Edit: April 10, 2021, 09:44:23 AM by majjam »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  NWZ Create UPG Fails
 

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

Page created in 0.08 seconds with 20 queries.