This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#10627 - Introduce bootloader and target files for new target Lyre Proto2
Attached to Project:
Rockbox
Opened by Bob Cousins (BobC) - Wednesday, 30 September 2009, 16:43 GMT+2
Last edited by Dominik Wenger (Domonoky) - Monday, 19 October 2009, 20:15 GMT+2
Opened by Bob Cousins (BobC) - Wednesday, 30 September 2009, 16:43 GMT+2
Last edited by Dominik Wenger (Domonoky) - Monday, 19 October 2009, 20:15 GMT+2
|
DetailsThis patch introduces a port for the Lyre prototype2 hardware. The patch includes a minimal bootloader which just displays the logo on the LCD and flashes LEDs.
This patch changes crt0.s which is shared with the Gigabeat F/X ports; otherwise no other ports should be affected. I don't have access to Gigabeat players so a regression test needs performing on these players. |
This task depends upon
Closed by Dominik Wenger (Domonoky)
Monday, 19 October 2009, 20:15 GMT+2
Reason for closing: Accepted
Monday, 19 October 2009, 20:15 GMT+2
Reason for closing: Accepted
Many of the copied files still contain gigabeat string.
Also if there are files which are very similar to gigabeat (like the lcd) we should reuse the code, and not make a copy of it.
At moment your lcd driver contains ifdefs for gigabeat but is a copy.
(To reuse the gigabeat lcd code you may have to move the gigabeat lcd driver one level up, and maybe rename it).
And why does this target need its own kernel target file ? are there many differences in this to the gigabeat ?
1) Model renamed from "lyre_proto2" to "mini2440". All references renamed
accordingly.
2) Move code common to S3C2440 SoC from "s3c2440/gigabeat-fx" to
"arm/s3c2440" dir.
Moved files are :
kernel-meg-fx.c -> ../kernel-s3c2440.c
lcd-meg-fx.c -> ../lcd-s3c2440.c
system-meg-fx.c -> ../system-s3c2440.c
system-target.h -> ../system-target.h
3) Improved porting of modules for Mini2440 -
mini2440/adc-target.h
mini2440/backlight-mini2440.c
mini2440/backlight-target.h
mini2440/button-mini2440.c
mini2440/button-target.h
mini2440/lcd-target.h
mini2440/led-mini2440.c
mini2440/led-mini2440.h
mini2440/power-mini2440.c
thanks for moving it to mini2440/ instead of lyre...
also, the actual BUTTON_* names are bad... they should be BUTTON_ONE through to BUTTON_SIX, and then do #define BUTTON_LEFT BUTTON_ONE (or whatever) and do the same for RIGHT, (I tihnk they are the only ones actually required, the rest are used to map to ACTION_ values
someone with a beat f/x needs to double check those drivers before it can be checked in...