Rockbox Development > New Ports
Creative Zen Vision:M
mcuelenaere:
--- Quote from: Domonoky on February 28, 2008, 04:48:37 PM ---hi,
i seam to remember that on some targets the bootloader doesnt have the interrupts enabled, and thats why the replace the sleep with a loop.
Perhaps this also the problem here ?
good luck..
--- End quote ---
I looked in it a bit deeper and I don't think the problem lays with the interrupts (standard all of those are disabled, except the ones for the timers).
BTW, what kind of interrupts should be enabled you're talking about?
I think it has something to do with the task switching, although I don't really know what. Maybe it is trying to access some address that it isn't allowed to touch or some address that was set up in the previous bootloader and is still in use...
Also it seems like there's some problem with the timer handling; as it gives me a panicf() for an unhandled TIMER3 interrupt while that interrupt is nowhere in the code enabled (TIMER0 is used for this)...
Thorondor:
Hi,
I've been watching this thread for some time now. And I want to help too. But I cannot get the bootloader to compile. I can compile bootloaders for other targets, but not for the zvm. All I get is this message:
--- Code: ---In file included from powermgmt.c:45:
export/font.h:30:21: error: sysfont.h: No such file or directory
make[1]: *** [/home/Dennis/rockbox/zvm/firmware/powermgmt.o] Error 1
make: *** [bin] Error 2
--- End code ---
I am using Cygwin, the latest SVN patched with the last zvm.diff. I tried compiling with a compiled sysfont.h from another target but that doesn't work to. I also tried compiling it in native linux. Didn't work either
mcuelenaere:
--- Quote from: Thorondor on February 29, 2008, 04:14:31 PM ---Hi,
I've been watching this thread for some time now. And I want to help too. But I cannot get the bootloader to compile. I can compile bootloaders for other targets, but not for the zvm. All I get is this message:
--- Code: ---In file included from powermgmt.c:45:
export/font.h:30:21: error: sysfont.h: No such file or directory
make[1]: *** [/home/Dennis/rockbox/zvm/firmware/powermgmt.o] Error 1
make: *** [bin] Error 2
--- End code ---
I am using Cygwin, the latest SVN patched with the last zvm.diff. I tried compiling with a compiled sysfont.h from another target but that doesn't work to. I also tried compiling it in native linux. Didn't work either
--- End quote ---
First, try 'tools/rockboxdev.sh': this will install the latest (needed) compilers and toolchain.
You did run 'tools/configure' correctly and selected BOOTLOADER ?
Falafel:
--- Quote from: Thorondor on February 29, 2008, 04:14:31 PM ---Hi,
I've been watching this thread for some time now. And I want to help too. But I cannot get the bootloader to compile. I can compile bootloaders for other targets, but not for the zvm. All I get is this message:
--- Code: ---In file included from powermgmt.c:45:
export/font.h:30:21: error: sysfont.h: No such file or directory
make[1]: *** [/home/Dennis/rockbox/zvm/firmware/powermgmt.o] Error 1
make: *** [bin] Error 2
--- End code ---
I am using Cygwin, the latest SVN patched with the last zvm.diff. I tried compiling with a compiled sysfont.h from another target but that doesn't work to. I also tried compiling it in native linux. Didn't work either
--- End quote ---
I had that problem too.
try this in the folder where you want sysfont.h: "../tools/convbdf -h -o sysfont.h ../fonts/rockbox_default.bdf"
mcuelenaere:
Ok, I finally found out what the problem was with TIMER1 who didn't want to accept any values: it just didn't get any clock :)
So now I've got the tick task working (and interrupts), but still the sleep() problem exists so this will need some more looking into...
Diff is attached (I know, it is very dirty and messy; but I don't have any real debugging tools so I just got to printf() everything I can)
edit:
re-added zvm.diff : added some USB stubs
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version