adesso per non avere troppi sbattimenti avevo pensato di "clonarla" con dd
per fare altre prove (tra 2 MICRO-SD da 8GB)
Ma il clone NON FUNZIONA...
prima avevo provato a copiare solo il primo GB, poi ho provato con tutto
Allego sotto cosa sucede col clone, seguito dal boot funzionante :
Avevo pensato a problemi di puntamento tipo C/H/S ma la "geometria" delle due micro-SD mi pare esattamente uguale, vedi fdisk:
Disk /dev/mmcblk0: 7746 MB, 7746879488 bytes
4 heads, 16 sectors/track, 236416 cylinders, total 15130624 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x9c2e57c2
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 40960 172031 65536 b W95 FAT32
/dev/mmcblk0p2 172032 1656832 742400+ 83 Linux
Disk /dev/mmcblk0: 7860 MB, 7860125696 bytes
4 heads, 16 sectors/track, 239872 cylinders, total 15351808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x9c2e57c2
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 40960 172031 65536 b W95 FAT32
/dev/mmcblk0p2 172032 1656832 742400+ 83 Linux
BOOT CLONE/ERRORE:
The size of uboot is 000dc000. |
sum=ede66ee7 |
src_sum=ede66ee7 |
+ +-- 33 lines: Succeed in loading uboot from sdmmc flash.-------------------------------------------------------------------------|
[ 0.488][mmc]: get sdc_phy_wipe fail. |
[ 0.492][mmc]: get sdc0 sdc_erase fail. |
[ 0.496][mmc]: get sdc_f_max fail,use default 50000000Hz |
[ 0.501][mmc]: get sdc_ex_dly_used fail,use default dly |
[ 0.507][mmc]: SUNXI SD/MMC: 0 |
[ 0.520][mmc]: *Try SD card 0* |
[ 0.553][mmc]: CID 0x41343253 0x44384742 0x3053c980 0xf300f9ad |
[ 0.558][mmc]: mmc clk 50000000 |
[ 0.562][mmc]: SD/MMC Card: 4bit, capacity: 7496MB |
[ 0.566][mmc]: boot0 capacity: 0KB,boot1 capacity: 0KB |
[ 0.572][mmc]: ***SD/MMC 0 init OK!!!*** |
[ 0.577][mmc]: erase_grp_size:0x1WrBlk * 0x200 = 0x200 Byte |
[ 0.582][mmc]: secure_feature 0x0 |
[ 0.586][mmc]: secure_removal_type 0x0 |
[ 0.590]sunxi flash init ok |
+ +-- 48 lines: script config pll_de to 864 Mhz------------------------------------------------------------------------------------|
## Booting kernel from Legacy Image at 40007800 ... |
Image Name: Linux-3.4.39 |
Image Type: ARM Linux Kernel Image (uncompressed) |
Data Size: 10916024 Bytes = 10.4 MiB |
Load Address: 40008000 |
Entry Point: 40008000 |
Verifying Checksum ... Bad Data CRC |
ERROR: can't get kernel image! |
sunxi# |
---------------------------------------------------------------------------------------------------------------------------------|
BOOT ORIGINALE/FUNZIONANTE :
| The size of uboot is 000dc000.
| sum=ede66ee7
| src_sum=ede66ee7
|+ +-- 33 lines: Succeed in loading uboot from sdmmc flash.-------------------------------------------------------------------------
| [ 0.488][mmc]: get sdc_phy_wipe fail.
| [ 0.492][mmc]: get sdc0 sdc_erase fail.
| [ 0.496][mmc]: get sdc_f_max fail,use default 50000000Hz
| [ 0.501][mmc]: get sdc_ex_dly_used fail,use default dly
| [ 0.507][mmc]: SUNXI SD/MMC: 0
| [ 0.520][mmc]: *Try SD card 0*
| [ 0.553][mmc]: CID 0x3505453 0x53303847 0x30da4c18 0xd100f92d
| [ 0.558][mmc]: mmc clk 50000000
| [ 0.562][mmc]: SD/MMC Card: 4bit, capacity: 7388MB
| [ 0.566][mmc]: boot0 capacity: 0KB,boot1 capacity: 0KB
| [ 0.572][mmc]: ***SD/MMC 0 init OK!!!***
| [ 0.577][mmc]: erase_grp_size:0x1WrBlk * 0x200 = 0x200 Byte
| [ 0.582][mmc]: secure_feature 0x0
| [ 0.586][mmc]: secure_removal_type 0x0
| [ 0.590]sunxi flash init ok
|+ +-- 48 lines: script config pll_de to 864 Mhz------------------------------------------------------------------------------------
| ## Booting kernel from Legacy Image at 40007800 ...
| Image Name: Linux-3.4.39
| Image Type: ARM Linux Kernel Image (uncompressed)
| Data Size: 10916024 Bytes = 10.4 MiB
| Load Address: 40008000
| Entry Point: 40008000
| Verifying Checksum ... OK
| Loading Kernel Image ... OK
| OK
| [ 5.449][mmc]: MMC Device 2 not found
| [ 5.453][mmc]: mmc not find,so not exit
| [ 5.457]
| Starting kernel ...
|
| [sun8i_fixup]: From boot, get meminfo:
| ^M Start: 0x40000000
| ^M Size: 1024MB
| ^Mion_carveout reserve: 160m@0 256m@0 130m@1 200m@1
| ^Mion_reserve_common: ion reserve: [0x70000000, 0x80000000]!
| ^M[ 0.000000] Booting Linux on physical CPU 0
| ^M[ 0.000000] Initializing cgroup subsys cpu
| ^M[ 0.000000] Linux version 3.4.39 (boris@UbuntuMate) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1-201
| ^M[ 0.000000] Ignoring tag cmdline (using the default kernel command line)
| ^M[ 0.000000] bootconsole [earlycon0] enabled
| ^M[ 0.000000] cma: CMA: reserved 256 MiB at 70000000
| ^M[ 0.000000] Memory policy: ECC disabled, Data cache writealloc
| ^M[ 0.000000] On node 0 totalpages: 262144
| ^M[ 0.000000] free_area_init_node: node 0, pgdat c1000cc0, node_mem_map c10dd000
| ^M[ 0.000000] Normal zone: 1710 pages used for memmap