From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id F3A0AE00D34; Fri, 18 Aug 2017 02:22:29 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, * medium trust * [192.55.52.43 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D05A9E00B67 for ; Fri, 18 Aug 2017 02:22:28 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP; 18 Aug 2017 02:22:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,392,1498546800"; d="scan'208";a="891349805" Received: from linux.intel.com ([10.54.29.200]) by FMSMGA003.fm.intel.com with ESMTP; 18 Aug 2017 02:22:27 -0700 Received: from linux.intel.com (vmed.fi.intel.com [10.237.72.38]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by linux.intel.com (Postfix) with ESMTPS id 609A25806E0; Fri, 18 Aug 2017 02:22:26 -0700 (PDT) Date: Fri, 18 Aug 2017 11:58:33 +0300 From: Ed Bartosh To: Riko Message-ID: <20170818085833.GA6976@linux.intel.com> References: <1502979391.28682.1.camel@linux.intel.com> <3e39f3ca-9228-769f-0b39-126fb124d280@gmail.com> MIME-Version: 1.0 In-Reply-To: <3e39f3ca-9228-769f-0b39-126fb124d280@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "yocto@yoctoproject.org" Subject: Re: dd to nand flash chip? X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: ed.bartosh@linux.intel.com List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Aug 2017 09:22:30 -0000 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Fri, Aug 18, 2017 at 11:40:58AM +0800, Riko wrote: > Here's the boot messages : > > === > > VFS: PARTUUID= is invalid. > Expected PARTUUID=[/PARTNROFF=%d] > Disabling rootwait; root= is invalid. > VFS: Cannot open root device "PARTUUID=" or unknown-block(0,0): error -6 Looks like you have empty PARTUUID in the kernel command line. Which wks file do you use for this image? Which layers? Can you show your bootloader config? > Please append a correct "root=" boot option; here are the available > partitions: > 0100 4096 ram0 (driver?) > 0101 4096 ram1 (driver?) > 0102 4096 ram2 (driver?) > 0103 4096 ram3 (driver?) > 0104 4096 ram4 (driver?) > 0105 4096 ram5 (driver?) > 0106 4096 ram6 (driver?) > 0107 4096 ram7 (driver?) > 0108 4096 ram8 (driver?) > 0109 4096 ram9 (driver?) > 010a 4096 ram10 (driver?) > 010b 4096 ram11 (driver?) > 010c 4096 ram12 (driver?) > 010d 4096 ram13 (driver?) > 010e 4096 ram14 (driver?) > 010f 4096 ram15 (driver?) > b300 3735552 mmcblk1 driver: mmcblk > b301 16384 mmcblk1p1 2848be0f-01 > b302 756704 mmcblk1p2 2848be0f-02 > b310 4096 mmcblk1boot1 (driver?) > b308 4096 mmcblk1boot0 (driver?) > VFS: Unable to mount root fs on unknown-block(0,0) > User configuration error - no valid root filesystem found > Kernel panic - not syncing: Invalid configuration from end user > prevents conting > CPU: 0 PID: 1 Comm: swapper Not tainted 4.8.12-yocto-standard #3 > Hardware name: Generic AM33XX (Flattened Device Tree) > [] (unwind_backtrace) from [] (show_stack+0x20/0x24) > [] (show_stack) from [] (dump_stack+0x20/0x28) > [] (dump_stack) from [] (panic+0xc0/0x22c) > [] (panic) from [] (mount_block_root+0x19c/0x274) > [] (mount_block_root) from [] (mount_root+0xd0/0x124) > [] (mount_root) from [] (prepare_namespace+0x180/0x1c0) > [] (prepare_namespace) from [] > (kernel_init_freeable+0x220/) > [] (kernel_init_freeable) from [] > (kernel_init+0x18/0x11c) > [] (kernel_init) from [] (ret_from_fork+0x14/0x3c) > ---[ end Kernel panic - not syncing: Invalid configuration from end > user preveng > > ===== > > How to fix it ? thanks > > > On 17/08/17 22:16, Leonardo Sandoval wrote: > >On Thu, 2017-08-17 at 18:37 +0800, Riko Ho wrote: > >>Dear Yocto Team Members, > >> > >>I tried to dd *.wic to nand flash but always got kernel panic, it can > >>not find rootfs > >>when I dd the same file to sd card, it worked. > >> > >from the bootloader command prompt, you may need to change the root > >kernel parameter and point to the device where the filesystem resides. > > > > > >>I copy only *.wic file to usb drive n dd it. > >>Do I need the whole directory of images for dd? or I need hddimg? > >> > >>Regards, > >>Riko > >> > > > > -- > /***** > Sent By > Ubuntu 16.04 LTS > Kernel 4.4.0-92-generic > Regards, > Riko H > *****/ > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- -- Regards, Ed