From owner-freebsd-arm@freebsd.org Wed Nov 9 15:55:01 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07D96C37563 for ; Wed, 9 Nov 2016 15:55:01 +0000 (UTC) (envelope-from mattia.rossi.mailinglists@gmail.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 90BCEDA for ; Wed, 9 Nov 2016 15:55:00 +0000 (UTC) (envelope-from mattia.rossi.mailinglists@gmail.com) Received: by mail-wm0-x229.google.com with SMTP id p190so316647112wmp.1 for ; Wed, 09 Nov 2016 07:55:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=reply-to:to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=1t1AHGpTmR8nHu0sOsmUoafT+lcJrJ9CbU9AkMp9IPg=; b=FGo+Y9246VowJczTXg2APgltgaBFuxTqfbGHLoOhyg/8Cy4fN9mit5PwW4lwlGgCS8 a+B6RngbtycMFaobiy3gd68R9gdx+hA5LziTI5rDTIUZATYA0Xk4ZdC0wcneH9Qj/IO8 piFLQu5iRh2kKPggPobi5VgkSrVsXqt6BS4ZVAnTZOl0PQ561FOuBV/9PCxxYcR0/LoY UhznGH6vf6L146eC1tDi1eXkYEo1cBWtRYVtUmo5kf80w1v25GnDiYP0DD5ByzN/GFhL 9XWfFLTuAIV6qowh1Em6qf4a5n4eeI1l5aTOy2Yfn5yr6ufcWahTEZn13gDl7iSTIo5k ydqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:reply-to:to:from:subject:message-id:date :user-agent:mime-version:content-transfer-encoding; bh=1t1AHGpTmR8nHu0sOsmUoafT+lcJrJ9CbU9AkMp9IPg=; b=JHXVbesgQGCMe6lT2D41b91nYMrIMpBVJVQWNC/03IxL01UhVG1/6gjf2GBBrDUdVm 3pw0Y3iI4u3myHDYDtrtGBlth+4rWDuC+WPArhy+6mvflETBCZEZCTbyl4lSJNKHrUhF LiUpp90xja6gZ4HwsVvDVM6parwBT+SNM0zL2Xzqs7mZWVcQpjUe1/Mtj0ScCxIZ7PNy hPNiJzQDimC7JlgZ7JgrCDYre+y1owt0m6JDVSPnBVakPM2UX2LiQnNiZlAmN3rLxkhE v2dIrOudnL0mxlPP1VtDVWvU5Y5CppyDtajVmB3ri36daPh6nNS0rn3tyvQ7cS4SHWUy bWaA== X-Gm-Message-State: ABUngveIcHnlctDGyAdrJ/0QEmmSRxQ7Khn4+X7k9VoowqlNByqnFtHV8FU8mffBDzy8Dg== X-Received: by 10.194.189.83 with SMTP id gg19mr191411wjc.165.1478706898092; Wed, 09 Nov 2016 07:54:58 -0800 (PST) Received: from ?IPv6:2001:1620:ff0:c51:7420:f92c:e590:9ebc? ([2001:1620:ff0:c51:7420:f92c:e590:9ebc]) by smtp.gmail.com with ESMTPSA id jq10sm169657wjb.46.2016.11.09.07.54.57 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Nov 2016 07:54:57 -0800 (PST) Reply-To: mattia.rossi.mailinglists@gmail.com To: freebsd-arm From: Mattia Rossi Subject: Allwinner H3 (orangepi-plus-2) SD card issue - kernel related Message-ID: Date: Wed, 9 Nov 2016 16:54:56 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2016 15:55:01 -0000 Hi all, Finally had the guts to rebuild world, kernel (r308464M) and with that the .dtb file, and trying to boot using the generated .dtb file. The good news is: The system boots! The bad news: a) It loses a lot of time searching for the SD card partitions (or whatever it does here), then it continues in the boot process. What's wrong? usbus0: 480Mbps High Speed USB v2.0 usbus1: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 mmcsd0: 16GB at mmc0 50.0MHz/4bit/65535-block a10_mmc1: error rint: 0x00000100 uhub0: 1 port with 1 removable, self powered uhub1: 1 port with 1 removable, self powered ugen1.2: at usbus1 umass0 on uhub1 umass0: on usbus1 umass0: SCSI over Bulk-Only; quirks = 0xc100 umass0:0:0: Attached to scbus0 da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: Fixed Direct Access SCSI device da0: Serial Number 000000000033 da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present da0: quirks=0x2 a10_mmc1: controller timeout a10_mmc1: controller timeout a10_mmc1: controller timeout a10_mmc1: controller timeout a10_mmc1: controller timeout a10_mmc1: controller timeout a10_mmc1: controller timeout a10_mmc1: controller timeout a10_mmc1: controller timeout a10_mmc1: controller timeout a10_mmc1: controller timeout mmc1: No compatible cards found on bus a10_mmc2: error rint: 0x00000100 a10_mmc2: controller timeout a10_mmc2: controller timeout a10_mmc2: controller timeout a10_mmc2: controller timeout a10_mmc2: controller timeout a10_mmc2: controller timeout a10_mmc2: controller timeout a10_mmc2: controller timeout a10_mmc2: controller timeout a10_mmc2: controller timeout a10_mmc2: controller timeout mmc2: No compatible cards found on bus Release APs WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from ufs:/dev/mmcsd0s2 [rw]... b) No Ethernet Device! What do I have to add (to the .dts i guess) to get that back? ifconfig lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=21 Appreciate any help, Mat