ISSUE:
However, when I reboot I have to manually insmod and mount the sd card each time.
What are my options? Suggestions?
BTW, this is what I see when I do insmod mmc followed by dmesg:
=================================
[INFO] mmc_hardware_init: initializing GPIOs
[INFO] mmc_card_init: the period of a 380KHz frequency lasts 656 CPU cycles
[INFO] mmc_card_init: powering card on. sending 80 CLK
[INFO] mmc_card_init: 80 CLK sent in 54206 CPU cycles
[INFO] mmc_card_init: resetting card (CMD0)
[INFO] mmc_card_init: doing initialization loop
[INFO] mmc_card_init: card inited successfully in 133 tries (5077225 CPU cycles).
[INFO] mmc_init: MMC/SD Card ID:
02 54 4d 53 44 30 32 47 38 a3 ea dc fb 00 8c 85 [INFO] Manufacturer ID : 02
[INFO] OEM/Application ID: TM
[INFO] Product name : SD02G
[INFO] Product revision : 3.8
[INFO] Product SN : a3eadcfb
[INFO] Product Date : 2008-12
[INFO] mmc_card_config: size = 1921024, hardsectsize = 1024, sectors = 1921024
[WARN] mmc_init: hd_sizes=1921024, hd[0].nr_sects=3842048
[INFO] mmc_card_init: set_blocklen (CMD16) succeeded !
Partition check:
mmca: p1
======================
So I have 2 issues now:
(1) the card does not copy really large size like 200MB... stops after like 30MB of data copy
(2) I have to manually mount the card after each reboot.
(3) Last if I mount to mmc folder in root it says that is a read only folder and makes the card unwritable for me.
Sorry but I am very new to Linux and am really challenged.
BTW, my router is overclocked, had a heat sink and a fan as well.
That should work good on your router, you could get mega if you need it. You have 8 Meg of flash so you can run any of those builds, just avoid newd2. _________________ Eko Builds
If the size of the firmware exceeds 5,898,240 bytes you need adjust the maximum size with '-m size' option. Not sure how large mega/big is now or if that's relevant to your issue. _________________ Eko Builds
If the size of the firmware exceeds 5,898,240 bytes you need adjust the maximum size with '-m size' option. Not sure how large mega/big is now or if that's relevant to your issue.
The file size of the mega is:
5.76 MB (6,045,696 bytes)
which exceeds size you mentioned.
I'll hunt the build script and specify that under the line that reads
g++ -O3 mksquashfs.o read_fs.o sort.o -L../lzma/C/7zip/Compress/LZMA_Lib -llzma -lpthread -o mksquashfs-lzma
The new line after my change would read:
g++ -O3 -m 7000000 mksquashfs.o read_fs.o sort.o -L../lzma/C/7zip/Compress/LZMA_Lib -llzma -lpthread -o mksquashfs-lzma
Before I try can you please chime in to comment if what I am planning is right or not?