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 > >