[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [linux_var] Boot sunxi SD
- To: linux_var - LUG di Varese e Provincia Mailing List <talking@ml.linuxvar.it>
- Subject: Re: [linux_var] Boot sunxi SD
- From: ADB <albeluci@gmail.com>
- Date: Tue, 19 Apr 2016 09:21:12 +0200
- Authentication-results: mx.google.com; dkim=pass header.i=@ml.linuxvar.it; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: domain of talking-bounces@ml.linuxvar.it designates 79.143.178.54 as permitted sender) smtp.mailfrom=talking-bounces@ml.linuxvar.it; dmarc=fail (p=NONE dis=NONE) header.from=gmail.com
- Authentication-results: linuxvar.it; dkim=pass reason="2048-bit key; unprotected key" header.d=gmail.com header.i=@gmail.com header.b=VIL/ZokK; dkim-adsp=pass; dkim-atps=neutral
- Delivered-to: unknown
- Delivered-to: jacopogg83@gmail.com
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ml.linuxvar.it; s=mail; t=1461050504; bh=JRq6fXdRrtwPB76xzaB7FriIPBoMPUQWw2wEDbM1aXg=; h=To:References:From:Date:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Reply-To; z=To:=20linux_var=20-=20LUG=20di=20Varese=20e=20Provincia=20Mailing =20List=20<talking@ml.linuxvar.it>|References:=20<CAGod1SCr=3DRW1d J0CvNC1sfbVjQ8076Pb_og=3DKqT0igQ_pSTthA@mail.gmail.com>|From:=20AD B=20<albeluci@gmail.com>|Date:=20Tue,=2019=20Apr=202016=2009:21:12 =20+0200|In-Reply-To:=20<CAGod1SCr=3DRW1dJ0CvNC1sfbVjQ8076Pb_og=3D KqT0igQ_pSTthA@mail.gmail.com>|Subject:=20Re:=20[linux_var]=20Boot =20sunxi=20SD|List-Id:=20linux_var=20-=20LUG=20di=20Varese=20e=20P rovincia=20Mailing=20List=0D=0A=20<talking.ml.linuxvar.it>|List-Un subscribe:=20<http://ml.linuxvar.it/cgi-bin/mailman/options/talkin g>,=0D=0A=20<mailto:talking-request@ml.linuxvar.it?subject=3Dunsub scribe>|List-Archive:=20<http://ml.linuxvar.it/pipermail/talking/> |List-Post:=20<mailto:talking@ml.linuxvar.it>|List-Help:=20<mailto :talking-request@ml.linuxvar.it?subject=3Dhelp>|List-Subscribe:=20 <http://ml.linuxvar.it/cgi-bin/mailman/listinfo/talking>,=0D=0A=20 <mailto:talking-request@ml.linuxvar.it?subject=3Dsubscribe>|Reply- To:=20linux_var=20-=20LUG=20di=20Varese=20e=20Provincia=20Mailing= 20List=0D=0A=20<talking@ml.linuxvar.it>; b=V+6A66kFMM/X5yO/HaMriQOtfWq3Gt0AVW8P5WnIFDxxktcEtOaW7/Nc8+0NcgtO4 DYUGSnYTgUW4a0IT4Y6t76+RBASkk3eK0Ma8A5mzJE6VsxJPfcaR2k04zfZnY8ceQe 6uOLGhVZDphUtt8Z9SaM6rctJbBdCGbaK1W7v+30=
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=M62euYgCzSasAKey4hAeCcC8Z6m+CmT9vgTlWDZ0EMc=; b=VIL/ZokKVgI5zwov+7VPjF2DW8AXnTnoH/5Yt6S14XWu+23zkRCPrNagyFkvGbVIRL RJkw2TY5McukgEq1H2LhEqvXdHuZ3Es0ZQAZBtPM4F2mSijIIUNc6X4zpiZvtkICMlYy 9SMM41BXKcecdA8jrPFLfYAQXQeZH6g/JQtnVdDUCxDgHgFivzlB6c7gl3hTjsOHSWab H2oGfEZOe0+QwHRezCDA9497rO9JKHKa0BUd+GHrFqPxLhGgiU06lTtYrcPugtVDVWBo TuxljvSpavjWoWiabxex1CKyN2iDImwtB0xGve7MouwmThHfMVTm7O1lPHKfgIIZXJA0 KKKQ==
- In-reply-to: <CAGod1SCr=RW1dJ0CvNC1sfbVjQ8076Pb_og=KqT0igQ_pSTthA@mail.gmail.com>
- List-archive: <http://ml.linuxvar.it/pipermail/talking/>
- List-help: <mailto:talking-request@ml.linuxvar.it?subject=help>
- List-id: linux_var - LUG di Varese e Provincia Mailing List <talking.ml.linuxvar.it>
- List-post: <mailto:talking@ml.linuxvar.it>
- List-subscribe: <http://ml.linuxvar.it/cgi-bin/mailman/listinfo/talking>, <mailto:talking-request@ml.linuxvar.it?subject=subscribe>
- List-unsubscribe: <http://ml.linuxvar.it/cgi-bin/mailman/options/talking>, <mailto:talking-request@ml.linuxvar.it?subject=unsubscribe>
- References: <CAGod1SCr=RW1dJ0CvNC1sfbVjQ8076Pb_og=KqT0igQ_pSTthA@mail.gmail.com>
- Reply-to: linux_var - LUG di Varese e Provincia Mailing List <talking@ml.linuxvar.it>
- Sender: "Talking" <talking-bounces@ml.linuxvar.it>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1
Toh....anche io ho lo stesso problema...non riesco a clonare una SD con
DD.... :(
albertux
Il 19/04/2016 07:28, Giovanni Orlandi ha scritto:
> Ciao a tutti,
>
> avevo tempo fa creato una micro-sd "funzionante" con debian per orange-pi,
> 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
>
>
>
>
> _______________________________________________
> Talking mailing list
> Talking@ml.linuxvar.it
> http://ml.linuxvar.it/cgi-bin/mailman/listinfo/talking
>
_______________________________________________
Talking mailing list
Talking@ml.linuxvar.it
http://ml.linuxvar.it/cgi-bin/mailman/listinfo/talking