A720IS help - General Help and Assistance on using CHDK stable releases - CHDK Forum

A720IS help

  • 11 Replies
  • 9801 Views
A720IS help
« on: 02 / March / 2008, 09:28:21 »
Advertisements
Hi

I spent last night trying to boot AllBest relies on my Canon A720IS but failed.
I have tried AllBest-34 and AllBest-37  1.00c version

I am using linux so maybe I am doing something wrong when formating the SD card
This is what I've done:

fdisk the SD card:
      Deleted the old partition
      Created new one
      Set the partition type to FAT16
      Switched on the BOOTABLE flag for the partition
      Write the changes to SD card and exit

mkfs.msdos to format the new partition:
      mkfs.msdos -v -F16 /dev/mmcblk0p1

copy the DISKBOOT.BIN file to the SD card:
      cp ~/DISKBOOT.BIN /media/disk

I have tried with locked and unlocked card but the camera didn't boot from the SD
I have even tried to RAW WRITE the DISKBOOT.BIN to the FAT16 first/second sector with the DD command
but it didn't helpped as well

any help?

my SD is APACER 2GB

thanks

Re: A720IS help
« Reply #1 on: 02 / March / 2008, 23:56:41 »
the step you haven't made is make the card bootable, that's why CHDK won't load. Is like creating a bootable cd without making it bootable ;) it won't load...
--
Alejandro

*

Offline BB

  • ***
  • 164
Re: A720IS help
« Reply #2 on: 03 / March / 2008, 01:00:23 »
Two possible things I would check (not a linux guy)...

1. Format the card first, then flip the bootable bit just in case the format command wipes the bit out (????).

2. The copy command you did. That was a copy "binary" that did not do some sort of conversion (<NewLine> vs <CR><LF>, etc.). Also, the DISKBOOT.BIN was all capital letters (don't know if it matters) and it was in the ROOT Directory of the Card.

3. What happens when the card is "write protected"? I think I remember that if the card was write protected and the *.BIN or bootable flag or FAT32 was not all set correctly, I would see a "Card Write Protected" warning. If all else was OK, I would not see the "Write Protect" warning and the camera would boot normally.

Good Luck!
-Bill

Re: A720IS help
« Reply #3 on: 03 / March / 2008, 02:58:41 »
Two possible things I would check (not a linux guy)...

1. Format the card first, then flip the bootable bit just in case the format command wipes the bit out (????).
Yes, it will wipe out the bootable part of the card. That's why (s)he has to make the card bootable ;)

2. The copy command you did. That was a copy "binary" that did not do some sort of conversion (<NewLine> vs <CR><LF>, etc.). Also, the DISKBOOT.BIN was all capital letters (don't know if it matters) and it was in the ROOT Directory of the Card.
The cp command was ok, I think all the problem was just the bootable part.

Oh, and the dd command is not necessary ;) use just cp and you'll be fine.
--
Alejandro

Re: A720IS help
« Reply #4 on: 05 / March / 2008, 10:11:59 »
the step you haven't made is make the card bootable, that's why CHDK won't load. Is like creating a bootable cd without making it bootable ;) it won't load...

Thanks for the reply ... but how do I make the SD card bootable ...
because I have turned on the bootable flag with fdisk
so here is again the whole procedure:
fdisk the SD card:
      Deleted the old partition
      Created new one
      Set the partition type to FAT16
      Switched on the BOOTABLE flag for the partition
      Write the changes to SD card and exit

mkfs.msdos to format the new partition:
      mkfs.msdos -v -F16 /dev/mmcblk0p1

copy the DISKBOOT.BIN file to the SD card:
      cp ~/DISKBOOT.BIN /media/disk

thanks

p.s.  the DD was just a desperate try :)))

Re: A720IS help
« Reply #5 on: 05 / March / 2008, 10:56:28 »
Hi!

Activating the "boot" flag using fdisk doesn't make it bootable ;) you have to write in the mbr of the SD card. I haven't tried doing that on a card (any card) before, so I can't help you with that.

Althou you can try installing DSL in the card, then delete the files and put the CHDK files back and try to boot.

(If you were in seville I would do it for you hehe)

Saludos
--
Alejandro

Re: A720IS help
« Reply #6 on: 05 / March / 2008, 13:59:21 »
hmmmmmm then what the [censored] is the bootable flag in the fdsik

ok thanks for the reply ... I'll try booting some OS (maybe DSL) as soon as i have some time

regards
Pece
« Last Edit: 05 / March / 2008, 15:58:30 by GrAnd »

*

Offline BB

  • ***
  • 164
Re: A720IS help
« Reply #7 on: 05 / March / 2008, 15:54:45 »
pmilosev,

I am not sure I quite understand your if reply is a question or not... But if it is, here is the Wiki muti-OS instructions for manually setting the SD/SDHC card to "bootable":

Bootable SD card - CHDK Wiki

-Bill
« Last Edit: 05 / March / 2008, 17:01:22 by BB »

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: A720IS help
« Reply #8 on: 05 / March / 2008, 15:58:06 »
hmmmmmm then what the [censored] is the bootable flag in the fdsik

Bootable from PC point of view and bootable from Canon camera point of view are two completely different things.
CHDK Developer.

Re: A720IS help
« Reply #9 on: 05 / March / 2008, 16:11:01 »
finaly
the manual helped ...
sorry for the F word above :)))) but I spent so much time (i'm new to CHDK ... but kind of a experienced programmer so I am lookig forward to contribute after I got some time to get know with CHDK :) )

I just wonder how I didn't found the manual earlier ... i did so much googling :))

thanks again
Pece

 

Related Topics


SimplePortal © 2008-2014, SimplePortal