0d7cbec | Coutts | 21 June 2012, 12:32:49 UTC | Fix font sizes (thanks Alex!) and fixed problem of bmp_buffer moving around, using a pointer to the bmp_vram now instead of the raw address. Also testing ML menu with skeleton shoot menu, not working yet though. | 21 June 2012, 12:32:49 UTC |
839c524 | Coutts | 18 June 2012, 19:39:30 UTC | compiles with menu.c added. Nothing draws on screen though, need to fix up bmp routines now. | 18 June 2012, 19:39:30 UTC |
6815f69 | Coutts | 15 June 2012, 20:55:01 UTC | Fix error for modulus in vxworks.h. Just need to fix the rest of the linker errors for menu.c and it should compile. | 15 June 2012, 20:55:01 UTC |
d327864 | Coutts | 15 June 2012, 19:48:24 UTC | Weird linker error while trying to port menu.c | 15 June 2012, 19:48:24 UTC |
ca9ed63 | Coutts | 01 June 2012, 17:57:13 UTC | Reverting to old commit to fix makefile issues. | 01 June 2012, 17:57:13 UTC |
3c1f732 | Coutts | 01 June 2012, 15:42:33 UTC | Add "make install" option to makefile to copy autoexec.bin to cf card. Also included empty files for menu system (need to port from magic lantern). | 01 June 2012, 15:42:33 UTC |
e912882 | Coutts | 01 June 2012, 15:42:04 UTC | Add "make install" option to makefile to copy autoexec.bin to cf card. | 01 June 2012, 15:42:04 UTC |
ddc77d1 | Coutts | 16 May 2012, 16:02:31 UTC | Big thanks to Alex for help on this. Resized the AllocateMemory heap to be 512kb smaller. This leaves a gap at the end of the area in memory where the heap used to occupy: 512kb of space starting at 0x980000. This is where our code is linked to now, as this is a safe spot that will not be touched by Canon. Also, in entry.s, we copy 512kb from 0x800000 (spot where bootloader copies the autoexec) to 0x980000 (our new safe spot). This should take care of code relocation, as far as I know we are in a safe spot in memory now. | 16 May 2012, 16:02:31 UTC |
39be7ab | Coutts | 16 May 2012, 14:42:13 UTC | -Fix stubs for AllocateMemory and FreeMemory. -Some test code in gui.c for testing max allocatable size of memory. | 16 May 2012, 14:42:13 UTC |
864b749 | Coutts | 11 May 2012, 19:16:46 UTC | -Moved some old routines for LED blinking into a new file 'legacy.c'. -Mapped BGMT button codes as they are perceived by gui_main_task. Codes are in gui.h -Early framework for button handler is in gui.c now, direct print button turns the red LED on/off and the zoom in button turns the blue LED on/off. | 11 May 2012, 19:16:46 UTC |
61b46a9 | Coutts | 03 May 2012, 00:22:16 UTC | Fix color palette to print correctly. Alex found that 5dc bmp buffer is only 4-bit, so we only have 16 colors to print not 256. | 03 May 2012, 00:22:16 UTC |
c343d71 | Coutts | 01 May 2012, 20:38:59 UTC | Cleaning up code more. | 01 May 2012, 20:38:59 UTC |
339b4eb | Coutts | 01 May 2012, 05:49:31 UTC | Cleaned up organization of files - moved GuiMainTask to gui.c | 01 May 2012, 05:49:31 UTC |
84c77d7 | Coutts | 01 May 2012, 05:14:39 UTC | Overriding GuiMainTask works. Will organize file structure later and move tasks into their respective files. From now on we kill canon's GuiMainTask and create it again with our task handler instead of Canon's. | 01 May 2012, 05:14:39 UTC |
d3fb081 | Coutts | 01 May 2012, 00:14:29 UTC | Reverting back to ML font files, they work better and are easier to read. bmp_hexdump() seems to be working now too. Length should be inputted as 16*[# of lines to display]. | 01 May 2012, 00:14:29 UTC |
3c54275 | Coutts | 30 April 2012, 23:05:12 UTC | Better font for FONT_SMALL, it is smaller so it fits on screen better. Also fixed bmp_hexdump() to show 16 bytes on each line instead of 32. This way it fits on the 5dc screen and is not spilling over like it was before. | 30 April 2012, 23:05:12 UTC |
16668cc | Coutts | 30 April 2012, 21:23:20 UTC | Beginning to explore task hijacking. Also added a fonts folder which has a small makefile to run the Magic Lantern font generation scripts. | 30 April 2012, 21:23:20 UTC |
8bf07e1 | Coutts | 28 April 2012, 19:03:04 UTC | Fix value for COLOR_WHITE to be real white now. Only known color values at this point are White and Black. | 28 April 2012, 19:03:04 UTC |
68250fd | Coutts | 28 April 2012, 13:18:26 UTC | Initial merge of BMP module from Magic Lantern - can print strings on the lcd screen now!! | 28 April 2012, 13:18:26 UTC |
970edc4 | Coutts | 27 April 2012, 20:46:05 UTC | Located BMP cram address. Initial testing for writing to the buffer is a success. Next step is to port bmp.c from Magic Lantern so that we can print text on screen! | 27 April 2012, 20:46:05 UTC |
25cbb00 | Coutts | 25 April 2012, 00:11:23 UTC | Mapped bootflag functions in the bootloader using the 400d's bootloader. With these I was able to set the bootflag and boot an autoexec.bin file. I wrote an installer FIR to toggle the bootflag every time you run it. It works!! | 25 April 2012, 00:11:23 UTC |
d3d1035 | Coutts | 21 April 2012, 00:34:25 UTC | Found blue LED address. Can't boot camera yet but can use LEDs to flash the contents of memory addresses in binary. Many new stubs found thanks to chuchin. Also discovered that it is not necessary to include the flasher to run code, so I have removed it. | 21 April 2012, 00:34:25 UTC |
d1753df | Coutts | 10 March 2012, 19:04:36 UTC | Boot process is re-written with an inserted CreateTask call. Doesn't work though, not sure why code won't work on the 5dc. Firmware won't boot, camera just hangs. Can't take pictures or bring up the menu. Can change settings like ISO though, so maybe it's half-booted or something. Not sure. This is exactly how I ran code on the 1000d which runs VxWorks as well, but I never had any issues with that. Out of ideas for now, maybe will re-visit some day.. | 10 March 2012, 19:04:36 UTC |
b086ab4 | Coutts | 07 March 2012, 21:08:04 UTC | Pushing LED blinker code from SX100 (http://chdk.setepontos.com/index.php?topic=17.0). Doesn't work yet, won't compile. | 07 March 2012, 21:08:04 UTC |
5426308 | Coutts | 05 March 2012, 03:31:11 UTC | Fix header width in files. Starting the long process of re-writing the boot process from ASM code into c. | 05 March 2012, 03:31:11 UTC |
afe6109 | Coutts | 03 March 2012, 21:52:04 UTC | Included 5d v1.1.1 canon update fir. | 03 March 2012, 21:52:04 UTC |
6c90676 | Coutts | 03 March 2012, 21:50:42 UTC | First push of my code to a repository. Right now it only blinks the LED, doesn't boot the firmware yet. | 03 March 2012, 21:50:42 UTC |