350d boot from cf card - page 10 - DSLR Hack development - CHDK Forum supplierdeeply

350d boot from cf card

  • 510 Replies
  • 326889 Views
Re: 350d boot from cf card
« Reply #90 on: 21 / November / 2009, 17:02:57 »
Advertisements
Where I can upload the files?
Megaupload or Mediafire are good, you could also email them to me metaphorever@gmail.com and I could host them on my site. Either way I agree that we should have a reliable up to date link on the wiki.

Re: 350d boot from cf card
« Reply #91 on: 21 / November / 2009, 17:24:36 »
What I need to compile from sources the newest version of this extension?

I trying to run build.bat file, after installation Cygwin and WINArm, but it's won't work  ???


Re: 350d boot from cf card
« Reply #92 on: 22 / November / 2009, 05:07:09 »
What I need to compile from sources the newest version of this extension?

Started to eximine source files for those firmwares I have downloaded and
just logged in to ask the same question.
1) I have also Cygwin installed, but what arm compiler to choose? GCC for Arm?

2) Has anybody tried to fix ISO 3200 name to be ISO 4000 as mentioned earlier and set intermediate value to memory location to get ISO 3200?

3) Is it possible to output debug info only through the led / file, or is it possible to write to the screen also?

4) How much memory is it available for firmware loaded from CF card?

Re: 350d boot from cf card
« Reply #93 on: 25 / November / 2009, 16:44:51 »
1. extract the 350d_iso3200_spot_7cf.zip

I am sorry, I'm new at forum.
Where do I get this file?

Thank you very much for hacks with ISO3200 and shutter release count.
I have tried with just purchased 350D and it worked flawlessly.
I would like to try the custum function hack also, but could not find the download link.
Links from other forums brought me to the restricted section.

Thank you in advance.

+1!

if possible, send, please, anyone else this file by e-mail: madx2000@mail.ru

Thanks in advance, and I apologize for my English.


Re: 350d boot from cf card
« Reply #94 on: 25 / November / 2009, 21:15:58 »
http://www.mediafire.com/?sharekey=78ee45b97520ae1308f8df73f2072ed62590fcdbf5f0ba1af7e866bfb1230ce0

All the files should be available on this mediafire share and anyone can upload new files there if they have changes they have made. I haven't tried it yet but the CHDK Shell http://chdk.wikia.com/wiki/CHDK-Shell looks interesting and may answer your gcc/arm questions.

Re: 350d boot from cf card
« Reply #95 on: 26 / November / 2009, 02:24:03 »
thanks!    :)

Re: 350d boot from cf card
« Reply #96 on: 26 / November / 2009, 06:22:12 »
Thanks a lot, metaphorever
I have read about CHDK on the wiki, but haven't seen CHDK-Shell link there.

*

Offline whim

  • ******
  • 2040
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: 350d boot from cf card
« Reply #97 on: 26 / November / 2009, 06:47:53 »
maybe here

http://chdk.wikia.com/wiki/CHDK-Shell  (scroll down to find the "Download" section)

BTW: CHDK-Shell is highly linked to the CHDK source repository, i've never tried it on any DSLR code.
        Probably you're going to need to use the manual compile. In this case you might as well just
        use the cmdline kits:

                       gcc 3.4.6  or  gcc 4.4.0

        note you should let these unpack to a path without spaces ; if you unpack to - say - c:\test
        they will create c:\test\gcc or c:\test\gcc440, respectively.
        you should then add c:\test\gcc\bin or c:\test\gcc440\bin to your PATH (as first entry)

hth,

wim

[ edited: updated links + added explanation ]
« Last Edit: 26 / November / 2009, 11:04:07 by whim »


Re: 350d boot from cf card
« Reply #98 on: 26 / November / 2009, 19:37:06 »
Fail on step 1 - bootflag.fir (also knowed as scanled.fir as i undestand)
Blue led not flashed after 15 min.
I install arm-elf-gcc+cygwin and add small debug to bootflag.c :

void main()
{
        ft_read_bootflag read_bootflag;
        ft_write_bootflag write_bootflag;
        int buf1[FLAG_BUF_SIZE];
        int buf2[FLAG_BUF_SIZE];
        int *boot_flag = (int*)BOOT_FLAG;

        LEDBLUE = LEDON;
        Delay(1 << 14);
        LEDBLUE = LEDOFF;

        Copy();
        LEDBLUE = LEDON;
        Delay(1 << 14);
        LEDBLUE = LEDOFF;

        read_bootflag = (ft_read_bootflag)0x001059b0;
        LEDBLUE = LEDON;
        Delay(1 << 14);
        LEDBLUE = LEDOFF;

        write_bootflag = (ft_write_bootflag)0x0010586c;
        LEDBLUE = LEDON;
        Delay(1 << 14);
        LEDBLUE = LEDOFF;

        Delay(1 << 14);

        Zero(buf1, FLAG_BUF_SIZE);
        LEDBLUE = LEDON;
        Delay(1 << 14);
        LEDBLUE = LEDOFF;

        Zero(buf2, FLAG_BUF_SIZE);
        LEDBLUE = LEDON;
        Delay(1 << 14);
        LEDBLUE = LEDOFF;

        read_bootflag(buf1, buf2);
        LEDBLUE = LEDON;
        Delay(1 << 14);
        LEDBLUE = LEDOFF;


Recompile and strat upgrade firmware
I count blue led flashing...
Only 2 blue flash occured.
Hang on read_bootflag = (ft_read_bootflag)0x001059b0
Any ideas ?

Re: 350d boot from cf card
« Reply #99 on: 26 / November / 2009, 20:11:15 »
Some additional delay enchance diagnostic.
Sorry, prev post was wrong:

void main()
{
        ft_read_bootflag read_bootflag;
        ft_write_bootflag write_bootflag;
        int buf1[FLAG_BUF_SIZE];
        int buf2[FLAG_BUF_SIZE];
        int *boot_flag = (int*)BOOT_FLAG;

        Delay(1 << 16);

        LEDBLUE = LEDON;
        Delay(1 << 16);
        Copy();
        LEDBLUE = LEDOFF;


        LEDRED = LEDON;
        Delay(1 << 16);
        read_bootflag = (ft_read_bootflag)0x001059b0;
        LEDRED  = LEDOFF;

        LEDBLUE= LEDON;
        Delay(1 << 16);
        write_bootflag = (ft_write_bootflag)0x0010586c;
        LEDBLUE = LEDOFF;


        LEDRED = LEDON;
        Delay(1 << 16);
        Zero(buf1, FLAG_BUF_SIZE);
        LEDRED = LEDOFF;

        LEDBLUE= LEDON;
        Delay(1 << 16);
        Zero(buf2, FLAG_BUF_SIZE);
        LEDBLUE = LEDOFF;

        LEDRED =LEDON;
        Delay(1 << 16);
        read_bootflag(buf1, buf2);
        LEDRED = LEDOFF;

        //if (buf1[0] == 0 && buf1[1] == 0 && buf1[2] == -1)
        if (buf1[0] != boot_flag[0] || buf1[1] != boot_flag[1] || buf1[2] != boot_flag[2]) {
                LEDBLUE = LEDOFF;
                LEDRED = LEDON;
        } else {
                LEDBLUE = LEDON;
                Delay(1 << 14);


After start upgrade first flash redled - read .firm from card. Ok, start count leds:
blue
red

blue
red

blue
red
.... and silence
Stopped at  read_bootflag(buf1, buf2);

 

Related Topics