From nobody Wed Jul 28 21:41:11 2021 X-Original-To: freebsd-ppc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3ACB912B81E4 for ; Wed, 28 Jul 2021 21:41:25 +0000 (UTC) (envelope-from al@datazap.net) Received: from mail-ej1-x664.google.com (mail-ej1-x664.google.com [IPv6:2a00:1450:4864:20::664]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GZnD40fKjz3m47 for ; Wed, 28 Jul 2021 21:41:24 +0000 (UTC) (envelope-from al@datazap.net) Received: by mail-ej1-x664.google.com with SMTP id ga41so6866169ejc.10 for ; Wed, 28 Jul 2021 14:41:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datazap-net.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:disposition-notification-to:date :user-agent:mime-version:content-language; bh=Vfkb2M+cgbp22Ugwd0SD5K3LTc9kAOtBUcFzSCH5dpE=; b=k4chugMV8QX4XVYy3YCxym3UtAHLQ+jOzlcV21QYLLXoAWepkx/FewORwVbBNbHubS 7isa8BRrhpwcMrFuNKQthnJpphte4I+EhsgJ6KwubP90N3u5QZFI86bEKBJzHIbifVNx IEsBS3JS2S1dMEpzdpB3LkwEdNgUFOal1dbQ/ecpn6vdUZ/uO+o+EkJmq62NgyYgLl6I ncmTHSUbcwZ1Zw4iHTH00cZ+mD74vxmsgJVmmyC9Cd5svYU34Ft4JYsELt5rd+fvVhsV 9tYNEoMh1dg6Q4jtCJeUYcKsk7APrxnigjM+Epc5hCYqctJ48KKpTTEjlw3P7sedYkpc uYKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id :disposition-notification-to:date:user-agent:mime-version :content-language; bh=Vfkb2M+cgbp22Ugwd0SD5K3LTc9kAOtBUcFzSCH5dpE=; b=gFb6Di4otqHpLvP8nNUZKeyMm6z9q54u3TOO/BTG7MuJDFagnndS+kbwpvraAUjQs/ bfh8tyUpDxCyoppmq5sY21lVegeDKF0p75iSp1vQWvfZLEVsevST5RinPotqbvSh5XL8 mFcDFE3FRt0IwJiZ5xBtZDKS/UQAxK1cljwSV6K753uboYbhBxitiB93eKocnyESepVb pLV/U2eZX8WpTBl4/HPivUXnXXOTL46dSOObOjQjicl2aNneh+GPuRD1sIP0RXJ+UwAc RHgKY2rNpMM+izuVP7GuYtEcYuXzDwzxnwdcl1Lcx4jVJ4yVBvgpeqvrh3FL1Ua/xydO evrg== X-Gm-Message-State: AOAM531tl4fHDytSFniIu3Jp50L+8AAPRZZlPQ3GqmdfY0VHpZgJoSvT 3NNN/5FSP1hW9RI+3wf1rtXKBXF9jDOV1zUIECu09IjQwnslGA== X-Google-Smtp-Source: ABdhPJzN+ST67DvIUStPwUkzscWDdOQJVddaFQifxQukPYmYdXbBw1DZkrxKjLeoG7suuxtbITj8ZUdPAyQS X-Received: by 2002:a17:906:d20b:: with SMTP id w11mr1479805ejz.242.1627508477511; Wed, 28 Jul 2021 14:41:17 -0700 (PDT) Received: from agnus.datazap.net (agnus.datazap.net. [209.160.40.35]) by smtp-relay.gmail.com with ESMTP id gv37sm17069ejc.96.2021.07.28.14.41.16 for ; Wed, 28 Jul 2021 14:41:17 -0700 (PDT) X-Relaying-Domain: datazap.net Received: from [127.0.0.1] (localhost [127.0.0.1]) by agnus.datazap.net (Postfix) with ESMTP id 2097DB794B for ; Wed, 28 Jul 2021 17:41:12 -0400 (EDT) To: "freebsd-ppc@freebsd.org" From: Al Subject: X5000 dtb file Message-ID: <4dcc2b19-a6c5-fb80-390e-378e28370400@datazap.net> Disposition-Notification-To: Al Date: Wed, 28 Jul 2021 17:41:11 -0400 User-Agent: Mozilla/5.0 (X11; Linux ppc64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 List-Id: Porting FreeBSD to the PowerPC List-Archive: https://lists.freebsd.org/archives/freebsd-ppc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------3A436272D91EB34CCA46797F" Content-Language: en-US X-Rspamd-Queue-Id: 4GZnD40fKjz3m47 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=datazap-net.20150623.gappssmtp.com header.s=20150623 header.b=k4chugMV; dmarc=none; spf=none (mx1.freebsd.org: domain of al@datazap.net has no SPF policy when checking 2a00:1450:4864:20::664) smtp.mailfrom=al@datazap.net X-Spamd-Result: default: False [-0.28 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[datazap-net.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; DMARC_NA(0.00)[datazap.net]; NEURAL_SPAM_MEDIUM(0.97)[0.967]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[datazap-net.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-0.95)[-0.948]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::664:from]; TO_DN_EQ_ADDR_ALL(0.00)[]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-ppc] X-ThisMailContainsUnwantedMimeParts: Y This is a multi-part message in MIME format. --------------3A436272D91EB34CCA46797F Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hello, It not booting this time I believe the error is with the dtb file. Here is the error: ## Starting application at 0x00010160 ... Consoles: U-Boot console Compatible U-Boot API signature found @0x7fe2efd8 FreeBSD/powerpc64 U-Boot loader, Revision 1.1 Number of U-Boot devices: 4 U-Boot env: loaderdev='disk1s2a' Found U-Boot device: disk Checking unit=1 slice=2 partition=0... good. Booting from disk1s2a: Loading /boot/defaults/loader.conf /boot/kernel/kernel data=0xb5a998+0x4199c6 syms=[0x8+0xb9bc8+0x8+0xc0c11] scanning bus 0 for devices... ERROR: Invalid USB EP length (9) Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Using DTB provided by U-Boot at address 0xc00000. Kernel args: (null)devices... 4 USB Device(s) found Bad trap at PC: 4102000, SR: 1200, vector=800 NIP: 04102000 XER: 20000000 LR: 000102D0 REGS: 7fe2d9b0 TRAP: 0800 DAR: 00000000 MSR: 00001200 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00 Found 0 device(s). GPR00: 000102C4 7FE2DAA0 7FE2DF00 03205000 00000000 000055AD 00000000 000F0000 GPR08: 00000800 00000002 80000000 7FE2D950 24444C22 B2008A10 0005B224 00000000 GPR16: 0005B014 00000002 00000000 0005C744 000594A8 000000A8 00000000 00059683 GPR24: 0005600E 00000000 000000A9 000000A8 00000000 04102000 0008C380 00000000 Call backtrace: 000102C4 00010570 00010384 00012830 000212F0 7FF45B64 00000000 7FE8C2B0 tload sata 0:1 $fdtaddr cyrus.dtb Exception in kernel pc 4102000 signal 0 ### ERROR ### Please RESET the board ### Do you have a newer version of the dtb file, or is this something that I can create? Also, my developer believes the problem with it not seeing PCIe cards is because of the dtb. Kind Regards, Al --------------3A436272D91EB34CCA46797F-- From nobody Wed Jul 28 23:45:40 2021 X-Original-To: freebsd-ppc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id ABAF112BF16F for ; Wed, 28 Jul 2021 23:45:54 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-il1-x12a.google.com (mail-il1-x12a.google.com [IPv6:2607:f8b0:4864:20::12a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GZqzk4HN8z3vSh for ; Wed, 28 Jul 2021 23:45:54 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-il1-x12a.google.com with SMTP id k3so3991548ilu.2 for ; Wed, 28 Jul 2021 16:45:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=X3wJZ/VRbor8aFIw5wJR+v3TvIyXekiGPZKvORCt0rw=; b=u8Rpl4LDUCqnafV6oiFrk7Vk7kOUw0CbXFSZz4iaGO0humnDLR7+hbjWc1j62A0Q2k iLXp8txhVRLswgCbRuFO87SNlO8R7Mnkm7yRylM5YZRaJIItleZhmVK6xeNORf3QCVNN fWRWMSNj6xqPgo2S4bF5a+/+HIJRw7axQhZgwKykXvssyAM1vffGOQe8NMCg9ltiNnG7 vbUj7Qn8USiERZbA+BWU+uFy2eCV2sIf1kU3GEciOzYLggM+WrVKJjUeeQg26KWdJ9ow mgTeXOjxfnON/34o6JL5NeyLTwprVJT18xEr8O2N13iiQoRmtnLfJ+K/ACtky7Nf5rLi ZhPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=X3wJZ/VRbor8aFIw5wJR+v3TvIyXekiGPZKvORCt0rw=; b=PJ2wXUmJU1utCFAXkjXuSp6seY33ZPOazfaxzB+JZLxklTX13wWNmuaJ5kSiScM5M/ yWHJ6Xe20jz3SKKVH8xD8oTbQ93M6aaOKKMvmjz3rjmitkzhcUj05tTQKoplzFlxp+ob Ao02DtQG/Vr0k/ob/vPRLJfiRi3u4kVjktVTRXAwHEOArpAsv6PcRUoYV6Rh7Q2kPx8P vgggP89HikRr3q1cCa/7Dl9yroqSJ5QKNIwRbmZoAdN2LgkEqP6/eAYDYlmDjIWM/Rqn QMY9EO2+zwcoUiBG6TUILj6glNp993IIDV3dgDR3EfB/gf+iLjTbN74gt5cbEYxao//n +O4Q== X-Gm-Message-State: AOAM5324MtV0YvB8Yk2vs9CdRRFYvuAI1MDLovaDoMT4mqcz2iyZkFFg 6gEQ3AY4XELluX0gg/riz9baOopE6zY= X-Google-Smtp-Source: ABdhPJyT4q7nhOXZVtMvzla+UKsdgHLnPFfHEZTyCiuUwoC6wugEaQddeoHAiUlQnPZyTI695DVVnA== X-Received: by 2002:a05:6e02:1d0f:: with SMTP id i15mr1448910ila.199.1627515947848; Wed, 28 Jul 2021 16:45:47 -0700 (PDT) Received: from ralga.knownspace (173-18-9-215.client.mchsi.com. [173.18.9.215]) by smtp.gmail.com with ESMTPSA id f5sm779988ilr.72.2021.07.28.16.45.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jul 2021 16:45:47 -0700 (PDT) Date: Wed, 28 Jul 2021 18:45:40 -0500 From: Justin Hibbits To: Al Cc: "freebsd-ppc@freebsd.org" Subject: Re: X5000 dtb file Message-ID: <20210728184540.76a5b346@ralga.knownspace> In-Reply-To: <4dcc2b19-a6c5-fb80-390e-378e28370400@datazap.net> References: <4dcc2b19-a6c5-fb80-390e-378e28370400@datazap.net> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; powerpc64-portbld-freebsd14.0) List-Id: Porting FreeBSD to the PowerPC List-Archive: https://lists.freebsd.org/archives/freebsd-ppc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4GZqzk4HN8z3vSh X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Wed, 28 Jul 2021 17:41:11 -0400 Al wrote: > Hello, > > It not booting this time I believe the error is with the dtb file. > > Here is the error: > ## Starting application at 0x00010160 ... > Consoles: U-Boot console > Compatible U-Boot API signature found @0x7fe2efd8 > > FreeBSD/powerpc64 U-Boot loader, Revision 1.1 > > Number of U-Boot devices: 4 > U-Boot env: loaderdev='disk1s2a' > Found U-Boot device: disk > Checking unit=1 slice=2 partition=0... good. > Booting from disk1s2a: > Loading /boot/defaults/loader.conf > /boot/kernel/kernel data=0xb5a998+0x4199c6 > syms=[0x8+0xb9bc8+0x8+0xc0c11] > > scanning bus 0 for devices... ERROR: Invalid USB EP length (9) > Hit [Enter] to boot immediately, or any other key for command prompt. > Booting [/boot/kernel/kernel]... > Using DTB provided by U-Boot at address 0xc00000. > Kernel args: (null)devices... 4 USB Device(s) found > Bad trap at PC: 4102000, SR: 1200, vector=800 > NIP: 04102000 XER: 20000000 LR: 000102D0 REGS: 7fe2d9b0 TRAP: 0800 > DAR: 00000000 > MSR: 00001200 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00 > Found 0 device(s). > GPR00: 000102C4 7FE2DAA0 7FE2DF00 03205000 00000000 000055AD 00000000 > 000F0000 > GPR08: 00000800 00000002 80000000 7FE2D950 24444C22 B2008A10 0005B224 > 00000000 > GPR16: 0005B014 00000002 00000000 0005C744 000594A8 000000A8 00000000 > 00059683 > GPR24: 0005600E 00000000 000000A9 000000A8 00000000 04102000 0008C380 > 00000000 > Call backtrace: > 000102C4 00010570 00010384 00012830 000212F0 7FF45B64 00000000 > 7FE8C2B0 tload sata 0:1 $fdtaddr cyrus.dtb > Exception in kernel pc 4102000 signal 0 > ### ERROR ### Please RESET the board ### > > Do you have a newer version of the dtb file, or is this something > that I can create? I just uploaded a new cyrus_p5020.dtb file to people.freebsd.org/~jhibbits, so go ahead and try that one, it's the one I use on my machine. The crash above is in U-Boot context, so likely still in loader. Trap 800 is FPU unavailable, so make sure your kernel is sane, as you should not be taking any traps at this point, especially FPU. > > Also, my developer believes the problem with it not seeing PCIe cards > is because of the dtb. > > Kind Regards, > Al > > From nobody Sun Aug 1 19:31:30 2021 X-Original-To: freebsd-ppc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DCFEC1340630 for ; Sun, 1 Aug 2021 19:31:43 +0000 (UTC) (envelope-from al@datazap.net) Received: from mail-ej1-x662.google.com (mail-ej1-x662.google.com [IPv6:2a00:1450:4864:20::662]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GdB8Z7419z3M7F for ; Sun, 1 Aug 2021 19:31:42 +0000 (UTC) (envelope-from al@datazap.net) Received: by mail-ej1-x662.google.com with SMTP id o5so27336848ejy.2 for ; Sun, 01 Aug 2021 12:31:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datazap-net.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:disposition-notification-to:date :user-agent:mime-version:content-language; bh=8PEalEZh/ltvusPKXKXmfrRAEveTA+SPmaz4P7tdfj8=; b=a4fVu5cz5JqhA6/AWwV8QmoyjkU1uTVnkShS22z/l4hSYjbffs4xoavpL7Qzy7MdW+ GfZCKK+e+rLcyoQqNti5iQaEGYAnCf39YSgaIhIlIDXGiZfssgtcuNCsaEmIEeee5nR/ 2P8orOQ3M821YY/2rOeH7hpOzX1ZvYCuUMb4SKGZlvzEjN9d+VEYFysitgHVivbNqA9W f/q29JblCXb1qnEfNfiM7hgucGKbz3lsmeXTtelA3oqQSX2V/F/6LwG5W60yet82NANG zrzizsnmXOpy4/ctbvIYH4xvJWPBEbybDgSPxH6VXu8YftLxZAYuS3XSCWPNkFkEw705 o3Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id :disposition-notification-to:date:user-agent:mime-version :content-language; bh=8PEalEZh/ltvusPKXKXmfrRAEveTA+SPmaz4P7tdfj8=; b=Lr+67/rW7oybI48oDgAO4NlJ2tF6cNacRDF5mBMi1RM+7xtW/O12ylrFmmwdZqljSX fNAHN7iBIaco6gFf6A7N5gg+9TVCulMzV+asghUYAWaqWnWXpZeGLLok85yLCwjmLIdE xFKdcnDCyXoC7/Bn0f4p7CYWggiCxziAswzXZQwZICghNwADG8HglSYjyD16rxcyOVRF 8vmtYJdd7gfgjEE/tFU2M8w8erwWv7H9lF70hCzWANRVZIM/650l2VhTTY2q3uPt7HTv RC//mI5DzMmVCxkFc8knMZsJWph+jpnw1UaxK/hRkJFpKJZRunQo05snKoZlM0impdxz n6vg== X-Gm-Message-State: AOAM530AA7pXzKmum9Cki3Tkw1lgolSyuHzb+y9ZsgOGAZzx4YVzyUO5 kp0NZv2imI+EvuAgyv7Fj8bSH80yNgV4zNMDufaCAmtiUQSjXg== X-Google-Smtp-Source: ABdhPJxvT/7eurF4voShM3ECwfu2JcTpcpCf6g4BlBysx3fYuCRcfAZe8rtNXKH2sI0BLoxiUC7DWDgHp2Ep X-Received: by 2002:a17:906:64a:: with SMTP id t10mr12303336ejb.5.1627846296044; Sun, 01 Aug 2021 12:31:36 -0700 (PDT) Received: from agnus.datazap.net (agnus.datazap.net. [209.160.40.35]) by smtp-relay.gmail.com with ESMTP id n19sm301114edy.43.2021.08.01.12.31.34; Sun, 01 Aug 2021 12:31:35 -0700 (PDT) X-Relaying-Domain: datazap.net Received: from [127.0.0.1] (localhost [127.0.0.1]) by agnus.datazap.net (Postfix) with ESMTP id 57E2CB794B; Sun, 1 Aug 2021 15:31:29 -0400 (EDT) To: "freebsd-ppc@freebsd.org" , Justin Hibbits , Justin Hibbits From: Al Subject: yet another error Message-ID: <6c7eadc4-ccc5-0da0-0ae4-69fa2caf48b6@datazap.net> Disposition-Notification-To: Al Date: Sun, 1 Aug 2021 15:31:30 -0400 User-Agent: Mozilla/5.0 (X11; Linux ppc64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 List-Id: Porting FreeBSD to the PowerPC List-Archive: https://lists.freebsd.org/archives/freebsd-ppc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------08F81C40B62DCACA66D6590D" Content-Language: en-US X-Rspamd-Queue-Id: 4GdB8Z7419z3M7F X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=datazap-net.20150623.gappssmtp.com header.s=20150623 header.b=a4fVu5cz; dmarc=none; spf=none (mx1.freebsd.org: domain of al@datazap.net has no SPF policy when checking 2a00:1450:4864:20::662) smtp.mailfrom=al@datazap.net X-Spamd-Result: default: False [-3.30 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[datazap-net.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; DMARC_NA(0.00)[datazap.net]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[datazap-net.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::662:from]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[freebsd.org,FreeBSD.org,gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-ppc] X-ThisMailContainsUnwantedMimeParts: Y This is a multi-part message in MIME format. --------------08F81C40B62DCACA66D6590D Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hello, It is loading the kernel now, but there is a USB error: U-Boot 2014.04 (Oct 17 2016 - 08:22:22) CPU0: P5020, Version: 2.0, (0x82200020) Core: e5500, Version: 1.2, (0x80240012) Clock Configuration: CPU0:1995 MHz, CPU1:1995 MHz, CCB:798 MHz, DDR:665 MHz (1330 MT/s data rate) (Asynchronous), LBC:49.875 MHz FMAN1: 498.750 MHz QMAN: 399 MHz PME: 399 MHz L1: D-cache 32 KiB enabled I-cache 32 KiB enabled Reset Configuration Word (RCW): 00000000: 0c540000 00000000 1e1e0000 00000000 00000010: 44808c00 ff002000 68000000 45000000 00000020: 00000000 00000000 00000000 0003000f 00000030: a0000000 00000000 00000000 00000000 Board: CYRUS 36-bit Addressing I2C: ready SPI: ready DRAM: Initializing....using SPD Detected UDIMM KHX1600C10D3/8G Detected UDIMM KHX1600C10D3/8G 14 GiB left unmapped 16 GiB (DDR3, 64-bit, CL=9, ECC off) DDR Controller Interleaving Mode: cache line DDR Chip-Select Interleaving Mode: CS0+CS1 Local Bus Controller Registers BR0 0xE0001001 OR0 0xFFF00010 BR1 0xE1001001 OR1 0xFFF00010 BR2 0x00000000 OR2 0x00000000 BR3 0x00000000 OR3 0x00000000 BR4 0x00000000 OR4 0x00000000 BR5 0x00000000 OR5 0x00000000 BR6 0x00000000 OR6 0x00000000 BR7 0x00000000 OR7 0x00000000 LBCR 0x40000000 LCRR 0x80010004 L2: 512 KiB enabled Corenet Platform Cache: 2 MiB enabled SERDES: bank 2 disabled MMC: FSL_SDHC: 0 EEPROM: NXID v0 PCIe1: Root Complex, x4 gen1, regs @ 0xfe200000 01:00.0 - 1002:6759 - Display controller 01:00.1 - 1002:aa90 - Multimedia device PCIe1: Bus 00 - 01 PCIe2: Root Complex, x4 gen2, regs @ 0xfe201000 03:00.0 - 111d:8092 - Bridge device 04:01.0 - 111d:8092 - Bridge device 05:00.0 - 12d8:e111 - Bridge device 04:02.0 - 111d:8092 - Bridge device 04:03.0 - 111d:8092 - Bridge device 08:00.0 - 8086:10d3 - Network controller 04:08.0 - 111d:8092 - Bridge device 04:10.0 - 111d:8092 - Bridge device PCIe2: Bus 02 - 0a PCIe3: disabled PCIe4: disabled Looking for VGA PINS: 0xfc000808 videoboot: Booting PCI video card bus 1, function 0, device 0 Begin BIOS POST End BIOS POST Setting VESA Mode Found required VESA mode About to set mode 279 About to get mode Got mode 49431 (0xc117) OK XSize = 1024 YSize = 768 Base =0xe0000000 mmio_base = 0x80000000 bgx = 0xad55ad55 fgx = 0x0 In: serial Out: serial Err: serial ID: NXID v0 SN: 116330081 UID: 4429431001910051c47da080a0800000 Errata: Q Build date: 2015/07/06 14:51:17 CRC: eb5fb57a SCSI: scanning bus for devices... Found 0 device(s). Net: Initializing Fman MMC read: dev # 0, block # 1130, count 128 ... Fman1: Uploading microcode version 106.1.0 Tuning PHY @ 3 Tuning PHY @ 7 FM1@DTSEC4 [PRIME], FM1@DTSEC5 MMC read: dev # 0, block # 1280, count 512 ... 512 blocks read: OK MMC read: dev # 0, block # 65536, count 131072 ... 131072 blocks read: OK USB0: USB EHCI 1.00 scanning bus 0 for devices... ERROR: Invalid USB EP length (9) Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Using DTB provided by U-Boot at address 0xc00000. Kernel args: (null)devices... 4 USB Device(s) found GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb.. ---<>---(s). Copyright (c) 1992-2021 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 X5000> fThe Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 14.0-CURRENT #4 main-n248384-d0d631d5f44: Fri Jul 30 18:08:34 EDT 2021 al@test.imagehostplus.com:/usr/obj/usr/src/powerpc.powerpc64/sys/AMIGAX5000 powerpc FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) VT: init without driver.s (2 MiB/s) cpu0: Freescale e5500 core revision 1.2, 1995.00 MHz cpu0: Features cc009100 cpu0: Features2 8000000 cpu0: HID0 c0000000... real memory = 16570585088 (15802 MB) avail memory = 16520658944 (15755 MB) @0x7fe2efd8 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seedi. random: entropy device external interfacegehostplus.com) kbd0 at kbdmux0 ofwbus0: on nexus0 simplebus0: on ofwbus0 bman-portals0: on ofwbus0 qman-portals0: on ofwbus0 simplebus1: mem 0xffe000000-0xffe000fff on ofwbus0 fman0: mem 0x400000-0x4fffff irq 96,16 on simplebus1 > INFO (__ERR_MODULE__) [CPU00, /usr/src/sys/contrib/ncsw/Peripherals/FM/fm_ncsw.c:470 LoadFmanCtrlCode]: FMan-Controller code (ver 101.0.8) . fman0: Hardware version: 3.0. rcpm0: mem 0xe2000-0xe2fff on simplebus1 lbc0: mem 0xffe124000-0xffe124fff irq 25 on ofwbus0 pcib0: mem 0xffe200000-0xffe200fff irq 16 on ofwbus0 pci0: on pcib0 pcib1: irq 16 at device 0.0 numa-domain 0 on pci0 pci1: numa-domain 0 on pcib1 pcib2: mem 0xffe201000-0xffe201fff irq 16 on ofwbus0 pci2: on pcib2 pcib3: irq 16 at device 0.0 numa-domain 0 on pci2 pci3: numa-domain 0 on pcib3 pcib4: at device 0.0 numa-domain 0 on pci3 pci4: numa-domain 0 on pcib4 pcib5: at device 1.0 numa-domain 0 on pci4 pci5: numa-domain 0 on pcib5 pcib6: irq 5 at device 0.0 numa-domain 0 on pci5 pcib6: allocating 1 bus failed pcib6: allocating 1 bus failed pcib6: failed to allocate initial memory window: 0-0xfffff pcib2: failed to reserve resource for pcib3 pcib6: failed to allocate initial prefetch window: 0-0xfffff pcib7: at device 2.0 numa-domain 0 on pci4 pci6: numa-domain 0 on pcib7 pcib8: at device 3.0 numa-domain 0 on pci4 pci7: numa-domain 0 on pcib8 pcib9: at device 8.0 numa-domain 0 on pci4 pci8: numa-domain 0 on pcib9 pcib10: at device 16.0 numa-domain 0 on pci4 pci9: numa-domain 0 on pcib10 gpio0: mem 0x130000-0x130fff irq 55 on simplebus1 gpiobus0: on gpio0 openpic0: mem 0x40000-0x7ffff on simplebus1 fsl_msi0: mem 0x41600-0x417ff,0x44140-0x44143 irq 224,225,226,227,228,229,230,231 on simplebus1 fsl_msi1: mem 0x41800-0x419ff,0x45140-0x45143 irq 232,233,234,235,236,237,238,239 on simplebus1 fsl_msi2: mem 0x41a00-0x41bff,0x46140-0x46143 irq 240,241,242,243,244,245,246,247 on simplebus1 qman0: mem 0x318000-0x318fff irq 16 on simplebus1 qman0: Hardware version: 1.2. bman0: mem 0x31a000-0x31afff irq 16 on simplebus1 bman0: Hardware version: 1.0. cpulist0: on ofwbus0 cpu0: on cpulist0 cpu1: on cpulist0 spi0: mem 0x110000-0x110fff irq 53 on simplebus1 spibus0: on spi0 iichb0: mem 0x118100-0x1181ff irq 38 on simplebus1 iicbus0: on iichb0 iic0: on iicbus0 iichb1: mem 0x119100-0x1191ff irq 39 on simplebus1 iicbus1: on iichb1 iic1: on iicbus1 ds13070: at addr 0xde on iicbus1 pq_mdio0: mem 0xe1120-0xe1fff irq 100 on fman0 dtsec0: mem 0xe6000-0xe6fff on fman0 dtsec0: Configured for regular mode. miibus0: on dtsec0 micphy0: PHY 3 on miibus0 micphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto dtsec0: Ethernet address: 00:80:10:fa:ce:01 dtsec1: mem 0xe8000-0xe8fff on fman0 dtsec1: Configured for regular mode. miibus1: on dtsec1 micphy1: PHY 7 on miibus1 micphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto dtsec1: Ethernet address: 00:80:10:fa:ce:02 dtsec2: mem 0xe0000-0xe0fff on fman0 dtsec2: Could not load local-mac-addr property from DTS device_attach: dtsec2 attach returned 6 dtsec2: mem 0xe2000-0xe2fff on fman0 dtsec2: Could not load local-mac-addr property from DTS device_attach: dtsec2 attach returned 6 pq_mdio1: mem 0xe3120-0xe3fff on fman0 dtsec2: mem 0xe4000-0xe4fff on fman0 dtsec2: Could not load local-mac-addr property from DTS device_attach: dtsec2 attach returned 6 pq_mdio2: mem 0xe5120-0xe5fff on fman0 pq_mdio3: mem 0xe7120-0xe7fff on fman0 pq_mdio4: mem 0xe9120-0xe9fff on fman0 dtsec2: mem 0xf0000-0xf0fff on fman0 dtsec2: Could not load local-mac-addr property from DTS device_attach: dtsec2 attach returned 6 sdhci_fsl0: mem 0x114000-0x114fff irq 48 on simplebus1 mmc0: on sdhci_fsl0 iichb2: mem 0x118000-0x1180ff irq 38 on simplebus1 iicbus2: on iichb2 iic2: on iicbus2 iichb3: mem 0x119000-0x1190ff irq 39 on simplebus1 iicbus3: on iichb3 iic3: on iicbus3 uart0: <16550 or compatible> mem 0x11c500-0x11c5ff irq 36 on simplebus1 uart0: console (115451,n,8,1) uart1: <16550 or compatible> mem 0x11c600-0x11c6ff irq 36 on simplebus1 uart2: <16550 or compatible> mem 0x11d500-0x11d5ff irq 37 on simplebus1 uart3: <16550 or compatible> mem 0x11d600-0x11d6ff irq 37 on simplebus1 gpioc0: on gpio0 ehci0: mem 0x210000-0x210fff irq 44 on simplebus1 usbus0: EHCI version 1.0 usbus0 on ehci0 ehci1: mem 0x211000-0x211fff irq 45 on simplebus1 usbus1: EHCI version 1.0 usbus1 on ehci1 fslsata0: mem 0x220000-0x220fff irq 68 on simplebus1 fslsata1: mem 0x221000-0x221fff irq 69 on simplebus1 vgapci0: at device 0.0 numa-domain 0 on pci1 pci1: at device 0.1 (no driver attached) em0: irq 7 at device 0.0 numa-domain 0 on pci7 em0: Using 1024 TX descriptors and 1024 RX descriptors em0: Using 2 RX queues 2 TX queues em0: Using MSI-X interrupts with 3 vectors em0: Ethernet address: 68:05:ca:24:42:f7 gpiopower0: on ofwbus0 gpiopower1: on ofwbus0 Timecounter "timebase" frequency 24937500 Hz quality 1000 Event timer "decrementer" frequency 24937500 Hz quality 1000 Timecounters tick every 1.000 msec ds13070: registered as a time-of-day clock, resolution 1.000000s usbus0: 480Mbps High Speed USB v2.0 usbus1: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0 on usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1 on usbus1 uhub1: on usbus1 uhub0: 1 port with 1 removable, self powered uhub1: 1 port with 1 removable, self powered mmcsd0: 4GB at mmc0 49.8MHz/4bit/65535-block Launching APs: 1 ada0 at fslsata0 bus 0 scbus0 target 0 lun 0 ada0: ACS-2 ATA SATA 3.x device ada0: Serial Number 191078805013 ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 512bytes) ada0: Command Queueing enabled ada0: 228944MB (468877312 512 byte sectors) Trying to mount root from ufs:/dev/ada0s2a [rw]... random: unblocking device. ugen0.2: at usbus0 uhub2 on uhub0 uhub2: on usbus0 uhub2: MTT enabled ugen1.2: at usbus1 uhub3 on uhub1 uhub3: on usbus1 uhub3: MTT enabled uhub2: 4 ports with 4 removable, self powered uhub3: 4 ports with 4 removable, self powered ugen0.3: at usbus0 ugen1.3: at usbus1 ukbd0 on uhub3 ukbd0: on usbus1 kbd1 at ukbd0 ugen1.4: at usbus1 ums0 on uhub3 ums0: on usbus1 ums0: 3 buttons and [XYZ] coordinates ID=0 ugen0.4: at usbus0 ugen1.4: at usbus1 (disconnected) ums0: at uhub3, port 2, addr 4 (disconnected) ums0: detached ugen1.4: at usbus1 ums0 on uhub3 ums0: on usbus1 ums0: 3 buttons and [XYZ] coordinates ID=0 ugen1.4: at usbus1 (disconnected) ums0: at uhub3, port 2, addr 4 (disconnected) ums0: detached ugen1.4: at usbus1 ums0 on uhub3 ums0: on usbus1 ums0: 3 buttons and [XYZ] coordinates ID=0 ugen1.4: at usbus1 (disconnected) ums0: at uhub3, port 2, addr 4 (disconnected) ums0: detached ugen1.4: at usbus1 ums0 on uhub3 ums0: on usbus1 ums0: 3 buttons and [XYZ] coordinates ID=0 I believe the issue starts here: scanning bus 0 for devices... ERROR: Invalid USB EP length (9) Also, it goes back up to the top on the screen before loading the kernel, so something are written over. This I believe is with the latest source with git. I don't know why this is failing. Here is my kernel config: # # Custom kernel for Freescale MPC85XX development boards like the CDS etc. # # $FreeBSD: head/sys/powerpc/conf/MPC85XX 277254 2015-01-16 17:41:21Z nwhitehorn $ # ident AMIGAX5000 include QORIQ64 #options BUS_DEBUG #options DEBUG #options EARLY_PRINTF #options MPC85XX_UART_PA=0xffe11c000ull #options KTR #options KTR_COMPILE=(KTR_PMAP) #options KTR_MASK=(KTR_PMAP) #options KTR_ENTRIES=8192 #options KTR_VERBOSE options PREEMPTION # Enable kernel thread preemption #options GEOM_PART_EBR # Extended Boot Records #options GEOM_PART_EBR_COMPAT # Backward compatible partition names options GEOM_PART_APM # Apple Partition Maps. #options ZFS device ukbd device ums # For SAS RAID #device pci #device aacraid # For Video device vt device fbd device kbdmux options KBD_INSTALL_CDEV # No Netboot nooptions BOOTP nooptions BOOTP_NFSROOT # For Alex #device nvme nooptions INVARIANTS nooptions INVARIANT_SUPPORT nooptions WITNESS nooptions WITNESS_SKIPSPIN Please let me know if you need more information. I would really like to get past this issue. Kind Regards, Al --------------08F81C40B62DCACA66D6590D-- From nobody Sun Aug 1 20:48:00 2021 X-Original-To: freebsd-ppc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 479181344661 for ; Sun, 1 Aug 2021 20:48:10 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic307-55.consmr.mail.gq1.yahoo.com (sonic307-55.consmr.mail.gq1.yahoo.com [98.137.64.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GdCrn6c5Gz3QQL for ; Sun, 1 Aug 2021 20:48:09 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1627850888; bh=gSC1vcwiTlSFvK3ZqpdRWvuN7vZv21+mjoPS6E6vrIM=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=hYOPpnDBi2SuedtHwWBkwJ1m6iQwRbsO5SaW2sCrULR6RaPITrF+FJunNV+9v4BJjaeiLylqXyLLKVI0YkpArSYkZthZVA/yqapiGdzwapUQ8sCoEwuOTQ615e3SVOYgC/Mc4zJP1dM6junBljth3PhC6PLQ2bmOkiGXR6j79x1CwbxEAHs8SfQXWxerJGd8rkGiQWhAV/52sj6iV+yC7+xvEoE3KOgcV0KVS9K75ep/tRsOlRNIpQ4XuFVcGEnY5ch/zLK80cUlljQx6S8R17l5Evn1uBiVwfIm0sheXxNTkPA3wZHZy/JuerETKelVF1ZuWWIV9x9lw24EZchgZQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1627850888; bh=T89og+JVKkfSe3qvQ8O0BpkBapgip1uSJDeoJe4P71P=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=M15im1NfjHQeDEkSbRGn5Yi/ZCrx0g34YAZ8jqnX3JkDM2fOAHczEGwMGy0KP2zL8J0cU0rFIOuvVrMq+ht5GWiKY4hovb6mY022S/Kv2gCqJfh5vPlu4Od+nzpZ+CIn9WZCLVvrLP7VOwuz5MbTl84OfhJr+eAHxjYZAF5r0bJ/1KPV2wYUpRgv94U2BwyokhLkyr9Dl8yNgHouWtKbkOfSN/N69t8tsYIXDpEmrgCLpKTevxlOblsga96B0SPRmLyXL0HvtVpc0s4YfjxznTgHtsBdBzjPOvd2Vavtai9WuHWkEyHxi39kaQN6urmMAFtZ9Rw1jok373mYcHVcBg== X-YMail-OSG: Pizo1kcVM1lvCs2Fko4smJQH3cr.FqzbzQfSaQsaIU8XSP43UeFXgujGF4cKLy. cBhWZAvu2uKKV..oYdVF3tSwZTD3H8CyUluuQVUqvnFfimnVgAYdySoNropMYsC6SN3DMA1lxIKu hk7MJbdGhO6bhPP8XKLkb8.u.HgXmrpxPIeC1UP5osWMHtRiuKQHIceg6OSYGZ7tt64_oeIyEnXT PPnyzB6wPKJ6CUD4ZNEcfzPyrVa_UMMZ.bez.M1lCOEvpGz18llWHyCjsjvCQWHjy.Nczp5zru07 eKiSy2CPruni9Asq1O8KfWBh9zufQEZOZ_tu2d2tcjzy6jNY5nTZEQQfABCOfgXiAis3yzPGVDgc WxMzft1EBULZ80HYOMFyEVILCx47091JCqrqxTTixJ2BCzk9dfe6c6XApOKCknNNQ.yUbwkBBWAn f8g2QSTz07Jlm7xiI_fbYdJ6_pGkK1bFWR0PDqehrZUPZExS2RGZW5T0XsmWm33LIaGB_W0j.js9 .zCSkBZ6QDxyu6B4JQuhIYehIMhnYUC_NLOKeTc7MN3VyImZEVyLQ0caUEvyH0fwxcjTlyKQMlRq pv.cxNQDrFvDqetC6C.ZmshNqloZTLal254TY12SYP7In7CA6sdYOfMSnJzm7Nl0m5ajR1hyLkhI gzYC31ng59c2zmbx4VQmvsifuXCzZ6unh4pRBuxAzcHayKROsceTVvD01wT2JioQlrkZBwZGVmOM ace9F4ZydCfoI7g_FFxUAbMv.2OT9nC_6if0SdhrIrhG5kKubMlsg7ywwhLgfrLO4o_.TGupsJYm XeplMP6w62Y_OGvnfo0.zeSSF9ty1aCJO1wt.2zMpkkIMv5z3HAb7z38QPhr_XRPP01byC7Qxipb FPyQs_1r3w8VXKQNc8o5ztqH5zWJFkFxp410LpSFdXFcag4eYoloNbYCTvpxeO_G3V9hQUITDO.R wiiHu1QgWwJghCn2_6CRih1P2QjV7dObxcdEulge.IiDTBuBrnshvBSaW4BB_KhVskgNGaHpGCHe q4a3nb5LOTP54cRw_21F__5VJ.E6j2KWUJFLht64jxQpMT6huYsgvSGLjZisYViowEG0NgWVxUg8 hMqO5KTtqKN59DCI2_xUWqbCoERgmji3XmVtdVlxrIolZyy0J3BrL.xbymGA5wLV0gEck.o5Uz0J xsx_9OJlpqc_hBc2LKu3OQNgBuwhwaPY2JQuXAnzq6__r2BfYRt5vpghQvVBJaOUC1DhBkm1xsg8 19lgGfyuXZ7F1is4zrJKw_lX6v8wm9APxYjfPk1L0sNd37YDphgsItp2KNqmdb.DTATWyAkOR2.b qDvDywtwO4oWByBaXjZ9q0aPl8zFYAI2pqBMZa3SnIaDLgU8TNfEGTr8ZVyGGS6Y7AJ9tRPMdkhE dG3BQvCKNY6gujVY2daMYNY0UpRKTffG_6RLiuX9szp8DzU50r7FtA3njmvy4lPu7GEp4fmNdc1V JDsJkGry8rx7EMiLepHWd_IBJ9R7jTWblxtU3j2DN.2XZIOnmkO84Jfjtq2VpRzjmgnKMZBKH.CR esOwpHdud3Q7hfWeZB_SnJp87jrZ4UG7e_YqFVGTYafir2UifAHteHiGfeCSWzULmAFe6mLDoaA6 OvSapNG1J762R4EO7q43irD7NkDbC10w.TWjmrbIIxpMz08V2qzZQ46vHe3MKaTjkObIaQz0JEXA UuZi51W3iUloWRWclKJ4YKCCGcGGzNode7LvGuVzTYosfSKkFp2I4YIA6u_uiq14ikMHRDC0iTl2 mrsb_I8FmVkg7pZgzhBBrIZZV8_eGghqedFx.9hN7vGN429M0dtfuLVmywcKBzwA03DnEs2F2vGO HQBq91QYjA2NC72PPdy8V96VBXxm7NoVuePiKbA5iCB2ZaRgNjFsSUAV5umU6cFyxWL1HeIPMWyr 05_rtU2S6rDb8HAtThesyC2msQtVgvKZ89LDwQqgsgJo6F.pa4mPqzUfrr8YNWeE2y8sx4dovcNw 32_i9x3HsBxqfrMUffG_n0U0CR9wDi59cc2sBf4qouimyO93PkCQCBELomXvgIp_sUfYnP06Apg1 hQd5iB18M6A3BBTHR.cg9iqYLsv_UR3MjN__gVoW4zuaTCN5pBY2tKwOqgtd37ppYIYT.nmg_Epw SqcEYqzDdGroC3u6B3tpbohUIT6bJGHbtP5fEry7c8jddgJdrmbQFkw0Xb76Cp.nXd765sUiPc9W IkVfusLw35q7jmWmz.BPr_N2OvW6aNcSOcXq.Y9a7nG5cKfx56MsXYTgDZLhHE4oMr0vg2vSuXkl jQDNQFwaDAH1WzHt9VOpS70FThWQMx7bOnGjGhamo3VoloJfcGZvm8BvCIc8vBv4nO5jcaMbSF1Q t4LnYWA1FnfW9lByxX0ApL57xmadZ.nZr7ldEZmG38geMWSApv7BZNR.1NBevQEYtz1gkY5nyeLB 8pe.Ko35LrNCYcBaiHFeNwPbK726pyfQ7VdKALy12uc0lDIruNgyJdz2lnoIJk4PEKExG96zz1Vc QiTxZQ9CWkFdHET1IDzhX6nnrbDg5QgcDlncuKisj2rKRtpvzlY85bS7wMeJ5dCjgAS_zCaxJQ5O nYhvXtZnJSV6oaNeUs0uavUZx15nVjyZrdjToBjUiUA32sFS_BFzlXk6CZzvaqhLhFnLIzikdQ3L DGv13wqI- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.gq1.yahoo.com with HTTP; Sun, 1 Aug 2021 20:48:08 +0000 Received: by kubenode520.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 61f06124e06e3b1ae5c8c2bc19b2edb7; Sun, 01 Aug 2021 20:48:03 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to the PowerPC List-Archive: https://lists.freebsd.org/archives/freebsd-ppc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: yet another error In-Reply-To: <6c7eadc4-ccc5-0da0-0ae4-69fa2caf48b6@datazap.net> Date: Sun, 1 Aug 2021 13:48:00 -0700 Cc: "freebsd-ppc@freebsd.org" , Justin Hibbits , Justin Hibbits Content-Transfer-Encoding: quoted-printable Message-Id: References: <6c7eadc4-ccc5-0da0-0ae4-69fa2caf48b6@datazap.net> To: Al X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4GdCrn6c5Gz3QQL X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-ppc X-Original-From: Mark Millard X-ThisMailContainsUnwantedMimeParts: N [Part of a personal point for this Email reply is seeing what the list does with it. I'd sent in an unsubscribe for freebsd-ppc on 2021-Jul-28 but still got this Email from the list. I no longer have access to operational powerpc/power systems and never had access to one that involved U-Boot in its operation: just old PowerMacs.] On 2021-Aug-1, at 12:31, Al wrote: > Hello, >=20 > It is loading the kernel now, but there is a USB error: >=20 > U-Boot 2014.04 (Oct 17 2016 - 08:22:22) >=20 > CPU0: P5020, Version: 2.0, (0x82200020) > Core: e5500, Version: 1.2, (0x80240012) > Clock Configuration: > CPU0:1995 MHz, CPU1:1995 MHz, > CCB:798 MHz, > DDR:665 MHz (1330 MT/s data rate) (Asynchronous), LBC:49.875 = MHz > FMAN1: 498.750 MHz > QMAN: 399 MHz > PME: 399 MHz > L1: D-cache 32 KiB enabled > I-cache 32 KiB enabled > Reset Configuration Word (RCW): > 00000000: 0c540000 00000000 1e1e0000 00000000 > 00000010: 44808c00 ff002000 68000000 45000000 > 00000020: 00000000 00000000 00000000 0003000f > 00000030: a0000000 00000000 00000000 00000000 > Board: CYRUS > 36-bit Addressing > I2C: ready > SPI: ready > DRAM: Initializing....using SPD > Detected UDIMM KHX1600C10D3/8G > Detected UDIMM KHX1600C10D3/8G > 14 GiB left unmapped > 16 GiB (DDR3, 64-bit, CL=3D9, ECC off) > DDR Controller Interleaving Mode: cache line > DDR Chip-Select Interleaving Mode: CS0+CS1 >=20 > Local Bus Controller Registers > BR0 0xE0001001 OR0 0xFFF00010 > BR1 0xE1001001 OR1 0xFFF00010 > BR2 0x00000000 OR2 0x00000000 > BR3 0x00000000 OR3 0x00000000 > BR4 0x00000000 OR4 0x00000000 > BR5 0x00000000 OR5 0x00000000 > BR6 0x00000000 OR6 0x00000000 > BR7 0x00000000 OR7 0x00000000 > LBCR 0x40000000 LCRR 0x80010004 > L2: 512 KiB enabled > Corenet Platform Cache: 2 MiB enabled > SERDES: bank 2 disabled > MMC: FSL_SDHC: 0 > EEPROM: NXID v0 > PCIe1: Root Complex, x4 gen1, regs @ 0xfe200000 > 01:00.0 - 1002:6759 - Display controller > 01:00.1 - 1002:aa90 - Multimedia device > PCIe1: Bus 00 - 01 > PCIe2: Root Complex, x4 gen2, regs @ 0xfe201000 > 03:00.0 - 111d:8092 - Bridge device > 04:01.0 - 111d:8092 - Bridge device > 05:00.0 - 12d8:e111 - Bridge device > 04:02.0 - 111d:8092 - Bridge device > 04:03.0 - 111d:8092 - Bridge device > 08:00.0 - 8086:10d3 - Network controller > 04:08.0 - 111d:8092 - Bridge device > 04:10.0 - 111d:8092 - Bridge device > PCIe2: Bus 02 - 0a > PCIe3: disabled > PCIe4: disabled > Looking for VGA > PINS: 0xfc000808 > videoboot: Booting PCI video card bus 1, function 0, device 0 > Begin BIOS POST > End BIOS POST > Setting VESA Mode > Found required VESA mode > About to set mode 279 > About to get mode > Got mode 49431 (0xc117) > OK > XSize =3D 1024 YSize =3D 768 Base =3D0xe0000000 > mmio_base =3D 0x80000000 > bgx =3D 0xad55ad55 fgx =3D 0x0 > In: serial > Out: serial > Err: serial > ID: NXID v0 > SN: 116330081 > UID: 4429431001910051c47da080a0800000 > Errata: Q > Build date: 2015/07/06 14:51:17 > CRC: eb5fb57a > SCSI: scanning bus for devices... > Found 0 device(s). > Net: Initializing Fman >=20 > MMC read: dev # 0, block # 1130, count 128 ... > Fman1: Uploading microcode version 106.1.0 > Tuning PHY @ 3 > Tuning PHY @ 7 > FM1@DTSEC4 [PRIME], FM1@DTSEC5 >=20 > MMC read: dev # 0, block # 1280, count 512 ... 512 blocks read: OK >=20 > MMC read: dev # 0, block # 65536, count 131072 ... 131072 blocks read: = OK > USB0: USB EHCI 1.00 > scanning bus 0 for devices... ERROR: Invalid USB EP length (9) This message is from U-Boot, not FreeBSD. It is not FreeBSD's kernel's problem: this is still before the FreeBSD kernel being involved. (It is not even loaded yet.) https://github.com/ARM-software/u-boot/blob/master/common/usb.c shows for modern code: case USB_DT_ENDPOINT: if (head->bLength !=3D USB_DT_ENDPOINT_SIZE && head->bLength !=3D = USB_DT_ENDPOINT_AUDIO_SIZE) { printf("ERROR: Invalid USB EP length = (%d)\n", head->bLength); break; } For reference: USB_DT_ENDPOINT_SIZE is 7 USB_DT_ENDPOINT_AUDIO_SIZE is 9 In looking around on the Web I've seen code without the: QUOTE && head->bLength !=3D = USB_DT_ENDPOINT_AUDIO_SIZE END QUOTE text. Without that extra test, an audio endpoint will cause the message and the "break;" and its consequences. You could either remove all audio endpoints (presuming such is possible) or use a variant of U-Boot that has the extra test and any related code. (As far as I can tell anyway.) Note: I'm not a U-Boot expert. I just looked up the "Invalid USB EP length" message on the Web and the above is what I found. > Hit [Enter] to boot immediately, or any other key for command prompt. > Booting [/boot/kernel/kernel]... > Using DTB provided by U-Boot at address 0xc00000. > Kernel args: (null)devices... 4 USB Device(s) found > GDB: no debug ports present > KDB: debugger backends: ddb > KDB: current backend: ddb.. > ---<>---(s). > Copyright (c) 1992-2021 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, = 1994 > X5000> fThe Regents of the University of California. All rights = reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 14.0-CURRENT #4 main-n248384-d0d631d5f44: Fri Jul 30 18:08:34 = EDT 2021 >=20 > = al@test.imagehostplus.com:/usr/obj/usr/src/powerpc.powerpc64/sys/AMIGAX500= 0 powerpc > FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git = llvmorg-11.0.0-0-g176249bd673) > VT: init without driver.s (2 MiB/s) > cpu0: Freescale e5500 core revision 1.2, 1995.00 MHz > cpu0: Features cc009100 > cpu0: Features2 8000000 > cpu0: HID0 c0000000... > real memory =3D 16570585088 (15802 MB) > avail memory =3D 16520658944 (15755 MB) @0x7fe2efd8 > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > arc4random: WARNING: initial seeding bypassed the cryptographic random = device because it was not yet seeded and the knob 'bypass_before_seedi. > random: entropy device external interfacegehostplus.com) > kbd0 at kbdmux0 > ofwbus0: on nexus0 > simplebus0: on ofwbus0 > bman-portals0: on ofwbus0 > qman-portals0: on ofwbus0 > simplebus1: mem = 0xffe000000-0xffe000fff on ofwbus0 > fman0: mem 0x400000-0x4fffff irq 96,16 on = simplebus1 >> INFO (__ERR_MODULE__) [CPU00,=20 > /usr/src/sys/contrib/ncsw/Peripherals/FM/fm_ncsw.c:470 = LoadFmanCtrlCode]: FMan-Controller code (ver 101.0.8) . > fman0: Hardware version: 3.0. > rcpm0: mem 0xe2000-0xe2fff on = simplebus1 > lbc0: mem 0xffe124000-0xffe124fff irq = 25 on ofwbus0 > pcib0: mem = 0xffe200000-0xffe200fff irq 16 on ofwbus0 > pci0: on pcib0 > pcib1: irq 16 at device 0.0 numa-domain = 0 on pci0 > pci1: numa-domain 0 on pcib1 > pcib2: mem = 0xffe201000-0xffe201fff irq 16 on ofwbus0 > pci2: on pcib2 > pcib3: irq 16 at device 0.0 numa-domain = 0 on pci2 > pci3: numa-domain 0 on pcib3 > pcib4: at device 0.0 numa-domain 0 on pci3 > pci4: numa-domain 0 on pcib4 > pcib5: at device 1.0 numa-domain 0 on pci4 > pci5: numa-domain 0 on pcib5 > pcib6: irq 5 at device 0.0 numa-domain 0 on pci5 > pcib6: allocating 1 bus failed > pcib6: allocating 1 bus failed > pcib6: failed to allocate initial memory window: 0-0xfffff > pcib2: failed to reserve resource for pcib3 > pcib6: failed to allocate initial prefetch window: 0-0xfffff > pcib7: at device 2.0 numa-domain 0 on pci4 > pci6: numa-domain 0 on pcib7 > pcib8: at device 3.0 numa-domain 0 on pci4 > pci7: numa-domain 0 on pcib8 > pcib9: at device 8.0 numa-domain 0 on pci4 > pci8: numa-domain 0 on pcib9 > pcib10: at device 16.0 numa-domain 0 on pci4 > pci9: numa-domain 0 on pcib10 > gpio0: mem 0x130000-0x130fff irq 55 on = simplebus1 > gpiobus0: on gpio0 > openpic0: mem 0x40000-0x7ffff on = simplebus1 > fsl_msi0: mem 0x41600-0x417ff,0x44140-0x44143 irq = 224,225,226,227,228,229,230,231 on simplebus1 > fsl_msi1: mem 0x41800-0x419ff,0x45140-0x45143 irq = 232,233,234,235,236,237,238,239 on simplebus1 > fsl_msi2: mem 0x41a00-0x41bff,0x46140-0x46143 irq = 240,241,242,243,244,245,246,247 on simplebus1 > qman0: mem 0x318000-0x318fff irq 16 on = simplebus1 > qman0: Hardware version: 1.2. > bman0: mem 0x31a000-0x31afff irq 16 on = simplebus1 > bman0: Hardware version: 1.0. > cpulist0: on ofwbus0 > cpu0: on cpulist0 > cpu1: on cpulist0 > spi0: mem 0x110000-0x110fff irq 53 on = simplebus1 > spibus0: on spi0 > iichb0: mem 0x118100-0x1181ff irq 38 on = simplebus1 > iicbus0: on iichb0 > iic0: on iicbus0 > iichb1: mem 0x119100-0x1191ff irq 39 on = simplebus1 > iicbus1: on iichb1 > iic1: on iicbus1 > ds13070: at addr 0xde on iicbus1 > pq_mdio0: mem 0xe1120-0xe1fff irq 100 on fman0 > dtsec0: mem = 0xe6000-0xe6fff on fman0 > dtsec0: Configured for regular mode. > miibus0: on dtsec0 > micphy0: PHY 3 on miibus0 > micphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, = 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto > dtsec0: Ethernet address: 00:80:10:fa:ce:01 > dtsec1: mem = 0xe8000-0xe8fff on fman0 > dtsec1: Configured for regular mode. > miibus1: on dtsec1 > micphy1: PHY 7 on miibus1 > micphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, = 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto > dtsec1: Ethernet address: 00:80:10:fa:ce:02 > dtsec2: mem = 0xe0000-0xe0fff on fman0 > dtsec2: Could not load local-mac-addr property from DTS > device_attach: dtsec2 attach returned 6 > dtsec2: mem = 0xe2000-0xe2fff on fman0 > dtsec2: Could not load local-mac-addr property from DTS > device_attach: dtsec2 attach returned 6 > pq_mdio1: mem 0xe3120-0xe3fff on fman0 > dtsec2: mem = 0xe4000-0xe4fff on fman0 > dtsec2: Could not load local-mac-addr property from DTS > device_attach: dtsec2 attach returned 6 > pq_mdio2: mem 0xe5120-0xe5fff on fman0 > pq_mdio3: mem 0xe7120-0xe7fff on fman0 > pq_mdio4: mem 0xe9120-0xe9fff on fman0 > dtsec2: mem = 0xf0000-0xf0fff on fman0 > dtsec2: Could not load local-mac-addr property from DTS > device_attach: dtsec2 attach returned 6 > sdhci_fsl0: mem 0x114000-0x114fff irq 48 = on simplebus1 > mmc0: on sdhci_fsl0 > iichb2: mem 0x118000-0x1180ff irq 38 on = simplebus1 > iicbus2: on iichb2 > iic2: on iicbus2 > iichb3: mem 0x119000-0x1190ff irq 39 on = simplebus1 > iicbus3: on iichb3 > iic3: on iicbus3 > uart0: <16550 or compatible> mem 0x11c500-0x11c5ff irq 36 on = simplebus1 > uart0: console (115451,n,8,1) > uart1: <16550 or compatible> mem 0x11c600-0x11c6ff irq 36 on = simplebus1 > uart2: <16550 or compatible> mem 0x11d500-0x11d5ff irq 37 on = simplebus1 > uart3: <16550 or compatible> mem 0x11d600-0x11d6ff irq 37 on = simplebus1 > gpioc0: on gpio0 > ehci0: mem 0x210000-0x210fff = irq 44 on simplebus1 > usbus0: EHCI version 1.0 > usbus0 on ehci0 > ehci1: mem 0x211000-0x211fff = irq 45 on simplebus1 > usbus1: EHCI version 1.0 > usbus1 on ehci1 > fslsata0: mem 0x220000-0x220fff = irq 68 on simplebus1 > fslsata1: mem 0x221000-0x221fff = irq 69 on simplebus1 > vgapci0: at device 0.0 numa-domain 0 on pci1 > pci1: at device 0.1 (no driver attached) > em0: irq 7 at device 0.0 numa-domain 0 on = pci7 > em0: Using 1024 TX descriptors and 1024 RX descriptors > em0: Using 2 RX queues 2 TX queues > em0: Using MSI-X interrupts with 3 vectors > em0: Ethernet address: 68:05:ca:24:42:f7 > gpiopower0: on ofwbus0 > gpiopower1: on ofwbus0 > Timecounter "timebase" frequency 24937500 Hz quality 1000 > Event timer "decrementer" frequency 24937500 Hz quality 1000 > Timecounters tick every 1.000 msec > ds13070: registered as a time-of-day clock, resolution 1.000000s > usbus0: 480Mbps High Speed USB v2.0 > usbus1: 480Mbps High Speed USB v2.0 > ugen0.1: at usbus0 > uhub0 on usbus0 > uhub0: on = usbus0 > ugen1.1: at usbus1 > uhub1 on usbus1 > uhub1: on = usbus1 > uhub0: 1 port with 1 removable, self powered > uhub1: 1 port with 1 removable, self powered > mmcsd0: 4GB at mmc0 = 49.8MHz/4bit/65535-block > Launching APs: 1 > ada0 at fslsata0 bus 0 scbus0 target 0 lun 0 > ada0: ACS-2 ATA SATA 3.x device > ada0: Serial Number 191078805013 > ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 512bytes) > ada0: Command Queueing enabled > ada0: 228944MB (468877312 512 byte sectors) > Trying to mount root from ufs:/dev/ada0s2a [rw]... > random: unblocking device. > ugen0.2: at usbus0 > uhub2 on uhub0 > uhub2: on usbus0 > uhub2: MTT enabled > ugen1.2: at usbus1 > uhub3 on uhub1 > uhub3: on usbus1 > uhub3: MTT enabled > uhub2: 4 ports with 4 removable, self powered > uhub3: 4 ports with 4 removable, self powered > ugen0.3: at usbus0 > ugen1.3: at usbus1 > ukbd0 on uhub3 > ukbd0: = on usbus1 > kbd1 at ukbd0 > ugen1.4: at usbus1 > ums0 on uhub3 > ums0: on usbus1 > ums0: 3 buttons and [XYZ] coordinates ID=3D0 > ugen0.4: at usbus0 > ugen1.4: at usbus1 (disconnected) > ums0: at uhub3, port 2, addr 4 (disconnected) > ums0: detached > ugen1.4: at usbus1 > ums0 on uhub3 > ums0: on usbus1 > ums0: 3 buttons and [XYZ] coordinates ID=3D0 > ugen1.4: at usbus1 (disconnected) > ums0: at uhub3, port 2, addr 4 (disconnected) > ums0: detached > ugen1.4: at usbus1 > ums0 on uhub3 > ums0: on usbus1 > ums0: 3 buttons and [XYZ] coordinates ID=3D0 > ugen1.4: at usbus1 (disconnected) > ums0: at uhub3, port 2, addr 4 (disconnected) > ums0: detached > ugen1.4: at usbus1 > ums0 on uhub3 > ums0: on usbus1 > ums0: 3 buttons and [XYZ] coordinates ID=3D0 >=20 >=20 > I believe the issue starts here: scanning bus 0 for devices... ERROR: = Invalid USB EP length (9) Again: that message is from before FreeBSD's kernel is involved and is from U-Boot and indicates U-Boot changing its behavior because of an audio endpoint (that the U-Boot in use is not set up to handle). > Also, it goes back up to the top on the screen before loading the = kernel, so something are written over. >=20 > This I believe is with the latest source with git. >=20 > I don't know why this is failing. >=20 > Here is my kernel config: >=20 > # > # Custom kernel for Freescale MPC85XX development boards like the CDS = etc. > # > # $FreeBSD: head/sys/powerpc/conf/MPC85XX 277254 2015-01-16 17:41:21Z = nwhitehorn $ > # >=20 > ident AMIGAX5000 >=20 > include QORIQ64 >=20 > #options BUS_DEBUG > #options DEBUG > #options EARLY_PRINTF > #options MPC85XX_UART_PA=3D0xffe11c000ull > #options KTR > #options KTR_COMPILE=3D(KTR_PMAP) > #options KTR_MASK=3D(KTR_PMAP) > #options KTR_ENTRIES=3D8192 > #options KTR_VERBOSE >=20 > options PREEMPTION # Enable kernel thread = preemption > #options GEOM_PART_EBR # Extended Boot Records > #options GEOM_PART_EBR_COMPAT # Backward compatible = partition names > options GEOM_PART_APM # Apple Partition Maps. > #options ZFS >=20 > device ukbd > device ums >=20 > # For SAS RAID > #device pci > #device aacraid >=20 > # For Video > device vt > device fbd > device kbdmux > options KBD_INSTALL_CDEV >=20 > # No Netboot > nooptions BOOTP > nooptions BOOTP_NFSROOT >=20 > # For Alex > #device nvme > nooptions INVARIANTS > nooptions INVARIANT_SUPPORT > nooptions WITNESS > nooptions WITNESS_SKIPSPIN >=20 >=20 > Please let me know if you need more information. I would really like = to get past this issue. >=20 > Kind Regards, > Al =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From nobody Sun Aug 1 20:48:17 2021 X-Original-To: freebsd-ppc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D9C411344B08 for ; Sun, 1 Aug 2021 20:48:23 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GdCs358X9z3QYd for ; Sun, 1 Aug 2021 20:48:23 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-io1-xd2f.google.com with SMTP id z7so17161015iog.13 for ; Sun, 01 Aug 2021 13:48:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BM42rOPl3mpyhaKfIeFXgz4QooP43KxFuCX8giAAk3c=; b=sC6Kbd0Nh6zCEI+JPVeR6nTzPMNAIRsuJRC6C+sal1aedETVkOVZgBeDYLflKbmmbb UsGOJlryOo0ifm3Df9m5bqIToOyUtifE+DQJyr1AHxdatH+qe/HOtxRIDMVHieRp9fdJ IjpKOl2p37jE1324l+L+T/dqTUz5bxcSPSuAeXzC8pRjfaVSG4EpjJpYnFQgeRy/Dvvc jJNChSW8KndrScHGgj+fHVLJV9OtOOgw0k4+RzthgXfRKwyhdV/by+3TJpotrTZItOXJ KSj97etCqmBCne066+Z9kml62iExdwubGGez47tUocS2SbRGOdllGMiu8RQhpsStIQZq YXXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=BM42rOPl3mpyhaKfIeFXgz4QooP43KxFuCX8giAAk3c=; b=ja+MUcyxGKya30Px0iKtZ6Kxxolsisl38wQ1zMVZ8bk+cW7G/7a/JRDL+CPrq0M1pP o+f56JmN1fVH7oYNKsrDf1t7umq5obfbmj3X2Dfo63bPZmcEHJVVCywdwxyWGA8l7Q77 SZ8Yk30ZSOdhh4nQQxyXmAGKwDaV812+d8kWsA5yG8azHjfahBszqM5HFF0dbYpagq2C ReSKhwsXMPKNOUBCLI6SGjXOvkYYkVCsAcHrIIGM2glLqAapkCD1CTZgUO1Oeo2KOXZc Pg5gFtnDXtu35DXgrrYeZfBHO+taksXVb343SdYrfPSgm0lrY5VJtNY+48sdsFvNwYKP QjBA== X-Gm-Message-State: AOAM532rd+reZlR9oHbOKfadrq/Lwr5pRPGunzYNPAImwA0LZ1zKsNYe dJwDbEWVPqS2Hu1TdTsjNrM= X-Google-Smtp-Source: ABdhPJyHdjtORMW0y2KY7EgSNXHR9v3sg13eN2k/XdlAfrdYFv/5LWjrnTA9oYrb3BvG09XnkSoKrw== X-Received: by 2002:a5d:9d42:: with SMTP id k2mr5271873iok.124.1627850897444; Sun, 01 Aug 2021 13:48:17 -0700 (PDT) Received: from ralga-linux (173-18-9-215.client.mchsi.com. [173.18.9.215]) by smtp.gmail.com with ESMTPSA id a11sm4309349ilf.79.2021.08.01.13.48.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Aug 2021 13:48:17 -0700 (PDT) Date: Sun, 1 Aug 2021 15:48:17 -0500 From: Justin Hibbits To: Al Cc: "freebsd-ppc@freebsd.org" , Justin Hibbits Subject: Re: yet another error Message-ID: <20210801154817.62f57168@ralga-linux> In-Reply-To: <6c7eadc4-ccc5-0da0-0ae4-69fa2caf48b6@datazap.net> References: <6c7eadc4-ccc5-0da0-0ae4-69fa2caf48b6@datazap.net> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; powerpc64le-unknown-linux-gnu) List-Id: Porting FreeBSD to the PowerPC List-Archive: https://lists.freebsd.org/archives/freebsd-ppc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4GdCs358X9z3QYd X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sun, 1 Aug 2021 15:31:30 -0400 Al wrote: > Hello, > > It is loading the kernel now, but there is a USB error: > > U-Boot 2014.04 (Oct 17 2016 - 08:22:22) > > CPU0: P5020, Version: 2.0, (0x82200020) > Core: e5500, Version: 1.2, (0x80240012) > Clock Configuration: > CPU0:1995 MHz, CPU1:1995 MHz, > CCB:798 MHz, > DDR:665 MHz (1330 MT/s data rate) (Asynchronous), LBC:49.875 > MHz FMAN1: 498.750 MHz > QMAN: 399 MHz > PME: 399 MHz > L1: D-cache 32 KiB enabled > I-cache 32 KiB enabled > Reset Configuration Word (RCW): > 00000000: 0c540000 00000000 1e1e0000 00000000 > 00000010: 44808c00 ff002000 68000000 45000000 > 00000020: 00000000 00000000 00000000 0003000f > 00000030: a0000000 00000000 00000000 00000000 > Board: CYRUS > 36-bit Addressing > I2C: ready > SPI: ready > DRAM: Initializing....using SPD > Detected UDIMM KHX1600C10D3/8G > Detected UDIMM KHX1600C10D3/8G > 14 GiB left unmapped > 16 GiB (DDR3, 64-bit, CL=9, ECC off) > DDR Controller Interleaving Mode: cache line > DDR Chip-Select Interleaving Mode: CS0+CS1 > > Local Bus Controller Registers > BR0 0xE0001001 OR0 0xFFF00010 > BR1 0xE1001001 OR1 0xFFF00010 > BR2 0x00000000 OR2 0x00000000 > BR3 0x00000000 OR3 0x00000000 > BR4 0x00000000 OR4 0x00000000 > BR5 0x00000000 OR5 0x00000000 > BR6 0x00000000 OR6 0x00000000 > BR7 0x00000000 OR7 0x00000000 > LBCR 0x40000000 LCRR 0x80010004 > L2: 512 KiB enabled > Corenet Platform Cache: 2 MiB enabled > SERDES: bank 2 disabled > MMC: FSL_SDHC: 0 > EEPROM: NXID v0 > PCIe1: Root Complex, x4 gen1, regs @ 0xfe200000 > 01:00.0 - 1002:6759 - Display controller > 01:00.1 - 1002:aa90 - Multimedia device > PCIe1: Bus 00 - 01 > PCIe2: Root Complex, x4 gen2, regs @ 0xfe201000 > 03:00.0 - 111d:8092 - Bridge device > 04:01.0 - 111d:8092 - Bridge device > 05:00.0 - 12d8:e111 - Bridge device > 04:02.0 - 111d:8092 - Bridge device > 04:03.0 - 111d:8092 - Bridge device > 08:00.0 - 8086:10d3 - Network controller > 04:08.0 - 111d:8092 - Bridge device > 04:10.0 - 111d:8092 - Bridge device > PCIe2: Bus 02 - 0a > PCIe3: disabled > PCIe4: disabled > Looking for VGA > PINS: 0xfc000808 > videoboot: Booting PCI video card bus 1, function 0, device 0 > Begin BIOS POST > End BIOS POST > Setting VESA Mode > Found required VESA mode > About to set mode 279 > About to get mode > Got mode 49431 (0xc117) > OK > XSize = 1024 YSize = 768 Base =0xe0000000 > mmio_base = 0x80000000 > bgx = 0xad55ad55 fgx = 0x0 > In: serial > Out: serial > Err: serial > ID: NXID v0 > SN: 116330081 > UID: 4429431001910051c47da080a0800000 > Errata: Q > Build date: 2015/07/06 14:51:17 > CRC: eb5fb57a > SCSI: scanning bus for devices... > Found 0 device(s). > Net: Initializing Fman > > MMC read: dev # 0, block # 1130, count 128 ... > Fman1: Uploading microcode version 106.1.0 > Tuning PHY @ 3 > Tuning PHY @ 7 > FM1@DTSEC4 [PRIME], FM1@DTSEC5 > > MMC read: dev # 0, block # 1280, count 512 ... 512 blocks read: OK > > MMC read: dev # 0, block # 65536, count 131072 ... 131072 blocks > read: OK USB0: USB EHCI 1.00 > scanning bus 0 for devices... ERROR: Invalid USB EP length (9) > Hit [Enter] to boot immediately, or any other key for command prompt. > Booting [/boot/kernel/kernel]... > Using DTB provided by U-Boot at address 0xc00000. > Kernel args: (null)devices... 4 USB Device(s) found > GDB: no debug ports present > KDB: debugger backends: ddb > KDB: current backend: ddb.. > ---<>---(s). > Copyright (c) 1992-2021 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, > 1994 > X5000> fThe Regents of the University of California. All rights > X5000> reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 14.0-CURRENT #4 main-n248384-d0d631d5f44: Fri Jul 30 18:08:34 > EDT 2021 > > al@test.imagehostplus.com:/usr/obj/usr/src/powerpc.powerpc64/sys/AMIGAX5000 > powerpc > FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git > llvmorg-11.0.0-0-g176249bd673) > VT: init without driver.s (2 MiB/s) > cpu0: Freescale e5500 core revision 1.2, 1995.00 MHz > cpu0: Features cc009100 > cpu0: Features2 8000000 > cpu0: HID0 c0000000... > real memory = 16570585088 (15802 MB) > avail memory = 16520658944 (15755 MB) @0x7fe2efd8 > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > arc4random: WARNING: initial seeding bypassed the cryptographic > random device because it was not yet seeded and the knob > 'bypass_before_seedi. random: entropy device external > interfacegehostplus.com) kbd0 at kbdmux0 > ofwbus0: on nexus0 > simplebus0: on ofwbus0 > bman-portals0: on ofwbus0 > qman-portals0: on ofwbus0 > simplebus1: mem > 0xffe000000-0xffe000fff on ofwbus0 > fman0: mem 0x400000-0x4fffff irq 96,16 on > simplebus1 > > INFO (__ERR_MODULE__) [CPU00, > /usr/src/sys/contrib/ncsw/Peripherals/FM/fm_ncsw.c:470 > LoadFmanCtrlCode]: FMan-Controller code (ver 101.0.8) . > fman0: Hardware version: 3.0. > rcpm0: mem 0xe2000-0xe2fff > on simplebus1 > lbc0: mem 0xffe124000-0xffe124fff > irq 25 on ofwbus0 > pcib0: mem > 0xffe200000-0xffe200fff irq 16 on ofwbus0 > pci0: on pcib0 > pcib1: irq 16 at device 0.0 numa-domain > 0 on pci0 > pci1: numa-domain 0 on pcib1 > pcib2: mem > 0xffe201000-0xffe201fff irq 16 on ofwbus0 > pci2: on pcib2 > pcib3: irq 16 at device 0.0 numa-domain > 0 on pci2 > pci3: numa-domain 0 on pcib3 > pcib4: at device 0.0 numa-domain 0 on pci3 > pci4: numa-domain 0 on pcib4 > pcib5: at device 1.0 numa-domain 0 on pci4 > pci5: numa-domain 0 on pcib5 > pcib6: irq 5 at device 0.0 numa-domain 0 on pci5 > pcib6: allocating 1 bus failed > pcib6: allocating 1 bus failed > pcib6: failed to allocate initial memory window: 0-0xfffff > pcib2: failed to reserve resource for pcib3 > pcib6: failed to allocate initial prefetch window: 0-0xfffff > pcib7: at device 2.0 numa-domain 0 on pci4 > pci6: numa-domain 0 on pcib7 > pcib8: at device 3.0 numa-domain 0 on pci4 > pci7: numa-domain 0 on pcib8 > pcib9: at device 8.0 numa-domain 0 on pci4 > pci8: numa-domain 0 on pcib9 > pcib10: at device 16.0 numa-domain 0 on pci4 > pci9: numa-domain 0 on pcib10 > gpio0: mem 0x130000-0x130fff irq 55 on > simplebus1 > gpiobus0: on gpio0 > openpic0: mem 0x40000-0x7ffff on > simplebus1 fsl_msi0: mem > 0x41600-0x417ff,0x44140-0x44143 irq 224,225,226,227,228,229,230,231 > on simplebus1 fsl_msi1: mem > 0x41800-0x419ff,0x45140-0x45143 irq 232,233,234,235,236,237,238,239 > on simplebus1 fsl_msi2: mem > 0x41a00-0x41bff,0x46140-0x46143 irq 240,241,242,243,244,245,246,247 > on simplebus1 qman0: mem 0x318000-0x318fff > irq 16 on simplebus1 qman0: Hardware version: 1.2. > bman0: mem 0x31a000-0x31afff irq 16 on > simplebus1 > bman0: Hardware version: 1.0. > cpulist0: on ofwbus0 > cpu0: on cpulist0 > cpu1: on cpulist0 > spi0: mem 0x110000-0x110fff irq 53 on > simplebus1 > spibus0: on spi0 > iichb0: mem 0x118100-0x1181ff irq 38 on > simplebus1 iicbus0: on iichb0 > iic0: on iicbus0 > iichb1: mem 0x119100-0x1191ff irq 39 on > simplebus1 iicbus1: on iichb1 > iic1: on iicbus1 > ds13070: at addr 0xde on iicbus1 > pq_mdio0: mem 0xe1120-0xe1fff irq 100 on fman0 > dtsec0: mem > 0xe6000-0xe6fff on fman0 > dtsec0: Configured for regular mode. > miibus0: on dtsec0 > micphy0: PHY 3 on miibus0 > micphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, > 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto > dtsec0: Ethernet address: 00:80:10:fa:ce:01 > dtsec1: mem > 0xe8000-0xe8fff on fman0 > dtsec1: Configured for regular mode. > miibus1: on dtsec1 > micphy1: PHY 7 on miibus1 > micphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, > 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto > dtsec1: Ethernet address: 00:80:10:fa:ce:02 > dtsec2: mem > 0xe0000-0xe0fff on fman0 > dtsec2: Could not load local-mac-addr property from DTS > device_attach: dtsec2 attach returned 6 > dtsec2: mem > 0xe2000-0xe2fff on fman0 > dtsec2: Could not load local-mac-addr property from DTS > device_attach: dtsec2 attach returned 6 > pq_mdio1: mem 0xe3120-0xe3fff on fman0 > dtsec2: mem > 0xe4000-0xe4fff on fman0 > dtsec2: Could not load local-mac-addr property from DTS > device_attach: dtsec2 attach returned 6 > pq_mdio2: mem 0xe5120-0xe5fff on fman0 > pq_mdio3: mem 0xe7120-0xe7fff on fman0 > pq_mdio4: mem 0xe9120-0xe9fff on fman0 > dtsec2: mem > 0xf0000-0xf0fff on fman0 > dtsec2: Could not load local-mac-addr property from DTS > device_attach: dtsec2 attach returned 6 > sdhci_fsl0: mem 0x114000-0x114fff irq 48 > on simplebus1 > mmc0: on sdhci_fsl0 > iichb2: mem 0x118000-0x1180ff irq 38 on > simplebus1 iicbus2: on iichb2 > iic2: on iicbus2 > iichb3: mem 0x119000-0x1190ff irq 39 on > simplebus1 iicbus3: on iichb3 > iic3: on iicbus3 > uart0: <16550 or compatible> mem 0x11c500-0x11c5ff irq 36 on > simplebus1 uart0: console (115451,n,8,1) > uart1: <16550 or compatible> mem 0x11c600-0x11c6ff irq 36 on > simplebus1 uart2: <16550 or compatible> mem 0x11d500-0x11d5ff irq 37 > on simplebus1 uart3: <16550 or compatible> mem 0x11d600-0x11d6ff irq > 37 on simplebus1 gpioc0: on gpio0 > ehci0: mem 0x210000-0x210fff > irq 44 on simplebus1 > usbus0: EHCI version 1.0 > usbus0 on ehci0 > ehci1: mem 0x211000-0x211fff > irq 45 on simplebus1 > usbus1: EHCI version 1.0 > usbus1 on ehci1 > fslsata0: mem > 0x220000-0x220fff irq 68 on simplebus1 > fslsata1: mem > 0x221000-0x221fff irq 69 on simplebus1 > vgapci0: at device 0.0 numa-domain 0 on pci1 > pci1: at device 0.1 (no driver attached) > em0: irq 7 at device 0.0 numa-domain 0 > on pci7 em0: Using 1024 TX descriptors and 1024 RX descriptors > em0: Using 2 RX queues 2 TX queues > em0: Using MSI-X interrupts with 3 vectors > em0: Ethernet address: 68:05:ca:24:42:f7 > gpiopower0: on ofwbus0 > gpiopower1: on ofwbus0 > Timecounter "timebase" frequency 24937500 Hz quality 1000 > Event timer "decrementer" frequency 24937500 Hz quality 1000 > Timecounters tick every 1.000 msec > ds13070: registered as a time-of-day clock, resolution 1.000000s > usbus0: 480Mbps High Speed USB v2.0 > usbus1: 480Mbps High Speed USB v2.0 > ugen0.1: at usbus0 > uhub0 on usbus0 > uhub0: on > usbus0 > ugen1.1: at usbus1 > uhub1 on usbus1 > uhub1: on > usbus1 > uhub0: 1 port with 1 removable, self powered > uhub1: 1 port with 1 removable, self powered > mmcsd0: 4GB at > mmc0 49.8MHz/4bit/65535-block > Launching APs: 1 > ada0 at fslsata0 bus 0 scbus0 target 0 lun 0 > ada0: ACS-2 ATA SATA 3.x device > ada0: Serial Number 191078805013 > ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 512bytes) > ada0: Command Queueing enabled > ada0: 228944MB (468877312 512 byte sectors) > Trying to mount root from ufs:/dev/ada0s2a [rw]... > random: unblocking device. > ugen0.2: at usbus0 > uhub2 on uhub0 > uhub2: 2> on usbus0 > uhub2: MTT enabled > ugen1.2: at usbus1 > uhub3 on uhub1 > uhub3: 2> on usbus1 > uhub3: MTT enabled > uhub2: 4 ports with 4 removable, self powered > uhub3: 4 ports with 4 removable, self powered > ugen0.3: at usbus0 > ugen1.3: at usbus1 > ukbd0 on uhub3 > ukbd0: > on usbus1 > kbd1 at ukbd0 > ugen1.4: at usbus1 > ums0 on uhub3 > ums0: addr 4> on usbus1 > ums0: 3 buttons and [XYZ] coordinates ID=0 > ugen0.4: at usbus0 > ugen1.4: at usbus1 (disconnected) > ums0: at uhub3, port 2, addr 4 (disconnected) > ums0: detached > ugen1.4: at usbus1 > ums0 on uhub3 > ums0: addr 4> on usbus1 > ums0: 3 buttons and [XYZ] coordinates ID=0 > ugen1.4: at usbus1 (disconnected) > ums0: at uhub3, port 2, addr 4 (disconnected) > ums0: detached > ugen1.4: at usbus1 > ums0 on uhub3 > ums0: addr 4> on usbus1 > ums0: 3 buttons and [XYZ] coordinates ID=0 > ugen1.4: at usbus1 (disconnected) > ums0: at uhub3, port 2, addr 4 (disconnected) > ums0: detached > ugen1.4: at usbus1 > ums0 on uhub3 > ums0: addr 4> on usbus1 > ums0: 3 buttons and [XYZ] coordinates ID=0 > > > I believe the issue starts here: scanning bus 0 for devices... ERROR: > Invalid USB EP length (9) This error is before the kernel, and happens either in the loader or U-Boot, most likely U-Boot. Do you have a USB hub attached? Try to remove that. Try removing anything that's not a mouse or keyboard. > > Also, it goes back up to the top on the screen before loading the > kernel, so something are written over. > > This I believe is with the latest source with git. > > I don't know why this is failing. > > Here is my kernel config: > > # > # Custom kernel for Freescale MPC85XX development boards like the CDS > etc. # > # $FreeBSD: head/sys/powerpc/conf/MPC85XX 277254 2015-01-16 17:41:21Z > nwhitehorn $ > # > > ident AMIGAX5000 > > include QORIQ64 > > #options BUS_DEBUG > #options DEBUG > #options EARLY_PRINTF > #options MPC85XX_UART_PA=0xffe11c000ull > #options KTR > #options KTR_COMPILE=(KTR_PMAP) > #options KTR_MASK=(KTR_PMAP) > #options KTR_ENTRIES=8192 > #options KTR_VERBOSE > > options PREEMPTION # Enable kernel thread > preemption #options GEOM_PART_EBR # Extended Boot > Records #options GEOM_PART_EBR_COMPAT # Backward > compatible partition names > options GEOM_PART_APM # Apple Partition Maps. > #options ZFS > > device ukbd > device ums > > # For SAS RAID > #device pci > #device aacraid > > # For Video > device vt > device fbd > device kbdmux > options KBD_INSTALL_CDEV > > # No Netboot > nooptions BOOTP > nooptions BOOTP_NFSROOT > > # For Alex > #device nvme > nooptions INVARIANTS > nooptions INVARIANT_SUPPORT > nooptions WITNESS > nooptions WITNESS_SKIPSPIN > > > Please let me know if you need more information. I would really like > to get past this issue. > > Kind Regards, > Al - Justin